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