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