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