Add some more G_OS_WIN32 conditionals to silence gcc warnings.
[platform/upstream/glib.git] / gio / ChangeLog
1 2007-12-10  Tor Lillqvist  <tml@novell.com>
2
3         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
4         gcc warnings.
5
6 2007-12-10  Alexander Larsson  <alexl@redhat.com>
7
8         * gfile.c (g_file_set_display_name):
9         Don't hardcode '/' (#502727)
10
11 2007-12-09  Hans Breuer  <hans@breuer.org>
12
13         * makefile.msc : follow lib naming convention
14         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
15         for user and group name, tested with ../tests/gio-ls
16
17 2007-12-09  A. Walton  <awalton@svn.gnome.org>
18
19         * gdesktopappinfo.c:
20         * gdrive.c:
21         * gdrive.h:
22         * gfile.c:
23         * gfile.h:
24         * gfileattribute.c:
25         * gfileenumerator.c:
26         * gioerror.c:
27         * gioscheduler.c:
28         * gioscheduler.h:
29         * gloadableicon.c:
30         * gmemoryinputstream.c:
31         * gmemoryoutputstream.c:
32         * goutputstream.h:
33         * gsimpleasyncresult.c:
34         More documentation cleanup and filling in missing information, bringing
35         GIO to 99% symbol coverage.
36
37 2007-12-08  Hans Breuer  <hans@breuer.org>
38
39         [gio compiles and links on win32, not sure how much already works]
40         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
41         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
42         base on win32 API; prefer g_lstat() over lstat(); instead of 
43         localtime_r() use an all GLib implementation on win32;
44         get_mount_info() still needs a win32 specifc implementation
45         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
46         win32_get_file_user_info to get owner/group info without uid/gid
47         * glocalfileinputstream.c : include <io.h> on win32
48         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
49         definition, use g_win32_ftruncate() for G_OS_WIN32
50         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
51         it is available with mingw/w32api but a mess with the M$ Platform SDKs
52         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
53         * makefile.msc : updated
54
55 2007-12-07  Alexander Larsson  <alexl@redhat.com>
56
57         * glocalfileenumerator.c (_g_local_file_enumerator_new):
58         Avoid warning spew if error == NULL
59         
60 2007-12-07  Alexander Larsson  <alexl@redhat.com>
61
62         * gfile.c:
63         Update docs wrt etags
64
65 2007-12-06  Alexander Larsson  <alexl@redhat.com>
66
67         * glocalfileinfo.h:
68         Include sys/types.h for dev_t (#501919)
69
70 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
71
72         * gio.symbols:
73         * pltcheck.sh:
74         Make abicheck and pltcheck pass.
75
76 2007-12-05  Alexander Larsson  <alexl@redhat.com>
77
78         * Makefile.am:
79         * giomodule-priv.h: Added.
80         * glocaldirectorymonitor.c:
81         * glocalfilemonitor.c:
82         * gunionvolumemonitor.c:
83         * gvfs.c:
84         Actually add the declaration of _g_io_modules_ensure_loaded
85
86 2007-12-05  Alexander Larsson  <alexl@redhat.com>
87
88         * gdatainputstream.c:
89         Fix warnings
90         
91         * gio.symbols:
92         * giomodule.[ch]
93         * glocaldirectorymonitor.c:
94         * glocalfilemonitor.c:
95         * gunionvolumemonitor.c:
96         * gvfs.c:
97         Make g_io_modules_ensure_loaded a private function and
98         don't pass in the dirname. This means we can do magic
99         directory finding in the win32 version.
100         Export the actual load-modules-in-directory code so that
101         gvfs can reuse that.
102
103 2007-12-05  Alexander Larsson  <alexl@redhat.com>
104
105         * gbufferedinputstream.c:
106         * gbufferedoutputstream.c:
107         * gdrive.[ch]:
108         * gfile.[ch]:
109         * gfileenumerator.[ch]:
110         * gfileinputstream.c:
111         * gfileoutputstream.[ch]:
112         * gfilterinputstream.c:
113         * gfilteroutputstream.c:
114         * ginputstream.[ch]:
115         * glocalfile.c:
116         * glocalfileenumerator.c:
117         * glocalfileinputstream.c:
118         * glocalfileoutputstream.c:
119         * gmemoryinputstream.c:
120         * gmemoryoutputstream.c:
121         * goutputstream.[ch]:
122         * gseekable.[ch]:
123         * gunixdrive.c:
124         * gunixinputstream.c:
125         * gunixoutputstream.c:
126         Rename all struct members named:
127         read, write, close, truncate, or mount
128         to foo_fn, as these are reserved names
129         and could be defined as macros in libc.
130         (#501645)
131
132 2007-12-04  Alexander Larsson  <alexl@redhat.com>
133
134         * goutputstream.c:
135         (g_output_stream_close):
136         Only call flush if non-null.
137
138 2007-11-30  Dan Winship  <danw@gnome.org>
139
140         * ginputstream.c (g_input_stream_set_pending): Make this take a
141         GError and return a gboolean, and do the "outstanding operation"
142         check (and the "stream is already closed" check) itself.
143         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
144
145         * goutputstream.c (g_output_stream_set_pending)
146         (g_output_stream_clear_pending): Likewise
147
148         * gbufferedinputstream.c: 
149         * gfileinputstream.c: 
150         * gfileoutputstream.c: Update for that
151
152         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
153         Like g_simple_async_report_error_in_idle, but takes a GError
154         rather than building one.
155
156 2007-11-30  Dan Winship  <danw@gnome.org>
157
158         * goutputstream.c: Don't cheat and unset the "pending" flag around
159         inner calls. Instead, call the class method directly rather than
160         the wrapper function that checks "pending"
161
162 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
163
164         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
165
166 2007-12-03  Hans Breuer  <hans@breuer.org>
167
168         [start of port to win32/msvc]
169         * gcancellable.c : HAVE_UNIST_H and _pipe()
170         * gcontenttype.c : only include <dirent.h> in the UNIX branch
171         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
172         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
173         HAVE_UNIST_H
174         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
175         * glocalvfs.c : use HAVE_PWD_H
176         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
177         * makefile.msc : new file (maybe later converted to makefile.msc.in)
178         * Makefile.am : added to EXTRA_DIST
179
180 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
181
182         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
183         (#499783)
184
185 2007-12-03  Alexander Larsson  <alexl@redhat.com>
186
187         * glocalfileinfo.c:
188         Handle OSX style xattrs API (#500506)
189
190 2007-12-03  Alexander Larsson  <alexl@redhat.com>
191
192         * gfile.[ch]:
193         * glocalfile.c:
194         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
195
196 2007-12-02  A. Walton  <awalton@svn.gnome.org>
197
198         * gfile.c:
199         * gfileattribute.c:
200         Documentation accuracy fixes.
201
202 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
203
204         * gioenumtypes.c.template: Fix typo.
205
206 2007-12-01  Matthias Clasen <mclasen@redhat.com>
207
208         * gioenumtypes.c.template: Make threadsafe get_type() functions.
209
210 2007-12-01  Matthias Clasen <mclasen@redhat.com>
211
212         * gdirectorymonitor.c:
213         * gfilemonitor.c: Add properties
214
215         * gbufferedoutputstream.c: Don't mark buffer-size property 
216         as construct-only.
217
218 2007-12-01  Matthias Clasen <mclasen@redhat.com>
219
220         * gbufferedoutputstream.c: Add auto-grow property.
221
222 2007-11-30  Matthias Clasen <mclasen@redhat.com>
223
224         * *.c: Unify the capitalization of section headings.
225
226 2007-11-30  Matthias Clasen <mclasen@redhat.com>
227
228         * gmountoperation.c: Add properties
229         
230         * gdatainputstream.c: Turn byte-order and newline-type into
231         properties.
232
233 2007-11-30  Matthias Clasen <mclasen@redhat.com>
234
235         * gioenumtypes.[hc].template: Templates for enum registration
236
237         * Makefile.am: Generate gioenumtypes.[hc]
238
239         * gio.h: Include gioenumtypes.h
240         * gappinfo.h:
241         * gfile.h: Add some explicit nicks.
242
243         * gio.symbols: Add new symbols
244
245         * pltcheck.sh: Adjust
246
247 2007-11-30  Matthias Clasen <mclasen@redhat.com>
248
249         * *.c: Explain etags and link to the explanation
250
251 2007-11-29  Matthias Clasen <mclasen@redhat.com>
252
253         * *.c: Explain I/O priority.
254
255         * *.c: More coding style fixes.
256
257 2007-11-29  Matthias Clasen <mclasen@redhat.com>
258
259         * gasyncresult.c: Add another paragraph to the intro,
260         adjust coding style of example.
261
262 2007-11-29  A. Walton <awalton@svn.gnome.org>
263
264         * gappinfo.c:
265           Fixes unknown meaning in GAppLaunchContext docs.
266         * gfile.c:
267           Clarify asynchronous ops.
268         * gfileattribute.c:
269           Fix entity tag docs.
270         * gicon.c:
271         * gthemedicon.c:
272           Provides missing gtk-doc section, fixes API docs slighly.
273         * gsimpleasyncresult.c:
274           Fill in missing info in docs.
275         * gunixinputstream.c:
276         * gunixoutputstream.c:
277           Be more expressive in short description.
278         * gunixvolume.c:
279           Remove gtk-doc stubs for non-public API.
280
281 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
282
283         * *.c: Coding style fixups
284
285 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
286
287         * inotify/inotify-helper.c: Don't export the lock from libgio.
288
289 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
290
291         * Makefile.am:
292         * abicheck.sh: Fix copy-and-paste leftovers 
293
294 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
295
296         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
297
298 2007-11-28  Alexander Larsson  <alexl@redhat.com>
299
300         * Makefile.am:
301         * gdriveprivate.h:
302         Removed unnecessary file
303         
304         * gdesktopappinfo.[ch]:
305         * gdummyfile.[ch]:
306         * gfile.c:
307         * glocaldirectorymonitor.[ch]:
308         * glocalfile.[ch]:
309         * glocalfileenumerator.[ch]:
310         * glocalfileinputstream.[ch]:
311         * glocalfilemonitor.[ch]:
312         * glocalfileoutputstream.[ch]:
313         * glocalvfs.[ch]:
314         * gnativevolumemonitor.c:
315         * gpollfilemonitor.[ch]:
316         * gunionvolumemonitor.[ch]:
317         * gunixdrive.[ch]:
318         * gunixvolume.[ch]:
319         * gunixvolumemonitor.[ch]:
320         * gvfs.c:
321         * gvolumeprivate.h:
322         * inotify/ginotifydirectorymonitor.[ch]:
323         * inotify/ginotifyfilemonitor.[ch]:
324         * inotify/inotify-helper.c:
325         Append _ to all internal functions
326         
327         * gio.symbols:
328         Add missing symbols
329         Export symbols needed for modules
330
331 2007-11-28  Alexander Larsson  <alexl@redhat.com>
332
333         * Makefile.am:
334         * abicheck.sh: Added.
335         * makegioalias.pl: Added.
336         * pltcheck.sh: Added.
337         * gio.symbols: Added.
338         * *.c:
339         * inotify/*.c
340         Initial work on adding symbol handling.
341
342         * gvfs.h:
343         Correct ifdef guard name
344
345         * fam/Makefile.am:
346         * inotify/Makefile.am:
347         * xdgmime/Makefile.am:
348         Include toplevel Makefile.decl
349
350 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
351
352         * gcontenttype.c: Move doc comments to the unix section.
353
354         * *.[hc]: More trivial doc corrections.
355
356 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
357
358         * gpollfilemonitor.c:
359         * gunixmounts.c:
360         * gvfs.c:
361         * gfile.c:
362         * gdesktopappinfo.c:
363         * gwin32appinfo.c:
364         * gvolume.c:
365         * glocalvfs.c:
366         * gvolumemonitor.c:
367         * gdatainputstream.c:
368         * gdatainputstream.h:
369         * gdataoutputstream.c:
370         * gdataoutputstream.h:
371         * gfileinfo.h: Doc cleanups
372
373 2007-11-28  Andre Klapper  <a9016009@gmx.de>
374
375         * gdesktopappinfo.c: Fix a typo.
376
377 2007-11-27  Andre Klapper  <a9016009@gmx.de>
378
379         * glocalfileoutputstream.c: Fix a typo.
380
381 2007-11-27  Alexander Larsson  <alexl@redhat.com>
382
383         * gio.h:
384         Don't include removed headers
385
386 2007-11-27  Alexander Larsson  <alexl@redhat.com>
387
388         * Makefile.am:
389         * gsocketinputstream.[ch]: Removed.
390         * gsocketoutputstream.[ch]: Removed.
391         * gunixinputstream.[ch]: Added.
392         * gunixoutputstream.[ch]: Added.
393         Renamed GSocket*Stream to GUnix*Stream and made
394         it unix-only, since its not really only for sockets
395         and it only works on unix (but is highly useful there).
396
397 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
398         * gappinfo.c:
399         * gappinfo.h:
400         * gasynchelper.c:
401         * gasyncresult.c:
402         * gasyncresult.h:
403         * gbufferedinputstream.c:
404         * gbufferedinputstream.h:
405         * gbufferedoutputstream.c:
406         * gbufferedoutputstream.h:
407         * gcancellable.c: 
408         * gcancellable.h:
409         * gcontenttype.c:
410         * gdatainputstream.c:
411         * gdatainputstream.h:
412         * gdataoutputstream.c:
413         * gdataoutputstream.h:
414         * gdirectorymonitor.c:
415         * gdirectorymonitor.h:
416         * gdrive.c: 
417         * gdrive.h:
418         * gfile.c:
419         * gfile.h:
420         * gfileattribute.c:
421         * gfileattribute.h:
422         * gfileenumerator.c:
423         * gfileenumerator.h:
424         * gfileicon.c:
425         * gfileicon.h:
426         * gfileinfo.c:
427         * gfileinfo.h:
428         * gfileinputstream.c:
429         * gfileinputstream.h:
430         * gfilemonitor.c:
431         * gfilemonitor.h:
432         * gfilenamecompleter.c:
433         * gfilenamecompleter.h:
434         * gfileoutputstream.c:
435         * gfileoutputstream.h:
436         * gfilterinputstream.c:
437         * gfilterinputstream.h:
438         * gfilteroutputstream.c:
439         * gfilteroutputstream.h:
440         * gicon.c:
441         * gicon.h:
442         * ginputstream.c:
443         * ginputstream.h:
444         * gioerror.c:
445         * gioerror.h:
446         * giomodule.c:
447         * giomodule.h:
448         * gioscheduler.c:
449         * gioscheduler.h:
450         * gloadableicon.c:
451         * gloadableicon.h:
452         * glocalfileoutputstream.c:
453         * gmemoryinputstream.c:
454         * gmemoryinputstream.h:
455         * gmemoryoutputstream.c:
456         * gmemoryoutputstream.h:
457         * gmountoperation.c: 
458         * gmountoperation.h:
459         * goutputstream.c:
460         * goutputstream.h:
461         * gpollfilemonitor.c:
462         * gseekable.c:
463         * gseekable.h:
464         * gsimpleasyncresult.c:
465         * gsimpleasyncresult.h:
466         * gsocketinputstream.c:
467         * gsocketinputstream.h:
468         * gsocketoutputstream.c:
469         * gsocketoutputstream.h:
470         * gthemedicon.c:
471         * gthemedicon.h:
472         * gunixdrive.c:
473         * gunixmounts.c: 
474         * gunixmounts.h:
475         * gunixvolume.c:
476         * gunixvolumemonitor.c:
477         * gurifuncs.c:
478         * gurifuncs.h:
479         * gvfs.c:
480         * gvfs.h:
481         * gvolume.c:
482         * gvolume.h:
483         * gvolumemonitor.c: 
484         * gvolumemonitor.h:
485         Bumps documentation to 93% symbol coverage, touching most 
486         of the public files. Fixes broken function documentation prototypes. 
487         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
488         gtk-doc headers in private files.
489
490 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
491
492         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
493         (g_buffered_input_stream_read_byte):
494         * gbufferedinputstream.h:
495         New functions for efficient access to buffer and simple single byte
496         reads.
497
498         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
499         (g_data_input_stream_read_until):
500         * gdatainputstream.h:
501         Use peek_buffer to avoid memcpy in scan_for_newline, implement
502         read_until with multiple stop chars.
503
504 2007-11-27  Alexander Larsson  <alexl@redhat.com>
505
506         * Makefile.am:
507         * fam/Makefile.am:
508         * inotify/Makefile.am:
509         Use the user-specified giomoduledir
510
511 2007-11-27  Alexander Larsson  <alexl@redhat.com>
512
513         * Makefile.am
514         * gio.h:
515         Add catch-all gio.h header
516         Don't install gdummyfile.h
517
518 2007-11-26  Alexander Larsson  <alexl@redhat.com>
519
520         * Makefile.am (gioinclude_HEADERS):
521         Remove trailing whitespace
522         
523 2007-11-26  Alexander Larsson  <alexl@redhat.com>
524
525         Merge gio-standalone into glib
526
527 2007-11-25  Christian Kellner  <gicmo@gnome.org>
528
529         * gio/goutputstream.c:
530         Fix small mistake in the docs.
531
532 2007-11-21  Christian Persch  <chpe@gnome.org>
533
534         * gio/glocalfile.c: (g_local_file_trash):
535         Convert filenames to UTF-8 for GError.
536         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
537         as per xdg base dir spec.
538
539 2007-11-21  Christian Persch  <chpe@gnome.org>
540
541         * gio/gdesktopappinfo.c:
542         Use that g_key_file_to_data cannot fail.
543         Some misc cleanups.
544         Use stock defines for the key file group and key names.
545         Use bitfields.
546
547 2007-11-21  Alexander Larsson  <alexl@redhat.com>
548
549         * gio/gfile.c:
550         (copy_stream_with_progress):
551         Make sure we do a final progress callback with
552         the full total size.
553
554 2007-11-21  Alexander Larsson  <alexl@redhat.com>
555
556         * gio/gfile.[ch]:
557         Export g_file_copy_attributes
558         Remove padding as its not needed for interfaces
559
560 2007-11-20  Alexander Larsson  <alexl@redhat.com>
561
562         * gio/gfile.c:
563         * gio/gioerror.h:
564         * gio/glocalfile.c:
565         Add G_IO_ERROR_WOULD_MERGE for
566         copy/move dir on dir with overwrite.
567
568 2007-11-20  Alexander Larsson  <alexl@redhat.com>
569
570         * gio/gfileinfo.h:
571         * gio/glocalfileinfo.c:
572         Add COPY_NAME (this is an optional
573         non-modified utf8 version of the name) that
574         can roundtrip.
575
576 2007-11-20  Alexander Larsson  <alexl@redhat.com>
577
578         * gio/glocalfileenumerator.c:
579         Report errors as GIOError, not GFileError
580
581 2007-11-16  Alexander Larsson  <alexl@redhat.com>
582
583         * gio/glocalfileoutputstream.c:
584         * gio/gwin32appinfo.c:
585         Fix typos in strings.
586         Patch from Luca Ferretti <elle.uca@libero.it>
587
588 2007-11-15  Alexander Larsson  <alexl@redhat.com>
589
590         * configure.ac:
591         Post release version bump
592
593 === gio-standalone 0.1.2 ===
594
595 2007-11-15  Alexander Larsson  <alexl@redhat.com>
596
597         * docs/reference/gio/Makefile.am:
598         Fix up distcheck by removing weird
599         non-needed stuff
600
601         * NEWS:
602         Update for release
603
604 2007-11-14  Alexander Larsson  <alexl@redhat.com>
605
606         * gio/gdesktopappinfo.c:
607         * gio/glocaldirectorymonitor.c:
608         * gio/glocalfile.c:
609         * gio/glocalfileinfo.c:
610         * gio/inotify/inotify-sub.c:
611         * programs/gio-cat.c:
612         * programs/gio-copy.c:
613         * programs/gio-info.c:
614         * programs/gio-ls.c:
615         * programs/gio-monitor-dir.c:
616         * programs/gio-monitor-file.c:
617         * programs/gio-mount.c:
618         * programs/gio-move.c:
619         * programs/gio-rm.c:
620         * programs/gio-save.c:
621         * programs/gio-trash.c:
622         Leak fixes from Kjartan Maraas
623
624 2007-11-14  Alexander Larsson  <alexl@redhat.com>
625
626         * gio/fam/fam-helper.c:
627         * gio/gdrive.[ch]:
628         * gio/glocalfileinfo.c:
629         * gio/gunixdrive.c:
630         * gio/gvfs.c:
631         * gio/gvolume.[ch]:
632         * gio/inotify/inotify-diag.c:
633         * gio/inotify/inotify-kernel.c:
634         Various code cleanups from Kjartan Maraas
635
636 2007-11-14  Alexander Larsson  <alexl@redhat.com>
637
638         * gio/gioscheduler.c:
639         (init_scheduler):
640         Set up threadpool so that we cache 2 unused
641         idle threads for at 15 secs. This means we
642         will reuse thread-local data (like dbus connections)
643         for them.
644
645 2007-11-14  Alexander Larsson  <alexl@redhat.com>
646
647         * gio/fam/fam-helper.c:
648         * gio/fam/gfamdirectorymonitor.c:
649         * gio/fam/gfamfilemonitor.c:
650         * gio/gappinfo.c:
651         * gio/gcontenttype.c:
652         * gio/gdatainputstream.c:
653         * gio/gdataoutputstream.c:
654         * gio/gdummyfile.c:
655         * gio/gfile.c:
656         * gio/gfile.h:
657         * gio/gfileattribute.h:
658         * gio/gfileenumerator.c:
659         * gio/gfileinfo.c:
660         * gio/ginputstream.c:
661         * gio/gioerror.h:
662         * gio/glocalfile.c:
663         * gio/glocalfileinfo.c:
664         * gio/goutputstream.c:
665         * gio/gpollfilemonitor.c:
666         * gio/gsimpleasyncresult.c:
667         * gio/gunixmounts.c:
668         * gio/gunixmounts.h:
669         * gio/inotify/ginotifydirectorymonitor.c:
670         * gio/inotify/ginotifyfilemonitor.c:
671         * gio/inotify/inotify-diag.c:
672         * gio/inotify/inotify-kernel.c:
673         * gio/inotify/inotify-path.c:
674         * gio/test-gio.c:
675         * gio/test-streams.c:
676         * programs/gio-info.c:
677         * programs/gio-monitor-dir.c:
678         * programs/gio-monitor-file.c:
679         Various code cleanups from Kjartan Maraas
680
681 2007-11-13  Alexander Larsson  <alexl@redhat.com>
682
683         * gio/gdummyfile.c:
684         Handle the uri-scheme calls for dummy files
685
686 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
687
688         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
689         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
690         to avoid clash with the C++ keyword.
691
692 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
693
694         * gio/glocalfileinfo.c: Build fix, added missing semicolon
695         to an ifdef'ed call to getpwuid() in lookup_uid_data().
696
697 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
698
699         * gio/glocaldirectorymonitor.c:
700         * gio/glocalfilemonitor.c:
701         * gio/gunionvolumemonitor.c:
702         Don't use g_once_init_*() for initializations that could fail and
703         could leave the initialization variable set to 0 but use GOnce.
704         This prevents a deadlock on the second call when trying to create
705         a monitor and no monitor type is available. Thanks to Sven Herzberg
706         for reporting.
707
708 2007-11-11  Sven Herzberg  <sven@imendio.com>
709
710         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
711         #ifdef (make it work on MacOS X again)
712
713 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
714         * Changelog:
715         Fixes Changelog for last two commits (sorry guys).
716
717 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
718         * gio/gappinfo.c:
719         * gio/gbufferedinputstream.c:
720         * gio/gdatainputstream.c:
721         * gio/gfile.c:
722         * gio/gfileoutputstream.c:
723         * gio/gfilterinputstream.c:
724         * gio/glocalfileinputstream.c:
725         * gio/gurifuncs.c:
726         * gio/gvfs.c:
727         More consistency fixes in g*stream.c files. 
728         Significant clean of gfile's documentation, filling in of 
729         asynchronous operations documentation.
730
731 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
732         * gio/gappinfo.c:
733         * gio/gasyncresult.c:
734         * gio/gbufferedinputstream.c:
735         * gio/gbufferedoutputstream.c:
736         * gio/gcancellable.c:
737         * gio/gcontenttype.c:
738         * gio/gdatainputstream.c:
739         * gio/gdataoutputstream.c:
740         * gio/gdesktopappinfo.c:
741         * gio/gdrive.c:
742         * gio/gfile.c:
743         * gio/gfileattribute.c:
744         * gio/gio/gfileenumerator.c:
745         * gio/gfileinfo.c:
746         * gio/gfileinputstream.c:
747         * gio/gfilemonitor.c:
748         * gio/gfileoutputstream.c:
749         * gio/ginputstream.c:
750         * gio/giomodule.c:
751         * gio/gioscheduler.c:
752         * gio/gloadableicon.c:
753         * gio/glocalfileoutputstream.c:
754         * gio/gmemoryoutputstream.c:
755         * gio/gmountoperation.c:
756         * gio/goutputstream.c:
757         * gio/gseekable.c:
758         * gio/gsimpleasyncresult.c:
759         * gio/gunionvolumemonitor.c:
760         * gio/gunixmounts.c:
761         * gio/gunixvolume.c:
762         * gio/gurifuncs.c:
763         * gio/gvfs.c:
764         * gio/gvolume.c:
765         * gio/gvolumemonitor.c:
766         Updated documentation stubs, working towards consistency and 
767         completeness.
768
769 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
770
771         * gio/gmemoryoutputstream.c:
772         * gio/gmemoryoutputstream.h:
773         Change g_memory_output_stream_set_free_on_close() to
774         g_memory_output_stream_set_free_data() as this makes more sense and
775         is more consistent with GMemoryInputStream.
776
777 2007-11-07  Alexander Larsson  <alexl@redhat.com>
778
779         * gio/gfile.c:
780         Fix some docs
781         
782         * gio/glocalvfs.c:
783         * gio/gvfs.[ch]:
784         Change how we find the default vfs so that
785         we can handle a gvfs failing to init
786
787 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
788
789         * gio/gbufferedoutputstream.c:
790         * gio/gdatainputstream.c:
791         * gio/gdataoutputstream.c:
792         * gio/gfileinputstream.c:
793         * gio/gfileoutputstream.c:
794         * gio/gfilterinputstream.c:
795         * gio/gfilteroutputstream.c:
796         * gio/ginputstream.c:
797         * gio/gmemoryinputstream.c:
798         * gio/gmemoryoutputstream.c:
799         * gio/goutputstream.c:
800         * gio/gsimpleasyncresult.c:
801         * gio/gsocketinputstream.c:
802         * gio/gsocketoutputstream.c:
803         Add guards to the remaining public functions, add a TODO for
804         an unimplemented function and remove some useless guards.
805
806 2007-11-07  Alexander Larsson  <alexl@redhat.com>
807
808         * configure.ac:
809         Autoconf checks for the various types of
810         getpwuid_r and getgrgid_r
811         
812         * gio/glocalfileinfo.c:
813         Use the autoconf checks from above
814
815 2007-11-07  Alexander Larsson  <alexl@redhat.com>
816
817         * gio/glocalfile.c:
818         (g_local_file_query_filesystem_info):
819         Some fixes for the statvfs case
820         
821 2007-11-07  Alexander Larsson  <alexl@redhat.com>
822
823         * gio/glocalfile.c:
824         (g_local_file_query_filesystem_info):
825         Pick the "best" of statfs / statvfs for the system
826         if both are availible.
827
828 2007-11-07  Alexander Larsson  <alexl@redhat.com>
829
830         Solaris fixes from Halton.Huo@Sun.COM:
831         
832         * gio/gdrive.c:
833         * gio/gfile.c:
834         * gio/gvolume.c:
835         Don't return void
836         
837         * gio/glocalfileinfo.c:
838         Fix for solaris definition of getpwuid_r
839         
840         * gio/test-streams.c:
841         Use G_GNUC_PRETTY_FUNCTION
842
843 2007-11-07  Alexander Larsson  <alexl@redhat.com>
844
845         * gio/gdesktopappinfo.c:
846         (update_default_list):
847         Remove double semicolon.
848         Patch from Jens Granseuer
849
850 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
851
852         * docs/reference/gio/gio-sections.txt:
853         * gio/gbufferedinputstream.c:
854         * gio/gbufferedinputstream.h:
855         * gio/gdatainputstream.c:
856         * gio/gfileenumerator.c:
857         * gio/gioscheduler.c:
858         * gio/gunionvolumemonitor.c:
859         * gio/gvfs.c:
860         * programs/gio-save.c:
861         Fix typo: availible -> available. Unfortuntely this breaks API
862         and ABI as g_buffered_input_stream_get_available() was renamed.
863         
864         * gio/gunixmounts.c:
865         * gio/gbufferedinputstream.c:
866         Add guards for public functions.
867
868 2007-11-06  Ross Burton  <ross@openedhand.com>
869
870         * docs/reference/gio/Makefile.am:
871         Fix invalid += usage which automake 1.10 doesn't like.
872
873 2007-11-06  Alexander Larsson  <alexl@redhat.com>
874
875         * gio/gappinfo.c:
876         (g_app_launch_context_class_init):
877         Fix warning
878
879         Patch from Ross Burton 
880         
881 2007-11-06  Alexander Larsson  <alexl@redhat.com>
882
883         * configure.ac:
884         Post release version bump
885
886 === gio-standalone 0.1.1 ===
887
888 2007-11-06  Alexander Larsson  <alexl@redhat.com>
889
890         * configure.ac:
891         Bump version to 0.1.1
892         
893         * gio/gsimpleasyncresult.c:
894         (g_simple_async_result_set_from_error):
895         Remove bogus g_return_if_fail
896
897 2007-11-06  Alexander Larsson  <alexl@redhat.com>
898
899         * configure.ac:
900         The name is gio-standalone
901         
902         * gio/Makefile.am:
903         Add top src/builddir to includedir
904
905 2007-11-06  Alexander Larsson  <alexl@redhat.com>
906
907         * docs/reference/gio/gio-sections.txt:
908         * gio/gappinfo.c:
909         * gio/gbufferedinputstream.c:
910         * gio/gbufferedoutputstream.c:
911         * gio/gcancellable.c:
912         * gio/gdatainputstream.h:
913         * gio/gdataoutputstream.c:
914         * gio/gdataoutputstream.h:
915         * gio/gdirectorymonitor.c:
916         * gio/gfile.c:
917         * gio/gfileattribute.c:
918         * gio/gfileattribute.h:
919         * gio/gfileenumerator.c:
920         * gio/gfileenumerator.h:
921         * gio/gfileinfo.c:
922         * gio/gfileinfo.h:
923         * gio/gfileinputstream.h:
924         * gio/gfilemonitor.c:
925         * gio/gfileoutputstream.h:
926         * gio/glocalfilemonitor.h:
927         * gio/glocalfileoutputstream.h:
928         * gio/gmemoryinputstream.c:
929         * gio/gmemoryoutputstream.c:
930         * gio/gmountoperation.c:
931         * gio/goutputstream.c:
932         * gio/goutputstream.h:
933         * gio/gseekable.h:
934         * gio/gsimpleasyncresult.c:
935         * gio/gunixmounts.c:
936         * gio/gunixmounts.h:
937         * gio/gurifuncs.h:
938         * gio/inotify/inotify-helper.c:
939         Fix gtk-doc warnings
940
941         Patch from Ross Burton 
942         
943 2007-11-06  Alexander Larsson  <alexl@redhat.com>
944
945         * gio/gfilenamecompleter.c:
946         (g_filename_completer_get_completions):
947         fix warning
948         
949         * gio/gunixvolume.c:
950         Remove unused function
951
952         Patches from Ross Burton 
953
954 2007-11-06  Alexander Larsson  <alexl@redhat.com>
955
956         * gio/gdrive.h:
957         * gio/gseekable.h:
958         * gio/gvolume.h:
959         Padding not needed for interfaces
960
961 2007-11-06  Alexander Larsson  <alexl@redhat.com>
962
963         * gio/gfilemonitor.c:
964         Remove debug spew
965
966         * gio/Makefile.am:
967         Make giotypes.h an internal file
968         
969         * gio/gappinfo.h:
970         * gio/gbufferedinputstream.h:
971         * gio/gbufferedoutputstream.h:
972         * gio/gcancellable.h:
973         * gio/gdatainputstream.h:
974         * gio/gdataoutputstream.h:
975         * gio/gdirectorymonitor.c:
976         * gio/gdirectorymonitor.h:
977         * gio/gdrive.c:
978         * gio/gdrive.h:
979         * gio/gfile.c:
980         * gio/gfile.h:
981         * gio/gfileattribute.h:
982         * gio/gfileenumerator.h:
983         * gio/gfileicon.c:
984         * gio/gfileicon.h:
985         * gio/gfileinfo.c:
986         * gio/gfileinfo.h:
987         * gio/gfilemonitor.c:
988         * gio/gfilemonitor.h:
989         * gio/gfilenamecompleter.c:
990         * gio/gfilenamecompleter.h:
991         * gio/gfilterinputstream.h:
992         * gio/gfilteroutputstream.h:
993         * gio/ginputstream.h:
994         * gio/gmemoryinputstream.h:
995         * gio/gmemoryoutputstream.h:
996         * gio/gmountoperation.c:
997         * gio/gmountoperation.h:
998         * gio/gnativevolumemonitor.c:
999         * gio/goutputstream.h:
1000         * gio/gseekable.c:
1001         * gio/gseekable.h:
1002         * gio/gsimpleasyncresult.c:
1003         * gio/gsimpleasyncresult.h:
1004         * gio/gsocketinputstream.h:
1005         * gio/gsocketoutputstream.h:
1006         * gio/gthemedicon.c:
1007         * gio/gthemedicon.h:
1008         * gio/gvfs.h:
1009         * gio/gvolume.c:
1010         * gio/gvolume.h:
1011         * gio/gvolumemonitor.c:
1012         * gio/gvolumemonitor.h:
1013         Add padding in classes where it seems useful
1014         Don't include giotypes.h from public headers
1015         Move in Class definitions into c file where possible
1016         
1017         * gio/glocalfile.c:
1018         Fix warnings
1019
1020 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1021
1022         * docs/reference/gio/gio-docs.xml:
1023         Better structure for API docs
1024
1025 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * gio/gfileicon.c:
1028         * gio/gloadableicon.c:
1029         * gio/gsimpleasyncresult.c:
1030         * gio/gthemedicon.c:
1031         Add some more guards to public functions. Only files missing are now
1032         g*stream*.c.
1033
1034 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1035
1036         * docs/reference/gio/gio-docs.xml:
1037         Remove old files, add missing ones
1038
1039 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1040
1041         * docs/reference/gio/gio-sections.txt:
1042         Restructure
1043         Add missing stuff
1044         Hide implementation classes
1045         
1046         * gio/gdriveprivate.h:
1047         * gio/gvolumeprivate.h:
1048         Remove non-existing function declarations
1049
1050 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1051
1052         * gio/gappinfo.c:
1053         Fix compilation warnings and add guards to the new functions.
1054         
1055         * gio/gasyncresult.c:
1056         * gio/gdummyfile.c:
1057         Add guards to the public functions.
1058         
1059         * gio/gdummyfile.c:
1060         Implement get_path().
1061
1062 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1063
1064         * gio/gfilenamecompleter.c:
1065         Make g_filename_completer_get_completions
1066         return char ** instead of GList for
1067         typesafety.
1068         
1069         * docs/reference/gio/gio-docs.xml:
1070         * docs/reference/gio/gio-sections.txt:
1071         * gio/gappinfo.c:
1072         * gio/gasyncresult.c:
1073         * gio/gbufferedinputstream.c:
1074         * gio/gbufferedoutputstream.c:
1075         * gio/gcancellable.c:
1076         * gio/gcontenttype.c:
1077         * gio/gdatainputstream.c:
1078         * gio/gdataoutputstream.c:
1079         * gio/gdesktopappinfo.c:
1080         * gio/gdirectorymonitor.c:
1081         * gio/gdrive.c:
1082         * gio/gdummyfile.c:
1083         * gio/gfile.c:
1084         * gio/gfileattribute.c:
1085         * gio/gfileenumerator.c:
1086         * gio/gfileicon.c:
1087         * gio/gfileinfo.c:
1088         * gio/gfileinputstream.c:
1089         * gio/gfilemonitor.c:
1090         * gio/gfilenamecompleter.c:
1091         * gio/gfilenamecompleter.h:
1092         * gio/gfileoutputstream.c:
1093         * gio/gfilterinputstream.c:
1094         * gio/gicon.c:
1095         * gio/ginputstream.c:
1096         * gio/giomodule.c:
1097         * gio/gioscheduler.c:
1098         * gio/gloadableicon.c:
1099         * gio/glocaldirectorymonitor.c:
1100         * gio/glocalfile.c:
1101         * gio/glocalfileinputstream.c:
1102         * gio/glocalfilemonitor.c:
1103         * gio/glocalfileoutputstream.c:
1104         * gio/glocalvfs.c:
1105         * gio/gmemoryinputstream.c:
1106         * gio/gmemoryoutputstream.c:
1107         * gio/gmountoperation.c:
1108         * gio/goutputstream.c:
1109         * gio/gpollfilemonitor.c:
1110         * gio/gseekable.c:
1111         * gio/gsimpleasyncresult.c:
1112         * gio/gsocketinputstream.c:
1113         * gio/gsocketoutputstream.c:
1114         * gio/gthemedicon.c:
1115         * gio/gunionvolumemonitor.c:
1116         * gio/gunixdrive.c:
1117         * gio/gunixmounts.c:
1118         * gio/gunixvolume.c:
1119         * gio/gunixvolumemonitor.c:
1120         * gio/gurifuncs.c:
1121         * gio/gvfs.c:
1122         * gio/gvolume.c:
1123         * gio/gvolumemonitor.c:
1124         * gio/gwin32appinfo.c:
1125         Add (mostly stub) doc strings to public functions.
1126         Patch from Andrew Walton (awalton@gmail.com)
1127
1128 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1129
1130         * gio/gappinfo.[ch]:
1131         Added GAppLaunchContext object and pass that to launch.
1132         This allows simple implementation of both
1133         launch-on-screen and startup notification via a gtk+
1134         subclass of GAppLaunchContext
1135         
1136         * gio/gdesktopappinfo.c:
1137         Implement GAppLaunchContext API
1138         
1139         * gio/gwin32appinfo.c:
1140         Update to new APIs
1141
1142 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1143
1144         * gio/gmountoperation.c:
1145         Add some guards to GMountOperation's public functions.
1146
1147 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1148
1149
1150         * gio/gappinfo.c:
1151         * gio/gcancellable.c:
1152         * gio/gdirectorymonitor.c:
1153         * gio/gdrive.c:
1154         * gio/gfileenumerator.c:
1155         * gio/gfilemonitor.c:,
1156         * gio/gfilenamecompleter.c:
1157         * gio/gicon.c:
1158         * gio/giomodule.c:
1159         * gio/gioscheduler.c:
1160         * gio/gseekable.c:
1161         * gio/gurifuncs.c:
1162         * gio/gvolume.c:
1163         * gio/gvolumemonitor.c:
1164         Add even more guards to various public functions.
1165
1166 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1167
1168         * gio/gappinfo.c:
1169         Add guards to the public functions of GAppInfo.
1170
1171 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1172
1173         * gio/gcontenttype.c:
1174         Add some more guards for public functions.
1175
1176 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1177
1178         * gio/fam/fam-module.c:
1179         * gio/fam/gfamdirectorymonitor.c:
1180         * gio/fam/gfamdirectorymonitor.h:
1181         * gio/fam/gfamfilemonitor.c:
1182         * gio/fam/gfamfilemonitor.h:
1183         * gio/inotify/ginotifydirectorymonitor.c:
1184         * gio/inotify/ginotifydirectorymonitor.h:
1185         * gio/inotify/ginotifyfilemonitor.c:
1186         * gio/inotify/ginotifyfilemonitor.h:
1187         Add proper copyright information and remove an unused variable
1188         in the GInotifyFileMonitor constructor.
1189
1190         * gio/gcancellable.c:
1191         Add a guard for a public function and an assertion to prevent
1192         an undefined program state.
1193
1194 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1195
1196         * gio/gfileattribute.c:
1197         Don't run into an assertion if the given attribute value is NULL
1198         in g_file_attribute_value_get_*() but instead return a fallback
1199         value that makes sense in most situations. Passing them a attribute
1200         value with the wrong type will still run into an assertion.
1201
1202 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1203
1204         * gio/gfileattribute.c:
1205         * gio/gfileinfo.c:
1206         Add even more guards to the public functions. Also fix the refcounting
1207         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1208         let g_file_info_list_attributes() filter the attributes by namespace
1209         instead of simply ignoring the namespace parameter.
1210
1211 2007-11-03  Sven Herzberg  <sven@imendio.com>
1212
1213         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1214         (This makes gio work on MacOS X again)
1215
1216 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1217
1218         * Makefile.am:
1219         Build the gio subdirectory before the docs. Otherwise the build will
1220         fail.
1221
1222         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1223         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1224         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1225         Add guards to the public functions.
1226
1227 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1228
1229         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1230         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1231         to prevent a compiler warning.
1232
1233         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1234         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1235         return something in the non-void function find_topdir_for().
1236
1237 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
1238
1239         * configure.ac:
1240         * Makefile.am:
1241         * docs/:
1242         Gtkdocify!
1243
1244 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
1245
1246         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1247         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1248         * gwin32appinfo.c (g_win32_app_info_launch):
1249         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1250         envp_for_startup_id, g_desktop_app_info_launch,
1251         g_desktop_app_info_launch_uris):
1252
1253         Give an opaque 'startup_id' string instead of 'envp'.
1254         Support empty file lists for launching new windows.
1255         Fix infinite recursion bug when launching URIs.
1256
1257 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1258
1259         * gio/gfile.c:
1260         Add guard to the new g_file_get_uri_scheme() function.
1261
1262 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1263
1264         * gio/gfile.c:
1265         Convert a g_return_val_if_fail() to setting the GError instead as
1266         otherwise applications have to verify the parameter before otherwise
1267         and the parameter might come directly from the user.
1268
1269 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1270
1271         * gio/inotify/ginotify*.[ch]:
1272         Add missing copyright information.
1273
1274 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1275
1276         * gio/gfile.c:
1277         Add guards in the beginning of public functions to check for valid
1278         parameters and fix a bug in copy_stream_with_progress() that could've
1279         caused writing less bytes than reading.
1280         * gio/glocalfileinfo.c:
1281         Check for a NULL parameter and set the GError accordingly then.
1282         * gio/goutputstream.c:
1283         Fix the same bug as in gfile.c that could've caused writing less bytes
1284         than reading in g_output_stream_real_splice().
1285
1286 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
1287
1288         * gio/Makefile.am:
1289         Use the correct gvolumeprivate.h naming
1290
1291 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1292
1293         * gio/Makefile.am:
1294         Remove leftover "$(daemon_sources)" entry.
1295
1296 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1297
1298         * gio/fam/*.[ch]:
1299         * gio/*.[ch]:
1300         * programs/*.[ch]:
1301         Add copyright information to source files.
1302
1303 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1304
1305         * gio/gfile.[ch]:
1306         * gio/glocalfile.c:
1307         Add g_file_get_uri_scheme
1308
1309 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1310
1311         * gio/gappinfo.h:
1312         * gio/gdesktopappinfo.c:
1313         * gio/gwin32appinfo.c:
1314         Add g_app_info_get_default_for_uri_scheme.
1315
1316 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1317
1318         * gio/Makefile.am:
1319         Correct filename for gdriveprivate.h
1320
1321 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1322
1323         * gio/gfileinfo.h:
1324         Rename id:value to id:file
1325         Add id:fs
1326         
1327         * gio/glocalfileinfo.c:
1328         Implement id:fs
1329
1330 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1331
1332         * gio/gunixvolume.c:
1333         * gio/gvolume.[ch]:
1334         Remove g_volume_get_platform_id, as thats not
1335         needed with the simpler union volume monitor
1336
1337 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1338
1339         * gio/Makefile.am:
1340         * gio/guniondrive.[ch]: Removed.
1341         * gio/gunionvolume.[ch]: Removed.
1342         Remove GUnionDrive/Volume
1343
1344         * gio/gunionvolumemonitor.c:
1345         Simplify union volume monitor, now we
1346         only have one native volume monitor and
1347         we use the actual volumes/drives from the
1348         child monitors instead of wrapping them
1349
1350         * gio/gnativevolumemonitor.[ch]:
1351         Base class for native volume monitors.
1352         Includes priority and get_volume_for_mountpoint
1353         
1354         * gio/gfile.[ch]:
1355         Add g_file_find_enclosing_volume
1356
1357         * gio/gfileinfo.h:
1358         Remove volume name fs attribute
1359         Add readonly fs attribute
1360         
1361         * gio/glocalfile.c:
1362         Implement readonly attribute
1363         remove volume name attribute
1364         Implement find_enclosing volume
1365         
1366         * gio/gunixmounts.c:
1367         Add a volume for "/".
1368         
1369         * gio/gunixvolume.[ch]:
1370         Set better name for /
1371         
1372         * gio/gunixvolumemonitor.[ch]:
1373         Derive from GNativeVolumeMonitor
1374         Implement get_volume_for_mountpoint
1375         
1376         * gio/gvolume.h:
1377         GVolume typedef moved to gfile.h
1378         
1379         * gio/gvolumeprivate.h:
1380         Add g_volume_get_for_mount_path
1381
1382 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1383
1384         * gio/gunixmounts.[ch]:
1385         Add cache info to unix mount listers
1386         Make getmntent use threadsafe
1387         Add is_system_internal attribute for GUnixMount
1388         
1389         * gio/gunixvolume.c:
1390         (g_unix_volume_new):
1391         Use is_system_internal instead of own code
1392         
1393         * gio/glocaldirectorymonitor.c:
1394         * gio/gunixvolumemonitor.c:
1395         Update to new gunixmounts API
1396         
1397         * gio/glocalfile.c:
1398         Fix warning
1399
1400 2007-10-30  Alexander Larsson  <alexl@redhat.com>
1401
1402         * gio/gfileinfo.h:
1403         Add volume name fsinfo attribute
1404         
1405         * gio/glocalfile.c:
1406         Read volume name info
1407         
1408         * gio/gunionvolumemonitor.c:
1409         Fix infinite loops when finalizing a union volume monitor
1410
1411 2007-10-30  Alexander Larsson  <alexl@redhat.com>
1412
1413         * gio/goutputstream.[ch]:
1414         Add splice() with default implementation
1415         
1416         * gio/gsocketoutputstream.c:
1417         (g_socket_output_stream_write):
1418         Return error on cancellation correctly.
1419         
1420 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
1421
1422         * gio/glocalfile.c (g_local_file_trash):
1423         Do not leak a string.
1424
1425 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
1426
1427         * gio/gfile.c (g_file_load_contents):
1428         Unref the stream after closing it.
1429
1430 2007-10-25  Alexander Larsson  <alexl@redhat.com>
1431
1432         * gio/gioscheduler.h:
1433         Fix include
1434
1435 2007-10-25  Alexander Larsson  <alexl@redhat.com>
1436
1437         * gio/gfile.[ch]:
1438         * gio/glocalfile.c:
1439         Add g_file_has_uri_scheme and implement for local files
1440
1441 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
1442
1443         * gio/gdesktopappinfo.c: do not leak a string.
1444
1445 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
1446
1447         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1448         (g_local_directory_monitor_new):
1449         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1450         (g_local_file_monitor_new):
1451         Only look for the monitor type that should be used the first time
1452         and use g_qsort_with_data() instead of our own bubble sort
1453         implementation.
1454
1455 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
1456
1457         * gio/Makefile.am:
1458         * gio/fam/Makefile.am:
1459         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1460         * gio/fam/fam-helper.h:
1461         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1462         * gio/fam/gfamdirectorymonitor.c:
1463         * gio/fam/gfamdirectorymonitor.h:
1464         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1465         * gio/fam/gfamfilemonitor.h:
1466         * gio/glocaldirectorymonitor.c:
1467         * gio/glocaldirectorymonitor.h:
1468         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1469         * gio/glocalfilemonitor.h:
1470         * gio/inotify/Makefile.am:
1471         * gio/inotify/ginotifydirectorymonitor.c:
1472         * gio/inotify/ginotifydirectorymonitor.h:
1473         * gio/inotify/ginotifyfilemonitor.c:
1474         * gio/inotify/ginotifyfilemonitor.h:
1475         Implement the FAM and Inotify monitors as
1476         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1477         their own GIO module. GLocal(Directory|File)Monitor will use the
1478         monitor with the highest rank that is supported on that machine.
1479
1480 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
1481
1482         * gio/Makefile.am:
1483         Change GIO module dir to $(libdir)/gio/modules and change
1484         the log domain from GVFS to GIO. Also only export symbols starting
1485         with g_ in the resulting library.
1486         * gio/test-streams.c: (main):
1487         Set log handler for the GIO log domain.
1488
1489 2007-10-22  Alexander Larsson  <alexl@redhat.com>
1490
1491         * gio/gfilenamecompleter.[ch]:
1492         Add g_filename_completer_set_dirs_only
1493
1494 2007-10-22  Alexander Larsson  <alexl@redhat.com>
1495
1496         * gio/Makefile.am:
1497         * gio/gurifuncs.[ch]:
1498         Add some simple URI helpers
1499         
1500         * gio/gfilenamecompleter.[ch]:
1501         Added object for filename (parse name actually) completion
1502         
1503         * gio/glocalvfs.c:
1504         Handle ~ in parse names
1505
1506 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1507
1508         * gio/gfileinfo.h:
1509         * gio/glocalfileinfo.c:
1510         Add and implement id:value attribute
1511
1512 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1513
1514         * gio/gdrive.[ch]:
1515         * gio/guniondrive.c:
1516         * gio/gunixdrive.c:
1517         Add and implement g_drive_has_volumes
1518         
1519 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1520
1521         * gio/gfileinfo.h:
1522         * gio/glocalfileinfo.[ch]:
1523         Add unix:is_mountpoint and implement for local files
1524
1525 2007-10-16  Alexander Larsson  <alexl@redhat.com>
1526
1527         * gio/gunionvolumemonitor.c:
1528         (g_union_volume_monitor_init):
1529         Fix up the unix type getting so that it works with gcc
1530         
1531 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1532
1533         * gio/gfileinfo.h:
1534         * gio/glocalfileinfo.c:
1535         Add thumbnail:failed to file info
1536
1537 2007-10-12  Richard Hult  <richard@imendio.com>
1538
1539         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1540         optimizing away the get_type call (happens with some gcc versions,
1541         like the one shipped with OS X 10.4).
1542
1543 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1544
1545         * gio/glocalfileinfo.c:
1546         (_g_local_file_info_set_attribute):
1547         Fix build if not HAVE_XATTR
1548         Patch from Milosz Derezynski <internalerror@gmail.com>
1549
1550 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
1551
1552         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1553         around for review, otherwise I would have asked you before
1554         committing)
1555
1556 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1557
1558         * gio/gfileinfo.h:
1559         Add thumbnail:path attribute
1560         
1561         * gio/glocalfileinfo.c:
1562         Implement thumbnail:path for local files
1563
1564 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1565
1566         * gio/glocalfileinfo.c:
1567         (_g_local_file_info_get):
1568         Avoid duplicate icon names
1569
1570 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1571
1572         * gio/gthemedicon.[ch]:
1573         Change g_themed_icon_get_names return type to const
1574
1575 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1576
1577         * gio/glocalfileinfo.c:
1578         Don't reference freed memory
1579
1580 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1581
1582         * gio/gfileattribute.c:
1583         Handle objects
1584         
1585         * gio/glocalfileinfo.c:
1586         Return icon info
1587
1588 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1589
1590         * gio/gfileinfo.c:
1591         Check for NULL icons
1592
1593         * gio/gfileattribute.c:
1594         Don't dup when getting objects (same as for string attributes)
1595
1596         * gio/gicon.c (g_icon_equal):
1597         Safely handle NULLs in equal
1598
1599 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1600
1601         * gio/gfileinfo.h:
1602         Fix c++ compilation issues
1603         Patch from Milosz Derezynski <internalerror@gmail.com>
1604
1605 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1606
1607         * programs/gio-monitor-dir.c:
1608         Don't crash if dir monitor not supported.
1609
1610 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1611
1612         * gio/gioerror.h:
1613         Add missing G_END_DECLS
1614
1615 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1616
1617         * gio/gfile.c: (g_file_set_display_name),
1618         (g_file_query_settable_attributes),
1619         (g_file_query_writable_namespaces):
1620         Return NULL not FALSE on errors as the return type is a pointer.
1621
1622 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1623
1624         * gio/glocalfile.c: (g_local_file_monitor_file):
1625         Don't call monitor_file on the default interface vtable (which
1626         is NULL) but simply return NULL. The caller, GFile, will create a
1627         polling monitor if NULL is returned.
1628
1629 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1630
1631         * Makefile.am:
1632         * configure.ac:
1633         * gio-unix-2.0.pc.in:
1634         Add gio-unix-2.0.pc if OS_UNIX
1635         
1636         * gio/Makefile.am:
1637         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1638
1639 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1640
1641         * gio/gunixmounts.[ch]:
1642         Make unix mount monitoring API sane.
1643         Now its just a object with mounts_changed
1644         and mountpoints_changed signals.
1645         
1646         * gio/glocaldirectorymonitor.c:
1647         * gio/gunixvolumemonitor.c:
1648         Use new mount monitor api
1649
1650 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1651
1652         * gio/gunixmounts.[ch]:
1653         Move guess type into one call for mounts and one for mountpoints
1654         
1655         * gio/gunixdrive.c:
1656         * gio/gunixvolume.c:
1657         Update
1658
1659 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1660
1661         * gio/gunixmounts.[ch]:
1662         Remove _ prefix in preparation to make this semi-public
1663         Hide implementation of structs
1664         
1665         * gio/glocaldirectorymonitor.c:
1666         * gio/gunixdrive.c:
1667         * gio/gunixvolume.c:
1668         * gio/gunixvolumemonitor.c:
1669         Update for above API changes
1670
1671 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1672
1673         * gio/gfile.c:
1674         Better polling fallback. This also handles the case where we have
1675         a monitor_file implementation, but it fails.
1676
1677 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1678
1679         * gio/gfile.[ch]:
1680         * gio/glocalfile.c:
1681         * gio/gunixmounts.c:
1682         * programs/gio-monitor-dir.c:
1683         * programs/gio-monitor-file.c:
1684         Added cancellable to file monitoring calls.
1685         These are really sync calls and need this.
1686
1687 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
1688
1689         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1690         (g_local_vfs_class_init):
1691         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1692         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1693
1694 2007-10-05  Alexander Larsson  <alexl@redhat.com>
1695
1696         * gio/gdirectorymonitorprivate.h: 
1697         * gio/gfilemonitorprivate.h: 
1698         * gio/gdirectorymonitor.h:
1699         * gio/gfilemonitor.h:
1700         Remove *private.h and move to the public API, so that
1701         we can do implementations outside gio (such as in gvfs)
1702         
1703         * gio/gdirectorymonitor.c:
1704         * gio/gfilemonitor.c:
1705         * gio/glocaldirectorymonitor.c:
1706         * gio/gpollfilemonitor.c:
1707         * gio/inotify/inotify-helper.c:
1708         * gio/fam/fam-helper.c:
1709         Update to the new header names
1710
1711 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
1712
1713         * gio/gdirectorymonitor.c:
1714         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1715         GTypes as abstract.
1716
1717 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1718
1719         * gio/glocalfileinfo.c (get_access_rights):
1720         Set CAN_TRASH when we can move the file.
1721         We should really also check for a parent trash dir.
1722
1723 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1724
1725         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1726         Add can_trash access attribute
1727
1728 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1729
1730         * gio/glocalfile.c:
1731         (g_local_file_trash):
1732         Create info file first. This is per-spec and allows
1733         us to actually trash directories.
1734
1735 2007-10-02  Alexander Larsson  <alexl@redhat.com>
1736
1737         * gio/gdesktopappinfo.c:
1738         Implement the new mime support code.
1739         Always set app as handling mimetype when being set as default for it
1740
1741 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1742
1743         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1744         Fix up check for xattrs:
1745
1746 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1747
1748         * gio/gappinfo.c:
1749         (g_app_info_set_as_default_for_extension):
1750         (g_app_info_add_supports_type):
1751         (g_app_info_can_remove_supports_type):
1752         (g_app_info_remove_supports_type):
1753         Make these fail nicely if not implemented
1754
1755 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
1756
1757         * gio/glocalfileoutputstream.c:
1758         * gio/glocalfileoutputstream.h:
1759         * gio/test-gio.c:
1760         * gio/gfile.c:
1761         * gio/gfile.h:
1762         * gio/glocalfile.c:
1763         * programs/gio-save.c: 
1764         Add a GFileCreateFlags argument to operations that can create
1765         a new file.
1766
1767 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1768
1769         * gio/gappinfo.[ch]:
1770         * gio/gdesktopappinfo.c:
1771         Add more (stubbed out) mime API needed for nautilus
1772
1773 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1774
1775         * gio/gappinfo.h:
1776         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1777         Add g_app_info_set_as_default_for_extension.
1778         
1779         * gio/gdesktopappinfo.c:
1780         Dummy for g_app_info_set_as_default_for_extension
1781         Support flags in g_app_info_create_from_commandline
1782
1783         * gio/gwin32appinfo.c:
1784         * gio/test-gio.c:
1785         Update for API changes
1786         
1787         * gio/gthemedicon.c:
1788         Properly NULL-terminate list of icon names
1789
1790 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1791
1792         * gio/gloadableicon.h:
1793         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1794
1795 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1796
1797         * gio/Makefile.am:
1798         Install headers in $includedir/gio-standalone/
1799         
1800         * gio-2.0.pc.in: Added.
1801         * gio-standalone.pc.in: Removed.
1802         * configure.ac:
1803         * Makefile.am:
1804         Renamed pkg-config file to match glib (for future move)
1805         Update to the new include dir
1806         
1807         * gio/gappinfo.h:
1808         Add more TODO comments
1809
1810 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1811
1812         * gio/gdesktopappinfo.[ch]:
1813         Expose new_from_filename
1814         Add getter for is_hidden and handle it better
1815
1816 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1817
1818         * gio/gfileinfo.[ch]:
1819         Rename g_file_size_format_for_display to
1820         g_format_file_size_for_display.
1821         Now it doesn't have the g_file prefix, so we
1822         can later move it to glib.
1823
1824 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1825
1826         * gio/gappinfo.[ch]:
1827         Add g_app_info_get_id and g_app_info_get_executable.
1828         Make all getters non-reffing
1829         Make g_app_info_launch take GFile arguments.
1830         Add must_support_uris argument to g_app_info_get_default_for_type.
1831         
1832         * gio/gwin32appinfo.c:
1833         Update to GAppInfo api changes
1834         
1835         * gio/gdesktopappinfo.c:
1836         Update to GAppInfo api changes
1837         Implement supports_xdg_startup_notify
1838         
1839         * gio/gfileicon.c (g_file_icon_get_file):
1840         Make getter non-reffing.
1841         
1842         * gio/test-gio.c:
1843         Update to new API
1844
1845 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1846
1847         * gio/gfileinfo.[ch]: 
1848         Add g_file_size_format_for_display helper
1849         
1850 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1851
1852         * gio/glocalfileinfo.c:
1853         Set UNIX_GID from gid, not from uid
1854
1855 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1856
1857         * gio/gfile.[ch]:
1858         Add g_file_set_attributes_async
1859
1860 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1861
1862         * gio/glocalfile.c (g_local_file_set_display_name):
1863         Fix set_display_name to actually rename to the right place.
1864         Use lstat to look for existing files so we don't overwrite
1865         broken links.
1866
1867 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1868
1869         * gio/gfile.[ch]:
1870         Add g_file_set_display_name_async()
1871
1872 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1873
1874         * gio/gfile.[ch]:
1875         Add load_partial_contents async calls
1876         
1877         * gio/glocalfile.c:
1878         Make internal function static
1879
1880 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1881
1882         * gio/glocalfileinfo.c:
1883         Correctly detect broken symlinks
1884
1885 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1886
1887         * gio/gcancellable.c (g_cancellable_cancel):
1888         Allow cancel on NULL cancellable
1889
1890 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1891
1892         * gio/gsimpleasyncresult.c:
1893         Don't allocate g_error manually.
1894         Fixes g_slice/g_new mixup crash
1895
1896 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1897
1898         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1899         Actually set active_backend.
1900         This means the monitor will be cancelled correctly.
1901
1902 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1903
1904         * gio/gdirectorymonitor.c:
1905         Set timeout to NULL when destroying
1906
1907 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1908
1909         * gio/gioerror.h:
1910         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1911         that is a better description of the error.
1912
1913 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gio/gvfs.c: (g_vfs_get_local):
1916         Make the local vfs variable static. The same instance should
1917         always be returned.
1918
1919 2007-09-24  Alexander Larsson  <alexl@redhat.com>
1920
1921         * gio/glocalfileinfo.c:
1922         Pass in actual length read into sniffer, not the length
1923         we tried to read.
1924
1925 2007-09-21  Alexander Larsson  <alexl@redhat.com>
1926
1927         * gio/gfileenumerator.c:
1928         * gio/gfileinfo.c:
1929         * gio/gfileinfo.h:
1930         * gio/gfileinputstream.c:
1931         * gio/gfileoutputstream.c:
1932         * gio/ginputstream.c:
1933         * gio/goutputstream.c:
1934         Don't crash if async callbacks are NULL
1935
1936 2007-09-20  Alexander Larsson  <alexl@redhat.com>
1937
1938         * gio/gfile.[ch]:
1939         Add async enumerate_children method and default
1940         implementation
1941
1942 2007-09-20  Alexander Larsson  <alexl@redhat.com>
1943
1944         * gio/gfile.[ch]
1945         Add g_file_contains_file & g_file_get_relative_path, since they
1946         were needed for nautilus.
1947         Renamed g_file_resolve_relative to g_file_resolve_relative_path
1948         to make it clearer.
1949         
1950         * gio/gdummyfile.c:
1951         * gio/glocalfile.c:
1952         Implement new methods
1953
1954 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1955
1956         * gio/gfile.[ch]:
1957         * gio/gfileinputstream.[ch]:
1958         * gio/gfileoutputstream.[ch]:
1959         * gio/glocalfile.c:
1960         * gio/glocalfileenumerator.[ch]:
1961         * gio/glocalfileinfo.[ch]:
1962         * gio/glocalfileinputstream.c:
1963         * gio/glocalfileoutputstream.c:
1964         * gio/gpollfilemonitor.c:
1965         * programs/gio-copy.c:
1966         * programs/gio-info.c:
1967         * programs/gio-move.c:
1968         Rename get_file_info to query_info() to make it clearer
1969         that these are not simple getters, but do i/o.
1970
1971 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1972
1973         * gio/gdatainputstream.[ch]:
1974         * gio/test-streams.c:
1975         Use _read_XXX instead of _get_XXX for the i/o calls
1976         in GDataInputStream
1977
1978 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1979
1980         * gio/gappinfo.h:
1981         Added needed stuff to TODO comment
1982
1983 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1984
1985         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1986         Don't error out removing the backup copy if it doesn't
1987         already exist.
1988
1989 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1990
1991         * programs/Makefile.am:
1992         * programs/gvfs-*.c: 
1993         * programs/gio-*.c:
1994         Renamed apps from gvfs-xxx to gio-xxx.
1995
1996 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1997
1998         * gio/gfile.c:
1999         * gio/gfileoutputstream.[ch]:
2000         * gio/glocalfileoutputstream.c:
2001         * programs/gvfs-save.c:
2002         g_file_output_stream_get_etag doesn't do i/o, so remove
2003         cancellation and error.
2004
2005 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2006
2007         * gio/gfile.[ch]:
2008         Add new_etag output to replace_contents functions
2009
2010 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2011
2012         * gio/gfileoutputstream.[ch]:
2013         Add async get_file_info and default implementation
2014
2015 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2016
2017         * gio/gfileinputstream.c:
2018         Implement fallback wrapper for async get_file_info
2019
2020 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2021
2022         * gio/gfile.[ch]:
2023         Add etag out argument to load_contents
2024         
2025         * gio/test-gio.c:
2026         Update to new API
2027
2028 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2029
2030         * gio/gcontenttype.c (looks_like_text):
2031         Whitespace like tab, cr and lf do not make the
2032         file binary.
2033
2034 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2035
2036         * gio/gfileinputstream.[ch]:
2037         Add async get_file_info.
2038
2039 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2040
2041         * gio/goutputstream.c (g_output_stream_write_all):
2042         Allow NULL for bytes_written
2043
2044 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2045
2046         * gio/gmemoryinputstream.[ch]:
2047         Add accessors for data
2048
2049 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2050
2051         * gio/gdatainputstream.c (g_data_input_stream_get_until):
2052         Don't crash if length is NULL
2053