]> git.sesse.net Git - vlc/log
vlc
15 years agovlc_object_find(playlist) is an error
Rémi Denis-Courmont [Sat, 14 Jun 2008 14:10:40 +0000 (17:10 +0300)]
vlc_object_find(playlist) is an error

15 years agoMake the playlist a generic object
Rémi Denis-Courmont [Sat, 14 Jun 2008 14:08:58 +0000 (17:08 +0300)]
Make the playlist a generic object

15 years agoinput: Fix a typo in previous commit.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:58:28 +0000 (15:58 +0200)]
input: Fix a typo in previous commit.

15 years agoRevert "events: use input_state_e in input_state_changed."
Pierre d'Herbemont [Sat, 14 Jun 2008 13:52:23 +0000 (15:52 +0200)]
Revert "events: use input_state_e in input_state_changed."

This reverts commit 627aaa888d8bf6f2fa64749263128be78791b462.

Well, we do need to define the type first. Limitation of how we declared events.

15 years agoevents: use input_state_e in input_state_changed.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:49:42 +0000 (15:49 +0200)]
events: use input_state_e in input_state_changed.

15 years agoevents: vlc_input_state_changed->input_state_changed
Pierre d'Herbemont [Sat, 14 Jun 2008 13:47:26 +0000 (15:47 +0200)]
events: vlc_input_state_changed->input_state_changed

15 years agoinput: Send vlc_InputItemInfoChanged, and vlc_InputItemNameChanged events.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:45:44 +0000 (15:45 +0200)]
input: Send vlc_InputItemInfoChanged, and vlc_InputItemNameChanged events.

15 years agolibvlccore.sym: Alphabetical order fix.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:34:54 +0000 (15:34 +0200)]
libvlccore.sym: Alphabetical order fix.

15 years agolibvlc_media_player: Use the input event instead of "state" var callback.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:33:20 +0000 (15:33 +0200)]
libvlc_media_player: Use the input event instead of "state" var callback.

15 years agoinput: Remove vlc_playlist.h inclusion.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:15:19 +0000 (15:15 +0200)]
input: Remove vlc_playlist.h inclusion.

15 years agoinput: No need to playlist_Signal() on error now that the playlist receive state...
Pierre d'Herbemont [Sat, 14 Jun 2008 13:14:50 +0000 (15:14 +0200)]
input: No need to playlist_Signal() on error now that the playlist receive state changed events.

15 years agoinput: No need to signal input's end to the playlist now that the playlist gets an...
Pierre d'Herbemont [Sat, 14 Jun 2008 13:14:04 +0000 (15:14 +0200)]
input: No need to signal input's end to the playlist now that the playlist gets an event for that one.

15 years agoplaylist: Respond to input state changed event.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:12:52 +0000 (15:12 +0200)]
playlist: Respond to input state changed event.

15 years agoplaylist: de-inline p_input setters.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:11:41 +0000 (15:11 +0200)]
playlist: de-inline p_input setters.

15 years agoplaylist: Use a set/release accessor for playlist->p_input.
Pierre d'Herbemont [Sat, 14 Jun 2008 13:03:15 +0000 (15:03 +0200)]
playlist: Use a set/release accessor for playlist->p_input.

(To better track when to attach/detach events).

15 years agoinput: Change the state to END_S when playback is really finished.
Pierre d'Herbemont [Sat, 14 Jun 2008 12:51:44 +0000 (14:51 +0200)]
input: Change the state to END_S when playback is really finished.

15 years agoinput: Add input_get_event_manager().
Pierre d'Herbemont [Sat, 14 Jun 2008 12:16:24 +0000 (14:16 +0200)]
input: Add input_get_event_manager().

15 years agoinput: Send vlc_InputStateChanged events.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:49:49 +0000 (13:49 +0200)]
input: Send vlc_InputStateChanged events.

15 years agoinput: Register vlc_InputStateChanged event.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:37:02 +0000 (13:37 +0200)]
input: Register vlc_InputStateChanged event.

15 years agoinput: Add an event manager to the input.
Pierre d'Herbemont [Sat, 14 Jun 2008 11:21:10 +0000 (13:21 +0200)]
input: Add an event manager to the input.

Currently libvlc uses "state" callback to notice input state changes, and the playlist notice input state change via direct call from the input.
playlist can't use the "state" variable as it is also used by the playlist to ask the input to do a certain action.

The event approach is much more clear here.

15 years agoevents: Add wrappers around vlc_event_manager_init for object casting.
Pierre d'Herbemont [Sat, 14 Jun 2008 10:19:05 +0000 (12:19 +0200)]
events: Add wrappers around vlc_event_manager_init for object casting.

15 years agoevents: Fix docs.
Pierre d'Herbemont [Sat, 14 Jun 2008 10:09:14 +0000 (12:09 +0200)]
events: Fix docs.

15 years agoTurn comment into error message.
Jean-Paul Saman [Sat, 14 Jun 2008 09:05:32 +0000 (11:05 +0200)]
Turn comment into error message.

15 years agoFix indentation.
Jean-Paul Saman [Sat, 14 Jun 2008 08:00:42 +0000 (10:00 +0200)]
Fix indentation.

15 years agoRemove trailing whitespace
Jean-Paul Saman [Fri, 13 Jun 2008 15:03:24 +0000 (17:03 +0200)]
Remove trailing whitespace

15 years agoAdd playlist_CurrentId() to get the playlist item id from the currently playing item.
Jean-Paul Saman [Fri, 13 Jun 2008 14:18:55 +0000 (16:18 +0200)]
Add playlist_CurrentId() to get the playlist item id from the currently playing item.

15 years agoFix indentation in some of the structs defintions.
Jean-Paul Saman [Fri, 13 Jun 2008 14:16:06 +0000 (16:16 +0200)]
Fix indentation in some of the structs defintions.

15 years agoAdd comment about getVariable() and setVariable() JS function: they are removed becau...
Jean-Paul Saman [Tue, 10 Jun 2008 14:34:25 +0000 (16:34 +0200)]
Add comment about getVariable() and setVariable() JS function: they are removed because of their security implications. Everyone is advice to use the newer ActiveX v2 (IVLCControl2) interface instead.

15 years agoFix building of ActiveX control with 3 functions being unimplemented right now:
Jean-Paul Saman [Tue, 10 Jun 2008 14:25:13 +0000 (16:25 +0200)]
Fix building of ActiveX control with 3 functions being unimplemented right now:
- VLCControl::setVariable()
- VLCControl::getVariable()
- VLCControl::get_PlaylistIndex()

15 years agoFix compiler error.
Jean-Paul Saman [Tue, 10 Jun 2008 14:24:38 +0000 (16:24 +0200)]
Fix compiler error.

15 years agoReadibility improvement.
Jean-Paul Saman [Tue, 10 Jun 2008 13:54:25 +0000 (15:54 +0200)]
Readibility improvement.

15 years agoFix get_VersionInfo() and break long lines.
Jean-Paul Saman [Tue, 10 Jun 2008 13:53:34 +0000 (15:53 +0200)]
Fix get_VersionInfo() and break long lines.

15 years agoMove Toolbar to the IVLCControl2 interface object, where it should have been all...
Jean-Paul Saman [Tue, 10 Jun 2008 13:39:59 +0000 (15:39 +0200)]
Move Toolbar to the IVLCControl2 interface object, where it should have been all along.

15 years agoUse the same internal libvlc API as vlccontrol2.cpp does.
Jean-Paul Saman [Tue, 10 Jun 2008 08:57:07 +0000 (10:57 +0200)]
Use the same internal libvlc API as vlccontrol2.cpp does.

15 years agoAdd some sane default values.
Jean-Paul Saman [Tue, 10 Jun 2008 08:55:32 +0000 (10:55 +0200)]
Add some sane default values.

15 years agoRemove VLCPlugin::getVLCObject() methond from ActiveX
Jean-Paul Saman [Tue, 10 Jun 2008 07:43:29 +0000 (09:43 +0200)]
Remove VLCPlugin::getVLCObject() methond from ActiveX

15 years agoAdd missing include to activex/plugin.h
Jean-Paul Saman [Tue, 10 Jun 2008 07:03:06 +0000 (09:03 +0200)]
Add missing include to activex/plugin.h

15 years agoRevert "Desactivate activex until it's fixed"
Jean-Paul Saman [Sun, 8 Jun 2008 17:53:58 +0000 (19:53 +0200)]
Revert "Desactivate activex until it's fixed"

This reverts commit 722f244d86015adc90ec9c7687856d941a5bf207.

15 years agoIndentation fix.
Jean-Paul Saman [Sun, 8 Jun 2008 17:52:25 +0000 (19:52 +0200)]
Indentation fix.

15 years agoRevert "Do not try to build the ActiveX so we can at least have nightlies."
Jean-Paul Saman [Sun, 8 Jun 2008 17:51:57 +0000 (19:51 +0200)]
Revert "Do not try to build the ActiveX so we can at least have nightlies."

This reverts commit 097f8fc9cddf85baac0ad3083c13a85384e86e66.

15 years agoMore config.status magic.
Christophe Mutricy [Fri, 13 Jun 2008 23:24:31 +0000 (00:24 +0100)]
More config.status magic.

I'm not sure why we have a PRODUCT_VERSION and VERSION

15 years agoFix logic and comment
Christophe Mutricy [Fri, 13 Jun 2008 23:22:28 +0000 (00:22 +0100)]
Fix logic and comment

15 years agoCosmetic
Christophe Mutricy [Fri, 13 Jun 2008 23:04:31 +0000 (00:04 +0100)]
Cosmetic

15 years agodemux/dummy: Remove vlc_playlist.h inclusion now.
Pierre d'Herbemont [Fri, 13 Jun 2008 21:09:04 +0000 (23:09 +0200)]
demux/dummy: Remove vlc_playlist.h inclusion now.

15 years agodemux/dummy: No need to check for playlist availability. (Also fix #1543)
Pierre d'Herbemont [Fri, 13 Jun 2008 21:01:08 +0000 (23:01 +0200)]
demux/dummy: No need to check for playlist availability. (Also fix #1543)

This is a bit contriversial, but libvlc actually uses vlc://nop, and this without a playlist.

15 years agoImplement the full/basic switch correctly and completely. Additionally, fixed a rare...
Felix Paul Kühne [Fri, 13 Jun 2008 17:54:08 +0000 (19:54 +0200)]
Implement the full/basic switch correctly and completely. Additionally, fixed a rare sprefs init failure.

15 years agoRemoved useless setting which can confuse some setups
Felix Paul Kühne [Fri, 13 Jun 2008 17:25:50 +0000 (19:25 +0200)]
Removed useless setting which can confuse some setups

15 years agoAdd support for the http proxy password setting to the simple prefs and make sure...
Felix Paul Kühne [Fri, 13 Jun 2008 16:45:58 +0000 (18:45 +0200)]
Add support for the http proxy password setting to the simple prefs and make sure that the last.fm password isn't displayed as plain text

15 years agoHTTP: put the password to a separate field, so we can have ****
Rémi Denis-Courmont [Fri, 13 Jun 2008 15:52:09 +0000 (18:52 +0300)]
HTTP: put the password to a separate field, so we can have ****

15 years agoVLCKit: Typo and create a link to include and share.
Pierre d'Herbemont [Fri, 13 Jun 2008 14:29:32 +0000 (16:29 +0200)]
VLCKit: Typo and create a link to include and share.

15 years agoVLCKit: Fix #1587 "missing libvlc/mediacontrol header files".
Pierre d'Herbemont [Fri, 13 Jun 2008 14:10:56 +0000 (16:10 +0200)]
VLCKit: Fix #1587 "missing libvlc/mediacontrol header files".

Headers are in VLCKit.framework/include/vlc.

15 years agolibvlc: Fix compilation of libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:47:11 +0000 (15:47 +0200)]
libvlc: Fix compilation of libvlc_media_player_set_drawable().

15 years agolibvlc: libvlc_video_set_parent and libvlc_video_get_parent are deprecated.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:42:24 +0000 (15:42 +0200)]
libvlc: libvlc_video_set_parent and libvlc_video_get_parent are deprecated.

15 years agolibvlc_video_set_parent: Use libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:39:47 +0000 (15:39 +0200)]
libvlc_video_set_parent: Use libvlc_media_player_set_drawable().

15 years agolibvlc_video_get_width: Don't use a potentially freed pointer.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:38:23 +0000 (15:38 +0200)]
libvlc_video_get_width: Don't use a potentially freed pointer.

Pointed-out-by: Lukas
15 years agolibvlc_media_player: Coding style.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:37:21 +0000 (15:37 +0200)]
libvlc_media_player: Coding style.

15 years agolibvlc_video_get_height: Don't use a potentially freed pointer.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:36:44 +0000 (15:36 +0200)]
libvlc_video_get_height: Don't use a potentially freed pointer.

Pointed-out-by: Lukas
15 years agolibvlc_media_player: Allow reparenting in libvlc_media_player_set_drawable().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:35:16 +0000 (15:35 +0200)]
libvlc_media_player: Allow reparenting in libvlc_media_player_set_drawable().

15 years agolibvlc_video: More line saving on error cases
Pierre d'Herbemont [Fri, 13 Jun 2008 13:20:11 +0000 (15:20 +0200)]
libvlc_video: More line saving on error cases

15 years agolibvlc_video: Suppress playlist existence checks.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:16:55 +0000 (15:16 +0200)]
libvlc_video: Suppress playlist existence checks.

15 years agolibvlc_video_set_viewport: No need to check playlist status.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:15:13 +0000 (15:15 +0200)]
libvlc_video_set_viewport: No need to check playlist status.

15 years agolibvlc_video_set_viewport: Make sure we don't crash if view is NULL.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:14:38 +0000 (15:14 +0200)]
libvlc_video_set_viewport: Make sure we don't crash if view is NULL.

15 years agolibvlc_video: Save a few line in error case handling.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:13:34 +0000 (15:13 +0200)]
libvlc_video: Save a few line in error case handling.

15 years agolibvlc_video: More simplification.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:12:05 +0000 (15:12 +0200)]
libvlc_video: More simplification.

15 years agolibvlc_video: Rename p_vout1->p_vout.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:07:39 +0000 (15:07 +0200)]
libvlc_video: Rename p_vout1->p_vout.

15 years agolibvlc: comment about libvlc_video_destroy().
Pierre d'Herbemont [Fri, 13 Jun 2008 13:07:15 +0000 (15:07 +0200)]
libvlc: comment about libvlc_video_destroy().

15 years agolibvlc: move libvlc_video_destroy to the deprecated function.
Pierre d'Herbemont [Fri, 13 Jun 2008 13:04:57 +0000 (15:04 +0200)]
libvlc: move libvlc_video_destroy to the deprecated function.

It is doing something not supported at all.

15 years agolibvlc: Simplify get/set/toggle_fullscreen.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:59:48 +0000 (14:59 +0200)]
libvlc: Simplify get/set/toggle_fullscreen.

15 years agolibvlc: Properly release vout. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:56:18 +0000 (14:56 +0200)]
libvlc: Properly release vout. Pointed out by Lukas.

15 years agolibvlc: Don't attempt to search an input's vout everywhere. Only search it in input...
Pierre d'Herbemont [Fri, 13 Jun 2008 12:55:03 +0000 (14:55 +0200)]
libvlc: Don't attempt to search an input's vout everywhere. Only search it in input's children.

15 years agolibvlc: Fix GetVout's comment. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:54:07 +0000 (14:54 +0200)]
libvlc: Fix GetVout's comment. Pointed out by Lukas.

15 years agoReplaced a certain amount of vlc_object_find by pl_Yield
Felix Paul Kühne [Fri, 13 Jun 2008 07:48:13 +0000 (09:48 +0200)]
Replaced a certain amount of vlc_object_find by pl_Yield

Great news: there is no need to check for the existance of the playlist!

15 years agoBootstrap when you modify configure.in
Jean-Baptiste Kempf [Fri, 13 Jun 2008 07:04:15 +0000 (09:04 +0200)]
Bootstrap when you modify configure.in

15 years agoWe can't use this plugin for audio decoding on Leopard due to the removal of the...
Felix Paul Kühne [Fri, 13 Jun 2008 06:45:04 +0000 (08:45 +0200)]
We can't use this plugin for audio decoding on Leopard due to the removal of the old pre-carbon SoundManager API.

As this plugin is heavily based on QuickDraw and Sound Manager, we definitively want a re-write using sane and supported APIs meaning either QTKit or a combination of CoreAudio and the 32bit C QuickTime API

15 years agoLibdvdread fix on Win$uck$
Jean-Baptiste Kempf [Fri, 13 Jun 2008 06:26:18 +0000 (08:26 +0200)]
Libdvdread fix on Win$uck$

15 years agoAdded complete l10n to the Capture interface and a useful error messages to the input...
Felix Paul Kühne [Fri, 13 Jun 2008 00:16:11 +0000 (02:16 +0200)]
Added complete l10n to the Capture interface and a useful error messages to the input module

15 years agoAssigned cmd-R to 'Open Capture Device'
Felix Paul Kühne [Thu, 12 Jun 2008 23:57:11 +0000 (01:57 +0200)]
Assigned cmd-R to 'Open Capture Device'

15 years agoDon't double free objects on error. Pointed by Pierre
Felix Paul Kühne [Thu, 12 Jun 2008 23:47:34 +0000 (01:47 +0200)]
Don't double free objects on error. Pointed by Pierre

15 years agoFixes and cleanup
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:54:13 +0000 (23:54 +0300)]
Fixes and cleanup

15 years agoWx: remove translations
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:33:37 +0000 (23:33 +0300)]
Wx: remove translations

15 years agoWxWidgets: good bye, I will not miss you.
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:32:14 +0000 (23:32 +0300)]
WxWidgets: good bye, I will not miss you.

If you wanted to keep it, you've had two years to take maintainership
and start fixing this mess. It's a bit late.

15 years agoRefer to Qt4 rather than WxWidgets for interactions
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:29:15 +0000 (23:29 +0300)]
Refer to Qt4 rather than WxWidgets for interactions

15 years agoDisable vout_RequestWindow. It has never worked properly
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:19:58 +0000 (23:19 +0300)]
Disable vout_RequestWindow. It has never worked properly

Some people should have read some documentation about threading before
they did 1000+ commits. Yes, I am obviously annoyed. I have been fixing
VLC for 18 months because of these "great former developers".

15 years agoRemove services discovery tasks before the playlist
Rémi Denis-Courmont [Thu, 12 Jun 2008 19:01:16 +0000 (22:01 +0300)]
Remove services discovery tasks before the playlist

I assume nothing can ever try to add a new one once the interfaces have
been destroyed. If not there is a race condition.

15 years agoFix previous commit
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:53:33 +0000 (21:53 +0300)]
Fix previous commit

15 years agoNULLify p_playlist when the playlist is gone
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:37:23 +0000 (21:37 +0300)]
NULLify p_playlist when the playlist is gone

15 years agolive: add --rtsp-mcast to force multicast
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:12:21 +0000 (21:12 +0300)]
live: add --rtsp-mcast to force multicast

15 years agoboolean cosmetics
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:11:49 +0000 (21:11 +0300)]
boolean cosmetics

15 years agoVLCKit: Use --ignore-config.
Pierre d'Herbemont [Thu, 12 Jun 2008 17:50:01 +0000 (19:50 +0200)]
VLCKit: Use --ignore-config.

15 years agoopengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable...
Pierre d'Herbemont [Thu, 12 Jun 2008 17:47:11 +0000 (19:47 +0200)]
opengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable it at configure time if needed.

15 years agoRedesign the Capture Device panel
Felix Paul Kühne [Thu, 12 Jun 2008 17:38:39 +0000 (19:38 +0200)]
Redesign the Capture Device panel

Complete l10n to be done later on

15 years agoDon't block all signals.
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:40:23 +0000 (20:40 +0300)]
Don't block all signals.

Some (buggy?) thread implementations use RT signals internally...
The handling of SIGPIPE remains somewhat problematic. We should probably
use MSG_NOSIGNAL when writing to sockets, but this does not work when
dealing with pipes/FIFOs or writing to sockets using write(). In
particular, net_Write uses write() so that it can be used on non-socket
descriptors too (I believe this is used by the RC interface).

15 years agoaccept: ignore interrupts
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:22:03 +0000 (20:22 +0300)]
accept: ignore interrupts

15 years agoconnect: handle EINTR
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:16:55 +0000 (20:16 +0300)]
connect: handle EINTR

Though this should not happen as we are using non-blocking mode

15 years agoFile: devices are not seekable
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:10:55 +0000 (20:10 +0300)]
File: devices are not seekable

Character device may be seekable (depending on the device) and block
device are seekable, but only on certain boundaries which we don't
handle.

15 years agoNetwork: handle interrupts when reading and some comments
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:09:53 +0000 (20:09 +0300)]
Network: handle interrupts when reading and some comments

15 years agoaccess_out_file: fix non-atomic write and error handling
Rémi Denis-Courmont [Thu, 12 Jun 2008 16:54:10 +0000 (19:54 +0300)]
access_out_file: fix non-atomic write and error handling

15 years agoFactorize interrupt handling
Rémi Denis-Courmont [Thu, 12 Jun 2008 16:52:12 +0000 (19:52 +0300)]
Factorize interrupt handling

15 years agoWarning killing.
Jean-Baptiste Kempf [Thu, 12 Jun 2008 07:47:59 +0000 (00:47 -0700)]
Warning killing.

15 years agoAlso fix the video output window thanks to IB2.5
Felix Paul Kühne [Thu, 12 Jun 2008 06:48:41 +0000 (08:48 +0200)]
Also fix the video output window thanks to IB2.5