2.13.6
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
2
3         * === Released 2.17.6 ===
4
5 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
6
7         * === Released 2.17.5 ===
8
9 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
10
11         Bug 546017 – Don't copy attributes when copying a symlink
12
13         * gfile.c (g_file_copy_attributes): Specify
14         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
15         g_file_set_attributes_from_info. Patch by Christian Kellner
16
17 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
18
19         * gemblemedicon.[hc]: 
20         * gio.symbols:
21         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
22         a bit more extensible. Work by Clemens Buss.
23
24         * gioenums.h: Add GEmblemOrigin.
25         * Makefile.am: Glue
26
27 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
28
29         Bug 546079 – leak in xdgmime
30         
31         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
32         
33 2008-08-03  Tor Lillqvist  <tml@novell.com>
34
35         * win32/gwin32directorymonitor.h
36         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
37         style.
38
39 2008-08-03  Tor Lillqvist  <tml@novell.com>
40
41         * win32/gwin32directorymonitor.c
42         (g_win32_directory_monitor_callback): Make prototype match
43         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
44         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
45         pointer.
46
47         (g_win32_directory_monitor_constructor):
48         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
49         names in the GLib API on Windows, so convert to UTF-16 and open
50         with CreateFileW().
51
52 2008-08-03  Tor Lillqvist  <tml@novell.com>
53
54         Bug 541036 - Gnumeric crashes when trying to open Desktop or
55         user's folder under Windows
56
57         * win32/gwin32directorymonitor.c
58         (g_win32_directory_monitor_constructor): Ignore error from
59         CreateFile() when opening directory. Instead of asserting, just
60         store INVALID_HANDLE_VALUE then in
61         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
62         ReadDirectoryChangesW().
63         (g_win32_directory_monitor_cancel): Don't attempt to close
64         directory handle if it is INVALID_HANDLE_VALUE.
65
66 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
67
68         * gdesktopappinfo.c: Remove debug spew
69
70 2008-08-01  Hans Breuer  <hans@breuer.org>
71
72         * makefile.msc : add gemblembedicon
73
74 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
75
76         Bug 545457 – gdmsetup crashed with SIGSEGV in
77         g_unix_mount_guess_should_display()
78
79         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
80         crash if no mount is found.
81
82 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
83
84         Bug 545203 – gfile.c: argument is different type.
85
86         * gfile.c (open_read_async_thread): Pass a GError **
87         to g_file_set_error_literal.
88         Reported by Kazuki Iwamoto
89
90 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
91
92         Bug 545157 – wrong/no list of "open with" applications for .cc and
93         .cpp files
94
95         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
96         Collect all ancestors, not just direct parents. Pointed
97         out by Bastien Nocera
98
99 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
100
101         * Makefile.am: Install gemblemedicon.h
102
103 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
104
105         * gemblemedicon.[hc]: Add a GIcon implementation that can
106         add an emblem to another icon.
107
108         * gio.h:
109         * Makefile.am:
110         * gio.symbols: Glue
111
112         * gloadableicon.c:
113         * gfileicon.c: Small documentation additions.
114
115 2008-07-28  Tor Lillqvist  <tml@novell.com>
116
117         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
118         type.
119
120 2008-07-27  Tor Lillqvist  <tml@novell.com>
121
122         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
123
124 2008-07-24  David Zeuthen  <davidz@redhat.com>
125
126         * gmount.[ch]:
127         * gio.symbols:
128         Also export a g_mount_guess_content_type_sync() function.
129
130 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
131
132         529694 – SELinux context setting support
133
134         * gfileinfo.c: Support setting selinux attributes.
135         Patch by Tomas Bzatek
136
137 2008-07-22  Priit Laes <plaes@plaes.org>
138
139         Bug 544140 - fam-helper 64-bit issue?
140
141         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
142
143 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
144
145         * === Released 2.17.4 ===
146
147 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
148
149         * gvolumemonitor.[hc]:
150         * gmountoperation.c:
151         * gioenums.h:
152         * gdrive.c:
153         * gvfs.c:
154         * gmount.c: Documentation fixes
155
156 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
157
158         543504 – crash in Epiphany Web Browser: Opening local file
159
160         * gappinfo.c:
161         * gasyncresult.c:
162         * gdesktopappinfo.c:
163         * gdrive.c:
164         * gfile.c:
165         * gicon.c:
166         * gloadableicon.c:
167         * gmount.c:
168         * gseekable.c:
169         * gvolume.c: Register types thread-safely.
170         Patch by Christian Persch
171
172 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
173
174         * gcontenttype.c: Remove debug spew
175
176 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
177
178         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
179         any applications
180
181         * fen/fen-kernel.c: Remove a warning that was causing
182         crashes. Reported by Lin Ma.
183
184 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
185
186         Bug 543040 – async reading on dummy file will crash on
187         GIO_USE_VFS=local
188
189         * gfile.c (open_read_async_thread): Cope with read_fn being
190         NULL. Reported by Lin Ma.  
191
192 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
193
194         * gio.symbols:
195         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
196
197 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
198
199         * gvfs.h:
200         * gdesktopappinfo.h: 
201         * giomodule.c: Rename a chapter id to avoid filename conflict.
202
203 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
204
205         Bug 540616 – mem leak in filechooser button
206
207         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
208         the mount entry. Reported by Chrisitan Persch
209
210 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
211
212         * gfile.c: Small documentation fixes.
213
214 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
215
216         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
217
218 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
219
220         * gvolumemonitor.c:
221         * gfile.c:
222         * gvolume.c:
223         * gmount.c: Documentation improvements.
224
225 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
226
227         * gio.symbols:
228         * gmount.[hc]: Add g_mount_guess_content_type(). 
229
230 2008-07-06  David Zeuthen  <davidz@redhat.com>
231
232         * gio.symbols:
233         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
234         is needed for easily handling adoption of foreign volumes by
235         out-of-process volume monitors (#541793)
236
237 2008-07-06  David Zeuthen  <davidz@redhat.com>
238
239         * gvolumemonitor.[ch]:
240         * gunionvolumemonitor.c: Export the eject-button signal on the
241         volume monitor class (#541794).
242
243 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
244
245         * gappinfo.c: More doc tweaks
246
247 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
248
249         * gappinfo.c: Clarify some docs
250
251 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
252
253         * gdesktopappinfo.c: Fix a stupid mistake.
254
255 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
256
257         * === Released 2.17.3 ===
258
259 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
260
261         * gfilemonitor.c: Fix the build.
262
263 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
264
265         Bug 536160 – Add g_file_monitor()
266
267         * gio.symbols:
268         * gfile.[hc]: Add g_file_monitor which can return either
269         a file or a directory monitor.  Proposed by Behdad Esfahbod
270
271 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
272
273         536733 – gio build failure on Irix
274
275         * glocalfile.c: Use a configure check for structfs.f_bavail.
276
277 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
278
279         Bug 534639 – add g_desktop_app_info_new_from_keyfile
280
281         * gio.symbols:
282         * gdesktopappinfo.[hc]: Add a function to create a
283         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
284
285 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
286
287         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
288
289 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
290
291         * gunixmounts.c: Fix a doc typo.
292
293 2008-07-01  Cody Russell  <bratsche@gnome.org>
294
295         * gio/gcontenttype.c:
296         * gio/gwin32appinfo.c:
297         * gio/gwin32volumemonitor.c:
298         * gio/gwin32mount.c: Fixed some include problems.
299
300 2008-07-01  Cody Russell  <bratsche@gnome.org>
301
302         * gio/gioenums.h:
303         * gio/giotypes.h:
304         Moved all relevant typedefs into these files.
305
306         * gio/*.[ch]:
307         Updated wrt added files.
308
309         Split types into separate file for easier maintainership. (#538564)
310
311 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
312
313         Bug 540331 – g_file_append_to () documentation: can return NULL
314
315         * gfile.c (g_file_append_to): Clarify docs.
316         Patch by Jared Moore
317
318 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
319
320         Bug 539090 – g_content_type_from_mime_type() should unalias
321
322         * gcontentype.c (g_content_type_from_mime_type): Unalias.
323         Patch by Markus Bergman
324
325 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
326
327         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
328         g_atomic_pointer_get
329
330         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
331         on ppc and alpha. Reported by Mart Raudsepp
332
333 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
334
335         * tests/Makefile.am: 
336         * tests/memory-output-stream.c: Add some tests for
337         GMemoryOutputStream. 
338
339 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
340
341         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
342         0, ...)
343
344         * gmemoryoutputstream.c (array_resize): Handle truncation to
345         zero correctly. Reported by Akira Tagoh
346
347 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
348
349         * gmemoryoutputstream.c: Trivial doc fixes
350
351 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
352
353         Bug 540802 – g_list_prepend doesn't concat lists
354
355         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
356         one list to another. Pointed out by Jan Arne Petersen
357
358 2008-06-28  Michael Natterer  <mitch@imendio.com>
359
360         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
361
362 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
363
364         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
365         to avoid problems with partial icon themes.
366         
367 2008-06-17  Hans Breuer  <hans@breuer.org>
368
369         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
370         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
371         access again on win32, see bug #538127
372         * giomodule.c : ensure GWin32VolumeMonitor is registered
373         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
374         * Makefile.am makefile.msc : updated
375
376 2008-06-16  Hans Breuer  <hans@breuer.org>
377
378         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
379         and initialization in one step avoids c99ism
380
381 2008-06-16  Christian Persch  <chpe@gnome.org>
382
383         * gio/gappinfo.c
384         * gio/gbufferedinputstream.c
385         * gio/gcancellable.c
386         * gio/gdatainputstream.c
387         * gio/gdesktopappinfo.c
388         * gio/gfile.c
389         * gio/gfileenumerator.c
390         * gio/gfileinputstream.c
391         * gio/gfileoutputstream.c
392         * gio/ginputstream.c
393         * gio/glocaldirectorymonitor.c
394         * gio/glocalfile.c
395         * gio/glocalfileenumerator.c
396         * gio/glocalfileinfo.c
397         * gio/glocalfilemonitor.c
398         * gio/glocalfileoutputstream.c
399         * gio/gmemoryinputstream.c
400         * gio/gmemoryoutputstream.c
401         * gio/goutputstream.c
402         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
403         bug #535947.
404
405 2008-06-16  Tor Lillqvist  <tml@novell.com>
406
407         Bug 538362 - Get Win32 icons back in the file chooser
408
409         * gcontenttype.c (g_content_type_get_icon): Look up the icon
410         corresponding to a file extension in the Registry. Patch by Hans
411         Breuer.
412         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
413         
414 2008-06-16  Tor Lillqvist  <tml@novell.com>
415
416         Patches by Hans Breuer:
417
418         * glocalfile.c (is_xp_or_later): Handle compiling against older
419         SDK headers with missing VerifyVersionInfo().  Conditioned on
420         _MSC_VER, but should probably use some better test.
421         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
422         uninitialised statfs_result variable on Win32.
423
424 2008-06-16  Michael Natterer  <mitch@imendio.com>
425
426         * *.c: chain up unconditionally in finalize() and dispose(). Also
427         don't dereference these function pointers when calling them since
428         that has no meaning at all.
429
430 2008-06-16  Ross Burton  <ross@burtonini.com>
431
432         * gfileenumerator.c:
433         Remove check for dispose implementation as it annoys Emmanuele.
434         
435 2008-06-16  Ross Burton  <ross@burtonini.com>
436
437         Bug 536252 – GFileEnumerator should allow access to the containing
438         GFile
439         
440         * gfileenumerator.c:
441         * gfileenumerator.h:
442         * gfile.h:
443         Add g_file_enumerator_get_container() and a container writeable
444         construct-only property.  Also shuffle around typedefs to make it
445         compile.
446         
447         * glocalfileenumerator.c:
448         * glocalfileenumerator.h:
449         * glocalfile.c:
450         Instead of a string filename take a GFile in the constructor and
451         use it to set the container property.
452         
453         * gio.symbols:
454         Update with new API.
455
456 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
457
458         * gfile.c: Make includes more uniform
459
460 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
461
462         * tests/live-g-file.c (sample_struct):
463         Use less fancy unicode filenames, so the test doesn't fail
464         on Mac OS X (#531476).
465
466 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
467         
468         * === Released 2.17.2 ===
469
470 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
471
472         * === Released 2.17.1 ===
473
474 2008-06-11  A. Walton  <awalton@gnome.org>
475
476         * tests/g-file.c (test_g_file_new_null):
477         Fix broken test case.
478
479 2008-06-11  Matthias Clasen <mclasen@redhat.com>
480
481         * pltcheck.sh: We use g_clear_error now.
482
483 2008-06-11  Matthias Clasen <mclasen@redhat.com>
484
485         * glocalfile.c (g_local_file_enumerate_children): Revert
486         an unintended change.
487
488 2008-06-11  Matthias Clasen <mclasen@redhat.com>
489
490         * gfile.c (g_file_replace_contents): Don't unref before the last use.
491
492 2008-06-10  Matthias Clasen <mclasen@redhat.com>
493
494         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
495         folder
496         
497         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
498         as icon for the desktop directory, also make user-home and
499         user-desktop the preferred icons.
500
501 2008-06-10  Matthias Clasen <mclasen@redhat.com>
502
503         * gio.symbols:
504         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
505         to add a name to the front of the list.
506
507 2008-06-10  Matthias Clasen <mclasen@redhat.com>
508
509         Bug 537392 – Additional colon in xattr name
510
511         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
512         too. Reported by  Alessandro Morandi 
513
514 2008-06-10  Matthias Clasen <mclasen@redhat.com>
515
516         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
517         file systems
518
519         * glocalfile.c (get_fs_type): Add afs and autofs.
520         Patch by Danny Baumann.
521
522 2008-06-10  Matthias Clasen <mclasen@redhat.com>
523
524         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
525
526         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
527         is no parent.  (Owen Taylor, patch by Christian Neumair)
528         
529 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
530
531         * gfile.c (g_file_replace_contents): do not leak the output stream.
532
533 2008-06-10  Michael Natterer  <mitch@imendio.com>
534
535         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
536         uninitialized memory as array index.
537
538 2008-06-10  Tor Lillqvist  <tml@novell.com>
539
540         * gcontenttype.c (g_content_type_can_be_executable)
541         (g_content_type_get_icon) [Win32]: Add TODO comments.
542
543 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
544
545         * xdgmime/Makefile.am: Fix the build
546
547 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
548
549         * gcontenttype.c (g_content_type_get_icon): Use icons specified
550         in the shared mime database, if available.
551
552         * xdgmime/*: Sync with upstream. This brings support for
553         glob weights, generic icons, and changes the cache format to 
554         version 1.1.
555
556 2008-05-28  Michael Natterer  <mitch@imendio.com>
557
558         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
559         the global CPPFLAGS now.
560
561         * tests/data-input-stream.c
562         * tests/data-output-stream.c
563         * tests/g-file-info.c
564         * tests/g-file.c
565         * tests/live-g-file.c
566         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
567
568 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
569
570         * === Released 2.17.0 ===
571
572         * tests/live-g-file.c: Clean up after the tests, so make distcheck
573         doesn't complain about leftover files.
574
575 2008-05-27  simon.zheng  <simon.zheng@sun.com>
576
577         * glocalfile.c: (g_local_file_query_filesystem_info):
578         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
579
580 2008-05-26  Michael Natterer  <mitch@imendio.com>
581
582         * gmemoryoutputstream.h: declare
583         g_memory_output_stream_get_data_size().
584
585 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
586
587         * tests/*: Make tests work 
588
589 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
590
591         * gio.symbols: Add g_memory_output_stream_get_data_size.
592
593 2008-05-25  Ross Burton  <ross@burtonini.com>
594
595         * glocalfile.c:
596         Fix typo in error message (#534764).
597
598 2008-05-25  Ross Burton  <ross@burtonini.com>
599
600         * Makefile.am:
601         Fix circular dependency loop for gioenumtypes.h (#534759).
602
603 2008-05-19  Hans Breuer  <hans@breuer.org>
604
605         * Makefile.am : EXTRA_DIST += makefile.msc
606
607 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
608
609         * gcontenttype.h:
610         * gcontenttype.c: (g_content_type_from_mime_type):
611         New function to create a content type from a mime type. (#527175,
612         Milan Crha)
613
614 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
615
616         Bug 532965 – Should not return filesystem::free for certain file systems
617
618         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
619         free space for ncpfs.
620
621 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
622
623         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
624
625         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
626         st_dev might be zero.
627
628 2008-05-16  Tor Lillqvist  <tml@novell.com>
629
630         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
631         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
632
633 2008-05-13  Bastien Nocera  <hadess@hadess.net>
634
635         * gfile.c (has_valid_scheme): A URI scheme must start with a
636         letter, even if later more characters are allowed (#532852)
637
638 2008-05-05  Michael Natterer  <mitch@imendio.com>
639
640         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
641         code from being checked in that breaks the build of applications
642         which use G_DISABLE_SINGLE_INCLUDES.
643
644         * makegioalias.pl: make the alias file include "glib.h" instead of
645         "glibconfig.h".
646
647         * gio.symbols: whitespace change to force regeneration of the
648         alias file after above script change.
649
650         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
651
652         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
653
654         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
655
656         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
657
658 2008-04-28  David Zeuthen  <davidz@redhat.com>
659
660         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
661         displaying mounts in a subdirectory not accessible to the
662         user (#526320).
663
664 2008-04-22  Michael Natterer  <mitch@imendio.com>
665
666         * Makefile.am: fix library versioning (it was 0.0.0).
667
668 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
669
670         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
671         Default disable all loggings.
672         * fen/fen-kernel.c: (printevent), (port_add_kevent),
673         (port_fetch_event_cb): Fixed two macro nits.
674
675 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
676
677         * xdgmime/xdgmime.c: Rework the timestamp checking code
678         to protect against duplicate directories in XDG_DATA_DIRS.
679         Fixes fd.o bug 12513, reported by Joe Shaw.
680
681 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
682
683         Partically revert the last commit after realizing that
684         xdg_mime_media_type_equal doesn't have to init at all.
685
686         * xdgmime/xdgmime.h:
687         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
688
689         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
690
691 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
692
693         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
694         reported by Joe Shaw and Federico Mena Quintero.
695
696         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
697         (xdg_mime_media_type_equal): Turn into a wrapper around the 
698         _-prefixed version.
699
700         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
701         functions throughout.
702
703 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
704
705         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
706         tolerate an empty TryExec= line without failing; nautilus used
707         to create launchers with these in previous versions. Fixes #528433
708
709 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
710
711         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
712         after name. Fixes #527132.
713
714 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
715
716         * gfile.c: (g_file_replace):
717         Doc update
718
719 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
720
721         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
722
723         * gfile.c (file_copy_fallback): Fix the argument order. Patch
724         by Christian Kellner.
725
726 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
727
728         * gunixmounts.c: (g_unix_mount_guess_should_display):
729         Don't list the user directory as a mount, fix potential issue
730         when other users have a similar naming and don't special case the
731         gvfs mounts there since that's not required (#525866)
732
733 2008-03-31  Alexander Larsson  <alexl@redhat.com>
734
735         * glocalfile.c (get_parent):
736         Don't leak parent.
737         
738 2008-03-31  A. Walton  <awalton@svn.gnome.org>
739
740         * gfile.c (g_file_query_file_type):
741         Always return a GFileType enum value (#520715).
742
743 2008-03-31  Alexander Larsson  <alexl@redhat.com>
744
745         * glocalfileenumerator.c:
746         Read readdir() info in chunks (of 1000) and sort
747         the chunks by inode before stat:ing.
748         This is a 20% performance increase in testing
749         gvfs-ls on /usr/bin with cold cache.
750
751 2008-03-31  Alexander Larsson  <alexl@redhat.com>
752
753         * gmemoryoutputstream.c:
754         Clarify docs for g_memory_output_stream_get_size.
755         Add g_memory_output_stream_get_data_size.
756
757 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
758
759         * gio.symbols:
760         * gfile.c:
761         * gfile.h: Add g_file_query_file_type convenience function
762         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
763
764 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
765
766         * gfileenumerator.c:
767         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
768
769 2008-03-28  A. Walton  <awalton@svn.gnome.org>
770
771         * giomodule.c (_g_io_modules_ensure_loaded):
772         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
773         #523039.
774
775 2008-03-28  Alexander Larsson  <alexl@redhat.com>
776
777         * gfile.c:
778         (copy_stream_with_progress):
779         Fix up last commit.
780         
781 2008-03-28  Alexander Larsson  <alexl@redhat.com>
782
783         * gfile.c:
784         (copy_stream_with_progress):
785         (file_copy_fallback):
786         Fallback to g_file_query_info for source size
787         if g_file_input_stream_query_info fails. (#524579)
788
789 2008-03-28  Alexander Larsson  <alexl@redhat.com>
790
791         * glocalfile.c (g_local_file_move):
792         Reuse old string instead of adding new one.
793
794 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
795
796         * fen/*.[hc]: still copyright issue. I hate copyright.
797
798 2008-03-27  Alexander Larsson  <alexl@redhat.com>
799
800         * glocalfile.c (g_local_file_move):
801         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
802         file over directory. This is according to the docs and what the move via
803         copy+remove fallback does.
804
805 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
806
807         * fen/*.[hc]: Updated copyright.
808
809 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
810
811         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
812
813 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
814
815         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
816         not emit attribute changed events when optimizing changed events.
817         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
818         warning messages.
819
820 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
821
822         * gmountoperation.[hc]: Small documentation additions
823
824 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
825
826         * gunixmounts.c: (guess_mount_type): 
827         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
828
829 2008-03-19  Alexander Larsson  <alexl@redhat.com>
830
831         * gfile.c:
832         (copy_stream_with_progress):
833         Bump block side for copy to 64k to minimize
834         overhead for low latency links. (#523015)
835
836 2008-03-16  Tor Lillqvist  <tml@novell.com>
837
838         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
839         depend on gio.def on Windows.
840
841 2008-03-12  David Zeuthen  <davidz@redhat.com>
842
843         * gio.symbols:
844         * gunixmounts.[ch]:
845         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
846
847 2008-03-14  Alexander Larsson  <alexl@redhat.com>
848
849         * gunixmounts.c:
850         (guess_mount_type):
851         Avoid redudant tests (#521851)
852         Patch from Josselin Mouette
853
854 2008-03-14  Alexander Larsson  <alexl@redhat.com>
855
856         * gfilemonitor.c:
857         (g_file_monitor_is_cancelled):
858         Fix C89 issue (#521672)
859         Patch from Jens Granseuer
860
861 2008-03-14  Alexander Larsson  <alexl@redhat.com>
862
863         * fam/fam-helper.[ch]:
864         * fam/fam-module.c:
865         Shut down fam (including removing fam GSource) when
866         module is unloaded (#521513)
867         Patch from Joe Marcus Clarke   
868
869 2008-03-14  Alexander Larsson  <alexl@redhat.com>
870
871         * giomodule.c:
872         (_g_io_modules_ensure_loaded):
873         Fix up FEN ifdefs
874
875 2008-03-14  Alexander Larsson  <alexl@redhat.com>
876
877         * glocalfile.c:
878         (g_local_file_query_filesystem_info):
879         Use right define name for f_fstypename member check
880
881 2008-03-14  Alexander Larsson  <alexl@redhat.com>
882
883         * Makefile.am:
884         * fen/Makefile.am: Added.
885         * fen/fen-data.[ch]: Added.
886         * fen/fen-dump.[ch]: Added.
887         * fen/fen-helper.[ch]: Added.
888         * fen/fen-kernel.[ch]: Added.
889         * fen/fen-missing.[ch]: Added.
890         * fen/fen-node.[ch]: Added.
891         * fen/fen-sub.[ch]: Added.
892         * fen/gfendirectorymonitor.[ch]: Added.
893         * fen/gfenfilemonitor.[ch]: Added.
894         * giomodule.c:
895         Added Solaris FEN file notification backend.
896         Patch from Lin Ma <Lin.Ma@Sun.COM>
897
898 2008-03-13  Tor Lillqvist  <tml@novell.com>
899
900         * Makefile.am: Actually use the gio.def file when linking the
901         library on Windows. Produce .lib library for Microsoft's toolchain
902         when possible. Install the .lib and .def file like for the other
903         libraries of GLib.
904
905 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
906
907         * tests/live-g-file.c:
908         Include live-g-file in standard set of tests, making a temporary
909         directory in source structure.
910         
911         Clean target directory before the tests (write mode only)
912
913 2008-03-12  Tor Lillqvist  <tml@novell.com>
914
915         Bug 517419 - gio win32 directory monitor
916         Implementation by Vlad Grecescu.
917         
918         * win32/Makefile.am
919         * win32/gwin32directorymonitor.h
920         * win32/gwin32directorymonitor.c: New files.
921
922         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
923
924         * Makefile.am: Add the win32 subdirectory.
925
926 2008-03-12  Tor Lillqvist  <tml@novell.com>
927
928         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
929         normal struct stat on Unix but struct _stati64 on Windows to have
930         access to 64-bit file size information. Use that instead of struct
931         stat in the functions declared here in this private header.
932
933         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
934         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
935         warnings about unused functions and variables. Don't set
936         meaningless attributes like inode numbers on Windows.
937
938 2008-03-12  Benjamin Otte  <otte@gnome.org>
939
940         * gvfs.h:
941         trim whitespace so gtk-doc groks the function name
942
943 2008-03-12  Tor Lillqvist  <tml@novell.com>
944
945         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
946         returning FALSE, on Win32.
947
948 2008-03-11  Alexander Larsson  <alexl@redhat.com>
949
950         * glocalfile.c:
951         * glocalfileinfo.[ch]:
952         Correctly implement can_trash by actually
953         looking for a trash dir, not just assuming
954         one exists.
955
956 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
957         
958         * === Released 2.16.1 ===
959
960 2008-03-11  Alexander Larsson  <alexl@redhat.com>
961
962         * gthemedicon.c:
963         Fix crashes in new constructor and properties code
964
965 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
966
967         * gfile.c: Minor spelling correction in documentation:
968         existance -> existence.
969
970 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
971
972         * === Released 2.16.0 ===
973
974 2008-03-10  Matthias Clasen <mclasen@redhat.com>
975
976         * gio.symbols: Remove g_file_contains_file here, too.
977
978 2008-03-10  Matthias Clasen <mclasen@redhat.com>
979
980         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
981         Samuel Cormier-Iijima)
982
983 2008-03-08  Tor Lillqvist  <tml@novell.com>
984
985         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
986         winnt.h. (#521145)
987
988 2008-03-07  Alexander Larsson  <alexl@redhat.com>
989
990         * glocalfile.c:
991         (g_local_file_query_filesystem_info):
992         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
993         Patch from Jasper Lievisse Adriaanse
994
995 2008-03-06  Tor Lillqvist  <tml@novell.com>
996
997         * gfileinfo.h: Correct milliseconds to microseconds in the doc
998         comments for the *_USEC attributes.
999
1000 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1001
1002         * gfile.c (g_file_query_exists):
1003         Add g_return_val_if_fail check (#520700)
1004
1005 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1006
1007         * gdesktopappinfo.c:
1008         * gfilemonitor.c:
1009         * gthemedicon.c:
1010         * gunionvolumemonitor.c:
1011         * gunixmounts.c:
1012         * tests/g-file.c:
1013         * tests/live-g-file.c:
1014         * xdgmime/xdgmimecache.c:
1015         Fix sparse warnings (#519489)
1016
1017 2008-03-05  Alexander Larsson  <alexl@redhat.com>
1018
1019         * gfilemonitor.c:
1020         Make cancellation threadsafe (i.e.
1021         guarantee its only done once, and always
1022         done)
1023         
1024         * glocaldirectorymonitor.c:
1025         Make sure we the monitor lives while the
1026         mounts_changed callback is being called (#520484)
1027
1028 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1029
1030         * gbufferedinputstream.c: Fix typo in parameter
1031         documentation.
1032
1033 2008-03-04  Alexander Larsson  <alexl@redhat.com>
1034
1035         * gfile.c:
1036         Remove deprecated symbols we kept for one release.
1037
1038 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
1039
1040         * ginputstream.c:
1041         * goutputstream.c: Tiny documentation corrections.
1042
1043 2008-03-03  Alexander Larsson  <alexl@redhat.com>
1044
1045         * gunionvolumemonitor.c:
1046         * gvolumemonitor.h:
1047         Fix the adopt_orphan_mount vfunc to take a
1048         volume_monitor reference in an ABI compat way.
1049         This change is not API compat, but the added
1050         arg is not used in the only user of this vfunc, so
1051         all we get is a harmless warning in gvfs (#520169)
1052         
1053 2008-03-01  Benjamin Otte  <otte@gnome.org>
1054
1055         * gfile.c:
1056         clarify docs for g_file_delete().
1057
1058 2008-02-29  Alexander Larsson  <alexl@redhat.com>
1059
1060         * glocalfileinfo.c:
1061         (get_content_type):
1062         Make sure empty files get text/plain type (#518720)
1063
1064 2008-02-27  Alexander Larsson  <alexl@redhat.com>
1065
1066         * gcontenttype.c:
1067         Fix type warnings
1068         
1069         * gunixvolume.c:
1070         (g_unix_volume_mount):
1071         Add missing GMountMountFlags argument
1072
1073 2008-02-26  Alexander Larsson  <alexl@redhat.com>
1074
1075         * glocalfile.c:
1076         (g_local_file_delete):
1077         Handle filesystems (like ntfs-3g) that return EEXIST instead
1078         of ENOTEMPTY (#518816)
1079
1080 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1081
1082         * === Released 2.15.6 ===
1083
1084 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1085
1086         * gfile.c (g_file_find_enclosing_mount):
1087         * ginputstream.c (g_input_stream_set_pending):
1088         * glocalfile.c (g_local_file_find_enclosing_mount):
1089         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1090         * goutputstream.c (g_output_stream_set_pending):
1091
1092         Fixup translator comments (#518578).
1093
1094 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1095
1096         * gfile.c (g_file_find_enclosing_mount):
1097         * giomodule.c:
1098         * glocalfile.c (g_local_file_find_enclosing_mount):
1099         * goutputstream.c:
1100
1101         Fix a few typos in translator comments and documentation.
1102
1103 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1104
1105         * gfile.c:
1106         * ginputstream.c:
1107         * glocalfile.c:
1108         * gmount.c:
1109         * goutputstream.c:
1110         Add translator comments (#518578)
1111
1112 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1113
1114         * gfile.c:      
1115         Reintroduce g_file_contains_file, keep around for one
1116         unstable release cycle to avoid crashing to many apps.
1117         Make sure to delete after release.
1118
1119 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1120
1121         * gfile.[ch]:
1122         Remove deprecated g_file_contains_file.
1123
1124 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1125
1126         * gfilemonitor.c:
1127         Emit actual change signals in an idle handler.
1128         This avoids reentrance and locking problems in
1129         the file notification backends.
1130         
1131 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1132
1133         * gunixmounts.c:
1134         (g_unix_mount_guess_should_display):
1135         Remove type guessing, instead just display
1136         mounts in /media and in ~/.
1137
1138 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1139
1140         * glocalfile.c:
1141         Make new strings reuse old ones.
1142         
1143 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1144
1145         * glocalfile.c:
1146         Implement trashing and filesystem::readonly for win32 (#517235)
1147         Patch from Yevgen Muntyan
1148
1149 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
1150
1151         * gfileinfo.h: Documentation fixes.
1152
1153 2008-02-22  Alexander Larsson  <alexl@redhat.com>
1154
1155         * gcontenttype.c (g_content_type_get_icon):
1156         Look at old-style gnome mime icon names too, as many
1157         have not moved to the new style.
1158
1159 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
1160
1161         * *.c: Correct the @include in for section docs.
1162
1163 2008-02-21  David Zeuthen  <davidz@redhat.com>
1164
1165         * glocalfileinfo.c: (_g_local_file_info_get):
1166         * gcontenttype.c:
1167         (g_content_type_get_icon): Implement this function by
1168         moving bits from glocalfileinfo.c
1169         (g_content_type_get_description): Unalias before getting
1170         description (#517687)
1171
1172         * gfile.c: (g_file_class_init),
1173         (g_file_query_filesystem_info_async),
1174         (g_file_query_filesystem_info_finish),
1175         (query_filesystem_info_data_free),
1176         (query_filesystem_info_async_thread),
1177         (g_file_real_query_filesystem_info_async),
1178         (g_file_real_query_filesystem_info_finish):
1179         * gfile.h: Implement async version of
1180         g_file_query_filesystem_info()
1181
1182         * gfileinfo.h: Add new attributes for filesystem::use-preview
1183
1184         * gio.symbols: Update
1185
1186         * gthemedicon.c: (g_themed_icon_append_name):
1187         * gthemedicon.h: Add new new convenience function.
1188
1189         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1190         (get_mounts), (get_volumes), (get_connected_drives),
1191         (get_volume_for_uuid), (get_mount_for_uuid),
1192         (g_union_volume_monitor_init), (populate_union_monitor),
1193         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1194         (g_volume_monitor_adopt_orphan_mount):
1195         * gvolumemonitor.c:
1196         * gvolumemonitor.h: Use recursive locks so it's safe for volume
1197         monitor implementations to call into the main volume monitor. Also
1198         separate object initialization and volume monitor initialization
1199         such that non-native volume monitors can properly adopt their
1200         mounts away.
1201
1202 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1203
1204         * gfile.c:
1205         Fix doc typo
1206         
1207 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1208
1209         * gfile.c:
1210         Add more documentation about how GFiles work (from #517086)
1211
1212 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1213
1214         * gfile.[ch]:
1215         * gio.symbols:
1216         Add new g_file_has_prefix that does the same as g_file_contains_file.
1217         Deprecate g_file_contains_file and add a macro that converts
1218         it to g_file_has_prefix.
1219         The reason for this change is that the contains_file() name seems to
1220         imply that this does more work than what it does, but its really only
1221         a name match (from #517086)
1222         
1223         * gdummyfile.c:
1224         * glocalfile.c:
1225         * tests/g-file.c:
1226         Update to match the above change.
1227
1228 2008-02-20  Benjamin Otte  <otte@gnome.org>
1229
1230         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1231         (g_file_eject_mountable):
1232         even more cases of not returning in error path
1233
1234 2008-02-20  Benjamin Otte  <otte@gnome.org>
1235
1236         * gfile.c: (g_file_mount_mountable): 
1237         return from function in error path.
1238
1239 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
1240
1241         * gfile.h:
1242          Remove trailing coma in GMountMountFlags struct
1243
1244 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1245
1246         * glocalfile.c:
1247         * glocalfileinfo.c:
1248         * glocalfileoutputstream.c:
1249         Use g_unlink/g_rename instead of unlink/rename;
1250         do not pass raw filenames to g_set_error. (#517239)
1251         Patch from Yevgen Muntyan.
1252
1253 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1254
1255         * glocalfile.c:
1256         * glocalfileoutputstream.c:
1257         Open files with O_BINARY on windows. (#517140)
1258
1259 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1260
1261         * glocalfileoutputstream.c:
1262         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1263
1264 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1265
1266         * glocalfile.c:
1267         Copy permissions with file on copy (#514084)
1268         This is what cp does and makes sure e.g. the
1269         exec permissions are kept.
1270         Its kinda weird in that it keeps the permission bits
1271         the same while the uid and gid are different. However
1272         the new uid is the user so its not a security issue,
1273         and I've heard no complaints about cp on this issue.
1274
1275 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
1276
1277         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1278
1279 2008-02-13  Alexander Larsson  <alexl@redhat.com>
1280
1281         * inotify/inotify-path.c:
1282         Define IN_ONLYDIR if not in header (#515346)
1283
1284 2008-02-12  Alexander Larsson  <alexl@redhat.com>
1285
1286         * tests/live-g-file.c:
1287         C89 fixes (#515892)
1288
1289 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1290
1291         * === Released 2.15.5 ===
1292
1293 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1294
1295         * gio.symbols: Add g_mount_mount_flags_get_type.
1296
1297 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1298
1299         * gfileinfo.c:
1300         (g_file_info_set_attribute_mask):
1301         (g_file_attribute_matcher_matches_id):
1302         Correctly handle NULL GAttributeMatcher meaning
1303         matches nothing. (Fixes #513492)
1304
1305 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1306
1307         * gfile.[ch]:
1308         * gmount.[ch]:
1309         * gvolume.[ch]:
1310         Added GMountMountFlags enum and added a flags
1311         argument to all mount calls.
1312         
1313         This is an API/ABI change for future extensibility,
1314         as I think we will need at least an
1315         inhibit-autorun flag (the panel needs this).
1316         There are no flags defined yet though.
1317
1318 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1319
1320         * gfileinfo.h:
1321         Added new standard::description attribute.
1322         Requested by Vincent, and useful for both
1323         panel and nautilus
1324
1325 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1326
1327         * gdesktopappinfo.c:
1328         Minor docs cleanup
1329
1330 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1331
1332         * *.c: Documentation additions
1333
1334 2008-02-10  Matthias Clasen <mclasen@redhat.com>
1335
1336         * gappinfo.h: Formatting cleanup
1337         * gappinfo.c: Fix up docs.
1338
1339 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1340
1341         * gunixmounts.c: Consistently use getmntent_r() and fall
1342         back to getmntent().  (#515492)
1343
1344 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1345
1346         * gbufferedinputstream.c:
1347         * ginputstream.c:
1348         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1349
1350         * tests/data-input-stream.c:
1351         * tests/data-output-stream.c: Portability fixes.
1352
1353 2008-02-08  Alexander Larsson  <alexl@redhat.com>
1354
1355         * gio.symbols: 
1356         * gunixvolume.c:
1357         * gvolume.[ch]:
1358         Add g_volume_should_automount.
1359         Docs needed.
1360
1361 2008-02-07  Tor Lillqvist  <tml@novell.com>
1362
1363         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1364         Win32, too Unix-specific.
1365
1366 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
1367
1368         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
1369         a local plt if the compiler doesn't support what we want.  Bug #514702
1370
1371 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
1372
1373         reviewed by: <delete if not using a buddy>
1374
1375         * gfile.c:
1376         * gunixinputstream.c:
1377         * gunixoutputstream.c:
1378
1379 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1380
1381         * tests/Makefile.am:
1382         * tests/live-g-file.c:
1383         * tests/live-g-file.txt:
1384         New GIO testing module working over real data
1385
1386 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1387
1388         * glocalfileoutputstream.c (g_local_file_output_stream_close):
1389         Fallback to rename() if link() is not available
1390         (when no support on target filesystem)
1391
1392 2008-02-06  Michael Natterer  <mitch@imendio.com>
1393
1394         * gfileinfo.c (g_file_info_get_icon): replace
1395         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1396
1397 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1398
1399         * gfile.c (g_file_create):
1400         Documentation update of error codes
1401
1402 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1403
1404         * gdesktopappinfo.c:
1405         Update to use both mimeapps.list and
1406         defaults.list as discussed on xdg list.
1407
1408 2008-02-06  Benjamin Otte  <otte@gnome.org>
1409
1410         * gasyncresult.c:
1411         * gfilenamecompleter.c:
1412         Fix some typos in the documentation.
1413
1414 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1415
1416         * glocalfile.c (g_local_file_trash):
1417         Don't succeed with trash if newly created
1418         trash dir has the wrong owner. (#514696)
1419
1420 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1421
1422         * glocalfile.c (g_local_file_move):
1423         Don't spew warnings when destination is not
1424         a GLocalFile.
1425
1426 2008-02-03  Hans Breuer  <hans@breuer.org>
1427
1428         * makefile.msc : update
1429
1430 2008-02-01  Michael Natterer  <mitch@imendio.com>
1431
1432         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1433         return value of xdg_mime_list_mime_parents() to a variable of the
1434         correct type.
1435
1436 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1437
1438         * gappinfo.c (g_app_info_launch_uris):
1439         Actually call the launch_uris method, not
1440         launch.
1441
1442 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1443
1444         * gdesktopappinfo.c (g_desktop_app_info_equal):
1445         Ensure appinfos with no id but same pointer value
1446         compare equal
1447
1448 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1449
1450         * gappinfo.c (g_app_info_launch_default_for_uri): 
1451         Don't leak appinfo.
1452         
1453 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1454
1455         * gappinfo.[ch]:
1456         * gio.symbols:
1457         Add g_app_info_launch_default_for_uri utility
1458         function. (#513256)
1459
1460 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1461
1462         * gdesktopappinfo.c:
1463         Doc fix for g_app_info_get_default_for_uri_scheme ()
1464         Bug #513483.
1465
1466 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1467
1468         * gappinfo.c:
1469         Add doc comment about uris vs GFiles to
1470         g_app_info_launch()
1471         
1472         * gdesktopappinfo.c:
1473         Ensure uris passed to g_app_info_launch_uris()
1474         are not roundtriped through GFile (as that
1475         may be slightly destructive for e.g. mailto: links)
1476
1477 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1478
1479         * tests/data-input-stream.c:
1480         * tests/data-output-stream.c:
1481         C89 fixes from Jens Granseuer (#512849)
1482
1483 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1484
1485         * fam/fam-helper.c:
1486         Fix gamin/fam difference build issue. (#509419)
1487
1488 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1489
1490         * gappinfo.h:
1491         * gdesktopappinfo.c:
1492         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1493
1494 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1495
1496         * gdesktopappinfo.c:
1497         * gdesktopappinfo.h:
1498         giomodule-priv.h include moved to .c file.
1499
1500 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1501
1502         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1503         Remove unused prio/name fields.
1504
1505 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1506
1507         * gcontenttype.c (looks_like_text):
1508         Don't treat whitespace as control chars.
1509
1510 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1511
1512         * gdesktopappinfo.c:
1513         Lazily create the desktop files for appinfos created
1514         by g_app_info_create_from_commandline() when needed
1515         for mime associations. This allows run-time use
1516         of GAppInfo object without creating unnecessary
1517         files on disk.
1518
1519 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1520
1521         * gio.symbols:
1522         Added new symbols to gio.symbols
1523
1524 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1525
1526         * gfile.[ch]:
1527         Add g_file_query_default_handler utility to easily look up
1528         the GAppInfo that handles a file.
1529         
1530         * gdesktopappinfo.[ch]:
1531         * giomodule.c:
1532         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1533         
1534         * gvfs.c:
1535         Remove unused function
1536
1537 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1538
1539         * gfileenumerator.c:
1540         Mention need to free returned value in
1541         g_file_enumerator_next_files_finish docs.
1542         Fix leak if g_file_enumerator_next_files_finish()
1543         not called.
1544
1545 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1546
1547         * gcontenttype.c:
1548         (_g_unix_content_type_get_parents):
1549         Use list_parents, not get_parents from xdgmime, because
1550         the later doesn't use the cache.
1551         
1552         * xdgmime/xdgmimecache.c:
1553         (_xdg_mime_cache_list_mime_parents):
1554         Don't list the same type as parent multiple times.
1555
1556 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1557
1558         * === Released 2.15.4 ===
1559
1560 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1561
1562         * glocalvfs.c:
1563         Register local vfs with prio 0.
1564         
1565         * gvfs.h:
1566         Remove old name and prio class members
1567
1568 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1569
1570         * tests/g-file.c: Disable some tests that are failing in
1571         the absence of a http backend.
1572
1573 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1574
1575         * giomodule.[ch]:
1576         * gio.symbols:
1577         Add registration hooks for extension points.
1578         Register the gio extension points.
1579         
1580         * fam/gfamdirectorymonitor.c:
1581         * fam/gfamfilemonitor.c:
1582         * glocaldirectorymonitor.[ch]:
1583         * glocalfilemonitor.[ch]:
1584         * gnativevolumemonitor.h:
1585         * gunionvolumemonitor.c:
1586         * gunixvolumemonitor.c:
1587         * gvfs.[ch]:
1588         * gvolumemonitor.h:
1589         * inotify/ginotifydirectorymonitor.c:
1590         * inotify/ginotifyfilemonitor.c:
1591         Use the extension points registration instead
1592         of g_type_children().
1593
1594 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1595         
1596         * gdrive.[hc]: 
1597         * gvolume.[hc]: Document new API. 
1598
1599         * gfile.c (g_file_copy_async): Fix docs
1600
1601 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1602
1603         * gbufferedinputstream.c:
1604         * ginputstream.c:
1605         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1606         __FUNCTION__.
1607         
1608 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1609
1610         * glocalfile.c: Avoid trivial differences in translatable strings.
1611
1612 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1613
1614         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1615         build with gcc 3.4  (#509419)
1616
1617 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1618
1619         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1620         (#509994, Murray Cumming)
1621
1622 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1623
1624         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1625         * gioscheduler.c: Keep calling io jobs until they return FALSE;
1626         this allows big jobs to be executed in chunks, instead of blocking
1627         the main loop for a long time.
1628
1629         * gsimpleasyncresult.c:
1630         * giofile.c: Adapt callers.
1631
1632 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1633
1634         * gdesktopappinfo.c:
1635         Implement changes discussed on xdg list.
1636         Now we can add supported mimetypes by just using defaults.list
1637         We can also remove associations in defaults.list.
1638
1639 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1640
1641         * gdesktopappinfo.c:
1642         Don't make local copy of desktop file
1643         for mimetype changes if the file already
1644         supports the new mimetype.
1645
1646 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1647
1648         * ginputstream.c:
1649         * goutputstream.c:
1650         * gbufferedinputstream.c:
1651         * glocalfile.c: String improvements.  (#511966, 
1652          Theppitak Karoonboonyanan)
1653
1654 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
1655
1656         * gioscheduler.h: Expand docs a bit.
1657
1658 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1659
1660         * gdrive.[ch]:
1661         Add g_drive_get_identifier and
1662         g_drive_enumerate_identifiers
1663
1664         * gvolume.[ch]:
1665         Add g_volume_get_identifier and
1666         g_volume_enumerate_identifiers
1667         
1668         * gio.symbols:
1669         Add symbols
1670         
1671         * gunixvolume.c:
1672         Implement identifiers for unix backend
1673
1674 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1675
1676         * gfile.[ch]:
1677         * gfile.h:
1678         * gio.symbols:
1679         Add g_file_copy_async() (#511580)
1680         Based on patch from Carlos Garcia Campos
1681
1682 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
1683
1684         * gioscheduler.c: Some documentation additions.
1685
1686 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1687
1688         * gdesktopappinfo.c:
1689         (g_desktop_app_info_new):
1690         Don't leak basename.
1691         
1692 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1693
1694         * gdesktopappinfo.c:
1695         (g_desktop_app_info_new_from_filename):
1696         Don't leak GKeyFile
1697
1698 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1699
1700         * glocalfileinfo.c (get_thumbnail_attributes):
1701         Fix leak of uri
1702
1703 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1704
1705         * glocalfile.c:
1706         (canonicalize_filename):
1707         Canonicalize paths that start with more than
1708         two slashes.
1709         
1710         * tests/g-file.c:
1711         (compare_two_files):
1712         (test_g_file_new_for_path):
1713         Test the above
1714
1715 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1716
1717         * glocalfile.c:
1718         Allow UTF-8 in file:// parse names.
1719         
1720         * tests/Makefile.am:
1721         * tests/data-input-stream.c:
1722         * tests/data-output-stream.c:
1723         * tests/g-file-info.c:
1724         * tests/g-file.c:
1725         Added a bunch of tests from Tomas Bzatek
1726
1727 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1728
1729         * === Released 2.15.3 ===
1730
1731 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1732
1733         * gfileinputstream.[ch]:
1734         * gfileoutputstream.[ch]:
1735         * gio.symbols:
1736         Remove duplicated GSeekable functions. (#509990)
1737         Just use the g_seekable_xxx() calls instead.
1738
1739 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1740
1741         * glocal*.c:
1742         * gvolumemanager.c: Whitespace cleanups.
1743
1744         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1745         Use the right mode when creating the file.
1746
1747 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
1748
1749         * gfileenumerator.c:
1750         * gfileinputstream.c:
1751         * ginputstream.c:
1752         * goutputstream.c: Documentation: Fixed minor typos 
1753         and added more mentions of specific _finish() functions.
1754
1755 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1756
1757         * inotify/Makefile.am:
1758         * inotify/inotify-helper.c:
1759         * inotify/inotify-kernel.c:
1760         * inotify/inotify-path.c:
1761         * inotify/local_inotify.h: Removed.
1762         * inotify/local_inotify_syscalls.h: Removed.
1763         Removed the included copies of the inotify
1764         headers. We now only use the <sys/inotify.h>
1765         header which exists on modern systems.
1766         This fixes problems on ARM and SH5 (#510448)
1767         but is also generally much cleaner and future
1768         safe. For instance, if other OSes add support
1769         for inotify it should "just work".
1770
1771 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1772
1773         * inotify/*.c: Coding style fixes.
1774         * inotify/inotify-missing.c: Use g_timeout_add_seconds
1775         for the 1/4 Hz timer.
1776
1777 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1778
1779         * gfile.c:
1780         * gfilemonitor.[hc]:
1781         * gmemoryinputstream.c:
1782         * gmemoryoutputstream.c:
1783         * gmountoperation.c:
1784         * gthemedicon.c: Documentation updates
1785
1786 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
1787
1788         * gfile.c: documentation: Fixed more minor 
1789         typos.
1790
1791 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1792
1793         * gmount.c: (g_mount_remount): documentation: 
1794         Mention g_mount_remount_finish() instead of 
1795         g_mount_unmount_finish().
1796
1797 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1798
1799         * gappinfo.c:
1800         * gcancellable.c:
1801         * gfile.c: Fixed some minor typos in the 
1802         documentation. 
1803
1804 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1805
1806         * gio/gvolumemonitor.c: 
1807         (g_volume_monitor_get_connected_drives): 
1808         (g_volume_monitor_get_volumes): 
1809         (g_volume_monitor_get_mounts): Documentation: 
1810         Clarify the ownership of the regurn GLists.
1811
1812 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1813
1814         * gfile.h:
1815         Add the async find_enclosing_mount version
1816         to the header file too.
1817
1818 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1819
1820         * gfile.c:
1821         Add async version of find_enclosing_mount
1822         with default implementation.
1823
1824 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1825
1826         * gfile.c:
1827         (g_file_copy):
1828         (g_file_move):
1829         Allow calls to implementation of copy and write
1830         even if the type of the file implementations is
1831         different. This can be used to implement native
1832         upload and download calls in a vfs.
1833         
1834         * glocalfile.c:
1835         (g_local_file_move):
1836         Protect against the case where move is called
1837         with one file not being local.
1838         
1839         Make sure we call the progress callback once
1840         in the native move operation so that the caller
1841         knows how many bytes were copied.
1842
1843 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
1844
1845         * gappinfo.c:
1846         * gdatainputstream.c:
1847         * gfile.c:
1848         * gfileoutputstream.c:
1849         * ginputstream.c:
1850         * gmount.c:
1851         * goutputstream.c:
1852         * gseekable.c:
1853         * gunixmounts.c: Corrected some typos in the documentation:
1854         occured -> occurred.
1855         its -> it's (where appropriate).
1856
1857 2008-01-16  Alexander Larsson  <alexl@redhat.com>
1858
1859         * gfile.[ch]:
1860         * gio.symbols:
1861         Add g_file_query_exists (#508771)
1862
1863 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
1864
1865         * gdrive.c:
1866         * gfile.c:
1867         * gmount.c:
1868         * gvolume.c: For async functions that have no non-async 
1869         version, document that the GAsyncReadyCallback may be NULL.
1870         Bug #509626.
1871
1872 2008-01-15  Alexander Larsson  <alexl@redhat.com>
1873
1874         * gmemoryinputstream.c:
1875         * gmemoryoutputstream.c:
1876         Don't do pointer arithmetic on void * (#508602)
1877         Patch from Kazuki IWAMOTO
1878
1879 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
1880
1881         * === Released 2.15.2 ===
1882
1883 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1884
1885         * gfile.c (g_file_monitor_file):
1886         Don't set error here, since we fallback to polling monitor.
1887
1888 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1889
1890         * gfile.[ch]:
1891         (g_file_monitor_directory):
1892         (g_file_monitor_file):
1893         Add GError to file monitor calls
1894         
1895         * glocaldirectorymonitor.c:
1896         * glocaldirectorymonitor.h:
1897         * glocalfile.c:
1898         * glocalfilemonitor.c:
1899         * glocalfilemonitor.h:
1900         * gunixmounts.c:
1901         Update for above change
1902
1903 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1904
1905         * glocalfile.c:
1906         (match_prefix):
1907         Handle root correctly in g_file_get_relative_path (#508719)
1908
1909 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1910
1911         * gasyncresult.c:
1912         Clean up docs and example for GAsyncResult (#508074)
1913
1914 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
1915
1916         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
1917         and correct some spelling mistakes. Bug #508108.
1918
1919 2008-01-11  Matthias Clasen <mclasen@redhat.com>
1920
1921         * glocalfileinfo.c: Add a comment.
1922
1923 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
1924
1925         * gfileinfo.c: GFileInfo description: Mention 
1926         how to actually set attributes in a GFile and how to discover 
1927         which attributes are settable. Bug #508378.
1928
1929 2008-01-10  A. Walton  <awalton@svn.gnome.org>
1930
1931         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1932         (g_app_info_get_default_for_type):
1933         Check for NULL content types.
1934
1935 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
1936
1937         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1938
1939 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
1940
1941         * gfile.c: *_async() functions: Several small corrections 
1942         to the documentation, mostly correcting copy/paste errors 
1943         and improving some sentences.
1944
1945 2008-01-09  Dan Winship  <danw@gnome.org>
1946
1947         * glocalfile.c (get_unique_filename): x86_64 fix
1948
1949 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1950
1951         * gio.symbols:
1952         * gunixmount.c:
1953         * gunixmounts.[ch]:
1954         Add g_unix_mount_guess_should_display and use
1955         for unix volume monitor backend.
1956         This means we more or less show what the
1957         gnome-vfs backend did.
1958         Based on patch from Padraig O'Briain
1959
1960 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1961
1962         * gio.symbols:
1963         * gthemedicon.[ch]:
1964         Add g_themed_icon_new_with_default_fallbacks
1965         
1966         * gunixmounts.c:
1967         Use default fallbacks for icons
1968
1969 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1970
1971         * gio-marshal.list:
1972         * gmountoperation.[ch]:
1973         Change the API a bit so that unhandled methods
1974         get reported via the reply, rather than by
1975         the signal emission return value. This is because
1976         some handlers can't know this immediately without
1977         doing I/O, and this is an async operation that
1978         should not block.
1979
1980 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1981
1982         * fam/fam-helper.c:
1983         * fam/gfamdirectorymonitor.c:
1984         * fam/gfamfilemonitor.c:
1985         Fix double free crash (#508224)
1986         Patch from Joe Marcus Clarke
1987
1988 008-01-07  Matthias Clasen  <mclasen@redhat.com>
1989
1990         * === Released 2.15.1 ===
1991
1992 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1993
1994         * gunixinputstream.c (g_unix_input_stream_skip_finish):
1995         Fix warning (#507835)
1996
1997 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1998
1999         * Makefile.am:
2000         Pass --internal to glib-genmarshal
2001         
2002         * gfilemonitor.c:
2003         * gmountoperation.c:
2004         * gio-marshal.list:
2005         Use better types for signal arguments (#507822)
2006
2007 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2008
2009         * Makefile.am:
2010         Build test subdir after .
2011         Remove gdirectorymonitor.[ch]
2012         
2013         * gdirectorymonitor.[ch]:
2014         * gfilemonitor.c:
2015         * gfile.[ch]:
2016         * gio.h:
2017         Remove GDirectoryMonitor and make
2018         GFileMonitor the baseclass for both file and
2019         directory monitors. Lift the more generic
2020         rate limiting code from GDirectoryMonitor
2021         into GFileMonitor.
2022         
2023         * fam/fam-helper.c:
2024         * fam/gfamdirectorymonitor.[ch]:
2025         * inotify/ginotifydirectorymonitor.[ch]:
2026         * inotify/inotify-helper.c:
2027         * glocaldirectorymonitor.[ch]:
2028         * glocalfile.c:
2029         * gvolumemonitor.c:
2030         Update for the removed GDirectoryMonitor.
2031         
2032         * gmemoryoutputstream.c:
2033         Remove ununsed variable
2034
2035 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2036
2037         * gmemoryinputstream.c:
2038         Translate error strings
2039         
2040         * gio.symbols:
2041         * gmemoryoutputstream.[ch]:
2042         New implementation that avoids using GByteArray
2043         in implementation and API. (#506377)
2044
2045 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2046
2047         * tests/*: Add a test for memory input streams.
2048         
2049         * Makefile.am: Add tests to SUBDIRS.
2050
2051 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2052
2053         * glocalfilemonitor.c:
2054         * glocaldirectorymonitor.c: Mark property nicks and blurbs
2055         for translation.
2056
2057 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2058
2059         * gdesktopappinfo.c: Fix a docs typo.
2060
2061         * gfileattribute.c: Add information about extended attributes
2062         to the documentation.  (#505058)
2063
2064 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2065
2066         * gio-marshal.list:
2067         * gmountoperation.c:
2068         Use the right type (uint) for the ask_password signal.
2069
2070 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2071
2072         * gappinfo.[ch]:
2073         * gwin32appinfo.c:
2074         * gio.symbols:
2075         Add g_app_info_supports_files() 
2076         Remove desktop arg from g_app_info_should_show().
2077         
2078         * gdesktopappinfo.[ch]:
2079         Implement g_app_info_supports_files() and new should_show()
2080         Add g_desktop_app_info_set_desktop_env() to set the desktop
2081         for should_show(). (This will be set by gtk+ later)
2082
2083 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2084
2085         * gio.symbols:
2086         * gmemoryinputstream.[ch]:
2087         Improve API so that you can use multiple chunks
2088         of memory and custom destroy functions. (#506374)
2089
2090 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2091
2092         * gfileinfo.c:
2093         Handle NULL attribute matchers safely, as we return this
2094         for empty attribute matcher strings.
2095
2096 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2097
2098         * gunixmounts.c (g_unix_is_mount_path_system_internal):
2099         Add /usr/local to list of internal mountpoints
2100
2101 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2102
2103         * glocalfileinfo.c:
2104         Check for HAVE_LCHOWN (#505887)
2105         
2106 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2107
2108         * gfileinfo.h:
2109         * glocalfileinfo.c:
2110         Add define for selinux context attribute.
2111         Fix missing : -> :: namespace separator change
2112         Fix missing _ -> - name change for xattr-sys.
2113         (#505058)
2114
2115 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2116
2117         * fam/Makefile.am:
2118         Link to libglib and libgobject directly (#504879)
2119         Patch from Sebastien Bacher
2120
2121 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2122
2123         * gfile.c: Expanded the g_file_new_for_commandline_arg
2124         description a bit, based on the code and the docs of the
2125         other g_file_new_for_* functions.
2126
2127 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2128
2129         * gfilemonitor.h: Fixed typo in docs.
2130
2131 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
2132
2133         Updates to GIO documentation. (#506395, Mikael Hermansson)
2134
2135         * gcontenttype.c: Describe memory management for return value of
2136         g_content_types_get_registered(). Missing piece from #505815.
2137         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2138         GVolume, GDrive, GMounts, which hopefully gives the user less
2139         confusions when using this API. Following explainations from
2140         Alexander Larsson on gtk-devel-list.
2141
2142 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2143
2144         * gfileinfo.c: Expand the long description.
2145
2146 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2147
2148         * fam/Makefile.am:
2149         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2150         fix builds with --disable-visibility.  (#500273, Christian Persch)
2151
2152 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2153
2154         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2155         in the list of returned app infos.
2156
2157 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2158
2159         * gappinfo.c: Fix a cross-reference
2160
2161 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2162
2163         * gfileinputstream.c:
2164         * gfileoutputstream.c:
2165         * gloadableicon.h:
2166         * gunixmounts.c:
2167         * gmount.h:
2168         * gdesktopappinfo.c:
2169         * gvolumemonitor.c: 
2170         * gfileinfo.c: Documentation updates.
2171
2172 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2173
2174         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
2175         Tommi Komulainen)
2176
2177 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2178
2179         * gcontenttype.c (g_content_types_get_registered): Don't return
2180         freed memory (#505815, Mikael Hermansson)
2181
2182 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
2183
2184         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2185         used to detect statbuf->st_blocks. (#505042)
2186
2187 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2188
2189         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2190         environment handling.  (#504829, Cosimo Cecchi)
2191
2192 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2193
2194         * gappinfo.c: Doc improvements
2195         
2196         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2197         not ids.
2198
2199 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
2200
2201         * === Released 2.15.0 ===
2202
2203 2007-12-20  Hans Breuer  <hans@breuer.org>
2204
2205         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
2206         with symbols gwin32appinfo.obj, added gmount.obj
2207         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2208
2209 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2210
2211         * gfile.c:
2212         * gfileattribute.c:
2213         * gfileinfo.c:
2214         * gfileinfo.h:
2215         * gfilenamecompleter.c:
2216         * glocalfile.c:
2217         * glocalfileinfo.c:
2218         * gpollfilemonitor.c:
2219         File attribute renames:
2220         std:: -> standard::
2221         fs:: -> filesystem::
2222         id::fs -> id::filesystem
2223         
2224 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2225
2226         * gfile.[ch]:
2227         * gdrive.[ch]:
2228         * gmount.[ch]:
2229         * gvolume.[ch]:
2230         * gunixmount.c:
2231         * gunixvolume.c:
2232         * gio.symbols:
2233         Add GMountUnmountFlags to all unmount and
2234         eject calls.
2235         Add g_mount_remount() call.
2236
2237 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2238
2239         * gvfs.c (get_default_vfs):
2240         Fix unused variable warning
2241
2242 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2243
2244         * pltcheck.sh: Update
2245
2246 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2247
2248         * gunionvolumemonitor.c:
2249         * gunixmount.c: Remove C99 comments
2250
2251 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2252
2253         * gio.symbols: Add some missing symbols
2254
2255 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2256
2257         * giomodule.c:
2258         Make g_io_modules_load_all_in_directory not unuse
2259         loaded modules so that users of it can do stuff
2260         before unloading.
2261         Init internal "module" types.
2262         Initialize static prio and name for types so that
2263         we don't have to load modules to get it.
2264         
2265         * gnativevolumemonitor.h:
2266         * gvolumemonitor.h:
2267         Move is_supported to parent class so that
2268         non-native monitors can avoid being initialized
2269         too. (For instance GDaemonVolumeMonitor if we're
2270         not using GDaemonVfs.)
2271         
2272         * glocaldirectorymonitor.[ch]:
2273         * glocalfilemonitor.[ch]:
2274         * gunionvolumemonitor.c:
2275         * gunixvolumemonitor.c:
2276         * gvfs.c:
2277         Find plugins using the static prio+name to
2278         avoid unnecessarily loading the modules.
2279
2280 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2281
2282         * giomodule.c:
2283         Remove warnings
2284
2285 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2286
2287         * gunionvolumemonitor.c:
2288         Store the native type as GType, not class so that
2289         we can unload it. But still avoid unnecessarily
2290         unload modules.
2291
2292 2007-12-19  David Zeuthen  <davidz@redhat.com>
2293
2294         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2295         add signals 'disconnected' and 'eject-button' on GDrive. Add
2296         signal 'removed' on GVolume and 'unmounted' on GMount.
2297
2298         * gdrive.c: (g_drive_base_init):
2299         * gdrive.h:
2300         * gfile.c: (g_file_mount_mountable),
2301         (g_file_mount_enclosing_volume):
2302         * gio.symbols:
2303         * gioerror.h:
2304         * gmount.c: (g_mount_base_init):
2305         * gmount.h:
2306         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2307         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2308         * gvolume.c: (g_volume_base_init), (g_volume_mount):
2309         * gvolume.h:
2310         * gvolumemonitor.h:
2311
2312 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2313
2314         * *.c: Fix up includes in the section docs.
2315
2316 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2317
2318         * gnativevolumemonitor.h:
2319         * gunionvolumemonitor.c:
2320         * gunixvolumemonitor.c:
2321         Add is_supported() to GNativeVolumeMonitorClass so
2322         that we can avoid having to create an object to see
2323         if the backend is supported at runtime.
2324         Also add name member and an env var to pick a specific
2325         volume monitor backend.
2326         
2327         * gmountprivate.h:
2328         * glocalfile.c:
2329         Add cancellable to _g_mount_get_for_mount_path()
2330         
2331         * glocaldirectorymonitor.c:
2332         * glocalfilemonitor.c:
2333         Avoid loading and unloading modules while sorting.
2334
2335 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2336
2337         * gio.symbols:
2338         * gunixmounts.[hc]: Namespace waste reduction, move some
2339         g_get_unix_mount functions to the g_unix_mount namespace.
2340
2341         * gunixmounts.c:
2342         * gunixvolumemonitor.c:
2343         * glocalfile.c:
2344         * glocaldirectorymonitor.c: Update all callers.
2345
2346         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2347
2348 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2349
2350         * gfile.c:
2351         Add doc comments about what GFile operations are
2352         guaranteed to not block.
2353
2354 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2355
2356         * gunixmounts.c:
2357         Add missing #ifdef fixing OSX build.
2358         (#503334, patch from Richard Hult)
2359
2360 2007-12-14  David Zeuthen  <davidz@redhat.com>
2361
2362         * Makefile.am:
2363         * gio.symbols:
2364         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2365         (g_mount_eject), (g_mount_eject_finish):
2366         * gmount.h:
2367         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2368         (get_volume_for_uuid), (get_mount_for_uuid),
2369         (g_union_volume_monitor_class_init),
2370         (get_default_native_type_with_exclude), (get_default_native_type),
2371         (get_native_type), (update_native_type),
2372         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2373         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2374         (g_unix_mount_can_eject), (eject_unmount_cb),
2375         (eject_unmount_read_error), (eject_unmount_do),
2376         (g_unix_mount_unmount), (g_unix_mount_eject),
2377         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2378         * gunixmounts.c: (g_unix_mount_guess_can_eject),
2379         (g_unix_mount_point_guess_can_eject):
2380         * gunixmounts.h:
2381         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2382         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2383         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2384         (g_unix_volume_mount), (g_unix_volume_eject),
2385         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2386         * gunixvolumemonitor.c: (get_volume_for_uuid),
2387         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2388         (update_mounts):
2389         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2390         (g_volume_eject), (g_volume_eject_finish):
2391         * gvolume.h:
2392         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2393         (g_volume_monitor_get_mount_for_uuid):
2394         * gvolumemonitor.h:
2395
2396         Provide eject() on both GMount and GVolume and utility functions
2397         to guess whether a GUnixMountPoint or GUnixMountEntry should be
2398         ejected. Introduce the concept of UUID's and wire it into GVolume
2399         and GMount and provide API on GVolumeMonitor to find such
2400         instances. Also handle the case where an external
2401         GNativeVolumeMonitor fails to initialize. Lock around the
2402         _g_get_mount_for_mount_path() function such that volume monitor
2403         implementations won't have to do locking themselves.
2404
2405 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2406
2407         * gdesktopappinfo.c:
2408         * gunixmounts.c:
2409         * gfileinfo.c:
2410         * gvolumemonitor.c:
2411         * gfile.h:
2412         * gioscheduler.c:
2413         * gvolume.h: Documentation updates
2414
2415 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2416
2417         * gunixmounts.c:
2418         * gfile.h: Doc updates
2419
2420 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2421
2422         * gcontenttype.c:
2423         * gdesktopappinfo.c: Use hash table iterators.
2424
2425 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2426
2427         * Makefile.am:
2428         * gfileattribute.[ch]:
2429         * gfileattribute-priv.h:
2430         Move GFileAttributeValue to a private header, as
2431         its sort of ugly.
2432         
2433         * gfile.[ch]:
2434         Make set_attribute take a type + a pointer instead
2435         of a GFileAttributeValue.
2436         
2437         * gfileinfo.[ch]:
2438         Fix up for above changes.
2439         Add g_file_info_get_attribute_data to get
2440         all info in one call, g_file_info_get_attribute_status
2441         to get the status and g_file_info_get_attribute_as_string.
2442         
2443         * gio.symbols:
2444         * glocalfile.c:
2445         * glocalfileinfo.[ch]:
2446         Update for changes
2447         
2448         * gunixmounts.c:
2449         Make _guess_type static.
2450
2451 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2452
2453         * Makefile.am:
2454         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2455         made mkenums and friends use temporary files to avoid leaving
2456         empty generated files on failure (#503470).
2457
2458 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2459
2460         * gmountoperation.h:
2461         Fix AKS -> ASK typo
2462
2463 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2464
2465         * gappinfo.h:
2466         * gfile.[ch]:
2467         * gfileattribute.[ch]:
2468         * gio.symbols:
2469         * glocalfile.c:
2470         * glocalfileoutputstream.c:
2471         * gmountoperation.[ch]:
2472         * goutputstream.[ch]:
2473         Clean up all flags enums to not have _FLAGS in them
2474         Make the names of some of the enums better.
2475
2476         * glocalfileinfo.c:
2477         Fix warning
2478         
2479 2007-12-14  Michael Natterer  <mitch@imendio.com>
2480
2481         * gio.symbols: fix g_io_scheduler symbol names.
2482
2483 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2484
2485         * Makefile.am:
2486         * fam/Makefile.am:
2487         * gappinfo.h:
2488         * gasyncresult.h:
2489         * gbufferedinputstream.h:
2490         * gbufferedoutputstream.h:
2491         * gcancellable.h:
2492         * gcontenttype.h:
2493         * gdatainputstream.h:
2494         * gdataoutputstream.h:
2495         * gdesktopappinfo.h:
2496         * gdirectorymonitor.h:
2497         * gdrive.h:
2498         * gfile.h:
2499         * gfileattribute.h:
2500         * gfileenumerator.h:
2501         * gfileicon.h:
2502         * gfileinfo.h:
2503         * gfileinputstream.h:
2504         * gfilemonitor.h:
2505         * gfilenamecompleter.h:
2506         * gfileoutputstream.h:
2507         * gfilterinputstream.h:
2508         * gfilteroutputstream.h:
2509         * gicon.h:
2510         * ginputstream.h:
2511         * gio.h:
2512         * gioerror.h:
2513         * giomodule.h:
2514         * gioscheduler.h:
2515         * gloadableicon.h:
2516         * gmemoryinputstream.h:
2517         * gmemoryoutputstream.h:
2518         * gmount.h:
2519         * gmountoperation.h:
2520         * goutputstream.h:
2521         * gseekable.h:
2522         * gsimpleasyncresult.h:
2523         * gthemedicon.h:
2524         * gunixinputstream.h:
2525         * gunixmounts.h:
2526         * gunixoutputstream.h:
2527         * gvfs.h:
2528         * gvolume.h:
2529         * gvolumemonitor.h:
2530         * inotify/Makefile.am:
2531         Only allow including <gio/gio.h> from apps
2532
2533 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2534
2535         * gioscheduler.[ch]:
2536         * gsimpleasyncresult.c:
2537         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2538         Split out the send_to_mainloop call into two versions instead
2539         of having the block argument.
2540
2541 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2542
2543         * gcancellable.[ch]:
2544         * gio.symbols:
2545         * gbufferedinputstream.c:
2546         * gfileenumerator.c:
2547         * gfileinputstream.c:
2548         * gfileoutputstream.c:
2549         * ginputstream.c:
2550         * gioscheduler.c:
2551         * goutputstream.c:
2552         g_push/pop_current_cancellable ->
2553         g_cancellable_push/pop_current
2554
2555 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2556
2557         * gfile.[ch]:
2558         * gio.symbols:
2559         Rename g_mount_for_location to g_file_mount_enclosing_volume.
2560
2561 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2562
2563         * gmountoperation.h:
2564         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2565
2566 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2567
2568         * gioscheduler.c:
2569         Fix race condition when freeing proxy in
2570         g_io_job_send_to_mainloop().
2571
2572 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2573
2574         * gfileattribute.c:
2575         * gfileinfo.[ch]:
2576         * glocalfile.c:
2577         * glocalfileinfo.c:
2578         Make attribute namespace separator "::" instead of ":".
2579         Use - instead of _ as separator in attribute names.
2580
2581 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2582
2583         * gbufferedinputstream.h:
2584         * gbufferedoutputstream.h:
2585         * gdatainputstream.h:
2586         * gdataoutputstream.h:
2587         * gdirectorymonitor.h:
2588         * gfileenumerator.h:
2589         * gfileinputstream.h:
2590         * gfilemonitor.h:
2591         * gfileoutputstream.h:
2592         * gfilterinputstream.h:
2593         * gfilteroutputstream.h:
2594         * ginputstream.h:
2595         * glocalfileinputstream.h:
2596         * glocalfileoutputstream.h:
2597         * gmemoryinputstream.h:
2598         * gmemoryoutputstream.h:
2599         * gnativevolumemonitor.h:
2600         * goutputstream.h:
2601         * gunixinputstream.h:
2602         * gunixoutputstream.h:
2603         * gvfs.h:
2604         * gvolumemonitor.h:
2605         s/parent/parent_instance/ in GObjects
2606
2607 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2608
2609         * gdrive.h:
2610         * gmount.h:
2611         * gvolume.h:
2612         No need for padding for interfaces
2613         
2614 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2615
2616         * gappinfo.[ch]:
2617         * gasyncresult.c:
2618         * gbufferedinputstream.c:
2619         * gbufferedoutputstream.c:
2620         * gcancellable.c:
2621         * gcontenttype.c:
2622         * gdatainputstream.[ch]:
2623         * gdesktopappinfo.c:
2624         * gdirectorymonitor.c:
2625         * gfile.[ch]:
2626         * gfileattribute.[ch]:
2627         * gfileicon.[ch]:
2628         * gfileinfo.h:
2629         * gfileinputstream.h:
2630         * gfilemonitor.[ch]:
2631         * gfileoutputstream.[ch]:
2632         * gfilterinputstream.h:
2633         * gfilteroutputstream.h:
2634         * gicon.h:
2635         * gioscheduler.c:
2636         * gloadableicon.[ch]:
2637         * gmemoryinputstream.c:
2638         * gmountoperation.c:
2639         * gthemedicon.c:
2640         Fix up a bunch of details in the docs.
2641
2642         * glocalfileinfo.c:
2643         CR/LF -> LF fixups
2644         
2645 2007-12-11  David Zeuthen  <davidz@redhat.com>
2646
2647         Rework how volumes, drives and volume monitoring is
2648         done. Previosly the model was
2649
2650          GDrive <1-1> GVolume
2651
2652         where a GDrive instance represented a mount point and a GVolume
2653         instance represented a mounted file system. This patch changes it
2654         the model to
2655
2656                 GDrive <1-N> GVolume <1-1> GMount
2657
2658         where GMount now serves the purpose of the old GVolume and the new
2659         GVolume serves the purpose of the old GDrive. In addition the new
2660         GDrive interface is used to represent a collection of GVolume
2661         instances (typically partitions) and also contains utility to query
2662         the state of the physical drive the GDrive object represents (such
2663         as checking for media, polling the drive, ejecting the media etc.).
2664
2665         Also implement mounting and unmounting in the Unix volume monitor
2666         backend. A subquent patch will introduce GDrive support for ejection
2667         of media.
2668
2669         * Makefile.am:
2670         * gdrive.c: (g_drive_is_media_check_automatic),
2671         (g_drive_is_media_removable), (g_drive_has_media),
2672         (g_drive_can_poll_for_media), (g_drive_eject),
2673         (g_drive_eject_finish), (g_drive_poll_for_media),
2674         (g_drive_poll_for_media_finish):
2675         * gdrive.h:
2676         * gfile.c: (g_file_find_enclosing_mount):
2677         * gfile.h:
2678         * gio.symbols:
2679         * glocaldirectorymonitor.c:
2680         (g_local_directory_monitor_constructor), (mounts_changed):
2681         * glocalfile.c: (get_mount_info),
2682         (g_local_file_find_enclosing_mount),
2683         (g_local_file_file_iface_init):
2684         * gnativevolumemonitor.h:
2685         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2686         (get_connected_drives), (g_union_volume_monitor_class_init),
2687         (child_volume_added), (child_volume_removed),
2688         (child_volume_changed), (child_mount_added), (child_mount_removed),
2689         (child_mount_pre_unmount), (child_mount_changed),
2690         (child_drive_changed), (g_union_volume_monitor_add_monitor),
2691         (g_union_volume_monitor_remove_monitor),
2692         (_g_mount_get_for_mount_path):
2693         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2694         (guess_system_internal), (_g_get_unix_mounts),
2695         (_g_get_unix_mount_points), (g_get_unix_mount_at),
2696         (g_unix_mount_free), (g_unix_mount_compare),
2697         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2698         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2699         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2700         (type_to_icon), (g_unix_mount_guess_name),
2701         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2702         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2703         (_resolve_symlink), (_resolve_dev_root):
2704         * gunixmounts.h:
2705         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2706         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2707         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2708         (g_unix_volume_get_name), (g_unix_volume_can_mount),
2709         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2710         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2711         (g_unix_volume_mount), (g_unix_volume_mount_finish),
2712         (g_unix_volume_volume_iface_init):
2713         * gunixvolume.h:
2714         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2715         (get_mounts), (get_volumes), (get_connected_drives),
2716         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2717         (mountpoints_changed), (mounts_changed),
2718         (g_unix_volume_monitor_init),
2719         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2720         (find_mount_by_mountpath), (update_volumes), (update_mounts):
2721         * gunixvolumemonitor.h:
2722         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2723         (g_volume_mount), (g_volume_mount_finish):
2724         * gvolume.h:
2725         * gvolumemonitor.c: (g_volume_monitor_class_init),
2726         (g_volume_monitor_get_connected_drives),
2727         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2728         * gvolumemonitor.h:
2729
2730 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2731
2732         * gmountoperation.h (GPasswordFlags): Close the gap
2733
2734 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2735
2736         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2737         * gio.symbols:
2738         * gdesktopappinfo.[hc]: Remove _-prefixes
2739
2740 2007-12-10  Tor Lillqvist  <tml@novell.com>
2741
2742         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2743         gcc warnings.
2744
2745 2007-12-10  Alexander Larsson  <alexl@redhat.com>
2746
2747         * gfile.c (g_file_set_display_name):
2748         Don't hardcode '/' (#502727)
2749
2750 2007-12-09  Hans Breuer  <hans@breuer.org>
2751
2752         * makefile.msc : follow lib naming convention
2753         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2754         for user and group name, tested with ../tests/gio-ls
2755
2756 2007-12-09  A. Walton  <awalton@svn.gnome.org>
2757
2758         * gdesktopappinfo.c:
2759         * gdrive.c:
2760         * gdrive.h:
2761         * gfile.c:
2762         * gfile.h:
2763         * gfileattribute.c:
2764         * gfileenumerator.c:
2765         * gioerror.c:
2766         * gioscheduler.c:
2767         * gioscheduler.h:
2768         * gloadableicon.c:
2769         * gmemoryinputstream.c:
2770         * gmemoryoutputstream.c:
2771         * goutputstream.h:
2772         * gsimpleasyncresult.c:
2773         More documentation cleanup and filling in missing information, bringing
2774         GIO to 99% symbol coverage.
2775
2776 2007-12-08  Hans Breuer  <hans@breuer.org>
2777
2778         [gio compiles and links on win32, not sure how much already works]
2779         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2780         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
2781         base on win32 API; prefer g_lstat() over lstat(); instead of 
2782         localtime_r() use an all GLib implementation on win32;
2783         get_mount_info() still needs a win32 specifc implementation
2784         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
2785         win32_get_file_user_info to get owner/group info without uid/gid
2786         * glocalfileinputstream.c : include <io.h> on win32
2787         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2788         definition, use g_win32_ftruncate() for G_OS_WIN32
2789         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2790         it is available with mingw/w32api but a mess with the M$ Platform SDKs
2791         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2792         * makefile.msc : updated
2793
2794 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2795
2796         * glocalfileenumerator.c (_g_local_file_enumerator_new):
2797         Avoid warning spew if error == NULL
2798         
2799 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2800
2801         * gfile.c:
2802         Update docs wrt etags
2803
2804 2007-12-06  Alexander Larsson  <alexl@redhat.com>
2805
2806         * glocalfileinfo.h:
2807         Include sys/types.h for dev_t (#501919)
2808
2809 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
2810
2811         * gio.symbols:
2812         * pltcheck.sh:
2813         Make abicheck and pltcheck pass.
2814
2815 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2816
2817         * Makefile.am:
2818         * giomodule-priv.h: Added.
2819         * glocaldirectorymonitor.c:
2820         * glocalfilemonitor.c:
2821         * gunionvolumemonitor.c:
2822         * gvfs.c:
2823         Actually add the declaration of _g_io_modules_ensure_loaded
2824
2825 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2826
2827         * gdatainputstream.c:
2828         Fix warnings
2829         
2830         * gio.symbols:
2831         * giomodule.[ch]
2832         * glocaldirectorymonitor.c:
2833         * glocalfilemonitor.c:
2834         * gunionvolumemonitor.c:
2835         * gvfs.c:
2836         Make g_io_modules_ensure_loaded a private function and
2837         don't pass in the dirname. This means we can do magic
2838         directory finding in the win32 version.
2839         Export the actual load-modules-in-directory code so that
2840         gvfs can reuse that.
2841
2842 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2843
2844         * gbufferedinputstream.c:
2845         * gbufferedoutputstream.c:
2846         * gdrive.[ch]:
2847         * gfile.[ch]:
2848         * gfileenumerator.[ch]:
2849         * gfileinputstream.c:
2850         * gfileoutputstream.[ch]:
2851         * gfilterinputstream.c:
2852         * gfilteroutputstream.c:
2853         * ginputstream.[ch]:
2854         * glocalfile.c:
2855         * glocalfileenumerator.c:
2856         * glocalfileinputstream.c:
2857         * glocalfileoutputstream.c:
2858         * gmemoryinputstream.c:
2859         * gmemoryoutputstream.c:
2860         * goutputstream.[ch]:
2861         * gseekable.[ch]:
2862         * gunixdrive.c:
2863         * gunixinputstream.c:
2864         * gunixoutputstream.c:
2865         Rename all struct members named:
2866         read, write, close, truncate, or mount
2867         to foo_fn, as these are reserved names
2868         and could be defined as macros in libc.
2869         (#501645)
2870
2871 2007-12-04  Alexander Larsson  <alexl@redhat.com>
2872
2873         * goutputstream.c:
2874         (g_output_stream_close):
2875         Only call flush if non-null.
2876
2877 2007-11-30  Dan Winship  <danw@gnome.org>
2878
2879         * ginputstream.c (g_input_stream_set_pending): Make this take a
2880         GError and return a gboolean, and do the "outstanding operation"
2881         check (and the "stream is already closed" check) itself.
2882         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2883
2884         * goutputstream.c (g_output_stream_set_pending)
2885         (g_output_stream_clear_pending): Likewise
2886
2887         * gbufferedinputstream.c: 
2888         * gfileinputstream.c: 
2889         * gfileoutputstream.c: Update for that
2890
2891         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2892         Like g_simple_async_report_error_in_idle, but takes a GError
2893         rather than building one.
2894
2895 2007-11-30  Dan Winship  <danw@gnome.org>
2896
2897         * goutputstream.c: Don't cheat and unset the "pending" flag around
2898         inner calls. Instead, call the class method directly rather than
2899         the wrapper function that checks "pending"
2900
2901 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
2902
2903         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2904
2905 2007-12-03  Hans Breuer  <hans@breuer.org>
2906
2907         [start of port to win32/msvc]
2908         * gcancellable.c : HAVE_UNIST_H and _pipe()
2909         * gcontenttype.c : only include <dirent.h> in the UNIX branch
2910         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2911         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
2912         HAVE_UNIST_H
2913         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2914         * glocalvfs.c : use HAVE_PWD_H
2915         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2916         * makefile.msc : new file (maybe later converted to makefile.msc.in)
2917         * Makefile.am : added to EXTRA_DIST
2918
2919 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2920
2921         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2922         (#499783)
2923
2924 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2925
2926         * glocalfileinfo.c:
2927         Handle OSX style xattrs API (#500506)
2928
2929 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2930
2931         * gfile.[ch]:
2932         * glocalfile.c:
2933         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2934
2935 2007-12-02  A. Walton  <awalton@svn.gnome.org>
2936
2937         * gfile.c:
2938         * gfileattribute.c:
2939         Documentation accuracy fixes.
2940
2941 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
2942
2943         * gioenumtypes.c.template: Fix typo.
2944
2945 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2946
2947         * gioenumtypes.c.template: Make threadsafe get_type() functions.
2948
2949 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2950
2951         * gdirectorymonitor.c:
2952         * gfilemonitor.c: Add properties
2953
2954         * gbufferedoutputstream.c: Don't mark buffer-size property 
2955         as construct-only.
2956
2957 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2958
2959         * gbufferedoutputstream.c: Add auto-grow property.
2960
2961 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2962
2963         * *.c: Unify the capitalization of section headings.
2964
2965 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2966
2967         * gmountoperation.c: Add properties
2968         
2969         * gdatainputstream.c: Turn byte-order and newline-type into
2970         properties.
2971
2972 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2973
2974         * gioenumtypes.[hc].template: Templates for enum registration
2975
2976         * Makefile.am: Generate gioenumtypes.[hc]
2977
2978         * gio.h: Include gioenumtypes.h
2979         * gappinfo.h:
2980         * gfile.h: Add some explicit nicks.
2981
2982         * gio.symbols: Add new symbols
2983
2984         * pltcheck.sh: Adjust
2985
2986 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2987
2988         * *.c: Explain etags and link to the explanation
2989
2990 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2991
2992         * *.c: Explain I/O priority.
2993
2994         * *.c: More coding style fixes.
2995
2996 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2997
2998         * gasyncresult.c: Add another paragraph to the intro,
2999         adjust coding style of example.
3000
3001 2007-11-29  A. Walton <awalton@svn.gnome.org>
3002
3003         * gappinfo.c:
3004           Fixes unknown meaning in GAppLaunchContext docs.
3005         * gfile.c:
3006           Clarify asynchronous ops.
3007         * gfileattribute.c:
3008           Fix entity tag docs.
3009         * gicon.c:
3010         * gthemedicon.c:
3011           Provides missing gtk-doc section, fixes API docs slighly.
3012         * gsimpleasyncresult.c:
3013           Fill in missing info in docs.
3014         * gunixinputstream.c:
3015         * gunixoutputstream.c:
3016           Be more expressive in short description.
3017         * gunixvolume.c:
3018           Remove gtk-doc stubs for non-public API.
3019
3020 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3021
3022         * *.c: Coding style fixups
3023
3024 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3025
3026         * inotify/inotify-helper.c: Don't export the lock from libgio.
3027
3028 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3029
3030         * Makefile.am:
3031         * abicheck.sh: Fix copy-and-paste leftovers 
3032
3033 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3034
3035         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3036
3037 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3038
3039         * Makefile.am:
3040         * gdriveprivate.h:
3041         Removed unnecessary file
3042         
3043         * gdesktopappinfo.[ch]:
3044         * gdummyfile.[ch]:
3045         * gfile.c:
3046         * glocaldirectorymonitor.[ch]:
3047         * glocalfile.[ch]:
3048         * glocalfileenumerator.[ch]:
3049         * glocalfileinputstream.[ch]:
3050         * glocalfilemonitor.[ch]:
3051         * glocalfileoutputstream.[ch]:
3052         * glocalvfs.[ch]:
3053         * gnativevolumemonitor.c:
3054         * gpollfilemonitor.[ch]:
3055         * gunionvolumemonitor.[ch]:
3056         * gunixdrive.[ch]:
3057         * gunixvolume.[ch]:
3058         * gunixvolumemonitor.[ch]:
3059         * gvfs.c:
3060         * gvolumeprivate.h:
3061         * inotify/ginotifydirectorymonitor.[ch]:
3062         * inotify/ginotifyfilemonitor.[ch]:
3063         * inotify/inotify-helper.c:
3064         Append _ to all internal functions
3065         
3066         * gio.symbols:
3067         Add missing symbols
3068         Export symbols needed for modules
3069
3070 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3071
3072         * Makefile.am:
3073         * abicheck.sh: Added.
3074         * makegioalias.pl: Added.
3075         * pltcheck.sh: Added.
3076         * gio.symbols: Added.
3077         * *.c:
3078         * inotify/*.c
3079         Initial work on adding symbol handling.
3080
3081         * gvfs.h:
3082         Correct ifdef guard name
3083
3084         * fam/Makefile.am:
3085         * inotify/Makefile.am:
3086         * xdgmime/Makefile.am:
3087         Include toplevel Makefile.decl
3088
3089 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3090
3091         * gcontenttype.c: Move doc comments to the unix section.
3092
3093         * *.[hc]: More trivial doc corrections.
3094
3095 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3096
3097         * gpollfilemonitor.c:
3098         * gunixmounts.c:
3099         * gvfs.c:
3100         * gfile.c:
3101         * gdesktopappinfo.c:
3102         * gwin32appinfo.c:
3103         * gvolume.c:
3104         * glocalvfs.c:
3105         * gvolumemonitor.c:
3106         * gdatainputstream.c:
3107         * gdatainputstream.h:
3108         * gdataoutputstream.c:
3109         * gdataoutputstream.h:
3110         * gfileinfo.h: Doc cleanups
3111
3112 2007-11-28  Andre Klapper  <a9016009@gmx.de>
3113
3114         * gdesktopappinfo.c: Fix a typo.
3115
3116 2007-11-27  Andre Klapper  <a9016009@gmx.de>
3117
3118         * glocalfileoutputstream.c: Fix a typo.
3119
3120 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3121
3122         * gio.h:
3123         Don't include removed headers
3124
3125 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3126
3127         * Makefile.am:
3128         * gsocketinputstream.[ch]: Removed.
3129         * gsocketoutputstream.[ch]: Removed.
3130         * gunixinputstream.[ch]: Added.
3131         * gunixoutputstream.[ch]: Added.
3132         Renamed GSocket*Stream to GUnix*Stream and made
3133         it unix-only, since its not really only for sockets
3134         and it only works on unix (but is highly useful there).
3135
3136 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
3137         * gappinfo.c:
3138         * gappinfo.h:
3139         * gasynchelper.c:
3140         * gasyncresult.c:
3141         * gasyncresult.h:
3142         * gbufferedinputstream.c:
3143         * gbufferedinputstream.h:
3144         * gbufferedoutputstream.c:
3145         * gbufferedoutputstream.h:
3146         * gcancellable.c: 
3147         * gcancellable.h:
3148         * gcontenttype.c:
3149         * gdatainputstream.c:
3150         * gdatainputstream.h:
3151         * gdataoutputstream.c:
3152         * gdataoutputstream.h:
3153         * gdirectorymonitor.c:
3154         * gdirectorymonitor.h:
3155         * gdrive.c: 
3156         * gdrive.h:
3157         * gfile.c:
3158         * gfile.h:
3159         * gfileattribute.c:
3160         * gfileattribute.h:
3161         * gfileenumerator.c:
3162         * gfileenumerator.h:
3163         * gfileicon.c:
3164         * gfileicon.h:
3165         * gfileinfo.c:
3166         * gfileinfo.h:
3167         * gfileinputstream.c:
3168         * gfileinputstream.h:
3169         * gfilemonitor.c:
3170         * gfilemonitor.h:
3171         * gfilenamecompleter.c:
3172         * gfilenamecompleter.h:
3173         * gfileoutputstream.c:
3174         * gfileoutputstream.h:
3175         * gfilterinputstream.c:
3176         * gfilterinputstream.h:
3177         * gfilteroutputstream.c:
3178         * gfilteroutputstream.h:
3179         * gicon.c:
3180         * gicon.h:
3181         * ginputstream.c:
3182         * ginputstream.h:
3183         * gioerror.c:
3184         * gioerror.h:
3185         * giomodule.c:
3186         * giomodule.h:
3187         * gioscheduler.c:
3188         * gioscheduler.h:
3189         * gloadableicon.c:
3190         * gloadableicon.h:
3191         * glocalfileoutputstream.c:
3192         * gmemoryinputstream.c:
3193         * gmemoryinputstream.h:
3194         * gmemoryoutputstream.c:
3195         * gmemoryoutputstream.h:
3196         * gmountoperation.c: 
3197         * gmountoperation.h:
3198         * goutputstream.c:
3199         * goutputstream.h:
3200         * gpollfilemonitor.c:
3201         * gseekable.c:
3202         * gseekable.h:
3203         * gsimpleasyncresult.c:
3204         * gsimpleasyncresult.h:
3205         * gsocketinputstream.c:
3206         * gsocketinputstream.h:
3207         * gsocketoutputstream.c:
3208         * gsocketoutputstream.h:
3209         * gthemedicon.c:
3210         * gthemedicon.h:
3211         * gunixdrive.c:
3212         * gunixmounts.c: 
3213         * gunixmounts.h:
3214         * gunixvolume.c:
3215         * gunixvolumemonitor.c:
3216         * gurifuncs.c:
3217         * gurifuncs.h:
3218         * gvfs.c:
3219         * gvfs.h:
3220         * gvolume.c:
3221         * gvolume.h:
3222         * gvolumemonitor.c: 
3223         * gvolumemonitor.h:
3224         Bumps documentation to 93% symbol coverage, touching most 
3225         of the public files. Fixes broken function documentation prototypes. 
3226         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
3227         gtk-doc headers in private files.
3228
3229 2007-11-27  Jürg Billeter  <j@bitron.ch>
3230
3231         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3232         (g_buffered_input_stream_read_byte):
3233         * gbufferedinputstream.h:
3234         New functions for efficient access to buffer and simple single byte
3235         reads.
3236
3237         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3238         (g_data_input_stream_read_until):
3239         * gdatainputstream.h:
3240         Use peek_buffer to avoid memcpy in scan_for_newline, implement
3241         read_until with multiple stop chars.
3242
3243 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3244
3245         * Makefile.am:
3246         * fam/Makefile.am:
3247         * inotify/Makefile.am:
3248         Use the user-specified giomoduledir
3249
3250 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3251
3252         * Makefile.am
3253         * gio.h:
3254         Add catch-all gio.h header
3255         Don't install gdummyfile.h
3256
3257 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3258
3259         * Makefile.am (gioinclude_HEADERS):
3260         Remove trailing whitespace
3261         
3262 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3263
3264         Merge gio-standalone into glib
3265
3266 2007-11-25  Christian Kellner  <gicmo@gnome.org>
3267
3268         * gio/goutputstream.c:
3269         Fix small mistake in the docs.
3270
3271 2007-11-21  Christian Persch  <chpe@gnome.org>
3272
3273         * gio/glocalfile.c: (g_local_file_trash):
3274         Convert filenames to UTF-8 for GError.
3275         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3276         as per xdg base dir spec.
3277
3278 2007-11-21  Christian Persch  <chpe@gnome.org>
3279
3280         * gio/gdesktopappinfo.c:
3281         Use that g_key_file_to_data cannot fail.
3282         Some misc cleanups.
3283         Use stock defines for the key file group and key names.
3284         Use bitfields.
3285
3286 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3287
3288         * gio/gfile.c:
3289         (copy_stream_with_progress):
3290         Make sure we do a final progress callback with
3291         the full total size.
3292
3293 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3294
3295         * gio/gfile.[ch]:
3296         Export g_file_copy_attributes
3297         Remove padding as its not needed for interfaces
3298
3299 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3300
3301         * gio/gfile.c:
3302         * gio/gioerror.h:
3303         * gio/glocalfile.c:
3304         Add G_IO_ERROR_WOULD_MERGE for
3305         copy/move dir on dir with overwrite.
3306
3307 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3308
3309         * gio/gfileinfo.h:
3310         * gio/glocalfileinfo.c:
3311         Add COPY_NAME (this is an optional
3312         non-modified utf8 version of the name) that
3313         can roundtrip.
3314
3315 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3316
3317         * gio/glocalfileenumerator.c:
3318         Report errors as GIOError, not GFileError
3319
3320 2007-11-16  Alexander Larsson  <alexl@redhat.com>
3321
3322         * gio/glocalfileoutputstream.c:
3323         * gio/gwin32appinfo.c:
3324         Fix typos in strings.
3325         Patch from Luca Ferretti <elle.uca@libero.it>
3326
3327 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3328
3329         * configure.ac:
3330         Post release version bump
3331
3332 === gio-standalone 0.1.2 ===
3333
3334 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3335
3336         * docs/reference/gio/Makefile.am:
3337         Fix up distcheck by removing weird
3338         non-needed stuff
3339
3340         * NEWS:
3341         Update for release
3342
3343 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3344
3345         * gio/gdesktopappinfo.c:
3346         * gio/glocaldirectorymonitor.c:
3347         * gio/glocalfile.c:
3348         * gio/glocalfileinfo.c:
3349         * gio/inotify/inotify-sub.c:
3350         * programs/gio-cat.c:
3351         * programs/gio-copy.c:
3352         * programs/gio-info.c:
3353         * programs/gio-ls.c:
3354         * programs/gio-monitor-dir.c:
3355         * programs/gio-monitor-file.c:
3356         * programs/gio-mount.c:
3357         * programs/gio-move.c:
3358         * programs/gio-rm.c:
3359         * programs/gio-save.c:
3360         * programs/gio-trash.c:
3361         Leak fixes from Kjartan Maraas
3362
3363 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3364
3365         * gio/fam/fam-helper.c:
3366         * gio/gdrive.[ch]:
3367         * gio/glocalfileinfo.c:
3368         * gio/gunixdrive.c:
3369         * gio/gvfs.c:
3370         * gio/gvolume.[ch]:
3371         * gio/inotify/inotify-diag.c:
3372         * gio/inotify/inotify-kernel.c:
3373         Various code cleanups from Kjartan Maraas
3374
3375 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3376
3377         * gio/gioscheduler.c:
3378         (init_scheduler):
3379         Set up threadpool so that we cache 2 unused
3380         idle threads for at 15 secs. This means we
3381         will reuse thread-local data (like dbus connections)
3382         for them.
3383
3384 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3385
3386         * gio/fam/fam-helper.c:
3387         * gio/fam/gfamdirectorymonitor.c:
3388         * gio/fam/gfamfilemonitor.c:
3389         * gio/gappinfo.c:
3390         * gio/gcontenttype.c:
3391         * gio/gdatainputstream.c:
3392         * gio/gdataoutputstream.c:
3393         * gio/gdummyfile.c:
3394         * gio/gfile.c:
3395         * gio/gfile.h:
3396         * gio/gfileattribute.h:
3397         * gio/gfileenumerator.c:
3398         * gio/gfileinfo.c:
3399         * gio/ginputstream.c:
3400         * gio/gioerror.h:
3401         * gio/glocalfile.c:
3402         * gio/glocalfileinfo.c:
3403         * gio/goutputstream.c:
3404         * gio/gpollfilemonitor.c:
3405         * gio/gsimpleasyncresult.c:
3406         * gio/gunixmounts.c:
3407         * gio/gunixmounts.h:
3408         * gio/inotify/ginotifydirectorymonitor.c:
3409         * gio/inotify/ginotifyfilemonitor.c:
3410         * gio/inotify/inotify-diag.c:
3411         * gio/inotify/inotify-kernel.c:
3412         * gio/inotify/inotify-path.c:
3413         * gio/test-gio.c:
3414         * gio/test-streams.c:
3415         * programs/gio-info.c:
3416         * programs/gio-monitor-dir.c:
3417         * programs/gio-monitor-file.c:
3418         Various code cleanups from Kjartan Maraas
3419
3420 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3421
3422         * gio/gdummyfile.c:
3423         Handle the uri-scheme calls for dummy files
3424
3425 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3426
3427         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3428         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3429         to avoid clash with the C++ keyword.
3430
3431 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3432
3433         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3434         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3435
3436 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3437
3438         * gio/glocaldirectorymonitor.c:
3439         * gio/glocalfilemonitor.c:
3440         * gio/gunionvolumemonitor.c:
3441         Don't use g_once_init_*() for initializations that could fail and
3442         could leave the initialization variable set to 0 but use GOnce.
3443         This prevents a deadlock on the second call when trying to create
3444         a monitor and no monitor type is available. Thanks to Sven Herzberg
3445         for reporting.
3446
3447 2007-11-11  Sven Herzberg  <sven@imendio.com>
3448
3449         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3450         #ifdef (make it work on MacOS X again)
3451
3452 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3453         * Changelog:
3454         Fixes Changelog for last two commits (sorry guys).
3455
3456 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3457         * gio/gappinfo.c:
3458         * gio/gbufferedinputstream.c:
3459         * gio/gdatainputstream.c:
3460         * gio/gfile.c:
3461         * gio/gfileoutputstream.c:
3462         * gio/gfilterinputstream.c:
3463         * gio/glocalfileinputstream.c:
3464         * gio/gurifuncs.c:
3465         * gio/gvfs.c:
3466         More consistency fixes in g*stream.c files. 
3467         Significant clean of gfile's documentation, filling in of 
3468         asynchronous operations documentation.
3469
3470 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3471         * gio/gappinfo.c:
3472         * gio/gasyncresult.c:
3473         * gio/gbufferedinputstream.c:
3474         * gio/gbufferedoutputstream.c:
3475         * gio/gcancellable.c:
3476         * gio/gcontenttype.c:
3477         * gio/gdatainputstream.c:
3478         * gio/gdataoutputstream.c:
3479         * gio/gdesktopappinfo.c:
3480         * gio/gdrive.c:
3481         * gio/gfile.c:
3482         * gio/gfileattribute.c:
3483         * gio/gio/gfileenumerator.c:
3484         * gio/gfileinfo.c:
3485         * gio/gfileinputstream.c:
3486         * gio/gfilemonitor.c:
3487         * gio/gfileoutputstream.c:
3488         * gio/ginputstream.c:
3489         * gio/giomodule.c:
3490         * gio/gioscheduler.c:
3491         * gio/gloadableicon.c:
3492         * gio/glocalfileoutputstream.c:
3493         * gio/gmemoryoutputstream.c:
3494         * gio/gmountoperation.c:
3495         * gio/goutputstream.c:
3496         * gio/gseekable.c:
3497         * gio/gsimpleasyncresult.c:
3498         * gio/gunionvolumemonitor.c:
3499         * gio/gunixmounts.c:
3500         * gio/gunixvolume.c:
3501         * gio/gurifuncs.c:
3502         * gio/gvfs.c:
3503         * gio/gvolume.c:
3504         * gio/gvolumemonitor.c:
3505         Updated documentation stubs, working towards consistency and 
3506         completeness.
3507
3508 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3509
3510         * gio/gmemoryoutputstream.c:
3511         * gio/gmemoryoutputstream.h:
3512         Change g_memory_output_stream_set_free_on_close() to
3513         g_memory_output_stream_set_free_data() as this makes more sense and
3514         is more consistent with GMemoryInputStream.
3515
3516 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3517
3518         * gio/gfile.c:
3519         Fix some docs
3520         
3521         * gio/glocalvfs.c:
3522         * gio/gvfs.[ch]:
3523         Change how we find the default vfs so that
3524         we can handle a gvfs failing to init
3525
3526 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3527
3528         * gio/gbufferedoutputstream.c:
3529         * gio/gdatainputstream.c:
3530         * gio/gdataoutputstream.c:
3531         * gio/gfileinputstream.c:
3532         * gio/gfileoutputstream.c:
3533         * gio/gfilterinputstream.c:
3534         * gio/gfilteroutputstream.c:
3535         * gio/ginputstream.c:
3536         * gio/gmemoryinputstream.c:
3537         * gio/gmemoryoutputstream.c:
3538         * gio/goutputstream.c:
3539         * gio/gsimpleasyncresult.c:
3540         * gio/gsocketinputstream.c:
3541         * gio/gsocketoutputstream.c:
3542         Add guards to the remaining public functions, add a TODO for
3543         an unimplemented function and remove some useless guards.
3544
3545 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3546
3547         * configure.ac:
3548         Autoconf checks for the various types of
3549         getpwuid_r and getgrgid_r
3550         
3551         * gio/glocalfileinfo.c:
3552         Use the autoconf checks from above
3553
3554 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3555
3556         * gio/glocalfile.c:
3557         (g_local_file_query_filesystem_info):
3558         Some fixes for the statvfs case
3559         
3560 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3561
3562         * gio/glocalfile.c:
3563         (g_local_file_query_filesystem_info):
3564         Pick the "best" of statfs / statvfs for the system
3565         if both are availible.
3566
3567 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3568
3569         Solaris fixes from Halton.Huo@Sun.COM:
3570         
3571         * gio/gdrive.c:
3572         * gio/gfile.c:
3573         * gio/gvolume.c:
3574         Don't return void
3575         
3576         * gio/glocalfileinfo.c:
3577         Fix for solaris definition of getpwuid_r
3578         
3579         * gio/test-streams.c:
3580         Use G_GNUC_PRETTY_FUNCTION
3581
3582 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3583
3584         * gio/gdesktopappinfo.c:
3585         (update_default_list):
3586         Remove double semicolon.
3587         Patch from Jens Granseuer
3588
3589 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3590
3591         * docs/reference/gio/gio-sections.txt:
3592         * gio/gbufferedinputstream.c:
3593         * gio/gbufferedinputstream.h:
3594         * gio/gdatainputstream.c:
3595         * gio/gfileenumerator.c:
3596         * gio/gioscheduler.c:
3597         * gio/gunionvolumemonitor.c:
3598         * gio/gvfs.c:
3599         * programs/gio-save.c:
3600         Fix typo: availible -> available. Unfortuntely this breaks API
3601         and ABI as g_buffered_input_stream_get_available() was renamed.
3602         
3603         * gio/gunixmounts.c:
3604         * gio/gbufferedinputstream.c:
3605         Add guards for public functions.
3606
3607 2007-11-06  Ross Burton  <ross@openedhand.com>
3608
3609         * docs/reference/gio/Makefile.am:
3610         Fix invalid += usage which automake 1.10 doesn't like.
3611
3612 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3613
3614         * gio/gappinfo.c:
3615         (g_app_launch_context_class_init):
3616         Fix warning
3617
3618         Patch from Ross Burton 
3619         
3620 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3621
3622         * configure.ac:
3623         Post release version bump
3624
3625 === gio-standalone 0.1.1 ===
3626
3627 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3628
3629         * configure.ac:
3630         Bump version to 0.1.1
3631         
3632         * gio/gsimpleasyncresult.c:
3633         (g_simple_async_result_set_from_error):
3634         Remove bogus g_return_if_fail
3635
3636 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3637
3638         * configure.ac:
3639         The name is gio-standalone
3640         
3641         * gio/Makefile.am:
3642         Add top src/builddir to includedir
3643
3644 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3645
3646         * docs/reference/gio/gio-sections.txt:
3647         * gio/gappinfo.c:
3648         * gio/gbufferedinputstream.c:
3649         * gio/gbufferedoutputstream.c:
3650         * gio/gcancellable.c:
3651         * gio/gdatainputstream.h:
3652         * gio/gdataoutputstream.c:
3653         * gio/gdataoutputstream.h:
3654         * gio/gdirectorymonitor.c:
3655         * gio/gfile.c:
3656         * gio/gfileattribute.c:
3657         * gio/gfileattribute.h:
3658         * gio/gfileenumerator.c:
3659         * gio/gfileenumerator.h:
3660         * gio/gfileinfo.c:
3661         * gio/gfileinfo.h:
3662         * gio/gfileinputstream.h:
3663         * gio/gfilemonitor.c:
3664         * gio/gfileoutputstream.h:
3665         * gio/glocalfilemonitor.h:
3666         * gio/glocalfileoutputstream.h:
3667         * gio/gmemoryinputstream.c:
3668         * gio/gmemoryoutputstream.c:
3669         * gio/gmountoperation.c:
3670         * gio/goutputstream.c:
3671         * gio/goutputstream.h:
3672         * gio/gseekable.h:
3673         * gio/gsimpleasyncresult.c:
3674         * gio/gunixmounts.c:
3675         * gio/gunixmounts.h:
3676         * gio/gurifuncs.h:
3677         * gio/inotify/inotify-helper.c:
3678         Fix gtk-doc warnings
3679
3680         Patch from Ross Burton 
3681         
3682 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3683
3684         * gio/gfilenamecompleter.c:
3685         (g_filename_completer_get_completions):
3686         fix warning
3687         
3688         * gio/gunixvolume.c:
3689         Remove unused function
3690
3691         Patches from Ross Burton 
3692
3693 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3694
3695         * gio/gdrive.h:
3696         * gio/gseekable.h:
3697         * gio/gvolume.h:
3698         Padding not needed for interfaces
3699
3700 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3701
3702         * gio/gfilemonitor.c:
3703         Remove debug spew
3704
3705         * gio/Makefile.am:
3706         Make giotypes.h an internal file
3707         
3708         * gio/gappinfo.h:
3709         * gio/gbufferedinputstream.h:
3710         * gio/gbufferedoutputstream.h:
3711         * gio/gcancellable.h:
3712         * gio/gdatainputstream.h:
3713         * gio/gdataoutputstream.h:
3714         * gio/gdirectorymonitor.c:
3715         * gio/gdirectorymonitor.h:
3716         * gio/gdrive.c:
3717         * gio/gdrive.h:
3718         * gio/gfile.c:
3719         * gio/gfile.h:
3720         * gio/gfileattribute.h:
3721         * gio/gfileenumerator.h:
3722         * gio/gfileicon.c:
3723         * gio/gfileicon.h:
3724         * gio/gfileinfo.c:
3725         * gio/gfileinfo.h:
3726         * gio/gfilemonitor.c:
3727         * gio/gfilemonitor.h:
3728         * gio/gfilenamecompleter.c:
3729         * gio/gfilenamecompleter.h:
3730         * gio/gfilterinputstream.h:
3731         * gio/gfilteroutputstream.h:
3732         * gio/ginputstream.h:
3733         * gio/gmemoryinputstream.h:
3734         * gio/gmemoryoutputstream.h:
3735         * gio/gmountoperation.c:
3736         * gio/gmountoperation.h:
3737         * gio/gnativevolumemonitor.c:
3738         * gio/goutputstream.h:
3739         * gio/gseekable.c:
3740         * gio/gseekable.h:
3741         * gio/gsimpleasyncresult.c:
3742         * gio/gsimpleasyncresult.h:
3743         * gio/gsocketinputstream.h:
3744         * gio/gsocketoutputstream.h:
3745         * gio/gthemedicon.c:
3746         * gio/gthemedicon.h:
3747         * gio/gvfs.h:
3748         * gio/gvolume.c:
3749         * gio/gvolume.h:
3750         * gio/gvolumemonitor.c:
3751         * gio/gvolumemonitor.h:
3752         Add padding in classes where it seems useful
3753         Don't include giotypes.h from public headers
3754         Move in Class definitions into c file where possible
3755         
3756         * gio/glocalfile.c:
3757         Fix warnings
3758
3759 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3760
3761         * docs/reference/gio/gio-docs.xml:
3762         Better structure for API docs
3763
3764 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3765
3766         * gio/gfileicon.c:
3767         * gio/gloadableicon.c:
3768         * gio/gsimpleasyncresult.c:
3769         * gio/gthemedicon.c:
3770         Add some more guards to public functions. Only files missing are now
3771         g*stream*.c.
3772
3773 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3774
3775         * docs/reference/gio/gio-docs.xml:
3776         Remove old files, add missing ones
3777
3778 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3779
3780         * docs/reference/gio/gio-sections.txt:
3781         Restructure
3782         Add missing stuff
3783         Hide implementation classes
3784         
3785         * gio/gdriveprivate.h:
3786         * gio/gvolumeprivate.h:
3787         Remove non-existing function declarations
3788
3789 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3790
3791         * gio/gappinfo.c:
3792         Fix compilation warnings and add guards to the new functions.
3793         
3794         * gio/gasyncresult.c:
3795         * gio/gdummyfile.c:
3796         Add guards to the public functions.
3797         
3798         * gio/gdummyfile.c:
3799         Implement get_path().
3800
3801 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3802
3803         * gio/gfilenamecompleter.c:
3804         Make g_filename_completer_get_completions
3805         return char ** instead of GList for
3806         typesafety.
3807         
3808         * docs/reference/gio/gio-docs.xml:
3809         * docs/reference/gio/gio-sections.txt:
3810         * gio/gappinfo.c:
3811         * gio/gasyncresult.c:
3812         * gio/gbufferedinputstream.c:
3813         * gio/gbufferedoutputstream.c:
3814         * gio/gcancellable.c:
3815         * gio/gcontenttype.c:
3816         * gio/gdatainputstream.c:
3817         * gio/gdataoutputstream.c:
3818         * gio/gdesktopappinfo.c:
3819         * gio/gdirectorymonitor.c:
3820         * gio/gdrive.c:
3821         * gio/gdummyfile.c:
3822         * gio/gfile.c:
3823         * gio/gfileattribute.c:
3824         * gio/gfileenumerator.c:
3825         * gio/gfileicon.c:
3826         * gio/gfileinfo.c:
3827         * gio/gfileinputstream.c:
3828         * gio/gfilemonitor.c:
3829         * gio/gfilenamecompleter.c:
3830         * gio/gfilenamecompleter.h:
3831         * gio/gfileoutputstream.c:
3832         * gio/gfilterinputstream.c:
3833         * gio/gicon.c:
3834         * gio/ginputstream.c:
3835         * gio/giomodule.c:
3836         * gio/gioscheduler.c:
3837         * gio/gloadableicon.c:
3838         * gio/glocaldirectorymonitor.c:
3839         * gio/glocalfile.c:
3840         * gio/glocalfileinputstream.c:
3841         * gio/glocalfilemonitor.c:
3842         * gio/glocalfileoutputstream.c:
3843         * gio/glocalvfs.c:
3844         * gio/gmemoryinputstream.c:
3845         * gio/gmemoryoutputstream.c:
3846         * gio/gmountoperation.c:
3847         * gio/goutputstream.c:
3848         * gio/gpollfilemonitor.c:
3849         * gio/gseekable.c:
3850         * gio/gsimpleasyncresult.c:
3851         * gio/gsocketinputstream.c:
3852         * gio/gsocketoutputstream.c:
3853         * gio/gthemedicon.c:
3854         * gio/gunionvolumemonitor.c:
3855         * gio/gunixdrive.c:
3856         * gio/gunixmounts.c:
3857         * gio/gunixvolume.c:
3858         * gio/gunixvolumemonitor.c:
3859         * gio/gurifuncs.c:
3860         * gio/gvfs.c:
3861         * gio/gvolume.c:
3862         * gio/gvolumemonitor.c:
3863         * gio/gwin32appinfo.c:
3864         Add (mostly stub) doc strings to public functions.
3865         Patch from Andrew Walton (awalton@gmail.com)
3866
3867 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3868
3869         * gio/gappinfo.[ch]:
3870         Added GAppLaunchContext object and pass that to launch.
3871         This allows simple implementation of both
3872         launch-on-screen and startup notification via a gtk+
3873         subclass of GAppLaunchContext
3874         
3875         * gio/gdesktopappinfo.c:
3876         Implement GAppLaunchContext API
3877         
3878         * gio/gwin32appinfo.c:
3879         Update to new APIs
3880
3881 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3882
3883         * gio/gmountoperation.c:
3884         Add some guards to GMountOperation's public functions.
3885
3886 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3887
3888
3889         * gio/gappinfo.c:
3890         * gio/gcancellable.c:
3891         * gio/gdirectorymonitor.c:
3892         * gio/gdrive.c:
3893         * gio/gfileenumerator.c:
3894         * gio/gfilemonitor.c:,
3895         * gio/gfilenamecompleter.c:
3896         * gio/gicon.c:
3897         * gio/giomodule.c:
3898         * gio/gioscheduler.c:
3899         * gio/gseekable.c:
3900         * gio/gurifuncs.c:
3901         * gio/gvolume.c:
3902         * gio/gvolumemonitor.c:
3903         Add even more guards to various public functions.
3904
3905 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3906
3907         * gio/gappinfo.c:
3908         Add guards to the public functions of GAppInfo.
3909
3910 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3911
3912         * gio/gcontenttype.c:
3913         Add some more guards for public functions.
3914
3915 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3916
3917         * gio/fam/fam-module.c:
3918         * gio/fam/gfamdirectorymonitor.c:
3919         * gio/fam/gfamdirectorymonitor.h:
3920         * gio/fam/gfamfilemonitor.c:
3921         * gio/fam/gfamfilemonitor.h:
3922         * gio/inotify/ginotifydirectorymonitor.c:
3923         * gio/inotify/ginotifydirectorymonitor.h:
3924         * gio/inotify/ginotifyfilemonitor.c:
3925         * gio/inotify/ginotifyfilemonitor.h:
3926         Add proper copyright information and remove an unused variable
3927         in the GInotifyFileMonitor constructor.
3928
3929         * gio/gcancellable.c:
3930         Add a guard for a public function and an assertion to prevent
3931         an undefined program state.
3932
3933 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3934
3935         * gio/gfileattribute.c:
3936         Don't run into an assertion if the given attribute value is NULL
3937         in g_file_attribute_value_get_*() but instead return a fallback
3938         value that makes sense in most situations. Passing them a attribute
3939         value with the wrong type will still run into an assertion.
3940
3941 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3942
3943         * gio/gfileattribute.c:
3944         * gio/gfileinfo.c:
3945         Add even more guards to the public functions. Also fix the refcounting
3946         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3947         let g_file_info_list_attributes() filter the attributes by namespace
3948         instead of simply ignoring the namespace parameter.
3949
3950 2007-11-03  Sven Herzberg  <sven@imendio.com>
3951
3952         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3953         (This makes gio work on MacOS X again)
3954
3955 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3956
3957         * Makefile.am:
3958         Build the gio subdirectory before the docs. Otherwise the build will
3959         fail.
3960
3961         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3962         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3963         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3964         Add guards to the public functions.
3965
3966 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3967
3968         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3969         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3970         to prevent a compiler warning.
3971
3972         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3973         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3974         return something in the non-void function find_topdir_for().
3975
3976 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
3977
3978         * configure.ac:
3979         * Makefile.am:
3980         * docs/:
3981         Gtkdocify!
3982
3983 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
3984
3985         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3986         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3987         * gwin32appinfo.c (g_win32_app_info_launch):
3988         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3989         envp_for_startup_id, g_desktop_app_info_launch,
3990         g_desktop_app_info_launch_uris):
3991
3992         Give an opaque 'startup_id' string instead of 'envp'.
3993         Support empty file lists for launching new windows.
3994         Fix infinite recursion bug when launching URIs.
3995
3996 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3997
3998         * gio/gfile.c:
3999         Add guard to the new g_file_get_uri_scheme() function.
4000
4001 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4002
4003         * gio/gfile.c:
4004         Convert a g_return_val_if_fail() to setting the GError instead as
4005         otherwise applications have to verify the parameter before otherwise
4006         and the parameter might come directly from the user.
4007
4008 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4009
4010         * gio/inotify/ginotify*.[ch]:
4011         Add missing copyright information.
4012
4013 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4014
4015         * gio/gfile.c:
4016         Add guards in the beginning of public functions to check for valid
4017         parameters and fix a bug in copy_stream_with_progress() that could've
4018         caused writing less bytes than reading.
4019         * gio/glocalfileinfo.c:
4020         Check for a NULL parameter and set the GError accordingly then.
4021         * gio/goutputstream.c:
4022         Fix the same bug as in gfile.c that could've caused writing less bytes
4023         than reading in g_output_stream_real_splice().
4024
4025 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
4026
4027         * gio/Makefile.am:
4028         Use the correct gvolumeprivate.h naming
4029
4030 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4031
4032         * gio/Makefile.am:
4033         Remove leftover "$(daemon_sources)" entry.
4034
4035 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4036
4037         * gio/fam/*.[ch]:
4038         * gio/*.[ch]:
4039         * programs/*.[ch]:
4040         Add copyright information to source files.
4041
4042 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4043
4044         * gio/gfile.[ch]:
4045         * gio/glocalfile.c:
4046         Add g_file_get_uri_scheme
4047
4048 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4049
4050         * gio/gappinfo.h:
4051         * gio/gdesktopappinfo.c:
4052         * gio/gwin32appinfo.c:
4053         Add g_app_info_get_default_for_uri_scheme.
4054
4055 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4056
4057         * gio/Makefile.am:
4058         Correct filename for gdriveprivate.h
4059
4060 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4061
4062         * gio/gfileinfo.h:
4063         Rename id:value to id:file
4064         Add id:fs
4065         
4066         * gio/glocalfileinfo.c:
4067         Implement id:fs
4068
4069 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4070
4071         * gio/gunixvolume.c:
4072         * gio/gvolume.[ch]:
4073         Remove g_volume_get_platform_id, as thats not
4074         needed with the simpler union volume monitor
4075
4076 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4077
4078         * gio/Makefile.am:
4079         * gio/guniondrive.[ch]: Removed.
4080         * gio/gunionvolume.[ch]: Removed.
4081         Remove GUnionDrive/Volume
4082
4083         * gio/gunionvolumemonitor.c:
4084         Simplify union volume monitor, now we
4085         only have one native volume monitor and
4086         we use the actual volumes/drives from the
4087         child monitors instead of wrapping them
4088
4089         * gio/gnativevolumemonitor.[ch]:
4090         Base class for native volume monitors.
4091         Includes priority and get_volume_for_mountpoint
4092         
4093         * gio/gfile.[ch]:
4094         Add g_file_find_enclosing_volume
4095
4096         * gio/gfileinfo.h:
4097         Remove volume name fs attribute
4098         Add readonly fs attribute
4099         
4100         * gio/glocalfile.c:
4101         Implement readonly attribute
4102         remove volume name attribute
4103         Implement find_enclosing volume
4104         
4105         * gio/gunixmounts.c:
4106         Add a volume for "/".
4107         
4108         * gio/gunixvolume.[ch]:
4109         Set better name for /
4110         
4111         * gio/gunixvolumemonitor.[ch]:
4112         Derive from GNativeVolumeMonitor
4113         Implement get_volume_for_mountpoint
4114         
4115         * gio/gvolume.h:
4116         GVolume typedef moved to gfile.h
4117         
4118         * gio/gvolumeprivate.h:
4119         Add g_volume_get_for_mount_path
4120
4121 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4122
4123         * gio/gunixmounts.[ch]:
4124         Add cache info to unix mount listers
4125         Make getmntent use threadsafe
4126         Add is_system_internal attribute for GUnixMount
4127         
4128         * gio/gunixvolume.c:
4129         (g_unix_volume_new):
4130         Use is_system_internal instead of own code
4131         
4132         * gio/glocaldirectorymonitor.c:
4133         * gio/gunixvolumemonitor.c:
4134         Update to new gunixmounts API
4135         
4136         * gio/glocalfile.c:
4137         Fix warning
4138
4139 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4140
4141         * gio/gfileinfo.h:
4142         Add volume name fsinfo attribute
4143         
4144         * gio/glocalfile.c:
4145         Read volume name info
4146         
4147         * gio/gunionvolumemonitor.c:
4148         Fix infinite loops when finalizing a union volume monitor
4149
4150 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4151
4152         * gio/goutputstream.[ch]:
4153         Add splice() with default implementation
4154         
4155         * gio/gsocketoutputstream.c:
4156         (g_socket_output_stream_write):
4157         Return error on cancellation correctly.
4158         
4159 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4160
4161         * gio/glocalfile.c (g_local_file_trash):
4162         Do not leak a string.
4163
4164 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4165
4166         * gio/gfile.c (g_file_load_contents):
4167         Unref the stream after closing it.
4168
4169 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4170
4171         * gio/gioscheduler.h:
4172         Fix include
4173
4174 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4175
4176         * gio/gfile.[ch]:
4177         * gio/glocalfile.c:
4178         Add g_file_has_uri_scheme and implement for local files
4179
4180 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
4181
4182         * gio/gdesktopappinfo.c: do not leak a string.
4183
4184 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4185
4186         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4187         (g_local_directory_monitor_new):
4188         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4189         (g_local_file_monitor_new):
4190         Only look for the monitor type that should be used the first time
4191         and use g_qsort_with_data() instead of our own bubble sort
4192         implementation.
4193
4194 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4195
4196         * gio/Makefile.am:
4197         * gio/fam/Makefile.am:
4198         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4199         * gio/fam/fam-helper.h:
4200         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4201         * gio/fam/gfamdirectorymonitor.c:
4202         * gio/fam/gfamdirectorymonitor.h:
4203         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4204         * gio/fam/gfamfilemonitor.h:
4205         * gio/glocaldirectorymonitor.c:
4206         * gio/glocaldirectorymonitor.h:
4207         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4208         * gio/glocalfilemonitor.h:
4209         * gio/inotify/Makefile.am:
4210         * gio/inotify/ginotifydirectorymonitor.c:
4211         * gio/inotify/ginotifydirectorymonitor.h:
4212         * gio/inotify/ginotifyfilemonitor.c:
4213         * gio/inotify/ginotifyfilemonitor.h:
4214         Implement the FAM and Inotify monitors as
4215         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4216         their own GIO module. GLocal(Directory|File)Monitor will use the
4217         monitor with the highest rank that is supported on that machine.
4218
4219 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
4220
4221         * gio/Makefile.am:
4222         Change GIO module dir to $(libdir)/gio/modules and change
4223         the log domain from GVFS to GIO. Also only export symbols starting
4224         with g_ in the resulting library.
4225         * gio/test-streams.c: (main):
4226         Set log handler for the GIO log domain.
4227
4228 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4229
4230         * gio/gfilenamecompleter.[ch]:
4231         Add g_filename_completer_set_dirs_only
4232
4233 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4234
4235         * gio/Makefile.am:
4236         * gio/gurifuncs.[ch]:
4237         Add some simple URI helpers
4238         
4239         * gio/gfilenamecompleter.[ch]:
4240         Added object for filename (parse name actually) completion
4241         
4242         * gio/glocalvfs.c:
4243         Handle ~ in parse names
4244
4245 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4246
4247         * gio/gfileinfo.h:
4248         * gio/glocalfileinfo.c:
4249         Add and implement id:value attribute
4250
4251 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4252
4253         * gio/gdrive.[ch]:
4254         * gio/guniondrive.c:
4255         * gio/gunixdrive.c:
4256         Add and implement g_drive_has_volumes
4257         
4258 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4259
4260         * gio/gfileinfo.h:
4261         * gio/glocalfileinfo.[ch]:
4262         Add unix:is_mountpoint and implement for local files
4263
4264 2007-10-16  Alexander Larsson  <alexl@redhat.com>
4265
4266         * gio/gunionvolumemonitor.c:
4267         (g_union_volume_monitor_init):
4268         Fix up the unix type getting so that it works with gcc
4269         
4270 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4271
4272         * gio/gfileinfo.h:
4273         * gio/glocalfileinfo.c:
4274         Add thumbnail:failed to file info
4275
4276 2007-10-12  Richard Hult  <richard@imendio.com>
4277
4278         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4279         optimizing away the get_type call (happens with some gcc versions,
4280         like the one shipped with OS X 10.4).
4281
4282 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4283
4284         * gio/glocalfileinfo.c:
4285         (_g_local_file_info_set_attribute):
4286         Fix build if not HAVE_XATTR
4287         Patch from Milosz Derezynski <internalerror@gmail.com>
4288
4289 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
4290
4291         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4292         around for review, otherwise I would have asked you before
4293         committing)
4294
4295 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4296
4297         * gio/gfileinfo.h:
4298         Add thumbnail:path attribute
4299         
4300         * gio/glocalfileinfo.c:
4301         Implement thumbnail:path for local files
4302
4303 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4304
4305         * gio/glocalfileinfo.c:
4306         (_g_local_file_info_get):
4307         Avoid duplicate icon names
4308
4309 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4310
4311         * gio/gthemedicon.[ch]:
4312         Change g_themed_icon_get_names return type to const
4313
4314 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4315
4316         * gio/glocalfileinfo.c:
4317         Don't reference freed memory
4318
4319 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4320
4321         * gio/gfileattribute.c:
4322         Handle objects
4323         
4324         * gio/glocalfileinfo.c:
4325         Return icon info
4326
4327 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4328
4329         * gio/gfileinfo.c:
4330         Check for NULL icons
4331
4332         * gio/gfileattribute.c:
4333         Don't dup when getting objects (same as for string attributes)
4334
4335         * gio/gicon.c (g_icon_equal):
4336         Safely handle NULLs in equal
4337
4338 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4339
4340         * gio/gfileinfo.h:
4341         Fix c++ compilation issues
4342         Patch from Milosz Derezynski <internalerror@gmail.com>
4343
4344 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4345
4346         * programs/gio-monitor-dir.c:
4347         Don't crash if dir monitor not supported.
4348
4349 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4350
4351         * gio/gioerror.h:
4352         Add missing G_END_DECLS
4353
4354 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4355
4356         * gio/gfile.c: (g_file_set_display_name),
4357         (g_file_query_settable_attributes),
4358         (g_file_query_writable_namespaces):
4359         Return NULL not FALSE on errors as the return type is a pointer.
4360
4361 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         * gio/glocalfile.c: (g_local_file_monitor_file):
4364         Don't call monitor_file on the default interface vtable (which
4365         is NULL) but simply return NULL. The caller, GFile, will create a
4366         polling monitor if NULL is returned.
4367
4368 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4369
4370         * Makefile.am:
4371         * configure.ac:
4372         * gio-unix-2.0.pc.in:
4373         Add gio-unix-2.0.pc if OS_UNIX
4374         
4375         * gio/Makefile.am:
4376         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4377
4378 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4379
4380         * gio/gunixmounts.[ch]:
4381         Make unix mount monitoring API sane.
4382         Now its just a object with mounts_changed
4383         and mountpoints_changed signals.
4384         
4385         * gio/glocaldirectorymonitor.c:
4386         * gio/gunixvolumemonitor.c:
4387         Use new mount monitor api
4388
4389 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4390
4391         * gio/gunixmounts.[ch]:
4392         Move guess type into one call for mounts and one for mountpoints
4393         
4394         * gio/gunixdrive.c:
4395         * gio/gunixvolume.c:
4396         Update
4397
4398 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4399
4400         * gio/gunixmounts.[ch]:
4401         Remove _ prefix in preparation to make this semi-public
4402         Hide implementation of structs
4403         
4404         * gio/glocaldirectorymonitor.c:
4405         * gio/gunixdrive.c:
4406         * gio/gunixvolume.c:
4407         * gio/gunixvolumemonitor.c:
4408         Update for above API changes
4409
4410 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4411
4412         * gio/gfile.c:
4413         Better polling fallback. This also handles the case where we have
4414         a monitor_file implementation, but it fails.
4415
4416 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4417
4418         * gio/gfile.[ch]:
4419         * gio/glocalfile.c:
4420         * gio/gunixmounts.c:
4421         * programs/gio-monitor-dir.c:
4422         * programs/gio-monitor-file.c:
4423         Added cancellable to file monitoring calls.
4424         These are really sync calls and need this.
4425
4426 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4427
4428         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4429         (g_local_vfs_class_init):
4430         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4431         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4432
4433 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4434
4435         * gio/gdirectorymonitorprivate.h: 
4436         * gio/gfilemonitorprivate.h: 
4437         * gio/gdirectorymonitor.h:
4438         * gio/gfilemonitor.h:
4439         Remove *private.h and move to the public API, so that
4440         we can do implementations outside gio (such as in gvfs)
4441         
4442         * gio/gdirectorymonitor.c:
4443         * gio/gfilemonitor.c:
4444         * gio/glocaldirectorymonitor.c:
4445         * gio/gpollfilemonitor.c:
4446         * gio/inotify/inotify-helper.c:
4447         * gio/fam/fam-helper.c:
4448         Update to the new header names
4449
4450 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4451
4452         * gio/gdirectorymonitor.c:
4453         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4454         GTypes as abstract.
4455
4456 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4457
4458         * gio/glocalfileinfo.c (get_access_rights):
4459         Set CAN_TRASH when we can move the file.
4460         We should really also check for a parent trash dir.
4461
4462 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4463
4464         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4465         Add can_trash access attribute
4466
4467 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4468
4469         * gio/glocalfile.c:
4470         (g_local_file_trash):
4471         Create info file first. This is per-spec and allows
4472         us to actually trash directories.
4473
4474 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4475
4476         * gio/gdesktopappinfo.c:
4477         Implement the new mime support code.
4478         Always set app as handling mimetype when being set as default for it
4479
4480 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4481
4482         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4483         Fix up check for xattrs:
4484
4485 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4486
4487         * gio/gappinfo.c:
4488         (g_app_info_set_as_default_for_extension):
4489         (g_app_info_add_supports_type):
4490         (g_app_info_can_remove_supports_type):
4491         (g_app_info_remove_supports_type):
4492         Make these fail nicely if not implemented
4493
4494 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4495
4496         * gio/glocalfileoutputstream.c:
4497         * gio/glocalfileoutputstream.h:
4498         * gio/test-gio.c:
4499         * gio/gfile.c:
4500         * gio/gfile.h:
4501         * gio/glocalfile.c:
4502         * programs/gio-save.c: 
4503         Add a GFileCreateFlags argument to operations that can create
4504         a new file.
4505
4506 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4507
4508         * gio/gappinfo.[ch]:
4509         * gio/gdesktopappinfo.c:
4510         Add more (stubbed out) mime API needed for nautilus
4511
4512 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4513
4514         * gio/gappinfo.h:
4515         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4516         Add g_app_info_set_as_default_for_extension.
4517         
4518         * gio/gdesktopappinfo.c:
4519         Dummy for g_app_info_set_as_default_for_extension
4520         Support flags in g_app_info_create_from_commandline
4521
4522         * gio/gwin32appinfo.c:
4523         * gio/test-gio.c:
4524         Update for API changes
4525         
4526         * gio/gthemedicon.c:
4527         Properly NULL-terminate list of icon names
4528
4529 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4530
4531         * gio/gloadableicon.h:
4532         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4533
4534 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4535
4536         * gio/Makefile.am:
4537         Install headers in $includedir/gio-standalone/
4538         
4539         * gio-2.0.pc.in: Added.
4540         * gio-standalone.pc.in: Removed.
4541         * configure.ac:
4542         * Makefile.am:
4543         Renamed pkg-config file to match glib (for future move)
4544         Update to the new include dir
4545         
4546         * gio/gappinfo.h:
4547         Add more TODO comments
4548
4549 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4550
4551         * gio/gdesktopappinfo.[ch]:
4552         Expose new_from_filename
4553         Add getter for is_hidden and handle it better
4554
4555 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4556
4557         * gio/gfileinfo.[ch]:
4558         Rename g_file_size_format_for_display to
4559         g_format_file_size_for_display.
4560         Now it doesn't have the g_file prefix, so we
4561         can later move it to glib.
4562
4563 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4564
4565         * gio/gappinfo.[ch]:
4566         Add g_app_info_get_id and g_app_info_get_executable.
4567         Make all getters non-reffing
4568         Make g_app_info_launch take GFile arguments.
4569         Add must_support_uris argument to g_app_info_get_default_for_type.
4570         
4571         * gio/gwin32appinfo.c:
4572         Update to GAppInfo api changes
4573         
4574         * gio/gdesktopappinfo.c:
4575         Update to GAppInfo api changes
4576         Implement supports_xdg_startup_notify
4577         
4578         * gio/gfileicon.c (g_file_icon_get_file):
4579         Make getter non-reffing.
4580         
4581         * gio/test-gio.c:
4582         Update to new API
4583
4584 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4585
4586         * gio/gfileinfo.[ch]: 
4587         Add g_file_size_format_for_display helper
4588         
4589 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4590
4591         * gio/glocalfileinfo.c:
4592         Set UNIX_GID from gid, not from uid
4593
4594 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4595
4596         * gio/gfile.[ch]:
4597         Add g_file_set_attributes_async
4598
4599 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4600
4601         * gio/glocalfile.c (g_local_file_set_display_name):
4602         Fix set_display_name to actually rename to the right place.
4603         Use lstat to look for existing files so we don't overwrite
4604         broken links.
4605
4606 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4607
4608         * gio/gfile.[ch]:
4609         Add g_file_set_display_name_async()
4610
4611 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4612
4613         * gio/gfile.[ch]:
4614         Add load_partial_contents async calls
4615         
4616         * gio/glocalfile.c:
4617         Make internal function static
4618
4619 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4620
4621         * gio/glocalfileinfo.c:
4622         Correctly detect broken symlinks
4623
4624 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4625
4626         * gio/gcancellable.c (g_cancellable_cancel):
4627         Allow cancel on NULL cancellable
4628
4629 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4630
4631         * gio/gsimpleasyncresult.c:
4632         Don't allocate g_error manually.
4633         Fixes g_slice/g_new mixup crash
4634
4635 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4636
4637         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4638         Actually set active_backend.
4639         This means the monitor will be cancelled correctly.
4640
4641 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4642
4643         * gio/gdirectorymonitor.c:
4644         Set timeout to NULL when destroying
4645
4646 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4647
4648         * gio/gioerror.h:
4649         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4650         that is a better description of the error.
4651
4652 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
4653
4654         * gio/gvfs.c: (g_vfs_get_local):
4655         Make the local vfs variable static. The same instance should
4656         always be returned.
4657
4658 2007-09-24  Alexander Larsson  <alexl@redhat.com>
4659
4660         * gio/glocalfileinfo.c:
4661         Pass in actual length read into sniffer, not the length
4662         we tried to read.
4663
4664 2007-09-21  Alexander Larsson  <alexl@redhat.com>
4665
4666         * gio/gfileenumerator.c:
4667         * gio/gfileinfo.c:
4668         * gio/gfileinfo.h:
4669         * gio/gfileinputstream.c:
4670         * gio/gfileoutputstream.c:
4671         * gio/ginputstream.c:
4672         * gio/goutputstream.c:
4673         Don't crash if async callbacks are NULL
4674
4675 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4676
4677         * gio/gfile.[ch]:
4678         Add async enumerate_children method and default
4679         implementation
4680
4681 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4682
4683         * gio/gfile.[ch]
4684         Add g_file_contains_file & g_file_get_relative_path, since they
4685         were needed for nautilus.
4686         Renamed g_file_resolve_relative to g_file_resolve_relative_path
4687         to make it clearer.
4688         
4689         * gio/gdummyfile.c:
4690         * gio/glocalfile.c:
4691         Implement new methods
4692
4693 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4694
4695         * gio/gfile.[ch]:
4696         * gio/gfileinputstream.[ch]:
4697         * gio/gfileoutputstream.[ch]:
4698         * gio/glocalfile.c:
4699         * gio/glocalfileenumerator.[ch]:
4700         * gio/glocalfileinfo.[ch]:
4701         * gio/glocalfileinputstream.c:
4702         * gio/glocalfileoutputstream.c:
4703         * gio/gpollfilemonitor.c:
4704         * programs/gio-copy.c:
4705         * programs/gio-info.c:
4706         * programs/gio-move.c:
4707         Rename get_file_info to query_info() to make it clearer
4708         that these are not simple getters, but do i/o.
4709
4710 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4711
4712         * gio/gdatainputstream.[ch]:
4713         * gio/test-streams.c:
4714         Use _read_XXX instead of _get_XXX for the i/o calls
4715         in GDataInputStream
4716
4717 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4718
4719         * gio/gappinfo.h:
4720         Added needed stuff to TODO comment
4721
4722 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4723
4724         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4725         Don't error out removing the backup copy if it doesn't
4726         already exist.
4727
4728 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4729
4730         * programs/Makefile.am:
4731         * programs/gvfs-*.c: 
4732         * programs/gio-*.c:
4733         Renamed apps from gvfs-xxx to gio-xxx.
4734
4735 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4736
4737         * gio/gfile.c:
4738         * gio/gfileoutputstream.[ch]:
4739         * gio/glocalfileoutputstream.c:
4740         * programs/gvfs-save.c:
4741         g_file_output_stream_get_etag doesn't do i/o, so remove
4742         cancellation and error.
4743
4744 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4745
4746         * gio/gfile.[ch]:
4747         Add new_etag output to replace_contents functions
4748
4749 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4750
4751         * gio/gfileoutputstream.[ch]:
4752         Add async get_file_info and default implementation
4753
4754 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4755
4756         * gio/gfileinputstream.c:
4757         Implement fallback wrapper for async get_file_info
4758
4759 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4760
4761         * gio/gfile.[ch]:
4762         Add etag out argument to load_contents
4763         
4764         * gio/test-gio.c:
4765         Update to new API
4766
4767 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4768
4769         * gio/gcontenttype.c (looks_like_text):
4770         Whitespace like tab, cr and lf do not make the
4771         file binary.
4772
4773 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4774
4775         * gio/gfileinputstream.[ch]:
4776         Add async get_file_info.
4777
4778 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4779
4780         * gio/goutputstream.c (g_output_stream_write_all):
4781         Allow NULL for bytes_written
4782
4783 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4784
4785         * gio/gmemoryinputstream.[ch]:
4786         Add accessors for data
4787
4788 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4789
4790         * gio/gdatainputstream.c (g_data_input_stream_get_until):
4791         Don't crash if length is NULL
4792