[vlc-commits] vlc_path2uri(): rename from make_URI() and always convert path

Rémi Denis-Courmont git at videolan.org
Mon Aug 20 20:01:39 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 20 20:31:05 2012 +0300| [33dfab3c2119f7121288c091a7b82cac40a8a5f9] | committer: Rémi Denis-Courmont

vlc_path2uri(): rename from make_URI() and always convert path

When there is an ambiguity, the caller is responsible for determining
whether a string is an URL or a path. In most cases, the string is
known as a file path.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33dfab3c2119f7121288c091a7b82cac40a8a5f9
---

 include/vlc_url.h                            |    3 +-
 lib/media.c                                  |    2 +-
 modules/access/directory.c                   |    2 +-
 modules/control/rc.c                         |    7 +++--
 modules/demux/mkv/mkv.cpp                    |    3 +-
 modules/demux/playlist/playlist.c            |    2 +-
 modules/gui/ncurses.c                        |    5 ++--
 modules/gui/qt4/components/open_panels.cpp   |    2 +-
 modules/gui/qt4/dialogs_provider.cpp         |   39 +++++++++++++-------------
 modules/gui/qt4/util/qt_dirs.cpp             |    5 +++-
 modules/gui/skins2/commands/cmd_add_item.cpp |   16 ++++++-----
 modules/gui/skins2/parser/xmlparser.cpp      |    2 +-
 modules/gui/skins2/src/file_bitmap.cpp       |    2 +-
 modules/gui/skins2/vars/playtree.cpp         |   31 ++++++++++++--------
 modules/lua/libs/strings.c                   |   11 ++++++--
 modules/meta_engine/folder.c                 |    2 +-
 modules/services_discovery/mediadirs.c       |    4 +--
 modules/services_discovery/udev.c            |    2 +-
 modules/video_filter/alphamask.c             |    2 +-
 modules/video_filter/erase.c                 |    2 +-
 modules/video_filter/logo.c                  |    2 +-
 src/input/input.c                            |   10 ++-----
 src/input/vlm.c                              |   26 ++++++++++++-----
 src/input/vlmshell.c                         |    2 +-
 src/libvlc.c                                 |   23 ++++++++++-----
 src/libvlccore.sym                           |    2 +-
 src/playlist/art.c                           |    4 +--
 src/playlist/loadsave.c                      |    4 +--
 src/test/url.c                               |    5 +---
 src/text/url.c                               |    9 ++----
 src/win32/specific.c                         |   10 +++++--
 31 files changed, 140 insertions(+), 101 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=33dfab3c2119f7121288c091a7b82cac40a8a5f9


More information about the vlc-commits mailing list