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