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