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