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