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