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