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