Lyndon Brown
0db3096825
config: move struct to where it belongs
it is used only to define the structure of `categories_array` which
lives in `vlc_config_cat.h`; it belongs next to that.
7 years ago
Rémi Denis-Courmont
4bb1836472
config: privatise the owner field and make it type-safe
5 years ago
Rémi Denis-Courmont
eac961bf12
config: privatise the obsolete flag
5 years ago
Rémi Denis-Courmont
c83869fb9a
config: privatise the safe flag
5 years ago
Rémi Denis-Courmont
0fad216199
config: privatise the internal flag
5 years ago
Rémi Denis-Courmont
489ab08930
config: privatise short name
Note that this now uses `unsigned char` rather than `char`, consistent
with the expectation for the `%c` format string specifier. This also
avoids using a signed value to index an array.
5 years ago
Lyndon Brown
41cb5c37a2
config: clarify documentation
7 years ago
Lyndon Brown
c46c35ceb3
config: correction
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
7 years ago
Maxime Meissonnier
7f66f0020a
config: constify config chain in config_ChainParse
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Rémi Denis-Courmont
d83f26f671
plugin: remove dead enum callback code
7 years ago
Rémi Denis-Courmont
2deb291381
configuration: fix typo
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Rémi Denis-Courmont
6a7a137f7b
config: remove advanced flag
Except for the command line help, this has been unused for a decade or
so.
8 years ago
Rémi Denis-Courmont
a5069565c2
config: add localedir
8 years ago
Rémi Denis-Courmont
5ad4800563
posix: add libdir, libexecdir and pkglibexecdir
8 years ago
Rémi Denis-Courmont
f8c596db7a
posix: add VLC_SYSDATA_DIR for datadir
8 years ago
Rémi Denis-Courmont
1beb944fff
config: unexport config_Get(Data|Lib)Dir()
8 years ago
Rémi Denis-Courmont
5acf932211
config: add more generic config_GetSysDir()
A quick survey of used installation directories yields those:
datadir, libdir, localedir, pkgdatadir, pkglibdir, pkglibexecdir.
The current pair of functions is up to the requirements. This provides
a more generic function prototype, similar to what is done for user
directories.
Refs #19748 , #19894 .
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
1151b5c914
config: remove unused config_ResetAll() parameter
8 years ago
Rémi Denis-Courmont
5236be05c4
config: fix config_GetPszChoices() Doxygen
8 years ago
Rémi Denis-Courmont
05f7d6b62c
config: remove useless config_GetPszChoices() parameter
8 years ago
Rémi Denis-Courmont
aa4c562362
config: remove useless parameter from string list callback
8 years ago
Rémi Denis-Courmont
6f56af62f0
config: fix config_GetIntChoices() Doxygen
8 years ago
Rémi Denis-Courmont
1f1a212b85
config: remove useless config_GetIntChoices() parameter
8 years ago
Rémi Denis-Courmont
b52de6c530
config: remove useless parameter from integer list callback
8 years ago
Rémi Denis-Courmont
8915c3d6ec
config: remove unused config_ExistIntf() parameter
8 years ago
Rémi Denis-Courmont
9f4e45f9bf
config: remove unused config_(Add|Remove)Intf() parameter
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
6bc0579d84
config: fix config_GetInt() Doxygen
8 years ago
Rémi Denis-Courmont
e3f48bb7c3
config: remove unused config_GetInt() parameter
8 years ago
Rémi Denis-Courmont
a797cb2683
configuration: clean up and doxify documentation
8 years ago
Rémi Denis-Courmont
69b5b5dfdd
include: document config_Get(Data|Lib)Dir()
8 years ago
Rémi Denis-Courmont
880d0f652e
config_GetType(): remove unused parameter
9 years ago
Rémi Denis-Courmont
472819f6b8
config_FindConfig(): remove unused parameter
9 years ago
Rémi Denis-Courmont
081595ac3c
modules: load plugins for choice list on need basis
So far, they were loaded at start-up even if there was no request to
enumerate the choices.
10 years ago
Rémi Denis-Courmont
488c931031
module: store callback names rather than address
Storing a relocatable pointer in the plugins cache made little sense.
In practice, it was only usable for comparison with NULL.
10 years ago
Rémi Denis-Courmont
55835f108e
cache: do not copy integer tables
10 years ago
Rémi Denis-Courmont
c35b96983f
modules: do not copy strings
Strings are either string literals, or contained in the memory mapped
caches. Either way, there is no needs to allocate memory and copy them.
10 years ago
Rémi Denis-Courmont
f71b33de23
modules: do not use non-portable union to store item flags in cache
Pointed-out-by: Mario Speiß <1034-135@online.de>
13 years ago
Rafaël Carré
3902c186fb
Remove unused config_GetConfDir
14 years ago
Rémi Denis-Courmont
8629a3fed7
config: add integer list callbacks for config items
14 years ago
KO Myung-Hun
7c5514122d
OS/2: Include sys/types.h in vlc_configuration.h
This fixes the following error.
-----
make.exe[1]: Entering directory `F:/lang/work/vlc/vlc.git/modules/demux/mkv'
CXX libmkv_plugin_la-virtual_segment.lo
In file included from ../../../include/vlc_common.h:938,
from mkv.hpp:45,
from demux.hpp:28,
from virtual_segment.cpp:27:
../../../include/vlc_configuration.h:104: error: 'ssize_t' does not name a type
../../../include/vlc_configuration.h:106: error: 'ssize_t' does not name a type
In file included from mkv.hpp:53,
from demux.hpp:28,
from virtual_segment.cpp:27:
../../../include/vlc_charset.h:153: warning: 'warn_unused_result' attribute ignored
make.exe[1]: *** [libmkv_plugin_la-virtual_segment.lo] Error 1
make.exe[1]: Leaving directory `F:/lang/work/vlc/vlc.git/modules/demux/mkv'
make.exe: *** [all] Error 2
-----
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Rémi Denis-Courmont
d53bf1b3f1
Repack module_config_t
Also do not save garbage, especially pointers, in the plugin cache.
14 years ago
Rémi Denis-Courmont
acc457d1f0
config: improve/fix the callback prototype for config item choices
14 years ago
Rémi Denis-Courmont
b8a57f9695
Remove configuration item actions for now
This hinders the following commits. This was only used in a single
plugin on a single platform, and was poorly designed.
14 years ago