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