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