Commit Graph

80 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 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Dennis Hamester b969133e35 nacl: Implement vlc_getaddr_info_i11e
Similar to other platforms, we simply defer the call to vlc_getaddrinfo;

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2017-03-23 18:53:25 +02:00
Thomas Guillem 2fc667e9d2 Revert "network: Android has vlc_getaddrinfo_i11e"
This reverts commit 32bd30ca34.
2016-11-02 14:09:04 +01:00
Thomas Guillem 32bd30ca34 network: Android has vlc_getaddrinfo_i11e 2016-11-02 10:42:21 +01:00
Rémi Denis-Courmont 1a6dada36a linux: implement vlc_getaddrinfo_i11e() 2016-10-30 22:51:57 +02:00
Rémi Denis-Courmont 02789c40d6 posix: implement vlc_getaddrinfo_i11e() 2016-10-30 22:36:37 +02:00
Rémi Denis-Courmont 10e0eec473 net: add vlc_getaddrinfo_i11e() stub
The function should provide interrupt DNS resolution, so a thread can
abort a DNS query (e.g. if network is down or really slow).

The stub is not interruptible. This makes no difference to the existing
uninterruptible (mis)behaviour.
2016-10-30 22:34:46 +02:00
Steve Lhomme 7ccd1b406b vlc_getaddrinfo: remove unused define
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-05-07 20:37:45 +02:00
Felix Paul Kühne e7273e3a78 Revert "src: fix crash in getaddrinfo due to bugs in the OSX runtime"
This reverts commit db8ff4e3b1.
2013-07-04 19:27:35 +02:00
Felix Paul Kühne db8ff4e3b1 src: fix crash in getaddrinfo due to bugs in the OSX runtime 2013-07-04 18:40:01 +02:00
Rémi Denis-Courmont 42961acae0 vlc_getaddrinfo: do not copy hints
The layout of struct addrinfo is variable (notably because of RFC5014),
so copying hints is brittle.
2012-08-19 16:47:01 +03:00
Rémi Denis-Courmont 7b9e62c257 vlc_getaddrinfo: pass AI_IDN explicitly where applicable 2012-08-19 16:47:01 +03:00
Rémi Denis-Courmont b0b8f4c49d vlc_getaddrinfo: pass AI_NUMERICSERV explicitly where applicable 2012-08-19 16:47:01 +03:00
Rémi Denis-Courmont 16d8d7b790 vlc_getaddrinfo: remove useless parameter 2012-08-19 16:46:57 +03:00
Rémi Denis-Courmont 13bd012152 vlc_getaddrinfo: port is unsigned, 0 means unspecified 2012-08-19 16:23:20 +03:00
Rémi Denis-Courmont bc032f3ca6 posix: drop support for non-UTF-8 operating systems
This patch also removes support for legacy encodings:
 - in taglib, in the non-Windows code paths,
 - in the Internationalized Domain Names resolved (only glibc) and
 - in the GNOME VFS module.

Support for translation from/to UTF-8 was disabled by default 20 months
ago, and scheduled for removal, 14 months ago.
2012-03-19 22:12:44 +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 5ceabdd8d3 Rewrite inet_pton() and inet_ntop() into compat
This should correct error handling cases.
2011-11-03 20:36:17 +02:00
Rémi Denis-Courmont 1d974c62db Nuke manual IP version selection
World IPv6 day was a non-event, establishing that those options are
useless, and so should they.
2011-06-11 22:15:56 +03:00
Rémi Denis-Courmont c56951687d use var_Inherit 2010-11-10 18:41:38 +02:00
Rémi Denis-Courmont 8abe30826a Remove useless freeaddrinfo wrapper 2010-04-28 23:50:08 +03:00
Rémi Denis-Courmont 95a84cda1e Remove getnameinfo and getaddrinfo wrappers
They weren't thread-safe (and did not support IPv6).
2010-04-28 23:48:30 +03:00
Rémi Denis-Courmont a6d927b07a Remove sys/types.h check
We assume it is present in plenty of places anyway
2010-01-16 14:13:50 +02:00
Pierre d'Herbemont c053f4ab75 Revert "network: Remove an unused label."
This reverts commit 663411401 and correctly undefine out: if needed.
2009-08-20 18:49:27 +02:00
Pierre d'Herbemont 663411401d network: Remove an unused label. 2009-08-20 18:38:21 +02:00
Rémi Denis-Courmont 4dcbda16b3 Missing include 2008-11-01 13:24:13 +02:00
Rémi Denis-Courmont d329a269c7 documentation 2008-10-30 23:04:02 +02:00
Rémi Denis-Courmont 5c2490264a Convert host name to locale before IDN is applied 2008-10-30 23:04:02 +02:00
Rémi Denis-Courmont 9b21d97a7f Fix compilation against WinXP (conflicting symbols) 2008-08-13 19:33:04 +03:00
Rémi Denis-Courmont 975c118aeb Simplify free 2008-08-13 19:25:48 +03:00
Rémi Denis-Courmont c345ce53f9 vlc_inet_pton: fix memory leak 2008-08-13 19:09:48 +03:00
Rémi Denis-Courmont e584675c5e vlc_inet_pton: fix return values - fix #1824 2008-08-10 10:42:28 +03:00
Rémi Denis-Courmont aa9562a3a7 Presumptively avoid using getaddrinfo for the Windows 2000 2008-08-09 12:32:15 +03:00
Rémi Denis-Courmont fe1fdaf598 Simplify AI_NUMERICSERV usage 2008-06-01 22:33:27 +03:00
Rémi Denis-Courmont d666030b23 libvlc: use vlc_common.h (libvlccore) instead of vlc/vlc.h 2008-05-31 22:10:28 +03:00
Rémi Denis-Courmont 6d9fde8011 Spelling 2008-05-29 19:34:36 +03:00
Rémi Denis-Courmont c0a2676e7c Do not serialize DNS queries on Win32, that's slooow! 2008-05-28 19:43:21 +03:00
Rémi Denis-Courmont 8b27d7c2ab Fix gai_strerror replacement 2008-05-28 19:43:21 +03:00
Rémi Denis-Courmont e41bccdf88 Simplify, and remove racy IDN code 2008-05-28 18:49:50 +03:00
Rémi Denis-Courmont 1f75e5730e Spare a few relocs 2008-05-27 21:30:50 +03:00
Pierre d'Herbemont 449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rémi Denis-Courmont 99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rafaël Carré 6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont 6c5d6837e4 Fix signedness 2007-09-01 15:47:03 +00:00
Rémi Denis-Courmont e22fb37e1e Bug-to-bug compatibility with Winsock 2007-08-24 16:54:02 +00:00
Rémi Denis-Courmont 3c88562c67 Add some missing items to the getaddrinfo flags whitelist list, and comment 2007-08-24 15:12:31 +00:00
Jean-Paul Saman 9bd5dd03ed Revert [21457] it was completely wrong. 2007-08-24 10:10:34 +00:00
Jean-Paul Saman 41303be0e6 Don't use AI_CANONNAME when no node name is given. 2007-08-24 09:38:07 +00:00
Rémi Denis-Courmont bc29813ae0 Remove dead code (VLC only uses port numbers, not service names ever) 2007-08-12 19:02:51 +00:00