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