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