1 2008-07-06 Matthias Clasen <mclasen@redhat.com>
3 * gappinfo.c: More doc tweaks
5 2008-07-05 Matthias Clasen <mclasen@redhat.com>
7 * gappinfo.c: Clarify some docs
9 2008-07-03 Matthias Clasen <mclasen@redhat.com>
11 * gdesktopappinfo.c: Fix a stupid mistake.
13 2008-07-02 Matthias Clasen <mclasen@redhat.com>
15 * === Released 2.17.3 ===
17 2008-07-02 Matthias Clasen <mclasen@redhat.com>
19 * gfilemonitor.c: Fix the build.
21 2008-07-02 Matthias Clasen <mclasen@redhat.com>
23 Bug 536160 – Add g_file_monitor()
26 * gfile.[hc]: Add g_file_monitor which can return either
27 a file or a directory monitor. Proposed by Behdad Esfahbod
29 2008-07-02 Matthias Clasen <mclasen@redhat.com>
31 536733 – gio build failure on Irix
33 * glocalfile.c: Use a configure check for structfs.f_bavail.
35 2008-07-02 Matthias Clasen <mclasen@redhat.com>
37 Bug 534639 – add g_desktop_app_info_new_from_keyfile
40 * gdesktopappinfo.[hc]: Add a function to create a
41 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
43 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
45 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
47 2008-07-01 Matthias Clasen <mclasen@redhat.com>
49 * gunixmounts.c: Fix a doc typo.
51 2008-07-01 Cody Russell <bratsche@gnome.org>
54 * gio/gwin32appinfo.c:
55 * gio/gwin32volumemonitor.c:
56 * gio/gwin32mount.c: Fixed some include problems.
58 2008-07-01 Cody Russell <bratsche@gnome.org>
62 Moved all relevant typedefs into these files.
65 Updated wrt added files.
67 Split types into separate file for easier maintainership. (#538564)
69 2008-06-30 Matthias Clasen <mclasen@redhat.com>
71 Bug 540331 – g_file_append_to () documentation: can return NULL
73 * gfile.c (g_file_append_to): Clarify docs.
76 2008-06-30 Matthias Clasen <mclasen@redhat.com>
78 Bug 539090 – g_content_type_from_mime_type() should unalias
80 * gcontentype.c (g_content_type_from_mime_type): Unalias.
81 Patch by Markus Bergman
83 2008-06-30 Matthias Clasen <mclasen@redhat.com>
85 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
88 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
89 on ppc and alpha. Reported by Mart Raudsepp
91 2008-06-29 Matthias Clasen <mclasen@redhat.com>
94 * tests/memory-output-stream.c: Add some tests for
97 2008-06-29 Matthias Clasen <mclasen@redhat.com>
99 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
102 * gmemoryoutputstream.c (array_resize): Handle truncation to
103 zero correctly. Reported by Akira Tagoh
105 2008-06-29 Matthias Clasen <mclasen@redhat.com>
107 * gmemoryoutputstream.c: Trivial doc fixes
109 2008-06-29 Matthias Clasen <mclasen@redhat.com>
111 Bug 540802 – g_list_prepend doesn't concat lists
113 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
114 one list to another. Pointed out by Jan Arne Petersen
116 2008-06-28 Michael Natterer <mitch@imendio.com>
118 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
120 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
122 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
123 to avoid problems with partial icon themes.
125 2008-06-17 Hans Breuer <hans@breuer.org>
127 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
128 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
129 access again on win32, see bug #538127
130 * giomodule.c : ensure GWin32VolumeMonitor is registered
131 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
132 * Makefile.am makefile.msc : updated
134 2008-06-16 Hans Breuer <hans@breuer.org>
136 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
137 and initialization in one step avoids c99ism
139 2008-06-16 Christian Persch <chpe@gnome.org>
142 * gio/gbufferedinputstream.c
144 * gio/gdatainputstream.c
145 * gio/gdesktopappinfo.c
147 * gio/gfileenumerator.c
148 * gio/gfileinputstream.c
149 * gio/gfileoutputstream.c
151 * gio/glocaldirectorymonitor.c
153 * gio/glocalfileenumerator.c
154 * gio/glocalfileinfo.c
155 * gio/glocalfilemonitor.c
156 * gio/glocalfileoutputstream.c
157 * gio/gmemoryinputstream.c
158 * gio/gmemoryoutputstream.c
159 * gio/goutputstream.c
160 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
163 2008-06-16 Tor Lillqvist <tml@novell.com>
165 Bug 538362 - Get Win32 icons back in the file chooser
167 * gcontenttype.c (g_content_type_get_icon): Look up the icon
168 corresponding to a file extension in the Registry. Patch by Hans
170 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
172 2008-06-16 Tor Lillqvist <tml@novell.com>
174 Patches by Hans Breuer:
176 * glocalfile.c (is_xp_or_later): Handle compiling against older
177 SDK headers with missing VerifyVersionInfo(). Conditioned on
178 _MSC_VER, but should probably use some better test.
179 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
180 uninitialised statfs_result variable on Win32.
182 2008-06-16 Michael Natterer <mitch@imendio.com>
184 * *.c: chain up unconditionally in finalize() and dispose(). Also
185 don't dereference these function pointers when calling them since
186 that has no meaning at all.
188 2008-06-16 Ross Burton <ross@burtonini.com>
191 Remove check for dispose implementation as it annoys Emmanuele.
193 2008-06-16 Ross Burton <ross@burtonini.com>
195 Bug 536252 – GFileEnumerator should allow access to the containing
201 Add g_file_enumerator_get_container() and a container writeable
202 construct-only property. Also shuffle around typedefs to make it
205 * glocalfileenumerator.c:
206 * glocalfileenumerator.h:
208 Instead of a string filename take a GFile in the constructor and
209 use it to set the container property.
214 2008-06-16 Matthias Clasen <mclasen@redhat.com>
216 * gfile.c: Make includes more uniform
218 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
220 * tests/live-g-file.c (sample_struct):
221 Use less fancy unicode filenames, so the test doesn't fail
222 on Mac OS X (#531476).
224 2008-06-12 Matthias Clasen <mclasen@redhat.com>
226 * === Released 2.17.2 ===
228 2008-06-12 Matthias Clasen <mclasen@redhat.com>
230 * === Released 2.17.1 ===
232 2008-06-11 A. Walton <awalton@gnome.org>
234 * tests/g-file.c (test_g_file_new_null):
235 Fix broken test case.
237 2008-06-11 Matthias Clasen <mclasen@redhat.com>
239 * pltcheck.sh: We use g_clear_error now.
241 2008-06-11 Matthias Clasen <mclasen@redhat.com>
243 * glocalfile.c (g_local_file_enumerate_children): Revert
244 an unintended change.
246 2008-06-11 Matthias Clasen <mclasen@redhat.com>
248 * gfile.c (g_file_replace_contents): Don't unref before the last use.
250 2008-06-10 Matthias Clasen <mclasen@redhat.com>
252 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
255 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
256 as icon for the desktop directory, also make user-home and
257 user-desktop the preferred icons.
259 2008-06-10 Matthias Clasen <mclasen@redhat.com>
262 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
263 to add a name to the front of the list.
265 2008-06-10 Matthias Clasen <mclasen@redhat.com>
267 Bug 537392 – Additional colon in xattr name
269 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
270 too. Reported by Alessandro Morandi
272 2008-06-10 Matthias Clasen <mclasen@redhat.com>
274 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
277 * glocalfile.c (get_fs_type): Add afs and autofs.
278 Patch by Danny Baumann.
280 2008-06-10 Matthias Clasen <mclasen@redhat.com>
282 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
284 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
285 is no parent. (Owen Taylor, patch by Christian Neumair)
287 2008-06-10 Paolo Borelli <pborelli@katamail.com>
289 * gfile.c (g_file_replace_contents): do not leak the output stream.
291 2008-06-10 Michael Natterer <mitch@imendio.com>
293 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
294 uninitialized memory as array index.
296 2008-06-10 Tor Lillqvist <tml@novell.com>
298 * gcontenttype.c (g_content_type_can_be_executable)
299 (g_content_type_get_icon) [Win32]: Add TODO comments.
301 2008-06-09 Matthias Clasen <mclasen@redhat.com>
303 * xdgmime/Makefile.am: Fix the build
305 2008-06-09 Matthias Clasen <mclasen@redhat.com>
307 * gcontenttype.c (g_content_type_get_icon): Use icons specified
308 in the shared mime database, if available.
310 * xdgmime/*: Sync with upstream. This brings support for
311 glob weights, generic icons, and changes the cache format to
314 2008-05-28 Michael Natterer <mitch@imendio.com>
316 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
317 the global CPPFLAGS now.
319 * tests/data-input-stream.c
320 * tests/data-output-stream.c
321 * tests/g-file-info.c
323 * tests/live-g-file.c
324 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
326 2008-05-27 Matthias Clasen <mclasen@redhat.com>
328 * === Released 2.17.0 ===
330 * tests/live-g-file.c: Clean up after the tests, so make distcheck
331 doesn't complain about leftover files.
333 2008-05-27 simon.zheng <simon.zheng@sun.com>
335 * glocalfile.c: (g_local_file_query_filesystem_info):
336 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
338 2008-05-26 Michael Natterer <mitch@imendio.com>
340 * gmemoryoutputstream.h: declare
341 g_memory_output_stream_get_data_size().
343 2008-05-26 Matthias Clasen <mclasen@redhat.com>
345 * tests/*: Make tests work
347 2008-05-26 Matthias Clasen <mclasen@redhat.com>
349 * gio.symbols: Add g_memory_output_stream_get_data_size.
351 2008-05-25 Ross Burton <ross@burtonini.com>
354 Fix typo in error message (#534764).
356 2008-05-25 Ross Burton <ross@burtonini.com>
359 Fix circular dependency loop for gioenumtypes.h (#534759).
361 2008-05-19 Hans Breuer <hans@breuer.org>
363 * Makefile.am : EXTRA_DIST += makefile.msc
365 2008-05-17 Matthias Clasen <mclasen@redhat.com>
368 * gcontenttype.c: (g_content_type_from_mime_type):
369 New function to create a content type from a mime type. (#527175,
372 2008-05-17 Matthias Clasen <mclasen@redhat.com>
374 Bug 532965 – Should not return filesystem::free for certain file systems
376 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
377 free space for ncpfs.
379 2008-05-17 Matthias Clasen <mclasen@redhat.com>
381 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
383 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
384 st_dev might be zero.
386 2008-05-16 Tor Lillqvist <tml@novell.com>
388 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
389 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
391 2008-05-13 Bastien Nocera <hadess@hadess.net>
393 * gfile.c (has_valid_scheme): A URI scheme must start with a
394 letter, even if later more characters are allowed (#532852)
396 2008-05-05 Michael Natterer <mitch@imendio.com>
398 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
399 code from being checked in that breaks the build of applications
400 which use G_DISABLE_SINGLE_INCLUDES.
402 * makegioalias.pl: make the alias file include "glib.h" instead of
405 * gio.symbols: whitespace change to force regeneration of the
406 alias file after above script change.
408 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
410 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
412 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
414 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
416 2008-04-28 David Zeuthen <davidz@redhat.com>
418 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
419 displaying mounts in a subdirectory not accessible to the
422 2008-04-22 Michael Natterer <mitch@imendio.com>
424 * Makefile.am: fix library versioning (it was 0.0.0).
426 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
428 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
429 Default disable all loggings.
430 * fen/fen-kernel.c: (printevent), (port_add_kevent),
431 (port_fetch_event_cb): Fixed two macro nits.
433 2008-04-16 Matthias Clasen <mclasen@redhat.com>
435 * xdgmime/xdgmime.c: Rework the timestamp checking code
436 to protect against duplicate directories in XDG_DATA_DIRS.
437 Fixes fd.o bug 12513, reported by Joe Shaw.
439 2008-04-16 Matthias Clasen <mclasen@redhat.com>
441 Partically revert the last commit after realizing that
442 xdg_mime_media_type_equal doesn't have to init at all.
445 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
447 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
449 2008-04-16 Matthias Clasen <mclasen@redhat.com>
451 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
452 reported by Joe Shaw and Federico Mena Quintero.
454 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
455 (xdg_mime_media_type_equal): Turn into a wrapper around the
458 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
459 functions throughout.
461 2008-04-16 Michael Meeks <michael.meeks@novell.com>
463 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
464 tolerate an empty TryExec= line without failing; nautilus used
465 to create launchers with these in previous versions. Fixes #528433
467 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
469 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
470 after name. Fixes #527132.
472 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
474 * gfile.c: (g_file_replace):
477 2008-04-07 Matthias Clasen <mclasen@redhat.com>
479 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
481 * gfile.c (file_copy_fallback): Fix the argument order. Patch
482 by Christian Kellner.
484 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
486 * gunixmounts.c: (g_unix_mount_guess_should_display):
487 Don't list the user directory as a mount, fix potential issue
488 when other users have a similar naming and don't special case the
489 gvfs mounts there since that's not required (#525866)
491 2008-03-31 Alexander Larsson <alexl@redhat.com>
493 * glocalfile.c (get_parent):
496 2008-03-31 A. Walton <awalton@svn.gnome.org>
498 * gfile.c (g_file_query_file_type):
499 Always return a GFileType enum value (#520715).
501 2008-03-31 Alexander Larsson <alexl@redhat.com>
503 * glocalfileenumerator.c:
504 Read readdir() info in chunks (of 1000) and sort
505 the chunks by inode before stat:ing.
506 This is a 20% performance increase in testing
507 gvfs-ls on /usr/bin with cold cache.
509 2008-03-31 Alexander Larsson <alexl@redhat.com>
511 * gmemoryoutputstream.c:
512 Clarify docs for g_memory_output_stream_get_size.
513 Add g_memory_output_stream_get_data_size.
515 2008-03-30 Matthias Clasen <mclasen@redhat.com>
519 * gfile.h: Add g_file_query_file_type convenience function
520 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
522 2008-03-30 Matthias Clasen <mclasen@redhat.com>
525 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
527 2008-03-28 A. Walton <awalton@svn.gnome.org>
529 * giomodule.c (_g_io_modules_ensure_loaded):
530 Adds GIO_EXTRA_MODULES environment variable support, closing bug
533 2008-03-28 Alexander Larsson <alexl@redhat.com>
536 (copy_stream_with_progress):
539 2008-03-28 Alexander Larsson <alexl@redhat.com>
542 (copy_stream_with_progress):
543 (file_copy_fallback):
544 Fallback to g_file_query_info for source size
545 if g_file_input_stream_query_info fails. (#524579)
547 2008-03-28 Alexander Larsson <alexl@redhat.com>
549 * glocalfile.c (g_local_file_move):
550 Reuse old string instead of adding new one.
552 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
554 * fen/*.[hc]: still copyright issue. I hate copyright.
556 2008-03-27 Alexander Larsson <alexl@redhat.com>
558 * glocalfile.c (g_local_file_move):
559 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
560 file over directory. This is according to the docs and what the move via
561 copy+remove fallback does.
563 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
565 * fen/*.[hc]: Updated copyright.
567 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
569 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
571 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
573 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
574 not emit attribute changed events when optimizing changed events.
575 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
578 2008-03-19 Matthias Clasen <mclasen@redhat.com>
580 * gmountoperation.[hc]: Small documentation additions
582 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
584 * gunixmounts.c: (guess_mount_type):
585 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
587 2008-03-19 Alexander Larsson <alexl@redhat.com>
590 (copy_stream_with_progress):
591 Bump block side for copy to 64k to minimize
592 overhead for low latency links. (#523015)
594 2008-03-16 Tor Lillqvist <tml@novell.com>
596 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
597 depend on gio.def on Windows.
599 2008-03-12 David Zeuthen <davidz@redhat.com>
603 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
605 2008-03-14 Alexander Larsson <alexl@redhat.com>
609 Avoid redudant tests (#521851)
610 Patch from Josselin Mouette
612 2008-03-14 Alexander Larsson <alexl@redhat.com>
615 (g_file_monitor_is_cancelled):
616 Fix C89 issue (#521672)
617 Patch from Jens Granseuer
619 2008-03-14 Alexander Larsson <alexl@redhat.com>
621 * fam/fam-helper.[ch]:
623 Shut down fam (including removing fam GSource) when
624 module is unloaded (#521513)
625 Patch from Joe Marcus Clarke
627 2008-03-14 Alexander Larsson <alexl@redhat.com>
630 (_g_io_modules_ensure_loaded):
633 2008-03-14 Alexander Larsson <alexl@redhat.com>
636 (g_local_file_query_filesystem_info):
637 Use right define name for f_fstypename member check
639 2008-03-14 Alexander Larsson <alexl@redhat.com>
642 * fen/Makefile.am: Added.
643 * fen/fen-data.[ch]: Added.
644 * fen/fen-dump.[ch]: Added.
645 * fen/fen-helper.[ch]: Added.
646 * fen/fen-kernel.[ch]: Added.
647 * fen/fen-missing.[ch]: Added.
648 * fen/fen-node.[ch]: Added.
649 * fen/fen-sub.[ch]: Added.
650 * fen/gfendirectorymonitor.[ch]: Added.
651 * fen/gfenfilemonitor.[ch]: Added.
653 Added Solaris FEN file notification backend.
654 Patch from Lin Ma <Lin.Ma@Sun.COM>
656 2008-03-13 Tor Lillqvist <tml@novell.com>
658 * Makefile.am: Actually use the gio.def file when linking the
659 library on Windows. Produce .lib library for Microsoft's toolchain
660 when possible. Install the .lib and .def file like for the other
663 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
665 * tests/live-g-file.c:
666 Include live-g-file in standard set of tests, making a temporary
667 directory in source structure.
669 Clean target directory before the tests (write mode only)
671 2008-03-12 Tor Lillqvist <tml@novell.com>
673 Bug 517419 - gio win32 directory monitor
674 Implementation by Vlad Grecescu.
677 * win32/gwin32directorymonitor.h
678 * win32/gwin32directorymonitor.c: New files.
680 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
682 * Makefile.am: Add the win32 subdirectory.
684 2008-03-12 Tor Lillqvist <tml@novell.com>
686 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
687 normal struct stat on Unix but struct _stati64 on Windows to have
688 access to 64-bit file size information. Use that instead of struct
689 stat in the functions declared here in this private header.
691 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
692 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
693 warnings about unused functions and variables. Don't set
694 meaningless attributes like inode numbers on Windows.
696 2008-03-12 Benjamin Otte <otte@gnome.org>
699 trim whitespace so gtk-doc groks the function name
701 2008-03-12 Tor Lillqvist <tml@novell.com>
703 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
704 returning FALSE, on Win32.
706 2008-03-11 Alexander Larsson <alexl@redhat.com>
709 * glocalfileinfo.[ch]:
710 Correctly implement can_trash by actually
711 looking for a trash dir, not just assuming
714 2008-03-10 Matthias Clasen <mclasen@redhat.com>
716 * === Released 2.16.1 ===
718 2008-03-11 Alexander Larsson <alexl@redhat.com>
721 Fix crashes in new constructor and properties code
723 2008-03-10 Murray Cumming <murrayc@murrayc.com>
725 * gfile.c: Minor spelling correction in documentation:
726 existance -> existence.
728 2008-03-10 Matthias Clasen <mclasen@redhat.com>
730 * === Released 2.16.0 ===
732 2008-03-10 Matthias Clasen <mclasen@redhat.com>
734 * gio.symbols: Remove g_file_contains_file here, too.
736 2008-03-10 Matthias Clasen <mclasen@redhat.com>
738 * gthemedicon.c: Add properties to make bindings happy. (#517676,
739 Samuel Cormier-Iijima)
741 2008-03-08 Tor Lillqvist <tml@novell.com>
743 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
746 2008-03-07 Alexander Larsson <alexl@redhat.com>
749 (g_local_file_query_filesystem_info):
750 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
751 Patch from Jasper Lievisse Adriaanse
753 2008-03-06 Tor Lillqvist <tml@novell.com>
755 * gfileinfo.h: Correct milliseconds to microseconds in the doc
756 comments for the *_USEC attributes.
758 2008-03-06 Alexander Larsson <alexl@redhat.com>
760 * gfile.c (g_file_query_exists):
761 Add g_return_val_if_fail check (#520700)
763 2008-03-06 Alexander Larsson <alexl@redhat.com>
768 * gunionvolumemonitor.c:
771 * tests/live-g-file.c:
772 * xdgmime/xdgmimecache.c:
773 Fix sparse warnings (#519489)
775 2008-03-05 Alexander Larsson <alexl@redhat.com>
778 Make cancellation threadsafe (i.e.
779 guarantee its only done once, and always
782 * glocaldirectorymonitor.c:
783 Make sure we the monitor lives while the
784 mounts_changed callback is being called (#520484)
786 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
788 * gbufferedinputstream.c: Fix typo in parameter
791 2008-03-04 Alexander Larsson <alexl@redhat.com>
794 Remove deprecated symbols we kept for one release.
796 2008-03-04 Murray Cumming <murrayc@murrayc.com>
799 * goutputstream.c: Tiny documentation corrections.
801 2008-03-03 Alexander Larsson <alexl@redhat.com>
803 * gunionvolumemonitor.c:
805 Fix the adopt_orphan_mount vfunc to take a
806 volume_monitor reference in an ABI compat way.
807 This change is not API compat, but the added
808 arg is not used in the only user of this vfunc, so
809 all we get is a harmless warning in gvfs (#520169)
811 2008-03-01 Benjamin Otte <otte@gnome.org>
814 clarify docs for g_file_delete().
816 2008-02-29 Alexander Larsson <alexl@redhat.com>
820 Make sure empty files get text/plain type (#518720)
822 2008-02-27 Alexander Larsson <alexl@redhat.com>
828 (g_unix_volume_mount):
829 Add missing GMountMountFlags argument
831 2008-02-26 Alexander Larsson <alexl@redhat.com>
834 (g_local_file_delete):
835 Handle filesystems (like ntfs-3g) that return EEXIST instead
836 of ENOTEMPTY (#518816)
838 2008-02-25 Matthias Clasen <mclasen@redhat.com>
840 * === Released 2.15.6 ===
842 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
844 * gfile.c (g_file_find_enclosing_mount):
845 * ginputstream.c (g_input_stream_set_pending):
846 * glocalfile.c (g_local_file_find_enclosing_mount):
847 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
848 * goutputstream.c (g_output_stream_set_pending):
850 Fixup translator comments (#518578).
852 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
854 * gfile.c (g_file_find_enclosing_mount):
856 * glocalfile.c (g_local_file_find_enclosing_mount):
859 Fix a few typos in translator comments and documentation.
861 2008-02-25 Alexander Larsson <alexl@redhat.com>
868 Add translator comments (#518578)
870 2008-02-25 Alexander Larsson <alexl@redhat.com>
873 Reintroduce g_file_contains_file, keep around for one
874 unstable release cycle to avoid crashing to many apps.
875 Make sure to delete after release.
877 2008-02-25 Alexander Larsson <alexl@redhat.com>
880 Remove deprecated g_file_contains_file.
882 2008-02-25 Alexander Larsson <alexl@redhat.com>
885 Emit actual change signals in an idle handler.
886 This avoids reentrance and locking problems in
887 the file notification backends.
889 2008-02-25 Alexander Larsson <alexl@redhat.com>
892 (g_unix_mount_guess_should_display):
893 Remove type guessing, instead just display
894 mounts in /media and in ~/.
896 2008-02-25 Alexander Larsson <alexl@redhat.com>
899 Make new strings reuse old ones.
901 2008-02-25 Alexander Larsson <alexl@redhat.com>
904 Implement trashing and filesystem::readonly for win32 (#517235)
905 Patch from Yevgen Muntyan
907 2008-02-23 Matthias Clasen <mclasen@redhat.com>
909 * gfileinfo.h: Documentation fixes.
911 2008-02-22 Alexander Larsson <alexl@redhat.com>
913 * gcontenttype.c (g_content_type_get_icon):
914 Look at old-style gnome mime icon names too, as many
915 have not moved to the new style.
917 2008-02-21 Matthias Clasen <mclasen@redhat.com>
919 * *.c: Correct the @include in for section docs.
921 2008-02-21 David Zeuthen <davidz@redhat.com>
923 * glocalfileinfo.c: (_g_local_file_info_get):
925 (g_content_type_get_icon): Implement this function by
926 moving bits from glocalfileinfo.c
927 (g_content_type_get_description): Unalias before getting
928 description (#517687)
930 * gfile.c: (g_file_class_init),
931 (g_file_query_filesystem_info_async),
932 (g_file_query_filesystem_info_finish),
933 (query_filesystem_info_data_free),
934 (query_filesystem_info_async_thread),
935 (g_file_real_query_filesystem_info_async),
936 (g_file_real_query_filesystem_info_finish):
937 * gfile.h: Implement async version of
938 g_file_query_filesystem_info()
940 * gfileinfo.h: Add new attributes for filesystem::use-preview
942 * gio.symbols: Update
944 * gthemedicon.c: (g_themed_icon_append_name):
945 * gthemedicon.h: Add new new convenience function.
947 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
948 (get_mounts), (get_volumes), (get_connected_drives),
949 (get_volume_for_uuid), (get_mount_for_uuid),
950 (g_union_volume_monitor_init), (populate_union_monitor),
951 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
952 (g_volume_monitor_adopt_orphan_mount):
954 * gvolumemonitor.h: Use recursive locks so it's safe for volume
955 monitor implementations to call into the main volume monitor. Also
956 separate object initialization and volume monitor initialization
957 such that non-native volume monitors can properly adopt their
960 2008-02-21 Alexander Larsson <alexl@redhat.com>
965 2008-02-21 Alexander Larsson <alexl@redhat.com>
968 Add more documentation about how GFiles work (from #517086)
970 2008-02-21 Alexander Larsson <alexl@redhat.com>
974 Add new g_file_has_prefix that does the same as g_file_contains_file.
975 Deprecate g_file_contains_file and add a macro that converts
976 it to g_file_has_prefix.
977 The reason for this change is that the contains_file() name seems to
978 imply that this does more work than what it does, but its really only
979 a name match (from #517086)
984 Update to match the above change.
986 2008-02-20 Benjamin Otte <otte@gnome.org>
988 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
989 (g_file_eject_mountable):
990 even more cases of not returning in error path
992 2008-02-20 Benjamin Otte <otte@gnome.org>
994 * gfile.c: (g_file_mount_mountable):
995 return from function in error path.
997 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1000 Remove trailing coma in GMountMountFlags struct
1002 2008-02-18 Alexander Larsson <alexl@redhat.com>
1006 * glocalfileoutputstream.c:
1007 Use g_unlink/g_rename instead of unlink/rename;
1008 do not pass raw filenames to g_set_error. (#517239)
1009 Patch from Yevgen Muntyan.
1011 2008-02-18 Alexander Larsson <alexl@redhat.com>
1014 * glocalfileoutputstream.c:
1015 Open files with O_BINARY on windows. (#517140)
1017 2008-02-14 Alexander Larsson <alexl@redhat.com>
1019 * glocalfileoutputstream.c:
1020 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1022 2008-02-14 Alexander Larsson <alexl@redhat.com>
1025 Copy permissions with file on copy (#514084)
1026 This is what cp does and makes sure e.g. the
1027 exec permissions are kept.
1028 Its kinda weird in that it keeps the permission bits
1029 the same while the uid and gid are different. However
1030 the new uid is the user so its not a security issue,
1031 and I've heard no complaints about cp on this issue.
1033 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1035 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1037 2008-02-13 Alexander Larsson <alexl@redhat.com>
1039 * inotify/inotify-path.c:
1040 Define IN_ONLYDIR if not in header (#515346)
1042 2008-02-12 Alexander Larsson <alexl@redhat.com>
1044 * tests/live-g-file.c:
1047 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1049 * === Released 2.15.5 ===
1051 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1053 * gio.symbols: Add g_mount_mount_flags_get_type.
1055 2008-02-11 Alexander Larsson <alexl@redhat.com>
1058 (g_file_info_set_attribute_mask):
1059 (g_file_attribute_matcher_matches_id):
1060 Correctly handle NULL GAttributeMatcher meaning
1061 matches nothing. (Fixes #513492)
1063 2008-02-11 Alexander Larsson <alexl@redhat.com>
1068 Added GMountMountFlags enum and added a flags
1069 argument to all mount calls.
1071 This is an API/ABI change for future extensibility,
1072 as I think we will need at least an
1073 inhibit-autorun flag (the panel needs this).
1074 There are no flags defined yet though.
1076 2008-02-11 Alexander Larsson <alexl@redhat.com>
1079 Added new standard::description attribute.
1080 Requested by Vincent, and useful for both
1083 2008-02-11 Alexander Larsson <alexl@redhat.com>
1085 * gdesktopappinfo.c:
1088 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1090 * *.c: Documentation additions
1092 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1094 * gappinfo.h: Formatting cleanup
1095 * gappinfo.c: Fix up docs.
1097 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1099 * gunixmounts.c: Consistently use getmntent_r() and fall
1100 back to getmntent(). (#515492)
1102 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1104 * gbufferedinputstream.c:
1106 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1108 * tests/data-input-stream.c:
1109 * tests/data-output-stream.c: Portability fixes.
1111 2008-02-08 Alexander Larsson <alexl@redhat.com>
1116 Add g_volume_should_automount.
1119 2008-02-07 Tor Lillqvist <tml@novell.com>
1121 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1122 Win32, too Unix-specific.
1124 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1126 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1127 a local plt if the compiler doesn't support what we want. Bug #514702
1129 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1131 reviewed by: <delete if not using a buddy>
1134 * gunixinputstream.c:
1135 * gunixoutputstream.c:
1137 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1139 * tests/Makefile.am:
1140 * tests/live-g-file.c:
1141 * tests/live-g-file.txt:
1142 New GIO testing module working over real data
1144 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1146 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1147 Fallback to rename() if link() is not available
1148 (when no support on target filesystem)
1150 2008-02-06 Michael Natterer <mitch@imendio.com>
1152 * gfileinfo.c (g_file_info_get_icon): replace
1153 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1155 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1157 * gfile.c (g_file_create):
1158 Documentation update of error codes
1160 2008-02-06 Alexander Larsson <alexl@redhat.com>
1162 * gdesktopappinfo.c:
1163 Update to use both mimeapps.list and
1164 defaults.list as discussed on xdg list.
1166 2008-02-06 Benjamin Otte <otte@gnome.org>
1169 * gfilenamecompleter.c:
1170 Fix some typos in the documentation.
1172 2008-02-06 Alexander Larsson <alexl@redhat.com>
1174 * glocalfile.c (g_local_file_trash):
1175 Don't succeed with trash if newly created
1176 trash dir has the wrong owner. (#514696)
1178 2008-02-05 Alexander Larsson <alexl@redhat.com>
1180 * glocalfile.c (g_local_file_move):
1181 Don't spew warnings when destination is not
1184 2008-02-03 Hans Breuer <hans@breuer.org>
1186 * makefile.msc : update
1188 2008-02-01 Michael Natterer <mitch@imendio.com>
1190 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1191 return value of xdg_mime_list_mime_parents() to a variable of the
1194 2008-02-01 Alexander Larsson <alexl@redhat.com>
1196 * gappinfo.c (g_app_info_launch_uris):
1197 Actually call the launch_uris method, not
1200 2008-02-01 Alexander Larsson <alexl@redhat.com>
1202 * gdesktopappinfo.c (g_desktop_app_info_equal):
1203 Ensure appinfos with no id but same pointer value
1206 2008-02-01 Alexander Larsson <alexl@redhat.com>
1208 * gappinfo.c (g_app_info_launch_default_for_uri):
1211 2008-02-01 Alexander Larsson <alexl@redhat.com>
1215 Add g_app_info_launch_default_for_uri utility
1218 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1220 * gdesktopappinfo.c:
1221 Doc fix for g_app_info_get_default_for_uri_scheme ()
1224 2008-01-30 Alexander Larsson <alexl@redhat.com>
1227 Add doc comment about uris vs GFiles to
1230 * gdesktopappinfo.c:
1231 Ensure uris passed to g_app_info_launch_uris()
1232 are not roundtriped through GFile (as that
1233 may be slightly destructive for e.g. mailto: links)
1235 2008-01-30 Alexander Larsson <alexl@redhat.com>
1237 * tests/data-input-stream.c:
1238 * tests/data-output-stream.c:
1239 C89 fixes from Jens Granseuer (#512849)
1241 2008-01-30 Alexander Larsson <alexl@redhat.com>
1244 Fix gamin/fam difference build issue. (#509419)
1246 2008-01-29 Alexander Larsson <alexl@redhat.com>
1249 * gdesktopappinfo.c:
1250 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1252 2008-01-29 Alexander Larsson <alexl@redhat.com>
1254 * gdesktopappinfo.c:
1255 * gdesktopappinfo.h:
1256 giomodule-priv.h include moved to .c file.
1258 2008-01-29 Alexander Larsson <alexl@redhat.com>
1260 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1261 Remove unused prio/name fields.
1263 2008-01-29 Alexander Larsson <alexl@redhat.com>
1265 * gcontenttype.c (looks_like_text):
1266 Don't treat whitespace as control chars.
1268 2008-01-29 Alexander Larsson <alexl@redhat.com>
1270 * gdesktopappinfo.c:
1271 Lazily create the desktop files for appinfos created
1272 by g_app_info_create_from_commandline() when needed
1273 for mime associations. This allows run-time use
1274 of GAppInfo object without creating unnecessary
1277 2008-01-29 Alexander Larsson <alexl@redhat.com>
1280 Added new symbols to gio.symbols
1282 2008-01-29 Alexander Larsson <alexl@redhat.com>
1285 Add g_file_query_default_handler utility to easily look up
1286 the GAppInfo that handles a file.
1288 * gdesktopappinfo.[ch]:
1290 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1293 Remove unused function
1295 2008-01-29 Alexander Larsson <alexl@redhat.com>
1297 * gfileenumerator.c:
1298 Mention need to free returned value in
1299 g_file_enumerator_next_files_finish docs.
1300 Fix leak if g_file_enumerator_next_files_finish()
1303 2008-01-29 Alexander Larsson <alexl@redhat.com>
1306 (_g_unix_content_type_get_parents):
1307 Use list_parents, not get_parents from xdgmime, because
1308 the later doesn't use the cache.
1310 * xdgmime/xdgmimecache.c:
1311 (_xdg_mime_cache_list_mime_parents):
1312 Don't list the same type as parent multiple times.
1314 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1316 * === Released 2.15.4 ===
1318 2008-01-28 Alexander Larsson <alexl@redhat.com>
1321 Register local vfs with prio 0.
1324 Remove old name and prio class members
1326 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1328 * tests/g-file.c: Disable some tests that are failing in
1329 the absence of a http backend.
1331 2008-01-28 Alexander Larsson <alexl@redhat.com>
1335 Add registration hooks for extension points.
1336 Register the gio extension points.
1338 * fam/gfamdirectorymonitor.c:
1339 * fam/gfamfilemonitor.c:
1340 * glocaldirectorymonitor.[ch]:
1341 * glocalfilemonitor.[ch]:
1342 * gnativevolumemonitor.h:
1343 * gunionvolumemonitor.c:
1344 * gunixvolumemonitor.c:
1347 * inotify/ginotifydirectorymonitor.c:
1348 * inotify/ginotifyfilemonitor.c:
1349 Use the extension points registration instead
1350 of g_type_children().
1352 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1355 * gvolume.[hc]: Document new API.
1357 * gfile.c (g_file_copy_async): Fix docs
1359 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1361 * gbufferedinputstream.c:
1363 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1366 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1368 * glocalfile.c: Avoid trivial differences in translatable strings.
1370 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1372 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1373 build with gcc 3.4 (#509419)
1375 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1377 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1378 (#509994, Murray Cumming)
1380 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1382 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1383 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1384 this allows big jobs to be executed in chunks, instead of blocking
1385 the main loop for a long time.
1387 * gsimpleasyncresult.c:
1388 * giofile.c: Adapt callers.
1390 2008-01-25 Alexander Larsson <alexl@redhat.com>
1392 * gdesktopappinfo.c:
1393 Implement changes discussed on xdg list.
1394 Now we can add supported mimetypes by just using defaults.list
1395 We can also remove associations in defaults.list.
1397 2008-01-25 Alexander Larsson <alexl@redhat.com>
1399 * gdesktopappinfo.c:
1400 Don't make local copy of desktop file
1401 for mimetype changes if the file already
1402 supports the new mimetype.
1404 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1408 * gbufferedinputstream.c:
1409 * glocalfile.c: String improvements. (#511966,
1410 Theppitak Karoonboonyanan)
1412 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1414 * gioscheduler.h: Expand docs a bit.
1416 2008-01-24 Alexander Larsson <alexl@redhat.com>
1419 Add g_drive_get_identifier and
1420 g_drive_enumerate_identifiers
1423 Add g_volume_get_identifier and
1424 g_volume_enumerate_identifiers
1430 Implement identifiers for unix backend
1432 2008-01-24 Alexander Larsson <alexl@redhat.com>
1437 Add g_file_copy_async() (#511580)
1438 Based on patch from Carlos Garcia Campos
1440 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1442 * gioscheduler.c: Some documentation additions.
1444 2008-01-22 Alexander Larsson <alexl@redhat.com>
1446 * gdesktopappinfo.c:
1447 (g_desktop_app_info_new):
1448 Don't leak basename.
1450 2008-01-22 Alexander Larsson <alexl@redhat.com>
1452 * gdesktopappinfo.c:
1453 (g_desktop_app_info_new_from_filename):
1456 2008-01-22 Alexander Larsson <alexl@redhat.com>
1458 * glocalfileinfo.c (get_thumbnail_attributes):
1461 2008-01-22 Alexander Larsson <alexl@redhat.com>
1464 (canonicalize_filename):
1465 Canonicalize paths that start with more than
1469 (compare_two_files):
1470 (test_g_file_new_for_path):
1473 2008-01-22 Alexander Larsson <alexl@redhat.com>
1476 Allow UTF-8 in file:// parse names.
1478 * tests/Makefile.am:
1479 * tests/data-input-stream.c:
1480 * tests/data-output-stream.c:
1481 * tests/g-file-info.c:
1483 Added a bunch of tests from Tomas Bzatek
1485 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1487 * === Released 2.15.3 ===
1489 2008-01-21 Alexander Larsson <alexl@redhat.com>
1491 * gfileinputstream.[ch]:
1492 * gfileoutputstream.[ch]:
1494 Remove duplicated GSeekable functions. (#509990)
1495 Just use the g_seekable_xxx() calls instead.
1497 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1500 * gvolumemanager.c: Whitespace cleanups.
1502 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1503 Use the right mode when creating the file.
1505 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1507 * gfileenumerator.c:
1508 * gfileinputstream.c:
1510 * goutputstream.c: Documentation: Fixed minor typos
1511 and added more mentions of specific _finish() functions.
1513 2008-01-21 Alexander Larsson <alexl@redhat.com>
1515 * inotify/Makefile.am:
1516 * inotify/inotify-helper.c:
1517 * inotify/inotify-kernel.c:
1518 * inotify/inotify-path.c:
1519 * inotify/local_inotify.h: Removed.
1520 * inotify/local_inotify_syscalls.h: Removed.
1521 Removed the included copies of the inotify
1522 headers. We now only use the <sys/inotify.h>
1523 header which exists on modern systems.
1524 This fixes problems on ARM and SH5 (#510448)
1525 but is also generally much cleaner and future
1526 safe. For instance, if other OSes add support
1527 for inotify it should "just work".
1529 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1531 * inotify/*.c: Coding style fixes.
1532 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1533 for the 1/4 Hz timer.
1535 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1538 * gfilemonitor.[hc]:
1539 * gmemoryinputstream.c:
1540 * gmemoryoutputstream.c:
1541 * gmountoperation.c:
1542 * gthemedicon.c: Documentation updates
1544 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1546 * gfile.c: documentation: Fixed more minor
1549 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1551 * gmount.c: (g_mount_remount): documentation:
1552 Mention g_mount_remount_finish() instead of
1553 g_mount_unmount_finish().
1555 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1559 * gfile.c: Fixed some minor typos in the
1562 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1564 * gio/gvolumemonitor.c:
1565 (g_volume_monitor_get_connected_drives):
1566 (g_volume_monitor_get_volumes):
1567 (g_volume_monitor_get_mounts): Documentation:
1568 Clarify the ownership of the regurn GLists.
1570 2008-01-17 Alexander Larsson <alexl@redhat.com>
1573 Add the async find_enclosing_mount version
1574 to the header file too.
1576 2008-01-17 Alexander Larsson <alexl@redhat.com>
1579 Add async version of find_enclosing_mount
1580 with default implementation.
1582 2008-01-17 Alexander Larsson <alexl@redhat.com>
1587 Allow calls to implementation of copy and write
1588 even if the type of the file implementations is
1589 different. This can be used to implement native
1590 upload and download calls in a vfs.
1593 (g_local_file_move):
1594 Protect against the case where move is called
1595 with one file not being local.
1597 Make sure we call the progress callback once
1598 in the native move operation so that the caller
1599 knows how many bytes were copied.
1601 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1604 * gdatainputstream.c:
1606 * gfileoutputstream.c:
1611 * gunixmounts.c: Corrected some typos in the documentation:
1612 occured -> occurred.
1613 its -> it's (where appropriate).
1615 2008-01-16 Alexander Larsson <alexl@redhat.com>
1619 Add g_file_query_exists (#508771)
1621 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1626 * gvolume.c: For async functions that have no non-async
1627 version, document that the GAsyncReadyCallback may be NULL.
1630 2008-01-15 Alexander Larsson <alexl@redhat.com>
1632 * gmemoryinputstream.c:
1633 * gmemoryoutputstream.c:
1634 Don't do pointer arithmetic on void * (#508602)
1635 Patch from Kazuki IWAMOTO
1637 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1639 * === Released 2.15.2 ===
1641 2008-01-14 Alexander Larsson <alexl@redhat.com>
1643 * gfile.c (g_file_monitor_file):
1644 Don't set error here, since we fallback to polling monitor.
1646 2008-01-14 Alexander Larsson <alexl@redhat.com>
1649 (g_file_monitor_directory):
1650 (g_file_monitor_file):
1651 Add GError to file monitor calls
1653 * glocaldirectorymonitor.c:
1654 * glocaldirectorymonitor.h:
1656 * glocalfilemonitor.c:
1657 * glocalfilemonitor.h:
1659 Update for above change
1661 2008-01-14 Alexander Larsson <alexl@redhat.com>
1665 Handle root correctly in g_file_get_relative_path (#508719)
1667 2008-01-14 Alexander Larsson <alexl@redhat.com>
1670 Clean up docs and example for GAsyncResult (#508074)
1672 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1674 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1675 and correct some spelling mistakes. Bug #508108.
1677 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1679 * glocalfileinfo.c: Add a comment.
1681 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1683 * gfileinfo.c: GFileInfo description: Mention
1684 how to actually set attributes in a GFile and how to discover
1685 which attributes are settable. Bug #508378.
1687 2008-01-10 A. Walton <awalton@svn.gnome.org>
1689 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1690 (g_app_info_get_default_for_type):
1691 Check for NULL content types.
1693 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1695 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1697 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1699 * gfile.c: *_async() functions: Several small corrections
1700 to the documentation, mostly correcting copy/paste errors
1701 and improving some sentences.
1703 2008-01-09 Dan Winship <danw@gnome.org>
1705 * glocalfile.c (get_unique_filename): x86_64 fix
1707 2008-01-09 Alexander Larsson <alexl@redhat.com>
1712 Add g_unix_mount_guess_should_display and use
1713 for unix volume monitor backend.
1714 This means we more or less show what the
1715 gnome-vfs backend did.
1716 Based on patch from Padraig O'Briain
1718 2008-01-09 Alexander Larsson <alexl@redhat.com>
1722 Add g_themed_icon_new_with_default_fallbacks
1725 Use default fallbacks for icons
1727 2008-01-09 Alexander Larsson <alexl@redhat.com>
1730 * gmountoperation.[ch]:
1731 Change the API a bit so that unhandled methods
1732 get reported via the reply, rather than by
1733 the signal emission return value. This is because
1734 some handlers can't know this immediately without
1735 doing I/O, and this is an async operation that
1738 2008-01-09 Alexander Larsson <alexl@redhat.com>
1741 * fam/gfamdirectorymonitor.c:
1742 * fam/gfamfilemonitor.c:
1743 Fix double free crash (#508224)
1744 Patch from Joe Marcus Clarke
1746 008-01-07 Matthias Clasen <mclasen@redhat.com>
1748 * === Released 2.15.1 ===
1750 2008-01-07 Alexander Larsson <alexl@redhat.com>
1752 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1753 Fix warning (#507835)
1755 2008-01-07 Alexander Larsson <alexl@redhat.com>
1758 Pass --internal to glib-genmarshal
1761 * gmountoperation.c:
1763 Use better types for signal arguments (#507822)
1765 2008-01-07 Alexander Larsson <alexl@redhat.com>
1768 Build test subdir after .
1769 Remove gdirectorymonitor.[ch]
1771 * gdirectorymonitor.[ch]:
1775 Remove GDirectoryMonitor and make
1776 GFileMonitor the baseclass for both file and
1777 directory monitors. Lift the more generic
1778 rate limiting code from GDirectoryMonitor
1782 * fam/gfamdirectorymonitor.[ch]:
1783 * inotify/ginotifydirectorymonitor.[ch]:
1784 * inotify/inotify-helper.c:
1785 * glocaldirectorymonitor.[ch]:
1788 Update for the removed GDirectoryMonitor.
1790 * gmemoryoutputstream.c:
1791 Remove ununsed variable
1793 2008-01-07 Alexander Larsson <alexl@redhat.com>
1795 * gmemoryinputstream.c:
1796 Translate error strings
1799 * gmemoryoutputstream.[ch]:
1800 New implementation that avoids using GByteArray
1801 in implementation and API. (#506377)
1803 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1805 * tests/*: Add a test for memory input streams.
1807 * Makefile.am: Add tests to SUBDIRS.
1809 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1811 * glocalfilemonitor.c:
1812 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1815 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1817 * gdesktopappinfo.c: Fix a docs typo.
1819 * gfileattribute.c: Add information about extended attributes
1820 to the documentation. (#505058)
1822 2008-01-04 Alexander Larsson <alexl@redhat.com>
1825 * gmountoperation.c:
1826 Use the right type (uint) for the ask_password signal.
1828 2008-01-04 Alexander Larsson <alexl@redhat.com>
1833 Add g_app_info_supports_files()
1834 Remove desktop arg from g_app_info_should_show().
1836 * gdesktopappinfo.[ch]:
1837 Implement g_app_info_supports_files() and new should_show()
1838 Add g_desktop_app_info_set_desktop_env() to set the desktop
1839 for should_show(). (This will be set by gtk+ later)
1841 2008-01-04 Alexander Larsson <alexl@redhat.com>
1844 * gmemoryinputstream.[ch]:
1845 Improve API so that you can use multiple chunks
1846 of memory and custom destroy functions. (#506374)
1848 2008-01-03 Alexander Larsson <alexl@redhat.com>
1851 Handle NULL attribute matchers safely, as we return this
1852 for empty attribute matcher strings.
1854 2008-01-03 Alexander Larsson <alexl@redhat.com>
1856 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1857 Add /usr/local to list of internal mountpoints
1859 2008-01-03 Alexander Larsson <alexl@redhat.com>
1862 Check for HAVE_LCHOWN (#505887)
1864 2008-01-03 Alexander Larsson <alexl@redhat.com>
1868 Add define for selinux context attribute.
1869 Fix missing : -> :: namespace separator change
1870 Fix missing _ -> - name change for xattr-sys.
1873 2008-01-03 Alexander Larsson <alexl@redhat.com>
1876 Link to libglib and libgobject directly (#504879)
1877 Patch from Sebastien Bacher
1879 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1881 * gfile.c: Expanded the g_file_new_for_commandline_arg
1882 description a bit, based on the code and the docs of the
1883 other g_file_new_for_* functions.
1885 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1887 * gfilemonitor.h: Fixed typo in docs.
1889 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1891 Updates to GIO documentation. (#506395, Mikael Hermansson)
1893 * gcontenttype.c: Describe memory management for return value of
1894 g_content_types_get_registered(). Missing piece from #505815.
1895 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1896 GVolume, GDrive, GMounts, which hopefully gives the user less
1897 confusions when using this API. Following explainations from
1898 Alexander Larsson on gtk-devel-list.
1900 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1902 * gfileinfo.c: Expand the long description.
1904 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1907 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1908 fix builds with --disable-visibility. (#500273, Christian Persch)
1910 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1912 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1913 in the list of returned app infos.
1915 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1917 * gappinfo.c: Fix a cross-reference
1919 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1921 * gfileinputstream.c:
1922 * gfileoutputstream.c:
1926 * gdesktopappinfo.c:
1928 * gfileinfo.c: Documentation updates.
1930 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1932 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1935 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1937 * gcontenttype.c (g_content_types_get_registered): Don't return
1938 freed memory (#505815, Mikael Hermansson)
1940 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1942 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1943 used to detect statbuf->st_blocks. (#505042)
1945 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1947 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1948 environment handling. (#504829, Cosimo Cecchi)
1950 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1952 * gappinfo.c: Doc improvements
1954 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1957 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1959 * === Released 2.15.0 ===
1961 2007-12-20 Hans Breuer <hans@breuer.org>
1963 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1964 with symbols gwin32appinfo.obj, added gmount.obj
1965 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1967 2007-12-20 Alexander Larsson <alexl@redhat.com>
1973 * gfilenamecompleter.c:
1976 * gpollfilemonitor.c:
1977 File attribute renames:
1979 fs:: -> filesystem::
1980 id::fs -> id::filesystem
1982 2007-12-20 Alexander Larsson <alexl@redhat.com>
1991 Add GMountUnmountFlags to all unmount and
1993 Add g_mount_remount() call.
1995 2007-12-20 Alexander Larsson <alexl@redhat.com>
1997 * gvfs.c (get_default_vfs):
1998 Fix unused variable warning
2000 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2002 * pltcheck.sh: Update
2004 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2006 * gunionvolumemonitor.c:
2007 * gunixmount.c: Remove C99 comments
2009 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2011 * gio.symbols: Add some missing symbols
2013 2007-12-19 Alexander Larsson <alexl@redhat.com>
2016 Make g_io_modules_load_all_in_directory not unuse
2017 loaded modules so that users of it can do stuff
2019 Init internal "module" types.
2020 Initialize static prio and name for types so that
2021 we don't have to load modules to get it.
2023 * gnativevolumemonitor.h:
2025 Move is_supported to parent class so that
2026 non-native monitors can avoid being initialized
2027 too. (For instance GDaemonVolumeMonitor if we're
2028 not using GDaemonVfs.)
2030 * glocaldirectorymonitor.[ch]:
2031 * glocalfilemonitor.[ch]:
2032 * gunionvolumemonitor.c:
2033 * gunixvolumemonitor.c:
2035 Find plugins using the static prio+name to
2036 avoid unnecessarily loading the modules.
2038 2007-12-19 Alexander Larsson <alexl@redhat.com>
2043 2007-12-19 Alexander Larsson <alexl@redhat.com>
2045 * gunionvolumemonitor.c:
2046 Store the native type as GType, not class so that
2047 we can unload it. But still avoid unnecessarily
2050 2007-12-19 David Zeuthen <davidz@redhat.com>
2052 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2053 add signals 'disconnected' and 'eject-button' on GDrive. Add
2054 signal 'removed' on GVolume and 'unmounted' on GMount.
2056 * gdrive.c: (g_drive_base_init):
2058 * gfile.c: (g_file_mount_mountable),
2059 (g_file_mount_enclosing_volume):
2062 * gmount.c: (g_mount_base_init):
2064 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2065 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2066 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2070 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2072 * *.c: Fix up includes in the section docs.
2074 2007-12-17 Alexander Larsson <alexl@redhat.com>
2076 * gnativevolumemonitor.h:
2077 * gunionvolumemonitor.c:
2078 * gunixvolumemonitor.c:
2079 Add is_supported() to GNativeVolumeMonitorClass so
2080 that we can avoid having to create an object to see
2081 if the backend is supported at runtime.
2082 Also add name member and an env var to pick a specific
2083 volume monitor backend.
2087 Add cancellable to _g_mount_get_for_mount_path()
2089 * glocaldirectorymonitor.c:
2090 * glocalfilemonitor.c:
2091 Avoid loading and unloading modules while sorting.
2093 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2096 * gunixmounts.[hc]: Namespace waste reduction, move some
2097 g_get_unix_mount functions to the g_unix_mount namespace.
2100 * gunixvolumemonitor.c:
2102 * glocaldirectorymonitor.c: Update all callers.
2104 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2106 2007-12-17 Alexander Larsson <alexl@redhat.com>
2109 Add doc comments about what GFile operations are
2110 guaranteed to not block.
2112 2007-12-17 Alexander Larsson <alexl@redhat.com>
2115 Add missing #ifdef fixing OSX build.
2116 (#503334, patch from Richard Hult)
2118 2007-12-14 David Zeuthen <davidz@redhat.com>
2122 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2123 (g_mount_eject), (g_mount_eject_finish):
2125 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2126 (get_volume_for_uuid), (get_mount_for_uuid),
2127 (g_union_volume_monitor_class_init),
2128 (get_default_native_type_with_exclude), (get_default_native_type),
2129 (get_native_type), (update_native_type),
2130 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2131 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2132 (g_unix_mount_can_eject), (eject_unmount_cb),
2133 (eject_unmount_read_error), (eject_unmount_do),
2134 (g_unix_mount_unmount), (g_unix_mount_eject),
2135 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2136 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2137 (g_unix_mount_point_guess_can_eject):
2139 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2140 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2141 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2142 (g_unix_volume_mount), (g_unix_volume_eject),
2143 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2144 * gunixvolumemonitor.c: (get_volume_for_uuid),
2145 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2147 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2148 (g_volume_eject), (g_volume_eject_finish):
2150 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2151 (g_volume_monitor_get_mount_for_uuid):
2154 Provide eject() on both GMount and GVolume and utility functions
2155 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2156 ejected. Introduce the concept of UUID's and wire it into GVolume
2157 and GMount and provide API on GVolumeMonitor to find such
2158 instances. Also handle the case where an external
2159 GNativeVolumeMonitor fails to initialize. Lock around the
2160 _g_get_mount_for_mount_path() function such that volume monitor
2161 implementations won't have to do locking themselves.
2163 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2165 * gdesktopappinfo.c:
2171 * gvolume.h: Documentation updates
2173 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2176 * gfile.h: Doc updates
2178 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2181 * gdesktopappinfo.c: Use hash table iterators.
2183 2007-12-14 Alexander Larsson <alexl@redhat.com>
2186 * gfileattribute.[ch]:
2187 * gfileattribute-priv.h:
2188 Move GFileAttributeValue to a private header, as
2192 Make set_attribute take a type + a pointer instead
2193 of a GFileAttributeValue.
2196 Fix up for above changes.
2197 Add g_file_info_get_attribute_data to get
2198 all info in one call, g_file_info_get_attribute_status
2199 to get the status and g_file_info_get_attribute_as_string.
2203 * glocalfileinfo.[ch]:
2207 Make _guess_type static.
2209 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2212 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2213 made mkenums and friends use temporary files to avoid leaving
2214 empty generated files on failure (#503470).
2216 2007-12-14 Alexander Larsson <alexl@redhat.com>
2218 * gmountoperation.h:
2221 2007-12-14 Alexander Larsson <alexl@redhat.com>
2225 * gfileattribute.[ch]:
2228 * glocalfileoutputstream.c:
2229 * gmountoperation.[ch]:
2230 * goutputstream.[ch]:
2231 Clean up all flags enums to not have _FLAGS in them
2232 Make the names of some of the enums better.
2237 2007-12-14 Michael Natterer <mitch@imendio.com>
2239 * gio.symbols: fix g_io_scheduler symbol names.
2241 2007-12-14 Alexander Larsson <alexl@redhat.com>
2247 * gbufferedinputstream.h:
2248 * gbufferedoutputstream.h:
2251 * gdatainputstream.h:
2252 * gdataoutputstream.h:
2253 * gdesktopappinfo.h:
2254 * gdirectorymonitor.h:
2258 * gfileenumerator.h:
2261 * gfileinputstream.h:
2263 * gfilenamecompleter.h:
2264 * gfileoutputstream.h:
2265 * gfilterinputstream.h:
2266 * gfilteroutputstream.h:
2274 * gmemoryinputstream.h:
2275 * gmemoryoutputstream.h:
2277 * gmountoperation.h:
2280 * gsimpleasyncresult.h:
2282 * gunixinputstream.h:
2284 * gunixoutputstream.h:
2288 * inotify/Makefile.am:
2289 Only allow including <gio/gio.h> from apps
2291 2007-12-14 Alexander Larsson <alexl@redhat.com>
2293 * gioscheduler.[ch]:
2294 * gsimpleasyncresult.c:
2295 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2296 Split out the send_to_mainloop call into two versions instead
2297 of having the block argument.
2299 2007-12-13 Alexander Larsson <alexl@redhat.com>
2301 * gcancellable.[ch]:
2303 * gbufferedinputstream.c:
2304 * gfileenumerator.c:
2305 * gfileinputstream.c:
2306 * gfileoutputstream.c:
2310 g_push/pop_current_cancellable ->
2311 g_cancellable_push/pop_current
2313 2007-12-13 Alexander Larsson <alexl@redhat.com>
2317 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2319 2007-12-13 Alexander Larsson <alexl@redhat.com>
2321 * gmountoperation.h:
2322 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2324 2007-12-12 Alexander Larsson <alexl@redhat.com>
2327 Fix race condition when freeing proxy in
2328 g_io_job_send_to_mainloop().
2330 2007-12-12 Alexander Larsson <alexl@redhat.com>
2336 Make attribute namespace separator "::" instead of ":".
2337 Use - instead of _ as separator in attribute names.
2339 2007-12-12 Alexander Larsson <alexl@redhat.com>
2341 * gbufferedinputstream.h:
2342 * gbufferedoutputstream.h:
2343 * gdatainputstream.h:
2344 * gdataoutputstream.h:
2345 * gdirectorymonitor.h:
2346 * gfileenumerator.h:
2347 * gfileinputstream.h:
2349 * gfileoutputstream.h:
2350 * gfilterinputstream.h:
2351 * gfilteroutputstream.h:
2353 * glocalfileinputstream.h:
2354 * glocalfileoutputstream.h:
2355 * gmemoryinputstream.h:
2356 * gmemoryoutputstream.h:
2357 * gnativevolumemonitor.h:
2359 * gunixinputstream.h:
2360 * gunixoutputstream.h:
2363 s/parent/parent_instance/ in GObjects
2365 2007-12-12 Alexander Larsson <alexl@redhat.com>
2370 No need for padding for interfaces
2372 2007-12-12 Alexander Larsson <alexl@redhat.com>
2376 * gbufferedinputstream.c:
2377 * gbufferedoutputstream.c:
2380 * gdatainputstream.[ch]:
2381 * gdesktopappinfo.c:
2382 * gdirectorymonitor.c:
2384 * gfileattribute.[ch]:
2387 * gfileinputstream.h:
2388 * gfilemonitor.[ch]:
2389 * gfileoutputstream.[ch]:
2390 * gfilterinputstream.h:
2391 * gfilteroutputstream.h:
2394 * gloadableicon.[ch]:
2395 * gmemoryinputstream.c:
2396 * gmountoperation.c:
2398 Fix up a bunch of details in the docs.
2403 2007-12-11 David Zeuthen <davidz@redhat.com>
2405 Rework how volumes, drives and volume monitoring is
2406 done. Previosly the model was
2408 GDrive <1-1> GVolume
2410 where a GDrive instance represented a mount point and a GVolume
2411 instance represented a mounted file system. This patch changes it
2414 GDrive <1-N> GVolume <1-1> GMount
2416 where GMount now serves the purpose of the old GVolume and the new
2417 GVolume serves the purpose of the old GDrive. In addition the new
2418 GDrive interface is used to represent a collection of GVolume
2419 instances (typically partitions) and also contains utility to query
2420 the state of the physical drive the GDrive object represents (such
2421 as checking for media, polling the drive, ejecting the media etc.).
2423 Also implement mounting and unmounting in the Unix volume monitor
2424 backend. A subquent patch will introduce GDrive support for ejection
2428 * gdrive.c: (g_drive_is_media_check_automatic),
2429 (g_drive_is_media_removable), (g_drive_has_media),
2430 (g_drive_can_poll_for_media), (g_drive_eject),
2431 (g_drive_eject_finish), (g_drive_poll_for_media),
2432 (g_drive_poll_for_media_finish):
2434 * gfile.c: (g_file_find_enclosing_mount):
2437 * glocaldirectorymonitor.c:
2438 (g_local_directory_monitor_constructor), (mounts_changed):
2439 * glocalfile.c: (get_mount_info),
2440 (g_local_file_find_enclosing_mount),
2441 (g_local_file_file_iface_init):
2442 * gnativevolumemonitor.h:
2443 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2444 (get_connected_drives), (g_union_volume_monitor_class_init),
2445 (child_volume_added), (child_volume_removed),
2446 (child_volume_changed), (child_mount_added), (child_mount_removed),
2447 (child_mount_pre_unmount), (child_mount_changed),
2448 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2449 (g_union_volume_monitor_remove_monitor),
2450 (_g_mount_get_for_mount_path):
2451 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2452 (guess_system_internal), (_g_get_unix_mounts),
2453 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2454 (g_unix_mount_free), (g_unix_mount_compare),
2455 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2456 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2457 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2458 (type_to_icon), (g_unix_mount_guess_name),
2459 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2460 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2461 (_resolve_symlink), (_resolve_dev_root):
2463 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2464 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2465 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2466 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2467 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2468 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2469 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2470 (g_unix_volume_volume_iface_init):
2472 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2473 (get_mounts), (get_volumes), (get_connected_drives),
2474 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2475 (mountpoints_changed), (mounts_changed),
2476 (g_unix_volume_monitor_init),
2477 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2478 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2479 * gunixvolumemonitor.h:
2480 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2481 (g_volume_mount), (g_volume_mount_finish):
2483 * gvolumemonitor.c: (g_volume_monitor_class_init),
2484 (g_volume_monitor_get_connected_drives),
2485 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2488 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2490 * gmountoperation.h (GPasswordFlags): Close the gap
2492 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2494 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2496 * gdesktopappinfo.[hc]: Remove _-prefixes
2498 2007-12-10 Tor Lillqvist <tml@novell.com>
2500 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2503 2007-12-10 Alexander Larsson <alexl@redhat.com>
2505 * gfile.c (g_file_set_display_name):
2506 Don't hardcode '/' (#502727)
2508 2007-12-09 Hans Breuer <hans@breuer.org>
2510 * makefile.msc : follow lib naming convention
2511 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2512 for user and group name, tested with ../tests/gio-ls
2514 2007-12-09 A. Walton <awalton@svn.gnome.org>
2516 * gdesktopappinfo.c:
2522 * gfileenumerator.c:
2527 * gmemoryinputstream.c:
2528 * gmemoryoutputstream.c:
2530 * gsimpleasyncresult.c:
2531 More documentation cleanup and filling in missing information, bringing
2532 GIO to 99% symbol coverage.
2534 2007-12-08 Hans Breuer <hans@breuer.org>
2536 [gio compiles and links on win32, not sure how much already works]
2537 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2538 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2539 base on win32 API; prefer g_lstat() over lstat(); instead of
2540 localtime_r() use an all GLib implementation on win32;
2541 get_mount_info() still needs a win32 specifc implementation
2542 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2543 win32_get_file_user_info to get owner/group info without uid/gid
2544 * glocalfileinputstream.c : include <io.h> on win32
2545 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2546 definition, use g_win32_ftruncate() for G_OS_WIN32
2547 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2548 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2549 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2550 * makefile.msc : updated
2552 2007-12-07 Alexander Larsson <alexl@redhat.com>
2554 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2555 Avoid warning spew if error == NULL
2557 2007-12-07 Alexander Larsson <alexl@redhat.com>
2560 Update docs wrt etags
2562 2007-12-06 Alexander Larsson <alexl@redhat.com>
2565 Include sys/types.h for dev_t (#501919)
2567 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2571 Make abicheck and pltcheck pass.
2573 2007-12-05 Alexander Larsson <alexl@redhat.com>
2576 * giomodule-priv.h: Added.
2577 * glocaldirectorymonitor.c:
2578 * glocalfilemonitor.c:
2579 * gunionvolumemonitor.c:
2581 Actually add the declaration of _g_io_modules_ensure_loaded
2583 2007-12-05 Alexander Larsson <alexl@redhat.com>
2585 * gdatainputstream.c:
2590 * glocaldirectorymonitor.c:
2591 * glocalfilemonitor.c:
2592 * gunionvolumemonitor.c:
2594 Make g_io_modules_ensure_loaded a private function and
2595 don't pass in the dirname. This means we can do magic
2596 directory finding in the win32 version.
2597 Export the actual load-modules-in-directory code so that
2598 gvfs can reuse that.
2600 2007-12-05 Alexander Larsson <alexl@redhat.com>
2602 * gbufferedinputstream.c:
2603 * gbufferedoutputstream.c:
2606 * gfileenumerator.[ch]:
2607 * gfileinputstream.c:
2608 * gfileoutputstream.[ch]:
2609 * gfilterinputstream.c:
2610 * gfilteroutputstream.c:
2611 * ginputstream.[ch]:
2613 * glocalfileenumerator.c:
2614 * glocalfileinputstream.c:
2615 * glocalfileoutputstream.c:
2616 * gmemoryinputstream.c:
2617 * gmemoryoutputstream.c:
2618 * goutputstream.[ch]:
2621 * gunixinputstream.c:
2622 * gunixoutputstream.c:
2623 Rename all struct members named:
2624 read, write, close, truncate, or mount
2625 to foo_fn, as these are reserved names
2626 and could be defined as macros in libc.
2629 2007-12-04 Alexander Larsson <alexl@redhat.com>
2632 (g_output_stream_close):
2633 Only call flush if non-null.
2635 2007-11-30 Dan Winship <danw@gnome.org>
2637 * ginputstream.c (g_input_stream_set_pending): Make this take a
2638 GError and return a gboolean, and do the "outstanding operation"
2639 check (and the "stream is already closed" check) itself.
2640 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2642 * goutputstream.c (g_output_stream_set_pending)
2643 (g_output_stream_clear_pending): Likewise
2645 * gbufferedinputstream.c:
2646 * gfileinputstream.c:
2647 * gfileoutputstream.c: Update for that
2649 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2650 Like g_simple_async_report_error_in_idle, but takes a GError
2651 rather than building one.
2653 2007-11-30 Dan Winship <danw@gnome.org>
2655 * goutputstream.c: Don't cheat and unset the "pending" flag around
2656 inner calls. Instead, call the class method directly rather than
2657 the wrapper function that checks "pending"
2659 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2661 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2663 2007-12-03 Hans Breuer <hans@breuer.org>
2665 [start of port to win32/msvc]
2666 * gcancellable.c : HAVE_UNIST_H and _pipe()
2667 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2668 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2669 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2671 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2672 * glocalvfs.c : use HAVE_PWD_H
2673 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2674 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2675 * Makefile.am : added to EXTRA_DIST
2677 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2679 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2682 2007-12-03 Alexander Larsson <alexl@redhat.com>
2685 Handle OSX style xattrs API (#500506)
2687 2007-12-03 Alexander Larsson <alexl@redhat.com>
2691 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2693 2007-12-02 A. Walton <awalton@svn.gnome.org>
2697 Documentation accuracy fixes.
2699 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2701 * gioenumtypes.c.template: Fix typo.
2703 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2705 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2707 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2709 * gdirectorymonitor.c:
2710 * gfilemonitor.c: Add properties
2712 * gbufferedoutputstream.c: Don't mark buffer-size property
2715 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2717 * gbufferedoutputstream.c: Add auto-grow property.
2719 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2721 * *.c: Unify the capitalization of section headings.
2723 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2725 * gmountoperation.c: Add properties
2727 * gdatainputstream.c: Turn byte-order and newline-type into
2730 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2732 * gioenumtypes.[hc].template: Templates for enum registration
2734 * Makefile.am: Generate gioenumtypes.[hc]
2736 * gio.h: Include gioenumtypes.h
2738 * gfile.h: Add some explicit nicks.
2740 * gio.symbols: Add new symbols
2742 * pltcheck.sh: Adjust
2744 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2746 * *.c: Explain etags and link to the explanation
2748 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2750 * *.c: Explain I/O priority.
2752 * *.c: More coding style fixes.
2754 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2756 * gasyncresult.c: Add another paragraph to the intro,
2757 adjust coding style of example.
2759 2007-11-29 A. Walton <awalton@svn.gnome.org>
2762 Fixes unknown meaning in GAppLaunchContext docs.
2764 Clarify asynchronous ops.
2766 Fix entity tag docs.
2769 Provides missing gtk-doc section, fixes API docs slighly.
2770 * gsimpleasyncresult.c:
2771 Fill in missing info in docs.
2772 * gunixinputstream.c:
2773 * gunixoutputstream.c:
2774 Be more expressive in short description.
2776 Remove gtk-doc stubs for non-public API.
2778 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2780 * *.c: Coding style fixups
2782 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2784 * inotify/inotify-helper.c: Don't export the lock from libgio.
2786 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2789 * abicheck.sh: Fix copy-and-paste leftovers
2791 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2793 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2795 2007-11-28 Alexander Larsson <alexl@redhat.com>
2799 Removed unnecessary file
2801 * gdesktopappinfo.[ch]:
2804 * glocaldirectorymonitor.[ch]:
2806 * glocalfileenumerator.[ch]:
2807 * glocalfileinputstream.[ch]:
2808 * glocalfilemonitor.[ch]:
2809 * glocalfileoutputstream.[ch]:
2811 * gnativevolumemonitor.c:
2812 * gpollfilemonitor.[ch]:
2813 * gunionvolumemonitor.[ch]:
2816 * gunixvolumemonitor.[ch]:
2819 * inotify/ginotifydirectorymonitor.[ch]:
2820 * inotify/ginotifyfilemonitor.[ch]:
2821 * inotify/inotify-helper.c:
2822 Append _ to all internal functions
2826 Export symbols needed for modules
2828 2007-11-28 Alexander Larsson <alexl@redhat.com>
2831 * abicheck.sh: Added.
2832 * makegioalias.pl: Added.
2833 * pltcheck.sh: Added.
2834 * gio.symbols: Added.
2837 Initial work on adding symbol handling.
2840 Correct ifdef guard name
2843 * inotify/Makefile.am:
2844 * xdgmime/Makefile.am:
2845 Include toplevel Makefile.decl
2847 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2849 * gcontenttype.c: Move doc comments to the unix section.
2851 * *.[hc]: More trivial doc corrections.
2853 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2855 * gpollfilemonitor.c:
2859 * gdesktopappinfo.c:
2864 * gdatainputstream.c:
2865 * gdatainputstream.h:
2866 * gdataoutputstream.c:
2867 * gdataoutputstream.h:
2868 * gfileinfo.h: Doc cleanups
2870 2007-11-28 Andre Klapper <a9016009@gmx.de>
2872 * gdesktopappinfo.c: Fix a typo.
2874 2007-11-27 Andre Klapper <a9016009@gmx.de>
2876 * glocalfileoutputstream.c: Fix a typo.
2878 2007-11-27 Alexander Larsson <alexl@redhat.com>
2881 Don't include removed headers
2883 2007-11-27 Alexander Larsson <alexl@redhat.com>
2886 * gsocketinputstream.[ch]: Removed.
2887 * gsocketoutputstream.[ch]: Removed.
2888 * gunixinputstream.[ch]: Added.
2889 * gunixoutputstream.[ch]: Added.
2890 Renamed GSocket*Stream to GUnix*Stream and made
2891 it unix-only, since its not really only for sockets
2892 and it only works on unix (but is highly useful there).
2894 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2900 * gbufferedinputstream.c:
2901 * gbufferedinputstream.h:
2902 * gbufferedoutputstream.c:
2903 * gbufferedoutputstream.h:
2907 * gdatainputstream.c:
2908 * gdatainputstream.h:
2909 * gdataoutputstream.c:
2910 * gdataoutputstream.h:
2911 * gdirectorymonitor.c:
2912 * gdirectorymonitor.h:
2919 * gfileenumerator.c:
2920 * gfileenumerator.h:
2925 * gfileinputstream.c:
2926 * gfileinputstream.h:
2929 * gfilenamecompleter.c:
2930 * gfilenamecompleter.h:
2931 * gfileoutputstream.c:
2932 * gfileoutputstream.h:
2933 * gfilterinputstream.c:
2934 * gfilterinputstream.h:
2935 * gfilteroutputstream.c:
2936 * gfilteroutputstream.h:
2949 * glocalfileoutputstream.c:
2950 * gmemoryinputstream.c:
2951 * gmemoryinputstream.h:
2952 * gmemoryoutputstream.c:
2953 * gmemoryoutputstream.h:
2954 * gmountoperation.c:
2955 * gmountoperation.h:
2958 * gpollfilemonitor.c:
2961 * gsimpleasyncresult.c:
2962 * gsimpleasyncresult.h:
2963 * gsocketinputstream.c:
2964 * gsocketinputstream.h:
2965 * gsocketoutputstream.c:
2966 * gsocketoutputstream.h:
2973 * gunixvolumemonitor.c:
2982 Bumps documentation to 93% symbol coverage, touching most
2983 of the public files. Fixes broken function documentation prototypes.
2984 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2985 gtk-doc headers in private files.
2987 2007-11-27 Jürg Billeter <j@bitron.ch>
2989 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2990 (g_buffered_input_stream_read_byte):
2991 * gbufferedinputstream.h:
2992 New functions for efficient access to buffer and simple single byte
2995 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2996 (g_data_input_stream_read_until):
2997 * gdatainputstream.h:
2998 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2999 read_until with multiple stop chars.
3001 2007-11-27 Alexander Larsson <alexl@redhat.com>
3005 * inotify/Makefile.am:
3006 Use the user-specified giomoduledir
3008 2007-11-27 Alexander Larsson <alexl@redhat.com>
3012 Add catch-all gio.h header
3013 Don't install gdummyfile.h
3015 2007-11-26 Alexander Larsson <alexl@redhat.com>
3017 * Makefile.am (gioinclude_HEADERS):
3018 Remove trailing whitespace
3020 2007-11-26 Alexander Larsson <alexl@redhat.com>
3022 Merge gio-standalone into glib
3024 2007-11-25 Christian Kellner <gicmo@gnome.org>
3026 * gio/goutputstream.c:
3027 Fix small mistake in the docs.
3029 2007-11-21 Christian Persch <chpe@gnome.org>
3031 * gio/glocalfile.c: (g_local_file_trash):
3032 Convert filenames to UTF-8 for GError.
3033 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3034 as per xdg base dir spec.
3036 2007-11-21 Christian Persch <chpe@gnome.org>
3038 * gio/gdesktopappinfo.c:
3039 Use that g_key_file_to_data cannot fail.
3041 Use stock defines for the key file group and key names.
3044 2007-11-21 Alexander Larsson <alexl@redhat.com>
3047 (copy_stream_with_progress):
3048 Make sure we do a final progress callback with
3049 the full total size.
3051 2007-11-21 Alexander Larsson <alexl@redhat.com>
3054 Export g_file_copy_attributes
3055 Remove padding as its not needed for interfaces
3057 2007-11-20 Alexander Larsson <alexl@redhat.com>
3062 Add G_IO_ERROR_WOULD_MERGE for
3063 copy/move dir on dir with overwrite.
3065 2007-11-20 Alexander Larsson <alexl@redhat.com>
3068 * gio/glocalfileinfo.c:
3069 Add COPY_NAME (this is an optional
3070 non-modified utf8 version of the name) that
3073 2007-11-20 Alexander Larsson <alexl@redhat.com>
3075 * gio/glocalfileenumerator.c:
3076 Report errors as GIOError, not GFileError
3078 2007-11-16 Alexander Larsson <alexl@redhat.com>
3080 * gio/glocalfileoutputstream.c:
3081 * gio/gwin32appinfo.c:
3082 Fix typos in strings.
3083 Patch from Luca Ferretti <elle.uca@libero.it>
3085 2007-11-15 Alexander Larsson <alexl@redhat.com>
3088 Post release version bump
3090 === gio-standalone 0.1.2 ===
3092 2007-11-15 Alexander Larsson <alexl@redhat.com>
3094 * docs/reference/gio/Makefile.am:
3095 Fix up distcheck by removing weird
3101 2007-11-14 Alexander Larsson <alexl@redhat.com>
3103 * gio/gdesktopappinfo.c:
3104 * gio/glocaldirectorymonitor.c:
3106 * gio/glocalfileinfo.c:
3107 * gio/inotify/inotify-sub.c:
3108 * programs/gio-cat.c:
3109 * programs/gio-copy.c:
3110 * programs/gio-info.c:
3111 * programs/gio-ls.c:
3112 * programs/gio-monitor-dir.c:
3113 * programs/gio-monitor-file.c:
3114 * programs/gio-mount.c:
3115 * programs/gio-move.c:
3116 * programs/gio-rm.c:
3117 * programs/gio-save.c:
3118 * programs/gio-trash.c:
3119 Leak fixes from Kjartan Maraas
3121 2007-11-14 Alexander Larsson <alexl@redhat.com>
3123 * gio/fam/fam-helper.c:
3125 * gio/glocalfileinfo.c:
3129 * gio/inotify/inotify-diag.c:
3130 * gio/inotify/inotify-kernel.c:
3131 Various code cleanups from Kjartan Maraas
3133 2007-11-14 Alexander Larsson <alexl@redhat.com>
3135 * gio/gioscheduler.c:
3137 Set up threadpool so that we cache 2 unused
3138 idle threads for at 15 secs. This means we
3139 will reuse thread-local data (like dbus connections)
3142 2007-11-14 Alexander Larsson <alexl@redhat.com>
3144 * gio/fam/fam-helper.c:
3145 * gio/fam/gfamdirectorymonitor.c:
3146 * gio/fam/gfamfilemonitor.c:
3148 * gio/gcontenttype.c:
3149 * gio/gdatainputstream.c:
3150 * gio/gdataoutputstream.c:
3154 * gio/gfileattribute.h:
3155 * gio/gfileenumerator.c:
3157 * gio/ginputstream.c:
3160 * gio/glocalfileinfo.c:
3161 * gio/goutputstream.c:
3162 * gio/gpollfilemonitor.c:
3163 * gio/gsimpleasyncresult.c:
3164 * gio/gunixmounts.c:
3165 * gio/gunixmounts.h:
3166 * gio/inotify/ginotifydirectorymonitor.c:
3167 * gio/inotify/ginotifyfilemonitor.c:
3168 * gio/inotify/inotify-diag.c:
3169 * gio/inotify/inotify-kernel.c:
3170 * gio/inotify/inotify-path.c:
3172 * gio/test-streams.c:
3173 * programs/gio-info.c:
3174 * programs/gio-monitor-dir.c:
3175 * programs/gio-monitor-file.c:
3176 Various code cleanups from Kjartan Maraas
3178 2007-11-13 Alexander Larsson <alexl@redhat.com>
3181 Handle the uri-scheme calls for dummy files
3183 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3185 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3186 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3187 to avoid clash with the C++ keyword.
3189 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3191 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3192 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3194 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3196 * gio/glocaldirectorymonitor.c:
3197 * gio/glocalfilemonitor.c:
3198 * gio/gunionvolumemonitor.c:
3199 Don't use g_once_init_*() for initializations that could fail and
3200 could leave the initialization variable set to 0 but use GOnce.
3201 This prevents a deadlock on the second call when trying to create
3202 a monitor and no monitor type is available. Thanks to Sven Herzberg
3205 2007-11-11 Sven Herzberg <sven@imendio.com>
3207 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3208 #ifdef (make it work on MacOS X again)
3210 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3212 Fixes Changelog for last two commits (sorry guys).
3214 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3216 * gio/gbufferedinputstream.c:
3217 * gio/gdatainputstream.c:
3219 * gio/gfileoutputstream.c:
3220 * gio/gfilterinputstream.c:
3221 * gio/glocalfileinputstream.c:
3224 More consistency fixes in g*stream.c files.
3225 Significant clean of gfile's documentation, filling in of
3226 asynchronous operations documentation.
3228 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3230 * gio/gasyncresult.c:
3231 * gio/gbufferedinputstream.c:
3232 * gio/gbufferedoutputstream.c:
3233 * gio/gcancellable.c:
3234 * gio/gcontenttype.c:
3235 * gio/gdatainputstream.c:
3236 * gio/gdataoutputstream.c:
3237 * gio/gdesktopappinfo.c:
3240 * gio/gfileattribute.c:
3241 * gio/gio/gfileenumerator.c:
3243 * gio/gfileinputstream.c:
3244 * gio/gfilemonitor.c:
3245 * gio/gfileoutputstream.c:
3246 * gio/ginputstream.c:
3248 * gio/gioscheduler.c:
3249 * gio/gloadableicon.c:
3250 * gio/glocalfileoutputstream.c:
3251 * gio/gmemoryoutputstream.c:
3252 * gio/gmountoperation.c:
3253 * gio/goutputstream.c:
3255 * gio/gsimpleasyncresult.c:
3256 * gio/gunionvolumemonitor.c:
3257 * gio/gunixmounts.c:
3258 * gio/gunixvolume.c:
3262 * gio/gvolumemonitor.c:
3263 Updated documentation stubs, working towards consistency and
3266 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3268 * gio/gmemoryoutputstream.c:
3269 * gio/gmemoryoutputstream.h:
3270 Change g_memory_output_stream_set_free_on_close() to
3271 g_memory_output_stream_set_free_data() as this makes more sense and
3272 is more consistent with GMemoryInputStream.
3274 2007-11-07 Alexander Larsson <alexl@redhat.com>
3281 Change how we find the default vfs so that
3282 we can handle a gvfs failing to init
3284 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3286 * gio/gbufferedoutputstream.c:
3287 * gio/gdatainputstream.c:
3288 * gio/gdataoutputstream.c:
3289 * gio/gfileinputstream.c:
3290 * gio/gfileoutputstream.c:
3291 * gio/gfilterinputstream.c:
3292 * gio/gfilteroutputstream.c:
3293 * gio/ginputstream.c:
3294 * gio/gmemoryinputstream.c:
3295 * gio/gmemoryoutputstream.c:
3296 * gio/goutputstream.c:
3297 * gio/gsimpleasyncresult.c:
3298 * gio/gsocketinputstream.c:
3299 * gio/gsocketoutputstream.c:
3300 Add guards to the remaining public functions, add a TODO for
3301 an unimplemented function and remove some useless guards.
3303 2007-11-07 Alexander Larsson <alexl@redhat.com>
3306 Autoconf checks for the various types of
3307 getpwuid_r and getgrgid_r
3309 * gio/glocalfileinfo.c:
3310 Use the autoconf checks from above
3312 2007-11-07 Alexander Larsson <alexl@redhat.com>
3315 (g_local_file_query_filesystem_info):
3316 Some fixes for the statvfs case
3318 2007-11-07 Alexander Larsson <alexl@redhat.com>
3321 (g_local_file_query_filesystem_info):
3322 Pick the "best" of statfs / statvfs for the system
3323 if both are availible.
3325 2007-11-07 Alexander Larsson <alexl@redhat.com>
3327 Solaris fixes from Halton.Huo@Sun.COM:
3334 * gio/glocalfileinfo.c:
3335 Fix for solaris definition of getpwuid_r
3337 * gio/test-streams.c:
3338 Use G_GNUC_PRETTY_FUNCTION
3340 2007-11-07 Alexander Larsson <alexl@redhat.com>
3342 * gio/gdesktopappinfo.c:
3343 (update_default_list):
3344 Remove double semicolon.
3345 Patch from Jens Granseuer
3347 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3349 * docs/reference/gio/gio-sections.txt:
3350 * gio/gbufferedinputstream.c:
3351 * gio/gbufferedinputstream.h:
3352 * gio/gdatainputstream.c:
3353 * gio/gfileenumerator.c:
3354 * gio/gioscheduler.c:
3355 * gio/gunionvolumemonitor.c:
3357 * programs/gio-save.c:
3358 Fix typo: availible -> available. Unfortuntely this breaks API
3359 and ABI as g_buffered_input_stream_get_available() was renamed.
3361 * gio/gunixmounts.c:
3362 * gio/gbufferedinputstream.c:
3363 Add guards for public functions.
3365 2007-11-06 Ross Burton <ross@openedhand.com>
3367 * docs/reference/gio/Makefile.am:
3368 Fix invalid += usage which automake 1.10 doesn't like.
3370 2007-11-06 Alexander Larsson <alexl@redhat.com>
3373 (g_app_launch_context_class_init):
3376 Patch from Ross Burton
3378 2007-11-06 Alexander Larsson <alexl@redhat.com>
3381 Post release version bump
3383 === gio-standalone 0.1.1 ===
3385 2007-11-06 Alexander Larsson <alexl@redhat.com>
3388 Bump version to 0.1.1
3390 * gio/gsimpleasyncresult.c:
3391 (g_simple_async_result_set_from_error):
3392 Remove bogus g_return_if_fail
3394 2007-11-06 Alexander Larsson <alexl@redhat.com>
3397 The name is gio-standalone
3400 Add top src/builddir to includedir
3402 2007-11-06 Alexander Larsson <alexl@redhat.com>
3404 * docs/reference/gio/gio-sections.txt:
3406 * gio/gbufferedinputstream.c:
3407 * gio/gbufferedoutputstream.c:
3408 * gio/gcancellable.c:
3409 * gio/gdatainputstream.h:
3410 * gio/gdataoutputstream.c:
3411 * gio/gdataoutputstream.h:
3412 * gio/gdirectorymonitor.c:
3414 * gio/gfileattribute.c:
3415 * gio/gfileattribute.h:
3416 * gio/gfileenumerator.c:
3417 * gio/gfileenumerator.h:
3420 * gio/gfileinputstream.h:
3421 * gio/gfilemonitor.c:
3422 * gio/gfileoutputstream.h:
3423 * gio/glocalfilemonitor.h:
3424 * gio/glocalfileoutputstream.h:
3425 * gio/gmemoryinputstream.c:
3426 * gio/gmemoryoutputstream.c:
3427 * gio/gmountoperation.c:
3428 * gio/goutputstream.c:
3429 * gio/goutputstream.h:
3431 * gio/gsimpleasyncresult.c:
3432 * gio/gunixmounts.c:
3433 * gio/gunixmounts.h:
3435 * gio/inotify/inotify-helper.c:
3436 Fix gtk-doc warnings
3438 Patch from Ross Burton
3440 2007-11-06 Alexander Larsson <alexl@redhat.com>
3442 * gio/gfilenamecompleter.c:
3443 (g_filename_completer_get_completions):
3446 * gio/gunixvolume.c:
3447 Remove unused function
3449 Patches from Ross Burton
3451 2007-11-06 Alexander Larsson <alexl@redhat.com>
3456 Padding not needed for interfaces
3458 2007-11-06 Alexander Larsson <alexl@redhat.com>
3460 * gio/gfilemonitor.c:
3464 Make giotypes.h an internal file
3467 * gio/gbufferedinputstream.h:
3468 * gio/gbufferedoutputstream.h:
3469 * gio/gcancellable.h:
3470 * gio/gdatainputstream.h:
3471 * gio/gdataoutputstream.h:
3472 * gio/gdirectorymonitor.c:
3473 * gio/gdirectorymonitor.h:
3478 * gio/gfileattribute.h:
3479 * gio/gfileenumerator.h:
3484 * gio/gfilemonitor.c:
3485 * gio/gfilemonitor.h:
3486 * gio/gfilenamecompleter.c:
3487 * gio/gfilenamecompleter.h:
3488 * gio/gfilterinputstream.h:
3489 * gio/gfilteroutputstream.h:
3490 * gio/ginputstream.h:
3491 * gio/gmemoryinputstream.h:
3492 * gio/gmemoryoutputstream.h:
3493 * gio/gmountoperation.c:
3494 * gio/gmountoperation.h:
3495 * gio/gnativevolumemonitor.c:
3496 * gio/goutputstream.h:
3499 * gio/gsimpleasyncresult.c:
3500 * gio/gsimpleasyncresult.h:
3501 * gio/gsocketinputstream.h:
3502 * gio/gsocketoutputstream.h:
3503 * gio/gthemedicon.c:
3504 * gio/gthemedicon.h:
3508 * gio/gvolumemonitor.c:
3509 * gio/gvolumemonitor.h:
3510 Add padding in classes where it seems useful
3511 Don't include giotypes.h from public headers
3512 Move in Class definitions into c file where possible
3517 2007-11-06 Alexander Larsson <alexl@redhat.com>
3519 * docs/reference/gio/gio-docs.xml:
3520 Better structure for API docs
3522 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3525 * gio/gloadableicon.c:
3526 * gio/gsimpleasyncresult.c:
3527 * gio/gthemedicon.c:
3528 Add some more guards to public functions. Only files missing are now
3531 2007-11-06 Alexander Larsson <alexl@redhat.com>
3533 * docs/reference/gio/gio-docs.xml:
3534 Remove old files, add missing ones
3536 2007-11-06 Alexander Larsson <alexl@redhat.com>
3538 * docs/reference/gio/gio-sections.txt:
3541 Hide implementation classes
3543 * gio/gdriveprivate.h:
3544 * gio/gvolumeprivate.h:
3545 Remove non-existing function declarations
3547 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3550 Fix compilation warnings and add guards to the new functions.
3552 * gio/gasyncresult.c:
3554 Add guards to the public functions.
3557 Implement get_path().
3559 2007-11-06 Alexander Larsson <alexl@redhat.com>
3561 * gio/gfilenamecompleter.c:
3562 Make g_filename_completer_get_completions
3563 return char ** instead of GList for
3566 * docs/reference/gio/gio-docs.xml:
3567 * docs/reference/gio/gio-sections.txt:
3569 * gio/gasyncresult.c:
3570 * gio/gbufferedinputstream.c:
3571 * gio/gbufferedoutputstream.c:
3572 * gio/gcancellable.c:
3573 * gio/gcontenttype.c:
3574 * gio/gdatainputstream.c:
3575 * gio/gdataoutputstream.c:
3576 * gio/gdesktopappinfo.c:
3577 * gio/gdirectorymonitor.c:
3581 * gio/gfileattribute.c:
3582 * gio/gfileenumerator.c:
3585 * gio/gfileinputstream.c:
3586 * gio/gfilemonitor.c:
3587 * gio/gfilenamecompleter.c:
3588 * gio/gfilenamecompleter.h:
3589 * gio/gfileoutputstream.c:
3590 * gio/gfilterinputstream.c:
3592 * gio/ginputstream.c:
3594 * gio/gioscheduler.c:
3595 * gio/gloadableicon.c:
3596 * gio/glocaldirectorymonitor.c:
3598 * gio/glocalfileinputstream.c:
3599 * gio/glocalfilemonitor.c:
3600 * gio/glocalfileoutputstream.c:
3602 * gio/gmemoryinputstream.c:
3603 * gio/gmemoryoutputstream.c:
3604 * gio/gmountoperation.c:
3605 * gio/goutputstream.c:
3606 * gio/gpollfilemonitor.c:
3608 * gio/gsimpleasyncresult.c:
3609 * gio/gsocketinputstream.c:
3610 * gio/gsocketoutputstream.c:
3611 * gio/gthemedicon.c:
3612 * gio/gunionvolumemonitor.c:
3614 * gio/gunixmounts.c:
3615 * gio/gunixvolume.c:
3616 * gio/gunixvolumemonitor.c:
3620 * gio/gvolumemonitor.c:
3621 * gio/gwin32appinfo.c:
3622 Add (mostly stub) doc strings to public functions.
3623 Patch from Andrew Walton (awalton@gmail.com)
3625 2007-11-06 Alexander Larsson <alexl@redhat.com>
3627 * gio/gappinfo.[ch]:
3628 Added GAppLaunchContext object and pass that to launch.
3629 This allows simple implementation of both
3630 launch-on-screen and startup notification via a gtk+
3631 subclass of GAppLaunchContext
3633 * gio/gdesktopappinfo.c:
3634 Implement GAppLaunchContext API
3636 * gio/gwin32appinfo.c:
3639 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3641 * gio/gmountoperation.c:
3642 Add some guards to GMountOperation's public functions.
3644 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3648 * gio/gcancellable.c:
3649 * gio/gdirectorymonitor.c:
3651 * gio/gfileenumerator.c:
3652 * gio/gfilemonitor.c:,
3653 * gio/gfilenamecompleter.c:
3656 * gio/gioscheduler.c:
3660 * gio/gvolumemonitor.c:
3661 Add even more guards to various public functions.
3663 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3666 Add guards to the public functions of GAppInfo.
3668 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3670 * gio/gcontenttype.c:
3671 Add some more guards for public functions.
3673 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3675 * gio/fam/fam-module.c:
3676 * gio/fam/gfamdirectorymonitor.c:
3677 * gio/fam/gfamdirectorymonitor.h:
3678 * gio/fam/gfamfilemonitor.c:
3679 * gio/fam/gfamfilemonitor.h:
3680 * gio/inotify/ginotifydirectorymonitor.c:
3681 * gio/inotify/ginotifydirectorymonitor.h:
3682 * gio/inotify/ginotifyfilemonitor.c:
3683 * gio/inotify/ginotifyfilemonitor.h:
3684 Add proper copyright information and remove an unused variable
3685 in the GInotifyFileMonitor constructor.
3687 * gio/gcancellable.c:
3688 Add a guard for a public function and an assertion to prevent
3689 an undefined program state.
3691 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gio/gfileattribute.c:
3694 Don't run into an assertion if the given attribute value is NULL
3695 in g_file_attribute_value_get_*() but instead return a fallback
3696 value that makes sense in most situations. Passing them a attribute
3697 value with the wrong type will still run into an assertion.
3699 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3701 * gio/gfileattribute.c:
3703 Add even more guards to the public functions. Also fix the refcounting
3704 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3705 let g_file_info_list_attributes() filter the attributes by namespace
3706 instead of simply ignoring the namespace parameter.
3708 2007-11-03 Sven Herzberg <sven@imendio.com>
3710 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3711 (This makes gio work on MacOS X again)
3713 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3716 Build the gio subdirectory before the docs. Otherwise the build will
3719 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3720 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3721 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3722 Add guards to the public functions.
3724 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3726 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3727 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3728 to prevent a compiler warning.
3730 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3731 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3732 return something in the non-void function find_topdir_for().
3734 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3741 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3743 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3744 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3745 * gwin32appinfo.c (g_win32_app_info_launch):
3746 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3747 envp_for_startup_id, g_desktop_app_info_launch,
3748 g_desktop_app_info_launch_uris):
3750 Give an opaque 'startup_id' string instead of 'envp'.
3751 Support empty file lists for launching new windows.
3752 Fix infinite recursion bug when launching URIs.
3754 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3757 Add guard to the new g_file_get_uri_scheme() function.
3759 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3762 Convert a g_return_val_if_fail() to setting the GError instead as
3763 otherwise applications have to verify the parameter before otherwise
3764 and the parameter might come directly from the user.
3766 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3768 * gio/inotify/ginotify*.[ch]:
3769 Add missing copyright information.
3771 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3774 Add guards in the beginning of public functions to check for valid
3775 parameters and fix a bug in copy_stream_with_progress() that could've
3776 caused writing less bytes than reading.
3777 * gio/glocalfileinfo.c:
3778 Check for a NULL parameter and set the GError accordingly then.
3779 * gio/goutputstream.c:
3780 Fix the same bug as in gfile.c that could've caused writing less bytes
3781 than reading in g_output_stream_real_splice().
3783 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3786 Use the correct gvolumeprivate.h naming
3788 2007-11-01 Christian Kellner <gicmo@gnome.org>
3791 Remove leftover "$(daemon_sources)" entry.
3793 2007-11-01 Christian Kellner <gicmo@gnome.org>
3798 Add copyright information to source files.
3800 2007-11-01 Alexander Larsson <alexl@redhat.com>
3804 Add g_file_get_uri_scheme
3806 2007-11-01 Alexander Larsson <alexl@redhat.com>
3809 * gio/gdesktopappinfo.c:
3810 * gio/gwin32appinfo.c:
3811 Add g_app_info_get_default_for_uri_scheme.
3813 2007-11-01 Alexander Larsson <alexl@redhat.com>
3816 Correct filename for gdriveprivate.h
3818 2007-10-31 Alexander Larsson <alexl@redhat.com>
3821 Rename id:value to id:file
3824 * gio/glocalfileinfo.c:
3827 2007-10-31 Alexander Larsson <alexl@redhat.com>
3829 * gio/gunixvolume.c:
3831 Remove g_volume_get_platform_id, as thats not
3832 needed with the simpler union volume monitor
3834 2007-10-31 Alexander Larsson <alexl@redhat.com>
3837 * gio/guniondrive.[ch]: Removed.
3838 * gio/gunionvolume.[ch]: Removed.
3839 Remove GUnionDrive/Volume
3841 * gio/gunionvolumemonitor.c:
3842 Simplify union volume monitor, now we
3843 only have one native volume monitor and
3844 we use the actual volumes/drives from the
3845 child monitors instead of wrapping them
3847 * gio/gnativevolumemonitor.[ch]:
3848 Base class for native volume monitors.
3849 Includes priority and get_volume_for_mountpoint
3852 Add g_file_find_enclosing_volume
3855 Remove volume name fs attribute
3856 Add readonly fs attribute
3859 Implement readonly attribute
3860 remove volume name attribute
3861 Implement find_enclosing volume
3863 * gio/gunixmounts.c:
3864 Add a volume for "/".
3866 * gio/gunixvolume.[ch]:
3867 Set better name for /
3869 * gio/gunixvolumemonitor.[ch]:
3870 Derive from GNativeVolumeMonitor
3871 Implement get_volume_for_mountpoint
3874 GVolume typedef moved to gfile.h
3876 * gio/gvolumeprivate.h:
3877 Add g_volume_get_for_mount_path
3879 2007-10-31 Alexander Larsson <alexl@redhat.com>
3881 * gio/gunixmounts.[ch]:
3882 Add cache info to unix mount listers
3883 Make getmntent use threadsafe
3884 Add is_system_internal attribute for GUnixMount
3886 * gio/gunixvolume.c:
3887 (g_unix_volume_new):
3888 Use is_system_internal instead of own code
3890 * gio/glocaldirectorymonitor.c:
3891 * gio/gunixvolumemonitor.c:
3892 Update to new gunixmounts API
3897 2007-10-30 Alexander Larsson <alexl@redhat.com>
3900 Add volume name fsinfo attribute
3903 Read volume name info
3905 * gio/gunionvolumemonitor.c:
3906 Fix infinite loops when finalizing a union volume monitor
3908 2007-10-30 Alexander Larsson <alexl@redhat.com>
3910 * gio/goutputstream.[ch]:
3911 Add splice() with default implementation
3913 * gio/gsocketoutputstream.c:
3914 (g_socket_output_stream_write):
3915 Return error on cancellation correctly.
3917 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3919 * gio/glocalfile.c (g_local_file_trash):
3920 Do not leak a string.
3922 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3924 * gio/gfile.c (g_file_load_contents):
3925 Unref the stream after closing it.
3927 2007-10-25 Alexander Larsson <alexl@redhat.com>
3929 * gio/gioscheduler.h:
3932 2007-10-25 Alexander Larsson <alexl@redhat.com>
3936 Add g_file_has_uri_scheme and implement for local files
3938 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3940 * gio/gdesktopappinfo.c: do not leak a string.
3942 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3944 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3945 (g_local_directory_monitor_new):
3946 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3947 (g_local_file_monitor_new):
3948 Only look for the monitor type that should be used the first time
3949 and use g_qsort_with_data() instead of our own bubble sort
3952 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3955 * gio/fam/Makefile.am:
3956 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3957 * gio/fam/fam-helper.h:
3958 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3959 * gio/fam/gfamdirectorymonitor.c:
3960 * gio/fam/gfamdirectorymonitor.h:
3961 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3962 * gio/fam/gfamfilemonitor.h:
3963 * gio/glocaldirectorymonitor.c:
3964 * gio/glocaldirectorymonitor.h:
3965 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3966 * gio/glocalfilemonitor.h:
3967 * gio/inotify/Makefile.am:
3968 * gio/inotify/ginotifydirectorymonitor.c:
3969 * gio/inotify/ginotifydirectorymonitor.h:
3970 * gio/inotify/ginotifyfilemonitor.c:
3971 * gio/inotify/ginotifyfilemonitor.h:
3972 Implement the FAM and Inotify monitors as
3973 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3974 their own GIO module. GLocal(Directory|File)Monitor will use the
3975 monitor with the highest rank that is supported on that machine.
3977 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3980 Change GIO module dir to $(libdir)/gio/modules and change
3981 the log domain from GVFS to GIO. Also only export symbols starting
3982 with g_ in the resulting library.
3983 * gio/test-streams.c: (main):
3984 Set log handler for the GIO log domain.
3986 2007-10-22 Alexander Larsson <alexl@redhat.com>
3988 * gio/gfilenamecompleter.[ch]:
3989 Add g_filename_completer_set_dirs_only
3991 2007-10-22 Alexander Larsson <alexl@redhat.com>
3994 * gio/gurifuncs.[ch]:
3995 Add some simple URI helpers
3997 * gio/gfilenamecompleter.[ch]:
3998 Added object for filename (parse name actually) completion
4001 Handle ~ in parse names
4003 2007-10-17 Alexander Larsson <alexl@redhat.com>
4006 * gio/glocalfileinfo.c:
4007 Add and implement id:value attribute
4009 2007-10-17 Alexander Larsson <alexl@redhat.com>
4012 * gio/guniondrive.c:
4014 Add and implement g_drive_has_volumes
4016 2007-10-17 Alexander Larsson <alexl@redhat.com>
4019 * gio/glocalfileinfo.[ch]:
4020 Add unix:is_mountpoint and implement for local files
4022 2007-10-16 Alexander Larsson <alexl@redhat.com>
4024 * gio/gunionvolumemonitor.c:
4025 (g_union_volume_monitor_init):
4026 Fix up the unix type getting so that it works with gcc
4028 2007-10-12 Alexander Larsson <alexl@redhat.com>
4031 * gio/glocalfileinfo.c:
4032 Add thumbnail:failed to file info
4034 2007-10-12 Richard Hult <richard@imendio.com>
4036 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4037 optimizing away the get_type call (happens with some gcc versions,
4038 like the one shipped with OS X 10.4).
4040 2007-10-12 Alexander Larsson <alexl@redhat.com>
4042 * gio/glocalfileinfo.c:
4043 (_g_local_file_info_set_attribute):
4044 Fix build if not HAVE_XATTR
4045 Patch from Milosz Derezynski <internalerror@gmail.com>
4047 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4049 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4050 around for review, otherwise I would have asked you before
4053 2007-10-11 Alexander Larsson <alexl@redhat.com>
4056 Add thumbnail:path attribute
4058 * gio/glocalfileinfo.c:
4059 Implement thumbnail:path for local files
4061 2007-10-11 Alexander Larsson <alexl@redhat.com>
4063 * gio/glocalfileinfo.c:
4064 (_g_local_file_info_get):
4065 Avoid duplicate icon names
4067 2007-10-11 Alexander Larsson <alexl@redhat.com>
4069 * gio/gthemedicon.[ch]:
4070 Change g_themed_icon_get_names return type to const
4072 2007-10-10 Alexander Larsson <alexl@redhat.com>
4074 * gio/glocalfileinfo.c:
4075 Don't reference freed memory
4077 2007-10-10 Alexander Larsson <alexl@redhat.com>
4079 * gio/gfileattribute.c:
4082 * gio/glocalfileinfo.c:
4085 2007-10-10 Alexander Larsson <alexl@redhat.com>
4088 Check for NULL icons
4090 * gio/gfileattribute.c:
4091 Don't dup when getting objects (same as for string attributes)
4093 * gio/gicon.c (g_icon_equal):
4094 Safely handle NULLs in equal
4096 2007-10-10 Alexander Larsson <alexl@redhat.com>
4099 Fix c++ compilation issues
4100 Patch from Milosz Derezynski <internalerror@gmail.com>
4102 2007-10-10 Alexander Larsson <alexl@redhat.com>
4104 * programs/gio-monitor-dir.c:
4105 Don't crash if dir monitor not supported.
4107 2007-10-09 Alexander Larsson <alexl@redhat.com>
4110 Add missing G_END_DECLS
4112 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4114 * gio/gfile.c: (g_file_set_display_name),
4115 (g_file_query_settable_attributes),
4116 (g_file_query_writable_namespaces):
4117 Return NULL not FALSE on errors as the return type is a pointer.
4119 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4121 * gio/glocalfile.c: (g_local_file_monitor_file):
4122 Don't call monitor_file on the default interface vtable (which
4123 is NULL) but simply return NULL. The caller, GFile, will create a
4124 polling monitor if NULL is returned.
4126 2007-10-09 Alexander Larsson <alexl@redhat.com>
4130 * gio-unix-2.0.pc.in:
4131 Add gio-unix-2.0.pc if OS_UNIX
4134 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4136 2007-10-09 Alexander Larsson <alexl@redhat.com>
4138 * gio/gunixmounts.[ch]:
4139 Make unix mount monitoring API sane.
4140 Now its just a object with mounts_changed
4141 and mountpoints_changed signals.
4143 * gio/glocaldirectorymonitor.c:
4144 * gio/gunixvolumemonitor.c:
4145 Use new mount monitor api
4147 2007-10-09 Alexander Larsson <alexl@redhat.com>
4149 * gio/gunixmounts.[ch]:
4150 Move guess type into one call for mounts and one for mountpoints
4153 * gio/gunixvolume.c:
4156 2007-10-09 Alexander Larsson <alexl@redhat.com>
4158 * gio/gunixmounts.[ch]:
4159 Remove _ prefix in preparation to make this semi-public
4160 Hide implementation of structs
4162 * gio/glocaldirectorymonitor.c:
4164 * gio/gunixvolume.c:
4165 * gio/gunixvolumemonitor.c:
4166 Update for above API changes
4168 2007-10-08 Alexander Larsson <alexl@redhat.com>
4171 Better polling fallback. This also handles the case where we have
4172 a monitor_file implementation, but it fails.
4174 2007-10-08 Alexander Larsson <alexl@redhat.com>
4178 * gio/gunixmounts.c:
4179 * programs/gio-monitor-dir.c:
4180 * programs/gio-monitor-file.c:
4181 Added cancellable to file monitoring calls.
4182 These are really sync calls and need this.
4184 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4186 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4187 (g_local_vfs_class_init):
4188 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4189 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4191 2007-10-05 Alexander Larsson <alexl@redhat.com>
4193 * gio/gdirectorymonitorprivate.h:
4194 * gio/gfilemonitorprivate.h:
4195 * gio/gdirectorymonitor.h:
4196 * gio/gfilemonitor.h:
4197 Remove *private.h and move to the public API, so that
4198 we can do implementations outside gio (such as in gvfs)
4200 * gio/gdirectorymonitor.c:
4201 * gio/gfilemonitor.c:
4202 * gio/glocaldirectorymonitor.c:
4203 * gio/gpollfilemonitor.c:
4204 * gio/inotify/inotify-helper.c:
4205 * gio/fam/fam-helper.c:
4206 Update to the new header names
4208 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4210 * gio/gdirectorymonitor.c:
4211 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4214 2007-10-04 Alexander Larsson <alexl@redhat.com>
4216 * gio/glocalfileinfo.c (get_access_rights):
4217 Set CAN_TRASH when we can move the file.
4218 We should really also check for a parent trash dir.
4220 2007-10-04 Alexander Larsson <alexl@redhat.com>
4222 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4223 Add can_trash access attribute
4225 2007-10-04 Alexander Larsson <alexl@redhat.com>
4228 (g_local_file_trash):
4229 Create info file first. This is per-spec and allows
4230 us to actually trash directories.
4232 2007-10-02 Alexander Larsson <alexl@redhat.com>
4234 * gio/gdesktopappinfo.c:
4235 Implement the new mime support code.
4236 Always set app as handling mimetype when being set as default for it
4238 2007-10-01 Alexander Larsson <alexl@redhat.com>
4240 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4241 Fix up check for xattrs:
4243 2007-10-01 Alexander Larsson <alexl@redhat.com>
4246 (g_app_info_set_as_default_for_extension):
4247 (g_app_info_add_supports_type):
4248 (g_app_info_can_remove_supports_type):
4249 (g_app_info_remove_supports_type):
4250 Make these fail nicely if not implemented
4252 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4254 * gio/glocalfileoutputstream.c:
4255 * gio/glocalfileoutputstream.h:
4260 * programs/gio-save.c:
4261 Add a GFileCreateFlags argument to operations that can create
4264 2007-10-01 Alexander Larsson <alexl@redhat.com>
4266 * gio/gappinfo.[ch]:
4267 * gio/gdesktopappinfo.c:
4268 Add more (stubbed out) mime API needed for nautilus
4270 2007-10-01 Alexander Larsson <alexl@redhat.com>
4273 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4274 Add g_app_info_set_as_default_for_extension.
4276 * gio/gdesktopappinfo.c:
4277 Dummy for g_app_info_set_as_default_for_extension
4278 Support flags in g_app_info_create_from_commandline
4280 * gio/gwin32appinfo.c:
4282 Update for API changes
4284 * gio/gthemedicon.c:
4285 Properly NULL-terminate list of icon names
4287 2007-09-28 Alexander Larsson <alexl@redhat.com>
4289 * gio/gloadableicon.h:
4290 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4292 2007-09-28 Alexander Larsson <alexl@redhat.com>
4295 Install headers in $includedir/gio-standalone/
4297 * gio-2.0.pc.in: Added.
4298 * gio-standalone.pc.in: Removed.
4301 Renamed pkg-config file to match glib (for future move)
4302 Update to the new include dir
4305 Add more TODO comments
4307 2007-09-28 Alexander Larsson <alexl@redhat.com>
4309 * gio/gdesktopappinfo.[ch]:
4310 Expose new_from_filename
4311 Add getter for is_hidden and handle it better
4313 2007-09-28 Alexander Larsson <alexl@redhat.com>
4315 * gio/gfileinfo.[ch]:
4316 Rename g_file_size_format_for_display to
4317 g_format_file_size_for_display.
4318 Now it doesn't have the g_file prefix, so we
4319 can later move it to glib.
4321 2007-09-28 Alexander Larsson <alexl@redhat.com>
4323 * gio/gappinfo.[ch]:
4324 Add g_app_info_get_id and g_app_info_get_executable.
4325 Make all getters non-reffing
4326 Make g_app_info_launch take GFile arguments.
4327 Add must_support_uris argument to g_app_info_get_default_for_type.
4329 * gio/gwin32appinfo.c:
4330 Update to GAppInfo api changes
4332 * gio/gdesktopappinfo.c:
4333 Update to GAppInfo api changes
4334 Implement supports_xdg_startup_notify
4336 * gio/gfileicon.c (g_file_icon_get_file):
4337 Make getter non-reffing.
4342 2007-09-27 Alexander Larsson <alexl@redhat.com>
4344 * gio/gfileinfo.[ch]:
4345 Add g_file_size_format_for_display helper
4347 2007-09-27 Alexander Larsson <alexl@redhat.com>
4349 * gio/glocalfileinfo.c:
4350 Set UNIX_GID from gid, not from uid
4352 2007-09-27 Alexander Larsson <alexl@redhat.com>
4355 Add g_file_set_attributes_async
4357 2007-09-27 Alexander Larsson <alexl@redhat.com>
4359 * gio/glocalfile.c (g_local_file_set_display_name):
4360 Fix set_display_name to actually rename to the right place.
4361 Use lstat to look for existing files so we don't overwrite
4364 2007-09-26 Alexander Larsson <alexl@redhat.com>
4367 Add g_file_set_display_name_async()
4369 2007-09-26 Alexander Larsson <alexl@redhat.com>
4372 Add load_partial_contents async calls
4375 Make internal function static
4377 2007-09-26 Alexander Larsson <alexl@redhat.com>
4379 * gio/glocalfileinfo.c:
4380 Correctly detect broken symlinks
4382 2007-09-26 Alexander Larsson <alexl@redhat.com>
4384 * gio/gcancellable.c (g_cancellable_cancel):
4385 Allow cancel on NULL cancellable
4387 2007-09-25 Alexander Larsson <alexl@redhat.com>
4389 * gio/gsimpleasyncresult.c:
4390 Don't allocate g_error manually.
4391 Fixes g_slice/g_new mixup crash
4393 2007-09-25 Alexander Larsson <alexl@redhat.com>
4395 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4396 Actually set active_backend.
4397 This means the monitor will be cancelled correctly.
4399 2007-09-25 Alexander Larsson <alexl@redhat.com>
4401 * gio/gdirectorymonitor.c:
4402 Set timeout to NULL when destroying
4404 2007-09-25 Alexander Larsson <alexl@redhat.com>
4407 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4408 that is a better description of the error.
4410 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4412 * gio/gvfs.c: (g_vfs_get_local):
4413 Make the local vfs variable static. The same instance should
4416 2007-09-24 Alexander Larsson <alexl@redhat.com>
4418 * gio/glocalfileinfo.c:
4419 Pass in actual length read into sniffer, not the length
4422 2007-09-21 Alexander Larsson <alexl@redhat.com>
4424 * gio/gfileenumerator.c:
4427 * gio/gfileinputstream.c:
4428 * gio/gfileoutputstream.c:
4429 * gio/ginputstream.c:
4430 * gio/goutputstream.c:
4431 Don't crash if async callbacks are NULL
4433 2007-09-20 Alexander Larsson <alexl@redhat.com>
4436 Add async enumerate_children method and default
4439 2007-09-20 Alexander Larsson <alexl@redhat.com>
4442 Add g_file_contains_file & g_file_get_relative_path, since they
4443 were needed for nautilus.
4444 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4449 Implement new methods
4451 2007-09-17 Alexander Larsson <alexl@redhat.com>
4454 * gio/gfileinputstream.[ch]:
4455 * gio/gfileoutputstream.[ch]:
4457 * gio/glocalfileenumerator.[ch]:
4458 * gio/glocalfileinfo.[ch]:
4459 * gio/glocalfileinputstream.c:
4460 * gio/glocalfileoutputstream.c:
4461 * gio/gpollfilemonitor.c:
4462 * programs/gio-copy.c:
4463 * programs/gio-info.c:
4464 * programs/gio-move.c:
4465 Rename get_file_info to query_info() to make it clearer
4466 that these are not simple getters, but do i/o.
4468 2007-09-17 Alexander Larsson <alexl@redhat.com>
4470 * gio/gdatainputstream.[ch]:
4471 * gio/test-streams.c:
4472 Use _read_XXX instead of _get_XXX for the i/o calls
4475 2007-09-17 Alexander Larsson <alexl@redhat.com>
4478 Added needed stuff to TODO comment
4480 2007-09-17 Alexander Larsson <alexl@redhat.com>
4482 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4483 Don't error out removing the backup copy if it doesn't
4486 2007-09-14 Alexander Larsson <alexl@redhat.com>
4488 * programs/Makefile.am:
4489 * programs/gvfs-*.c:
4491 Renamed apps from gvfs-xxx to gio-xxx.
4493 2007-09-14 Alexander Larsson <alexl@redhat.com>
4496 * gio/gfileoutputstream.[ch]:
4497 * gio/glocalfileoutputstream.c:
4498 * programs/gvfs-save.c:
4499 g_file_output_stream_get_etag doesn't do i/o, so remove
4500 cancellation and error.
4502 2007-09-14 Alexander Larsson <alexl@redhat.com>
4505 Add new_etag output to replace_contents functions
4507 2007-09-14 Alexander Larsson <alexl@redhat.com>
4509 * gio/gfileoutputstream.[ch]:
4510 Add async get_file_info and default implementation
4512 2007-09-14 Alexander Larsson <alexl@redhat.com>
4514 * gio/gfileinputstream.c:
4515 Implement fallback wrapper for async get_file_info
4517 2007-09-14 Alexander Larsson <alexl@redhat.com>
4520 Add etag out argument to load_contents
4525 2007-09-14 Alexander Larsson <alexl@redhat.com>
4527 * gio/gcontenttype.c (looks_like_text):
4528 Whitespace like tab, cr and lf do not make the
4531 2007-09-14 Alexander Larsson <alexl@redhat.com>
4533 * gio/gfileinputstream.[ch]:
4534 Add async get_file_info.
4536 2007-09-13 Alexander Larsson <alexl@redhat.com>
4538 * gio/goutputstream.c (g_output_stream_write_all):
4539 Allow NULL for bytes_written
4541 2007-09-13 Alexander Larsson <alexl@redhat.com>
4543 * gio/gmemoryinputstream.[ch]:
4544 Add accessors for data
4546 2007-09-13 Alexander Larsson <alexl@redhat.com>
4548 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4549 Don't crash if length is NULL