Rémi Denis-Courmont
cc129a71d7
Remove old mail address from sources
2019-09-04 22:11:04 +03:00
Rémi Denis-Courmont
0c1bc25978
file: remove useless seek callback
2019-06-19 21:26:36 +03:00
Thomas Guillem
ee4afd6821
remove unused #include <vlc_input.h>
2019-06-03 16:15:55 +02:00
Steve Lhomme
5363279805
remove the $Id$ in the source code
2019-01-17 12:21:18 +01:00
Steve Lhomme
26fef56c52
core: make DEMUX/STREAM_GET_PTS_DELAY officially a vlc_tick_t
2018-07-06 10:48:19 +02:00
Steve Lhomme
416913eb01
modules: the "file-caching" is always translated to a vlc_tick_t
2018-07-06 09:57:46 +02:00
Steve Lhomme
f8872ec589
modules: the "network-caching" is always translated to a vlc_tick_t
2018-07-06 09:53:20 +02:00
Romain Vimont
ff2901aff3
core: remove global *_sys_t typedefs
...
Do not declare *_sys_t typedefs globally in vlc_common.h. Instead,
declare them locally in each module that provides a definition.
This paves the way to move C++ definitions into anonymous namespaces in
order to respect C++ ODR.
The picture_resource_t and sout_stream_id_sys_t typedefs will be handled
separately, since they require specific additional changes.
See #18033
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-04-30 14:20:50 +02:00
Rémi Denis-Courmont
bf51e08802
objres: restore malloc() wrapper
...
Regression from cf4676c1e8
.
2017-11-28 18:54:06 +02:00
Thomas Guillem
cf4676c1e8
core: rename vlc_*alloc to vlc_obj_*alloc
...
In order to avoid confusion with future vlc_alloc.
2017-11-11 17:20:34 +01:00
Thomas Guillem
8aeb66fe63
access: file: don't display error dialogs
...
A general error dialog is already displayed by the core in input.c (see "Your
input can't be opened") in case of error.
2017-09-19 15:58:28 +02:00
Rémi Denis-Courmont
e4ba64d291
Remove access_t
2017-07-23 08:55:40 +03:00
Rémi Denis-Courmont
740dd861a4
access: allocate p_sys vlc_malloc/vlc_calloc
2017-06-19 22:48:08 +03:00
Rémi Denis-Courmont
f488a9d89a
file: remove redundant casts
2017-04-19 20:46:56 +03:00
Rémi Denis-Courmont
6e1ace8a75
access: make access_t.p_sys void * (refs #17078 )
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
4489a0487e
access: rename access_t.psz_access to psz_name
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
3e01621dc6
access: remove ACCESS controls, use STREAM
...
They have been identical for a while.
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
da458bc49c
access: info.b_eof is always false during probe
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
de280a5d11
access: set EOF implicitly when read returns 0
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
616a010c7f
access: reset EOF implicitly on succesful seek
2016-07-21 19:59:24 +03:00
Rémi Denis-Courmont
cc6267ceb5
access: use void pointer for pf_read callback
...
This matches the stream_t.pf_read convention.
2016-07-20 22:54:50 +03:00
Rémi Denis-Courmont
8f2e1e57cf
Use vlc_close()
2016-04-22 00:11:43 +03:00
Thomas Guillem
183d5cda47
dialog: use new API
2016-02-04 15:03:58 +01:00
Rémi Denis-Courmont
6f15ed5213
Namespace/rename vlc URI decode/encode functions
2015-11-29 15:13:54 +02:00
Rémi Denis-Courmont
c0660ee36b
file: restore file descriptor support ( fixes #14897 )
2015-11-01 23:04:43 +02:00
Rémi Denis-Courmont
fbf85e3da7
access: remove write-only info.i_pos usage
2015-09-02 20:10:35 +03:00
Rémi Denis-Courmont
b1fa066415
file: file size field is only valid for regular files
2015-08-31 23:03:03 +03:00
Rémi Denis-Courmont
0dd144fceb
file: remove write-only size
2015-08-31 23:03:00 +03:00
Rémi Denis-Courmont
18da36de59
file: fix typo
2015-08-22 12:08:34 +03:00
Rémi Denis-Courmont
9f873743ec
access: ACCESS_GET_SIZE return an error if size is unknown
2015-07-24 16:09:50 +03:00
Rémi Denis-Courmont
9d669888ab
file: use vlc_read_i11e() and simplify
2015-07-01 19:17:53 +03:00
Thomas Guillem
21a146d2cc
file: use fdopendir to open a dir from a fd
2015-06-16 14:40:28 +02:00
Thomas Guillem
b9704c0b3c
file: fix fd leak when opening a directory
2015-06-16 13:18:28 +02:00
Rémi Denis-Courmont
b2b0b66332
file: stray error message
2015-06-06 18:29:22 +03:00
Thomas Guillem
353f77fc40
access/directory: remove recursive code
...
Recursive parsing is not handled anymore by accesses.
2015-05-20 16:07:32 +02:00
Rémi Denis-Courmont
c0cdab15a4
Remove no longer used net_Read() argument
2015-05-12 22:25:11 +03:00
Rémi Denis-Courmont
80d88b05f2
Mark unreachable code on GCC even if NDEBUG
...
This might suppress some warnings (and very slightly reduce code size)
when assertions are disabled. Not that I particularly like to create
VLC-specific macros.
2015-02-18 17:52:52 +02:00
Rémi Denis-Courmont
b07af9f473
file: pass error from lseek()
2014-08-18 20:58:57 +03:00
Felix Paul Kühne
b8b8c438f8
access/file: don't read-ahead when processing remote contents ( closes #9885 , refs #8446 )
...
OS X Mavericks takes read-ahead very seriously when accessing SMB drives, so it caches up to a 100 MB. However, when the end of said cache is reached, VLC will stutter because the file system needs to re-connect to the server first. Disabling read-ahead leads to a continous data flow at the media's bitrate.
This solves a regression introduced in fe0a075ef3
2014-04-27 16:22:58 +02:00
Rémi Denis-Courmont
a059cf56c9
file: use vlc_strerror()
...
This fixes "%m" in error dialogs on non-GNU platforms.
2013-12-29 15:36:02 +02:00
Rémi Denis-Courmont
26b2eff7cf
access: simplify control default case, remove dummy warnings
2013-08-26 20:05:05 +03:00
Rémi Denis-Courmont
522dbd1b96
file: update size whenever it is requested
2013-08-25 12:44:17 +03:00
Rémi Denis-Courmont
8f8ff66973
access: info.i_size -> control(ACCESS_GET_SIZE)
2013-07-21 16:15:17 +03:00
Rafaël Carré
6d53362001
Use _WIN32 rather than WIN32 (same for WIN64)
...
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
2013-06-05 16:06:10 +02:00
Rafaël Carré
2f1ba54e0a
Remove broken setting of WINAPI_FAMILY_APP
...
The define to set would be WINAPI_FAMILY, and it is set by default already.
We should not set it though, as it would prevent us from using forbidden APIs (e.g. winsock).
Close #8410
2013-04-22 07:51:01 +02:00
Rafaël Carré
38499f29ee
file access: don't use PathIsNetworkPath in store app
2013-04-20 20:31:04 +02:00
Rémi Denis-Courmont
1ed365b843
input: remove INPUT_FSTAT_NB_READS
...
This was only used for INPUT_UPDATE_SIZE.
2013-04-17 23:22:59 +03:00
Rémi Denis-Courmont
2e42f02431
input: remove write-only INPUT_UPDATE_SIZE
2013-04-17 23:15:55 +03:00
Rémi Denis-Courmont
fe0a075ef3
file: do not turn off caching on BSD ( fixes #8446 )
...
Turning off the cache makes no sense here, especially right after
enabling reading ahead (which intrisically means caching).
2013-04-16 18:34:55 +03:00
Rémi Denis-Courmont
24ab3b20fb
file: fix punctuation
2013-04-01 17:49:22 +03:00