]> git.sesse.net Git - vlc/commit
Port the http interface to the Lua Interface Module framework.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 10 Nov 2007 16:34:53 +0000 (16:34 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 10 Nov 2007 16:34:53 +0000 (16:34 +0000)
commite10d43118219b4cd6e2fce4c44b70778f9ebcc30
tree6b809259249aa089626804da53a94af6c9d2238e
parent050188ce4cea0fe17c21eba1d429ff44e0f92ea4
Port the http interface to the Lua Interface Module framework.

 * share/luaintf/http.lua: Equivalent of the legacy modules/control/http/
   module. (The new module takes 272 lines of Lua, instead of 5475 lines for
   the old one.) Functionality is basically the same except for CGI support
   which is missing.
 * share/http-lua/: The HTML files using the new <?vlc [lua code] ?> syntax.
 * modules/misc/lua/: Add Lua bindings for a few VLC function, the most
   important being the HTTPd high level functions, ACLs, stat and opendir.

The Lua code still needs to be cleaned up a bit.
94 files changed:
Makefile.am
modules/misc/lua/Modules.am
modules/misc/lua/acl.c [new file with mode: 0644]
modules/misc/lua/callbacks.c
modules/misc/lua/httpd.c [new file with mode: 0644]
modules/misc/lua/intf.c
modules/misc/lua/net.c
modules/misc/lua/vlc.c
modules/misc/lua/vlc.h
share/Makefile.am
share/http-lua/.hosts [new file with mode: 0644]
share/http-lua/custom.lua [new file with mode: 0644]
share/http-lua/dialogs/.hosts [new file with mode: 0644]
share/http-lua/dialogs/browse [new file with mode: 0644]
share/http-lua/dialogs/footer [new file with mode: 0644]
share/http-lua/dialogs/input [new file with mode: 0644]
share/http-lua/dialogs/main [new file with mode: 0644]
share/http-lua/dialogs/mosaic [new file with mode: 0644]
share/http-lua/dialogs/playlist [new file with mode: 0644]
share/http-lua/dialogs/sout [new file with mode: 0644]
share/http-lua/dialogs/vlm [new file with mode: 0644]
share/http-lua/favicon.ico [new file with mode: 0644]
share/http-lua/flash.html [new file with mode: 0644]
share/http-lua/iehacks.css [new file with mode: 0644]
share/http-lua/images/delete.png [new file with mode: 0644]
share/http-lua/images/delete_small.png [new file with mode: 0644]
share/http-lua/images/eject.png [new file with mode: 0644]
share/http-lua/images/empty.png [new file with mode: 0644]
share/http-lua/images/fullscreen.png [new file with mode: 0644]
share/http-lua/images/help.png [new file with mode: 0644]
share/http-lua/images/info.png [new file with mode: 0644]
share/http-lua/images/loop.png [new file with mode: 0644]
share/http-lua/images/minus.png [new file with mode: 0644]
share/http-lua/images/next.png [new file with mode: 0644]
share/http-lua/images/pause.png [new file with mode: 0644]
share/http-lua/images/play.png [new file with mode: 0644]
share/http-lua/images/playlist.png [new file with mode: 0644]
share/http-lua/images/playlist_small.png [new file with mode: 0644]
share/http-lua/images/plus.png [new file with mode: 0644]
share/http-lua/images/prev.png [new file with mode: 0644]
share/http-lua/images/refresh.png [new file with mode: 0644]
share/http-lua/images/repeat.png [new file with mode: 0644]
share/http-lua/images/sd.png [new file with mode: 0644]
share/http-lua/images/shuffle.png [new file with mode: 0644]
share/http-lua/images/slider_bar.png [new file with mode: 0644]
share/http-lua/images/slider_left.png [new file with mode: 0644]
share/http-lua/images/slider_point.png [new file with mode: 0644]
share/http-lua/images/slider_right.png [new file with mode: 0644]
share/http-lua/images/slow.png [new file with mode: 0644]
share/http-lua/images/snapshot.png [new file with mode: 0644]
share/http-lua/images/sort.png [new file with mode: 0644]
share/http-lua/images/sout.png [new file with mode: 0644]
share/http-lua/images/speaker.png [new file with mode: 0644]
share/http-lua/images/speaker_mute.png [new file with mode: 0644]
share/http-lua/images/stop.png [new file with mode: 0644]
share/http-lua/images/vlc16x16.png [new file with mode: 0644]
share/http-lua/images/volume_down.png [new file with mode: 0644]
share/http-lua/images/volume_up.png [new file with mode: 0644]
share/http-lua/images/white.png [new file with mode: 0644]
share/http-lua/images/white_cross_small.png [new file with mode: 0644]
share/http-lua/index.html [new file with mode: 0644]
share/http-lua/js/functions.js [new file with mode: 0644]
share/http-lua/js/mosaic.js [new file with mode: 0644]
share/http-lua/js/vlm.js [new file with mode: 0644]
share/http-lua/mosaic.html [new file with mode: 0644]
share/http-lua/old/.hosts [new file with mode: 0644]
share/http-lua/old/admin/.access [new file with mode: 0644]
share/http-lua/old/admin/browse.html [new file with mode: 0644]
share/http-lua/old/admin/dboxfiles.html [new file with mode: 0644]
share/http-lua/old/admin/index.html [new file with mode: 0644]
share/http-lua/old/cone_minus.png [new file with mode: 0644]
share/http-lua/old/cone_plus.png [new file with mode: 0644]
share/http-lua/old/index.html [new file with mode: 0644]
share/http-lua/old/info.html [new file with mode: 0644]
share/http-lua/old/style.css [new file with mode: 0644]
share/http-lua/old/vlm/edit.html [new file with mode: 0644]
share/http-lua/old/vlm/index.html [new file with mode: 0644]
share/http-lua/old/vlm/new.html [new file with mode: 0644]
share/http-lua/old/vlm/show.html [new file with mode: 0644]
share/http-lua/old/webcam.html [new file with mode: 0644]
share/http-lua/requests/browse.xml [new file with mode: 0644]
share/http-lua/requests/playlist.xml [new file with mode: 0644]
share/http-lua/requests/readme [new file with mode: 0644]
share/http-lua/requests/status.xml [new file with mode: 0644]
share/http-lua/requests/vlm.xml [new file with mode: 0644]
share/http-lua/requests/vlm_cmd.xml [new file with mode: 0644]
share/http-lua/style.css [new file with mode: 0644]
share/http-lua/vlm.html [new file with mode: 0644]
share/http-lua/vlm_export.html [new file with mode: 0644]
share/luaintf/http.lua [new file with mode: 0644]
share/luaintf/modules/acl.lua [new file with mode: 0644]
share/luaintf/modules/common.lua
share/luaintf/modules/httpd.lua [new file with mode: 0644]
share/luaintf/rc.lua