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