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