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