]>
git.sesse.net Git - vlc/log
Jakob Leben [Thu, 11 Mar 2010 18:20:20 +0000 (19:20 +0100)]
input_item: new input_item_Copy()
Jean-Baptiste Kempf [Sat, 13 Mar 2010 15:06:09 +0000 (16:06 +0100)]
Qt: menus, force ViewMenu to run at menuBar creation.
Fixes #3406
Rémi Denis-Courmont [Sat, 13 Mar 2010 15:13:30 +0000 (17:13 +0200)]
RTP output: fix SRTP error path
Rémi Denis-Courmont [Sat, 13 Mar 2010 15:13:11 +0000 (17:13 +0200)]
RTP output: E/S needs not be a VLC object
Rémi Denis-Courmont [Sat, 13 Mar 2010 15:12:15 +0000 (17:12 +0200)]
RTP output: avoid vlc_thread_create()
This triggers a race condition and ultimately a crash when the input
kills all its children.
Jean-Baptiste Kempf [Sat, 13 Mar 2010 12:05:50 +0000 (13:05 +0100)]
Qt: menus, simplification
Ref #3406
Rémi Denis-Courmont [Sat, 13 Mar 2010 12:51:17 +0000 (14:51 +0200)]
TLS: attach before inheriting variables
Rémi Denis-Courmont [Sat, 13 Mar 2010 12:36:26 +0000 (14:36 +0200)]
Fix "play only" hotkey when playlist is stopped (i.e. no input)
This fixes #3377.
Jean-Baptiste Kempf [Fri, 12 Mar 2010 22:03:30 +0000 (23:03 +0100)]
Qt: put Win32 Main Interface function in its own file.
Francois Cartegnie [Fri, 12 Mar 2010 13:11:26 +0000 (14:11 +0100)]
Qt: Fix simple preferences according to new ui modes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Fabio Ritrovato [Thu, 11 Mar 2010 17:45:36 +0000 (18:45 +0100)]
Lua SD: check if p_input exists before using it
Fabio Ritrovato [Thu, 11 Mar 2010 17:04:22 +0000 (18:04 +0100)]
Lua: fix typo on previous commit
Fabio Ritrovato [Thu, 11 Mar 2010 16:40:28 +0000 (17:40 +0100)]
Typos
Fabio Ritrovato [Thu, 11 Mar 2010 16:26:53 +0000 (17:26 +0100)]
Lua: don't use empty strings for metas (close #3403)
Fabio Ritrovato [Thu, 11 Mar 2010 15:42:35 +0000 (16:42 +0100)]
Podcast: trim whitespaces from url
gozer@progrock.com [Thu, 11 Mar 2010 13:00:14 +0000 (05:00 -0800)]
i18n: QT4: added 2 missing calls to qtr() in toolbar.cpp
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Thu, 11 Mar 2010 15:29:40 +0000 (17:29 +0200)]
C++ #include fix
Fabio Ritrovato [Thu, 11 Mar 2010 14:57:28 +0000 (15:57 +0100)]
Lua SD: don't open the playlist lib
Jean-Baptiste Kempf [Thu, 11 Mar 2010 14:49:08 +0000 (15:49 +0100)]
Remove debug
Jean-Baptiste Kempf [Sat, 6 Mar 2010 16:22:02 +0000 (17:22 +0100)]
Qt: Fixing main Interface, phase 1.
Removes a lot of hacks, especially around manipulating size (no more sizeHint(), very limited use of doComponentsUpdate and updateGeometry() ),
Simplify the number of starting options of the interface
Fixes crashes due to QStackWidget limitations
Still a lot of debug around, but mostly commented out, that will go in future commits
Close #3401
Close #3210
Close #3332
Close #1717
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 10 Mar 2010 22:57:50 +0000 (23:57 +0100)]
Qt: Force firstRun Ok button to be focused.
Erwan Tulou [Thu, 11 Mar 2010 08:20:58 +0000 (09:20 +0100)]
skins2: fix corner case with old skins and fullscreen
For skins without video elements, fullscreen mode could be launched with the inner video kept hidden. Initializing the video control to NULL fixes it.
Rémi Duraffort [Wed, 10 Mar 2010 21:51:30 +0000 (22:51 +0100)]
Update: remove printf.
Rémi Denis-Courmont [Wed, 10 Mar 2010 18:07:35 +0000 (20:07 +0200)]
typo
Eric Lassauge [Wed, 10 Mar 2010 17:32:34 +0000 (18:32 +0100)]
Win32: don't rebase UAC.dll
Signed-off-by: Geoffroy Couprie <geal@videolan.org>
Jakob Leben [Wed, 10 Mar 2010 17:31:24 +0000 (18:31 +0100)]
Qt: use Qt::DropAction properly throughout playlist drag-and-drop
Erwan Tulou [Tue, 9 Mar 2010 17:57:41 +0000 (18:57 +0100)]
skins2: improve list of skins
- make it case insensitive and sorted alphabetically
- fix a few regressions about config_Get vs. var_Inherit
Erwan Tulou [Wed, 10 Mar 2010 15:20:25 +0000 (16:20 +0100)]
skins2: fix skins broken because of wrong path separator
In skins, slash is the preferred path separator for both Linux and Win32
yet, rather fix those separators and issue a warning than fail to open skins.
Jakob Leben [Wed, 10 Mar 2010 10:47:06 +0000 (11:47 +0100)]
Qt: use "no art" picture for drag-and-drop pixmap in all playlist views
This makes drag-and-drop easier, because drag-and-drop pixmap does not
cover the area under mouse cursor.
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:48:58 +0000 (23:48 +0200)]
Constify (fixes #1391)
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:48:46 +0000 (23:48 +0200)]
Remove useless casts
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:41:47 +0000 (23:41 +0200)]
FileToUrl: constify
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:33:02 +0000 (23:33 +0200)]
FileToUrl does not need to be extern
Jakob Leben [Tue, 9 Mar 2010 16:49:41 +0000 (17:49 +0100)]
Qt: drag-and-drop: simplification and robustness
- Make PlMimeData simply a subclass of QMimeData: destructor of indirect
subclasses of QObject is called even if their direct base class' destructor
is not virtual.
- Protection against using input_item_t* from another VLC instance:
qobject_cast<PlMimeData*>() will fail on QMimeData dropped from another process.
- Some refactoring of PLModel::dropMove() for robustness.
Fabio Ritrovato [Tue, 9 Mar 2010 16:19:49 +0000 (17:19 +0100)]
Fix typo
Jean-Baptiste Kempf [Tue, 9 Mar 2010 11:39:40 +0000 (12:39 +0100)]
Qt: use qt QStyle to center dialogs on screen
Jean-Baptiste Kempf [Tue, 9 Mar 2010 11:39:08 +0000 (12:39 +0100)]
Qt: missing includes
Jean-Baptiste Kempf [Thu, 4 Mar 2010 23:44:13 +0000 (00:44 +0100)]
Qt: bgWidget, add the margin to trigger the hide of the label when resizing
Fabio Ritrovato [Mon, 8 Mar 2010 22:29:12 +0000 (23:29 +0100)]
MTP: update to libmtp 1.0.0 + fixes
Rémi Denis-Courmont [Mon, 8 Mar 2010 21:20:56 +0000 (23:20 +0200)]
Compile fix
Rémi Denis-Courmont [Mon, 8 Mar 2010 20:31:37 +0000 (22:31 +0200)]
Fix Doxygen errors
Rémi Denis-Courmont [Mon, 8 Mar 2010 19:45:04 +0000 (21:45 +0200)]
Do not apply playlist path to full URIs
Ricardo Pérez López [Mon, 8 Mar 2010 19:27:41 +0000 (21:27 +0200)]
.desktop Spanish translation
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Mon, 8 Mar 2010 19:26:27 +0000 (21:26 +0200)]
Cosmetic
Erwan Tulou [Sun, 28 Feb 2010 16:25:47 +0000 (17:25 +0100)]
msw: add support for --[no]-mouse-events and --[no]-keyboard-events
Jakob Leben [Mon, 8 Mar 2010 18:16:59 +0000 (19:16 +0100)]
Qt: use input_item_t* for drag-and-drop data
A helper object keeps reference count until drag-and-drop is finished.
Rémi Denis-Courmont [Mon, 8 Mar 2010 17:59:22 +0000 (19:59 +0200)]
Qt4: disable implicit cast from QString to (const) char *
This enforces the use of qtu() or whatever appropriate.
Rémi Denis-Courmont [Mon, 8 Mar 2010 17:50:54 +0000 (19:50 +0200)]
Qt4: fix x11_display double free and leaks
Rémi Duraffort [Mon, 8 Mar 2010 12:57:44 +0000 (13:57 +0100)]
Fix make distcheck
Geoffroy Couprie [Mon, 8 Mar 2010 12:12:57 +0000 (13:12 +0100)]
Win32: UAC.dll must be packaged while doing package-win32-base-exe
Rémi Duraffort [Mon, 8 Mar 2010 12:09:06 +0000 (13:09 +0100)]
Qt4: fix the "Show Containing folder" feature.
Jakob Leben [Mon, 8 Mar 2010 10:56:45 +0000 (11:56 +0100)]
Qt: Playlist drag and drop corrections
- Use item ids instead of pointers for drag data to prevent usage after freeing.
- The list of selected items that contitutes drag data is sorted correctly according to item position in tree. This keeps their relative order after drop operation even if they originated from different parent nodes.
- If a parent and any of it's children are selected, only the parent enters drag'n'drop operation. Children are thus not moved out of the parent when dropping.
- Copying by drag and drop performs a recursive copy of all children.
Jakob Leben [Mon, 8 Mar 2010 09:47:49 +0000 (10:47 +0100)]
Qt: don't emit redundant InputManager::statusChanged() signals
Thanks to Srikanth Raju <srikiraju@gmail.com> for pointing out the problem.
Geoffroy Couprie [Mon, 8 Mar 2010 00:02:54 +0000 (01:02 +0100)]
Win32: don't forget to remove the plugins cache at uninstall
Geoffroy Couprie [Sun, 7 Mar 2010 20:04:43 +0000 (21:04 +0100)]
Win32: don't remove inexistant directory while uninstalling
Rémi Duraffort [Sun, 7 Mar 2010 21:29:23 +0000 (22:29 +0100)]
Symplify configure.ac regarding OpenCV and rename the example file from C++ to C (that's a C file).
Rémi Duraffort [Sun, 7 Mar 2010 20:57:48 +0000 (21:57 +0100)]
Projectm: missing attach.
Rémi Duraffort [Sun, 7 Mar 2010 19:43:22 +0000 (20:43 +0100)]
OpenCV: more cosmetics.
Rémi Duraffort [Sun, 7 Mar 2010 19:40:20 +0000 (20:40 +0100)]
OpenCV: cosmetics.
Rémi Duraffort [Sun, 7 Mar 2010 19:36:06 +0000 (20:36 +0100)]
OpenCV: include config.h first
Geoffroy Couprie [Sun, 7 Mar 2010 19:32:54 +0000 (20:32 +0100)]
Win32: fix the path to the plugins cache
Rémi Denis-Courmont [Sun, 7 Mar 2010 19:26:56 +0000 (21:26 +0200)]
RTMP: totally broken, disabled for the time being
Rémi Denis-Courmont [Sun, 7 Mar 2010 19:21:29 +0000 (21:21 +0200)]
Cosmetic fix
Nathan Phillip Brink [Sat, 6 Mar 2010 00:58:52 +0000 (19:58 -0500)]
Fix #include <SDL/SDL.h> to be #include <SDL.h>
...as the FAQ on http://libsdl.org/ declares this is the most portable
method.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Sun, 7 Mar 2010 18:29:20 +0000 (20:29 +0200)]
MSN: fix assertion (fixes #2930)
Rémi Denis-Courmont [Sun, 7 Mar 2010 15:39:50 +0000 (17:39 +0200)]
Qt4: bookmarks: don't give an anonymous temporary object to qtu
There may be similar bugs in other places
Ilkka Ollakka [Sun, 7 Mar 2010 15:28:39 +0000 (17:28 +0200)]
udev sd: fix udev based disc finding
Only blank discs seem to give ID_CDROM_MEDIA_STATE=blank normal audio-cds just
dont have that property at all. And instead defaulting to file, default to
invalid and return NULL if we don't find any property to tell use that optical
disc is something we are able to play currently.
Fixes udev discs sd for me, tested with empty dvd-r discs and audio cds.
Rémi Denis-Courmont [Sun, 7 Mar 2010 15:02:44 +0000 (17:02 +0200)]
LUA: (really) fix infinite loop
Rémi Denis-Courmont [Sun, 7 Mar 2010 10:33:07 +0000 (12:33 +0200)]
Partially fix encoding of relative paths in playlist files
Dean Lee [Sun, 7 Mar 2010 00:12:00 +0000 (00:12 +0000)]
l10n: Chinese update
Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
Rémi Denis-Courmont [Sat, 6 Mar 2010 20:37:28 +0000 (22:37 +0200)]
Win32: allow negative values for window coordinates (fixes #3389)
Rémi Denis-Courmont [Sat, 6 Mar 2010 20:35:01 +0000 (22:35 +0200)]
video-x, video-y: make zero the default
-1 is a legal coordinate for a window (both in X11 and Win32).
Rémi Denis-Courmont [Sat, 6 Mar 2010 17:16:46 +0000 (19:16 +0200)]
vlc-cache-gen: add --force option
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:48:43 +0000 (18:48 +0200)]
Win32: use video-x and video-y (fixes #3215)
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:38:25 +0000 (18:38 +0200)]
XCB/window: pass requested position to the X server
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:36:21 +0000 (18:36 +0200)]
XCB: set window provider requested position from video-x and video-y
Note that only the Qt4 provider seem to use the values this far. Also,
most window managers will move the window wherever they see fit anyway.
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:29:06 +0000 (18:29 +0200)]
Revert "Qt4: --embedded-video must be checked on the window object (not the UI)"
This reverts commit
4c40aec495ef7062523e092c8ef5d9bfffde063a .
We already check is_standalone.
Ilkka Ollakka [Sat, 6 Mar 2010 15:17:29 +0000 (17:17 +0200)]
playlist: fix crash when p_playlist->current.i_size == 0 and random is on
Erwan Tulou [Sat, 6 Mar 2010 13:28:07 +0000 (14:28 +0100)]
skins2: replace most config_Get with var_Inherit
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:29:29 +0000 (12:29 +0200)]
Use vlc_mrand48() instead of rand()
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:21:02 +0000 (12:21 +0200)]
Thread-safe random numbers for session IDs
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:20:41 +0000 (12:20 +0200)]
playlist: randomize in a thread-safe manner
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:04:51 +0000 (12:04 +0200)]
vlc_(d|l|m)rand48: thread-safe wrappers for non-secure/fast PRNG
These functions are just convenience so we don't need to seed the
PRNG all the time, nor to use vlc_rand_bytes() for non-security-critical
randomness.
Rémi Denis-Courmont [Sat, 6 Mar 2010 09:46:03 +0000 (11:46 +0200)]
vlc_rand_bytes: minor thread-safety fix
We need the lock to read okey and ikey
Erwan Tulou [Sat, 6 Mar 2010 09:16:24 +0000 (10:16 +0100)]
mediadirs: display snapshots in the video widget
This patch replaces vlc://pause:10 (only working for qt4 in complete mode)
with fake:// --fake-file=... (working in any cases)
Erwan Tulou [Fri, 5 Mar 2010 14:10:53 +0000 (15:10 +0100)]
skins2(Win32): add a way to hide the popup menu on systray
Rightclicking on the vlc icon in systray displayed the popup menu,
but till now, there was no means to hide it without first executing
something from this menu
This patch uses leftclick as a way to hide this popupmenu
Rémi Denis-Courmont [Sat, 6 Mar 2010 09:31:34 +0000 (11:31 +0200)]
Also provide erand48 and jrand48, they come almost for free
Rémi Denis-Courmont [Sat, 6 Mar 2010 07:50:10 +0000 (09:50 +0200)]
nrand48: small fixes
Rémi Duraffort [Sat, 6 Mar 2010 07:44:02 +0000 (08:44 +0100)]
Fix use of uninitialized value.
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:40:35 +0000 (00:40 +0200)]
Mux: kill srand() use
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:34:16 +0000 (00:34 +0200)]
ASF: thread-safe pseudo-random numbers
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:03:27 +0000 (00:03 +0200)]
nrand48 replacement
This is the POSIX linear congruential pseudo-random generator with
48-bits of state. It is non-secure/reproducible and thread-safe.
rand() is not thread-safe and *ahem* must not be used in VLC code.
rand_r() is thread-safe but obsoleted in POSIX.2008.
For secure random numbers, use the slower vlc_rand_bytes().
vlc_rand_bytes() can also be used to generate the seed if you are short
on idea for a 48-bits pseudo-random value.
Rémi Denis-Courmont [Fri, 5 Mar 2010 21:14:56 +0000 (23:14 +0200)]
Run system_Configure after playlist is created (fixes #3344)
Kaarlo Raiha [Fri, 5 Mar 2010 19:30:31 +0000 (20:30 +0100)]
NSIS: fix autoplay of DVD and CDAudio
Signed-off-by: Geoffroy Couprie <geal@videolan.org>
Geoffroy Couprie [Fri, 5 Mar 2010 19:15:14 +0000 (20:15 +0100)]
NSIS: small path fix
Geoffroy Couprie [Fri, 5 Mar 2010 18:48:17 +0000 (19:48 +0100)]
Win32: don't launch VLC as admin after installing
Fixes 3192
Geoffroy Couprie [Wed, 3 Mar 2010 19:38:02 +0000 (20:38 +0100)]
Win32: use ShellExecuteW instead of ShellExecuteA in the update code
Fixes #3355
Geoffroy Couprie [Wed, 3 Mar 2010 17:49:59 +0000 (18:49 +0100)]
Win32: Store the plugins cache in c:\ProgramData\VideoLAN\VLC, run vlc-cache-gen.exe at install time, and as a bonus, fixes #3308
Antoine Cellerier [Fri, 5 Mar 2010 18:37:03 +0000 (19:37 +0100)]
Fix quoted values containing # in VLM shell.
(close #3154, thanks to Marnik Vander Elst)
Antoine Cellerier [Fri, 5 Mar 2010 10:34:42 +0000 (11:34 +0100)]
Fix randomisation algorithm. Thanks to jawbroken on IRC.