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