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