ChangeLog 162 KB
Newer Older
1 2 3 4 5 6
=== ChangeLog discontinued ===

	With the move to git, GLib is switching from a ChangeLog file
	to relying on commit messages to provide change history. Please
	see README.commits for guidance on the expected message format.

7 8 9 10 11 12 13 14
2009-03-26  Carlos Garnacho  <carlosg@gnome.org>

	Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted

	* gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb)
	(eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before
	actually trying to unmount.

15 16 17 18 19 20 21 22
2009-03-17  Colin Walters  <walters@redhat.com>

	Bug 575708 - runaway inotify madness ...

	* gfilemonitor.c: Queue up events in a local list and
	fire one idle, instead of queuing lots of individual
	idles which has bad performance behavior.

23 24 25 26 27 28 29
2009-03-17  Alexander Larsson  <alexl@redhat.com>

        * glocalfileinputstream.c:
        * glocalfileoutputstream.c:
	fix attributes argument of query_info methods to
	be "const char *".

30 31 32 33 34 35 36 37 38
2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * glocalfileoutputstream.c:
        (g_local_file_output_stream_close):
        (_g_local_file_output_stream_replace):
	fsync temp file before closing if replacing target file

Matthias Clasen's avatar
Matthias Clasen committed
39 40 41 42
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.20.0 ===

43 44 45 46 47 48 49
2009-03-04  Alexander Larsson  <alexl@redhat.com>

	Bug 573843 – g_get_current_dir returns non-absolute path

	* glocalfile.c (canonicalize_filename):
	Handle the case where g_get_current_dir() returns a non-absolute path.

50 51 52 53 54 55 56 57 58 59 60 61
2009-03-04  Alexander Larsson  <alexl@redhat.com>

	Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting

        * gunionvolumemonitor.c:
        (g_union_volume_monitor_dispose):
	Run dispose on child monitors when disposing.

        * gunixvolumemonitor.c:
	Remove all volumes and mount on dispose to avoid circular
	dependencies not freeing the monitor

62 63 64 65 66 67 68 69 70 71 72 73
2009-03-03  Alexander Larsson  <alexl@redhat.com>

	Bug 561172 – gnome-open fails on local URIs with anchors

        * gdesktopappinfo.c:
	Don't force uris to filenames if the uri has an anchor, because
	that would strip the anchor.

        * glocalvfs.c:
	Strip anchor from file:// uris when creating GFile, since
	g_filename_from_uri doesn't handle them.

74 75 76 77 78 79 80 81 82
2009-03-03  Alexander Larsson  <alexl@redhat.com>

	Bug 562613 – Missing const modifier in string parameters

        * gfileinputstream.[ch]:
        * gfileoutputstream.[ch]:
        * glocalfileinfo.[ch]:
	Make string arguments const if used as such.

83 84 85 86 87 88 89
2009-03-03  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (g_local_file_query_filesystem_info):
	Handle filesystems no supporting reporting how much is free.
	This fixes bug 573454 where the filesystem not supporting this
	is the gvfs smb backend over the fuse filesystem.

Matthias Clasen's avatar
Matthias Clasen committed
90 91 92 93
2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.10 ===

Matthias Clasen's avatar
Matthias Clasen committed
94 95 96 97
2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.9 ===

Matthias Clasen's avatar
Matthias Clasen committed
98 99 100 101
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	* gioenums.h: Add a Since: tag

102 103 104 105 106 107 108
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	Bug 573658 – Deadlock in giomodule.c

	* giomodule.c: Use a separate lock for extension point registration
	to avoid deadlock. Discovered by Torsten Schoenfeld

Matthias Clasen's avatar
Matthias Clasen committed
109 110 111 112
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	* gdatainputstream.c: Fix docs

Matthias Clasen's avatar
Matthias Clasen committed
113 114 115 116 117 118 119
2009-02-27  Matthias Clasen  <mclasen@redhat.com>

	Bug 573421 – Clarify message format in GMountOperation

	* gmountoperation.c: Document that the first line of a
	multi-line message should be interpreted as a heading.

120 121
2009-02-27  David Zeuthen  <davidz@redhat.com>

122
	Bug 573462 – GEmblemedIcon leak
123 124 125 126

	* gemblemedicon.c (g_emblemed_icon_finalize):
	Avoid leaking a GList.

127 128 129 130 131 132 133 134 135 136 137
2009-02-27  Alexander Larsson  <alexl@redhat.com>

        * giomodule-priv.h:
        * giomodule.c:
	Split out the extension point registration code to its
	own function.

        * glocalvfs.c:
	Ensure extension points are registered before extending it.
	It might not have happened yet if g_vfs_get_local() is called.

138 139 140 141 142 143 144 145 146
2009-02-26  Alexander Larsson  <alexl@redhat.com>

	Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
        * gmemoryoutputstream.c:
	Track actual valid size, even if we later seek back.

        * tests/memory-output-stream.c:
	Add testcase

147 148 149 150 151 152 153
2009-02-26  Alexander Larsson  <alexl@redhat.com>

	Bug 543183 – Clarify docs for g_file_has_prefix

	* gfile.c: (g_file_has_prefix):
	Clarify how the prefix matching works.

154 155 156 157 158 159
2009-02-26  Alexander Larsson  <alexl@redhat.com>

	* gdesktopappinfo.c:
	Support desktop file key X-GIO-NoFuse which disables
	use of fuse pathnames for %u and %U arguments.

160 161 162 163 164 165 166
2009-02-25  Alexander Larsson  <alexl@redhat.com>

	Bug 570073 – Add support for reading filesystems on Interix

	* gunixmounts.c (_g_get_unix_mounts):
	Support Interix. Patch from  Fabian Groffen 

167 168 169 170 171 172
2009-02-25  Paolo Borelli  <pborelli@katamail.com>

	Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c

	* glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.

173 174 175 176 177
2009-02-23  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c:
	Remove accidentally commited spew

178 179 180 181 182 183 184 185 186 187 188 189
2009-02-20  Alexander Larsson  <alexl@redhat.com>

        * gcontenttype.c:
        (g_content_type_guess):
	Don't ever sniff desktop files when the filename is known.
	In other words, only allow desktop files with the .desktop extension
	and when the filename isn't known.
	This is a security precaution since desktop files can execute
	arbitrary code when launched and we don't want to allow them to
	try and hide as another type. There is no legit reason to not
	have the .desktop extension anyway.

190 191
2009-02-19  Alexander Larsson  <alexl@redhat.com>

192
	Bug 549298 – impossible to copy files with p (pipe) flag
193

194 195
	* gfile.c:
	(file_copy_fallback):
196 197
	Error out if the source file is a special file

198 199 200 201
2009-02-18  Alexander Larsson  <alexl@redhat.com>

	Bug 560564 – Replacing a symlink with its linked file truncates the original file

202
	* gioenums.h:
203 204
	Add G_FILE_CREATE_REPLACE_DESTINATION

205 206 207
	* glocalfileoutputstream.c:
	(handle_overwrite_open):
	(_g_local_file_output_stream_replace):
208 209
	Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.

210 211
	* gfile.c:
	(file_copy_fallback):
212 213 214
	Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
	with overwrite.

215 216 217 218 219
2009-02-17  Ryan Lortie  <desrt@desrt.ca>

	* gfileinfo.c: unref the destination's attribute matcher before
	overwriting it.

Matthias Clasen's avatar
Matthias Clasen committed
220 221 222 223
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.8 ===

Matthias Clasen's avatar
Matthias Clasen committed
224 225 226 227 228 229
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* gio.symbols: Add missing exports for new API

	* gdatainputstream.c: Add missing Since: tags.

Matthias Clasen's avatar
Matthias Clasen committed
230 231 232 233
2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.7 ===

234 235 236 237 238 239 240
2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* gmountoperation.[hc]: Add an "aborted" signal to abort a
	mount operation from the backend side.

	* gvolume.h: Add docs regarding the "aborted" signal.

Ryan Lortie's avatar
Ryan Lortie committed
241
2009-02-16  Ryan Lortie  <desrt@desrt.ca>
242 243 244 245 246 247 248 249

	Bug 505042 – add file attribute for actually used file size in bytes

	* gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
	"standard::allocated-size"
	* gfileattribute.c: document
	* glocalfileinfo.c: set the allocated size from st_blocks * 512

250 251 252 253 254 255 256
2009-02-16  Ryan Lortie  <desrt@desrt.ca>

	Bug 571598 – GAsyncResult with NULL gobject

	* gsimpleasyncresult.c: remove various assertions and add some checks
	to allow for a NULL source_object in GSimpleAsyncResult.

257 258 259 260 261 262 263 264
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 541225 – Can't compile gio on AIX : duplicate case value in 
	gioerror.c

	* gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY. 
	Reported by Nicolas Joseph 

265 266 267 268 269 270 271 272
2009-02-04  Alexander Larsson  <alexl@redhat.com>

	Bug 566747 - URIs opened with firefox %u load as local files

	* gdummyfile.c (g_dummy_file_get_path):
	Dummy files are never used for local paths, so always return NULL
	in get_path(). 

Matthias Clasen's avatar
Matthias Clasen committed
273 274 275 276
2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.6 ===

Paolo Borelli's avatar
Paolo Borelli committed
277 278 279 280
2009-01-31  Paolo Borelli  <pborelli@katamail.com>

	* glocalfileinfo.c: plug a tiny mem leak.

281 282 283 284 285
2009-01-29  Ryan Lortie  <desrt@desrt.ca>

	* gioerror.c (g_io_error_from_errno): handle all possible cases of
	EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.

286 287 288 289 290 291 292 293 294 295 296
2009-01-28  Ryan Lortie  <desrt@desrt.ca>

	Bug 568575 – _async functions for GDataInputStream

	* gdatainputstream.h:
	* gdatainputstream.c: add _async versions of read_line and read_until.
	* gio.symbols:
	* ../docs/reference/gio/gio-sections.txt: add new functions
	* tests/sleepy-stream.c: new test case for async read line
	* tests/Makefile.am: add new test

297 298 299 300 301 302 303 304 305
2009-01-22  Ryan Lortie  <desrt@desrt.ca>

	Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1

	* gbufferedinputstream.c (g_buffered_input_stream_fill_async,
	g_buffered_input_stream_fill): check for count < -1 instead of count <
	0 and copy modified check to non-async version for consistency.
	document the "count = -1" API.

306 307 308 309 310 311 312
2009-01-22  Ryan Lortie  <desrt@desrt.ca>

	Bug 568741 – g_buffered_input_stream_fill_async doesn't work

	* gbufferedinputstream.c (fill_async_callback): grow the buffer tail
	after we have successfully read data from the base stream

313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
2009-01-20  Ryan Lortie  <desrt@desrt.ca>

	Bug 568394 – dropping the last reference to a stream filter closes the
	base stream

	* gfilterinputstream.h:
	* gfilterinputstream.c: add "close-base-stream" property and only
	close the base stream if it is true.  issue async close callbacks from
	correct source object.
	* gfilteroutputstream.h:
	* gfilteroutputstream.c: add a "close-base-stream" property and only
	close the base stream if it is true.  issue async close callbacks from
	correct source object.
	* gbufferedoutputstream: check g_filter_output_stream_get_close_base()
	before closing the base stream.  fix invalid source tag comparison in
	close_async (was comparing to flush_async).
	* ../docs/reference/gio/gio-sections.txt:
	* gio.symbols: add
	g_filter_{in,out}put_stream_{g,s}et_close_base_stream
	* tests/filter-streams.c: new test cases
	* tests/Makefile.am: add new test
	* tests/.gitignore: add new test

Matthias Clasen's avatar
Matthias Clasen committed
336 337 338 339
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.

Matthias Clasen's avatar
Matthias Clasen committed
340 341 342 343
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.5 ===

Matthias Clasen's avatar
Matthias Clasen committed
344 345 346 347
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gappinfo.h: Document get_commandline vfunc

Matthias Clasen's avatar
Matthias Clasen committed
348 349 350 351
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gunixmounts.c: Some stylistic fixes.

352 353 354 355 356 357 358 359
2009-01-08  Matthias Clasen  <mclasen@redhat.com>

	Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG 
	functions in non-UTF8 locale

	* xdgmime/xdgmimecache.c:
	* xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.

360 361 362 363
2009-01-08  Matthias Clasen  <mclasen@redhat.com>

	* xdgmime/test-mime.c: Make tests work with current shared-mime-info.

364 365 366 367 368 369 370 371 372 373 374 375
2009-01-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 566770 – error code 0 for Too many open files is useless

	* gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
	Requested by Olivier Sessink.

	* gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.

	* glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
	G_IO_ERROR_TOO_MANY_OPEN_FILES.

Matthias Clasen's avatar
Matthias Clasen committed
376 377 378 379
2009-01-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.4 ===

380 381 382 383 384 385 386 387 388 389
2009-01-05  Dan Winship  <danw@gnome.org>

	* gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
	"const char **" to avoid a warning.

	* gemblem.c (g_emblem_from_tokens):
	* gemblemedicon.c (g_emblemed_icon_from_tokens):
	* xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
	variables

390 391 392 393 394 395 396
2009-01-05  Matthias Clasen <mclasen@redhat.com>

	Bug 566064 – Add NOATIME flag to query_info_flags

	* glocalfileinfo.c (get_content_type): Try using O_NOATIME when
	sniffing for mime types. Based on a patch by A. Walton

397 398 399 400 401 402
2009-01-05  Ryan Lortie  <desrt@desrt.ca>

	* tests/.gitignore: improve
	* tests/Makefile.am: add new simple-async-result test
	* tests/simple-async-result.c: new file to test GSimpleAsyncResult

403 404 405 406 407 408 409 410
2009-01-05  Ryan Lortie  <desrt@desrt.ca>

	* gio.symbols:
	* ../docs/reference/gio/gio-sections.txt:
	* gsimpleasyncresult.h:
	* gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
	Implementation by Dan Winship.  Closes #566170.

411 412 413 414 415 416 417
2008-12-31  Matthias Clasen <mclasen@redhat.com>

	* gdesktopappinfo.c:
	* gunixmounts.c:
	* gunixinputstream.c:
	* gunixoutputstream.c: Add a note about being UNIX-specific.

Matthias Clasen's avatar
Matthias Clasen committed
418 419 420 421
2008-12-15  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.3 ===

422 423 424 425
2008-12-12  Dan Winship  <danw@gnome.org>

	* pltcheck.sh: make this work on x86_64

426 427 428 429 430 431 432 433 434 435
2008-12-12  Ryan Lortie  <desrt@desrt.ca>

	* gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
	with them

2008-12-12  Ryan Lortie  <desrt@desrt.ca>

	* gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
	multiple mount entries match the requested path

436 437 438 439 440
2008-12-10  Alexander Larsson  <alexl@redhat.com>

	Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
	g_simple_async_result_run_in_thread
	
441
	* gsimpleasyncresult.c:
442 443 444 445 446 447 448 449 450 451
	Make g_simple_async_result_run_in_thread check cancellation before
	calling out to the user in the callback. This means we guarantee
	reporting cancels of async operations from the main threads, which
	is probably more in line with what users expect.
	
	Note that there are still no such guarantees for cancelling sync
	operations or cancelling async operation from outside the main
	thread. Furthermore, the exact behaviour of async implementations
	not using run_in_thread may differ.

452 453 454 455
2008-12-09  Alexander Larsson  <alexl@redhat.com>

	Bug 515777 - incorrect date&time on copy
	
456 457
	* glocalfile.c:
	(g_local_file_class_init):
458 459
	Copy mtime by default
	
460
	* gfile.c:
461 462 463
	Change docs about G_FILE_COPY_ALL_METADATA to not mention
	mtime as an example.

464 465 466 467 468 469 470 471
2008-12-08  Matthias Clasen  <mclasen@redhat.com>

	Bug 558298 – Hide ecryptfs mounts

	* gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts, 
	so that the desktop does not show both the mount and the target 
	directory. Patch by Martin Pitt
 
472 473 474 475 476 477 478 479 480 481
2008-12-08  Matthias Clasen  <mclasen@redhat.com>

	Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close 
	property

	* gio.symbols:
	* gunixinputstream.[hc]:
	* gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
	including getters and setters. Patch by Maciej Piechotka

482 483 484 485 486 487 488
2008-12-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 558458 – Cannot build gio tests on Solaris using SUN cc

	* tests/live-g-file.c: Support compilers that don't understand
	ISO C varargs macros. Patch by Eric Lamarque

489 490 491 492 493 494 495 496
2008-12-07  Matthias Clasen  <mclasen@redhat.com>
	
	Bug 526320 – should not list mounts that the user doesn't have 
	permission to use

	gunixmounts.c: Use g_access() to check accessibility of local devices.
	Patch by Martin Pitt

Matthias Clasen's avatar
Matthias Clasen committed
497 498 499 500
2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.2 ===

501 502 503 504 505 506
2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* gdatainputstream.c (g_data_input_stream_read_line): Revert the
	behaviour change, and update the docs instead, to avoid breaking
	existing users.

Matthias Clasen's avatar
Matthias Clasen committed
507 508 509 510
2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.1 ===

511 512
2008-12-01  Alexander Larsson  <alexl@redhat.com>

513 514 515 516
	* gio.symbols:
	* gmount.[ch]:
	* gunionvolumemonitor.c:
	* gvolume.c:
517 518 519
	Add and document g_mount_is_shadowed plus calls
	to set/unset a mount as shadowed
	
520 521 522 523
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gio/tests/g-icon.c: Comment out two failing tests

524 525 526 527 528 529 530 531 532 533
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 555486 – No way to recover command line from GAppInfo

	* gio.symbols:
	* gappinfo.[hc]: Add g_app_info_get_commandline. Requested
	by Hans Petter Jansson.
	
	* gdesktopappinfo.c: And implement it here.

534 535 536 537
2008-11-28  Christian Dywan  <christian@imendio.com>

	* gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.

538 539 540 541 542 543 544 545
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 559633 – gtk_image_new_from_gicon does not always work for
	.desktop files

	* gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
	extensions on icon names.  Proposed by Axel von Bertoldi.

546 547 548 549 550 551 552 553 554
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 548163 – Nautilus displays wrong error message for too long file
	names

	* glocalfile.c (g_local_file_set_display_name): Correctly set
	error conditions if the new name is e.g. too long. Reported
	by Leonardo Ferreira Fontenelle.

555 556 557 558 559 560 561 562 563 564 565 566
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 547481 – g_data_input_stream_read_line behaves not as stated in
	the docs

	* gdatainputstream.c (g_data_input_stream_read_line): Behave as
	documented and include the line end in the returned string. 
	Pointed out by Paul Pogonyshev.

	* tests/data-input-stream.c: Fix the read_line test to test the
	documented behaviour.

567 568 569 570 571
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
	files that have been created by g_app_info_create_from_commandline.

Matthias Clasen's avatar
Matthias Clasen committed
572 573 574 575 576 577 578 579
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 541715 – win32 : patch for warnings and signature problems in 
	recent code
	
	* glocalvfs.c: Avoid unused variables. Pointed out by Jody
	Goldberg.

580 581 582 583 584
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 562393 – g_buffered_input_stream_read_byte broken if data
	available

Matthias Clasen's avatar
Matthias Clasen committed
585
	* gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
586 587
	handling of buffered content.  Patch by Philip Withnall

Matthias Clasen's avatar
Matthias Clasen committed
588 589
	* tests/buffered-input-stream.c: Add a testcase for this bug.
	* tests/Makefile.am: And build it
590

591 592 593 594 595 596 597 598
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
	'/'

	* inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
	'/' away. Spotted by Dan Williams.

599 600 601 602 603 604 605
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 561375 – Leaks mountpoint description

	* glocalfile.c: (get_mount_info): don't leak the mountpoint description
	string.

606 607 608 609 610 611 612
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 561352 – Leak of icon description

	* gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
	generic icon string.

613 614 615 616
2008-11-14  Matthias Clasen <mclasen@redhat.com>

	* gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.

617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636
2008-11-12  Tor Lillqvist  <tml@novell.com>

	Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()

	* win32/gwinhttpvfs.h: Move the set of function pointers to
	winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
	pointer to that in the GWinHttpVfsClass.
	
	* win32/gwinhttpvfs.c: Move the lookup of functions from
	winhttp.dll into a function of its own, that stores the pointers
	in a separate GWinHttpDllFuncs variable. Add two bookeeping
	booleans lookup_done and funcs_found.

	Don't call g_io_extension_point_implement() to register the
	winhttp extension unless winhttp.dll has been successfully loaded
	and the required functions found in it.

	* win32/gwinhttp*.c: Adjust calls of the functions looked up from
	winhttp.dll correspondingly.

637 638 639 640 641 642 643
2008-10-28  Cosimo Cecchi  <cosimoc@gnome.org>

	reviewed by: Alexander Larsson <alexl@redhat.com>

	* gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
	clearer about the behavior when there's no more content to read.

644 645 646 647
2008-10-27  Federico Mena Quintero  <federico@novell.com>

	* glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.

648 649 650 651 652 653 654
2008-10-27  Tor Lillqvist  <tml@novell.com>

	Bug 557592 - Missing include in gwinhttpfile.c

	* win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
	MSVC2008.

655 656 657 658 659 660 661
2008-10-24  Matthias Clasen  <mclasen@redhat.com>

	Bug 556910 – [fam-helper.c:223]: Memory leak: sub

	* fam/fam-helper.c: Fix a memory leak and formatting issues.
	Reported by Daniel Marjamäki

Matthias Clasen's avatar
Matthias Clasen committed
662 663 664 665
2008-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.

666 667 668 669
2008-10-23  Alexander Larsson  <alexl@redhat.com>

	Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
	
670 671
	* glocalfileinfo.c:
	(_g_local_file_info_get):
672 673 674 675 676 677 678 679 680 681 682
	Don't return the fallback icon (text-x-generic) for all files.
	This is causing problems with theme icon lookup and custom mime
	icons, as the generic fallback overrides custom mime icons in
	inherited themes.

	This is a slight change as applications might not get an icon wher
	they previously did. But there is no guarantee to get on neither before
	or after this change, so it should not break applications. Changes
	to nautilus and gtk+ will be done to manually use the generic fallback
	icon if no icon is found, but this is only required for rare cases.

683 684
2008-10-21  Alexander Larsson  <alexl@redhat.com>

685
	* gfileinfo.h:
686 687
	Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)

688 689 690 691 692
2008-10-21  Alexander Larsson  <alexl@redhat.com>

	Bug 555740 - gicon serialization
	Based on patch from David Zeuthen
	
693 694
	* gicon.[ch]:
	* gio.symbols:
695 696
	Add g_icon_to_string() and g_icon_new_for_string().
	
697 698 699 700
	* gemblem.c:
	* gemblemedicon.c:
	* gfileicon.c:
	* gthemedicon.c:
701 702
	Implement icon serialization for built-in icon types
	
703 704
	* tests/Makefile.am:
	* tests/g-icon.c:
705 706
	Added GIcon serialization test

Matthias Clasen's avatar
Matthias Clasen committed
707 708 709 710
2008-10-16  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.0 ===

711 712 713 714 715 716 717 718
2008-10-16  Matthias Clasen  <mclasen@redhat.com>

	Bug 556422 – g_file_enumerator_next_file: unclear whether return 
	value needs to be freed

	* gfileenumerator.c (g_file_enumerate_next_file): Clarify
	the return value docs. Pointed out by Armin Burgmeier

719 720 721 722 723 724 725
2008-10-14  Matthias Clasen  <mclasen@redhat.com>

	Bug 556334 – Warning when building without selinux support

	* glocalfileinfo.c: Avoid compiler warnings when selinux is
	disabled. Patch by Pascal Terjan

Matthias Clasen's avatar
Matthias Clasen committed
726 727 728 729 730 731 732
2008-10-14  Matthias Clasen  <mclasen@redhat.com>

	Bug 556335 – make check fails in abicheck.sh

	* gio.symbols: Add g_file_attribute_info_list_get_type. 
	Pointed out by Pascal Terjan.

733 734
2008-10-13  Alexander Larsson  <alexl@redhat.com>

735
	* gdesktopappinfo.c:
736 737 738 739 740 741 742 743
	When adding an application as handling a mime type (but
	not as the default), copy the full list of desktop ids handling
	that type in before adding the new one on the end of the list.
	This means we're not accidentally changing the default by overriding
	the info from the later directories in the search path.
	
	Also, fixes small leak of removed_entries.

744 745 746 747 748 749 750
2008-10-12  David Zeuthen  <davidz@redhat.com>

	* gio.symbols:
	* gunionvolumemonitor.c:
	* gvolumemonitor.h:
	Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).

751 752 753 754 755 756
2008-10-10  Alexander Larsson  <alexl@redhat.com>

	* gfileattribute.c (escape_byte_string):
	Upper half of byte is >> 4, not >> 8.
	Found by Kjartan Maraas via sparse

757 758 759 760 761 762 763 764 765 766 767 768
2008-10-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 555711 – Wrong fallback order of mimetype icons

	* gcontenttype.c: Don't prefer generic icons over
	default mimetype icons.

	* xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon): 
	* xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
	to generic icons.
	Patch by Krysztof Kosiński

769 770 771 772 773 774 775
2008-10-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 555121 – Improved build-time handling of gio module-dir

	* fam/Makefile.am: Use GIO_MODULE_DIR consistently.
	* Makefile.am: Create the module dir.

Matthias Clasen's avatar
Matthias Clasen committed
776 777 778 779 780 781
2008-10-10  Matthias Clasen  <mclasen@redhat.com>

	* gio/glocalfileinfo.c:
	* gio/tests/live-g-file.c:
	* gio/gsimpleasyncresult.c: Fix gcc warnings.

782 783 784 785 786
2008-10-09  Alexander Larsson  <alexl@redhat.com>

	* gunixinputstream.c (g_unix_input_stream_read):
	Actually return -1 in case of cancelled, not old res value.

787 788 789 790 791 792 793 794
2008-10-06  Colin Walters  <walters@verbum.org>

	Bug 554745 - GFileAttributeInfoList should be boxed

	* gio/gfileattribute.c: Define a boxed type for GFileAttributeList
	for convenience of bindings.
	* gio/gfileattribute.h: Prototype it.

795 796 797 798 799 800 801 802
2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>

	Bug 554970 – segfault when update-desktop-database is not available
	on the system

	* gdesktopappinfo.c (run_update_command): Have the error set before 
	using it.

803 804 805 806 807 808 809 810 811 812 813 814 815 816 817
2008-10-01  David Zeuthen  <davidz@redhat.com>

	* gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
	file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
	instead of the gio URI (such as sftp://foo/file.avi) when using
	g_app_info_launch() and friends. With a sufficiently recent gvfs,
	apps using gio+gvfs will map the FUSE file:// URI back to the gio
	URI (and thus bypass the fuse daemon) thanks the patch from bug
	#530654.  Since Nautilus is an user of g_app_info_launch() it
	means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
	when launced via the file manager. Win. Fixes bug #528670.

	* gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
	mapping to the description of GAppInfo.

818 819
2008-09-30  Tor Lillqvist  <tml@novell.com>

820 821
	* tests/Makefile.am: Build desktop-app-info only on Unix.

822 823 824 825
	* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
	g_critical(). Pass a large enough result buffer to
	GetVolumePathNameW(). Just use MAX_PATH.

826 827 828 829
2008-09-29  David Zeuthen  <davidz@redhat.com>

	* gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)

830 831 832 833 834 835 836 837 838
2008-09-26  Dan Winship  <danw@gnome.org>

	* tests/data-input-stream.c:
	* tests/data-output-stream.c:
	* tests/live-g-file.c:
	* tests/memory-input-stream.c:
	* tests/memory-output-stream.c: Use g_assert_error() and
	g_assert_no_error()

839 840 841 842 843 844 845 846 847 848 849 850 851 852 853
2008-09-26  Matthias Clasen  <mclasen@redhat.com>
	
	Bug 545350 – GAppInfo deletion
	Bug 545351 – Reset associations for content type

	* gio.symbols:
	* gappinfo.[hc]: New functions g_app_info_can_delete,
	g_app_info_delete and g_app_info_reset_type_associations.

	* gdesktopappinfo.c:
	* gwin32appinfo.c: Implementations of these.

	* tests/Makefile.am:
	* tests/desktop-app-info.c: Tests for GAppInfo functionality.

854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
2008-09-26  Dan Winship  <danw@gnome.org>

	Bug 505361 – gunixinputstream.c assumes poll() available
	Bug 509446 – portable blocking gio cancellation

	* gcancellable.c (g_cancellable_make_pollfd): New method to make a
	GPollFD for a cancellable (which is slightly more complicated on
	Windows than Unix).

	* gunixinputstream.c (g_unix_input_stream_read):
	* gunixoutputstream.c (g_unix_output_stream_write): Use
	g_cancellable_make_pollfd() and g_poll() rather than using poll()
	directly.

	* tests/unix-streams.c: test of GUnixInputStream,
	GUnixOutputStream, and GCancellable.

871 872 873 874 875 876 877 878
2008-09-26  Dan Winship  <danw@gnome.org>

	* gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
	cast to stop a gcc warning

	* gfile.c (g_file_copy_attributes): add parens to stop a gcc
	warning

879 880 881 882 883 884 885 886 887
2008-09-25  Dan Winship  <danw@gnome.org>

	Bug 553426 - cancellable clarifications

	* gcancellable.c (g_cancellable_class_init): Add a note to the
	"cancelled" signal docs warning about thread-safety issues
	(g_cancellable_cancel): Note that cancelling an asynchronous
	operation takes effect asynchronously, not immediately.

888 889 890 891 892 893 894 895 896 897 898
2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>

	* gioenums.h: Add new GFileCopyFlag, to leave target file with
	default perms, instead of setting the source file perms, in a copy
	operation.

	* gfile.c (g_file_copy_attributes) 
	(build_attribute_list_for_copy)
	(should_copy): Not copy "unix::mode" attribute if we have received
	G_FILE_COPY_TARGET_DEFAULT_PERMS flag.

Matthias Clasen's avatar
Matthias Clasen committed
899 900 901 902
2008-09-20  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c (expand_macro_single): Plug a memory leak

Matthias Clasen's avatar
Matthias Clasen committed
903 904 905 906
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.18.1 ===

907 908 909 910 911 912 913
2008-09-16  Michael Natterer  <mitch@imendio.com>

	* gcontenttype.c (g_content_type_guess): can't assign the return
	value of g_strdupv() to an array. Fill the array manually with
	const strings instead (it is never freed anyway). Fixes the
	build. Also fixed indentation.

914 915 916 917 918 919
2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
	Fix trivial typo to unbreak the build (there was a colon
	instead of a semicolon at the end of a statement).

920 921 922 923 924 925 926 927
2008-09-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
	file is empty

	* gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
	an empty Path value.  

928 929 930 931 932 933 934 935
2008-09-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 551681 – g_content_type_guess() too naive with filenames

	* gcontenttype.c (g_content_type_guess): Check whether there's a '/'
	at the end of the filename, and declare it a directory.
	Patch by Bastien Nocera

936 937 938 939 940 941 942 943
2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
	aren't clear.

	* gdesktopappinfo.c: add a note in the docs clarifying what the
	"filename" parameter really is.

944 945 946 947 948 949 950 951
2008-09-12  Tor Lillqvist  <tml@novell.com>

	* gwin32appinfo.c (g_win32_app_info_launch): Don't call
	FormatMessage() etc here. Call g_win32_error_message() instead
	which already does all that. Besides, the code was broken as it
	called the default "A" version of FormatMessage() but still
	thought it produced a wide string.

952 953 954 955 956
2008-09-12  Michael Natterer  <mitch@imendio.com>

	* gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
	in the documentation.

Christian Neumair's avatar
Christian Neumair committed
957 958 959 960 961 962
2008-09-08  Christian Neumair  <cneumair@gnome.org>

	* gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
	* gunixvolume.c (eject_mount_read_error), (eject_mount_do):
	Use non-blocking pipe for mount helper I/O. Fixes #550647.

963 964 965 966 967 968 969
2008-09-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 551149 – xdgmime mem leak

	* xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
	a memory leak. Patch by Christian Persch

970 971 972 973 974
2008-09-04  Tor Lillqvist  <tml@novell.com>

	* gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
	NULL.

Matthias Clasen's avatar
Matthias Clasen committed
975 976 977 978
2008-09-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.18.0 ===

979 980 981 982 983 984 985
2008-09-02  Michael Natterer  <mitch@imendio.com>

	* *.h: big header formatting cleanup: indentation, vtable
	formatting, consistent spacing in (* vfunc), trailing whitespace
	removal. Formatting should be pretty consistent in all GIO headers
	now.

986 987 988 989
2008-09-02  Matthias Clasen  <mclasen@redhat.com>

	* gmount.h: Document guess_content_type sync vfunc.

990 991 992 993 994 995 996 997
2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
	fix parent_class member to be GFilterOutputStreamClass (not
	GOutputStreamClass). Drop three pointers of padding, which is
	exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
	so the class struct size stays the same.

Matthias Clasen's avatar
Matthias Clasen committed
998 999 1000 1001 1002 1003 1004
2008-09-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem

	* gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
	nonexisting return values. Pointed out by Cosimo Cecchi.

1005 1006 1007 1008 1009 1010
2008-08-23  Tor Lillqvist  <tml@novell.com>

	Bug 548988 - g_file_replace fails on Windows when the target file
	exists already

	* glocalfileoutputstream.c (g_local_file_output_stream_close): On
Tor Lillqvist's avatar
Tor Lillqvist committed
1011 1012
	Windows, close the file before potentially renaming it (in case we
	have been writing to a file with a temporary name).
1013 1014 1015 1016 1017 1018

	(g_local_file_output_stream_close, handle_overwrite_open): Use
	GLocalFileStat instead of plain struct stat, for passing to
	_g_local_file_info_create_etag(). Thus also use _fstati64()
	instead of plain fstat() on Windows.

Matthias Clasen's avatar
Matthias Clasen committed
1019 1020 1021 1022
2008-08-18  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.7 ===

1023 1024 1025 1026 1027
2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>

	* gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
	Fix for #542156.

1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
2008-08-13  Tor Lillqvist  <tml@novell.com>

	* win32/gwinhttpvfs.c
	* win32/gwinhttpvfs.h
	* win32/gwinhttpfile.c
	* win32/gwinhttpfileinputstream.c
	* win32/gwinhttpfileoutputstream.c: Refactor some common code
	snippets into helper functions. Check HTTP response status
	codes. Implement g_winhttp_file_query_info(), looking at
	Content-Length, Content-Type and Last-Modified.

	* win32/winhttp.h: Add some symbolic constants that are not
	publicly documented. Just a handful, so it should be OK to use
	information from the Windows SDK's headers.

1043 1044 1045 1046 1047 1048 1049 1050
2008-08-13  Tor Lillqvist  <tml@novell.com>

	Bug 546582 - Callbacks from GFileMonitor present a GFile in the
	wrong folder

	* win32/gwin32directorymonitor.c
	(g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.

Matthias Clasen's avatar
Matthias Clasen committed
1051 1052 1053 1054 1055
2008-08-13  Matthias Clasen  <mclasen@redhat.com>

	* ginputstream.c:
	* goutputstream.c: Add intro docs.

1056 1057 1058 1059 1060 1061 1062 1063 1064 1065
2008-08-13  Tor Lillqvist  <tml@novell.com>

	* win32/gwinhttpfileoutputstream.c
	(g_winhttp_file_output_stream_write): Don't write the
	Content-Length header ourselves, WinHttpSendRequest() takes care
	of that when the dwTotalLength parameter is non-zero. Increment
	offset by the number of actual bytes sent, although I wonder if
	such a scenario is possible where less than requested would be
	sent and accepted by the server without errors.

1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
2008-08-13  Tor Lillqvist  <tml@novell.com>

	* win32/gwinhttpvfs.c
	* win32/gwinhttpvfs.h
	* win32/gwinhttpfile.c
	* win32/gwinhttpfile.h
	* win32/gwinhttpfileinputstream.c
	* win32/gwinhttpfileinputstream.h
	* win32/gwinhttpfileoutputstream.c
	* win32/gwinhttpfileoutputstream.h: New files implementing
	GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
	Windows. The implementation uses the WinHttp API. Both reading and
	writing are supported, i.e. GET and PUT requests. When writing,
	each write call is done using a separate PUT request with a
	Content-Range header. Requests for file URIs and plain pathnames
	are forwarded to GLocalVfs.

	* win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
	WINE. Used as there is no <winhttp.h> bundled with mingw, and
	requiring people to download the Windows SDK just for this one
	header is not reasonable.

	* win32/Makefile.am: Add above files.

	* giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
	the plumbing for the above.

1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106
2008-08-11  Sven Neumann  <sven@gimp.org>

	* gfilenamecompleter.c
	* glocaldirectorymonitor.c
	* gmountoperation.c
	* gunionvolumemonitor.c
	* gunixmount.c
	* gunixmounts.c
	* gunixvolume.c
	* gunixvolumemonitor.c
	* gvolumemonitor.c
	* gwin32mount.c
	* gwin32volumemonitor.c: use canonical signal names.

1107 1108 1109 1110 1111 1112 1113
2008-08-11  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Put a list of the platform-dependent .la files in
	the subdirectories in the platform_deps Make variable, and make
	libgio-2.0.la depend on that, so that it gets relinked if one of
	the dependent libraries has changed.

1114 1115 1116 1117 1118 1119
2008-08-11  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (platform_libadd): Remove -lwininet which had been
	added by mistake. We will probably eventually be using WinHTTP,
	not the older WinInet anyway. (Actually I am working on it.)

1120 1121 1122 1123 1124 1125 1126
2008-08-10  Felix Riemann  <friemann@svn.gnome.org>

	Bug 547080 – g_file_copy leaks expected errors

	* gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
	before trying the next fallback routine.

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136
2008-08-09  Loïc Minier  <lool@dooz.org>

	Bug 535124 – umask 002 not being applied for new directories, new
	files get the correct umask

	* gfile.c (g_file_make_directory)
	(g_file_make_directory_with_parents): Document ownership and
	permissions of newly created directories as being the default
	ones of the process.

1137 1138 1139 1140 1141 1142 1143 1144
2008-08-08  Loïc Minier  <lool@dooz.org>

	Bug 535124 – umask 002 not being applied for new directories, new
	files get the correct umask

	* glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
	0755 as umask

1145 1146
2008-08-08  Tor Lillqvist  <tml@novell.com>

1147 1148
	* gwin32mount.c: Remove unused code. Whitespace cleanup.

1149 1150 1151 1152 1153
	* gwin32volumemonitor.c (get_connected_drives): Put questionable
	code that didn't actually do anything inside #if 0, and add a
	comment wondering what the code was supposed to do. This also gets
	rid of a leftover debugging printout.

1154 1155 1156 1157 1158 1159 1160 1161
2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gfileicon.c (g_file_icon_get_property)
	(g_file_icon_set_property): New functions.
	(g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
	property.
	(g_file_icon_new): Use the property (bug #546132).

1162 1163 1164 1165 1166 1167 1168
2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gthemedicon.c (g_themed_icon_get_property): Also handle
	`PROP_USE_DEFAULT_FALLBACKS'.
	(g_themed_icon_class_init): Make
	`GThemedIcon:use-default-fallbacks' read-write (bug #546483).

1169 1170 1171 1172 1173 1174
2008-08-05  Behdad Esfahbod  <behdad@gnome.org>

	Bug 546371 – Improve docs re g_file_monitor

	* gfilemonitor.c: Mention g_file_monitor() in the docs.

Matthias Clasen's avatar
Matthias Clasen committed
1175 1176 1177 1178
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.6 ===

Matthias Clasen's avatar
Matthias Clasen committed
1179 1180 1181 1182
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.5 ===

1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	Bug 546017 – Don't copy attributes when copying a symlink

	* gfile.c (g_file_copy_attributes): Specify
	G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
	g_file_set_attributes_from_info. Patch by Christian Kellner

2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	* gemblemedicon.[hc]: 
	* gio.symbols:
	* gemblem.[hc]: Add GEmblem to make the emblem mechanism
	a bit more extensible. Work by Clemens Buss.

	* gioenums.h: Add GEmblemOrigin.
	* Makefile.am: Glue

1201 1202 1203 1204 1205 1206
2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>

	Bug 546079 – leak in xdgmime
	
	* xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
	
1207 1208 1209 1210 1211 1212
2008-08-03  Tor Lillqvist  <tml@novell.com>

	* win32/gwin32directorymonitor.h
	* win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
	style.

1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
2008-08-03  Tor Lillqvist  <tml@novell.com>

	* win32/gwin32directorymonitor.c
	(g_win32_directory_monitor_callback): Make prototype match
	LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
	LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
	pointer.

	(g_win32_directory_monitor_constructor):
	GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
	names in the GLib API on Windows, so convert to UTF-16 and open
	with CreateFileW().

1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
2008-08-03  Tor Lillqvist  <tml@novell.com>

	Bug 541036 - Gnumeric crashes when trying to open Desktop or
	user's folder under Windows

	* win32/gwin32directorymonitor.c
	(g_win32_directory_monitor_constructor): Ignore error from
	CreateFile() when opening directory. Instead of asserting, just
	store INVALID_HANDLE_VALUE then in
	GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
	ReadDirectoryChangesW().
	(g_win32_directory_monitor_cancel): Don't attempt to close
	directory handle if it is INVALID_HANDLE_VALUE.

Matthias Clasen's avatar
Matthias Clasen committed
1240 1241 1242 1243
2008-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c: Remove debug spew

Hans Breuer's avatar
Hans Breuer committed
1244 1245 1246 1247
2008-08-01  Hans Breuer  <hans@breuer.org>

	* makefile.msc : add gemblembedicon

1248 1249 1250 1251 1252 1253 1254 1255
2008-07-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 545457 – gdmsetup crashed with SIGSEGV in
	g_unix_mount_guess_should_display()

	* gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
	crash if no mount is found.

1256 1257 1258 1259 1260 1261 1262 1263
2008-07-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 545203 – gfile.c: argument is different type.

	* gfile.c (open_read_async_thread): Pass a GError **
	to g_file_set_error_literal.
	Reported by Kazuki Iwamoto

1264 1265 1266 1267 1268 1269 1270 1271 1272
2008-07-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 545157 – wrong/no list of "open with" applications for .cc and
	.cpp files

	* gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
	Collect all ancestors, not just direct parents. Pointed
	out by Bastien Nocera

1273 1274 1275 1276
2008-07-28  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am: Install gemblemedicon.h

Matthias Clasen's avatar
Matthias Clasen committed
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
2008-07-28  Matthias Clasen  <mclasen@redhat.com>

	* gemblemedicon.[hc]: Add a GIcon implementation that can
	add an emblem to another icon.

	* gio.h:
	* Makefile.am:
	* gio.symbols: Glue

	* gloadableicon.c:
	* gfileicon.c: Small documentation additions.

Tor Lillqvist's avatar
Tor Lillqvist committed
1289 1290 1291 1292 1293
2008-07-28  Tor Lillqvist  <tml@novell.com>

	* gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
	type.

1294 1295 1296 1297
2008-07-27  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.

1298 1299 1300 1301 1302 1303
2008-07-24  David Zeuthen  <davidz@redhat.com>

	* gmount.[ch]:
	* gio.symbols:
	Also export a g_mount_guess_content_type_sync() function.

1304 1305 1306 1307 1308 1309 1310
2008-07-23  Matthias Clasen  <mclasen@redhat.com>

	529694 – SELinux context setting support

	* gfileinfo.c: Support setting selinux attributes.
	Patch by Tomas Bzatek

1311 1312 1313 1314 1315 1316
2008-07-22  Priit Laes <plaes@plaes.org>

	Bug 544140 - fam-helper 64-bit issue?

	* fam/fam-helper.c: Added missing include so compiler doesn't complain.

1317
2008-07-21  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1318 1319 1320

	* === Released 2.17.4 ===

Matthias Clasen's avatar
Matthias Clasen committed
1321 1322
2008-07-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1323 1324 1325
	* gvolumemonitor.[hc]:
	* gmountoperation.c:
	* gioenums.h:
Matthias Clasen's avatar
Matthias Clasen committed
1326
	* gdrive.c:
Matthias Clasen's avatar
Matthias Clasen committed
1327 1328 1329
	* gvfs.c:
	* gmount.c: Documentation fixes

1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345
2008-07-19  Matthias Clasen  <mclasen@redhat.com>

	543504 – crash in Epiphany Web Browser: Opening local file

	* gappinfo.c:
	* gasyncresult.c:
	* gdesktopappinfo.c:
	* gdrive.c:
	* gfile.c:
	* gicon.c:
	* gloadableicon.c:
	* gmount.c:
	* gseekable.c:
	* gvolume.c: Register types thread-safely.
	Patch by Christian Persch

Matthias Clasen's avatar
Matthias Clasen committed
1346 1347 1348 1349
2008-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gcontenttype.c: Remove debug spew

Matthias Clasen's avatar
Matthias Clasen committed
1350 1351 1352 1353 1354 1355 1356 1357
2008-07-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
	any applications

	* fen/fen-kernel.c: Remove a warning that was causing
	crashes. Reported by Lin Ma.

Matthias Clasen's avatar
Matthias Clasen committed
1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376
2008-07-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 543040 – async reading on dummy file will crash on
	GIO_USE_VFS=local

	* gfile.c (open_read_async_thread): Cope with read_fn being
	NULL. Reported by Lin Ma.  

2008-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gio.symbols:
	* gcontenttype.[hc]: Add g_content_type_guess_for_tree().

2008-07-16  Matthias Clasen  <mclasen@redhat.com>

	* gvfs.h:
	* gdesktopappinfo.h: 
	* giomodule.c: Rename a chapter id to avoid filename conflict.

Matthias Clasen's avatar
Matthias Clasen committed
1377 1378 1379 1380 1381 1382 1383
2008-07-16  Matthias Clasen  <mclasen@redhat.com>

	Bug 540616 – mem leak in filechooser button

	* gunixvolumemonitor.c (get_mount_for_mount_path): Free
	the mount entry. Reported by Chrisitan Persch

1384 1385 1386 1387
2008-07-16  Matthias Clasen  <mclasen@redhat.com>

	* gfile.c: Small documentation fixes.

1388 1389 1390 1391
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	* gunixmounts.c: Use g_strcmp0 instead of rolling our own.

1392 1393
2008-07-08  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1394 1395
	* gvolumemonitor.c:
	* gfile.c:
1396 1397 1398
	* gvolume.c:
	* gmount.c: Documentation improvements.

1399 1400 1401 1402 1403
2008-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gio.symbols:
	* gmount.[hc]: Add g_mount_guess_content_type(). 

1404 1405 1406 1407 1408 1409 1410
2008-07-06  David Zeuthen  <davidz@redhat.com>

	* gio.symbols:
	* gvolume.[ch]: Add new method g_volume_get_activation_root(). This
	is needed for easily handling adoption of foreign volumes by
	out-of-process volume monitors (#541793)

1411 1412 1413 1414 1415 1416
2008-07-06  David Zeuthen  <davidz@redhat.com>

	* gvolumemonitor.[ch]:
	* gunionvolumemonitor.c: Export the eject-button signal on the
	volume monitor class (#541794).

Matthias Clasen's avatar
Matthias Clasen committed
1417 1418 1419 1420
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	* gappinfo.c: More doc tweaks

Matthias Clasen's avatar
Matthias Clasen committed
1421 1422 1423 1424
2008-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gappinfo.c: Clarify some docs

Matthias Clasen's avatar
Matthias Clasen committed
1425 1426 1427 1428
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	* gdesktopappinfo.c: Fix a stupid mistake.

Matthias Clasen's avatar
Matthias Clasen committed
1429 1430 1431 1432
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
1433 1434 1435 1436
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	* gfilemonitor.c: Fix the build.

Matthias Clasen's avatar
Matthias Clasen committed
1437 1438 1439 1440 1441 1442 1443 1444
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 536160 – Add g_file_monitor()

	* gio.symbols:
	* gfile.[hc]: Add g_file_monitor which can return either
	a file or a directory monitor.  Proposed by Behdad Esfahbod

1445 1446 1447 1448 1449 1450
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	536733 – gio build failure on Irix

	* glocalfile.c: Use a configure check for structfs.f_bavail.

1451 1452 1453 1454 1455 1456 1457 1458
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 534639 – add g_desktop_app_info_new_from_keyfile

	* gio.symbols:
	* gdesktopappinfo.[hc]: Add a function to create a
	GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.

1459 1460 1461 1462
2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gappinfo.c: Fix ulink in doc to make gtk-doc happy.

Matthias Clasen's avatar
Matthias Clasen committed
1463 1464 1465 1466
2008-07-01  Matthias Clasen  <mclasen@redhat.com>

	* gunixmounts.c: Fix a doc typo.

1467 1468
2008-07-01  Cody Russell  <bratsche@gnome.org>

Cody Russell's avatar
Cody Russell committed
1469
	* gio/gcontenttype.c:
1470
	* gio/gwin32appinfo.c:
Cody Russell's avatar
Cody Russell committed
1471
	* gio/gwin32volumemonitor.c:
1472 1473
	* gio/gwin32mount.c: Fixed some include problems.

1474 1475
2008-07-01  Cody Russell  <bratsche@gnome.org>

1476 1477 1478
	* gio/gioenums.h:
	* gio/giotypes.h:
	Moved all relevant typedefs into these files.
1479

1480 1481
	* gio/*.[ch]:
	Updated wrt added files.
1482

1483
	Split types into separate file for easier maintainership. (#538564)
1484

1485 1486 1487 1488 1489 1490 1491
2008-06-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 540331 – g_file_append_to () documentation: can return NULL

	* gfile.c (g_file_append_to): Clarify docs.
	Patch by Jared Moore

1492 1493 1494 1495 1496 1497 1498
2008-06-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 539090 – g_content_type_from_mime_type() should unalias

	* gcontentype.c (g_content_type_from_mime_type): Unalias.
	Patch by Markus Bergman

1499 1500 1501 1502 1503 1504 1505 1506
2008-06-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
	g_atomic_pointer_get

	* pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
	on ppc and alpha. Reported by Mart Raudsepp

1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520
2008-06-29  Matthias Clasen  <mclasen@redhat.com>

	* tests/Makefile.am: 
	* tests/memory-output-stream.c: Add some tests for
	GMemoryOutputStream. 

2008-06-29  Matthias Clasen  <mclasen@redhat.com>

	Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
	0, ...)

	* gmemoryoutputstream.c (array_resize): Handle truncation to
	zero correctly. Reported by Akira Tagoh

Matthias Clasen's avatar
Matthias Clasen committed
1521 1522 1523 1524
2008-06-29  Matthias Clasen  <mclasen@redhat.com>

	* gmemoryoutputstream.c: Trivial doc fixes

1525 1526 1527 1528 1529 1530 1531
2008-06-29  Matthias Clasen  <mclasen@redhat.com>

	Bug 540802 – g_list_prepend doesn't concat lists

	* giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
	one list to another. Pointed out by Jan Arne Petersen

1532 1533 1534 1535
2008-06-28  Michael Natterer  <mitch@imendio.com>

	* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().

1536 1537 1538 1539 1540
2008-06-18  Matthias Clasen <mclasen@rdhat.com>

	* glocalfileinfo.c: Don't do fallback for user-home and user-desktop
	to avoid problems with partial icon themes.
	
1541 1542
2008-06-17  Hans Breuer  <hans@breuer.org>

1543 1544
	* gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
	gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1545
	access again on win32, see bug #538127
1546 1547 1548
	* giomodule.c : ensure GWin32VolumeMonitor is registered
	* glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
	* Makefile.am makefile.msc : updated
1549

Hans Breuer's avatar
Hans Breuer committed
1550
2008-06-16  Hans Breuer  <hans@breuer.org>
1551 1552 1553 1554

	* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
	and initialization in one step avoids c99ism

1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
2008-06-16  Christian Persch  <chpe@gnome.org>

	* gio/gappinfo.c
	* gio/gbufferedinputstream.c
	* gio/gcancellable.c
	* gio/gdatainputstream.c
	* gio/gdesktopappinfo.c
	* gio/gfile.c
	* gio/gfileenumerator.c
	* gio/gfileinputstream.c
	* gio/gfileoutputstream.c
	* gio/ginputstream.c
	* gio/glocaldirectorymonitor.c
	* gio/glocalfile.c
	* gio/glocalfileenumerator.c
	* gio/glocalfileinfo.c
	* gio/glocalfilemonitor.c
	* gio/glocalfileoutputstream.c
	* gio/gmemoryinputstream.c
	* gio/gmemoryoutputstream.c
	* gio/goutputstream.c
	* gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
	bug #535947.

1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597
2008-06-16  Tor Lillqvist  <tml@novell.com>

	Bug 538362 - Get Win32 icons back in the file chooser

	* gcontenttype.c (g_content_type_get_icon): Look up the icon
	corresponding to a file extension in the Registry. Patch by Hans
	Breuer.
	(get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
	
2008-06-16  Tor Lillqvist  <tml@novell.com>

	Patches by Hans Breuer:

	* glocalfile.c (is_xp_or_later): Handle compiling against older
	SDK headers with missing VerifyVersionInfo().  Conditioned on
	_MSC_VER, but should probably use some better test.
	* glocalfile.c (g_local_file_query_filesystem_info): Don't test
	uninitialised statfs_result variable on Win32.

1598 1599 1600 1601 1602 1603
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* *.c: chain up unconditionally in finalize() and dispose(). Also
	don't dereference these function pointers when calling them since
	that has no meaning at all.

1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
2008-06-16  Ross Burton  <ross@burtonini.com>

	* gfileenumerator.c:
	Remove check for dispose implementation as it annoys Emmanuele.
	
2008-06-16  Ross Burton  <ross@burtonini.com>

	Bug 536252 – GFileEnumerator should allow access to the containing
	GFile
	
	* gfileenumerator.c:
	* gfileenumerator.h:
	* gfile.h:
	Add g_file_enumerator_get_container() and a container writeable
	construct-only property.  Also shuffle around typedefs to make it
	compile.
	
	* glocalfileenumerator.c:
	* glocalfileenumerator.h:
	* glocalfile.c:
	Instead of a string filename take a GFile in the constructor and
	use it to set the container property.
	
	* gio.symbols:
	Update with new API.

1630 1631 1632 1633
2008-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gfile.c: Make includes more uniform

1634 1635 1636
2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>

	* tests/live-g-file.c (sample_struct):
1637 1638
	Use less fancy unicode filenames, so the test doesn't fail
	on Mac OS X (#531476).
1639

Matthias Clasen's avatar
Matthias Clasen committed
1640 1641 1642 1643
2008-06-12  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.17.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
1644 1645 1646 1647
2008-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.1 ===

Andrew Walton's avatar
Andrew Walton committed
1648 1649 1650 1651 1652
2008-06-11  A. Walton  <awalton@gnome.org>

	* tests/g-file.c (test_g_file_new_null):
	Fix broken test case.

1653 1654 1655 1656
2008-06-11  Matthias Clasen <mclasen@redhat.com>

	* pltcheck.sh: We use g_clear_error now.

1657 1658 1659 1660 1661
2008-06-11  Matthias Clasen <mclasen@redhat.com>

	* glocalfile.c (g_local_file_enumerate_children): Revert
	an unintended change.

1662 1663 1664 1665
2008-06-11  Matthias Clasen <mclasen@redhat.com>

	* gfile.c (g_file_replace_contents): Don't unref before the last use.

1666 1667 1668 1669 1670 1671 1672 1673 1674
2008-06-10  Matthias Clasen <mclasen@redhat.com>

	Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
	folder
	
	* glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
	as icon for the desktop directory, also make user-home and
	user-desktop the preferred icons.

1675 1676
2008-06-10  Matthias Clasen <mclasen@redhat.com>

1677 1678 1679 1680 1681 1682 1683
	* gio.symbols:
	* gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
	to add a name to the front of the list.

2008-06-10  Matthias Clasen <mclasen@redhat.com>

	Bug 537392 – Additional colon in xattr name
1684 1685 1686 1687

	* glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
	too. Reported by  Alessandro Morandi 

1688 1689 1690 1691 1692 1693 1694 1695
2008-06-10  Matthias Clasen <mclasen@redhat.com>

	Bug 536641 – Filesystem querying in gio does not list AFS and autofs
	file systems

	* glocalfile.c (get_fs_type): Add afs and autofs.
	Patch by Danny Baumann.

1696 1697 1698 1699 1700
2008-06-10  Matthias Clasen <mclasen@redhat.com>

	Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")

	* gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
Matthias Clasen's avatar
Matthias Clasen committed
1701
	is no parent.  (Owen Taylor, patch by Christian Neumair)
1702
	
1703 1704 1705 1706
2008-06-10  Paolo Borelli  <pborelli@katamail.com>

	* gfile.c (g_file_replace_contents): do not leak the output stream.

1707 1708 1709 1710 1711
2008-06-10  Michael Natterer  <mitch@imendio.com>

	* gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
	uninitialized memory as array index.

Tor Lillqvist's avatar
Tor Lillqvist committed
1712 1713
2008-06-10  Tor Lillqvist  <tml@novell.com>

Tor Lillqvist's avatar
Tor Lillqvist committed
1714 1715
	* gcontenttype.c (g_content_type_can_be_executable)
	(g_content_type_get_icon) [Win32]: Add TODO comments.
Tor Lillqvist's avatar
Tor Lillqvist committed
1716

Matthias Clasen's avatar
Matthias Clasen committed
1717 1718 1719 1720
2008-06-09  Matthias Clasen  <mclasen@redhat.com>

	* xdgmime/Makefile.am: Fix the build

Matthias Clasen's avatar
Matthias Clasen committed
1721 1722
2008-06-09  Matthias Clasen  <mclasen@redhat.com>

1723 1724 1725
	* gcontenttype.c (g_content_type_get_icon): Use icons specified
	in the shared mime database, if available.

Matthias Clasen's avatar
Matthias Clasen committed
1726 1727 1728 1729
	* xdgmime/*: Sync with upstream. This brings support for
	glob weights, generic icons, and changes the cache format to 
	version 1.1.

1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.

	* tests/data-input-stream.c
	* tests/data-output-stream.c
	* tests/g-file-info.c
	* tests/g-file.c
	* tests/live-g-file.c
	* tests/memory-input-stream.c: don't include <glib/gtestutils.h>

Matthias Clasen's avatar
Matthias Clasen committed
1742 1743 1744 1745 1746 1747 1748
2008-05-27  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.0 ===

	* tests/live-g-file.c: Clean up after the tests, so make distcheck
	doesn't complain about leftover files.

1749 1750 1751
2008-05-27  simon.zheng  <simon.zheng@sun.com>

	* glocalfile.c: (g_local_file_query_filesystem_info):
1752
	Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1753

1754 1755 1756 1757 1758
2008-05-26  Michael Natterer  <mitch@imendio.com>

	* gmemoryoutputstream.h: declare
	g_memory_output_stream_get_data_size().

Matthias Clasen's avatar
Matthias Clasen committed
1759 1760 1761 1762
2008-05-26  Matthias Clasen  <mclasen@redhat.com>

	* tests/*: Make tests work 

Matthias Clasen's avatar
Matthias Clasen committed
1763 1764 1765 1766
2008-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gio.symbols: Add g_memory_output_stream_get_data_size.

1767 1768 1769 1770 1771
2008-05-25  Ross Burton  <ross@burtonini.com>

	* glocalfile.c:
	Fix typo in error message (#534764).

1772 1773 1774 1775 1776
2008-05-25  Ross Burton  <ross@burtonini.com>

	* Makefile.am:
	Fix circular dependency loop for gioenumtypes.h (#534759).

Hans Breuer's avatar
Hans Breuer committed
1777 1778 1779 1780
2008-05-19  Hans Breuer  <hans@breuer.org>

	* Makefile.am : EXTRA_DIST += makefile.msc

Matthias Clasen's avatar
Matthias Clasen committed
1781 1782 1783 1784 1785 1786 1787
2008-05-17  Matthias Clasen  <mclasen@redhat.com>

	* gcontenttype.h:
	* gcontenttype.c: (g_content_type_from_mime_type):
	New function to create a content type from a mime type. (#527175,
	Milan Crha)

1788 1789 1790 1791 1792 1793 1794
2008-05-17  Matthias Clasen  <mclasen@redhat.com>

	Bug 532965 – Should not return filesystem::free for certain file systems

	* glocalfile.c (g_local_file_query_filesystem_info) Don't return
	free space for ncpfs.

1795 1796 1797 1798 1799 1800 1801
2008-05-17  Matthias Clasen  <mclasen@redhat.com>

	Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0

	* glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
	st_dev might be zero.

1802 1803 1804 1805 1806
2008-05-16  Tor Lillqvist  <tml@novell.com>

	* win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
	get declaration of ReadDirectoryChangesW() from Platform SDK headers.

1807 1808 1809 1810 1811
2008-05-13  Bastien Nocera  <hadess@hadess.net>

	* gfile.c (has_valid_scheme): A URI scheme must start with a
	letter, even if later more characters are allowed (#532852)

1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831
2008-05-05  Michael Natterer  <mitch@imendio.com>

	* Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
	code from being checked in that breaks the build of applications
	which use G_DISABLE_SINGLE_INCLUDES.

	* makegioalias.pl: make the alias file include "glib.h" instead of
	"glibconfig.h".

	* gio.symbols: whitespace change to force regeneration of the
	alias file after above script change.

	* gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.

	* gfilenamecompleter.c: remove inclusion of "gurifuncs.h".

	* gioerror.h: #include <glib.h> instead of <glib/gerror.h>.

	* glocalfileinfo.c: remove inclusion of <glib/gchecksum>.

1832 1833 1834 1835 1836 1837
2008-04-28  David Zeuthen  <davidz@redhat.com>

	* gunixmounts.c (g_unix_mount_guess_should_display): Avoid
	displaying mounts in a subdirectory not accessible to the
	user (#526320).

1838 1839 1840 1841
2008-04-22  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: fix library versioning (it was 0.0.0).

1842 1843 1844 1845 1846 1847 1848
2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
	Default disable all loggings.
	* fen/fen-kernel.c: (printevent), (port_add_kevent),
	(port_fetch_event_cb): Fixed two macro nits.

1849 1850 1851 1852 1853 1854
2008-04-16  Matthias Clasen  <mclasen@redhat.com>

	* xdgmime/xdgmime.c: Rework the timestamp checking code
	to protect against duplicate directories in XDG_DATA_DIRS.
	Fixes fd.o bug 12513, reported by Joe Shaw.

1855 1856 1857 1858 1859 1860 1861 1862 1863 1864
2008-04-16  Matthias Clasen  <mclasen@redhat.com>

	Partically revert the last commit after realizing that
	xdg_mime_media_type_equal doesn't have to init at all.

	* xdgmime/xdgmime.h:
	* xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal

	* xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal

1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876
2008-04-16  Matthias Clasen  <mclasen@redhat.com>

	Avoid possible memory corruption in xdgmime, fd.o bug 12512,
	reported by Joe Shaw and Federico Mena Quintero.

	* xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
	(xdg_mime_media_type_equal): Turn into a wrapper around the 
	_-prefixed version.

	* xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
	functions throughout.

1877 1878 1879 1880 1881 1882
2008-04-16  Michael Meeks  <michael.meeks@novell.com>

	* gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
	tolerate an empty TryExec= line without failing; nautilus used
	to create launchers with these in previous versions. Fixes #528433

1883 1884 1885 1886 1887
2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>

	* gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
	after name. Fixes #527132.

Tomáš Bžatek's avatar
Tomáš Bžatek committed
1888 1889 1890 1891 1892
2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>

	* gfile.c: (g_file_replace):
	Doc update

1893 1894 1895 1896 1897 1898 1899
2008-04-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 526796 – Wrong order of arguments in g_file_copy's fallback

	* gfile.c (file_copy_fallback): Fix the argument order. Patch
	by Christian Kellner.

1900 1901 1902 1903 1904 1905 1906
2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>

	* gunixmounts.c: (g_unix_mount_guess_should_display):
	Don't list the user directory as a mount, fix potential issue
	when other users have a similar naming and don't special case the
	gvfs mounts there since that's not required (#525866)

Alexander Larsson's avatar
Alexander Larsson committed
1907 1908 1909 1910 1911
2008-03-31  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (get_parent):
	Don't leak parent.
	
1912 1913 1914 1915 1916
2008-03-31  A. Walton  <awalton@svn.gnome.org>

	* gfile.c (g_file_query_file_type):
	Always return a GFileType enum value (#520715).

1917 1918
2008-03-31  Alexander Larsson  <alexl@redhat.com>

1919
	* glocalfileenumerator.c:
1920
	Read readdir() info in chunks (of 1000) and sort
1921 1922 1923 1924
	the chunks by inode before stat:ing.
	This is a 20% performance increase in testing
	gvfs-ls on /usr/bin with cold cache.

1925 1926
2008-03-31  Alexander Larsson  <alexl@redhat.com>

1927
	* gmemoryoutputstream.c:
1928 1929 1930
	Clarify docs for g_memory_output_stream_get_size.
	Add g_memory_output_stream_get_data_size.

1931 1932 1933 1934 1935 1936 1937
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gio.symbols:
	* gfile.c:
	* gfile.h: Add g_file_query_file_type convenience function
	to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)

1938 1939 1940 1941 1942
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gfileenumerator.c:
	* gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)

1943 1944 1945 1946 1947 1948
2008-03-28  A. Walton  <awalton@svn.gnome.org>

	* giomodule.c (_g_io_modules_ensure_loaded):
	Adds GIO_EXTRA_MODULES environment variable support, closing bug 
	#523039.

Alexander Larsson's avatar
Alexander Larsson committed
1949 1950
2008-03-28  Alexander Larsson  <alexl@redhat.com>

1951 1952
	* gfile.c:
	(copy_stream_with_progress):
Alexander Larsson's avatar
Alexander Larsson committed
1953 1954
	Fix up last commit.
	
1955 1956
2008-03-28  Alexander Larsson  <alexl@redhat.com>

1957 1958 1959
	* gfile.c:
	(copy_stream_with_progress):
	(file_copy_fallback):
Alexander Larsson's avatar
Alexander Larsson committed
1960 1961
	Fallback to g_file_query_info for source size
	if g_file_input_stream_query_info fails. (#524579)
1962

1963 1964 1965 1966 1967
2008-03-28  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (g_local_file_move):
	Reuse old string instead of adding new one.

1968 1969 1970 1971
2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/*.[hc]: still copyright issue. I hate copyright.

1972 1973 1974 1975 1976 1977 1978
2008-03-27  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (g_local_file_move):
	Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
	file over directory. This is according to the docs and what the move via
	copy+remove fallback does.

Lin Ma's avatar
Lin Ma committed
1979 1980 1981 1982
2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/*.[hc]: Updated copyright.

Lin Ma's avatar
Lin Ma committed
1983 1984 1985 1986
2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.

1987 1988 1989 1990 1991 1992 1993
2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
	not emit attribute changed events when optimizing changed events.
	* fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
	warning messages.

Matthias Clasen's avatar
Matthias Clasen committed
1994 1995 1996 1997
2008-03-19  Matthias Clasen  <mclasen@redhat.com>

	* gmountoperation.[hc]: Small documentation additions

1998 1999 2000 2001 2002
2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>

	* gunixmounts.c: (guess_mount_type): 
	consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)

2003 2004
2008-03-19  Alexander Larsson  <alexl@redhat.com>

2005 2006
	* gfile.c:
	(copy_stream_with_progress):
2007 2008 2009
	Bump block side for copy to 64k to minimize
	overhead for low latency links. (#523015)

2010 2011 2012 2013 2014
2008-03-16  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
	depend on gio.def on Windows.

2015 2016 2017 2018 2019 2020
2008-03-12  David Zeuthen  <davidz@redhat.com>

	* gio.symbols:
	* gunixmounts.[ch]:
	Add g_unix_mount_monitor_set_rate_limit() function (#521946)

2021 2022
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2023 2024
	* gunixmounts.c:
	(guess_mount_type):
2025 2026 2027
	Avoid redudant tests (#521851)
	Patch from Josselin Mouette

2028 2029
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2030 2031
	* gfilemonitor.c:
	(g_file_monitor_is_cancelled):
2032 2033 2034
	Fix C89 issue (#521672)
	Patch from Jens Granseuer

2035 2036
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2037 2038
	* fam/fam-helper.[ch]:
	* fam/fam-module.c:
2039 2040 2041 2042
	Shut down fam (including removing fam GSource) when
	module is unloaded (#521513)
	Patch from Joe Marcus Clarke   

Alexander Larsson's avatar
Alexander Larsson committed
2043 2044
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2045 2046
	* giomodule.c:
	(_g_io_modules_ensure_loaded):
Alexander Larsson's avatar
Alexander Larsson committed
2047 2048
	Fix up FEN ifdefs

2049 2050
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2051 2052
	* glocalfile.c:
	(g_local_file_query_filesystem_info):
2053 2054
	Use right define name for f_fstypename member check

2055 2056
2008-03-14  Alexander Larsson  <alexl@redhat.com>

2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068
	* Makefile.am:
	* fen/Makefile.am: Added.
	* fen/fen-data.[ch]: Added.
	* fen/fen-dump.[ch]: Added.
	* fen/fen-helper.[ch]: Added.
	* fen/fen-kernel.[ch]: Added.
	* fen/fen-missing.[ch]: Added.
	* fen/fen-node.[ch]: Added.
	* fen/fen-sub.[ch]: Added.
	* fen/gfendirectorymonitor.[ch]: Added.
	* fen/gfenfilemonitor.[ch]: Added.
	* giomodule.c:
2069 2070 2071
	Added Solaris FEN file notification backend.
	Patch from Lin Ma <Lin.Ma@Sun.COM>

2072 2073 2074 2075 2076 2077 2078
2008-03-13  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Actually use the gio.def file when linking the
	library on Windows. Produce .lib library for Microsoft's toolchain
	when possible. Install the .lib and .def file like for the other
	libraries of GLib.

2079 2080 2081 2082 2083 2084 2085 2086
2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>

	* tests/live-g-file.c:
	Include live-g-file in standard set of tests, making a temporary
	directory in source structure.
	
	Clean target directory before the tests (write mode only)

2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099
2008-03-12  Tor Lillqvist  <tml@novell.com>

	Bug 517419 - gio win32 directory monitor
	Implementation by Vlad Grecescu.
	
	* win32/Makefile.am
	* win32/gwin32directorymonitor.h
	* win32/gwin32directorymonitor.c: New files.

	* giomodule.c: Set up the GWin32DirectoryMonitor plumbing.

	* Makefile.am: Add the win32 subdirectory.

2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111
2008-03-12  Tor Lillqvist  <tml@novell.com>

	* glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
	normal struct stat on Unix but struct _stati64 on Windows to have
	access to 64-bit file size information. Use that instead of struct
	stat in the functions declared here in this private header.

	* glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
	S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
	warnings about unused functions and variables. Don't set
	meaningless attributes like inode numbers on Windows.

2112 2113 2114 2115 2116
2008-03-12  Benjamin Otte  <otte@gnome.org>

	* gvfs.h:
	trim whitespace so gtk-doc groks the function name

2117 2118 2119 2120 2121
2008-03-12  Tor Lillqvist  <tml@novell.com>

	* glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
	returning FALSE, on Win32.

2122 2123
2008-03-11  Alexander Larsson  <alexl@redhat.com>

2124 2125
	* glocalfile.c:
	* glocalfileinfo.[ch]:
2126 2127 2128 2129
	Correctly implement can_trash by actually
	looking for a trash dir, not just assuming
	one exists.

Matthias Clasen's avatar
Matthias Clasen committed
2130 2131 2132 2133
2008-03-10  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.16.1 ===

2134 2135
2008-03-11  Alexander Larsson  <alexl@redhat.com>

2136
	* gthemedicon.c:
2137 2138
	Fix crashes in new constructor and properties code

2139 2140 2141 2142 2143
2008-03-10  Murray Cumming  <murrayc@murrayc.com>

	* gfile.c: Minor spelling correction in documentation:
	existance -> existence.

Matthias Clasen's avatar
Matthias Clasen committed
2144 2145 2146 2147
2008-03-10  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.16.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
2148 2149 2150 2151
2008-03-10  Matthias Clasen <mclasen@redhat.com>

	* gio.symbols: Remove g_file_contains_file here, too.

2152 2153 2154 2155 2156
2008-03-10  Matthias Clasen <mclasen@redhat.com>

	* gthemedicon.c: Add properties to make bindings happy.  (#517676,
	Samuel Cormier-Iijima)

2157 2158 2159 2160 2161
2008-03-08  Tor Lillqvist  <tml@novell.com>

	* glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
	winnt.h. (#521145)

2162 2163
2008-03-07  Alexander Larsson  <alexl@redhat.com>

2164 2165
	* glocalfile.c:
	(g_local_file_query_filesystem_info):
2166 2167 2168
	Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
	Patch from Jasper Lievisse Adriaanse

2169 2170 2171 2172 2173
2008-03-06  Tor Lillqvist  <tml@novell.com>

	* gfileinfo.h: Correct milliseconds to microseconds in the doc
	comments for the *_USEC attributes.

2174 2175 2176 2177 2178
2008-03-06  Alexander Larsson  <alexl@redhat.com>

	* gfile.c (g_file_query_exists):
	Add g_return_val_if_fail check (#520700)

2179 2180
2008-03-06  Alexander Larsson  <alexl@redhat.com>

2181 2182 2183 2184 2185 2186 2187 2188
	* gdesktopappinfo.c:
	* gfilemonitor.c:
	* gthemedicon.c:
	* gunionvolumemonitor.c:
	* gunixmounts.c:
	* tests/g-file.c:
	* tests/live-g-file.c:
	* xdgmime/xdgmimecache.c:
2189 2190
	Fix sparse warnings (#519489)

2191 2192
2008-03-05  Alexander Larsson  <alexl@redhat.com>

2193
	* gfilemonitor.c:
2194 2195 2196 2197
	Make cancellation threadsafe (i.e.
	guarantee its only done once, and always
	done)
	
2198
	* glocaldirectorymonitor.c:
2199 2200 2201
	Make sure we the monitor lives while the
	mounts_changed callback is being called (#520484)

2202 2203 2204 2205 2206
2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gbufferedinputstream.c: Fix typo in parameter
	documentation.

2207 2208
2008-03-04  Alexander Larsson  <alexl@redhat.com>

2209
	* gfile.c:
2210 2211
	Remove deprecated symbols we kept for one release.

2212 2213 2214 2215 2216
2008-03-04  Murray Cumming  <murrayc@murrayc.com>

	* ginputstream.c:
	* goutputstream.c: Tiny documentation corrections.

2217 2218
2008-03-03  Alexander Larsson  <alexl@redhat.com>

2219 2220
	* gunionvolumemonitor.c:
	* gvolumemonitor.h:
2221 2222 2223 2224 2225 2226
	Fix the adopt_orphan_mount vfunc to take a
	volume_monitor reference in an ABI compat way.
	This change is not API compat, but the added
	arg is not used in the only user of this vfunc, so
	all we get is a harmless warning in gvfs (#520169)
	
2227 2228 2229 2230 2231
2008-03-01  Benjamin Otte  <otte@gnome.org>

	* gfile.c:
	clarify docs for g_file_delete().

2232 2233
2008-02-29  Alexander Larsson  <alexl@redhat.com>

2234 2235
	* glocalfileinfo.c:
	(get_content_type):
2236 2237
	Make sure empty files get text/plain type (#518720)

Alexander Larsson's avatar
Alexander Larsson committed
2238 2239
2008-02-27  Alexander Larsson  <alexl@redhat.com>

2240
	* gcontenttype.c:
Alexander Larsson's avatar
Alexander Larsson committed
2241 2242
	Fix type warnings
	
2243 2244
	* gunixvolume.c:
	(g_unix_volume_mount):
Alexander Larsson's avatar
Alexander Larsson committed
2245 2246
	Add missing GMountMountFlags argument

2247 2248
2008-02-26  Alexander Larsson  <alexl@redhat.com>

2249 2250
	* glocalfile.c:
	(g_local_file_delete):
2251 2252 2253
	Handle filesystems (like ntfs-3g) that return EEXIST instead
	of ENOTEMPTY (#518816)

Matthias Clasen's avatar
Matthias Clasen committed
2254 2255 2256 2257
2008-02-25  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.6 ===

2258 2259 2260 2261 2262 2263 2264 2265