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