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