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