vlc.git
12 years agoLinux: re-implement eventfd() against old glibc versions
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:47:44 +0000 (18:47 +0200)]
Linux: re-implement eventfd() against old glibc versions

12 years agoLinux: vlc_threadid() returns TID instead of kludging pthread_self()
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:45:20 +0000 (18:45 +0200)]
Linux: vlc_threadid() returns TID instead of kludging pthread_self()

12 years agoSuperfluous #includes
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:41:52 +0000 (18:41 +0200)]
Superfluous #includes

12 years agoRemoved link to old subdirectory not present in lua http interface
Vicente Jimenez Aguilar [Fri, 16 Jan 2009 19:09:02 +0000 (20:09 +0100)]
Removed link to old subdirectory not present in lua http interface

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoshine: Forward port of fixed integer MP3 encoder.
Jean-Paul Saman [Fri, 30 Jan 2009 13:28:24 +0000 (14:28 +0100)]
shine: Forward port of fixed integer MP3 encoder.

The fixed integer MP3 encoder shine originates from the RockBox project. It was then adapted for vlc in branch 0.8.6-neuros.

12 years agowma-fixed: Forward port of fixed integer WMA v1/2 decoder.
Jean-Paul Saman [Fri, 30 Jan 2009 11:05:48 +0000 (12:05 +0100)]
wma-fixed: Forward port of fixed integer WMA v1/2 decoder.

The fixed integer WMA v1/2 decoder originates from the ffmpeg project and has been changed into a fixed integer decoder by the RockBox project. It was then adapted for vlc in the 0.8.6-neuros branch.

12 years agoobjects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD
Jean-Paul Saman [Mon, 26 Jan 2009 08:06:59 +0000 (09:06 +0100)]
objects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD

12 years agol10n: Occitan update
GAILLARD Tony [Thu, 29 Jan 2009 23:07:26 +0000 (23:07 +0000)]
l10n: Occitan update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
12 years agoAdd new files and remove wx
Christophe Mutricy [Thu, 29 Jan 2009 23:04:41 +0000 (23:04 +0000)]
Add new files and remove wx

12 years agoQt: fix video widget size
Jean-Philippe Andre [Thu, 29 Jan 2009 22:30:08 +0000 (23:30 +0100)]
Qt: fix video widget size

12 years agoXCB: minimalistic window (i.e. non-embedded) support
Rémi Denis-Courmont [Thu, 29 Jan 2009 21:28:48 +0000 (23:28 +0200)]
XCB: minimalistic window (i.e. non-embedded) support

TBD: title and control requests

12 years agoMemory leak
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:58:06 +0000 (22:58 +0200)]
Memory leak

12 years agoAdd p_sys to vout_window_t
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:51:53 +0000 (22:51 +0200)]
Add p_sys to vout_window_t

12 years agoXCB: duplicate values from output to fmt_out
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:01:40 +0000 (22:01 +0200)]
XCB: duplicate values from output to fmt_out

The image still misses borders due to Qt4 window provider not returning
the correct height (it pretends the window is bigger than it is).

12 years agoQt: no need to iterate two times. always disable empty menus
Jean-Philippe Andre [Thu, 29 Jan 2009 18:31:53 +0000 (19:31 +0100)]
Qt: no need to iterate two times. always disable empty menus

Note: in some rare case when p_aout != NULL but the audio
      ouput is "empty" (no track), then the visualizations
      are still enabled (but of course, you can't use them).

12 years agoXCB: trigger the pop-up menu
Rémi Denis-Courmont [Thu, 29 Jan 2009 18:22:31 +0000 (20:22 +0200)]
XCB: trigger the pop-up menu

IMHO, this should really be a vout variable though - how is the UI
supposed to know which video output is triggering otherwise?

12 years agoFix double translation
Rémi Denis-Courmont [Thu, 29 Jan 2009 16:23:31 +0000 (18:23 +0200)]
Fix double translation

12 years agoRevert "fix buffer overflows."
Rémi Duraffort [Thu, 29 Jan 2009 16:03:36 +0000 (17:03 +0100)]
Revert "fix buffer overflows."

We use a sizeof and not a strlen so that's ok.

This reverts commit 8ecb5ba1086fc58bf12e33a2de8e73fe859bc33e.

12 years agofix buffer overflows.
Rémi Duraffort [Thu, 29 Jan 2009 15:56:10 +0000 (16:56 +0100)]
fix buffer overflows.

12 years agoAdd the vlclibdir variable to the .pc
Christophe Mutricy [Tue, 27 Jan 2009 22:28:08 +0000 (22:28 +0000)]
Add the vlclibdir variable to the .pc

So that the plugins can be installed at the good place

12 years agoProper permissions
Christophe Mutricy [Tue, 27 Jan 2009 23:43:24 +0000 (23:43 +0000)]
Proper permissions

12 years agoDon't compute system-dependent stuff in the plugin descriptor
Rémi Denis-Courmont [Wed, 28 Jan 2009 21:33:16 +0000 (23:33 +0200)]
Don't compute system-dependent stuff in the plugin descriptor

This is cached data. Nothing forbids upgrading your OS or sharing the
cache with multiple versions.

12 years agoFix plugin strings translation
Rémi Denis-Courmont [Wed, 28 Jan 2009 21:05:52 +0000 (23:05 +0200)]
Fix plugin strings translation

12 years agospatializer: do not conflict with libvlccore options
Rémi Denis-Courmont [Wed, 28 Jan 2009 21:36:58 +0000 (23:36 +0200)]
spatializer: do not conflict with libvlccore options

12 years agoDocument a bit option flags.
Laurent Aimar [Wed, 28 Jan 2009 20:09:11 +0000 (21:09 +0100)]
Document a bit option flags.

12 years agoRemove unused change_float_list
Rémi Denis-Courmont [Wed, 28 Jan 2009 18:43:02 +0000 (20:43 +0200)]
Remove unused change_float_list

We should decide whether to use float or double before we bring it
back, if needed. In the mean time, it's best to remove the macro, as
the back-end did and still does not work.

12 years agoTrailing ;
Rémi Denis-Courmont [Wed, 28 Jan 2009 19:48:19 +0000 (21:48 +0200)]
Trailing ;

12 years agoUse libvlc_playlist_add_extended_untrusted in activex plugin.
Laurent Aimar [Wed, 28 Jan 2009 19:41:55 +0000 (20:41 +0100)]
Use libvlc_playlist_add_extended_untrusted in activex plugin.

12 years agoUse libvlc_playlist_add_extended_untrusted in mozilla plugin.
Laurent Aimar [Wed, 28 Jan 2009 19:31:59 +0000 (20:31 +0100)]
Use libvlc_playlist_add_extended_untrusted in mozilla plugin.

12 years agoAdded libvlc_playlist_add_extended_untrusted and libvlc_media_add_option_untrusted.
Laurent Aimar [Wed, 28 Jan 2009 19:20:21 +0000 (20:20 +0100)]
Added libvlc_playlist_add_extended_untrusted and libvlc_media_add_option_untrusted.

They allow to add untrusted options (needed at least for web plugin).

12 years agoCommand line options are lower-case
Rémi Denis-Courmont [Wed, 28 Jan 2009 17:33:49 +0000 (19:33 +0200)]
Command line options are lower-case

12 years agoquartztext: Fix trailing ;
Derk-Jan Hartman [Wed, 28 Jan 2009 00:46:57 +0000 (01:46 +0100)]
quartztext: Fix trailing ;

12 years agoUpdate LIST with new modules.
Jean-Baptiste Kempf [Wed, 28 Jan 2009 00:43:13 +0000 (01:43 +0100)]
Update LIST with new modules.

12 years agoAdded missing quote from command syntax
Mark Bidewell [Tue, 27 Jan 2009 22:10:46 +0000 (17:10 -0500)]
Added missing quote from command syntax

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoUpdate THANKS for ivoire and me
Jean-Philippe Andre [Tue, 27 Jan 2009 22:38:48 +0000 (23:38 +0100)]
Update THANKS for ivoire and me

12 years agoNEWS update
Jean-Philippe Andre [Tue, 27 Jan 2009 22:36:12 +0000 (23:36 +0100)]
NEWS update

12 years agoFix compilation
Jean-Philippe Andre [Tue, 27 Jan 2009 22:17:20 +0000 (23:17 +0100)]
Fix compilation

Missing ;

12 years agoZip: don't use hacks but rewrite the path.
Jean-Philippe Andre [Tue, 27 Jan 2009 21:51:30 +0000 (22:51 +0100)]
Zip: don't use hacks but rewrite the path.

+ remove MTU
+ fix copyright
Thanks a lot fenrir for this psz_path

12 years agoZip: add access/stream_filter to the buildsystem
Jean-Philippe Andre [Sun, 18 Jan 2009 18:40:27 +0000 (19:40 +0100)]
Zip: add access/stream_filter to the buildsystem

12 years agoZip: add a stream_filter and an access
Jean-Philippe Andre [Sun, 18 Jan 2009 18:34:32 +0000 (19:34 +0100)]
Zip: add a stream_filter and an access

The stream_filter does the following job:
[zip stream] -->filter--> [xspf playlist]

The access is called zip or unzip and takes MRLs of the form:
zip://[web-encoded-path]![file-in-zip]

As there is some automatic web-form decoding of the MRL,
the MRLs in the playlist generated by zipstream are encoded
two times.

12 years agoZip: remove compilation warnings in libs/unzip
Jean-Philippe Andre [Tue, 27 Jan 2009 21:38:25 +0000 (22:38 +0100)]
Zip: remove compilation warnings in libs/unzip

12 years agoZip: change path to the library in the buildsystem
Jean-Philippe Andre [Sun, 18 Jan 2009 18:27:56 +0000 (19:27 +0100)]
Zip: change path to the library in the buildsystem

12 years agoZip: move skins2/unzip to libs/unzip
Jean-Philippe Andre [Tue, 27 Jan 2009 21:16:13 +0000 (22:16 +0100)]
Zip: move skins2/unzip to libs/unzip

12 years agoTrailing ;
Rémi Denis-Courmont [Tue, 27 Jan 2009 21:22:05 +0000 (23:22 +0200)]
Trailing ;

12 years agoMerge vlc_submodule_create and vlc_config_create into vlc_plugin_set
Rémi Denis-Courmont [Tue, 27 Jan 2009 19:17:06 +0000 (21:17 +0200)]
Merge vlc_submodule_create and vlc_config_create into vlc_plugin_set

12 years agoMissing new lines
Rémi Denis-Courmont [Tue, 27 Jan 2009 19:00:45 +0000 (21:00 +0200)]
Missing new lines

12 years agoInternally merge vlc_module_set() and vlc_config_set()
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:50:16 +0000 (20:50 +0200)]
Internally merge vlc_module_set() and vlc_config_set()

12 years agoExternally merge vlc_config_set() and vlc_module_set()
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:42:40 +0000 (20:42 +0200)]
Externally merge vlc_config_set() and vlc_module_set()

12 years agoRemove trailing semi-colons
Rémi Denis-Courmont [Tue, 27 Jan 2009 20:48:24 +0000 (22:48 +0200)]
Remove trailing semi-colons

12 years agoCosmetic
Rémi Denis-Courmont [Tue, 27 Jan 2009 20:36:41 +0000 (22:36 +0200)]
Cosmetic

12 years agoPartially cleanup old module_list_cat hack
Rémi Denis-Courmont [Tue, 27 Jan 2009 19:45:35 +0000 (21:45 +0200)]
Partially cleanup old module_list_cat hack

12 years agoPrivatize vlc_module_create()
Rémi Denis-Courmont [Tue, 27 Jan 2009 20:03:53 +0000 (22:03 +0200)]
Privatize vlc_module_create()

12 years agoRemove old NODOMAIN stuff (ABI broken anyway)
Rémi Denis-Courmont [Tue, 27 Jan 2009 19:52:44 +0000 (21:52 +0200)]
Remove old NODOMAIN stuff (ABI broken anyway)

12 years agoRemove old VLC_MODULE_PROGRAM (we broke the ABI many times over)
Rémi Denis-Courmont [Tue, 27 Jan 2009 19:05:31 +0000 (21:05 +0200)]
Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over)

12 years agoQt: accelerate the menus
Jean-Philippe Andre [Tue, 27 Jan 2009 19:08:24 +0000 (20:08 +0100)]
Qt: accelerate the menus

Avoid string comparisons. Avoid foreach.

12 years agoSupport for tweaking package-part of install path
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:14:59 +0000 (20:14 +0200)]
Support for tweaking package-part of install path

I kept include files to ../vlc otherwise #include syntax would break

Now, it's up to changing PKGDIR="vlc" to PKGDIR="vlc-1.0".
We just need to decide.

12 years agovlc-plugin.pc: use pkgincludedir
Rémi Denis-Courmont [Tue, 27 Jan 2009 18:14:15 +0000 (20:14 +0200)]
vlc-plugin.pc: use pkgincludedir

12 years agoWinCE: add modules to build
Geoffroy Couprie [Tue, 27 Jan 2009 17:24:06 +0000 (18:24 +0100)]
WinCE: add modules to build

12 years agoWinCE: no MonitorFromWindow
Geoffroy Couprie [Tue, 27 Jan 2009 17:22:04 +0000 (18:22 +0100)]
WinCE: no MonitorFromWindow

12 years agoWinCE: reduce stack size
Geoffroy Couprie [Tue, 27 Jan 2009 17:19:49 +0000 (18:19 +0100)]
WinCE: reduce stack size

12 years agoWin32 cancel assert fixes
Rémi Denis-Courmont [Tue, 27 Jan 2009 16:52:18 +0000 (18:52 +0200)]
Win32 cancel assert fixes

12 years agoLinux: (try to) set close-on-exec in open() system call
Rémi Denis-Courmont [Tue, 27 Jan 2009 16:04:11 +0000 (18:04 +0200)]
Linux: (try to) set close-on-exec in open() system call

This Linux-specific extension fixes the close-on-exec race.

12 years agoRemove redumdant fcntl() calls
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:57:55 +0000 (17:57 +0200)]
Remove redumdant fcntl() calls

12 years agoutf8_open: set the close-on-exec descriptor flag
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:55:34 +0000 (17:55 +0200)]
utf8_open: set the close-on-exec descriptor flag

This departs from utf8_open() being a pure open() + Unicode function.
We should really always set the flag anyway, so lets factor the code.
There is still a tiny race between open() and the second fcntl() system
call, but it cannot quite be fixed within the current POSIX standards.

By the way, the correct way to clear the flag would be _after_ fork(),
but I am not aware of any such case involving utf8_open() in the
current tree.

12 years agovlc_savecancel: missing return value on main thread
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:42:17 +0000 (17:42 +0200)]
vlc_savecancel: missing return value on main thread

We return true to pass killable assertion in vlc_restorecancel()

12 years agovlc_restorecancel: add an assertion
Rémi Denis-Courmont [Tue, 27 Jan 2009 15:43:59 +0000 (17:43 +0200)]
vlc_restorecancel: add an assertion

12 years agoShould fix compilation. Thanks to alienBob for reporting and testing.
Antoine Cellerier [Tue, 27 Jan 2009 13:03:55 +0000 (14:03 +0100)]
Should fix compilation. Thanks to alienBob for reporting and testing.

12 years agoQt: Fix getMRL() and QList<T>::operator[]: "index out of range". Close #2458
Jean-Baptiste Kempf [Tue, 27 Jan 2009 08:54:01 +0000 (09:54 +0100)]
Qt: Fix getMRL() and QList<T>::operator[]: "index out of range". Close #2458

12 years agoFix Win32 build after osdmenu removal.
Jean-Baptiste Kempf [Tue, 27 Jan 2009 08:18:11 +0000 (09:18 +0100)]
Fix Win32 build after osdmenu removal.

Close #2456

12 years agodemux_ts: use var_CreateGet instead of var_Create+var_Get.
Rémi Duraffort [Mon, 26 Jan 2009 22:27:58 +0000 (23:27 +0100)]
demux_ts: use var_CreateGet instead of var_Create+var_Get.

12 years agovar_*Bool return a boolean.
Rémi Duraffort [Mon, 26 Jan 2009 22:06:16 +0000 (23:06 +0100)]
var_*Bool return a boolean.

12 years agoFixed missing vlc_savecancel in globalhotkeys (x11).
Laurent Aimar [Mon, 26 Jan 2009 22:01:03 +0000 (23:01 +0100)]
Fixed missing vlc_savecancel in globalhotkeys (x11).

12 years agohotkeys: fix potential buffer overflows, use var_CreateGetString,
Rémi Duraffort [Mon, 26 Jan 2009 21:52:38 +0000 (22:52 +0100)]
hotkeys: fix potential buffer overflows, use var_CreateGetString,
fix memleaks and use pl_Release.

12 years agocodec_cmml: fix memleaks (and maybe a proble while opening browser under linux).
Rémi Duraffort [Mon, 26 Jan 2009 21:33:00 +0000 (22:33 +0100)]
codec_cmml: fix memleaks (and maybe a proble while opening browser under linux).

12 years agoaccess_http: fix segfault due to unitialised bonjour variable.
Rémi Duraffort [Mon, 26 Jan 2009 21:13:21 +0000 (22:13 +0100)]
access_http: fix segfault due to unitialised bonjour variable.
(the bonjour part is now completely commented out)

12 years agoFixed returned value in osd_FindButton.
Laurent Aimar [Mon, 26 Jan 2009 21:45:07 +0000 (22:45 +0100)]
Fixed returned value in osd_FindButton.

12 years agoFixed compilation warning (missing return value).
Laurent Aimar [Mon, 26 Jan 2009 21:43:55 +0000 (22:43 +0100)]
Fixed compilation warning (missing return value).

12 years agoFixed missing type for b_was_paused.
Laurent Aimar [Mon, 26 Jan 2009 21:42:52 +0000 (22:42 +0100)]
Fixed missing type for b_was_paused.

Isn't there a gcc flag to avoid compiling that ?
 const a = value.

12 years agoRemove traces of wxwidgets.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 21:08:01 +0000 (22:08 +0100)]
Remove traces of wxwidgets.

12 years agoWxWidgets: Bye Bye, I will not miss you.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 21:02:45 +0000 (22:02 +0100)]
WxWidgets: Bye Bye, I will not miss you.

Acked-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoXCB: grey scale output support
Rémi Denis-Courmont [Mon, 26 Jan 2009 20:57:29 +0000 (22:57 +0200)]
XCB: grey scale output support

There is a problem with blending GREY on GREY though.
Use `Xephyr -grayscale` to test.

12 years agowxwidget: fix #2444 (I just don't want to leave on stupid bug open)
Rémi Duraffort [Mon, 26 Jan 2009 20:05:10 +0000 (21:05 +0100)]
wxwidget: fix #2444 (I just don't want to leave on stupid bug open)

12 years agoMemory leak (fix #2448)
Rémi Denis-Courmont [Mon, 26 Jan 2009 19:55:36 +0000 (21:55 +0200)]
Memory leak (fix #2448)

N.B.: I hate branching macros for a reason

12 years agoNEWS: add the scaling hotkey to it, since this will remove so many rants on the forum.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:44:38 +0000 (20:44 +0100)]
NEWS: add the scaling hotkey to it, since this will remove so many rants on the forum.

12 years ago10l: Oops.Sorry. Fix build.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:40:42 +0000 (20:40 +0100)]
10l: Oops.Sorry. Fix build.

12 years agoQt: Media menu rewording.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:37:37 +0000 (20:37 +0100)]
Qt: Media menu rewording.

12 years agoDon't change enum orders.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:33:37 +0000 (20:33 +0100)]
Don't change enum orders.

12 years agoQt menus: scaling is accessible through Video Menu.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:26:06 +0000 (20:26 +0100)]
Qt menus: scaling is accessible through Video Menu.

12 years agoQt: open and open advanced for everyone.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 19:18:40 +0000 (20:18 +0100)]
Qt: open and open advanced for everyone.

12 years agoEnabling scaling activation/deactivation
Joseph Tulou [Mon, 26 Jan 2009 17:12:20 +0000 (18:12 +0100)]
Enabling scaling activation/deactivation

this patch adds a parameter ( --[no]-scaling) and a toggle hotkey ('o')
At fullscreen, it allows displaying a video at original size surrounded by a black screen.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoUpdate myself
Rémi Denis-Courmont [Mon, 26 Jan 2009 19:20:15 +0000 (21:20 +0200)]
Update myself

until we implement whatever we decided regard the authors files

12 years agoembedded snapshot: remove useless comment
Olivier Aubert [Mon, 26 Jan 2009 18:38:17 +0000 (19:38 +0100)]
embedded snapshot: remove useless comment

12 years agoQt: Change open dialog behaviour and layout in most categories.
Jean-Baptiste Kempf [Mon, 26 Jan 2009 18:05:57 +0000 (19:05 +0100)]
Qt: Change open dialog behaviour and layout in most categories.

Internal is now QStringList items and QString options (for the first Item, of course)

    There shouldn't be too many regressions, but testing is welcome

12 years agoUse Live555 'double authorization' for RTSP-over-HTTP
Steven Kramer [Mon, 26 Jan 2009 13:28:19 +0000 (14:28 +0100)]
Use Live555 'double authorization' for RTSP-over-HTTP

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoembedded snapshot: use condition variable
Olivier Aubert [Mon, 26 Jan 2009 15:57:48 +0000 (16:57 +0100)]
embedded snapshot: use condition variable

Let's see if this fits courmisch's standards...

12 years agointerface: fix building on MacOS X
Jean-Paul Saman [Mon, 26 Jan 2009 13:24:00 +0000 (14:24 +0100)]
interface: fix building on MacOS X

12 years agoRemove osdmenu configurations minimal and dvd pictures.
Jean-Paul Saman [Sat, 20 Dec 2008 17:02:29 +0000 (18:02 +0100)]
Remove osdmenu configurations minimal and dvd pictures.

Osdmenu 'dvd' configuration is the same as 'default' configuration and 'minimal' is just a simple example. The 'default' configuration is descriptive enough in combination with doxygen comments.

12 years agolibvlc: Fix a (tiny) buffer overflow and fix #2449
Rémi Duraffort [Mon, 26 Jan 2009 15:10:54 +0000 (16:10 +0100)]
libvlc: Fix a (tiny) buffer overflow and fix #2449

12 years agostream_out_rtp: fix potential memleak (#2447)
Rémi Duraffort [Mon, 26 Jan 2009 14:59:55 +0000 (15:59 +0100)]
stream_out_rtp: fix potential memleak (#2447)

12 years agoRewording of some categories of Preferences, avoid "General" as a title and using...
Jean-Baptiste Kempf [Mon, 26 Jan 2009 13:51:05 +0000 (14:51 +0100)]
Rewording of some categories of Preferences, avoid "General" as a title and using "VLC", every other two lines...