Rémi Denis-Courmont
119776dc40
include: remove <vlc_aout.h> from <vlc_playlist.h>
8 years ago
Steve Lhomme
04db84cd9c
modules: replace use of 1000000 on time values by CLOCK_FREQ
Modified-by: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago
Hugo Beauzée-Luyssen
502f5c0660
lua: streams: Expose seek & getsize member functions
8 years ago
Hugo Beauzée-Luyssen
987952962f
lua: io: Add a vlc.io.unlink function
To be able to delete files using an utf8 path
8 years ago
Hugo Beauzée-Luyssen
36f95c6175
lua: io: Fix typo in usage error message
8 years ago
Hugo Beauzée-Luyssen
4b4b2df3df
lua: io: Don't swallow EEXIST errors
8 years ago
Hugo Beauzée-Luyssen
f70881d160
lua: Expose a minimal set of errno values
8 years ago
Hugo Beauzée-Luyssen
dbafe08dfa
lua: io: Simplify readdir
8 years ago
Francois Cartegnie
0151a4fd9f
lua: io: fix build with recent lua
8 years ago
Hugo Beauzée-Luyssen
086a2838eb
lua: io: Allow files to be explicitely closed
And add a runtime check to match lua's io package behavior
8 years ago
Hugo Beauzée-Luyssen
c0b1fbb0b8
lua: libs: Add a basic directory listing functionnality
8 years ago
Hugo Beauzée-Luyssen
7a6e3c9c3d
Revert "lua: Add a function to convert to the current codepage"
This reverts commit fdd3d58eaf .
8 years ago
Hugo Beauzée-Luyssen
e6d9d25ef9
lua: libs: Provide a basic io module replacement
8 years ago
Hugo Beauzée-Luyssen
50f61974a2
lua: libs: Add a vlc.io and move mkdir there
8 years ago
Hugo Beauzée-Luyssen
67ed23cef3
lua: Expose a mkdir function
To avoid using os.execute...
8 years ago
Hugo Beauzée-Luyssen
fdd3d58eaf
lua: Add a function to convert to the current codepage
This will help VLSub handle non ascii path on windows
8 years ago
Hugo Beauzée-Luyssen
7eda8499ef
lua: stream: Fix leak on error
8 years ago
Rémi Denis-Courmont
69389c1c50
demux: check for pf_readdir directly
Since we anyway test for pf_read and pf_block, and for pf_demux, we
might as well check for pf_readdir being non-NULL directly.
Maybe someone wants to add a VLC stream equivalent for fstat(),
replacing those NULL tests and STREAM_GETSIZE but that is left for
future study.
8 years ago
Hugo Beauzée-Luyssen
27852dd4c2
lua: cli: Fix non-ascii character input
refs #19874
(cherry picked from commit 1f1291aedc994dc218bfc5b9ab3ba0a32c19909b)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
8 years ago
Hugo Beauzée-Luyssen
e95939e55b
lua: console: Fix output of non ascii characters on win32
refs #19874
(cherry picked from commit 0720cec581ae3cd6228edd8d6567ad5b30910027)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
8 years ago
Rémi Denis-Courmont
477d18c723
Replace config_Get(Data|Lib)Dir() with config_GetSysDir()
8 years ago
Rémi Denis-Courmont
ca621cd7f7
config: rename VLC_DATA_DIR to VLC_USERDATA_DIR
...to avoid confusion going forward. The name matches the VLC Lua name.
8 years ago
Rémi Denis-Courmont
52341c8b3d
config: remove unused config_PutPsz() parameter
8 years ago
Rémi Denis-Courmont
d996d4fe47
config: remove unused config_PutFloat() parameter
8 years ago
Rémi Denis-Courmont
0b87c144e9
config: remove unused config_PutInt() parameter
8 years ago
Rémi Denis-Courmont
3c0909d8a0
config: remove unused config_GetPsz() parameter
8 years ago
Rémi Denis-Courmont
2c384e37cb
config: remove unused config_GetFloat() parameter
8 years ago
Rémi Denis-Courmont
e3f48bb7c3
config: remove unused config_GetInt() parameter
8 years ago
Rémi Denis-Courmont
c624707de2
input item: remove constant stat fields
8 years ago
Rémi Denis-Courmont
8ac0bd4462
input item: remove unused stats members
8 years ago
Rémi Denis-Courmont
cc70e92424
stats: remove the lock
The containing input item lock already must be held while reading or
writing statistics, so this is redundant.
8 years ago
Rémi Denis-Courmont
7bac48bd52
lua: fix race on input_item_t.p_stats
p_stats is written with the input item lock (by the input thread).
Thus the input item lock is necessary to read and dereference p_stats.
8 years ago
Thomas Guillem
17d8bf44c6
httpd: use vlc_alloc helper
9 years ago
Hugo Beauzée-Luyssen
31e424004d
input: Reintroduce subtitle extension check
Fix #18882
9 years ago
Hugo Beauzée-Luyssen
1899d9d420
lua: dialogs: Fix memory leak
9 years ago
Hugo Beauzée-Luyssen
c251c05b4b
lua: dialog: Fix memory leak
9 years ago
Hugo Beauzée-Luyssen
855374961a
lua: libs: input: Fix potential input thread leak
9 years ago
Hugo Beauzée-Luyssen
78afc66c23
lua: libs: input: Allow a subtitle to be added by its mrl
9 years ago
Hugo Beauzée-Luyssen
d46d275d25
lua: libs: input: Allow subtitles to be autoselected
9 years ago
Hugo Beauzée-Luyssen
afc91404e4
lua: Allow the content of a (virtual) directory to be listed
9 years ago
Hugo Beauzée-Luyssen
17b37dd4dd
lua: Expose vlclua_input_item_get to the rest of the lua lib
9 years ago
Hugo Beauzée-Luyssen
7b0aedd306
lua: stream: Use vlc_stream_NewMRL
This way we can open archive, or other path needing a stream extractor
9 years ago
Hugo Beauzée-Luyssen
1083d47af5
Use input_AddSlave instead of input_AddSubtitleOSD
9 years ago
Thomas Guillem
327ecc39de
actions: rename vlc_GetActionId to vlc_actions_get_id
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Thomas Guillem
c0d287e72f
core: rename vlc_keys.h to vlc_actions.h
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Thomas Guillem
324c1770eb
core: rename vlc_action_t to vlc_action_id_t
Since we'll need vlc_actions_t
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Rémi Denis-Courmont
880d0f652e
config_GetType(): remove unused parameter
9 years ago
Rémi Denis-Courmont
578eff50c1
Revert "lua: add decompression stream filter automatically ( fixes #17132 )"
This reverts commit dcd3a45eb4 .
9 years ago
Rémi Denis-Courmont
603cbf291c
Revert "lua: use inflate rather than decomp stream filter"
This reverts commit 268a46a055 .
9 years ago
Francois Cartegnie
7d49b1c033
vlc_vout: channels disambiguation
9 years ago