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