1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

5741 Commits

Author SHA1 Message Date
Francois Cartegnie
8aef60e48e vlc_charset: add VLC_ICONV_ERR 2016-01-24 01:23:39 +01:00
Steve Lhomme
98b2285f20 vlc_bits: fix a bad cast when included from C++
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-01-20 09:39:46 +01:00
Thomas Guillem
c512b8114c dialog: add dialog_vaLogin (see #16404) 2016-01-18 16:11:05 +01:00
Thomas Guillem
7e421dca04 dialog: fix dialog_Login macro (see #16404)
It was not well updated when new arguments were added.
2016-01-18 16:10:56 +01:00
Thomas Guillem
06b23fcb28 dialog: add a default username for dialog_Login 2016-01-14 17:15:10 +01:00
Rémi Denis-Courmont
2c1bb0b798 tls: accept abstract transport layer stream for client sessions
Instead of a socket file descriptor, client sessions are now run on
top of an abstract I/O stream. This enables e.g. TLS over TLS, which
would be required for HTTPS through HTTPS proxy.
2016-01-13 21:53:58 +02:00
Rémi Denis-Courmont
32c3a6039c tls: split server-specific session creation function...
...from common code. And document.
2016-01-13 19:16:22 +02:00
Rémi Denis-Courmont
6f79b0b0a6 tls: fix documentation to match reality
Anonymous key exchange is not supported currently.
2016-01-13 19:04:58 +02:00
Rémi Denis-Courmont
cff5a80877 tls: provide an abstract transport layer to TLS plug-ins
This (partially) enables running TLS over something else than a plain
TCP socket file descriptor.
2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
51b1df72b3 tls: rename dummy socket functions 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
79f332e2d8 tls: replace fd with get_fd callback 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
2f5e439929 tls: use I/O vector for receiving 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
3f72fbddb7 compat: replace recvmsg() 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
96868b6951 tls: use I/O vector for sending 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
95ba2e83f1 compat: replace sendmsg() 2016-01-13 18:53:33 +02:00
Thomas Guillem
64ae53f4ee keystore: factor vlc_keystore_release_entry 2016-01-12 11:55:07 +01:00
Thomas Guillem
fefa2c56a4 credential: store returns true if creds come from the keystore 2016-01-12 09:56:35 +01:00
Rémi Denis-Courmont
9d02c991ab src: add vlc_socketpair() helper
(works like vlc_socket())
2016-01-10 20:48:01 +02:00
Rémi Denis-Courmont
136b658538 tls: add module test 2016-01-09 20:56:05 +02:00
Rémi Denis-Courmont
c5369f0319 misc: remove unused mstrtime() 2016-01-09 15:35:10 +02:00
Thomas Guillem
0619fa9234 dialog: add store var in dialog_Login
If set to true, then the user asked to store the password.
2016-01-07 20:08:51 +01:00
Thomas Guillem
8d49d1cd23 add vlc_credential API 2016-01-07 20:08:50 +01:00
Thomas Guillem
f3c02b5419 add vlc_keystore API 2016-01-07 20:08:50 +01:00
Francois Cartegnie
c064a7f712 block_helper: add startcode helper callback 2016-01-05 19:14:33 +01:00
Francois Cartegnie
bffe61d55f fix overflowing shifts (cid #1346922, cid #1253066) 2016-01-01 21:35:27 +01:00
Steve Lhomme
aa505e2cc6 stream_output: handle Flushing via sout_MuxFlush()
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Steve Lhomme
ecacf6f0dd stream_output: add sout_InputFlush()
when seeking during stream output we need to be able to flush internal buffers

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Steve Lhomme
d3db4b7fd3 stream_output: query the stream output to know when the decoder is really empty
similar to vout_IsEmpty() for stream output

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Sean McGovern
d18cfbfec0 core: do not export vlc_tdestroy()
It was mistakenly added in 315f8e47d9.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-12-21 23:47:34 +02:00
Thomas Guillem
71c9693f42 vlc_codec: document pf_decoder_* and pf_packetize 2015-12-21 15:52:06 +01:00
Thomas Guillem
99f74096d5 decoder: add decoder_AbortPictures 2015-12-21 15:50:24 +01:00
Thomas Guillem
7ae04107e0 picture_pool: change picture_pool_Cancel arguments
Add a boolean to reset the cancel state to false.
2015-12-21 15:50:24 +01:00
Felix Paul Kühne
a527e9d086 libvlc: replace existing title menu bool with int bit mask 2015-12-21 11:03:00 +01:00
Rémi Denis-Courmont
09854f8c5d tls: improve vlc_tls_(Read|Write) return type 2015-12-21 00:00:40 +02:00
Rémi Denis-Courmont
10de5cffda tls: improve documentation 2015-12-20 23:58:57 +02:00
Rémi Denis-Courmont
3b6bb8ae54 tls: add separate callback for shutdown 2015-12-20 23:58:55 +02:00
Rémi Denis-Courmont
714b4749d0 demux: add demux_IsContentType() helper (refs #14576) 2015-12-20 19:38:47 +02:00
Francois Cartegnie
e047c398d7 vlc_bits: add bs_aligned 2015-12-20 16:45:44 +01:00
Rémi Denis-Courmont
6c76c9baaa http cookies: take explicit secure flag, host and path
There is no need for a full URL structure here, and it is sometimes
inconvenient to require one.
2015-12-19 16:52:03 +02:00
Rémi Denis-Courmont
8fa6f55c1a tls: add vlc_tls_Close() helper
In most cases... actually in all cases that I know of, the TCP
connection underneath the TLS session is closed at the same time.
2015-12-18 23:06:45 +02:00
Rémi Denis-Courmont
0ac1b96be0 tls: document vlc_tls_SessionDelete() 2015-12-18 23:06:45 +02:00
Rémi Denis-Courmont
30d18b6a05 tls: add vlc_tls_DummyCreate() 2015-12-18 22:07:31 +02:00
Rémi Denis-Courmont
754c3ef09a tls: vlc_tls_t needs not be a VLC object 2015-12-18 22:07:31 +02:00
Rémi Denis-Courmont
f48b0f3fee tls: pass credentials pointer to handshake function 2015-12-18 22:07:31 +02:00
Steve Lhomme
c2cd03e210 fix code spacing in vlc_sout.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-12-18 11:52:32 +01:00
Francois Cartegnie
f42374732c vlc_bits: add pf_forward
will allow to modify/convert upstream
2015-12-17 15:39:21 +01:00
Zhao Zhili
bb931e1416 vlc_input: check malloc return
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-12-16 20:23:15 +02:00
Rémi Denis-Courmont
dc1b41f114 tls: make session independent of credentials 2015-12-16 19:33:52 +02:00
Rémi Denis-Courmont
4b2909cad5 tls: move close callback from credentials to session 2015-12-16 19:33:52 +02:00
Rémi Denis-Courmont
d3c0569cd2 tls: remove virtual_socket_t and clean send/recv prototypes up 2015-12-16 19:33:52 +02:00