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