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