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