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