Commit Graph

59 Commits

Author SHA1 Message Date
Rémi Denis-Courmont cc129a71d7 Remove old mail address from sources 2019-09-04 22:11:04 +03:00
Steve Lhomme 16040ccb7a do not use tchar.h in VLC
We don't include tchar.h anymore, nor TCHAR, nor the *tcs* APIs. Using any of
these will fail to compile if tchar.h is not included. In MinGW it's never
included through other headers.

We don't need _UNICODE either which is specific to tchar.h.
2019-04-03 10:28:50 +02:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Marvin Scholz f4b5726854 include/vlc_charset: Add FromCFString for darwin
This is a helper function to obtain the copy of a char* from a
CFStringRef.
2018-10-20 19:42:10 +02:00
Rémi Denis-Courmont 39077be1b9 ftp: publicize IsASCII() helper
Also document and avoid sign overflow (on platforms where char is
unsigned).
2018-07-07 11:32:12 +03:00
Francois Cartegnie 8aef60e48e vlc_charset: add VLC_ICONV_ERR 2016-01-24 01:23:39 +01:00
Rémi Denis-Courmont 7b331c5407 Inline IsUTF8() and EnsureUTF8() 2015-11-29 15:13:54 +02:00
Rémi Denis-Courmont 89f83434a3 Export vlc_towc() 2015-11-29 15:13:54 +02:00
Petri Hintukainen d9a8f8cd91 Fix leak in error path
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-11-25 23:17:26 +01: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
KO Myung-Hun d9d51ffaab Implement filesystem.c and plugin.c for OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2012-05-11 17:49:09 +03:00
Rémi Denis-Courmont 4e650a6fc4 Typo 2012-03-22 19:15:39 +02:00
Rémi Denis-Courmont a5fded6e08 Win32: add FromANSI / ToANSI and use them 2012-03-22 18:55:31 +02:00
Rémi Denis-Courmont 2f457682ba Win32: add ToCodePage() and FromCodePage() 2012-03-22 18:55:31 +02:00
Rémi Denis-Courmont 09814f3e8b Remove excessive const 2012-03-19 23:06:32 +02:00
Rémi Denis-Courmont 06af246c3c Pure C++ joy 2012-03-19 23:01:34 +02:00
Rémi Denis-Courmont 5ed05632b7 Remove stray function declarations 2012-03-19 22:44:26 +02:00
Rémi Denis-Courmont 2abddadedd Remove --disable-non-utf8 2012-03-19 22:20:16 +02:00
Rémi Denis-Courmont 20d2928ec3 Win32: define FromT/ToT to convert between UTF-8 and TCHAR 2012-01-28 17:14:55 +02:00
Pere Orga 9abcaacf83 fix filename self-references
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-12-15 17:09:31 +02: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 92f1b3aee7 Rename LIBVLC_* function attributes to VLC_* within plugin API 2011-05-07 23:08:28 +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
Pierre Ynard 5d3ffa0e96 Add us_vasprintf() function
For use within already variadic functions
2011-01-12 19:33:19 +01:00
Rémi Denis-Courmont f8471e1db4 Add ToCharset() helper to convert from UTF-8 2010-10-26 20:58:55 +03:00
Rémi Denis-Courmont e50e29c750 Move vlc_iconv* to <vlc_charset.h> 2010-10-26 20:12:07 +03:00
Rémi Denis-Courmont 027cc99e4f Add vlc_strcasestr() 2010-10-08 21:44:15 +03:00
Rémi Denis-Courmont e6295d4587 Win32: ToWide() converts UTF-8 to UTF-16 2010-07-22 19:53:21 +03:00
Rémi Denis-Courmont d601e4ed29 Split file path functions out of vlc_charset.h into vlc_fs.h 2010-02-07 15:19:37 +02:00
Rémi Denis-Courmont f563f5064d Remove GetFallbackEncoding() 2010-01-30 21:02:38 +02:00
Laurent Aimar 599c47de9d Added FromCharset helper.
It allows to easily convert from any charset supported by
vlc_iconv to UTF-8 (but with a performance penalty).
2010-01-25 23:10:11 +01:00
Rémi Denis-Courmont aee0317592 utf8_open: make third parameter optional 2009-08-15 21:21:44 +03:00
Rémi Denis-Courmont 353cd0a004 Implement utf8_rename 2009-05-07 19:11:15 +03:00
Cyril Mathé 7158759483 Add a us_strtof function to prevent some problem
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2009-04-17 20:42:29 +03:00
Rémi Denis-Courmont 01b080ab11 C++-proofing 2008-12-16 20:12:00 +02:00
Rémi Denis-Courmont c25958fb76 FromLatin1: converts from ISO-8859-1 to UTF-8 2008-12-16 19:58:10 +02:00
Michael Hanselmann 3df9e79877 Add us_asprintf function
us_asprintf() has the same prototype as asprintf(), but doesn't use
the system locale.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
2008-12-02 19:03:57 +02:00
Laurent Aimar c7a41e0c0d Added a utf8_mkstemp implementation. 2008-11-18 00:05:49 +01:00
Geoffroy Couprie e53c94ea14 WinCE: cleaning my header inclusion mess 2008-09-29 18:52:20 +02:00
Rémi Denis-Courmont cf270dd3c0 Tag some APIs as LIBVLC_USED 2008-09-06 11:30:44 +03:00
Rémi Denis-Courmont a06aeb0a48 Memory error handling 2008-08-24 21:18:10 +03:00
Jean-Paul Saman ebd800345f Add a bunch of \file doxygen comments 2008-08-13 22:22:58 +08:00
Rémi Denis-Courmont c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Rémi Denis-Courmont fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Rémi Denis-Courmont 9d85c35d50 Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297 2008-05-26 19:58:57 +03:00
Rémi Denis-Courmont 0b3174ed6e vlc_current_charset: declare internally 2008-05-24 10:56:20 +03:00
Rémi Denis-Courmont 7d1d75f350 vlc_fix_readdir: declare internally 2008-05-24 10:55:10 +03:00
Rémi Denis-Courmont 71f0e10dee Remove unused i18n_atof 2008-05-21 21:59:16 +03:00
Rémi Denis-Courmont 6bc9799c8a Remove i18n_strtod - nobody uses it and it's an ugly hack 2008-05-21 21:05:11 +03:00
Rémi Denis-Courmont 0fd1b74705 Export ToLocaleDup 2008-04-30 20:05:28 +03:00