Rémi Denis-Courmont
04fb7e89cb
Namespace/rename make_path to vlc_uri2path
11 years ago
Rémi Denis-Courmont
1b68edb931
Namespace/rename XML encode/decode functions
11 years ago
Rémi Denis-Courmont
33dfab3c21
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.
14 years ago
Rémi Denis-Courmont
c8961f3a00
Remove unneeded #include <vlc_aout.h>
14 years ago
Kelly Anderson
c0f44d25b3
Consolidate lua includes in vlc.h
So lua 5.2 compatibility declarations can be made in one place.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years ago
Rob Jonson
c854652cfe
expose make_path to lua
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
15 years ago
Ludovic Fauvet
2f918cf734
lua: fix an argument validation error
According to the documentation, strings.from_charset expects two
arguments, not three.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years ago
Pierre Ynard
e816d6a963
lua: export make_URI()
15 years ago
Jean-Baptiste Kempf
61147a769e
Move /modules/misc/lua/ to /modules/lua
Lua is an important part of VLC and abusing misc has gone a bit too far...
15 years ago
Rémi Denis-Courmont
a6e6fbffe4
LUA: use FromCharset()
16 years ago
Rémi Denis-Courmont
e50e29c750
Move vlc_iconv* to <vlc_charset.h>
16 years ago
Rémi Denis-Courmont
51304fe91b
LUA: make one byte room for the nul terminator after iconv()
16 years ago
Ilkka Ollakka
91e56a1ea8
lua: add vlc.strings.iconv to use vlc_iconv, shouldn't eat kittens
Not sure if I remembered to do all the checks needed for errors, but
works for me ok.
16 years ago
Rémi Denis-Courmont
d601e4ed29
Split file path functions out of vlc_charset.h into vlc_fs.h
16 years ago
Antoine Cellerier
ba2e3c57df
Add new functions to Lua API.
Add misc.mwait(), var.create() and strings.encode_uri_component()
functions to VLC's Lua API.
18 years ago
Antoine Cellerier
95addd5738
Implement Lua objects in the C code directly. Fix most type checks. Move every thing arround.
18 years ago