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