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