vlc.git
12 years agoUse Unicode paths for plugins scan and ignore non-regular files
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

12 years agoAllocatePluginDir: remove dummy b_die check
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.

12 years agoQT: move sortingIndicator to correct position when columns are added/removed
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).

12 years agoqt4: don't sort playlist by default take two
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.

12 years agoUnused test
Rémi Denis-Courmont [Sun, 2 Aug 2009 15:26:01 +0000 (18:26 +0300)]
Unused test

12 years agoCleanup vlc_timer_* prototypes
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:29:45 +0000 (15:29 +0300)]
Cleanup vlc_timer_* prototypes

12 years agoWin32: privatize vlc_timer layout too
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:01:04 +0000 (15:01 +0300)]
Win32: privatize vlc_timer layout too

12 years agoWin32: compile fix
Rémi Denis-Courmont [Sun, 2 Aug 2009 12:00:20 +0000 (15:00 +0300)]
Win32: compile fix

12 years agoPOSIX: use pthread-based timers
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.

12 years agoFix timer test
Rémi Denis-Courmont [Sun, 2 Aug 2009 11:53:18 +0000 (14:53 +0300)]
Fix timer test

12 years agoPreparser: detach thread and race to idle
Rémi Denis-Courmont [Sun, 2 Aug 2009 06:49:35 +0000 (09:49 +0300)]
Preparser: detach thread and race to idle

12 years agofetcher: 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

12 years agovlc_detach: releases a thread handle asynchronously
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().

12 years agoWin32: make vlc_thread_t a plain HANDLE (no heap alloc)
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)

12 years agoWin32: unimplement thread result
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.

12 years agoWin32: no need to put thread function into vlc_thread_t
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

12 years agomacosx: disable unloading
Felix Paul Kühne [Sat, 1 Aug 2009 23:41:38 +0000 (01:41 +0200)]
macosx: disable unloading

12 years agomacosx: prepare the switch from dyld to 'Dynamic Loader Compatibility Functions'...
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.

12 years agoRevert "modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard"
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.

12 years agomodules: added a hack to work-around the buggy 64bit runtime on OS X Leopard
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

12 years agoXCB screen: timer thread safety
Rémi Denis-Courmont [Sat, 1 Aug 2009 18:35:54 +0000 (21:35 +0300)]
XCB screen: timer thread safety

12 years agoTest cases for timers
Rémi Denis-Courmont [Sat, 1 Aug 2009 16:55:40 +0000 (19:55 +0300)]
Test cases for timers

12 years agoDummy: remove dummy (indeed) access, convert demux to access_demux
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

12 years agoDummy demux: simplify
Rémi Denis-Courmont [Sat, 1 Aug 2009 14:02:27 +0000 (17:02 +0300)]
Dummy demux: simplify

12 years agoDummy: handle sub-second pauses
Rémi Denis-Courmont [Sat, 1 Aug 2009 13:39:28 +0000 (16:39 +0300)]
Dummy: handle sub-second pauses

12 years agoQt4 playlist: keep item order when moving
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>
12 years agoRevert "QT4: set sorting-connections by hand"
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.

12 years agocontribs: enforce compilation settings for x264 and lua, too
Felix Paul Kühne [Sat, 1 Aug 2009 12:46:23 +0000 (14:46 +0200)]
contribs: enforce compilation settings for x264 and lua, too

12 years agocontribs: make sure libgsm geet's compiled with the setup we chose on OS X
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

12 years agoRemoved prefetch whole file advise in the file access.
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.

12 years agoSplit back window module providers by type.
Laurent Aimar [Sat, 1 Aug 2009 11:44:47 +0000 (13:44 +0200)]
Split back window module providers by type.

12 years agofreetype: initialise fontresult to FcResultMatch
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.

12 years agoMoved out video statistics to its own file and use a dedicated lock.
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.

12 years agoMoved out snapshot code to a standalone file.
Laurent Aimar [Fri, 31 Jul 2009 22:06:41 +0000 (00:06 +0200)]
Moved out snapshot code to a standalone file.

12 years agoUpdated xcb vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:59:47 +0000 (21:59 +0200)]
Updated xcb vout module to the new API.

12 years agoUpdated omapfb 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.

12 years agoUpdated msw vout modules to the new window API.
Laurent Aimar [Fri, 31 Jul 2009 19:58:08 +0000 (21:58 +0200)]
Updated msw vout modules to the new window API.

12 years agoUpdated xlib vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:35:00 +0000 (21:35 +0200)]
Updated xlib vout module to the new API.

12 years agoUpdated drawable vout_window provider 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.

12 years agoUpdated maemo 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.

12 years agoUpdated skins2 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.

12 years agoUpdated qt4 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.

12 years agoModified vout_window_t to be completly independant of vout.
Laurent Aimar [Fri, 31 Jul 2009 19:15:33 +0000 (21:15 +0200)]
Modified vout_window_t to be completly independant of vout.

12 years agoTag some more options as safe
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>
12 years agoUpdate thanks
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:42:00 +0000 (11:42 +0300)]
Update thanks

12 years agoBump libvlccore version to compensate 1.0-bugfix age increase
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.

12 years agoRevert "Increased version-info after modification in 1.0 branch."
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.

12 years agoAdding mirror video filter
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>
12 years agofactor the ogg paging code
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>
12 years agomacosx: implemented 'play-and-exit' (closes #2237)
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.

12 years agomacosx: implemented the input-slave option for file inputs
Felix Paul Kühne [Fri, 31 Jul 2009 13:09:53 +0000 (15:09 +0200)]
macosx: implemented the input-slave option for file inputs

12 years agopython-ctypes: implement iterator protocol for Log
Olivier Aubert [Fri, 31 Jul 2009 16:01:41 +0000 (18:01 +0200)]
python-ctypes: implement iterator protocol for Log

12 years agopython-ctypes: improve documentation generation
Olivier Aubert [Fri, 31 Jul 2009 15:58:36 +0000 (17:58 +0200)]
python-ctypes: improve documentation generation

12 years agoSimplify the other part, too.
JP Dinger [Tue, 28 Jul 2009 14:04:47 +0000 (16:04 +0200)]
Simplify the other part, too.

12 years agoFactorise list.sh a bit: rewrite some multiple commands as one where easy.
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.

12 years agoDrop a const on a static array and misc cleanup.
JP Dinger [Fri, 31 Jul 2009 16:26:16 +0000 (18:26 +0200)]
Drop a const on a static array and misc cleanup.

12 years agopython-ctypes: fix docstrings
Olivier Aubert [Fri, 31 Jul 2009 15:29:26 +0000 (17:29 +0200)]
python-ctypes: fix docstrings

12 years agopython-ctypes: fix doxygen to epydoc comment conversion
Olivier Aubert [Fri, 31 Jul 2009 15:22:16 +0000 (17:22 +0200)]
python-ctypes: fix doxygen to epydoc comment conversion

12 years agoFix comments/variable names in includes
Olivier Aubert [Fri, 31 Jul 2009 15:21:14 +0000 (17:21 +0200)]
Fix comments/variable names in includes

12 years agopython-ctypes: update README
Olivier Aubert [Fri, 31 Jul 2009 15:11:38 +0000 (17:11 +0200)]
python-ctypes: update README

12 years agopython-ctypes: offer shortcuts for MediaList and MediaListPlayer creation
Olivier Aubert [Fri, 31 Jul 2009 15:06:25 +0000 (17:06 +0200)]
python-ctypes: offer shortcuts for MediaList and MediaListPlayer creation

12 years agopython-ctypes: fix spacing in docstring comments
Olivier Aubert [Fri, 31 Jul 2009 14:59:18 +0000 (16:59 +0200)]
python-ctypes: fix spacing in docstring comments

12 years agopython-ctypes: allow to specify class docstrings in override.py
Olivier Aubert [Fri, 31 Jul 2009 14:39:32 +0000 (16:39 +0200)]
python-ctypes: allow to specify class docstrings in override.py

12 years agopython-ctypes: do not redefine overridden methods
Olivier Aubert [Fri, 31 Jul 2009 14:22:25 +0000 (16:22 +0200)]
python-ctypes: do not redefine overridden methods

12 years agopyton-ctypes: reset comment when parsing includes
Olivier Aubert [Fri, 31 Jul 2009 12:57:59 +0000 (14:57 +0200)]
pyton-ctypes: reset comment when parsing includes

12 years agopython-ctypes: generate list methods when possible
Olivier Aubert [Fri, 31 Jul 2009 12:55:55 +0000 (14:55 +0200)]
python-ctypes: generate list methods when possible

12 years agopython-ctypes: convert NULL return values to None
Olivier Aubert [Fri, 31 Jul 2009 12:40:58 +0000 (14:40 +0200)]
python-ctypes: convert NULL return values to None

12 years agopython-ctypes: generate classes for enum typedefs
Olivier Aubert [Fri, 31 Jul 2009 12:15:43 +0000 (14:15 +0200)]
python-ctypes: generate classes for enum typedefs

12 years agovariables:
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.

12 years agovariables:
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).

12 years agoQT4: set sorting-connections by hand
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).

12 years agoncurses: check playlist_CurrentPlayingItem() return value
Rafaël Carré [Fri, 31 Jul 2009 09:57:27 +0000 (11:57 +0200)]
ncurses: check playlist_CurrentPlayingItem() return value

12 years agodvb: scanning ain't only -T, change dialog
Ilkka Ollakka [Fri, 31 Jul 2009 09:52:21 +0000 (12:52 +0300)]
dvb: scanning ain't only -T, change dialog

12 years agopodcast: implement image support (it might be a good idea to be able to set the
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).

12 years agofetcher: fix a typo (thanks to fenrir).
Rémi Duraffort [Fri, 31 Jul 2009 09:10:41 +0000 (11:10 +0200)]
fetcher: fix a typo (thanks to fenrir).

12 years agomacosx: some more Sparkle demos
Felix Paul Kühne [Fri, 31 Jul 2009 09:06:25 +0000 (11:06 +0200)]
macosx: some more Sparkle demos

12 years agomacosx: modernise framework compilation flags
Felix Paul Kühne [Fri, 31 Jul 2009 08:57:48 +0000 (10:57 +0200)]
macosx: modernise framework compilation flags

12 years agoclean up
Felix Paul Kühne [Thu, 30 Jul 2009 18:46:31 +0000 (20:46 +0200)]
clean up

12 years agolibvlc: Remove unimplemented media_list_view functions declaration.
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.

12 years agoraop: Implement password authentication
Michael Hanselmann [Wed, 29 Jul 2009 20:47:20 +0000 (22:47 +0200)]
raop: Implement password authentication

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: JP Dinger <jpd@videolan.org>
12 years agoraop: Implement options for password
Michael Hanselmann [Thu, 30 Jul 2009 21:30:38 +0000 (23:30 +0200)]
raop: Implement options for password

The password can either be directly passed as an option, or it can
be stored in a file whose path is then passed as an option.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: JP Dinger <jpd@videolan.org>
12 years agopodcast: remove the sys struct because we don't really need it.
Rémi Duraffort [Fri, 31 Jul 2009 07:49:33 +0000 (09:49 +0200)]
podcast: remove the sys struct because we don't really need it.

12 years agopodcast: fix object leak (and memleak) in case of error.
Rémi Duraffort [Fri, 31 Jul 2009 07:37:34 +0000 (09:37 +0200)]
podcast: fix object leak (and memleak) in case of error.

12 years agopodcast: no need to strdup the string here.
Rémi Duraffort [Fri, 31 Jul 2009 06:30:41 +0000 (08:30 +0200)]
podcast: no need to strdup the string here.

12 years agopodcast: fix typo and remove unused p_sys member.
Rémi Duraffort [Fri, 31 Jul 2009 06:22:34 +0000 (08:22 +0200)]
podcast: fix typo and remove unused p_sys member.

12 years agothreads: remove unused fields in headers
Pierre Ynard [Thu, 30 Jul 2009 20:21:12 +0000 (22:21 +0200)]
threads: remove unused fields in headers

They are an overlook from the removal of the thread serialization

12 years agoIncreased version-info after modification in 1.0 branch.
Laurent Aimar [Thu, 30 Jul 2009 19:31:16 +0000 (21:31 +0200)]
Increased version-info after modification in 1.0 branch.

12 years agopodcast: set the duration of an input item when available.
Rémi Duraffort [Thu, 30 Jul 2009 17:10:17 +0000 (19:10 +0200)]
podcast: set the duration of an input item when available.

12 years agopodcast: no need to strdup (as we free the original value afterward).
Rémi Duraffort [Thu, 30 Jul 2009 16:35:28 +0000 (18:35 +0200)]
podcast: no need to strdup (as we free the original value afterward).

12 years agopodcast: factorize.
Rémi Duraffort [Thu, 30 Jul 2009 16:01:17 +0000 (18:01 +0200)]
podcast: factorize.

12 years agoFix podcast configuration.
Rémi Duraffort [Thu, 30 Jul 2009 15:15:38 +0000 (17:15 +0200)]
Fix podcast configuration.

12 years agoUpdate LIST.
Rémi Duraffort [Thu, 30 Jul 2009 14:27:56 +0000 (16:27 +0200)]
Update LIST.

12 years agoUse var_ToggleBool.
Rémi Duraffort [Thu, 30 Jul 2009 14:10:34 +0000 (16:10 +0200)]
Use var_ToggleBool.

12 years agomacosx: forward-port recent preferences and media keys enhancements
Felix Paul Kühne [Thu, 30 Jul 2009 15:09:56 +0000 (17:09 +0200)]
macosx: forward-port recent preferences and media keys enhancements

This includes [eb241138f52e7fbf1e83b07791bad007e2c2f3c6], [fb5108db888105b7fd07f89aaee5eb979ec8be15], [b8d90e93024e3e3f816f6a37d4c8933cdbbc8592], [acb8baa1e5e0d490353d92bbc1cf5902a3bdd792]. Regrettably, these weren't cherry-pickable.

12 years agoRestored Leopard compatibility lost in previous commits
Felix Paul Kühne [Thu, 30 Jul 2009 14:51:45 +0000 (16:51 +0200)]
Restored Leopard compatibility lost in previous commits

12 years agofontconfig: fix memleak (typo).
Rémi Duraffort [Thu, 30 Jul 2009 12:45:25 +0000 (14:45 +0200)]
fontconfig: fix memleak (typo).

12 years agoadd video streams' BOS packets first
ogg.k.ogg.k [Wed, 29 Jul 2009 22:09:11 +0000 (23:09 +0100)]
add video streams' BOS packets first

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agofontconfig: factorize and fix memleaks.
Rémi Duraffort [Thu, 30 Jul 2009 12:33:40 +0000 (14:33 +0200)]
fontconfig: factorize and fix memleaks.

12 years agovariables: var_IncInteger and var_DecInteger are now atomic.
Rémi Duraffort [Thu, 30 Jul 2009 06:58:20 +0000 (08:58 +0200)]
variables: var_IncInteger and var_DecInteger are now atomic.

12 years agodemux: use calloc when applicable.
Rémi Duraffort [Wed, 29 Jul 2009 11:52:35 +0000 (13:52 +0200)]
demux: use calloc when applicable.