vlc.git
12 years agoQt menus: show 'Select skin' in the skins2 popup menu
Jean-Philippe Andre [Wed, 13 Aug 2008 23:35:52 +0000 (19:35 -0400)]
Qt menus: show 'Select skin' in the skins2 popup menu

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoQt menus: remove useless FindActionWithText
Jean-Philippe Andre [Wed, 13 Aug 2008 23:35:51 +0000 (19:35 -0400)]
Qt menus: remove useless FindActionWithText

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoPut the default SF mirror to heanet
Jean-Baptiste Kempf [Wed, 13 Aug 2008 23:33:24 +0000 (01:33 +0200)]
Put the default SF mirror to heanet

12 years agoFix windows compilation
Jean-Baptiste Kempf [Wed, 13 Aug 2008 23:16:27 +0000 (01:16 +0200)]
Fix windows compilation

12 years agoHum fix a memleak in test4 ...
Rémi Duraffort [Wed, 13 Aug 2008 22:28:00 +0000 (00:28 +0200)]
Hum fix a memleak in test4 ...

12 years agoChek asprintf return value.
Rémi Duraffort [Wed, 13 Aug 2008 22:25:01 +0000 (00:25 +0200)]
Chek asprintf return value.

12 years agoRemove unneeded test.
Rémi Duraffort [Wed, 13 Aug 2008 22:12:05 +0000 (00:12 +0200)]
Remove unneeded test.

12 years agoFix memleak.
Rémi Duraffort [Wed, 13 Aug 2008 21:59:51 +0000 (23:59 +0200)]
Fix memleak.

12 years agoFix potential memleak and check malloc return value.
Rémi Duraffort [Wed, 13 Aug 2008 21:53:27 +0000 (23:53 +0200)]
Fix potential memleak and check malloc return value.

12 years agoquartztext: fix a crash when we tried to find the lenght of a CFString that was not...
Derk-Jan Hartman [Wed, 13 Aug 2008 21:42:35 +0000 (23:42 +0200)]
quartztext: fix a crash when we tried to find the lenght of a CFString that was not created.

(Another bug fixed due to the great new apple-bugreport mailinglist)

12 years agoconfigure: enable libass and asademux by default on OS X.
Derk-Jan Hartman [Wed, 13 Aug 2008 21:24:28 +0000 (23:24 +0200)]
configure: enable libass and asademux by default on OS X.

12 years agocontrib: enable libass in the contrib for mac
Derk-Jan Hartman [Wed, 13 Aug 2008 20:57:56 +0000 (22:57 +0200)]
contrib: enable libass in the contrib for mac

It seems I had never committed this and then checked out a master version of it or something when working on libass tree.

12 years ago* Fix potential memleak.
Rémi Duraffort [Wed, 13 Aug 2008 21:24:45 +0000 (23:24 +0200)]
* Fix potential memleak.
* Check asprintf return value
* Use asprintf instead of malloc/sprintf (less dangerous)

12 years agoCheck asprintf return value.
Rémi Duraffort [Wed, 13 Aug 2008 20:35:34 +0000 (22:35 +0200)]
Check asprintf return value.

12 years agomkv: Find and load a 2nd Seek head and use the information contained in it.
Derk-Jan Hartman [Wed, 13 Aug 2008 20:47:59 +0000 (22:47 +0200)]
mkv: Find and load a 2nd Seek head and use the information contained in it.

This fixes issues with files which had their Cues referenced from this 2nd Seekhead at the end of the file. These files were previously treated as "broken".
A maximum of 10 seek heads is allowed in our module, to prevent recursion. The module is much more flexible now, but not that some Master elements that are allowed to be present multiple times are still handled only once (KaxInfo, KaxTracks, KaxTags).

With these change, most mkv files produced with mkvmerge will produce a significant amount of debug. This is because these files have a load of Junk tags in their eof Seekhead that our parser is warning about. After consulting with robux, it was determined that this was a bug in mkvmerge and a ticket has been filed ( https://www.bunkus.org/bugzilla/show_bug.cgi?id=290 ).

This fixes #1236

12 years agomkv: inverted test case. This should remove a warning we would see on each MKV file
Derk-Jan Hartman [Tue, 12 Aug 2008 11:39:06 +0000 (13:39 +0200)]
mkv: inverted test case. This should remove a warning we would see on each MKV file

12 years agoFix warning (asprintf return value and some others)
Rémi Duraffort [Wed, 13 Aug 2008 20:07:56 +0000 (22:07 +0200)]
Fix warning (asprintf return value and some others)

12 years agoVLC_OBJECT: expansion safety
Rémi Denis-Courmont [Wed, 13 Aug 2008 20:09:12 +0000 (23:09 +0300)]
VLC_OBJECT: expansion safety

12 years agoFix compilation warnings and remove duplicated variables.
Rémi Duraffort [Wed, 13 Aug 2008 19:57:32 +0000 (21:57 +0200)]
Fix compilation warnings and remove duplicated variables.

12 years agoAvoid to leak to many things on es stream output (and fix a compilation warning)
Rémi Duraffort [Wed, 13 Aug 2008 19:46:06 +0000 (21:46 +0200)]
Avoid to leak to many things on es stream output (and fix a compilation warning)

12 years agoFix libvlc private data alignment (untested)
Rémi Denis-Courmont [Wed, 13 Aug 2008 19:43:50 +0000 (22:43 +0300)]
Fix libvlc private data alignment (untested)

12 years agoGrowl is too broken to be on by default
Rémi Denis-Courmont [Wed, 13 Aug 2008 19:37:54 +0000 (22:37 +0300)]
Growl is too broken to be on by default

12 years agoFix previous commit (thanks jb).
Rémi Duraffort [Wed, 13 Aug 2008 19:35:25 +0000 (21:35 +0200)]
Fix previous commit (thanks jb).

12 years agoFix vasprintf warning.
Jean-Baptiste Kempf [Wed, 13 Aug 2008 19:26:10 +0000 (12:26 -0700)]
Fix vasprintf warning.

12 years agoAvoid printf for debug
Rémi Denis-Courmont [Wed, 13 Aug 2008 19:01:03 +0000 (22:01 +0300)]
Avoid printf for debug

12 years agoFix format string non-sense
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:51:53 +0000 (21:51 +0300)]
Fix format string non-sense

(I wonder how we can have so stupid code)

12 years agoFix format string
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:47:28 +0000 (21:47 +0300)]
Fix format string

(I don't know if this is exploitable - depends what libpng does)

12 years agoFix format string
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:46:38 +0000 (21:46 +0300)]
Fix format string

This is most likely exploitable with malicious sub files.

12 years agoRemove GCCism
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:42:41 +0000 (21:42 +0300)]
Remove GCCism

12 years agoUse %s even if all strings are currently free of percent characters
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:41:48 +0000 (21:41 +0300)]
Use %s even if all strings are currently free of percent characters

12 years agoDo not translate log messages
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:28:14 +0000 (21:28 +0300)]
Do not translate log messages

12 years ago*whistle* ladada
Rémi Denis-Courmont [Wed, 13 Aug 2008 18:18:04 +0000 (21:18 +0300)]
*whistle* ladada

12 years agoWe don't need size here to check asprintf value.
Rémi Duraffort [Wed, 13 Aug 2008 18:09:34 +0000 (20:09 +0200)]
We don't need size here to check asprintf value.

12 years agoDo the RIGHT check of asprintf.
Rémi Duraffort [Wed, 13 Aug 2008 18:07:13 +0000 (20:07 +0200)]
Do the RIGHT check of asprintf.

12 years agoCheck asprintf return value and fix memleak.
Rémi Duraffort [Wed, 13 Aug 2008 18:05:50 +0000 (20:05 +0200)]
Check asprintf return value and fix memleak.

12 years agoSimplify code.
Rémi Duraffort [Wed, 13 Aug 2008 17:56:14 +0000 (19:56 +0200)]
Simplify code.

12 years agoEnable the Win2k API
Rémi Denis-Courmont [Wed, 13 Aug 2008 16:33:38 +0000 (19:33 +0300)]
Enable the Win2k API

12 years agoFix compilation against WinXP (conflicting symbols)
Rémi Denis-Courmont [Wed, 13 Aug 2008 16:33:04 +0000 (19:33 +0300)]
Fix compilation against WinXP (conflicting symbols)

12 years agoSimplify free
Rémi Denis-Courmont [Wed, 13 Aug 2008 16:25:48 +0000 (19:25 +0300)]
Simplify free

12 years agovlc_inet_pton: fix memory leak
Rémi Denis-Courmont [Wed, 13 Aug 2008 16:09:48 +0000 (19:09 +0300)]
vlc_inet_pton: fix memory leak

12 years agoAdd make doc and fix Doxygen from top_builddir
Rémi Denis-Courmont [Wed, 13 Aug 2008 16:04:54 +0000 (19:04 +0300)]
Add make doc and fix Doxygen from top_builddir

12 years agoAdd a bunch of \file doxygen comments
Jean-Paul Saman [Mon, 11 Aug 2008 15:31:57 +0000 (23:31 +0800)]
Add a bunch of \file doxygen comments

12 years agoignore doxygen directory.
Jean-Paul Saman [Mon, 11 Aug 2008 15:19:32 +0000 (23:19 +0800)]
ignore doxygen directory.

12 years agoignore these files under doc
Jean-Paul Saman [Mon, 11 Aug 2008 14:47:26 +0000 (22:47 +0800)]
ignore these files under doc

12 years agoRevert "Turn on -Werror for libvlccore and libvlc."
Rémi Denis-Courmont [Wed, 13 Aug 2008 14:21:54 +0000 (17:21 +0300)]
Revert "Turn on -Werror for libvlccore and libvlc."

Do not do this with portable code. Ever.
This reverts commit b204087e856f541b7a75e29de5782c7d61822438.

12 years agoslovak translation correction
Lukas Durfina [Tue, 12 Aug 2008 08:23:20 +0000 (10:23 +0200)]
slovak translation correction

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFix a warning on unused variable.
Jean-Baptiste Kempf [Wed, 13 Aug 2008 00:20:21 +0000 (17:20 -0700)]
Fix a warning on unused variable.

12 years agoCheck asprintf results.
Jean-Baptiste Kempf [Wed, 13 Aug 2008 00:16:43 +0000 (17:16 -0700)]
Check asprintf results.

12 years agoinput: More strtol fix.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:57:15 +0000 (01:57 +0200)]
input: More strtol fix.

12 years agoinput: Fix strtol usage.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:51:40 +0000 (01:51 +0200)]
input: Fix strtol usage.

12 years agocpu: Don't warn if we don't support altivec.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:49:14 +0000 (01:49 +0200)]
cpu: Don't warn if we don't support altivec.

12 years agoosd_text: Fix a bad vasprintf usage.
Jean-Baptiste Kempf [Tue, 12 Aug 2008 23:41:12 +0000 (16:41 -0700)]
osd_text: Fix a bad vasprintf usage.

12 years agoContribs :Correction of chmod for qt4
Jean-Baptiste Kempf [Tue, 12 Aug 2008 23:37:01 +0000 (01:37 +0200)]
Contribs :Correction of chmod for qt4

12 years agovideo_text: Fix a bad vasprintf usage.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:30:52 +0000 (01:30 +0200)]
video_text: Fix a bad vasprintf usage.

12 years agoRevert "playlist: With NDEBUG p_playlist may become unused."
Pierre d'Herbemont [Tue, 12 Aug 2008 23:23:15 +0000 (01:23 +0200)]
Revert "playlist: With NDEBUG p_playlist may become unused."

This reverts commit 5b15b230d318ee37379cd9468f2c1e3af8e06fd8.

This is not needed anymore with recent changes to vlc_assert_locked.

12 years agoaudio_output: Fix an unused parameter in the NDEBUG case.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:22:42 +0000 (01:22 +0200)]
audio_output: Fix an unused parameter in the NDEBUG case.

12 years agothreads: Make sure vlc_assert_locked() doesn't result in an unused parameter warning.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:22:17 +0000 (01:22 +0200)]
threads: Make sure vlc_assert_locked() doesn't result in an unused parameter warning.

12 years agoinput: Fix asprintf usage.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:15:40 +0000 (01:15 +0200)]
input: Fix asprintf usage.

12 years agoplaylist: With NDEBUG p_playlist may become unused.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:14:39 +0000 (01:14 +0200)]
playlist: With NDEBUG p_playlist may become unused.

12 years agoFix some crash on exit
Jean-Baptiste Kempf [Tue, 12 Aug 2008 23:14:39 +0000 (16:14 -0700)]
Fix some crash on exit

Patch by Sephiroth87

12 years agovar: undef Windef.h CALLBACK as we use it here.
Pierre d'Herbemont [Tue, 12 Aug 2008 23:04:17 +0000 (01:04 +0200)]
var: undef Windef.h CALLBACK as we use it here.

No we won't change the name. Microsoft won't make us change our mind ;)

12 years agoTurn on -Werror for libvlccore and libvlc.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:09:39 +0000 (00:09 +0200)]
Turn on -Werror for libvlccore and libvlc.

-Werror haters, scream now.

12 years agolibvlccore: Explicitely cast our const char *. dooh. We shouldn't store them as char...
Pierre d'Herbemont [Tue, 12 Aug 2008 22:52:40 +0000 (00:52 +0200)]
libvlccore: Explicitely cast our const char *. dooh. We shouldn't store them as char * in the first place if they are not strdup/free().

12 years agovlc_network: vlc_poll is always exported. Don't put it behind an ifdef.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:48:35 +0000 (00:48 +0200)]
vlc_network: vlc_poll is always exported. Don't put it behind an ifdef.

12 years agonetwork: vasprintf returns an int.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:45:56 +0000 (00:45 +0200)]
network: vasprintf returns an int.

12 years agovout: Remove a warning about vout_ShowTextAbsolute unused arg.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:44:28 +0000 (00:44 +0200)]
vout: Remove a warning about vout_ShowTextAbsolute unused arg.

12 years agoinput: Fix signed warnings about streams.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:43:31 +0000 (00:43 +0200)]
input: Fix signed warnings about streams.

12 years agoinput: Fix warnings.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:33:30 +0000 (00:33 +0200)]
input: Fix warnings.

12 years agosnapshot: Don't use vlc_object_signal_maybe.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:21:51 +0000 (00:21 +0200)]
snapshot: Don't use vlc_object_signal_maybe.

The object isn't locked at this time. Yet, could some check that we do need that signal. I tend to doubt about that.

12 years agoinput: Remove a warning about an unused argument.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:19:41 +0000 (00:19 +0200)]
input: Remove a warning about an unused argument.

12 years agoplaylist: playlist_LiveSearchUpdate is locked, no need to signal_maybe().
Pierre d'Herbemont [Tue, 12 Aug 2008 22:19:11 +0000 (00:19 +0200)]
playlist: playlist_LiveSearchUpdate is locked, no need to signal_maybe().

12 years agoplaylist: Remove the callbacks from the deleted input item.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:16:34 +0000 (00:16 +0200)]
playlist: Remove the callbacks from the deleted input item.

12 years agolibvlccore: Fix a warning about b_daemon on Windows.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:05:57 +0000 (00:05 +0200)]
libvlccore: Fix a warning about b_daemon on Windows.

12 years agomediacontrol: Fix warnings about unused args.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:02:55 +0000 (00:02 +0200)]
mediacontrol: Fix warnings about unused args.

12 years agomedia_list_player: Fix a warning that indicated a true mistake.
Pierre d'Herbemont [Tue, 12 Aug 2008 22:01:42 +0000 (00:01 +0200)]
media_list_player: Fix a warning that indicated a true mistake.

12 years agosap: Fix thread prototype.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:59:58 +0000 (23:59 +0200)]
sap: Fix thread prototype.

12 years agoimage: Removed unused function.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:58:09 +0000 (23:58 +0200)]
image: Removed unused function.

12 years agoplaylist: More warning fix+lock fixes.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:52:33 +0000 (23:52 +0200)]
playlist: More warning fix+lock fixes.

12 years agoplaylist: playlist_NodeCreate needs the PL_LOCK.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:48:54 +0000 (23:48 +0200)]
playlist: playlist_NodeCreate needs the PL_LOCK.

12 years agovlc_playlist.h: Correct type for request status. (Fix a warning too).
Pierre d'Herbemont [Tue, 12 Aug 2008 21:33:08 +0000 (23:33 +0200)]
vlc_playlist.h: Correct type for request status. (Fix a warning too).

12 years agointerface: Warning fixes on Mac OS X.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:29:21 +0000 (23:29 +0200)]
interface: Warning fixes on Mac OS X.

12 years agoplaylist: Warning fixes.
Pierre d'Herbemont [Tue, 12 Aug 2008 21:29:02 +0000 (23:29 +0200)]
playlist: Warning fixes.

12 years agoClose the dialogs podcast configuration when click on close...
Jean-Baptiste Kempf [Tue, 12 Aug 2008 22:38:13 +0000 (15:38 -0700)]
Close the dialogs podcast configuration when click on close...

lol and thanks Sephiroth!

12 years agoBetter solution to fix some skins2 crash on exit.
Jean-Baptiste Kempf [Tue, 12 Aug 2008 19:33:27 +0000 (12:33 -0700)]
Better solution to fix some skins2 crash on exit.

12 years agoSmall sound slider size issue, Not perfect yet, but soon to be.
Jean-Baptiste Kempf [Tue, 12 Aug 2008 19:01:51 +0000 (12:01 -0700)]
Small sound slider size issue,  Not perfect yet, but soon to be.

12 years agoFix memleak in mkv.
Rémi Duraffort [Tue, 12 Aug 2008 21:10:57 +0000 (23:10 +0200)]
Fix memleak in mkv.

12 years agoTry (again!) to fix win32 libass compilation
Jean-Baptiste Kempf [Tue, 12 Aug 2008 20:44:08 +0000 (22:44 +0200)]
Try (again!) to fix win32 libass compilation

12 years agoHTTP interface: do not look for stuff in current directory
Rémi Denis-Courmont [Tue, 12 Aug 2008 20:20:39 +0000 (23:20 +0300)]
HTTP interface: do not look for stuff in current directory

This is essentially the same problem as --plugin-path (albeit hopefully
with much less disastrous potential effects), with the same
inconvenience for developpers.

12 years agoFix memleaks when closing the module.
Rémi Duraffort [Tue, 12 Aug 2008 20:21:52 +0000 (22:21 +0200)]
Fix memleaks when closing the module.

12 years agoFix memleak.
Rémi Duraffort [Tue, 12 Aug 2008 18:05:13 +0000 (20:05 +0200)]
Fix memleak.

12 years agoChange the toolbar layout to make it smaller and have the advanced buttons on the...
Jean-Baptiste Kempf [Tue, 12 Aug 2008 16:55:19 +0000 (09:55 -0700)]
Change the toolbar layout to make it smaller and have the advanced buttons on the same line as the other ones.

If you think it was better before, please scream NOW.

I am just bored of being insulted for the work I do/not do. All the decisions may not be optimal, and I am always open to discussion. Insults by mail is NOT OK.

12 years agoconfig: on OS X, don't use required_argument for getopt_long, but optional_argument.
Derk-Jan Hartman [Tue, 12 Aug 2008 11:06:39 +0000 (13:06 +0200)]
config: on OS X, don't use required_argument for getopt_long, but optional_argument.

required_argument is not implemented (behaves like optional_argument), and actually crashes in some instances.
This fixes a crash as detailed in #1681.
The problem is filed with Apple as Radar ticket 6113829

12 years agomkv: retrieve 2nd seekhead pos, when parsing first seekhead, and add a debug if an...
Derk-Jan Hartman [Tue, 12 Aug 2008 08:27:06 +0000 (10:27 +0200)]
mkv: retrieve 2nd seekhead pos, when parsing first seekhead, and add a debug if an Unknown element was seen there.

12 years agoTelepathy: Fix a crash.
Mirsal Ennaime [Mon, 11 Aug 2008 22:20:45 +0000 (00:20 +0200)]
Telepathy: Fix a crash.

12 years agoDon't build tests in libass when Xcompiling.
Jean-Baptiste Kempf [Tue, 12 Aug 2008 07:01:48 +0000 (09:01 +0200)]
Don't build tests in libass when Xcompiling.

12 years agoTemporary Hack to fix compile on Win32.
Jean-Baptiste Kempf [Tue, 12 Aug 2008 01:15:55 +0000 (18:15 -0700)]
Temporary Hack to fix compile on Win32.

12 years agoaudio_output: Take the input_fifos lock where needed in aout_InputPlay.
Pierre d'Herbemont [Mon, 11 Aug 2008 23:17:09 +0000 (01:17 +0200)]
audio_output: Take the input_fifos lock where needed in aout_InputPlay.

(Should fix an other bunch of crash report in apple-bugreport).

12 years agoaudio_output: Properly lock the input_fifos_lock in aout_Restart.
Pierre d'Herbemont [Mon, 11 Aug 2008 23:06:55 +0000 (01:06 +0200)]
audio_output: Properly lock the input_fifos_lock in aout_Restart.

(Should fix a number of crash^W assert report that we had in apple-bugreport ml).

12 years agoRename Kate Function to avoid naming conflicts with GDI+ on windows targets.
Jean-Baptiste Kempf [Mon, 11 Aug 2008 21:29:23 +0000 (14:29 -0700)]
Rename Kate Function to avoid naming conflicts with GDI+ on windows targets.

12 years agoFix some quitting issues from skins2 when Qt in theDP.
Jean-Baptiste Kempf [Mon, 11 Aug 2008 20:58:20 +0000 (13:58 -0700)]
Fix some quitting issues from skins2 when Qt in theDP.