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