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