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