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