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