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