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