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