Rémi Denis-Courmont
f7db1e80a3
Introduce VLC_NORETURN function attribute and use it
Note that this attribute implies that the function never returns in
any circumstances (it exits, it aborts or it gets cancelled).
Do not use this attribute for function that do not return at the end
but may return from other branches.
15 years ago
Rémi Denis-Courmont
9fd4a6a6ba
Introduce VLC_GCC_VERSION macro, fix popcount and clz
This can be used as follows:
#if VLC_GCC_VERSION(major,minor)
...
#endif
There is nothing "VLC" about it. The prefix is only about namespacing.
15 years ago
Rémi Denis-Courmont
dedc5a17d1
MKV: compilation with EGCS is not supported anymore
15 years ago
Felix Paul Kühne
9b267f52b2
macosx: cut 1 px from the black effects pngs to suit their gray counterparts
15 years ago
Jean-Baptiste Kempf
c688c805a4
Mosaic: remove unused variable
15 years ago
Felix Paul Kühne
e74b7d93c8
auhal: fixed compilation against the 10.7 SDK
15 years ago
Jean-Baptiste Kempf
7eba73e824
AuHal: try to fix compilation on SDK > 10.5
15 years ago
Jean-Baptiste Kempf
7ed3970b06
MacOS: fix compilation
15 years ago
Felix Paul Kühne
22bc39a7e7
macosx: fix compilation with the 10.5 SDK
15 years ago
Jean-Baptiste Kempf
99ccd64683
Auhal: simplifications
15 years ago
Felix Paul Kühne
cd34d65e9a
macosx: remove the fullscreen button from the main window when running on Lion, since NSWindowFullScreenButton is present in the window title
15 years ago
Rémi Denis-Courmont
6539fba20b
skins2: remove weird stuff and hopefully fix Win32 build
15 years ago
Rémi Denis-Courmont
95e2c6b482
Disable the dangling callback warning for the time being
It might not always be a bug.
15 years ago
Rémi Denis-Courmont
64a3e713d4
Remove vlc_plugin_set from export list
15 years ago
Rémi Denis-Courmont
621a3ed71c
configure: remove flawed V4L2 detection logic
15 years ago
Jean-Baptiste Kempf
6739e224d0
Auhal: remove unnecessary variables
15 years ago
Jean-Baptiste Kempf
4308632c9f
Auhal: code cosmetics and warning
15 years ago
Rémi Denis-Courmont
b9132e4ff8
Qt4: retain newlines in config item long text
15 years ago
Jean-Baptiste Kempf
1d4ad4ac98
Qt: remove unneeded whitespace that blocks normalized signatures
15 years ago
Rémi Denis-Courmont
5886e36b4a
ALSA: update to new audio output interface
* Buffer push straight from input, no more repacketization.
* Support for pause/resume.
* Support for flush (and unused support for drain).
* Larger buffers if available (as with HDA cards).
* Reduced periods count to minimum (they are not normally required).
15 years ago
Rémi Denis-Courmont
c88c8eae20
Define HAVE_V4L2 conditional
There should be more V4L2-based plugins later, e.g. FM RX, FM TX, VOUT.
15 years ago
Rémi Denis-Courmont
d2a613c7b1
Fix OSS input compilation
15 years ago
Rémi Denis-Courmont
99dbc6c18c
Make plugins cache relocatable
The plugins cache now contains plugins file path relative to the base
plugins directory (the directory that contains plugins.dat). The cache
can hence be generated from a different absolute directory than the one
it is later installed to.
For native or emulated native builds, this enables build-time cache
generation.
Note however that the relative paths are different in the build tree
(modules/*/.libs/lib*_plugin.*) and in standard installation
(plugins/*/lib*_plugin.*). The cache cannot be copied from the build
tree to the installation directory.
15 years ago
Rémi Denis-Courmont
9ef30ee80f
Include "modules.h" from libvlc-module.c
This ensures that the vlc_entry__main prototype matches.
15 years ago
Rémi Denis-Courmont
ab7c771361
Use callback and opaque pointer for plugin descriptors
This is more flexible and extensible.
15 years ago
Rémi Denis-Courmont
cf52eed628
Split modules bank stuff from module (non-bank) stuff
15 years ago
Rémi Denis-Courmont
ab8cecd821
Small code factorization
15 years ago
Rémi Denis-Courmont
77a64d9e4f
Inline DeleteModule() and simplify
15 years ago
Rémi Denis-Courmont
c989a61114
Use vlc_module_destroy() instead of DeleteModule() where possible
This avoids going through the linked list of modules. This is fine so
long as the module structure is indeed not in the list.
15 years ago
Rémi Denis-Courmont
d4b0d0c825
Clean up config_Free()
15 years ago
Rémi Denis-Courmont
03cf0f1451
Create primary module from plug-in descriptor and factor code
This should ease later implementation of proper error handling.
15 years ago
Rémi Denis-Courmont
eccbdf8f91
Destroy submodules from vlc_module_destroy()
Again, this should help fix leaks in error paths.
15 years ago
Rémi Denis-Courmont
cefb8d380f
Correct module descriptor indentation (no functional changes)
15 years ago
Rémi Denis-Courmont
f524e307c2
Remove never defined HAVE_DL_DYLD and HAVE_IMAGE_H cases
15 years ago
Rémi Denis-Courmont
7fa090f045
Remove unused HAVE_DL_WINDOWS
15 years ago
Rémi Denis-Courmont
79386146ea
RC: fix parse_MRL prototype: unused parameter and const
15 years ago
Rémi Denis-Courmont
b9af6d1922
RC: unused variable
15 years ago
Felix Paul Kühne
54d6fa0605
vout_macosx: compilation fix for 10.6 and earlier
15 years ago
Jean-Baptiste Kempf
83882abdb0
Qt: use qDeleteAll on VLM dialog
15 years ago
Jean-Baptiste Kempf
b165ab1e6f
Qt: use QWidgetList when applicable
15 years ago
Felix Paul Kühne
1477998d54
macosx: moved compatiblity fixes to a designated header
15 years ago
Jean-Baptiste Kempf
be5f55e576
Qt: use QString iso std::string
15 years ago
Jean-Baptiste Kempf
084f3f4cf0
Qt: use __MIN when applicable
15 years ago
Jean-Baptiste Kempf
80b848f81a
Qt: remove unnecessary header
15 years ago
Jean-Baptiste Kempf
c652822a6c
Qt: use const_iterator when possible
15 years ago
Jean-Baptiste Kempf
de2b1cff9e
Qt: Use append iso push_*
15 years ago
Jean-Baptiste Kempf
0d348f07a8
Qt: use isEmpty() iso empty()
15 years ago
Jean-Baptiste Kempf
c745ebb55a
Qt: use count() iso size() on Qt Containers
15 years ago
Jean-Baptiste Kempf
b7cf7dda07
Qt, menus: std::vector -> QVector
15 years ago
Felix Paul Kühne
cfd14b541f
macosx: don't let the vout resize the window if we are in Lion's fullscreen mode
15 years ago