]> git.sesse.net Git - vlc/log
vlc
14 years agoQt: Fix simple preferences according to new ui modes
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>
14 years agoLua SD: check if p_input exists before using it
Fabio Ritrovato [Thu, 11 Mar 2010 17:45:36 +0000 (18:45 +0100)]
Lua SD: check if p_input exists before using it

14 years agoLua: fix typo on previous commit
Fabio Ritrovato [Thu, 11 Mar 2010 17:04:22 +0000 (18:04 +0100)]
Lua: fix typo on previous commit

14 years agoTypos
Fabio Ritrovato [Thu, 11 Mar 2010 16:40:28 +0000 (17:40 +0100)]
Typos

14 years agoLua: don't use empty strings for metas (close #3403)
Fabio Ritrovato [Thu, 11 Mar 2010 16:26:53 +0000 (17:26 +0100)]
Lua: don't use empty strings for metas (close #3403)

14 years agoPodcast: trim whitespaces from url
Fabio Ritrovato [Thu, 11 Mar 2010 15:42:35 +0000 (16:42 +0100)]
Podcast: trim whitespaces from url

14 years agoi18n: QT4: added 2 missing calls to qtr() in toolbar.cpp
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>
14 years agoC++ #include fix
Rémi Denis-Courmont [Thu, 11 Mar 2010 15:29:40 +0000 (17:29 +0200)]
C++ #include fix

14 years agoLua SD: don't open the playlist lib
Fabio Ritrovato [Thu, 11 Mar 2010 14:57:28 +0000 (15:57 +0100)]
Lua SD: don't open the playlist lib

14 years agoRemove debug
Jean-Baptiste Kempf [Thu, 11 Mar 2010 14:49:08 +0000 (15:49 +0100)]
Remove debug

14 years agoQt: Fixing main Interface, phase 1.
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>
14 years agoQt: Force firstRun Ok button to be focused.
Jean-Baptiste Kempf [Wed, 10 Mar 2010 22:57:50 +0000 (23:57 +0100)]
Qt: Force firstRun Ok button to be focused.

14 years agoskins2: fix corner case with old skins and fullscreen
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.

14 years agoUpdate: remove printf.
Rémi Duraffort [Wed, 10 Mar 2010 21:51:30 +0000 (22:51 +0100)]
Update: remove printf.

14 years agotypo
Rémi Denis-Courmont [Wed, 10 Mar 2010 18:07:35 +0000 (20:07 +0200)]
typo

14 years agoWin32: don't rebase UAC.dll
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>
14 years agoQt: use Qt::DropAction properly throughout playlist drag-and-drop
Jakob Leben [Wed, 10 Mar 2010 17:31:24 +0000 (18:31 +0100)]
Qt: use Qt::DropAction properly throughout playlist drag-and-drop

14 years agoskins2: improve list of skins
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

14 years agoskins2: fix skins broken because of wrong path separator
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.

14 years agoQt: use "no art" picture for drag-and-drop pixmap in all playlist views
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.

14 years agoConstify (fixes #1391)
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:48:58 +0000 (23:48 +0200)]
Constify (fixes #1391)

14 years agoRemove useless casts
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:48:46 +0000 (23:48 +0200)]
Remove useless casts

14 years agoFileToUrl: constify
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:41:47 +0000 (23:41 +0200)]
FileToUrl: constify

14 years agoFileToUrl does not need to be extern
Rémi Denis-Courmont [Tue, 9 Mar 2010 21:33:02 +0000 (23:33 +0200)]
FileToUrl does not need to be extern

14 years agoQt: drag-and-drop: simplification and robustness
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.

14 years agoFix typo
Fabio Ritrovato [Tue, 9 Mar 2010 16:19:49 +0000 (17:19 +0100)]
Fix typo

14 years agoQt: use qt QStyle to center dialogs on screen
Jean-Baptiste Kempf [Tue, 9 Mar 2010 11:39:40 +0000 (12:39 +0100)]
Qt: use qt QStyle to center dialogs on screen

14 years agoQt: missing includes
Jean-Baptiste Kempf [Tue, 9 Mar 2010 11:39:08 +0000 (12:39 +0100)]
Qt: missing includes

14 years agoQt: bgWidget, add the margin to trigger the hide of the label when resizing
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

14 years agoMTP: update to libmtp 1.0.0 + fixes
Fabio Ritrovato [Mon, 8 Mar 2010 22:29:12 +0000 (23:29 +0100)]
MTP: update to libmtp 1.0.0 + fixes

14 years agoCompile fix
Rémi Denis-Courmont [Mon, 8 Mar 2010 21:20:56 +0000 (23:20 +0200)]
Compile fix

14 years agoFix Doxygen errors
Rémi Denis-Courmont [Mon, 8 Mar 2010 20:31:37 +0000 (22:31 +0200)]
Fix Doxygen errors

14 years agoDo not apply playlist path to full URIs
Rémi Denis-Courmont [Mon, 8 Mar 2010 19:45:04 +0000 (21:45 +0200)]
Do not apply playlist path to full URIs

14 years ago.desktop Spanish translation
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>
14 years agoCosmetic
Rémi Denis-Courmont [Mon, 8 Mar 2010 19:26:27 +0000 (21:26 +0200)]
Cosmetic

14 years agomsw: add support for --[no]-mouse-events and --[no]-keyboard-events
Erwan Tulou [Sun, 28 Feb 2010 16:25:47 +0000 (17:25 +0100)]
msw: add support for --[no]-mouse-events and --[no]-keyboard-events

14 years agoQt: use input_item_t* for drag-and-drop data
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.

14 years agoQt4: disable implicit cast from QString to (const) char *
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.

14 years agoQt4: fix x11_display double free and leaks
Rémi Denis-Courmont [Mon, 8 Mar 2010 17:50:54 +0000 (19:50 +0200)]
Qt4: fix x11_display double free and leaks

14 years agoFix make distcheck
Rémi Duraffort [Mon, 8 Mar 2010 12:57:44 +0000 (13:57 +0100)]
Fix make distcheck

14 years agoWin32: UAC.dll must be packaged while doing package-win32-base-exe
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

14 years agoQt4: fix the "Show Containing folder" feature.
Rémi Duraffort [Mon, 8 Mar 2010 12:09:06 +0000 (13:09 +0100)]
Qt4: fix the "Show Containing folder" feature.

14 years agoQt: Playlist drag and drop corrections
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.

14 years agoQt: don't emit redundant InputManager::statusChanged() signals
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.

14 years agoWin32: don't forget to remove the plugins cache at uninstall
Geoffroy Couprie [Mon, 8 Mar 2010 00:02:54 +0000 (01:02 +0100)]
Win32: don't forget to remove the plugins cache at uninstall

14 years agoWin32: don't remove inexistant directory while uninstalling
Geoffroy Couprie [Sun, 7 Mar 2010 20:04:43 +0000 (21:04 +0100)]
Win32: don't remove inexistant directory while uninstalling

14 years agoSymplify configure.ac regarding OpenCV and rename the example file from C++ to C...
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).

14 years agoProjectm: missing attach.
Rémi Duraffort [Sun, 7 Mar 2010 20:57:48 +0000 (21:57 +0100)]
Projectm: missing attach.

14 years agoOpenCV: more cosmetics.
Rémi Duraffort [Sun, 7 Mar 2010 19:43:22 +0000 (20:43 +0100)]
OpenCV: more cosmetics.

14 years agoOpenCV: cosmetics.
Rémi Duraffort [Sun, 7 Mar 2010 19:40:20 +0000 (20:40 +0100)]
OpenCV: cosmetics.

14 years agoOpenCV: include config.h first
Rémi Duraffort [Sun, 7 Mar 2010 19:36:06 +0000 (20:36 +0100)]
OpenCV: include config.h first

14 years agoWin32: fix the path to the plugins cache
Geoffroy Couprie [Sun, 7 Mar 2010 19:32:54 +0000 (20:32 +0100)]
Win32: fix the path to the plugins cache

14 years agoRTMP: totally broken, disabled for the time being
Rémi Denis-Courmont [Sun, 7 Mar 2010 19:26:56 +0000 (21:26 +0200)]
RTMP: totally broken, disabled for the time being

14 years agoCosmetic fix
Rémi Denis-Courmont [Sun, 7 Mar 2010 19:21:29 +0000 (21:21 +0200)]
Cosmetic fix

14 years agoFix #include <SDL/SDL.h> to be #include <SDL.h>
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>
14 years agoMSN: fix assertion (fixes #2930)
Rémi Denis-Courmont [Sun, 7 Mar 2010 18:29:20 +0000 (20:29 +0200)]
MSN: fix assertion (fixes #2930)

14 years agoQt4: bookmarks: don't give an anonymous temporary object to qtu
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

14 years agoudev sd: fix udev based disc finding
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.

14 years agoLUA: (really) fix infinite loop
Rémi Denis-Courmont [Sun, 7 Mar 2010 15:02:44 +0000 (17:02 +0200)]
LUA: (really) fix infinite loop

14 years agoPartially fix encoding of relative paths in playlist files
Rémi Denis-Courmont [Sun, 7 Mar 2010 10:33:07 +0000 (12:33 +0200)]
Partially fix encoding of relative paths in playlist files

14 years agol10n: Chinese update
Dean Lee [Sun, 7 Mar 2010 00:12:00 +0000 (00:12 +0000)]
l10n: Chinese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
14 years agoWin32: allow negative values for window coordinates (fixes #3389)
Rémi Denis-Courmont [Sat, 6 Mar 2010 20:37:28 +0000 (22:37 +0200)]
Win32: allow negative values for window coordinates (fixes #3389)

14 years agovideo-x, video-y: make zero the default
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).

14 years agovlc-cache-gen: add --force option
Rémi Denis-Courmont [Sat, 6 Mar 2010 17:16:46 +0000 (19:16 +0200)]
vlc-cache-gen: add --force option

14 years agoWin32: use video-x and video-y (fixes #3215)
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:48:43 +0000 (18:48 +0200)]
Win32: use video-x and video-y (fixes #3215)

14 years agoXCB/window: pass requested position to the X server
Rémi Denis-Courmont [Sat, 6 Mar 2010 16:38:25 +0000 (18:38 +0200)]
XCB/window: pass requested position to the X server

14 years agoXCB: set window provider requested position from video-x and video-y
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.

14 years agoRevert "Qt4: --embedded-video must be checked on the window object (not the UI)"
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.

14 years agoplaylist: fix crash when p_playlist->current.i_size == 0 and random is on
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

14 years agoskins2: replace most config_Get with var_Inherit
Erwan Tulou [Sat, 6 Mar 2010 13:28:07 +0000 (14:28 +0100)]
skins2: replace most config_Get with var_Inherit

14 years agoUse vlc_mrand48() instead of rand()
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:29:29 +0000 (12:29 +0200)]
Use vlc_mrand48() instead of rand()

14 years agoThread-safe random numbers for session IDs
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:21:02 +0000 (12:21 +0200)]
Thread-safe random numbers for session IDs

14 years agoplaylist: randomize in a thread-safe manner
Rémi Denis-Courmont [Sat, 6 Mar 2010 10:20:41 +0000 (12:20 +0200)]
playlist: randomize in a thread-safe manner

14 years agovlc_(d|l|m)rand48: thread-safe wrappers for non-secure/fast PRNG
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.

14 years agovlc_rand_bytes: minor thread-safety fix
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

14 years agomediadirs: display snapshots in the video widget
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)

14 years agoskins2(Win32): add a way to hide the popup menu on systray
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

14 years agoAlso provide erand48 and jrand48, they come almost for free
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

14 years agonrand48: small fixes
Rémi Denis-Courmont [Sat, 6 Mar 2010 07:50:10 +0000 (09:50 +0200)]
nrand48: small fixes

14 years agoFix use of uninitialized value.
Rémi Duraffort [Sat, 6 Mar 2010 07:44:02 +0000 (08:44 +0100)]
Fix use of uninitialized value.

14 years agoMux: kill srand() use
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:40:35 +0000 (00:40 +0200)]
Mux: kill srand() use

14 years agoASF: thread-safe pseudo-random numbers
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:34:16 +0000 (00:34 +0200)]
ASF: thread-safe pseudo-random numbers

14 years agonrand48 replacement
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.

14 years agoRun system_Configure after playlist is created (fixes #3344)
Rémi Denis-Courmont [Fri, 5 Mar 2010 21:14:56 +0000 (23:14 +0200)]
Run system_Configure after playlist is created (fixes #3344)

14 years agoNSIS: fix autoplay of DVD and CDAudio
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>
14 years agoNSIS: small path fix
Geoffroy Couprie [Fri, 5 Mar 2010 19:15:14 +0000 (20:15 +0100)]
NSIS: small path fix

14 years agoWin32: don't launch VLC as admin after installing
Geoffroy Couprie [Fri, 5 Mar 2010 18:48:17 +0000 (19:48 +0100)]
Win32: don't launch VLC as admin after installing

Fixes 3192

14 years agoWin32: use ShellExecuteW instead of ShellExecuteA in the update code
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

14 years agoWin32: Store the plugins cache in c:\ProgramData\VideoLAN\VLC, run vlc-cache-gen...
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

14 years agoFix quoted values containing # in VLM shell.
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)

14 years agoFix randomisation algorithm. Thanks to jawbroken on IRC.
Antoine Cellerier [Fri, 5 Mar 2010 10:34:42 +0000 (11:34 +0100)]
Fix randomisation algorithm. Thanks to jawbroken on IRC.

14 years agoRevert "modules: Put bool at the end of the structure to eventually ease packing."
Pierre d'Herbemont [Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)]
Revert "modules: Put bool at the end of the structure to eventually ease packing."

This reverts commit 58275b9dd582d873d42c08a47873ae44b67f1003.

This is probably too late for this kind of changes. And it's probably not the best way to reduce the hudge memory footprint of the module bank.

14 years agomodules: Put bool at the end of the structure to eventually ease packing.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:24:37 +0000 (14:24 +0100)]
modules: Put bool at the end of the structure to eventually ease packing.

14 years agokilobit is kb, not kB
Rémi Denis-Courmont [Wed, 3 Mar 2010 18:51:49 +0000 (20:51 +0200)]
kilobit is kb, not kB

14 years agoUse KiB instead of kB for input statistics
Rémi Denis-Courmont [Wed, 3 Mar 2010 15:33:44 +0000 (17:33 +0200)]
Use KiB instead of kB for input statistics

This is an arbitrary choice. But KiB are much more common than kB.
Also the notation is unambiguous.

Note that we keep kbps for *bit* rates.

14 years agoLower the size of the module_t structure because not any module as more than 15 short...
Rémi Duraffort [Fri, 5 Mar 2010 17:33:57 +0000 (18:33 +0100)]
Lower the size of the module_t structure because not any module as more than 15 shortcut (I choose 20 to be safe)

Thanks to Pierre d'Herbemont who pointed this out.

14 years agoQt: prevent having cached a deleted item
Jakob Leben [Fri, 5 Mar 2010 14:13:27 +0000 (15:13 +0100)]
Qt: prevent having cached a deleted item

When deleting, clear cache in any case since deleting an item deletes all it's children too.

14 years agoRevert "modules: Put bool at the end of the structure to eventually ease packing."
Pierre d'Herbemont [Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)]
Revert "modules: Put bool at the end of the structure to eventually ease packing."

This reverts commit 58275b9dd582d873d42c08a47873ae44b67f1003.

This is probably too late for this kind of changes. And it's probably not the best way to reduce the hudge memory footprint of the module bank.

14 years agomodules: Put bool at the end of the structure to eventually ease packing.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:24:37 +0000 (14:24 +0100)]
modules: Put bool at the end of the structure to eventually ease packing.

14 years agoluasd: Force a garbage collect at the end of Run().
Pierre d'Herbemont [Fri, 5 Mar 2010 10:01:32 +0000 (11:01 +0100)]
luasd: Force a garbage collect at the end of Run().

Generally the core won't call Close() until the end of vlc's life. Hence
it's our last chance to gc collect before the end of vlc's life.

This gets important because some sd (freebox...) will open a vlc.stream
which (and that's an other issue) will eat 12MB at creation for a cache
that will never be completely filed. It also mean that if you vlc.stream
N small files, we may consume N * 12MB until finally lua decides to garabge
collect. And because we don't teach lua that vlc.stream takes 12MB this
is not likely to happen.