2006-11-19 Jonathan Matthew <jonathan@kaolin.wh9.net>
commitce9fc3b1d89a503ab47bd345bd21d433c1d6e3a9
authorjmatthew <jmatthew>
Sun, 19 Nov 2006 09:19:40 +0000 (19 09:19 +0000)
committerjmatthew <jmatthew>
Sun, 19 Nov 2006 09:19:40 +0000 (19 09:19 +0000)
treecba3e3fb4bb4b225605d68d88147d34c544113f9
parent3e6aec1f51864c412266575b7a8f42db38ffc9bd
2006-11-19  Jonathan Matthew  <jonathan@kaolin.wh9.net>

* lib/rb-file-helpers.c: (rb_uri_append_path), (rb_uri_append_uri),
(rb_uri_get_dir_name), (rb_uri_get_short_path_name):
* lib/rb-file-helpers.h:
* sources/rb-ipod-source.c: (ipod_get_filename_for_uri):
Implement rb_uri_get_short_path_name to replace
gnome_vfs_uri_extract_short_path name with something that doesn't
reject unknown URI schemes such as daap://.  Fixes #361077.

* tests/Makefile.am:
* tests/test-file-helpers.c: (test_get_short_path_name),
(START_TEST), (rb_file_helpers_suite), (main):
Add tests for the above.
ChangeLog
lib/rb-file-helpers.c
lib/rb-file-helpers.h
sources/rb-ipod-source.c
tests/Makefile.am
tests/test-file-helpers.c [new file with mode: 0644]