Commit Graph

124 Commits

Author SHA1 Message Date
Rémi Denis-Courmont c6ed150a01 Bump ABI 2017-04-04 20:07:31 +03:00
Rémi Denis-Courmont 97d669a8c7 Remove ifdefs for GCC version below 4.4
According to INSTALL, we require GCC 4.8 already.
2017-02-25 15:37:38 +02:00
Rémi Denis-Courmont 33f1d268f5 include: fix comments for VLC_CONFIG_VALUE and VLC_CONFIG_RANGE 2016-12-15 22:38:58 +02:00
Rémi Denis-Courmont 65fb4c2216 plugin: match prototypes for callbacks as variable args
Cast was missing, leading to mismatch.
2016-10-27 19:46:09 +03:00
Rémi Denis-Courmont f4277df90b plugin: pass string identifier for callbacks
This would enable identifying unique callback functions within a plugin
even when the plugin is not loaded, and in particular within the
plugins cache file.
2016-10-27 19:46:09 +03:00
Francois Cartegnie aa8683fd2c epg: API changes
EIT structs and Events and should be referenced by their
unique ID.
First step towards in depth changes to epg_t et epg_event_t.
2016-09-15 14:58:37 +02:00
Thomas Guillem fdf0b49a5d add a new type of module: vlc_renderer_discovery
This new type of module will be used to discover renderers (chromecast, UPnP
Renderer, miracast, airport, DIAL, ConeCast).

These modules will send new vlc_renderer_item via an event manager callback.
This new kind of item contain the necessary information to setup a new sout.

Also-by: Steve Lhomme <robux4@videolabs.io>
2016-04-25 10:08:56 +02:00
Jean-Baptiste Kempf 7d4afe09fd Config: Add a resampler category 2016-04-19 13:33:05 +02:00
Rémi Denis-Courmont bc71288b2e include: add enums for colorimetry 2016-04-16 15:53:38 +03:00
Filip Roséen 7abef20e8c include/vlc_plugin.h: fixed problematic linkage on callback argument
The rationale behind this patch is easier to explain with a little bit
of code than in words, but one can summarize it with; "wrong linkage
used for `vlc_set_cb` when `include/vlc_plugin.h` is compiled as C++,
this fixes that".

Explanation
-----------

    extern "C" typedef void(*callback_t)();

    void cpp_func (callback_t);

Above the name `cpp_func` has C++ linkage, and its type is a C++ function
returning `void`, accepting a pointer-to-function-with-C-linkage (returning
`void` and takes no arguments).

    typedef void(*callback_t) ();

    extern "C" int c_func (callback_t);

In this example (matching the code in `include/vlc_plugin.h`), the name `c_func`
has C linkage, and its type is a C function returning `int`, accepting a
pointer-to-function-with-C++-linkage (that returns `void` and takes no
arguments).

Conclusion
----------

Since `vlc_entry_*` will be called from C, the first parameter when invoked will
be a pointer to function with C linkage---as such this patch fixes the
previously erroneous linkage.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2016-02-23 04:21:04 +02:00
Rémi Denis-Courmont 695a6ba58b plugin: add separate category for video splitters (fixes #9967) 2015-10-25 22:29:11 +02:00
Rémi Denis-Courmont b6eddb7861 include: fix out-of-tree plugins w/o complete meta infos 2015-10-06 17:56:23 +03:00
Rémi Denis-Courmont f4293e7462 dshow: remove dead code 2015-06-04 20:08:05 +03:00
Rémi Denis-Courmont 56220f8612 vlc_plugin: fix non-LGPL plugins meta infos 2015-03-21 14:18:20 +02:00
Rémi Denis-Courmont 237ccdea59 vlc_plugin: allow overriding module meta-infos 2015-03-21 13:53:34 +02:00
Rémi Denis-Courmont f5f971a56d Bump plugin ABI 2014-08-17 10:32:19 +03:00
Rafaël Carré 99baabc33e bump plugin ABI 2014-02-10 15:28:40 +01:00
Rémi Denis-Courmont 7b226da6ce plugin: remove non-existent subcategory hint items type 2013-10-25 22:32:50 +03:00
Rémi Denis-Courmont 99d6ce3b7e libvlccore: bump plugin interface version 2013-07-07 21:11:59 +03:00
Rémi Denis-Courmont 46d374939d Update meta data 2013-07-07 12:16:01 +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
Rémi Denis-Courmont af76a67dd5 Remove dead subcategories 2012-10-19 22:29:27 +03:00
Rémi Denis-Courmont 5192952f17 Remove SUBCAT_VIDEO_VFILTER2 2012-10-19 22:16:58 +03:00
Rémi Denis-Courmont 8629a3fed7 config: add integer list callbacks for config items 2012-09-15 10:30:48 +03:00
Rémi Denis-Courmont fa51c9939b Fix comment for VLC_CONFIG_LIST_CB 2012-09-06 19:26:51 +03:00
Rémi Denis-Courmont 04e363a945 plugin: use separate description command for lists and list callbacks 2012-08-20 00:07:11 +03:00
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.
2012-08-20 00:07:11 +03:00
Rémi Denis-Courmont ca923dceb2 Separate string list and string list callback
The configuration system cannot store both a static list and a dynamic
one (and AFAIK, it never could). It only makes to use either a static
list or a callback.
2012-08-15 10:50:48 +03:00
Rémi Denis-Courmont e0d44caab7 Move configuration defines to <vlc_plugin.h>
They are mostly used by plugin descriptors.
2012-03-20 21:21:43 +02:00
Rémi Denis-Courmont 52fb73b3c1 Reset plugin ABI version for 2.1.x 2012-02-09 19:19:33 +02:00
Jean-Baptiste Kempf c901035a94 Bump plugin version to small ABI changes in decoder_t 2012-01-11 15:41:50 +01:00
Jean-Baptiste Kempf 36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont f2ec9d3eb8 Bump plugin version before 1.2.0-pre2 due to minor ABI changes 2011-11-25 23:25:03 +02:00
Rémi Denis-Courmont 78231daf49 Remove unfunctional add_deprecated_alias() 2011-10-02 15:28:57 +03:00
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.
2011-08-17 18:21:32 +03:00
Rémi Denis-Courmont ab7c771361 Use callback and opaque pointer for plugin descriptors
This is more flexible and extensible.
2011-08-16 19:17:18 +03:00
Rémi Denis-Courmont 03cf0f1451 Create primary module from plug-in descriptor and factor code
This should ease later implementation of proper error handling.
2011-08-16 19:17:17 +03:00
Rémi Denis-Courmont cefb8d380f Correct module descriptor indentation (no functional changes) 2011-08-16 19:17:17 +03:00
Rémi Denis-Courmont 4fc0e980e7 Add integer config item type for RGB values 2011-06-29 23:39:31 +03:00
Rémi Denis-Courmont 231b08e802 Remove dummy plugin config item parameter 2011-05-13 23:20:55 +03:00
Rémi Denis-Courmont 420f73d87f Bump plugin ABI 2011-05-11 19:41:57 +03:00
Rémi Denis-Courmont cfad8dc27d Remove write-only change_need_restart() 2011-05-11 18:29:10 +03:00
Rémi Denis-Courmont d95990dc0c Mark exported symbols with default visibility on GCC 4 2011-05-07 19:14:44 +03:00
Rémi Denis-Courmont 6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Rémi Denis-Courmont 2792431ae3 Automatically save all configuration items 2011-04-30 20:42:19 +03:00
Rémi Denis-Courmont dae71aacc1 Change key items to string type
The configuration is simplified a bit.
Multiple keys per action will be easier to add.

N.B.: this commit breaks global hotkeys setup and hotkey prefs
2011-02-10 22:49:28 +02:00
Rémi Denis-Courmont 231453d40a Changing a global hotkey requires restart 2011-01-24 23:02:08 +02:00
Rémi Denis-Courmont cb91467d92 Bump plugin ABI due to XML changes 2011-01-22 23:04:49 +02:00
Rémi Denis-Courmont 9e7cfdd896 add_key: declare the global key first 2010-12-05 05:37:31 +02:00
Rémi Denis-Courmont acfecaeadf Do not implicitly define MODULE_NAME
We want compilation to fail if this is missing.
2010-11-06 12:52:12 +02:00