Commit Graph

40 Commits

Author SHA1 Message Date
Rémi Denis-Courmont cc129a71d7 Remove old mail address from sources 2019-09-04 22:11:04 +03:00
Rémi Denis-Courmont 194793637a win32: mute unused argument warnings 2019-04-14 10:04:37 +03:00
Steve Lhomme 2f7271eaff modules: use WCHAR when calling wide char Win32 APIs 2019-04-03 10:28:49 +02:00
Hugo Beauzée-Luyssen c7ec19ff81 win32: filesystem: Drop unused macro 2018-10-01 13:16:31 +02:00
Steve Lhomme e7ae183c7d win32: filesystem: transform UNIX permissions into Windows flags for _wopen()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-10-17 18:25:46 +02:00
Rémi Denis-Courmont 582355f965 src: add vlc_close() wrapper 2016-04-22 00:11:34 +03:00
Hugo Beauzée-Luyssen 5cb5072cd9 win32: fs: Don't use getcwd on winrt
getcwd functions are not allowed by WinRT
2016-04-11 10:12:20 +02:00
Rémi Denis-Courmont 9d02c991ab src: add vlc_socketpair() helper
(works like vlc_socket())
2016-01-10 20:48:01 +02:00
Rémi Denis-Courmont ab29a4598b filesystem: add vlc_memfd() helper 2015-08-24 20:48:17 +03:00
Rémi Denis-Courmont 4a9766d288 filesystem: constify vlc_readdir() 2015-08-24 20:48:16 +03:00
Rémi Denis-Courmont d89c419507 src: add vlc_write() and vlc_writev() helpers against SIGPIPE
We would rather not terminate the whole VLC process in case of a
broken pipe or remotely closed TCP connection.
2015-06-03 20:21:15 +03:00
Hannes Domani 3ca2ce1e87 Win32: fix uninitialised variable and double free in drive letters mode
Close #14140

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-03-14 11:30:33 +01:00
Jean-Baptiste Kempf 8c3b357eea Win32: disable tmpfile() on WinRT 2015-02-25 16:39:21 +01:00
Jean-Baptiste Kempf 3f08049ef7 Win32: reimplement tmpfile()
Because tmpfile() cannot be used if not admin on the machine on
Windows...

Close #13642
2015-02-16 20:26:27 +01:00
Rémi Denis-Courmont ee0b9164f9 vlc_readdir: remove string duplication, simplify 2014-01-27 18:56:15 +02:00
Felix Abecassis 4277191131 Add missing include in order to provide a declaration of _pipe under MSVC.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-11-30 21:16:46 +01:00
Jean-Baptiste Kempf 580355951d WinRT: do not use GetLogicalDrives 2013-08-16 11:51:44 +02:00
Jean-Baptiste Kempf 6ada7e011a Win32: More comments to avoid removal :) 2013-08-16 11:06:52 +02:00
Jean-Baptiste Kempf 5d7ac19898 Revert "win32 opendir: remove broken and obsolete special mode"
This reverts commit 5bb66d739c.
2013-08-16 10:59:17 +02:00
Rafaël Carré 2f1ba54e0a Remove broken setting of WINAPI_FAMILY_APP
The define to set would be WINAPI_FAMILY, and it is set by default already.
We should not set it though, as it would prevent us from using forbidden APIs (e.g. winsock).

Close #8410
2013-04-22 07:51:01 +02:00
Jean-Baptiste Kempf 503b1ff71b Fail when calling vlc_pipe in Windows Store App mode 2013-03-25 17:54:16 +01:00
Rafaël Carré 5bb66d739c win32 opendir: remove broken and obsolete special mode 2013-01-25 17:00:08 +01:00
Rémi Denis-Courmont b219b3382d Win32: fix open mode signedness 2012-09-21 10:19:02 +03:00
Rémi Denis-Courmont b616a49004 Win32: set close-on-exec where applicable
It's called O_NOINHERIT, but it really is the same as O_CLOEXEC.
As with POSIX, there is no way to set it for dup()/dup2() though.
2012-09-20 18:58:30 +03:00
Rémi Denis-Courmont c2e8e530b3 Win32: put duplicated file handles to binary mode
This is more consistent with vlc_open() and vlc_pipe() behaviour.
2012-09-20 00:00:46 +03:00
Rémi Denis-Courmont a7b2dcf0ee Remove WinCE 2012-09-02 12:22:01 +03:00
Rémi Denis-Courmont 3fe85b3841 Win32: struct stat is a macro so we need to include <sys/stat.h> 2012-02-01 18:00:04 +02:00
Rémi Denis-Courmont 032a234740 Include system headers before VLC headers
This fixes some problems when the system or VLC play evil tricks with
the preprocessor. (Only files including sys/stat.h are concerned with
this commit. I did not fix all files.)
2012-01-27 23:31:48 +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 8179cfedcb Win32: default to binary mode in vlc_open() (fix #5578)
...rather than merely vlc_fopen().
2011-11-24 22:18:24 +02:00
Rémi Denis-Courmont 6499c2cc61 WinCE: tentative compile fix 2011-08-06 12:29:02 +03:00
Rémi Denis-Courmont 9197cdff55 Win32: handle file paths of arbitrary length (in file system code) 2011-07-12 20:09:27 +03:00
Rémi Denis-Courmont 5110789433 vlc_getcwd: return current directory as UTF-8 2011-07-11 18:47:43 +03:00
Rob Jonson 812905a604 Update windows rename function to correctly deal with pre-existing files.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-04-28 20:35:29 +03:00
Pierre Ynard 34faa8a2df WinCE: (don't) implement vlc_pipe()
Pipes are not supported on WinCE
2011-02-10 00:28:26 +01:00
Rémi Denis-Courmont c8778a818a Implement vlc_pipe() 2011-02-09 23:00:13 +02:00
Rémi Denis-Courmont c24028b199 Win32: pack vlc_DIR 2010-11-03 20:37:44 +02:00
Rémi Denis-Courmont 3a6e65588b Win32: remove dead code 2010-11-03 20:37:32 +02:00
Rémi Denis-Courmont 44d1c20e7a Win32: expand, simplify and (hopefully) fix vlc_w*dir() functions 2010-11-03 18:12:35 +02:00
Rémi Denis-Courmont 485d0ebd27 Split portable, POSIX and Win32 file system helpers 2010-11-03 17:48:57 +02:00