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