Add g_drive_get_identifier and g_drive_enumerate_identifiers
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2
3         * gdrive.[ch]:
4         Add g_drive_get_identifier and
5         g_drive_enumerate_identifiers
6
7         * gvolume.[ch]:
8         Add g_volume_get_identifier and
9         g_volume_enumerate_identifiers
10         
11         * gio.symbols:
12         Add symbols
13         
14         * gunixvolume.c:
15         Implement identifiers for unix backend
16
17 2008-01-24  Alexander Larsson  <alexl@redhat.com>
18
19         * gfile.[ch]:
20         * gfile.h:
21         * gio.symbols:
22         Add g_file_copy_async() (#511580)
23         Based on patch from Carlos Garcia Campos
24
25 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
26
27         * gioscheduler.c: Some documentation additions.
28
29 2008-01-22  Alexander Larsson  <alexl@redhat.com>
30
31         * gdesktopappinfo.c:
32         (g_desktop_app_info_new):
33         Don't leak basename.
34         
35 2008-01-22  Alexander Larsson  <alexl@redhat.com>
36
37         * gdesktopappinfo.c:
38         (g_desktop_app_info_new_from_filename):
39         Don't leak GKeyFile
40
41 2008-01-22  Alexander Larsson  <alexl@redhat.com>
42
43         * glocalfileinfo.c (get_thumbnail_attributes):
44         Fix leak of uri
45
46 2008-01-22  Alexander Larsson  <alexl@redhat.com>
47
48         * glocalfile.c:
49         (canonicalize_filename):
50         Canonicalize paths that start with more than
51         two slashes.
52         
53         * tests/g-file.c:
54         (compare_two_files):
55         (test_g_file_new_for_path):
56         Test the above
57
58 2008-01-22  Alexander Larsson  <alexl@redhat.com>
59
60         * glocalfile.c:
61         Allow UTF-8 in file:// parse names.
62         
63         * tests/Makefile.am:
64         * tests/data-input-stream.c:
65         * tests/data-output-stream.c:
66         * tests/g-file-info.c:
67         * tests/g-file.c:
68         Added a bunch of tests from Tomas Bzatek
69
70 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
71
72         * === Released 2.15.3 ===
73
74 2008-01-21  Alexander Larsson  <alexl@redhat.com>
75
76         * gfileinputstream.[ch]:
77         * gfileoutputstream.[ch]:
78         * gio.symbols:
79         Remove duplicated GSeekable functions. (#509990)
80         Just use the g_seekable_xxx() calls instead.
81
82 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
83
84         * glocal*.c:
85         * gvolumemanager.c: Whitespace cleanups.
86
87         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
88         Use the right mode when creating the file.
89
90 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
91
92         * gfileenumerator.c:
93         * gfileinputstream.c:
94         * ginputstream.c:
95         * goutputstream.c: Documentation: Fixed minor typos 
96         and added more mentions of specific _finish() functions.
97
98 2008-01-21  Alexander Larsson  <alexl@redhat.com>
99
100         * inotify/Makefile.am:
101         * inotify/inotify-helper.c:
102         * inotify/inotify-kernel.c:
103         * inotify/inotify-path.c:
104         * inotify/local_inotify.h: Removed.
105         * inotify/local_inotify_syscalls.h: Removed.
106         Removed the included copies of the inotify
107         headers. We now only use the <sys/inotify.h>
108         header which exists on modern systems.
109         This fixes problems on ARM and SH5 (#510448)
110         but is also generally much cleaner and future
111         safe. For instance, if other OSes add support
112         for inotify it should "just work".
113
114 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
115
116         * inotify/*.c: Coding style fixes.
117         * inotify/inotify-missing.c: Use g_timeout_add_seconds
118         for the 1/4 Hz timer.
119
120 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
121
122         * gfile.c:
123         * gfilemonitor.[hc]:
124         * gmemoryinputstream.c:
125         * gmemoryoutputstream.c:
126         * gmountoperation.c:
127         * gthemedicon.c: Documentation updates
128
129 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
130
131         * gfile.c: documentation: Fixed more minor 
132         typos.
133
134 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
135
136         * gmount.c: (g_mount_remount): documentation: 
137         Mention g_mount_remount_finish() instead of 
138         g_mount_unmount_finish().
139
140 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
141
142         * gappinfo.c:
143         * gcancellable.c:
144         * gfile.c: Fixed some minor typos in the 
145         documentation. 
146
147 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
148
149         * gio/gvolumemonitor.c: 
150         (g_volume_monitor_get_connected_drives): 
151         (g_volume_monitor_get_volumes): 
152         (g_volume_monitor_get_mounts): Documentation: 
153         Clarify the ownership of the regurn GLists.
154
155 2008-01-17  Alexander Larsson  <alexl@redhat.com>
156
157         * gfile.h:
158         Add the async find_enclosing_mount version
159         to the header file too.
160
161 2008-01-17  Alexander Larsson  <alexl@redhat.com>
162
163         * gfile.c:
164         Add async version of find_enclosing_mount
165         with default implementation.
166
167 2008-01-17  Alexander Larsson  <alexl@redhat.com>
168
169         * gfile.c:
170         (g_file_copy):
171         (g_file_move):
172         Allow calls to implementation of copy and write
173         even if the type of the file implementations is
174         different. This can be used to implement native
175         upload and download calls in a vfs.
176         
177         * glocalfile.c:
178         (g_local_file_move):
179         Protect against the case where move is called
180         with one file not being local.
181         
182         Make sure we call the progress callback once
183         in the native move operation so that the caller
184         knows how many bytes were copied.
185
186 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
187
188         * gappinfo.c:
189         * gdatainputstream.c:
190         * gfile.c:
191         * gfileoutputstream.c:
192         * ginputstream.c:
193         * gmount.c:
194         * goutputstream.c:
195         * gseekable.c:
196         * gunixmounts.c: Corrected some typos in the documentation:
197         occured -> occurred.
198         its -> it's (where appropriate).
199
200 2008-01-16  Alexander Larsson  <alexl@redhat.com>
201
202         * gfile.[ch]:
203         * gio.symbols:
204         Add g_file_query_exists (#508771)
205
206 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
207
208         * gdrive.c:
209         * gfile.c:
210         * gmount.c:
211         * gvolume.c: For async functions that have no non-async 
212         version, document that the GAsyncReadyCallback may be NULL.
213         Bug #509626.
214
215 2008-01-15  Alexander Larsson  <alexl@redhat.com>
216
217         * gmemoryinputstream.c:
218         * gmemoryoutputstream.c:
219         Don't do pointer arithmetic on void * (#508602)
220         Patch from Kazuki IWAMOTO
221
222 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
223
224         * === Released 2.15.2 ===
225
226 2008-01-14  Alexander Larsson  <alexl@redhat.com>
227
228         * gfile.c (g_file_monitor_file):
229         Don't set error here, since we fallback to polling monitor.
230
231 2008-01-14  Alexander Larsson  <alexl@redhat.com>
232
233         * gfile.[ch]:
234         (g_file_monitor_directory):
235         (g_file_monitor_file):
236         Add GError to file monitor calls
237         
238         * glocaldirectorymonitor.c:
239         * glocaldirectorymonitor.h:
240         * glocalfile.c:
241         * glocalfilemonitor.c:
242         * glocalfilemonitor.h:
243         * gunixmounts.c:
244         Update for above change
245
246 2008-01-14  Alexander Larsson  <alexl@redhat.com>
247
248         * glocalfile.c:
249         (match_prefix):
250         Handle root correctly in g_file_get_relative_path (#508719)
251
252 2008-01-14  Alexander Larsson  <alexl@redhat.com>
253
254         * gasyncresult.c:
255         Clean up docs and example for GAsyncResult (#508074)
256
257 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
258
259         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
260         and correct some spelling mistakes. Bug #508108.
261
262 2008-01-11  Matthias Clasen <mclasen@redhat.com>
263
264         * glocalfileinfo.c: Add a comment.
265
266 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
267
268         * gfileinfo.c: GFileInfo description: Mention 
269         how to actually set attributes in a GFile and how to discover 
270         which attributes are settable. Bug #508378.
271
272 2008-01-10  A. Walton  <awalton@svn.gnome.org>
273
274         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
275         (g_app_info_get_default_for_type):
276         Check for NULL content types.
277
278 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
279
280         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
281
282 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
283
284         * gfile.c: *_async() functions: Several small corrections 
285         to the documentation, mostly correcting copy/paste errors 
286         and improving some sentences.
287
288 2008-01-09  Dan Winship  <danw@gnome.org>
289
290         * glocalfile.c (get_unique_filename): x86_64 fix
291
292 2008-01-09  Alexander Larsson  <alexl@redhat.com>
293
294         * gio.symbols:
295         * gunixmount.c:
296         * gunixmounts.[ch]:
297         Add g_unix_mount_guess_should_display and use
298         for unix volume monitor backend.
299         This means we more or less show what the
300         gnome-vfs backend did.
301         Based on patch from Padraig O'Briain
302
303 2008-01-09  Alexander Larsson  <alexl@redhat.com>
304
305         * gio.symbols:
306         * gthemedicon.[ch]:
307         Add g_themed_icon_new_with_default_fallbacks
308         
309         * gunixmounts.c:
310         Use default fallbacks for icons
311
312 2008-01-09  Alexander Larsson  <alexl@redhat.com>
313
314         * gio-marshal.list:
315         * gmountoperation.[ch]:
316         Change the API a bit so that unhandled methods
317         get reported via the reply, rather than by
318         the signal emission return value. This is because
319         some handlers can't know this immediately without
320         doing I/O, and this is an async operation that
321         should not block.
322
323 2008-01-09  Alexander Larsson  <alexl@redhat.com>
324
325         * fam/fam-helper.c:
326         * fam/gfamdirectorymonitor.c:
327         * fam/gfamfilemonitor.c:
328         Fix double free crash (#508224)
329         Patch from Joe Marcus Clarke
330
331 008-01-07  Matthias Clasen  <mclasen@redhat.com>
332
333         * === Released 2.15.1 ===
334
335 2008-01-07  Alexander Larsson  <alexl@redhat.com>
336
337         * gunixinputstream.c (g_unix_input_stream_skip_finish):
338         Fix warning (#507835)
339
340 2008-01-07  Alexander Larsson  <alexl@redhat.com>
341
342         * Makefile.am:
343         Pass --internal to glib-genmarshal
344         
345         * gfilemonitor.c:
346         * gmountoperation.c:
347         * gio-marshal.list:
348         Use better types for signal arguments (#507822)
349
350 2008-01-07  Alexander Larsson  <alexl@redhat.com>
351
352         * Makefile.am:
353         Build test subdir after .
354         Remove gdirectorymonitor.[ch]
355         
356         * gdirectorymonitor.[ch]:
357         * gfilemonitor.c:
358         * gfile.[ch]:
359         * gio.h:
360         Remove GDirectoryMonitor and make
361         GFileMonitor the baseclass for both file and
362         directory monitors. Lift the more generic
363         rate limiting code from GDirectoryMonitor
364         into GFileMonitor.
365         
366         * fam/fam-helper.c:
367         * fam/gfamdirectorymonitor.[ch]:
368         * inotify/ginotifydirectorymonitor.[ch]:
369         * inotify/inotify-helper.c:
370         * glocaldirectorymonitor.[ch]:
371         * glocalfile.c:
372         * gvolumemonitor.c:
373         Update for the removed GDirectoryMonitor.
374         
375         * gmemoryoutputstream.c:
376         Remove ununsed variable
377
378 2008-01-07  Alexander Larsson  <alexl@redhat.com>
379
380         * gmemoryinputstream.c:
381         Translate error strings
382         
383         * gio.symbols:
384         * gmemoryoutputstream.[ch]:
385         New implementation that avoids using GByteArray
386         in implementation and API. (#506377)
387
388 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
389
390         * tests/*: Add a test for memory input streams.
391         
392         * Makefile.am: Add tests to SUBDIRS.
393
394 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
395
396         * glocalfilemonitor.c:
397         * glocaldirectorymonitor.c: Mark property nicks and blurbs
398         for translation.
399
400 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
401
402         * gdesktopappinfo.c: Fix a docs typo.
403
404         * gfileattribute.c: Add information about extended attributes
405         to the documentation.  (#505058)
406
407 2008-01-04  Alexander Larsson  <alexl@redhat.com>
408
409         * gio-marshal.list:
410         * gmountoperation.c:
411         Use the right type (uint) for the ask_password signal.
412
413 2008-01-04  Alexander Larsson  <alexl@redhat.com>
414
415         * gappinfo.[ch]:
416         * gwin32appinfo.c:
417         * gio.symbols:
418         Add g_app_info_supports_files() 
419         Remove desktop arg from g_app_info_should_show().
420         
421         * gdesktopappinfo.[ch]:
422         Implement g_app_info_supports_files() and new should_show()
423         Add g_desktop_app_info_set_desktop_env() to set the desktop
424         for should_show(). (This will be set by gtk+ later)
425
426 2008-01-04  Alexander Larsson  <alexl@redhat.com>
427
428         * gio.symbols:
429         * gmemoryinputstream.[ch]:
430         Improve API so that you can use multiple chunks
431         of memory and custom destroy functions. (#506374)
432
433 2008-01-03  Alexander Larsson  <alexl@redhat.com>
434
435         * gfileinfo.c:
436         Handle NULL attribute matchers safely, as we return this
437         for empty attribute matcher strings.
438
439 2008-01-03  Alexander Larsson  <alexl@redhat.com>
440
441         * gunixmounts.c (g_unix_is_mount_path_system_internal):
442         Add /usr/local to list of internal mountpoints
443
444 2008-01-03  Alexander Larsson  <alexl@redhat.com>
445
446         * glocalfileinfo.c:
447         Check for HAVE_LCHOWN (#505887)
448         
449 2008-01-03  Alexander Larsson  <alexl@redhat.com>
450
451         * gfileinfo.h:
452         * glocalfileinfo.c:
453         Add define for selinux context attribute.
454         Fix missing : -> :: namespace separator change
455         Fix missing _ -> - name change for xattr-sys.
456         (#505058)
457
458 2008-01-03  Alexander Larsson  <alexl@redhat.com>
459
460         * fam/Makefile.am:
461         Link to libglib and libgobject directly (#504879)
462         Patch from Sebastien Bacher
463
464 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
465
466         * gfile.c: Expanded the g_file_new_for_commandline_arg
467         description a bit, based on the code and the docs of the
468         other g_file_new_for_* functions.
469
470 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
471
472         * gfilemonitor.h: Fixed typo in docs.
473
474 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
475
476         Updates to GIO documentation. (#506395, Mikael Hermansson)
477
478         * gcontenttype.c: Describe memory management for return value of
479         g_content_types_get_registered(). Missing piece from #505815.
480         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
481         GVolume, GDrive, GMounts, which hopefully gives the user less
482         confusions when using this API. Following explainations from
483         Alexander Larsson on gtk-devel-list.
484
485 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
486
487         * gfileinfo.c: Expand the long description.
488
489 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
490
491         * fam/Makefile.am:
492         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
493         fix builds with --disable-visibility.  (#500273, Christian Persch)
494
495 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
496
497         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
498         in the list of returned app infos.
499
500 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
501
502         * gappinfo.c: Fix a cross-reference
503
504 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
505
506         * gfileinputstream.c:
507         * gfileoutputstream.c:
508         * gloadableicon.h:
509         * gunixmounts.c:
510         * gmount.h:
511         * gdesktopappinfo.c:
512         * gvolumemonitor.c: 
513         * gfileinfo.c: Documentation updates.
514
515 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
516
517         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
518         Tommi Komulainen)
519
520 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
521
522         * gcontenttype.c (g_content_types_get_registered): Don't return
523         freed memory (#505815, Mikael Hermansson)
524
525 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
526
527         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
528         used to detect statbuf->st_blocks. (#505042)
529
530 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
531
532         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
533         environment handling.  (#504829, Cosimo Cecchi)
534
535 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
536
537         * gappinfo.c: Doc improvements
538         
539         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
540         not ids.
541
542 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
543
544         * === Released 2.15.0 ===
545
546 2007-12-20  Hans Breuer  <hans@breuer.org>
547
548         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
549         with symbols gwin32appinfo.obj, added gmount.obj
550         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
551
552 2007-12-20  Alexander Larsson  <alexl@redhat.com>
553
554         * gfile.c:
555         * gfileattribute.c:
556         * gfileinfo.c:
557         * gfileinfo.h:
558         * gfilenamecompleter.c:
559         * glocalfile.c:
560         * glocalfileinfo.c:
561         * gpollfilemonitor.c:
562         File attribute renames:
563         std:: -> standard::
564         fs:: -> filesystem::
565         id::fs -> id::filesystem
566         
567 2007-12-20  Alexander Larsson  <alexl@redhat.com>
568
569         * gfile.[ch]:
570         * gdrive.[ch]:
571         * gmount.[ch]:
572         * gvolume.[ch]:
573         * gunixmount.c:
574         * gunixvolume.c:
575         * gio.symbols:
576         Add GMountUnmountFlags to all unmount and
577         eject calls.
578         Add g_mount_remount() call.
579
580 2007-12-20  Alexander Larsson  <alexl@redhat.com>
581
582         * gvfs.c (get_default_vfs):
583         Fix unused variable warning
584
585 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
586
587         * pltcheck.sh: Update
588
589 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
590
591         * gunionvolumemonitor.c:
592         * gunixmount.c: Remove C99 comments
593
594 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
595
596         * gio.symbols: Add some missing symbols
597
598 2007-12-19  Alexander Larsson  <alexl@redhat.com>
599
600         * giomodule.c:
601         Make g_io_modules_load_all_in_directory not unuse
602         loaded modules so that users of it can do stuff
603         before unloading.
604         Init internal "module" types.
605         Initialize static prio and name for types so that
606         we don't have to load modules to get it.
607         
608         * gnativevolumemonitor.h:
609         * gvolumemonitor.h:
610         Move is_supported to parent class so that
611         non-native monitors can avoid being initialized
612         too. (For instance GDaemonVolumeMonitor if we're
613         not using GDaemonVfs.)
614         
615         * glocaldirectorymonitor.[ch]:
616         * glocalfilemonitor.[ch]:
617         * gunionvolumemonitor.c:
618         * gunixvolumemonitor.c:
619         * gvfs.c:
620         Find plugins using the static prio+name to
621         avoid unnecessarily loading the modules.
622
623 2007-12-19  Alexander Larsson  <alexl@redhat.com>
624
625         * giomodule.c:
626         Remove warnings
627
628 2007-12-19  Alexander Larsson  <alexl@redhat.com>
629
630         * gunionvolumemonitor.c:
631         Store the native type as GType, not class so that
632         we can unload it. But still avoid unnecessarily
633         unload modules.
634
635 2007-12-19  David Zeuthen  <davidz@redhat.com>
636
637         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
638         add signals 'disconnected' and 'eject-button' on GDrive. Add
639         signal 'removed' on GVolume and 'unmounted' on GMount.
640
641         * gdrive.c: (g_drive_base_init):
642         * gdrive.h:
643         * gfile.c: (g_file_mount_mountable),
644         (g_file_mount_enclosing_volume):
645         * gio.symbols:
646         * gioerror.h:
647         * gmount.c: (g_mount_base_init):
648         * gmount.h:
649         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
650         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
651         * gvolume.c: (g_volume_base_init), (g_volume_mount):
652         * gvolume.h:
653         * gvolumemonitor.h:
654
655 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
656
657         * *.c: Fix up includes in the section docs.
658
659 2007-12-17  Alexander Larsson  <alexl@redhat.com>
660
661         * gnativevolumemonitor.h:
662         * gunionvolumemonitor.c:
663         * gunixvolumemonitor.c:
664         Add is_supported() to GNativeVolumeMonitorClass so
665         that we can avoid having to create an object to see
666         if the backend is supported at runtime.
667         Also add name member and an env var to pick a specific
668         volume monitor backend.
669         
670         * gmountprivate.h:
671         * glocalfile.c:
672         Add cancellable to _g_mount_get_for_mount_path()
673         
674         * glocaldirectorymonitor.c:
675         * glocalfilemonitor.c:
676         Avoid loading and unloading modules while sorting.
677
678 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
679
680         * gio.symbols:
681         * gunixmounts.[hc]: Namespace waste reduction, move some
682         g_get_unix_mount functions to the g_unix_mount namespace.
683
684         * gunixmounts.c:
685         * gunixvolumemonitor.c:
686         * glocalfile.c:
687         * glocaldirectorymonitor.c: Update all callers.
688
689         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
690
691 2007-12-17  Alexander Larsson  <alexl@redhat.com>
692
693         * gfile.c:
694         Add doc comments about what GFile operations are
695         guaranteed to not block.
696
697 2007-12-17  Alexander Larsson  <alexl@redhat.com>
698
699         * gunixmounts.c:
700         Add missing #ifdef fixing OSX build.
701         (#503334, patch from Richard Hult)
702
703 2007-12-14  David Zeuthen  <davidz@redhat.com>
704
705         * Makefile.am:
706         * gio.symbols:
707         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
708         (g_mount_eject), (g_mount_eject_finish):
709         * gmount.h:
710         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
711         (get_volume_for_uuid), (get_mount_for_uuid),
712         (g_union_volume_monitor_class_init),
713         (get_default_native_type_with_exclude), (get_default_native_type),
714         (get_native_type), (update_native_type),
715         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
716         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
717         (g_unix_mount_can_eject), (eject_unmount_cb),
718         (eject_unmount_read_error), (eject_unmount_do),
719         (g_unix_mount_unmount), (g_unix_mount_eject),
720         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
721         * gunixmounts.c: (g_unix_mount_guess_can_eject),
722         (g_unix_mount_point_guess_can_eject):
723         * gunixmounts.h:
724         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
725         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
726         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
727         (g_unix_volume_mount), (g_unix_volume_eject),
728         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
729         * gunixvolumemonitor.c: (get_volume_for_uuid),
730         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
731         (update_mounts):
732         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
733         (g_volume_eject), (g_volume_eject_finish):
734         * gvolume.h:
735         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
736         (g_volume_monitor_get_mount_for_uuid):
737         * gvolumemonitor.h:
738
739         Provide eject() on both GMount and GVolume and utility functions
740         to guess whether a GUnixMountPoint or GUnixMountEntry should be
741         ejected. Introduce the concept of UUID's and wire it into GVolume
742         and GMount and provide API on GVolumeMonitor to find such
743         instances. Also handle the case where an external
744         GNativeVolumeMonitor fails to initialize. Lock around the
745         _g_get_mount_for_mount_path() function such that volume monitor
746         implementations won't have to do locking themselves.
747
748 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
749
750         * gdesktopappinfo.c:
751         * gunixmounts.c:
752         * gfileinfo.c:
753         * gvolumemonitor.c:
754         * gfile.h:
755         * gioscheduler.c:
756         * gvolume.h: Documentation updates
757
758 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
759
760         * gunixmounts.c:
761         * gfile.h: Doc updates
762
763 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
764
765         * gcontenttype.c:
766         * gdesktopappinfo.c: Use hash table iterators.
767
768 2007-12-14  Alexander Larsson  <alexl@redhat.com>
769
770         * Makefile.am:
771         * gfileattribute.[ch]:
772         * gfileattribute-priv.h:
773         Move GFileAttributeValue to a private header, as
774         its sort of ugly.
775         
776         * gfile.[ch]:
777         Make set_attribute take a type + a pointer instead
778         of a GFileAttributeValue.
779         
780         * gfileinfo.[ch]:
781         Fix up for above changes.
782         Add g_file_info_get_attribute_data to get
783         all info in one call, g_file_info_get_attribute_status
784         to get the status and g_file_info_get_attribute_as_string.
785         
786         * gio.symbols:
787         * glocalfile.c:
788         * glocalfileinfo.[ch]:
789         Update for changes
790         
791         * gunixmounts.c:
792         Make _guess_type static.
793
794 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
795
796         * Makefile.am:
797         * inotify/Makefile.am: Fixed build when srcdir != builddir,
798         made mkenums and friends use temporary files to avoid leaving
799         empty generated files on failure (#503470).
800
801 2007-12-14  Alexander Larsson  <alexl@redhat.com>
802
803         * gmountoperation.h:
804         Fix AKS -> ASK typo
805
806 2007-12-14  Alexander Larsson  <alexl@redhat.com>
807
808         * gappinfo.h:
809         * gfile.[ch]:
810         * gfileattribute.[ch]:
811         * gio.symbols:
812         * glocalfile.c:
813         * glocalfileoutputstream.c:
814         * gmountoperation.[ch]:
815         * goutputstream.[ch]:
816         Clean up all flags enums to not have _FLAGS in them
817         Make the names of some of the enums better.
818
819         * glocalfileinfo.c:
820         Fix warning
821         
822 2007-12-14  Michael Natterer  <mitch@imendio.com>
823
824         * gio.symbols: fix g_io_scheduler symbol names.
825
826 2007-12-14  Alexander Larsson  <alexl@redhat.com>
827
828         * Makefile.am:
829         * fam/Makefile.am:
830         * gappinfo.h:
831         * gasyncresult.h:
832         * gbufferedinputstream.h:
833         * gbufferedoutputstream.h:
834         * gcancellable.h:
835         * gcontenttype.h:
836         * gdatainputstream.h:
837         * gdataoutputstream.h:
838         * gdesktopappinfo.h:
839         * gdirectorymonitor.h:
840         * gdrive.h:
841         * gfile.h:
842         * gfileattribute.h:
843         * gfileenumerator.h:
844         * gfileicon.h:
845         * gfileinfo.h:
846         * gfileinputstream.h:
847         * gfilemonitor.h:
848         * gfilenamecompleter.h:
849         * gfileoutputstream.h:
850         * gfilterinputstream.h:
851         * gfilteroutputstream.h:
852         * gicon.h:
853         * ginputstream.h:
854         * gio.h:
855         * gioerror.h:
856         * giomodule.h:
857         * gioscheduler.h:
858         * gloadableicon.h:
859         * gmemoryinputstream.h:
860         * gmemoryoutputstream.h:
861         * gmount.h:
862         * gmountoperation.h:
863         * goutputstream.h:
864         * gseekable.h:
865         * gsimpleasyncresult.h:
866         * gthemedicon.h:
867         * gunixinputstream.h:
868         * gunixmounts.h:
869         * gunixoutputstream.h:
870         * gvfs.h:
871         * gvolume.h:
872         * gvolumemonitor.h:
873         * inotify/Makefile.am:
874         Only allow including <gio/gio.h> from apps
875
876 2007-12-14  Alexander Larsson  <alexl@redhat.com>
877
878         * gioscheduler.[ch]:
879         * gsimpleasyncresult.c:
880         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
881         Split out the send_to_mainloop call into two versions instead
882         of having the block argument.
883
884 2007-12-13  Alexander Larsson  <alexl@redhat.com>
885
886         * gcancellable.[ch]:
887         * gio.symbols:
888         * gbufferedinputstream.c:
889         * gfileenumerator.c:
890         * gfileinputstream.c:
891         * gfileoutputstream.c:
892         * ginputstream.c:
893         * gioscheduler.c:
894         * goutputstream.c:
895         g_push/pop_current_cancellable ->
896         g_cancellable_push/pop_current
897
898 2007-12-13  Alexander Larsson  <alexl@redhat.com>
899
900         * gfile.[ch]:
901         * gio.symbols:
902         Rename g_mount_for_location to g_file_mount_enclosing_volume.
903
904 2007-12-13  Alexander Larsson  <alexl@redhat.com>
905
906         * gmountoperation.h:
907         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
908
909 2007-12-12  Alexander Larsson  <alexl@redhat.com>
910
911         * gioscheduler.c:
912         Fix race condition when freeing proxy in
913         g_io_job_send_to_mainloop().
914
915 2007-12-12  Alexander Larsson  <alexl@redhat.com>
916
917         * gfileattribute.c:
918         * gfileinfo.[ch]:
919         * glocalfile.c:
920         * glocalfileinfo.c:
921         Make attribute namespace separator "::" instead of ":".
922         Use - instead of _ as separator in attribute names.
923
924 2007-12-12  Alexander Larsson  <alexl@redhat.com>
925
926         * gbufferedinputstream.h:
927         * gbufferedoutputstream.h:
928         * gdatainputstream.h:
929         * gdataoutputstream.h:
930         * gdirectorymonitor.h:
931         * gfileenumerator.h:
932         * gfileinputstream.h:
933         * gfilemonitor.h:
934         * gfileoutputstream.h:
935         * gfilterinputstream.h:
936         * gfilteroutputstream.h:
937         * ginputstream.h:
938         * glocalfileinputstream.h:
939         * glocalfileoutputstream.h:
940         * gmemoryinputstream.h:
941         * gmemoryoutputstream.h:
942         * gnativevolumemonitor.h:
943         * goutputstream.h:
944         * gunixinputstream.h:
945         * gunixoutputstream.h:
946         * gvfs.h:
947         * gvolumemonitor.h:
948         s/parent/parent_instance/ in GObjects
949
950 2007-12-12  Alexander Larsson  <alexl@redhat.com>
951
952         * gdrive.h:
953         * gmount.h:
954         * gvolume.h:
955         No need for padding for interfaces
956         
957 2007-12-12  Alexander Larsson  <alexl@redhat.com>
958
959         * gappinfo.[ch]:
960         * gasyncresult.c:
961         * gbufferedinputstream.c:
962         * gbufferedoutputstream.c:
963         * gcancellable.c:
964         * gcontenttype.c:
965         * gdatainputstream.[ch]:
966         * gdesktopappinfo.c:
967         * gdirectorymonitor.c:
968         * gfile.[ch]:
969         * gfileattribute.[ch]:
970         * gfileicon.[ch]:
971         * gfileinfo.h:
972         * gfileinputstream.h:
973         * gfilemonitor.[ch]:
974         * gfileoutputstream.[ch]:
975         * gfilterinputstream.h:
976         * gfilteroutputstream.h:
977         * gicon.h:
978         * gioscheduler.c:
979         * gloadableicon.[ch]:
980         * gmemoryinputstream.c:
981         * gmountoperation.c:
982         * gthemedicon.c:
983         Fix up a bunch of details in the docs.
984
985         * glocalfileinfo.c:
986         CR/LF -> LF fixups
987         
988 2007-12-11  David Zeuthen  <davidz@redhat.com>
989
990         Rework how volumes, drives and volume monitoring is
991         done. Previosly the model was
992
993          GDrive <1-1> GVolume
994
995         where a GDrive instance represented a mount point and a GVolume
996         instance represented a mounted file system. This patch changes it
997         the model to
998
999                 GDrive <1-N> GVolume <1-1> GMount
1000
1001         where GMount now serves the purpose of the old GVolume and the new
1002         GVolume serves the purpose of the old GDrive. In addition the new
1003         GDrive interface is used to represent a collection of GVolume
1004         instances (typically partitions) and also contains utility to query
1005         the state of the physical drive the GDrive object represents (such
1006         as checking for media, polling the drive, ejecting the media etc.).
1007
1008         Also implement mounting and unmounting in the Unix volume monitor
1009         backend. A subquent patch will introduce GDrive support for ejection
1010         of media.
1011
1012         * Makefile.am:
1013         * gdrive.c: (g_drive_is_media_check_automatic),
1014         (g_drive_is_media_removable), (g_drive_has_media),
1015         (g_drive_can_poll_for_media), (g_drive_eject),
1016         (g_drive_eject_finish), (g_drive_poll_for_media),
1017         (g_drive_poll_for_media_finish):
1018         * gdrive.h:
1019         * gfile.c: (g_file_find_enclosing_mount):
1020         * gfile.h:
1021         * gio.symbols:
1022         * glocaldirectorymonitor.c:
1023         (g_local_directory_monitor_constructor), (mounts_changed):
1024         * glocalfile.c: (get_mount_info),
1025         (g_local_file_find_enclosing_mount),
1026         (g_local_file_file_iface_init):
1027         * gnativevolumemonitor.h:
1028         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1029         (get_connected_drives), (g_union_volume_monitor_class_init),
1030         (child_volume_added), (child_volume_removed),
1031         (child_volume_changed), (child_mount_added), (child_mount_removed),
1032         (child_mount_pre_unmount), (child_mount_changed),
1033         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1034         (g_union_volume_monitor_remove_monitor),
1035         (_g_mount_get_for_mount_path):
1036         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1037         (guess_system_internal), (_g_get_unix_mounts),
1038         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1039         (g_unix_mount_free), (g_unix_mount_compare),
1040         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1041         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1042         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1043         (type_to_icon), (g_unix_mount_guess_name),
1044         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1045         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1046         (_resolve_symlink), (_resolve_dev_root):
1047         * gunixmounts.h:
1048         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1049         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1050         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1051         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1052         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1053         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1054         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1055         (g_unix_volume_volume_iface_init):
1056         * gunixvolume.h:
1057         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1058         (get_mounts), (get_volumes), (get_connected_drives),
1059         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1060         (mountpoints_changed), (mounts_changed),
1061         (g_unix_volume_monitor_init),
1062         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1063         (find_mount_by_mountpath), (update_volumes), (update_mounts):
1064         * gunixvolumemonitor.h:
1065         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1066         (g_volume_mount), (g_volume_mount_finish):
1067         * gvolume.h:
1068         * gvolumemonitor.c: (g_volume_monitor_class_init),
1069         (g_volume_monitor_get_connected_drives),
1070         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1071         * gvolumemonitor.h:
1072
1073 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1074
1075         * gmountoperation.h (GPasswordFlags): Close the gap
1076
1077 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1078
1079         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1080         * gio.symbols:
1081         * gdesktopappinfo.[hc]: Remove _-prefixes
1082
1083 2007-12-10  Tor Lillqvist  <tml@novell.com>
1084
1085         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1086         gcc warnings.
1087
1088 2007-12-10  Alexander Larsson  <alexl@redhat.com>
1089
1090         * gfile.c (g_file_set_display_name):
1091         Don't hardcode '/' (#502727)
1092
1093 2007-12-09  Hans Breuer  <hans@breuer.org>
1094
1095         * makefile.msc : follow lib naming convention
1096         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1097         for user and group name, tested with ../tests/gio-ls
1098
1099 2007-12-09  A. Walton  <awalton@svn.gnome.org>
1100
1101         * gdesktopappinfo.c:
1102         * gdrive.c:
1103         * gdrive.h:
1104         * gfile.c:
1105         * gfile.h:
1106         * gfileattribute.c:
1107         * gfileenumerator.c:
1108         * gioerror.c:
1109         * gioscheduler.c:
1110         * gioscheduler.h:
1111         * gloadableicon.c:
1112         * gmemoryinputstream.c:
1113         * gmemoryoutputstream.c:
1114         * goutputstream.h:
1115         * gsimpleasyncresult.c:
1116         More documentation cleanup and filling in missing information, bringing
1117         GIO to 99% symbol coverage.
1118
1119 2007-12-08  Hans Breuer  <hans@breuer.org>
1120
1121         [gio compiles and links on win32, not sure how much already works]
1122         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1123         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
1124         base on win32 API; prefer g_lstat() over lstat(); instead of 
1125         localtime_r() use an all GLib implementation on win32;
1126         get_mount_info() still needs a win32 specifc implementation
1127         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
1128         win32_get_file_user_info to get owner/group info without uid/gid
1129         * glocalfileinputstream.c : include <io.h> on win32
1130         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1131         definition, use g_win32_ftruncate() for G_OS_WIN32
1132         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1133         it is available with mingw/w32api but a mess with the M$ Platform SDKs
1134         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1135         * makefile.msc : updated
1136
1137 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1138
1139         * glocalfileenumerator.c (_g_local_file_enumerator_new):
1140         Avoid warning spew if error == NULL
1141         
1142 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1143
1144         * gfile.c:
1145         Update docs wrt etags
1146
1147 2007-12-06  Alexander Larsson  <alexl@redhat.com>
1148
1149         * glocalfileinfo.h:
1150         Include sys/types.h for dev_t (#501919)
1151
1152 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
1153
1154         * gio.symbols:
1155         * pltcheck.sh:
1156         Make abicheck and pltcheck pass.
1157
1158 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1159
1160         * Makefile.am:
1161         * giomodule-priv.h: Added.
1162         * glocaldirectorymonitor.c:
1163         * glocalfilemonitor.c:
1164         * gunionvolumemonitor.c:
1165         * gvfs.c:
1166         Actually add the declaration of _g_io_modules_ensure_loaded
1167
1168 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1169
1170         * gdatainputstream.c:
1171         Fix warnings
1172         
1173         * gio.symbols:
1174         * giomodule.[ch]
1175         * glocaldirectorymonitor.c:
1176         * glocalfilemonitor.c:
1177         * gunionvolumemonitor.c:
1178         * gvfs.c:
1179         Make g_io_modules_ensure_loaded a private function and
1180         don't pass in the dirname. This means we can do magic
1181         directory finding in the win32 version.
1182         Export the actual load-modules-in-directory code so that
1183         gvfs can reuse that.
1184
1185 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1186
1187         * gbufferedinputstream.c:
1188         * gbufferedoutputstream.c:
1189         * gdrive.[ch]:
1190         * gfile.[ch]:
1191         * gfileenumerator.[ch]:
1192         * gfileinputstream.c:
1193         * gfileoutputstream.[ch]:
1194         * gfilterinputstream.c:
1195         * gfilteroutputstream.c:
1196         * ginputstream.[ch]:
1197         * glocalfile.c:
1198         * glocalfileenumerator.c:
1199         * glocalfileinputstream.c:
1200         * glocalfileoutputstream.c:
1201         * gmemoryinputstream.c:
1202         * gmemoryoutputstream.c:
1203         * goutputstream.[ch]:
1204         * gseekable.[ch]:
1205         * gunixdrive.c:
1206         * gunixinputstream.c:
1207         * gunixoutputstream.c:
1208         Rename all struct members named:
1209         read, write, close, truncate, or mount
1210         to foo_fn, as these are reserved names
1211         and could be defined as macros in libc.
1212         (#501645)
1213
1214 2007-12-04  Alexander Larsson  <alexl@redhat.com>
1215
1216         * goutputstream.c:
1217         (g_output_stream_close):
1218         Only call flush if non-null.
1219
1220 2007-11-30  Dan Winship  <danw@gnome.org>
1221
1222         * ginputstream.c (g_input_stream_set_pending): Make this take a
1223         GError and return a gboolean, and do the "outstanding operation"
1224         check (and the "stream is already closed" check) itself.
1225         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1226
1227         * goutputstream.c (g_output_stream_set_pending)
1228         (g_output_stream_clear_pending): Likewise
1229
1230         * gbufferedinputstream.c: 
1231         * gfileinputstream.c: 
1232         * gfileoutputstream.c: Update for that
1233
1234         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1235         Like g_simple_async_report_error_in_idle, but takes a GError
1236         rather than building one.
1237
1238 2007-11-30  Dan Winship  <danw@gnome.org>
1239
1240         * goutputstream.c: Don't cheat and unset the "pending" flag around
1241         inner calls. Instead, call the class method directly rather than
1242         the wrapper function that checks "pending"
1243
1244 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
1245
1246         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1247
1248 2007-12-03  Hans Breuer  <hans@breuer.org>
1249
1250         [start of port to win32/msvc]
1251         * gcancellable.c : HAVE_UNIST_H and _pipe()
1252         * gcontenttype.c : only include <dirent.h> in the UNIX branch
1253         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1254         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
1255         HAVE_UNIST_H
1256         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1257         * glocalvfs.c : use HAVE_PWD_H
1258         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1259         * makefile.msc : new file (maybe later converted to makefile.msc.in)
1260         * Makefile.am : added to EXTRA_DIST
1261
1262 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1263
1264         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1265         (#499783)
1266
1267 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1268
1269         * glocalfileinfo.c:
1270         Handle OSX style xattrs API (#500506)
1271
1272 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1273
1274         * gfile.[ch]:
1275         * glocalfile.c:
1276         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1277
1278 2007-12-02  A. Walton  <awalton@svn.gnome.org>
1279
1280         * gfile.c:
1281         * gfileattribute.c:
1282         Documentation accuracy fixes.
1283
1284 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
1285
1286         * gioenumtypes.c.template: Fix typo.
1287
1288 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1289
1290         * gioenumtypes.c.template: Make threadsafe get_type() functions.
1291
1292 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1293
1294         * gdirectorymonitor.c:
1295         * gfilemonitor.c: Add properties
1296
1297         * gbufferedoutputstream.c: Don't mark buffer-size property 
1298         as construct-only.
1299
1300 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1301
1302         * gbufferedoutputstream.c: Add auto-grow property.
1303
1304 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1305
1306         * *.c: Unify the capitalization of section headings.
1307
1308 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1309
1310         * gmountoperation.c: Add properties
1311         
1312         * gdatainputstream.c: Turn byte-order and newline-type into
1313         properties.
1314
1315 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1316
1317         * gioenumtypes.[hc].template: Templates for enum registration
1318
1319         * Makefile.am: Generate gioenumtypes.[hc]
1320
1321         * gio.h: Include gioenumtypes.h
1322         * gappinfo.h:
1323         * gfile.h: Add some explicit nicks.
1324
1325         * gio.symbols: Add new symbols
1326
1327         * pltcheck.sh: Adjust
1328
1329 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1330
1331         * *.c: Explain etags and link to the explanation
1332
1333 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1334
1335         * *.c: Explain I/O priority.
1336
1337         * *.c: More coding style fixes.
1338
1339 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1340
1341         * gasyncresult.c: Add another paragraph to the intro,
1342         adjust coding style of example.
1343
1344 2007-11-29  A. Walton <awalton@svn.gnome.org>
1345
1346         * gappinfo.c:
1347           Fixes unknown meaning in GAppLaunchContext docs.
1348         * gfile.c:
1349           Clarify asynchronous ops.
1350         * gfileattribute.c:
1351           Fix entity tag docs.
1352         * gicon.c:
1353         * gthemedicon.c:
1354           Provides missing gtk-doc section, fixes API docs slighly.
1355         * gsimpleasyncresult.c:
1356           Fill in missing info in docs.
1357         * gunixinputstream.c:
1358         * gunixoutputstream.c:
1359           Be more expressive in short description.
1360         * gunixvolume.c:
1361           Remove gtk-doc stubs for non-public API.
1362
1363 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1364
1365         * *.c: Coding style fixups
1366
1367 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * inotify/inotify-helper.c: Don't export the lock from libgio.
1370
1371 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1372
1373         * Makefile.am:
1374         * abicheck.sh: Fix copy-and-paste leftovers 
1375
1376 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1377
1378         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1379
1380 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1381
1382         * Makefile.am:
1383         * gdriveprivate.h:
1384         Removed unnecessary file
1385         
1386         * gdesktopappinfo.[ch]:
1387         * gdummyfile.[ch]:
1388         * gfile.c:
1389         * glocaldirectorymonitor.[ch]:
1390         * glocalfile.[ch]:
1391         * glocalfileenumerator.[ch]:
1392         * glocalfileinputstream.[ch]:
1393         * glocalfilemonitor.[ch]:
1394         * glocalfileoutputstream.[ch]:
1395         * glocalvfs.[ch]:
1396         * gnativevolumemonitor.c:
1397         * gpollfilemonitor.[ch]:
1398         * gunionvolumemonitor.[ch]:
1399         * gunixdrive.[ch]:
1400         * gunixvolume.[ch]:
1401         * gunixvolumemonitor.[ch]:
1402         * gvfs.c:
1403         * gvolumeprivate.h:
1404         * inotify/ginotifydirectorymonitor.[ch]:
1405         * inotify/ginotifyfilemonitor.[ch]:
1406         * inotify/inotify-helper.c:
1407         Append _ to all internal functions
1408         
1409         * gio.symbols:
1410         Add missing symbols
1411         Export symbols needed for modules
1412
1413 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1414
1415         * Makefile.am:
1416         * abicheck.sh: Added.
1417         * makegioalias.pl: Added.
1418         * pltcheck.sh: Added.
1419         * gio.symbols: Added.
1420         * *.c:
1421         * inotify/*.c
1422         Initial work on adding symbol handling.
1423
1424         * gvfs.h:
1425         Correct ifdef guard name
1426
1427         * fam/Makefile.am:
1428         * inotify/Makefile.am:
1429         * xdgmime/Makefile.am:
1430         Include toplevel Makefile.decl
1431
1432 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1433
1434         * gcontenttype.c: Move doc comments to the unix section.
1435
1436         * *.[hc]: More trivial doc corrections.
1437
1438 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1439
1440         * gpollfilemonitor.c:
1441         * gunixmounts.c:
1442         * gvfs.c:
1443         * gfile.c:
1444         * gdesktopappinfo.c:
1445         * gwin32appinfo.c:
1446         * gvolume.c:
1447         * glocalvfs.c:
1448         * gvolumemonitor.c:
1449         * gdatainputstream.c:
1450         * gdatainputstream.h:
1451         * gdataoutputstream.c:
1452         * gdataoutputstream.h:
1453         * gfileinfo.h: Doc cleanups
1454
1455 2007-11-28  Andre Klapper  <a9016009@gmx.de>
1456
1457         * gdesktopappinfo.c: Fix a typo.
1458
1459 2007-11-27  Andre Klapper  <a9016009@gmx.de>
1460
1461         * glocalfileoutputstream.c: Fix a typo.
1462
1463 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1464
1465         * gio.h:
1466         Don't include removed headers
1467
1468 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1469
1470         * Makefile.am:
1471         * gsocketinputstream.[ch]: Removed.
1472         * gsocketoutputstream.[ch]: Removed.
1473         * gunixinputstream.[ch]: Added.
1474         * gunixoutputstream.[ch]: Added.
1475         Renamed GSocket*Stream to GUnix*Stream and made
1476         it unix-only, since its not really only for sockets
1477         and it only works on unix (but is highly useful there).
1478
1479 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
1480         * gappinfo.c:
1481         * gappinfo.h:
1482         * gasynchelper.c:
1483         * gasyncresult.c:
1484         * gasyncresult.h:
1485         * gbufferedinputstream.c:
1486         * gbufferedinputstream.h:
1487         * gbufferedoutputstream.c:
1488         * gbufferedoutputstream.h:
1489         * gcancellable.c: 
1490         * gcancellable.h:
1491         * gcontenttype.c:
1492         * gdatainputstream.c:
1493         * gdatainputstream.h:
1494         * gdataoutputstream.c:
1495         * gdataoutputstream.h:
1496         * gdirectorymonitor.c:
1497         * gdirectorymonitor.h:
1498         * gdrive.c: 
1499         * gdrive.h:
1500         * gfile.c:
1501         * gfile.h:
1502         * gfileattribute.c:
1503         * gfileattribute.h:
1504         * gfileenumerator.c:
1505         * gfileenumerator.h:
1506         * gfileicon.c:
1507         * gfileicon.h:
1508         * gfileinfo.c:
1509         * gfileinfo.h:
1510         * gfileinputstream.c:
1511         * gfileinputstream.h:
1512         * gfilemonitor.c:
1513         * gfilemonitor.h:
1514         * gfilenamecompleter.c:
1515         * gfilenamecompleter.h:
1516         * gfileoutputstream.c:
1517         * gfileoutputstream.h:
1518         * gfilterinputstream.c:
1519         * gfilterinputstream.h:
1520         * gfilteroutputstream.c:
1521         * gfilteroutputstream.h:
1522         * gicon.c:
1523         * gicon.h:
1524         * ginputstream.c:
1525         * ginputstream.h:
1526         * gioerror.c:
1527         * gioerror.h:
1528         * giomodule.c:
1529         * giomodule.h:
1530         * gioscheduler.c:
1531         * gioscheduler.h:
1532         * gloadableicon.c:
1533         * gloadableicon.h:
1534         * glocalfileoutputstream.c:
1535         * gmemoryinputstream.c:
1536         * gmemoryinputstream.h:
1537         * gmemoryoutputstream.c:
1538         * gmemoryoutputstream.h:
1539         * gmountoperation.c: 
1540         * gmountoperation.h:
1541         * goutputstream.c:
1542         * goutputstream.h:
1543         * gpollfilemonitor.c:
1544         * gseekable.c:
1545         * gseekable.h:
1546         * gsimpleasyncresult.c:
1547         * gsimpleasyncresult.h:
1548         * gsocketinputstream.c:
1549         * gsocketinputstream.h:
1550         * gsocketoutputstream.c:
1551         * gsocketoutputstream.h:
1552         * gthemedicon.c:
1553         * gthemedicon.h:
1554         * gunixdrive.c:
1555         * gunixmounts.c: 
1556         * gunixmounts.h:
1557         * gunixvolume.c:
1558         * gunixvolumemonitor.c:
1559         * gurifuncs.c:
1560         * gurifuncs.h:
1561         * gvfs.c:
1562         * gvfs.h:
1563         * gvolume.c:
1564         * gvolume.h:
1565         * gvolumemonitor.c: 
1566         * gvolumemonitor.h:
1567         Bumps documentation to 93% symbol coverage, touching most 
1568         of the public files. Fixes broken function documentation prototypes. 
1569         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
1570         gtk-doc headers in private files.
1571
1572 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
1573
1574         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1575         (g_buffered_input_stream_read_byte):
1576         * gbufferedinputstream.h:
1577         New functions for efficient access to buffer and simple single byte
1578         reads.
1579
1580         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1581         (g_data_input_stream_read_until):
1582         * gdatainputstream.h:
1583         Use peek_buffer to avoid memcpy in scan_for_newline, implement
1584         read_until with multiple stop chars.
1585
1586 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1587
1588         * Makefile.am:
1589         * fam/Makefile.am:
1590         * inotify/Makefile.am:
1591         Use the user-specified giomoduledir
1592
1593 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1594
1595         * Makefile.am
1596         * gio.h:
1597         Add catch-all gio.h header
1598         Don't install gdummyfile.h
1599
1600 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1601
1602         * Makefile.am (gioinclude_HEADERS):
1603         Remove trailing whitespace
1604         
1605 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1606
1607         Merge gio-standalone into glib
1608
1609 2007-11-25  Christian Kellner  <gicmo@gnome.org>
1610
1611         * gio/goutputstream.c:
1612         Fix small mistake in the docs.
1613
1614 2007-11-21  Christian Persch  <chpe@gnome.org>
1615
1616         * gio/glocalfile.c: (g_local_file_trash):
1617         Convert filenames to UTF-8 for GError.
1618         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1619         as per xdg base dir spec.
1620
1621 2007-11-21  Christian Persch  <chpe@gnome.org>
1622
1623         * gio/gdesktopappinfo.c:
1624         Use that g_key_file_to_data cannot fail.
1625         Some misc cleanups.
1626         Use stock defines for the key file group and key names.
1627         Use bitfields.
1628
1629 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1630
1631         * gio/gfile.c:
1632         (copy_stream_with_progress):
1633         Make sure we do a final progress callback with
1634         the full total size.
1635
1636 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1637
1638         * gio/gfile.[ch]:
1639         Export g_file_copy_attributes
1640         Remove padding as its not needed for interfaces
1641
1642 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1643
1644         * gio/gfile.c:
1645         * gio/gioerror.h:
1646         * gio/glocalfile.c:
1647         Add G_IO_ERROR_WOULD_MERGE for
1648         copy/move dir on dir with overwrite.
1649
1650 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1651
1652         * gio/gfileinfo.h:
1653         * gio/glocalfileinfo.c:
1654         Add COPY_NAME (this is an optional
1655         non-modified utf8 version of the name) that
1656         can roundtrip.
1657
1658 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1659
1660         * gio/glocalfileenumerator.c:
1661         Report errors as GIOError, not GFileError
1662
1663 2007-11-16  Alexander Larsson  <alexl@redhat.com>
1664
1665         * gio/glocalfileoutputstream.c:
1666         * gio/gwin32appinfo.c:
1667         Fix typos in strings.
1668         Patch from Luca Ferretti <elle.uca@libero.it>
1669
1670 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1671
1672         * configure.ac:
1673         Post release version bump
1674
1675 === gio-standalone 0.1.2 ===
1676
1677 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1678
1679         * docs/reference/gio/Makefile.am:
1680         Fix up distcheck by removing weird
1681         non-needed stuff
1682
1683         * NEWS:
1684         Update for release
1685
1686 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1687
1688         * gio/gdesktopappinfo.c:
1689         * gio/glocaldirectorymonitor.c:
1690         * gio/glocalfile.c:
1691         * gio/glocalfileinfo.c:
1692         * gio/inotify/inotify-sub.c:
1693         * programs/gio-cat.c:
1694         * programs/gio-copy.c:
1695         * programs/gio-info.c:
1696         * programs/gio-ls.c:
1697         * programs/gio-monitor-dir.c:
1698         * programs/gio-monitor-file.c:
1699         * programs/gio-mount.c:
1700         * programs/gio-move.c:
1701         * programs/gio-rm.c:
1702         * programs/gio-save.c:
1703         * programs/gio-trash.c:
1704         Leak fixes from Kjartan Maraas
1705
1706 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1707
1708         * gio/fam/fam-helper.c:
1709         * gio/gdrive.[ch]:
1710         * gio/glocalfileinfo.c:
1711         * gio/gunixdrive.c:
1712         * gio/gvfs.c:
1713         * gio/gvolume.[ch]:
1714         * gio/inotify/inotify-diag.c:
1715         * gio/inotify/inotify-kernel.c:
1716         Various code cleanups from Kjartan Maraas
1717
1718 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1719
1720         * gio/gioscheduler.c:
1721         (init_scheduler):
1722         Set up threadpool so that we cache 2 unused
1723         idle threads for at 15 secs. This means we
1724         will reuse thread-local data (like dbus connections)
1725         for them.
1726
1727 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1728
1729         * gio/fam/fam-helper.c:
1730         * gio/fam/gfamdirectorymonitor.c:
1731         * gio/fam/gfamfilemonitor.c:
1732         * gio/gappinfo.c:
1733         * gio/gcontenttype.c:
1734         * gio/gdatainputstream.c:
1735         * gio/gdataoutputstream.c:
1736         * gio/gdummyfile.c:
1737         * gio/gfile.c:
1738         * gio/gfile.h:
1739         * gio/gfileattribute.h:
1740         * gio/gfileenumerator.c:
1741         * gio/gfileinfo.c:
1742         * gio/ginputstream.c:
1743         * gio/gioerror.h:
1744         * gio/glocalfile.c:
1745         * gio/glocalfileinfo.c:
1746         * gio/goutputstream.c:
1747         * gio/gpollfilemonitor.c:
1748         * gio/gsimpleasyncresult.c:
1749         * gio/gunixmounts.c:
1750         * gio/gunixmounts.h:
1751         * gio/inotify/ginotifydirectorymonitor.c:
1752         * gio/inotify/ginotifyfilemonitor.c:
1753         * gio/inotify/inotify-diag.c:
1754         * gio/inotify/inotify-kernel.c:
1755         * gio/inotify/inotify-path.c:
1756         * gio/test-gio.c:
1757         * gio/test-streams.c:
1758         * programs/gio-info.c:
1759         * programs/gio-monitor-dir.c:
1760         * programs/gio-monitor-file.c:
1761         Various code cleanups from Kjartan Maraas
1762
1763 2007-11-13  Alexander Larsson  <alexl@redhat.com>
1764
1765         * gio/gdummyfile.c:
1766         Handle the uri-scheme calls for dummy files
1767
1768 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1769
1770         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1771         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1772         to avoid clash with the C++ keyword.
1773
1774 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1775
1776         * gio/glocalfileinfo.c: Build fix, added missing semicolon
1777         to an ifdef'ed call to getpwuid() in lookup_uid_data().
1778
1779 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
1780
1781         * gio/glocaldirectorymonitor.c:
1782         * gio/glocalfilemonitor.c:
1783         * gio/gunionvolumemonitor.c:
1784         Don't use g_once_init_*() for initializations that could fail and
1785         could leave the initialization variable set to 0 but use GOnce.
1786         This prevents a deadlock on the second call when trying to create
1787         a monitor and no monitor type is available. Thanks to Sven Herzberg
1788         for reporting.
1789
1790 2007-11-11  Sven Herzberg  <sven@imendio.com>
1791
1792         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1793         #ifdef (make it work on MacOS X again)
1794
1795 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
1796         * Changelog:
1797         Fixes Changelog for last two commits (sorry guys).
1798
1799 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1800         * gio/gappinfo.c:
1801         * gio/gbufferedinputstream.c:
1802         * gio/gdatainputstream.c:
1803         * gio/gfile.c:
1804         * gio/gfileoutputstream.c:
1805         * gio/gfilterinputstream.c:
1806         * gio/glocalfileinputstream.c:
1807         * gio/gurifuncs.c:
1808         * gio/gvfs.c:
1809         More consistency fixes in g*stream.c files. 
1810         Significant clean of gfile's documentation, filling in of 
1811         asynchronous operations documentation.
1812
1813 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1814         * gio/gappinfo.c:
1815         * gio/gasyncresult.c:
1816         * gio/gbufferedinputstream.c:
1817         * gio/gbufferedoutputstream.c:
1818         * gio/gcancellable.c:
1819         * gio/gcontenttype.c:
1820         * gio/gdatainputstream.c:
1821         * gio/gdataoutputstream.c:
1822         * gio/gdesktopappinfo.c:
1823         * gio/gdrive.c:
1824         * gio/gfile.c:
1825         * gio/gfileattribute.c:
1826         * gio/gio/gfileenumerator.c:
1827         * gio/gfileinfo.c:
1828         * gio/gfileinputstream.c:
1829         * gio/gfilemonitor.c:
1830         * gio/gfileoutputstream.c:
1831         * gio/ginputstream.c:
1832         * gio/giomodule.c:
1833         * gio/gioscheduler.c:
1834         * gio/gloadableicon.c:
1835         * gio/glocalfileoutputstream.c:
1836         * gio/gmemoryoutputstream.c:
1837         * gio/gmountoperation.c:
1838         * gio/goutputstream.c:
1839         * gio/gseekable.c:
1840         * gio/gsimpleasyncresult.c:
1841         * gio/gunionvolumemonitor.c:
1842         * gio/gunixmounts.c:
1843         * gio/gunixvolume.c:
1844         * gio/gurifuncs.c:
1845         * gio/gvfs.c:
1846         * gio/gvolume.c:
1847         * gio/gvolumemonitor.c:
1848         Updated documentation stubs, working towards consistency and 
1849         completeness.
1850
1851 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1852
1853         * gio/gmemoryoutputstream.c:
1854         * gio/gmemoryoutputstream.h:
1855         Change g_memory_output_stream_set_free_on_close() to
1856         g_memory_output_stream_set_free_data() as this makes more sense and
1857         is more consistent with GMemoryInputStream.
1858
1859 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1860
1861         * gio/gfile.c:
1862         Fix some docs
1863         
1864         * gio/glocalvfs.c:
1865         * gio/gvfs.[ch]:
1866         Change how we find the default vfs so that
1867         we can handle a gvfs failing to init
1868
1869 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1870
1871         * gio/gbufferedoutputstream.c:
1872         * gio/gdatainputstream.c:
1873         * gio/gdataoutputstream.c:
1874         * gio/gfileinputstream.c:
1875         * gio/gfileoutputstream.c:
1876         * gio/gfilterinputstream.c:
1877         * gio/gfilteroutputstream.c:
1878         * gio/ginputstream.c:
1879         * gio/gmemoryinputstream.c:
1880         * gio/gmemoryoutputstream.c:
1881         * gio/goutputstream.c:
1882         * gio/gsimpleasyncresult.c:
1883         * gio/gsocketinputstream.c:
1884         * gio/gsocketoutputstream.c:
1885         Add guards to the remaining public functions, add a TODO for
1886         an unimplemented function and remove some useless guards.
1887
1888 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1889
1890         * configure.ac:
1891         Autoconf checks for the various types of
1892         getpwuid_r and getgrgid_r
1893         
1894         * gio/glocalfileinfo.c:
1895         Use the autoconf checks from above
1896
1897 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1898
1899         * gio/glocalfile.c:
1900         (g_local_file_query_filesystem_info):
1901         Some fixes for the statvfs case
1902         
1903 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1904
1905         * gio/glocalfile.c:
1906         (g_local_file_query_filesystem_info):
1907         Pick the "best" of statfs / statvfs for the system
1908         if both are availible.
1909
1910 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1911
1912         Solaris fixes from Halton.Huo@Sun.COM:
1913         
1914         * gio/gdrive.c:
1915         * gio/gfile.c:
1916         * gio/gvolume.c:
1917         Don't return void
1918         
1919         * gio/glocalfileinfo.c:
1920         Fix for solaris definition of getpwuid_r
1921         
1922         * gio/test-streams.c:
1923         Use G_GNUC_PRETTY_FUNCTION
1924
1925 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1926
1927         * gio/gdesktopappinfo.c:
1928         (update_default_list):
1929         Remove double semicolon.
1930         Patch from Jens Granseuer
1931
1932 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1933
1934         * docs/reference/gio/gio-sections.txt:
1935         * gio/gbufferedinputstream.c:
1936         * gio/gbufferedinputstream.h:
1937         * gio/gdatainputstream.c:
1938         * gio/gfileenumerator.c:
1939         * gio/gioscheduler.c:
1940         * gio/gunionvolumemonitor.c:
1941         * gio/gvfs.c:
1942         * programs/gio-save.c:
1943         Fix typo: availible -> available. Unfortuntely this breaks API
1944         and ABI as g_buffered_input_stream_get_available() was renamed.
1945         
1946         * gio/gunixmounts.c:
1947         * gio/gbufferedinputstream.c:
1948         Add guards for public functions.
1949
1950 2007-11-06  Ross Burton  <ross@openedhand.com>
1951
1952         * docs/reference/gio/Makefile.am:
1953         Fix invalid += usage which automake 1.10 doesn't like.
1954
1955 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1956
1957         * gio/gappinfo.c:
1958         (g_app_launch_context_class_init):
1959         Fix warning
1960
1961         Patch from Ross Burton 
1962         
1963 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1964
1965         * configure.ac:
1966         Post release version bump
1967
1968 === gio-standalone 0.1.1 ===
1969
1970 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1971
1972         * configure.ac:
1973         Bump version to 0.1.1
1974         
1975         * gio/gsimpleasyncresult.c:
1976         (g_simple_async_result_set_from_error):
1977         Remove bogus g_return_if_fail
1978
1979 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1980
1981         * configure.ac:
1982         The name is gio-standalone
1983         
1984         * gio/Makefile.am:
1985         Add top src/builddir to includedir
1986
1987 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1988
1989         * docs/reference/gio/gio-sections.txt:
1990         * gio/gappinfo.c:
1991         * gio/gbufferedinputstream.c:
1992         * gio/gbufferedoutputstream.c:
1993         * gio/gcancellable.c:
1994         * gio/gdatainputstream.h:
1995         * gio/gdataoutputstream.c:
1996         * gio/gdataoutputstream.h:
1997         * gio/gdirectorymonitor.c:
1998         * gio/gfile.c:
1999         * gio/gfileattribute.c:
2000         * gio/gfileattribute.h:
2001         * gio/gfileenumerator.c:
2002         * gio/gfileenumerator.h:
2003         * gio/gfileinfo.c:
2004         * gio/gfileinfo.h:
2005         * gio/gfileinputstream.h:
2006         * gio/gfilemonitor.c:
2007         * gio/gfileoutputstream.h:
2008         * gio/glocalfilemonitor.h:
2009         * gio/glocalfileoutputstream.h:
2010         * gio/gmemoryinputstream.c:
2011         * gio/gmemoryoutputstream.c:
2012         * gio/gmountoperation.c:
2013         * gio/goutputstream.c:
2014         * gio/goutputstream.h:
2015         * gio/gseekable.h:
2016         * gio/gsimpleasyncresult.c:
2017         * gio/gunixmounts.c:
2018         * gio/gunixmounts.h:
2019         * gio/gurifuncs.h:
2020         * gio/inotify/inotify-helper.c:
2021         Fix gtk-doc warnings
2022
2023         Patch from Ross Burton 
2024         
2025 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2026
2027         * gio/gfilenamecompleter.c:
2028         (g_filename_completer_get_completions):
2029         fix warning
2030         
2031         * gio/gunixvolume.c:
2032         Remove unused function
2033
2034         Patches from Ross Burton 
2035
2036 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2037
2038         * gio/gdrive.h:
2039         * gio/gseekable.h:
2040         * gio/gvolume.h:
2041         Padding not needed for interfaces
2042
2043 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2044
2045         * gio/gfilemonitor.c:
2046         Remove debug spew
2047
2048         * gio/Makefile.am:
2049         Make giotypes.h an internal file
2050         
2051         * gio/gappinfo.h:
2052         * gio/gbufferedinputstream.h:
2053         * gio/gbufferedoutputstream.h:
2054         * gio/gcancellable.h:
2055         * gio/gdatainputstream.h:
2056         * gio/gdataoutputstream.h:
2057         * gio/gdirectorymonitor.c:
2058         * gio/gdirectorymonitor.h:
2059         * gio/gdrive.c:
2060         * gio/gdrive.h:
2061         * gio/gfile.c:
2062         * gio/gfile.h:
2063         * gio/gfileattribute.h:
2064         * gio/gfileenumerator.h:
2065         * gio/gfileicon.c:
2066         * gio/gfileicon.h:
2067         * gio/gfileinfo.c:
2068         * gio/gfileinfo.h:
2069         * gio/gfilemonitor.c:
2070         * gio/gfilemonitor.h:
2071         * gio/gfilenamecompleter.c:
2072         * gio/gfilenamecompleter.h:
2073         * gio/gfilterinputstream.h:
2074         * gio/gfilteroutputstream.h:
2075         * gio/ginputstream.h:
2076         * gio/gmemoryinputstream.h:
2077         * gio/gmemoryoutputstream.h:
2078         * gio/gmountoperation.c:
2079         * gio/gmountoperation.h:
2080         * gio/gnativevolumemonitor.c:
2081         * gio/goutputstream.h:
2082         * gio/gseekable.c:
2083         * gio/gseekable.h:
2084         * gio/gsimpleasyncresult.c:
2085         * gio/gsimpleasyncresult.h:
2086         * gio/gsocketinputstream.h:
2087         * gio/gsocketoutputstream.h:
2088         * gio/gthemedicon.c:
2089         * gio/gthemedicon.h:
2090         * gio/gvfs.h:
2091         * gio/gvolume.c:
2092         * gio/gvolume.h:
2093         * gio/gvolumemonitor.c:
2094         * gio/gvolumemonitor.h:
2095         Add padding in classes where it seems useful
2096         Don't include giotypes.h from public headers
2097         Move in Class definitions into c file where possible
2098         
2099         * gio/glocalfile.c:
2100         Fix warnings
2101
2102 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2103
2104         * docs/reference/gio/gio-docs.xml:
2105         Better structure for API docs
2106
2107 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2108
2109         * gio/gfileicon.c:
2110         * gio/gloadableicon.c:
2111         * gio/gsimpleasyncresult.c:
2112         * gio/gthemedicon.c:
2113         Add some more guards to public functions. Only files missing are now
2114         g*stream*.c.
2115
2116 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2117
2118         * docs/reference/gio/gio-docs.xml:
2119         Remove old files, add missing ones
2120
2121 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2122
2123         * docs/reference/gio/gio-sections.txt:
2124         Restructure
2125         Add missing stuff
2126         Hide implementation classes
2127         
2128         * gio/gdriveprivate.h:
2129         * gio/gvolumeprivate.h:
2130         Remove non-existing function declarations
2131
2132 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2133
2134         * gio/gappinfo.c:
2135         Fix compilation warnings and add guards to the new functions.
2136         
2137         * gio/gasyncresult.c:
2138         * gio/gdummyfile.c:
2139         Add guards to the public functions.
2140         
2141         * gio/gdummyfile.c:
2142         Implement get_path().
2143
2144 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2145
2146         * gio/gfilenamecompleter.c:
2147         Make g_filename_completer_get_completions
2148         return char ** instead of GList for
2149         typesafety.
2150         
2151         * docs/reference/gio/gio-docs.xml:
2152         * docs/reference/gio/gio-sections.txt:
2153         * gio/gappinfo.c:
2154         * gio/gasyncresult.c:
2155         * gio/gbufferedinputstream.c:
2156         * gio/gbufferedoutputstream.c:
2157         * gio/gcancellable.c:
2158         * gio/gcontenttype.c:
2159         * gio/gdatainputstream.c:
2160         * gio/gdataoutputstream.c:
2161         * gio/gdesktopappinfo.c:
2162         * gio/gdirectorymonitor.c:
2163         * gio/gdrive.c:
2164         * gio/gdummyfile.c:
2165         * gio/gfile.c:
2166         * gio/gfileattribute.c:
2167         * gio/gfileenumerator.c:
2168         * gio/gfileicon.c:
2169         * gio/gfileinfo.c:
2170         * gio/gfileinputstream.c:
2171         * gio/gfilemonitor.c:
2172         * gio/gfilenamecompleter.c:
2173         * gio/gfilenamecompleter.h:
2174         * gio/gfileoutputstream.c:
2175         * gio/gfilterinputstream.c:
2176         * gio/gicon.c:
2177         * gio/ginputstream.c:
2178         * gio/giomodule.c:
2179         * gio/gioscheduler.c:
2180         * gio/gloadableicon.c:
2181         * gio/glocaldirectorymonitor.c:
2182         * gio/glocalfile.c:
2183         * gio/glocalfileinputstream.c:
2184         * gio/glocalfilemonitor.c:
2185         * gio/glocalfileoutputstream.c:
2186         * gio/glocalvfs.c:
2187         * gio/gmemoryinputstream.c:
2188         * gio/gmemoryoutputstream.c:
2189         * gio/gmountoperation.c:
2190         * gio/goutputstream.c:
2191         * gio/gpollfilemonitor.c:
2192         * gio/gseekable.c:
2193         * gio/gsimpleasyncresult.c:
2194         * gio/gsocketinputstream.c:
2195         * gio/gsocketoutputstream.c:
2196         * gio/gthemedicon.c:
2197         * gio/gunionvolumemonitor.c:
2198         * gio/gunixdrive.c:
2199         * gio/gunixmounts.c:
2200         * gio/gunixvolume.c:
2201         * gio/gunixvolumemonitor.c:
2202         * gio/gurifuncs.c:
2203         * gio/gvfs.c:
2204         * gio/gvolume.c:
2205         * gio/gvolumemonitor.c:
2206         * gio/gwin32appinfo.c:
2207         Add (mostly stub) doc strings to public functions.
2208         Patch from Andrew Walton (awalton@gmail.com)
2209
2210 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2211
2212         * gio/gappinfo.[ch]:
2213         Added GAppLaunchContext object and pass that to launch.
2214         This allows simple implementation of both
2215         launch-on-screen and startup notification via a gtk+
2216         subclass of GAppLaunchContext
2217         
2218         * gio/gdesktopappinfo.c:
2219         Implement GAppLaunchContext API
2220         
2221         * gio/gwin32appinfo.c:
2222         Update to new APIs
2223
2224 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2225
2226         * gio/gmountoperation.c:
2227         Add some guards to GMountOperation's public functions.
2228
2229 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2230
2231
2232         * gio/gappinfo.c:
2233         * gio/gcancellable.c:
2234         * gio/gdirectorymonitor.c:
2235         * gio/gdrive.c:
2236         * gio/gfileenumerator.c:
2237         * gio/gfilemonitor.c:,
2238         * gio/gfilenamecompleter.c:
2239         * gio/gicon.c:
2240         * gio/giomodule.c:
2241         * gio/gioscheduler.c:
2242         * gio/gseekable.c:
2243         * gio/gurifuncs.c:
2244         * gio/gvolume.c:
2245         * gio/gvolumemonitor.c:
2246         Add even more guards to various public functions.
2247
2248 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2249
2250         * gio/gappinfo.c:
2251         Add guards to the public functions of GAppInfo.
2252
2253 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2254
2255         * gio/gcontenttype.c:
2256         Add some more guards for public functions.
2257
2258 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2259
2260         * gio/fam/fam-module.c:
2261         * gio/fam/gfamdirectorymonitor.c:
2262         * gio/fam/gfamdirectorymonitor.h:
2263         * gio/fam/gfamfilemonitor.c:
2264         * gio/fam/gfamfilemonitor.h:
2265         * gio/inotify/ginotifydirectorymonitor.c:
2266         * gio/inotify/ginotifydirectorymonitor.h:
2267         * gio/inotify/ginotifyfilemonitor.c:
2268         * gio/inotify/ginotifyfilemonitor.h:
2269         Add proper copyright information and remove an unused variable
2270         in the GInotifyFileMonitor constructor.
2271
2272         * gio/gcancellable.c:
2273         Add a guard for a public function and an assertion to prevent
2274         an undefined program state.
2275
2276 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2277
2278         * gio/gfileattribute.c:
2279         Don't run into an assertion if the given attribute value is NULL
2280         in g_file_attribute_value_get_*() but instead return a fallback
2281         value that makes sense in most situations. Passing them a attribute
2282         value with the wrong type will still run into an assertion.
2283
2284 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2285
2286         * gio/gfileattribute.c:
2287         * gio/gfileinfo.c:
2288         Add even more guards to the public functions. Also fix the refcounting
2289         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2290         let g_file_info_list_attributes() filter the attributes by namespace
2291         instead of simply ignoring the namespace parameter.
2292
2293 2007-11-03  Sven Herzberg  <sven@imendio.com>
2294
2295         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2296         (This makes gio work on MacOS X again)
2297
2298 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2299
2300         * Makefile.am:
2301         Build the gio subdirectory before the docs. Otherwise the build will
2302         fail.
2303
2304         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2305         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2306         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2307         Add guards to the public functions.
2308
2309 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2310
2311         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2312         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2313         to prevent a compiler warning.
2314
2315         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2316         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2317         return something in the non-void function find_topdir_for().
2318
2319 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
2320
2321         * configure.ac:
2322         * Makefile.am:
2323         * docs/:
2324         Gtkdocify!
2325
2326 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
2327
2328         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2329         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2330         * gwin32appinfo.c (g_win32_app_info_launch):
2331         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2332         envp_for_startup_id, g_desktop_app_info_launch,
2333         g_desktop_app_info_launch_uris):
2334
2335         Give an opaque 'startup_id' string instead of 'envp'.
2336         Support empty file lists for launching new windows.
2337         Fix infinite recursion bug when launching URIs.
2338
2339 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2340
2341         * gio/gfile.c:
2342         Add guard to the new g_file_get_uri_scheme() function.
2343
2344 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2345
2346         * gio/gfile.c:
2347         Convert a g_return_val_if_fail() to setting the GError instead as
2348         otherwise applications have to verify the parameter before otherwise
2349         and the parameter might come directly from the user.
2350
2351 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2352
2353         * gio/inotify/ginotify*.[ch]:
2354         Add missing copyright information.
2355
2356 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2357
2358         * gio/gfile.c:
2359         Add guards in the beginning of public functions to check for valid
2360         parameters and fix a bug in copy_stream_with_progress() that could've
2361         caused writing less bytes than reading.
2362         * gio/glocalfileinfo.c:
2363         Check for a NULL parameter and set the GError accordingly then.
2364         * gio/goutputstream.c:
2365         Fix the same bug as in gfile.c that could've caused writing less bytes
2366         than reading in g_output_stream_real_splice().
2367
2368 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
2369
2370         * gio/Makefile.am:
2371         Use the correct gvolumeprivate.h naming
2372
2373 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2374
2375         * gio/Makefile.am:
2376         Remove leftover "$(daemon_sources)" entry.
2377
2378 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2379
2380         * gio/fam/*.[ch]:
2381         * gio/*.[ch]:
2382         * programs/*.[ch]:
2383         Add copyright information to source files.
2384
2385 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2386
2387         * gio/gfile.[ch]:
2388         * gio/glocalfile.c:
2389         Add g_file_get_uri_scheme
2390
2391 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2392
2393         * gio/gappinfo.h:
2394         * gio/gdesktopappinfo.c:
2395         * gio/gwin32appinfo.c:
2396         Add g_app_info_get_default_for_uri_scheme.
2397
2398 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2399
2400         * gio/Makefile.am:
2401         Correct filename for gdriveprivate.h
2402
2403 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2404
2405         * gio/gfileinfo.h:
2406         Rename id:value to id:file
2407         Add id:fs
2408         
2409         * gio/glocalfileinfo.c:
2410         Implement id:fs
2411
2412 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2413
2414         * gio/gunixvolume.c:
2415         * gio/gvolume.[ch]:
2416         Remove g_volume_get_platform_id, as thats not
2417         needed with the simpler union volume monitor
2418
2419 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2420
2421         * gio/Makefile.am:
2422         * gio/guniondrive.[ch]: Removed.
2423         * gio/gunionvolume.[ch]: Removed.
2424         Remove GUnionDrive/Volume
2425
2426         * gio/gunionvolumemonitor.c:
2427         Simplify union volume monitor, now we
2428         only have one native volume monitor and
2429         we use the actual volumes/drives from the
2430         child monitors instead of wrapping them
2431
2432         * gio/gnativevolumemonitor.[ch]:
2433         Base class for native volume monitors.
2434         Includes priority and get_volume_for_mountpoint
2435         
2436         * gio/gfile.[ch]:
2437         Add g_file_find_enclosing_volume
2438
2439         * gio/gfileinfo.h:
2440         Remove volume name fs attribute
2441         Add readonly fs attribute
2442         
2443         * gio/glocalfile.c:
2444         Implement readonly attribute
2445         remove volume name attribute
2446         Implement find_enclosing volume
2447         
2448         * gio/gunixmounts.c:
2449         Add a volume for "/".
2450         
2451         * gio/gunixvolume.[ch]:
2452         Set better name for /
2453         
2454         * gio/gunixvolumemonitor.[ch]:
2455         Derive from GNativeVolumeMonitor
2456         Implement get_volume_for_mountpoint
2457         
2458         * gio/gvolume.h:
2459         GVolume typedef moved to gfile.h
2460         
2461         * gio/gvolumeprivate.h:
2462         Add g_volume_get_for_mount_path
2463
2464 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2465
2466         * gio/gunixmounts.[ch]:
2467         Add cache info to unix mount listers
2468         Make getmntent use threadsafe
2469         Add is_system_internal attribute for GUnixMount
2470         
2471         * gio/gunixvolume.c:
2472         (g_unix_volume_new):
2473         Use is_system_internal instead of own code
2474         
2475         * gio/glocaldirectorymonitor.c:
2476         * gio/gunixvolumemonitor.c:
2477         Update to new gunixmounts API
2478         
2479         * gio/glocalfile.c:
2480         Fix warning
2481
2482 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2483
2484         * gio/gfileinfo.h:
2485         Add volume name fsinfo attribute
2486         
2487         * gio/glocalfile.c:
2488         Read volume name info
2489         
2490         * gio/gunionvolumemonitor.c:
2491         Fix infinite loops when finalizing a union volume monitor
2492
2493 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2494
2495         * gio/goutputstream.[ch]:
2496         Add splice() with default implementation
2497         
2498         * gio/gsocketoutputstream.c:
2499         (g_socket_output_stream_write):
2500         Return error on cancellation correctly.
2501         
2502 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2503
2504         * gio/glocalfile.c (g_local_file_trash):
2505         Do not leak a string.
2506
2507 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2508
2509         * gio/gfile.c (g_file_load_contents):
2510         Unref the stream after closing it.
2511
2512 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2513
2514         * gio/gioscheduler.h:
2515         Fix include
2516
2517 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2518
2519         * gio/gfile.[ch]:
2520         * gio/glocalfile.c:
2521         Add g_file_has_uri_scheme and implement for local files
2522
2523 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
2524
2525         * gio/gdesktopappinfo.c: do not leak a string.
2526
2527 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2528
2529         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2530         (g_local_directory_monitor_new):
2531         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2532         (g_local_file_monitor_new):
2533         Only look for the monitor type that should be used the first time
2534         and use g_qsort_with_data() instead of our own bubble sort
2535         implementation.
2536
2537 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2538
2539         * gio/Makefile.am:
2540         * gio/fam/Makefile.am:
2541         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2542         * gio/fam/fam-helper.h:
2543         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2544         * gio/fam/gfamdirectorymonitor.c:
2545         * gio/fam/gfamdirectorymonitor.h:
2546         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2547         * gio/fam/gfamfilemonitor.h:
2548         * gio/glocaldirectorymonitor.c:
2549         * gio/glocaldirectorymonitor.h:
2550         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2551         * gio/glocalfilemonitor.h:
2552         * gio/inotify/Makefile.am:
2553         * gio/inotify/ginotifydirectorymonitor.c:
2554         * gio/inotify/ginotifydirectorymonitor.h:
2555         * gio/inotify/ginotifyfilemonitor.c:
2556         * gio/inotify/ginotifyfilemonitor.h:
2557         Implement the FAM and Inotify monitors as
2558         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2559         their own GIO module. GLocal(Directory|File)Monitor will use the
2560         monitor with the highest rank that is supported on that machine.
2561
2562 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
2563
2564         * gio/Makefile.am:
2565         Change GIO module dir to $(libdir)/gio/modules and change
2566         the log domain from GVFS to GIO. Also only export symbols starting
2567         with g_ in the resulting library.
2568         * gio/test-streams.c: (main):
2569         Set log handler for the GIO log domain.
2570
2571 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2572
2573         * gio/gfilenamecompleter.[ch]:
2574         Add g_filename_completer_set_dirs_only
2575
2576 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2577
2578         * gio/Makefile.am:
2579         * gio/gurifuncs.[ch]:
2580         Add some simple URI helpers
2581         
2582         * gio/gfilenamecompleter.[ch]:
2583         Added object for filename (parse name actually) completion
2584         
2585         * gio/glocalvfs.c:
2586         Handle ~ in parse names
2587
2588 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2589
2590         * gio/gfileinfo.h:
2591         * gio/glocalfileinfo.c:
2592         Add and implement id:value attribute
2593
2594 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2595
2596         * gio/gdrive.[ch]:
2597         * gio/guniondrive.c:
2598         * gio/gunixdrive.c:
2599         Add and implement g_drive_has_volumes
2600         
2601 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2602
2603         * gio/gfileinfo.h:
2604         * gio/glocalfileinfo.[ch]:
2605         Add unix:is_mountpoint and implement for local files
2606
2607 2007-10-16  Alexander Larsson  <alexl@redhat.com>
2608
2609         * gio/gunionvolumemonitor.c:
2610         (g_union_volume_monitor_init):
2611         Fix up the unix type getting so that it works with gcc
2612         
2613 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2614
2615         * gio/gfileinfo.h:
2616         * gio/glocalfileinfo.c:
2617         Add thumbnail:failed to file info
2618
2619 2007-10-12  Richard Hult  <richard@imendio.com>
2620
2621         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2622         optimizing away the get_type call (happens with some gcc versions,
2623         like the one shipped with OS X 10.4).
2624
2625 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2626
2627         * gio/glocalfileinfo.c:
2628         (_g_local_file_info_set_attribute):
2629         Fix build if not HAVE_XATTR
2630         Patch from Milosz Derezynski <internalerror@gmail.com>
2631
2632 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
2633
2634         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2635         around for review, otherwise I would have asked you before
2636         committing)
2637
2638 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2639
2640         * gio/gfileinfo.h:
2641         Add thumbnail:path attribute
2642         
2643         * gio/glocalfileinfo.c:
2644         Implement thumbnail:path for local files
2645
2646 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2647
2648         * gio/glocalfileinfo.c:
2649         (_g_local_file_info_get):
2650         Avoid duplicate icon names
2651
2652 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2653
2654         * gio/gthemedicon.[ch]:
2655         Change g_themed_icon_get_names return type to const
2656
2657 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2658
2659         * gio/glocalfileinfo.c:
2660         Don't reference freed memory
2661
2662 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2663
2664         * gio/gfileattribute.c:
2665         Handle objects
2666         
2667         * gio/glocalfileinfo.c:
2668         Return icon info
2669
2670 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2671
2672         * gio/gfileinfo.c:
2673         Check for NULL icons
2674
2675         * gio/gfileattribute.c:
2676         Don't dup when getting objects (same as for string attributes)
2677
2678         * gio/gicon.c (g_icon_equal):
2679         Safely handle NULLs in equal
2680
2681 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2682
2683         * gio/gfileinfo.h:
2684         Fix c++ compilation issues
2685         Patch from Milosz Derezynski <internalerror@gmail.com>
2686
2687 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2688
2689         * programs/gio-monitor-dir.c:
2690         Don't crash if dir monitor not supported.
2691
2692 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2693
2694         * gio/gioerror.h:
2695         Add missing G_END_DECLS
2696
2697 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2698
2699         * gio/gfile.c: (g_file_set_display_name),
2700         (g_file_query_settable_attributes),
2701         (g_file_query_writable_namespaces):
2702         Return NULL not FALSE on errors as the return type is a pointer.
2703
2704 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2705
2706         * gio/glocalfile.c: (g_local_file_monitor_file):
2707         Don't call monitor_file on the default interface vtable (which
2708         is NULL) but simply return NULL. The caller, GFile, will create a
2709         polling monitor if NULL is returned.
2710
2711 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2712
2713         * Makefile.am:
2714         * configure.ac:
2715         * gio-unix-2.0.pc.in:
2716         Add gio-unix-2.0.pc if OS_UNIX
2717         
2718         * gio/Makefile.am:
2719         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2720
2721 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2722
2723         * gio/gunixmounts.[ch]:
2724         Make unix mount monitoring API sane.
2725         Now its just a object with mounts_changed
2726         and mountpoints_changed signals.
2727         
2728         * gio/glocaldirectorymonitor.c:
2729         * gio/gunixvolumemonitor.c:
2730         Use new mount monitor api
2731
2732 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2733
2734         * gio/gunixmounts.[ch]:
2735         Move guess type into one call for mounts and one for mountpoints
2736         
2737         * gio/gunixdrive.c:
2738         * gio/gunixvolume.c:
2739         Update
2740
2741 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2742
2743         * gio/gunixmounts.[ch]:
2744         Remove _ prefix in preparation to make this semi-public
2745         Hide implementation of structs
2746         
2747         * gio/glocaldirectorymonitor.c:
2748         * gio/gunixdrive.c:
2749         * gio/gunixvolume.c:
2750         * gio/gunixvolumemonitor.c:
2751         Update for above API changes
2752
2753 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2754
2755         * gio/gfile.c:
2756         Better polling fallback. This also handles the case where we have
2757         a monitor_file implementation, but it fails.
2758
2759 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2760
2761         * gio/gfile.[ch]:
2762         * gio/glocalfile.c:
2763         * gio/gunixmounts.c:
2764         * programs/gio-monitor-dir.c:
2765         * programs/gio-monitor-file.c:
2766         Added cancellable to file monitoring calls.
2767         These are really sync calls and need this.
2768
2769 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
2770
2771         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2772         (g_local_vfs_class_init):
2773         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2774         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2775
2776 2007-10-05  Alexander Larsson  <alexl@redhat.com>
2777
2778         * gio/gdirectorymonitorprivate.h: 
2779         * gio/gfilemonitorprivate.h: 
2780         * gio/gdirectorymonitor.h:
2781         * gio/gfilemonitor.h:
2782         Remove *private.h and move to the public API, so that
2783         we can do implementations outside gio (such as in gvfs)
2784         
2785         * gio/gdirectorymonitor.c:
2786         * gio/gfilemonitor.c:
2787         * gio/glocaldirectorymonitor.c:
2788         * gio/gpollfilemonitor.c:
2789         * gio/inotify/inotify-helper.c:
2790         * gio/fam/fam-helper.c:
2791         Update to the new header names
2792
2793 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
2794
2795         * gio/gdirectorymonitor.c:
2796         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2797         GTypes as abstract.
2798
2799 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2800
2801         * gio/glocalfileinfo.c (get_access_rights):
2802         Set CAN_TRASH when we can move the file.
2803         We should really also check for a parent trash dir.
2804
2805 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2806
2807         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2808         Add can_trash access attribute
2809
2810 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2811
2812         * gio/glocalfile.c:
2813         (g_local_file_trash):
2814         Create info file first. This is per-spec and allows
2815         us to actually trash directories.
2816
2817 2007-10-02  Alexander Larsson  <alexl@redhat.com>
2818
2819         * gio/gdesktopappinfo.c:
2820         Implement the new mime support code.
2821         Always set app as handling mimetype when being set as default for it
2822
2823 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2824
2825         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2826         Fix up check for xattrs:
2827
2828 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2829
2830         * gio/gappinfo.c:
2831         (g_app_info_set_as_default_for_extension):
2832         (g_app_info_add_supports_type):
2833         (g_app_info_can_remove_supports_type):
2834         (g_app_info_remove_supports_type):
2835         Make these fail nicely if not implemented
2836
2837 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
2838
2839         * gio/glocalfileoutputstream.c:
2840         * gio/glocalfileoutputstream.h:
2841         * gio/test-gio.c:
2842         * gio/gfile.c:
2843         * gio/gfile.h:
2844         * gio/glocalfile.c:
2845         * programs/gio-save.c: 
2846         Add a GFileCreateFlags argument to operations that can create
2847         a new file.
2848
2849 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2850
2851         * gio/gappinfo.[ch]:
2852         * gio/gdesktopappinfo.c:
2853         Add more (stubbed out) mime API needed for nautilus
2854
2855 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2856
2857         * gio/gappinfo.h:
2858         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2859         Add g_app_info_set_as_default_for_extension.
2860         
2861         * gio/gdesktopappinfo.c:
2862         Dummy for g_app_info_set_as_default_for_extension
2863         Support flags in g_app_info_create_from_commandline
2864
2865         * gio/gwin32appinfo.c:
2866         * gio/test-gio.c:
2867         Update for API changes
2868         
2869         * gio/gthemedicon.c:
2870         Properly NULL-terminate list of icon names
2871
2872 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2873
2874         * gio/gloadableicon.h:
2875         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2876
2877 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2878
2879         * gio/Makefile.am:
2880         Install headers in $includedir/gio-standalone/
2881         
2882         * gio-2.0.pc.in: Added.
2883         * gio-standalone.pc.in: Removed.
2884         * configure.ac:
2885         * Makefile.am:
2886         Renamed pkg-config file to match glib (for future move)
2887         Update to the new include dir
2888         
2889         * gio/gappinfo.h:
2890         Add more TODO comments
2891
2892 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2893
2894         * gio/gdesktopappinfo.[ch]:
2895         Expose new_from_filename
2896         Add getter for is_hidden and handle it better
2897
2898 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2899
2900         * gio/gfileinfo.[ch]:
2901         Rename g_file_size_format_for_display to
2902         g_format_file_size_for_display.
2903         Now it doesn't have the g_file prefix, so we
2904         can later move it to glib.
2905
2906 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2907
2908         * gio/gappinfo.[ch]:
2909         Add g_app_info_get_id and g_app_info_get_executable.
2910         Make all getters non-reffing
2911         Make g_app_info_launch take GFile arguments.
2912         Add must_support_uris argument to g_app_info_get_default_for_type.
2913         
2914         * gio/gwin32appinfo.c:
2915         Update to GAppInfo api changes
2916         
2917         * gio/gdesktopappinfo.c:
2918         Update to GAppInfo api changes
2919         Implement supports_xdg_startup_notify
2920         
2921         * gio/gfileicon.c (g_file_icon_get_file):
2922         Make getter non-reffing.
2923         
2924         * gio/test-gio.c:
2925         Update to new API
2926
2927 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2928
2929         * gio/gfileinfo.[ch]: 
2930         Add g_file_size_format_for_display helper
2931         
2932 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2933
2934         * gio/glocalfileinfo.c:
2935         Set UNIX_GID from gid, not from uid
2936
2937 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2938
2939         * gio/gfile.[ch]:
2940         Add g_file_set_attributes_async
2941
2942 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2943
2944         * gio/glocalfile.c (g_local_file_set_display_name):
2945         Fix set_display_name to actually rename to the right place.
2946         Use lstat to look for existing files so we don't overwrite
2947         broken links.
2948
2949 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2950
2951         * gio/gfile.[ch]:
2952         Add g_file_set_display_name_async()
2953
2954 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2955
2956         * gio/gfile.[ch]:
2957         Add load_partial_contents async calls
2958         
2959         * gio/glocalfile.c:
2960         Make internal function static
2961
2962 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2963
2964         * gio/glocalfileinfo.c:
2965         Correctly detect broken symlinks
2966
2967 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2968
2969         * gio/gcancellable.c (g_cancellable_cancel):
2970         Allow cancel on NULL cancellable
2971
2972 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2973
2974         * gio/gsimpleasyncresult.c:
2975         Don't allocate g_error manually.
2976         Fixes g_slice/g_new mixup crash
2977
2978 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2979
2980         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2981         Actually set active_backend.
2982         This means the monitor will be cancelled correctly.
2983
2984 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2985
2986         * gio/gdirectorymonitor.c:
2987         Set timeout to NULL when destroying
2988
2989 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2990
2991         * gio/gioerror.h:
2992         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2993         that is a better description of the error.
2994
2995 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
2996
2997         * gio/gvfs.c: (g_vfs_get_local):
2998         Make the local vfs variable static. The same instance should
2999         always be returned.
3000
3001 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3002
3003         * gio/glocalfileinfo.c:
3004         Pass in actual length read into sniffer, not the length
3005         we tried to read.
3006
3007 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3008
3009         * gio/gfileenumerator.c:
3010         * gio/gfileinfo.c:
3011         * gio/gfileinfo.h:
3012         * gio/gfileinputstream.c:
3013         * gio/gfileoutputstream.c:
3014         * gio/ginputstream.c:
3015         * gio/goutputstream.c:
3016         Don't crash if async callbacks are NULL
3017
3018 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3019
3020         * gio/gfile.[ch]:
3021         Add async enumerate_children method and default
3022         implementation
3023
3024 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3025
3026         * gio/gfile.[ch]
3027         Add g_file_contains_file & g_file_get_relative_path, since they
3028         were needed for nautilus.
3029         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3030         to make it clearer.
3031         
3032         * gio/gdummyfile.c:
3033         * gio/glocalfile.c:
3034         Implement new methods
3035
3036 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3037
3038         * gio/gfile.[ch]:
3039         * gio/gfileinputstream.[ch]:
3040         * gio/gfileoutputstream.[ch]:
3041         * gio/glocalfile.c:
3042         * gio/glocalfileenumerator.[ch]:
3043         * gio/glocalfileinfo.[ch]:
3044         * gio/glocalfileinputstream.c:
3045         * gio/glocalfileoutputstream.c:
3046         * gio/gpollfilemonitor.c:
3047         * programs/gio-copy.c:
3048         * programs/gio-info.c:
3049         * programs/gio-move.c:
3050         Rename get_file_info to query_info() to make it clearer
3051         that these are not simple getters, but do i/o.
3052
3053 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3054
3055         * gio/gdatainputstream.[ch]:
3056         * gio/test-streams.c:
3057         Use _read_XXX instead of _get_XXX for the i/o calls
3058         in GDataInputStream
3059
3060 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3061
3062         * gio/gappinfo.h:
3063         Added needed stuff to TODO comment
3064
3065 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3066
3067         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3068         Don't error out removing the backup copy if it doesn't
3069         already exist.
3070
3071 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3072
3073         * programs/Makefile.am:
3074         * programs/gvfs-*.c: 
3075         * programs/gio-*.c:
3076         Renamed apps from gvfs-xxx to gio-xxx.
3077
3078 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3079
3080         * gio/gfile.c:
3081         * gio/gfileoutputstream.[ch]:
3082         * gio/glocalfileoutputstream.c:
3083         * programs/gvfs-save.c:
3084         g_file_output_stream_get_etag doesn't do i/o, so remove
3085         cancellation and error.
3086
3087 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3088
3089         * gio/gfile.[ch]:
3090         Add new_etag output to replace_contents functions
3091
3092 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3093
3094         * gio/gfileoutputstream.[ch]:
3095         Add async get_file_info and default implementation
3096
3097 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3098
3099         * gio/gfileinputstream.c:
3100         Implement fallback wrapper for async get_file_info
3101
3102 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3103
3104         * gio/gfile.[ch]:
3105         Add etag out argument to load_contents
3106         
3107         * gio/test-gio.c:
3108         Update to new API
3109
3110 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3111
3112         * gio/gcontenttype.c (looks_like_text):
3113         Whitespace like tab, cr and lf do not make the
3114         file binary.
3115
3116 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3117
3118         * gio/gfileinputstream.[ch]:
3119         Add async get_file_info.
3120
3121 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3122
3123         * gio/goutputstream.c (g_output_stream_write_all):
3124         Allow NULL for bytes_written
3125
3126 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3127
3128         * gio/gmemoryinputstream.[ch]:
3129         Add accessors for data
3130
3131 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3132
3133         * gio/gdatainputstream.c (g_data_input_stream_get_until):
3134         Don't crash if length is NULL
3135