vlc.git
14 years agoCompile fixes, round 1
Clément Stenac [Sun, 26 Nov 2006 14:39:39 +0000 (14:39 +0000)]
Compile fixes, round 1

14 years agoA bit of headers cleanup
Clément Stenac [Sun, 26 Nov 2006 14:20:34 +0000 (14:20 +0000)]
A bit of headers cleanup

* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers.
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private.
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.

14 years agoFixes order of operands in a substraction.
Rafaël Carré [Sun, 26 Nov 2006 06:18:25 +0000 (06:18 +0000)]
Fixes order of operands in a substraction.
courmisch, you make too much, it's time to have a rest

14 years agoFixes cross compilation of libgcrypt on MacOSX
Rafaël Carré [Sat, 25 Nov 2006 22:38:49 +0000 (22:38 +0000)]
Fixes cross compilation of libgcrypt on MacOSX

14 years agoRemove leftover FIXME
Rémi Denis-Courmont [Sat, 25 Nov 2006 18:51:11 +0000 (18:51 +0000)]
Remove leftover FIXME

14 years agoSplit Win32 performance timer frequency adjustment division carefully
Rémi Denis-Courmont [Sat, 25 Nov 2006 16:19:30 +0000 (16:19 +0000)]
Split Win32 performance timer frequency adjustment division carefully
in two halves to avoid integer overflows after 29 days.

14 years agoCompile fix
Rémi Denis-Courmont [Sat, 25 Nov 2006 16:06:33 +0000 (16:06 +0000)]
Compile fix

14 years agoFix very unlikely race condition
Rémi Denis-Courmont [Sat, 25 Nov 2006 15:42:36 +0000 (15:42 +0000)]
Fix very unlikely race condition

14 years agoFactorize mwait() code,
Rémi Denis-Courmont [Sat, 25 Nov 2006 15:38:10 +0000 (15:38 +0000)]
Factorize mwait() code,
except for POSIX timers case, which is currently the only natively absolute
timers implementation on LibVLC.

14 years agoAdd note for FreeBSD 4
Rémi Denis-Courmont [Sat, 25 Nov 2006 15:07:40 +0000 (15:07 +0000)]
Add note for FreeBSD 4

14 years agoupdate-po again (cheap one!)
Rémi Denis-Courmont [Sat, 25 Nov 2006 14:49:31 +0000 (14:49 +0000)]
update-po again (cheap one!)

14 years agoUse utf8 directory wrappers
Rémi Denis-Courmont [Sat, 25 Nov 2006 14:38:54 +0000 (14:38 +0000)]
Use utf8 directory wrappers

14 years agoNon-libtool fix attempt
Rémi Denis-Courmont [Sat, 25 Nov 2006 14:19:50 +0000 (14:19 +0000)]
Non-libtool fix attempt

14 years agoSkins2 theme loader:
Rémi Denis-Courmont [Sat, 25 Nov 2006 14:10:59 +0000 (14:10 +0000)]
Skins2 theme loader:
 - use utf8_(read|open)dir
 - do not assume that stat() succeeds (tiny race condition)

14 years agoFix a few warnings and remove extra white spaces
Rémi Denis-Courmont [Sat, 25 Nov 2006 13:38:09 +0000 (13:38 +0000)]
Fix a few warnings and remove extra white spaces

14 years agomkv: use (open|read)dir wrappers
Rémi Denis-Courmont [Sat, 25 Nov 2006 13:25:03 +0000 (13:25 +0000)]
mkv: use (open|read)dir wrappers

14 years agoFix precompiler warning
Rémi Denis-Courmont [Sat, 25 Nov 2006 13:24:40 +0000 (13:24 +0000)]
Fix precompiler warning

14 years ago* added numerous casts to silence compilation warnings introduced with const chars...
Felix Paul Kühne [Sat, 25 Nov 2006 12:56:51 +0000 (12:56 +0000)]
* added numerous casts to silence compilation warnings introduced with const chars in module_config_t. still needs severe testing on other Macs.

14 years agoTry to fix linking
Rémi Denis-Courmont [Sat, 25 Nov 2006 11:25:45 +0000 (11:25 +0000)]
Try to fix linking

14 years agoAdd puzzle to the news
Antoine Cellerier [Sat, 25 Nov 2006 11:15:25 +0000 (11:15 +0000)]
Add puzzle to the news

14 years agoAttempt to use wide directory indexing on Win32
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:59:49 +0000 (09:59 +0000)]
Attempt to use wide directory indexing on Win32
Might break stuff, but I cannot test much because of DBus vs Win32 breakage(!)

14 years agoTemporarily fix Win32 at the expense of IPv6 SSM
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:50:25 +0000 (09:50 +0000)]
Temporarily fix Win32 at the expense of IPv6 SSM

14 years agoFix Win32 compilation warning
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:47:40 +0000 (09:47 +0000)]
Fix Win32 compilation warning

14 years agoDon't export externally unused symbols
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:11:20 +0000 (09:11 +0000)]
Don't export externally unused symbols

14 years agoContinuation of previous commit
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:06:54 +0000 (09:06 +0000)]
Continuation of previous commit

14 years agoFix invalid mix of closedir and free on Win32.
Rémi Denis-Courmont [Sat, 25 Nov 2006 09:03:44 +0000 (09:03 +0000)]
Fix invalid mix of closedir and free on Win32.

14 years ago* Fix an accidental change from [18009] and add a mutex destroy I forgot to commit
Derk-Jan Hartman [Sat, 25 Nov 2006 02:22:38 +0000 (02:22 +0000)]
* Fix an accidental change from [18009] and add a mutex destroy I forgot to commit

14 years ago* Fix the gnutls win32 patch
Derk-Jan Hartman [Sat, 25 Nov 2006 02:11:57 +0000 (02:11 +0000)]
* Fix the gnutls win32 patch
  if !defined _WIN32 should be either ifndef _WIN32 or if !defined(_WIN32)

14 years ago* gnutls win32 patch breaks on non win32 builds
Derk-Jan Hartman [Sat, 25 Nov 2006 02:06:52 +0000 (02:06 +0000)]
* gnutls win32 patch breaks on non win32 builds

14 years agoWe have a problem here.
Rémi Denis-Courmont [Fri, 24 Nov 2006 20:43:18 +0000 (20:43 +0000)]
We have a problem here.

14 years agoRemove some dead code
Rémi Denis-Courmont [Fri, 24 Nov 2006 20:42:44 +0000 (20:42 +0000)]
Remove some dead code

14 years agoDarwin compile fix
Rémi Denis-Courmont [Fri, 24 Nov 2006 20:33:26 +0000 (20:33 +0000)]
Darwin compile fix

14 years ago- Port net_OpenUDP to the agnostic network core
Rémi Denis-Courmont [Fri, 24 Nov 2006 20:10:36 +0000 (20:10 +0000)]
- Port net_OpenUDP to the agnostic network core
- and merge some ASM/SSM code

14 years agoUse LOW_DELAY only with MPEG1/2. Closes #864
Christophe Mutricy [Fri, 24 Nov 2006 19:50:37 +0000 (19:50 +0000)]
Use LOW_DELAY only with MPEG1/2. Closes #864

14 years agoswscale is modern so with a .pc. so only test for swscale.h inside the pkg-config...
Christophe Mutricy [Fri, 24 Nov 2006 18:26:34 +0000 (18:26 +0000)]
swscale is modern so with a .pc. so only test for swscale.h inside the pkg-config block.

14 years agoSync PO files to fix distcheck
Rémi Denis-Courmont [Fri, 24 Nov 2006 17:27:39 +0000 (17:27 +0000)]
Sync PO files to fix distcheck

14 years agoplatform check -> feature check
Rémi Denis-Courmont [Fri, 24 Nov 2006 16:35:23 +0000 (16:35 +0000)]
platform check -> feature check

14 years agoFactorize HTTPd error messages
Rémi Denis-Courmont [Fri, 24 Nov 2006 15:46:43 +0000 (15:46 +0000)]
Factorize HTTPd error messages

14 years agoConst fixes
Rémi Denis-Courmont [Fri, 24 Nov 2006 15:16:18 +0000 (15:16 +0000)]
Const fixes

14 years ago* destroy some mutex'es once in a while to prevent memleaks. Suggested by a forumuser...
Derk-Jan Hartman [Thu, 23 Nov 2006 16:06:13 +0000 (16:06 +0000)]
* destroy some mutex'es once in a while to prevent memleaks. Suggested by a forumuser, name pending.

14 years ago- compile fix
Damien Fouilleul [Thu, 23 Nov 2006 15:25:35 +0000 (15:25 +0000)]
- compile fix

14 years ago* Fix playlist play of mp4 ref files.
Derk-Jan Hartman [Thu, 23 Nov 2006 15:20:06 +0000 (15:20 +0000)]
* Fix playlist play of mp4 ref files.

14 years agoRemove extra annoying deps
Rémi Denis-Courmont [Thu, 23 Nov 2006 14:57:19 +0000 (14:57 +0000)]
Remove extra annoying deps

14 years agoDon't clean contribs
Rafaël Carré [Thu, 23 Nov 2006 14:01:56 +0000 (14:01 +0000)]
Don't clean contribs

14 years agoQt4: This would be better. And should now be fine.
Jean-Baptiste Kempf [Thu, 23 Nov 2006 13:37:45 +0000 (13:37 +0000)]
Qt4: This would be better. And should now be fine.

14 years agoQt4: forgotten files in parent directory. Sorry!
Jean-Baptiste Kempf [Thu, 23 Nov 2006 13:33:05 +0000 (13:33 +0000)]
Qt4: forgotten files in parent directory. Sorry!

14 years agoQt4 : Rename streaminfo => mediainfo
Jean-Baptiste Kempf [Thu, 23 Nov 2006 13:12:31 +0000 (13:12 +0000)]
Qt4 : Rename streaminfo => mediainfo

14 years agoactivex: make CATID redefinitions static & private to avoid symbol conflicts
Damien Fouilleul [Thu, 23 Nov 2006 12:32:57 +0000 (12:32 +0000)]
activex: make CATID redefinitions static & private to avoid symbol conflicts

14 years agoRemove dead code
Rémi Denis-Courmont [Thu, 23 Nov 2006 12:07:54 +0000 (12:07 +0000)]
Remove dead code

14 years agoQt4 : Various changes especially about StreamInfo => MediaInfo
Jean-Baptiste Kempf [Thu, 23 Nov 2006 11:59:39 +0000 (11:59 +0000)]
Qt4 : Various changes especially about StreamInfo => MediaInfo

14 years agoCheck for error (not that I expect one)
Rémi Denis-Courmont [Thu, 23 Nov 2006 11:52:11 +0000 (11:52 +0000)]
Check for error (not that I expect one)

14 years agoTry to use dual-stack when needed, and warn user if it failed.
Rémi Denis-Courmont [Thu, 23 Nov 2006 11:48:32 +0000 (11:48 +0000)]
Try to use dual-stack when needed, and warn user if it failed.

14 years agoIf there is no local neither remote endpoint, default to listening
Rémi Denis-Courmont [Thu, 23 Nov 2006 11:22:15 +0000 (11:22 +0000)]
If there is no local neither remote endpoint, default to listening

14 years agoSuppress the v6only kludge
Rémi Denis-Courmont [Thu, 23 Nov 2006 11:21:29 +0000 (11:21 +0000)]
Suppress the v6only kludge

14 years agoUse net_ListenUDP1 and net_ConnectUDP when possible
Rémi Denis-Courmont [Thu, 23 Nov 2006 11:12:49 +0000 (11:12 +0000)]
Use net_ListenUDP1 and net_ConnectUDP when possible

14 years ago- latest mingw headers removed some category definitions
Damien Fouilleul [Thu, 23 Nov 2006 11:10:15 +0000 (11:10 +0000)]
- latest mingw headers removed some category definitions

14 years agoFix plugin cache - close #860
Rémi Denis-Courmont [Thu, 23 Nov 2006 10:04:48 +0000 (10:04 +0000)]
Fix plugin cache - close #860

14 years agoCompile fix
Marian Durkovic [Thu, 23 Nov 2006 09:44:39 +0000 (09:44 +0000)]
Compile fix

14 years agoCompletely replace all ANSI CP dependend mb_str()
Marian Durkovic [Thu, 23 Nov 2006 09:21:16 +0000 (09:21 +0000)]
Completely replace all ANSI CP dependend mb_str()
with mb_str(wxConvUTF8)

14 years agoIgnore gai_strerror check on win32.
Rafaël Carré [Wed, 22 Nov 2006 23:25:15 +0000 (23:25 +0000)]
Ignore gai_strerror check on win32.
Should be fixed at configure stage

14 years agoadd a check to lrintf for systems that define it in libm
Rafaël Carré [Wed, 22 Nov 2006 22:57:07 +0000 (22:57 +0000)]
add a check to lrintf for systems that define it in libm

14 years agoAdapt to the new config_item_t.
Christophe Mutricy [Wed, 22 Nov 2006 22:51:54 +0000 (22:51 +0000)]
Adapt to the new config_item_t.

14 years agoSONAME change. Muahahahahahahahahahahahahahahahahahahahahahahahahahahahahahah!
Rémi Denis-Courmont [Wed, 22 Nov 2006 22:09:59 +0000 (22:09 +0000)]
SONAME change. Muahahahahahahahahahahahahahahahahahahahahahahahahahahahahahah!
(vlc 0.9.0 is definitely not going to be ABI-compatible with 0.8.6).

14 years agoUpdates tremor patch
Rafaël Carré [Wed, 22 Nov 2006 22:06:26 +0000 (22:06 +0000)]
Updates tremor patch

14 years agoIncrease ABI revision
Rémi Denis-Courmont [Wed, 22 Nov 2006 22:05:58 +0000 (22:05 +0000)]
Increase ABI revision

14 years agoDon't try IPv6 SSM if not defined
Rémi Denis-Courmont [Wed, 22 Nov 2006 22:00:21 +0000 (22:00 +0000)]
Don't try IPv6 SSM if not defined

14 years agoRead configuration file in a single pass (instead of one per module).
Rémi Denis-Courmont [Wed, 22 Nov 2006 21:58:42 +0000 (21:58 +0000)]
Read configuration file in a single pass (instead of one per module).
(I get about hundred time faster config load here, but right, there are
 much slower operations in libvlc startup anyway
 -- and the plugin cache breakage is not going to help).

14 years ago* enable GCC99 compatiblity for ObjC code
Felix Paul Kühne [Wed, 22 Nov 2006 21:27:50 +0000 (21:27 +0000)]
* enable GCC99 compatiblity for ObjC code

14 years ago* compilation fixes to address courmisch's API changes. need massive testing and...
Felix Paul Kühne [Wed, 22 Nov 2006 21:26:21 +0000 (21:26 +0000)]
* compilation fixes to address courmisch's API changes. need massive testing and more fixes to handle various strings

14 years agoAdd libraw1394 and libcd1394 to the contrib build system. The libraries are needed...
Jean-Paul Saman [Wed, 22 Nov 2006 21:02:28 +0000 (21:02 +0000)]
Add libraw1394 and libcd1394 to the contrib build system. The libraries are needed for DV support.

14 years agoFactorize code to open configuration file
Rémi Denis-Courmont [Wed, 22 Nov 2006 20:42:25 +0000 (20:42 +0000)]
Factorize code to open configuration file

14 years agoMove encoding and language stuff to their own directory
Rémi Denis-Courmont [Wed, 22 Nov 2006 20:00:19 +0000 (20:00 +0000)]
Move encoding and language stuff to their own directory

14 years agoint16_t needs <inttypes.h>. Should fix FreeBSD unhapiness with addPCM().
Rémi Denis-Courmont [Wed, 22 Nov 2006 19:50:58 +0000 (19:50 +0000)]
int16_t needs <inttypes.h>. Should fix FreeBSD unhapiness with addPCM().

14 years agoNever use empty help text for plugin variable - close #859
Rémi Denis-Courmont [Wed, 22 Nov 2006 19:38:16 +0000 (19:38 +0000)]
Never use empty help text for plugin variable - close #859

14 years agoUse correct patch syntax
Rafaël Carré [Wed, 22 Nov 2006 18:56:16 +0000 (18:56 +0000)]
Use correct patch syntax

14 years agoFix warning
Rémi Denis-Courmont [Wed, 22 Nov 2006 18:56:13 +0000 (18:56 +0000)]
Fix warning

14 years agoQt4 compilation fix
Rémi Denis-Courmont [Wed, 22 Nov 2006 18:53:17 +0000 (18:53 +0000)]
Qt4 compilation fix

14 years agoPartial compilation fix
Rémi Denis-Courmont [Wed, 22 Nov 2006 18:42:57 +0000 (18:42 +0000)]
Partial compilation fix

14 years ago- Fix today's regression in plugin cache
Rémi Denis-Courmont [Wed, 22 Nov 2006 18:15:56 +0000 (18:15 +0000)]
- Fix today's regression in plugin cache
- Fix one more old crasher in the plugin cache loader

14 years agoWork around for core target
Rémi Denis-Courmont [Wed, 22 Nov 2006 18:11:07 +0000 (18:11 +0000)]
Work around for core target

14 years agovlc.win32.nsi.in: Remove whitespace.
Dennis van Amerongen [Wed, 22 Nov 2006 17:45:58 +0000 (17:45 +0000)]
vlc.win32.nsi.in: Remove whitespace.

14 years agoFix module entry error handling
Rémi Denis-Courmont [Wed, 22 Nov 2006 17:40:47 +0000 (17:40 +0000)]
Fix module entry error handling

14 years agoFix warning
Rémi Denis-Courmont [Wed, 22 Nov 2006 17:35:08 +0000 (17:35 +0000)]
Fix warning

14 years agoAttempt to fix C++ compilation
Rémi Denis-Courmont [Wed, 22 Nov 2006 17:13:24 +0000 (17:13 +0000)]
Attempt to fix C++ compilation

14 years agoFix a bunch of old crashers in the plugin cache
Rémi Denis-Courmont [Wed, 22 Nov 2006 16:06:15 +0000 (16:06 +0000)]
Fix a bunch of old crashers in the plugin cache

14 years agoA more space conservative module_config_t
Rémi Denis-Courmont [Wed, 22 Nov 2006 15:50:29 +0000 (15:50 +0000)]
A more space conservative module_config_t

14 years agosvn:ignore
Rémi Denis-Courmont [Wed, 22 Nov 2006 15:49:35 +0000 (15:49 +0000)]
svn:ignore

14 years agoCode simplification
Rémi Denis-Courmont [Wed, 22 Nov 2006 13:28:40 +0000 (13:28 +0000)]
Code simplification

14 years ago- Fix compiler warning
Rémi Denis-Courmont [Wed, 22 Nov 2006 13:14:17 +0000 (13:14 +0000)]
- Fix compiler warning
- Fix directory separator on Windows
- Some cleanup

14 years ago- fix for locale SUBLANG definitions which conflicts with mingw headers
Damien Fouilleul [Wed, 22 Nov 2006 13:10:57 +0000 (13:10 +0000)]
- fix for locale SUBLANG definitions which conflicts with mingw headers

14 years agoFix libvlc.la dependencies
Rémi Denis-Courmont [Wed, 22 Nov 2006 13:04:00 +0000 (13:04 +0000)]
Fix libvlc.la dependencies

14 years agoGenerate libvlc.sym separately from vlc_symbols.h
Rémi Denis-Courmont [Wed, 22 Nov 2006 12:57:04 +0000 (12:57 +0000)]
Generate libvlc.sym separately from vlc_symbols.h

14 years ago- better fix for DIR typedef error
Damien Fouilleul [Wed, 22 Nov 2006 12:48:17 +0000 (12:48 +0000)]
- better fix for DIR typedef error

14 years agoit is good pratice to specify headers that define custom types
Damien Fouilleul [Wed, 22 Nov 2006 11:41:59 +0000 (11:41 +0000)]
it is good pratice to specify headers that define custom types

14 years agoio.h on mingw contains a bunch of old functions *for compatibility* which break with...
Christophe Mutricy [Wed, 22 Nov 2006 11:30:30 +0000 (11:30 +0000)]
io.h on mingw contains a bunch of old functions *for compatibility* which break with the way we deine close at closesocket. So disable all those old stuff.

14 years agoDisable building rtcp stream output module for now.
Jean-Paul Saman [Tue, 21 Nov 2006 23:08:31 +0000 (23:08 +0000)]
Disable building rtcp stream output module for now.

14 years agoNEWS: Add note that Windows 9x/ME is no longer supported and include info on MSLU.
Dennis van Amerongen [Tue, 21 Nov 2006 22:38:11 +0000 (22:38 +0000)]
NEWS: Add note that Windows 9x/ME is no longer supported and include info on MSLU.

14 years ago- Save config file as UTF-8, starting with Byte-Order-Mark.
Rémi Denis-Courmont [Tue, 21 Nov 2006 22:07:45 +0000 (22:07 +0000)]
- Save config file as UTF-8, starting with Byte-Order-Mark.
- Leverage fputc().

14 years agoLook for Byte Order Mark (UTF-8 only) while loading config file.
Rémi Denis-Courmont [Tue, 21 Nov 2006 21:59:08 +0000 (21:59 +0000)]
Look for Byte Order Mark (UTF-8 only) while loading config file.
If present, assume everything is UTF-8 (obviously);
if not, assume locale charset.

14 years agoSome code cleanup
Rémi Denis-Courmont [Tue, 21 Nov 2006 21:55:59 +0000 (21:55 +0000)]
Some code cleanup