]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:35:37 +0000 (19:35 +0300)]
vlc_timer_gettime: fix corner-case dead lock
If vlc_cancel() while the timer thread is between mwait() and
vlc_mutex_lock(), a dead lock would occur at vlc_join(). We need to
release the timer lock first.
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:09:44 +0000 (19:09 +0300)]
Fix forward compatibility with glibc > 2
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:08:49 +0000 (19:08 +0300)]
Force normal rather than default mutexes in release mode
Rémi Duraffort [Mon, 3 Aug 2009 16:11:22 +0000 (18:11 +0200)]
Fix make check.
Olivier Aubert [Mon, 3 Aug 2009 15:18:53 +0000 (17:18 +0200)]
python-ctypes: give running example
Invoking
python vlc.py filename.avi
will play the given movie.
Olivier Aubert [Mon, 3 Aug 2009 15:15:15 +0000 (17:15 +0200)]
python-ctypes: fix enum names conversion
Olivier Aubert [Mon, 3 Aug 2009 15:07:06 +0000 (17:07 +0200)]
python-ctypes: implement support for callbacks
Olivier Aubert [Mon, 3 Aug 2009 15:00:57 +0000 (17:00 +0200)]
python-ctypes: fix enum names conversion
Olivier Aubert [Mon, 3 Aug 2009 14:32:43 +0000 (16:32 +0200)]
python-ctypes: parse enum definition from libvlc_events.h.
It would be nice if its syntax was the same as all other enums...
Rémi Denis-Courmont [Mon, 3 Aug 2009 15:09:32 +0000 (18:09 +0300)]
sys/mount.h requires sys/param.h on OpenBSD
Pointed-out-by: Taylor Venable
Rémi Duraffort [Sun, 2 Aug 2009 20:14:55 +0000 (22:14 +0200)]
variables: use a more restrictive assert as all variable belong to a class.
(and also remove an unneeded include).
Ilkka Ollakka [Mon, 3 Aug 2009 08:33:48 +0000 (11:33 +0300)]
add add_font define to plugin defines, and change freetype to use it
Ilkka Ollakka [Mon, 3 Aug 2009 07:53:20 +0000 (10:53 +0300)]
QT4: enable fontdialog for choosing freetype-font family
At the moment it doesn't handle those size/bold/* stuff, only takes font
from it. But IMO still better than old file-choosing way.
Ilkka Ollakka [Mon, 3 Aug 2009 07:34:20 +0000 (10:34 +0300)]
QT4: remove Ensurevisible from scrollTo
Parameter is default, so no need to tell it here.
Ilkka Ollakka [Mon, 3 Aug 2009 07:33:18 +0000 (10:33 +0300)]
QT4: set rowUniformHeights to true on playlistview
according to doc, thisway view should be able to do some optimisation
over itself, and I didn't figure out anycase that rows wouldn't be same
height on playlist.
Rémi Denis-Courmont [Sun, 2 Aug 2009 19:40:37 +0000 (22:40 +0300)]
Remove BSDism
Rémi Denis-Courmont [Sun, 2 Aug 2009 17:12:28 +0000 (20:12 +0300)]
AVI: abort if user gave up while rebuilding the index (refs: #2872)
Previously, the core would fallback to other demux plugins which was
inefficient and error-prone.
Rémi Denis-Courmont [Sun, 2 Aug 2009 17:10:09 +0000 (20:10 +0300)]
module_need: give up if pf_activate returns VLC_ETIMEOUT (fixes: #2872)
A plugin can use this if it matched but detected a non-recoverable error
while inside the open callback. Help yourself if you want a "better"
error code.
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:54:19 +0000 (19:54 +0300)]
Do not exit with VLC error codes
exit() cannot return negative numbers (the high-order bits are ignored).
And anyway, that's not a meanigful place for VLC error codes. It is also
questionable whether we should exit() from LibVLC anyway...
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:51:59 +0000 (19:51 +0300)]
Replace VLC_ETHREAD with VLCENOMEM.
This is consistent with existing practice inside and outside of VLC.
We really don't need a separate error code for that.
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:33:32 +0000 (19:33 +0300)]
Win32: support loading plugins from directories with extra-ACP characters
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:26:11 +0000 (19:26 +0300)]
Use Unicode paths for plugins scan and ignore non-regular files
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:01:35 +0000 (19:01 +0300)]
AllocatePluginDir: remove dummy b_die check
Nothing can really kill VLC when browsing plugins, since nothing has
started.
Ilkka Ollakka [Sun, 2 Aug 2009 15:06:14 +0000 (18:06 +0300)]
QT: move sortingIndicator to correct position when columns are added/removed
This should be more clearer to user what column is used to sort (eg if
it's hidden, then hide sortIndicator also).
Ilkka Ollakka [Sun, 2 Aug 2009 13:07:48 +0000 (16:07 +0300)]
qt4: don't sort playlist by default take two
If you setSortingEnabled after setting model, it doesn't call sorting,
otherway around it does. Missed thatone on previous try.
Rémi Denis-Courmont [Sun, 2 Aug 2009 15:26:01 +0000 (18:26 +0300)]
Unused test
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:29:45 +0000 (15:29 +0300)]
Cleanup vlc_timer_* prototypes
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:01:04 +0000 (15:01 +0300)]
Win32: privatize vlc_timer layout too
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:00:20 +0000 (15:00 +0300)]
Win32: compile fix
Rémi Denis-Courmont [Sun, 2 Aug 2009 11:53:59 +0000 (14:53 +0300)]
POSIX: use pthread-based timers
This is inefficient. It could be optimized a lot with
epoll/timerfd on Linux and kqueue/kevent on BSD. Unfortunately, the
POSIX timer API is impossible to use in a thread-safe manner, other
than with signals.
Rémi Denis-Courmont [Sun, 2 Aug 2009 11:53:18 +0000 (14:53 +0300)]
Fix timer test
Rémi Denis-Courmont [Sun, 2 Aug 2009 06:49:35 +0000 (09:49 +0300)]
Preparser: detach thread and race to idle
Rémi Denis-Courmont [Sun, 2 Aug 2009 06:43:27 +0000 (09:43 +0300)]
fetcher: detach thread and race to idle
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:59:41 +0000 (23:59 +0300)]
vlc_detach: releases a thread handle asynchronously
Note that this can only be used safely in the core. In a plug-in, it
would introduce a race whereby dlclose() unmaps the code segment that
a detached thread is running (this was discussed over a year ago).
For that, we'd need something a bit more involved along the lines of
Win32's FreeLibraryAndExitThread().
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:58:39 +0000 (23:58 +0300)]
Win32: make vlc_thread_t a plain HANDLE (no heap alloc)
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:52:24 +0000 (23:52 +0300)]
Win32: unimplement thread result
This is never used currently. Removing it simplifies the next commits.
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:44:36 +0000 (23:44 +0300)]
Win32: no need to put thread function into vlc_thread_t
Felix Paul Kühne [Sat, 1 Aug 2009 23:41:38 +0000 (01:41 +0200)]
macosx: disable unloading
Felix Paul Kühne [Sat, 1 Aug 2009 23:41:00 +0000 (01:41 +0200)]
macosx: prepare the switch from dyld to 'Dynamic Loader Compatibility Functions' as partially intended by [
7147338b7439f7f4a5d6d9c86e8d5d7a8501be4d ]
Using Apple's legacy object file image functions around NSModule is strongly discouraged and won't work in the future at all.
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:05:10 +0000 (23:05 +0300)]
Revert "modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard"
This reverts commit
75b34a6ca8ca8301420bb5b38571702df90eed6a .
Felix Paul Kühne [Sat, 1 Aug 2009 19:51:55 +0000 (21:51 +0200)]
modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard
Rémi Denis-Courmont [Sat, 1 Aug 2009 18:35:54 +0000 (21:35 +0300)]
XCB screen: timer thread safety
Rémi Denis-Courmont [Sat, 1 Aug 2009 16:55:40 +0000 (19:55 +0300)]
Test cases for timers
Rémi Denis-Courmont [Sat, 1 Aug 2009 14:05:53 +0000 (17:05 +0300)]
Dummy: remove dummy (indeed) access, convert demux to access_demux
Rémi Denis-Courmont [Sat, 1 Aug 2009 14:02:27 +0000 (17:02 +0300)]
Dummy demux: simplify
Rémi Denis-Courmont [Sat, 1 Aug 2009 13:39:28 +0000 (16:39 +0300)]
Dummy: handle sub-second pauses
Jakob Leben [Thu, 30 Jul 2009 23:28:13 +0000 (01:28 +0200)]
Qt4 playlist: keep item order when moving
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Sat, 1 Aug 2009 12:46:51 +0000 (15:46 +0300)]
Revert "QT4: set sorting-connections by hand"
This reverts commit
3266085e187fc97cf3e037e6f9ea9dabefa2c4bc .
It triggers a crash whenever sorting manually.
Felix Paul Kühne [Sat, 1 Aug 2009 12:46:23 +0000 (14:46 +0200)]
contribs: enforce compilation settings for x264 and lua, too
Felix Paul Kühne [Sat, 1 Aug 2009 12:02:06 +0000 (14:02 +0200)]
contribs: make sure libgsm geet's compiled with the setup we chose on OS X
Laurent Aimar [Sat, 1 Aug 2009 11:52:06 +0000 (13:52 +0200)]
Removed prefetch whole file advise in the file access.
On all my linux PC (debian sid and lenny) it has really bad side effects,
mostly when seeking and at startup up (slow or even blocking), and makes
sshfs unusable.
Laurent Aimar [Sat, 1 Aug 2009 11:44:47 +0000 (13:44 +0200)]
Split back window module providers by type.
Ilkka Ollakka [Sat, 1 Aug 2009 10:04:19 +0000 (13:04 +0300)]
freetype: initialise fontresult to FcResultMatch
fontconfig doesn't really seem to set that result variable correctly
in allmost all cases, only few codepaths that it's setted to NoMatch,
but it doesn't get setted on valid paths or configerrors or any of
thosecases. Thanks to Laurent Aimar for this one.
Laurent Aimar [Fri, 31 Jul 2009 22:32:54 +0000 (00:32 +0200)]
Moved out video statistics to its own file and use a dedicated lock.
Laurent Aimar [Fri, 31 Jul 2009 22:06:41 +0000 (00:06 +0200)]
Moved out snapshot code to a standalone file.
Laurent Aimar [Fri, 31 Jul 2009 19:59:47 +0000 (21:59 +0200)]
Updated xcb vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:58:57 +0000 (21:58 +0200)]
Updated omapfb vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:58:08 +0000 (21:58 +0200)]
Updated msw vout modules to the new window API.
Laurent Aimar [Fri, 31 Jul 2009 19:35:00 +0000 (21:35 +0200)]
Updated xlib vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:26:00 +0000 (21:26 +0200)]
Updated drawable vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:24:33 +0000 (21:24 +0200)]
Updated maemo vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:23:12 +0000 (21:23 +0200)]
Updated skins2 vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:16:32 +0000 (21:16 +0200)]
Updated qt4 vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:15:33 +0000 (21:15 +0200)]
Modified vout_window_t to be completly independant of vout.
Anthony Loiseau [Mon, 11 May 2009 08:38:02 +0000 (10:38 +0200)]
Tag some more options as safe
Add:
- http-user-agent
- ps-trust-timestamps
- vout-event
And some rtsp options (username, passwd)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:42:00 +0000 (11:42 +0300)]
Update thanks
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:39:15 +0000 (11:39 +0300)]
Bump libvlccore version to compensate 1.0-bugfix age increase
I don't know if this is really useful. On Linux it is not really useful
given the libtool versioning algorithm (VER:REV:AGE -> VER-AGE:AGE:REV)
ensures different sonames in any case.
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:37:31 +0000 (11:37 +0300)]
Revert "Increased version-info after modification in 1.0 branch."
This reverts commit
17eb17c58c0f0a86c3e6d74a8c87067e2e049520 .
Branko Kokanovic [Sat, 18 Jul 2009 08:18:15 +0000 (10:18 +0200)]
Adding mirror video filter
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
ogg.k.ogg.k [Thu, 30 Jul 2009 10:12:22 +0000 (11:12 +0100)]
factor the ogg paging code
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
Felix Paul Kühne [Fri, 31 Jul 2009 13:43:54 +0000 (15:43 +0200)]
macosx: implemented 'play-and-exit' (closes #2237)
Should be backported.
Felix Paul Kühne [Fri, 31 Jul 2009 13:09:53 +0000 (15:09 +0200)]
macosx: implemented the input-slave option for file inputs
Olivier Aubert [Fri, 31 Jul 2009 16:01:41 +0000 (18:01 +0200)]
python-ctypes: implement iterator protocol for Log
Olivier Aubert [Fri, 31 Jul 2009 15:58:36 +0000 (17:58 +0200)]
python-ctypes: improve documentation generation
JP Dinger [Tue, 28 Jul 2009 14:04:47 +0000 (16:04 +0200)]
Simplify the other part, too.
JP Dinger [Mon, 27 Jul 2009 13:54:53 +0000 (15:54 +0200)]
Factorise list.sh a bit: rewrite some multiple commands as one where easy.
JP Dinger [Fri, 31 Jul 2009 16:26:16 +0000 (18:26 +0200)]
Drop a const on a static array and misc cleanup.
Olivier Aubert [Fri, 31 Jul 2009 15:29:26 +0000 (17:29 +0200)]
python-ctypes: fix docstrings
Olivier Aubert [Fri, 31 Jul 2009 15:22:16 +0000 (17:22 +0200)]
python-ctypes: fix doxygen to epydoc comment conversion
Olivier Aubert [Fri, 31 Jul 2009 15:21:14 +0000 (17:21 +0200)]
Fix comments/variable names in includes
Olivier Aubert [Fri, 31 Jul 2009 15:11:38 +0000 (17:11 +0200)]
python-ctypes: update README
Olivier Aubert [Fri, 31 Jul 2009 15:06:25 +0000 (17:06 +0200)]
python-ctypes: offer shortcuts for MediaList and MediaListPlayer creation
Olivier Aubert [Fri, 31 Jul 2009 14:59:18 +0000 (16:59 +0200)]
python-ctypes: fix spacing in docstring comments
Olivier Aubert [Fri, 31 Jul 2009 14:39:32 +0000 (16:39 +0200)]
python-ctypes: allow to specify class docstrings in override.py
Olivier Aubert [Fri, 31 Jul 2009 14:22:25 +0000 (16:22 +0200)]
python-ctypes: do not redefine overridden methods
Olivier Aubert [Fri, 31 Jul 2009 12:57:59 +0000 (14:57 +0200)]
pyton-ctypes: reset comment when parsing includes
Olivier Aubert [Fri, 31 Jul 2009 12:55:55 +0000 (14:55 +0200)]
python-ctypes: generate list methods when possible
Olivier Aubert [Fri, 31 Jul 2009 12:40:58 +0000 (14:40 +0200)]
python-ctypes: convert NULL return values to None
Olivier Aubert [Fri, 31 Jul 2009 12:15:43 +0000 (14:15 +0200)]
python-ctypes: generate classes for enum typedefs
Rémi Duraffort [Fri, 31 Jul 2009 11:47:19 +0000 (13:47 +0200)]
variables:
* print a warning when var_DelCallback can't find the callback because the
data doesn't match
* these warning are only for debug builds.
Rémi Duraffort [Fri, 31 Jul 2009 11:17:45 +0000 (13:17 +0200)]
variables:
* print an error message when the variable creation failed because of a name
clash (two variables with the same name but different types)
* print a warning when calling var_Get on a void variable
* fix one comment as the list is NOT sorted (and that too expensif to do).
Ilkka Ollakka [Fri, 31 Jul 2009 10:36:58 +0000 (13:36 +0300)]
QT4: set sorting-connections by hand
Thisway playlist don't run sort when created (in case of you start vlc,
and don't set playlist visible then adding stuff. When you open playlist
it would sort the stuff).
Also remove showing sort-indicator incorrectly on start (don't show
it at all before user clicks to sort).
Rafaël Carré [Fri, 31 Jul 2009 09:57:27 +0000 (11:57 +0200)]
ncurses: check playlist_CurrentPlayingItem() return value
Ilkka Ollakka [Fri, 31 Jul 2009 09:52:21 +0000 (12:52 +0300)]
dvb: scanning ain't only -T, change dialog
Rémi Duraffort [Fri, 31 Jul 2009 09:28:03 +0000 (11:28 +0200)]
podcast: implement image support (it might be a good idea to be able to set the
art url only for the input parent as that's always the same image for all
inputs).
Rémi Duraffort [Fri, 31 Jul 2009 09:10:41 +0000 (11:10 +0200)]
fetcher: fix a typo (thanks to fenrir).
Felix Paul Kühne [Fri, 31 Jul 2009 09:06:25 +0000 (11:06 +0200)]
macosx: some more Sparkle demos
Felix Paul Kühne [Fri, 31 Jul 2009 08:57:48 +0000 (10:57 +0200)]
macosx: modernise framework compilation flags
Felix Paul Kühne [Thu, 30 Jul 2009 18:46:31 +0000 (20:46 +0200)]
clean up
Pierre d'Herbemont [Fri, 31 Jul 2009 08:41:27 +0000 (01:41 -0700)]
libvlc: Remove unimplemented media_list_view functions declaration.
And add two lines that attempt to explain a bit more what is this class about.
Pointed by Olivier Aubert.