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