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