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