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