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