vlc.git
13 years ago[Qt] Fix a crash when toggling minimalView when --no-embedded-video.
Jean-Baptiste Kempf [Tue, 21 Oct 2008 07:35:44 +0000 (09:35 +0200)]
[Qt] Fix a crash when toggling minimalView when --no-embedded-video.

Close #2194

13 years ago[Contribs] Update the patch to deactivate c99 mode in FFmpeg
Jean-Baptiste Kempf [Mon, 20 Oct 2008 23:36:16 +0000 (01:36 +0200)]
[Contribs] Update the patch to deactivate c99 mode in FFmpeg

This should fix linking to faac and mp3lame.

13 years ago[Fake] Add a missing callback on fake-file-reload
Jean-Baptiste Kempf [Mon, 20 Oct 2008 11:38:23 +0000 (13:38 +0200)]
[Fake] Add a missing callback on fake-file-reload

When fake-file-reload is changed, you might want to renew the image.
Should Close #2230

13 years ago[Win32] Fix yet another packaging issue.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 20:50:58 +0000 (22:50 +0200)]
[Win32] Fix yet another packaging issue.

13 years agoRemove dummy embedded window exclusion
Rémi Denis-Courmont [Mon, 20 Oct 2008 20:18:30 +0000 (23:18 +0300)]
Remove dummy embedded window exclusion

Qt4 embedded breakage has nothing to do with X11 afterall.

13 years agoSimplifications
Rémi Denis-Courmont [Mon, 20 Oct 2008 20:15:24 +0000 (23:15 +0300)]
Simplifications

13 years agovlc_mutex_locker: automatic mutex locking for C++
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:45:16 +0000 (22:45 +0300)]
vlc_mutex_locker: automatic mutex locking for C++

13 years agoBug fixed in the "recently played" functionnality
Ludovic Fauvet [Mon, 20 Oct 2008 19:54:27 +0000 (21:54 +0200)]
Bug fixed in the "recently played" functionnality

* A connect was called multiple times causing a wrong behaviour in the playlist.
* playlist_AddInput was replaced by playlist_Add to simplify code.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoOops, remove dummy code
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:25:58 +0000 (22:25 +0300)]
Oops, remove dummy code

13 years agoEmbedded video still crashes, so disable it - refs #2136.
Rémi Denis-Courmont [Mon, 20 Oct 2008 19:23:51 +0000 (22:23 +0300)]
Embedded video still crashes, so disable it - refs #2136.

This is a VLC bug, not Qt4 version dependent.

13 years agoRemove recursive/deadlocking calls in Qt4 embedded video (refs #2136).
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:49:19 +0000 (21:49 +0300)]
Remove recursive/deadlocking calls in Qt4 embedded video (refs #2136).

The vout code invokes the Qt4 video widget through the Qt4 window
submodule. Hence, the video widget cannot call the vout window code.
This is where the embedded video crashes seem to come from.
Unfortunately, this commit trades the deadlock (on 1.0) or the crash
(on 0.9) for an assertion failure.

13 years agoRemove debug
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:40:10 +0000 (21:40 +0300)]
Remove debug

13 years agoDo not use thread cancellation for Qt4 - fix #2225 and #2226
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:23:59 +0000 (21:23 +0300)]
Do not use thread cancellation for Qt4 - fix #2225 and #2226

13 years agoCosmetic
Rémi Denis-Courmont [Mon, 20 Oct 2008 18:22:12 +0000 (21:22 +0300)]
Cosmetic

13 years ago(Cosmetic) settings don't belong to the dialog provider
Rémi Denis-Courmont [Mon, 20 Oct 2008 16:44:41 +0000 (19:44 +0300)]
(Cosmetic) settings don't belong to the dialog provider

13 years ago[Win32] fix build package.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 16:00:25 +0000 (18:00 +0200)]
[Win32] fix build package.

13 years ago[Qt] Win Compilation fix.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 15:03:57 +0000 (17:03 +0200)]
[Qt] Win Compilation fix.

13 years ago[Qt] small menus changes...
Jean-Baptiste Kempf [Mon, 20 Oct 2008 12:53:34 +0000 (14:53 +0200)]
[Qt] small menus changes...

13 years ago[Qt] Forgotten file in previous commit.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 11:12:11 +0000 (13:12 +0200)]
[Qt] Forgotten file in previous commit.

13 years ago[Qt] Split the QtWinApp to its own file and rename it.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 10:59:57 +0000 (12:59 +0200)]
[Qt] Split the QtWinApp to its own file and rename it.

13 years ago[Qt] Various cleaning.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 10:15:27 +0000 (12:15 +0200)]
[Qt] Various cleaning.

13 years ago[Qt] RecentMRLs: Simplification and adding some debug.
Jean-Baptiste Kempf [Mon, 20 Oct 2008 00:19:19 +0000 (02:19 +0200)]
[Qt] RecentMRLs: Simplification and adding some debug.

13 years ago[Qt] remove trailing spaces, set a default filter and add a LONGTEXT
Jean-Baptiste Kempf [Mon, 20 Oct 2008 00:07:29 +0000 (02:07 +0200)]
[Qt] remove trailing spaces, set a default filter and add a LONGTEXT

13 years agoNew recently played menu.
Ludovic Fauvet [Sun, 19 Oct 2008 15:37:53 +0000 (17:37 +0200)]
New recently played menu.

* Configuration aware to enable/disable (default enabled)
 * Filters available to ignore some patterns (using QRegExp)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years ago[Qt] move some static const int to enum
Jean-Baptiste Kempf [Sun, 19 Oct 2008 23:46:16 +0000 (01:46 +0200)]
[Qt] move some static const int to enum

13 years agoUnused variables
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:12:45 +0000 (23:12 +0300)]
Unused variables

13 years agoFix swscale linking
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:12:38 +0000 (23:12 +0300)]
Fix swscale linking

13 years agoFix avformat compile+link
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:09:34 +0000 (23:09 +0300)]
Fix avformat compile+link

13 years agoFix avformat compilation
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:06:27 +0000 (23:06 +0300)]
Fix avformat compilation

13 years agoFix warning
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:06:19 +0000 (23:06 +0300)]
Fix warning

13 years agoFactorize avcodec chroma table - another 2kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 20:01:29 +0000 (23:01 +0300)]
Factorize avcodec chroma table - another 2kb

13 years agoUnused variable
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:57:37 +0000 (22:57 +0300)]
Unused variable

13 years agoSpare another 2kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:52:48 +0000 (22:52 +0300)]
Spare another 2kb

13 years agoFactorize avcodec table - spare about 5kb
Rémi Denis-Courmont [Sun, 19 Oct 2008 19:49:28 +0000 (22:49 +0300)]
Factorize avcodec table - spare about 5kb

13 years agoQt4: restore message dialog
Rémi Denis-Courmont [Sun, 19 Oct 2008 16:20:56 +0000 (19:20 +0300)]
Qt4: restore message dialog

(bug at exit due to more generic problems with #2226 and #2227)

13 years agoDo not link plugins against libvlccore explicitly
Rémi Denis-Courmont [Sun, 19 Oct 2008 14:10:11 +0000 (17:10 +0300)]
Do not link plugins against libvlccore explicitly

We really want plugins to resolve their VLC symbols against the already
loaded LibVLC core, rather than with their own version of it.
Performance benefit should be neglectible, if any.
Still, this will "fix" the plugin crash with static LibVLC builds (or
generate a due link-time error). Anyway, this is one step toward
supporting any form of static linking again.

13 years agoFix some integer overflows and a stupid memset() invocation
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:26:23 +0000 (12:26 +0300)]
Fix some integer overflows and a stupid memset() invocation

13 years agoSimply debug
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:25:29 +0000 (12:25 +0300)]
Simply debug

13 years agoFix warning
Rémi Denis-Courmont [Sun, 19 Oct 2008 09:24:33 +0000 (12:24 +0300)]
Fix warning

13 years agoAdd some Mime type to mozilla plugin
Christophe Mutricy [Sat, 18 Oct 2008 21:30:26 +0000 (22:30 +0100)]
Add some Mime type to mozilla plugin

13 years agoFix (yet another) TiVo demux overflow.
Rémi Denis-Courmont [Sat, 18 Oct 2008 19:19:49 +0000 (22:19 +0300)]
Fix (yet another) TiVo demux overflow.

Reported by Tobias Klein <tk@trapkit.de>

13 years agoXReparentWindow seems to be needed here to get video on correct screen in
Ilkka Ollakka [Sat, 18 Oct 2008 12:45:05 +0000 (15:45 +0300)]
XReparentWindow seems to be needed here to get video on correct screen in
xinerama setup.

13 years agoUse normal QCloseEvent to signal maininterface to closeup
Ilkka Ollakka [Sat, 18 Oct 2008 12:43:58 +0000 (15:43 +0300)]
Use normal QCloseEvent to signal maininterface to closeup

13 years agoRevert "Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)"
Jean-Baptiste Kempf [Sat, 18 Oct 2008 10:06:30 +0000 (12:06 +0200)]
Revert "Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)"

Let's wait for this issue to be statued.

This reverts commit 984fb14a84fdc5af8f0dc9c49928f32d04dc8cbf.

13 years agoRevert "Mark "force-dolby-surround" as deprecated"
Jean-Baptiste Kempf [Sat, 18 Oct 2008 10:06:06 +0000 (12:06 +0200)]
Revert "Mark "force-dolby-surround" as deprecated"

This reverts commit bbe5c8e4750a35bf3a5f23914c6181ffec916391.

13 years ago[Subtitles] Change error message to warning message when fail subtype detection
Jean-Baptiste Kempf [Sat, 18 Oct 2008 09:42:25 +0000 (11:42 +0200)]
[Subtitles] Change error message to warning message when fail subtype detection

Because this is really boring when you have some .txt files on the same folder than your movie and they are not subtitles but are auto-detected.

13 years ago[Qt] Fix Network Open Tab
Jean-Baptiste Kempf [Fri, 17 Oct 2008 18:07:07 +0000 (20:07 +0200)]
[Qt] Fix Network Open Tab

Network Open Tab assumes all rtp/udp addresses are multicast #2221
Please review.

13 years ago[Qt] When opening a VIDEO_TS folder, use dvd:// and not directory://
Jean-Baptiste Kempf [Fri, 17 Oct 2008 17:49:17 +0000 (19:49 +0200)]
[Qt] When opening a VIDEO_TS folder, use dvd:// and not directory://

This should close #2167. But must be checked for extra "/" on windows.

13 years agoUnneed warnings.
Rémi Duraffort [Wed, 15 Oct 2008 19:11:47 +0000 (21:11 +0200)]
Unneed warnings.

13 years ago[Qt] delete Qt preferences too when resetting prefs.
Jean-Baptiste Kempf [Fri, 17 Oct 2008 10:36:35 +0000 (12:36 +0200)]
[Qt] delete Qt preferences too when resetting prefs.

Close #2126

13 years ago[Qt] Fix the header menu popup when you have a header-state saved.
Jean-Baptiste Kempf [Fri, 17 Oct 2008 07:52:56 +0000 (09:52 +0200)]
[Qt] Fix the header menu popup when you have a header-state saved.

13 years agoMark "force-dolby-surround" as deprecated
Christophe Mutricy [Fri, 17 Oct 2008 00:05:25 +0000 (01:05 +0100)]
Mark "force-dolby-surround" as deprecated

13 years agoUpdate POTFILES.in for new and/or moved files
Christophe Mutricy [Fri, 17 Oct 2008 00:01:58 +0000 (01:01 +0100)]
Update POTFILES.in for new and/or moved files

13 years agoUnbreak compilation with --disable-sout
Pierre Ynard [Thu, 16 Oct 2008 10:45:48 +0000 (12:45 +0200)]
Unbreak compilation with --disable-sout

The libraries still won't build due to missing symbols though.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoA mouse click in an empty position clear the selection (see #1956)
Ludovic Fauvet [Thu, 16 Oct 2008 21:34:35 +0000 (23:34 +0200)]
A mouse click in an empty position clear the selection (see #1956)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoFix automake warning
Rémi Denis-Courmont [Thu, 16 Oct 2008 15:37:01 +0000 (18:37 +0300)]
Fix automake warning

13 years agoRemove unused gethostbyname check
Rémi Denis-Courmont [Thu, 16 Oct 2008 15:36:51 +0000 (18:36 +0300)]
Remove unused gethostbyname check

13 years agoProvide more item meta data to HTTP RPN.
Scott Lyons [Wed, 15 Oct 2008 00:40:28 +0000 (20:40 -0400)]
Provide more item meta data to HTTP RPN.

Working on a few remote-control applications that require more details
about the files in the playlist and the currently playing file. Also
fixed the RPN module so that the fields listed as possible arguments
for vlc_get_meta actually matches the list of fields in the Developer's
wiki.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years ago[Qt] Fix VLM icons.
Jean-Baptiste Kempf [Thu, 16 Oct 2008 13:54:57 +0000 (15:54 +0200)]
[Qt] Fix VLM icons.

Close #2186

13 years agolibvlc: description and count of tracks, titles, chapters and subtitles
Lukas Durfina [Sun, 12 Oct 2008 14:40:30 +0000 (16:40 +0200)]
libvlc: description and count of tracks, titles, chapters and subtitles

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years ago[Qt] Remove QTimer wher we can.
Jean-Baptiste Kempf [Thu, 16 Oct 2008 12:57:41 +0000 (14:57 +0200)]
[Qt] Remove QTimer wher we can.

13 years agoMissed this, connect mediainfo-stats also inputmanager for statsupdate.
Ilkka Ollakka [Thu, 16 Oct 2008 12:45:23 +0000 (15:45 +0300)]
Missed this, connect mediainfo-stats also inputmanager for statsupdate.

13 years agoAllow thread-cancelation in qt4-module, and define cancelation function
Ilkka Ollakka [Thu, 16 Oct 2008 12:15:33 +0000 (15:15 +0300)]
Allow thread-cancelation in qt4-module, and define cancelation function

Cancelation function emits event to main-interface to shut down. Thanks to
courmisch for pointing out this possibility.

Should be final issue on ticket #1365 and this commit should fix it

13 years agoTry to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)
Jean-Baptiste Kempf [Thu, 16 Oct 2008 12:15:24 +0000 (14:15 +0200)]
Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)

Ref #1417

13 years ago[Qt] Small VLM filename exporting issue.
Jean-Baptiste Kempf [Thu, 16 Oct 2008 11:48:18 +0000 (13:48 +0200)]
[Qt] Small VLM filename exporting issue.

13 years ago[USF] return if calloc fails.
Jean-Baptiste Kempf [Thu, 16 Oct 2008 11:11:00 +0000 (13:11 +0200)]
[USF] return if calloc fails.

Close CID: 171

13 years agoSupport multiple planes in the vmem driver, courtesy of Pierre Ynard.
Sam Hocevar [Thu, 16 Oct 2008 11:06:27 +0000 (13:06 +0200)]
Support multiple planes in the vmem driver, courtesy of Pierre Ynard.

13 years ago[Qt] Add the video-on-title in Simple Preferences.
Jean-Baptiste Kempf [Thu, 16 Oct 2008 10:52:18 +0000 (12:52 +0200)]
[Qt] Add the video-on-title in Simple Preferences.

In the complete preferences it is not linked directly to OSD, so users don't find it. Linked to Closed #2207.

13 years agoSimplify screen position checking
Ilkka Ollakka [Thu, 16 Oct 2008 07:53:38 +0000 (10:53 +0300)]
Simplify screen position checking

screenRec.x() and .y() should be directly those offsets needed

13 years ago[Contribs] Small FFMPEGCONF cleanup.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 23:57:03 +0000 (01:57 +0200)]
[Contribs] Small FFMPEGCONF cleanup.

13 years agodshow: try to improve multithreading code for RAW sample grabbing
Edouard Gomez [Tue, 14 Oct 2008 22:04:30 +0000 (00:04 +0200)]
dshow: try to improve multithreading code for RAW sample grabbing

# HG changeset patch
# User Edouard Gomez <ed.gomez@free.fr>
# Date 1224021637 -7200
# Node ID 0c4727aa17ba532172cae4aded7d16d70ea4ea53
# Parent  8e7c3f94407dc1500438237ac6bf3d484bfba742
dshow: try to improve multithreading code for RAW sample grabbing

This patch tries to address two theoritical problems:
 - The filter capturepin should not lock p_sys->lock. By chance, win32 mt
   locking is recursive by default.
    - Do not lock again, this makes things clearer for poor POSIX coders like
      me.
 - The current code does not try to push samples as fast as it receives them.
   This is caused by the arbitrary msleep call which can differ sample delivery
   with up to 10ms delay. Moreover, only a single sample at a time was processed
   either for audio or for video.
    - Use MT condition instead of sleep so no artificial delay is introduced in
      the delivery chain.
    - Process all available samples at once.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agodshow: prevent division by zero
Edouard Gomez [Tue, 14 Oct 2008 22:04:27 +0000 (00:04 +0200)]
dshow: prevent division by zero

# HG changeset patch
# User Edouard Gomez <ed.gomez@free.fr>
# Date 1224021633 -7200
# Node ID 9564c1736b76c96f37fb85476d36496b3d7955bb
# Parent  40d5c2186f7fb31e944b5b542b3366bbc420cc0e
dshow: prevent division by zero

In the DShow capture module, division by zero is possible in
multiple modulo statements when dealing with granularity values
returned by capture filters.

Change the code so that:
 - if granularity is zero, then width/height/samplingrate must be
   a perfect match with requested settings.
 - if granularity is non zero, then use the old condition tests.

This fixes real crashes reported by VLC users on different forums.

See:
http://forum.doom9.org/archive/index.php/t-134655.html
http://forum.videolan.org/viewtopic.php?f=2&t=37056&p=114065&hilit=blackmagic

Tested with both a Decklink HD Extreme card and a Decklink HD Pro card.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agosome THANKS. :D
Jean-Baptiste Kempf [Wed, 15 Oct 2008 23:18:26 +0000 (01:18 +0200)]
some THANKS. :D

13 years ago[x11 vout] Fix x11 fullscreen behaviour. Patch by Raster!
Jean-Baptiste Kempf [Wed, 15 Oct 2008 23:10:32 +0000 (01:10 +0200)]
[x11 vout] Fix x11 fullscreen behaviour. Patch by Raster!

This fix e17, Xfce on my configuration.
Thanks very much Raster.

13 years agomouseReleaseEvent was not correctly dispatched under certain circumstance
Ludovic Fauvet [Wed, 15 Oct 2008 22:18:02 +0000 (00:18 +0200)]
mouseReleaseEvent was not correctly dispatched under certain circumstance

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agomacosx: Disable messages for now
Derk-Jan Hartman [Wed, 15 Oct 2008 19:44:20 +0000 (21:44 +0200)]
macosx: Disable messages for now

13 years agoRemoved unused i_matrix_coefficients picture_t field.
Laurent Aimar [Wed, 15 Oct 2008 18:58:17 +0000 (20:58 +0200)]
Removed unused i_matrix_coefficients picture_t field.

13 years agoMerged vout_DatePicture into vout_DisplayPicture.
Laurent Aimar [Wed, 15 Oct 2008 18:53:21 +0000 (20:53 +0200)]
Merged vout_DatePicture into vout_DisplayPicture.

13 years agoAdded a comment about seek while paused issue.
Laurent Aimar [Wed, 15 Oct 2008 18:09:09 +0000 (20:09 +0200)]
Added a comment about seek while paused issue.

13 years agoFactorized forced vout picture releases.
Laurent Aimar [Tue, 14 Oct 2008 20:52:35 +0000 (22:52 +0200)]
Factorized forced vout picture releases.

13 years agoImproved vout picture locking scheme.
Laurent Aimar [Tue, 14 Oct 2008 20:46:21 +0000 (22:46 +0200)]
Improved vout picture locking scheme.

13 years agoMoved vout helpers out of decoder.c.
Laurent Aimar [Tue, 14 Oct 2008 20:36:10 +0000 (22:36 +0200)]
Moved vout helpers out of decoder.c.

13 years agoCosmetics.
Laurent Aimar [Mon, 13 Oct 2008 20:15:38 +0000 (22:15 +0200)]
Cosmetics.

13 years agoFixed doc for vlc_demux.
Laurent Aimar [Mon, 13 Oct 2008 19:07:22 +0000 (21:07 +0200)]
Fixed doc for vlc_demux.

13 years ago[Qt] Connect Faster button to FASTER!
Jean-Baptiste Kempf [Wed, 15 Oct 2008 18:47:41 +0000 (20:47 +0200)]
[Qt] Connect Faster button to FASTER!

13 years ago[Qt] make slower/faster buttons flat by default in FSC.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 18:32:46 +0000 (20:32 +0200)]
[Qt] make slower/faster buttons flat by default in FSC.

13 years agoCalculate fullscreencotnrollers position only when screen has changed
Ilkka Ollakka [Wed, 15 Oct 2008 18:31:56 +0000 (21:31 +0300)]
Calculate fullscreencotnrollers position only when screen has changed

13 years agoCalculate fullscreen controllers position on showtime
Ilkka Ollakka [Wed, 15 Oct 2008 18:20:55 +0000 (21:20 +0300)]
Calculate fullscreen controllers position on showtime

Take multiple-screens into account when trying to get fullscreen controller
into center of current physical screen.

13 years agoCalculate position for videowindow to use current screen in xinerama-setup also.
Ilkka Ollakka [Wed, 15 Oct 2008 17:56:56 +0000 (20:56 +0300)]
Calculate position for videowindow to use current screen in xinerama-setup also.

Basicly same as mplayer/libvo/x11_common.c does.

13 years ago[Qt] Fix crash when pressed play when input is DYYYYYING.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 16:24:01 +0000 (18:24 +0200)]
[Qt] Fix crash when pressed play when input is DYYYYYING.

Close #2196

13 years agomsg_Unsubscribe: race condition memory leak
Rémi Denis-Courmont [Wed, 15 Oct 2008 16:11:22 +0000 (19:11 +0300)]
msg_Unsubscribe: race condition memory leak

13 years agoAlloc memory later, remove non-compilable goto
Rémi Denis-Courmont [Wed, 15 Oct 2008 15:54:24 +0000 (18:54 +0300)]
Alloc memory later, remove non-compilable goto

13 years agomessages: we have a vasprintf replacement now, remove the old workarounds.
Derk-Jan Hartman [Wed, 15 Oct 2008 15:37:13 +0000 (17:37 +0200)]
messages: we have a vasprintf replacement now, remove the old workarounds.

13 years ago[Qt] use screenGeometry instead of screen.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 15:41:41 +0000 (17:41 +0200)]
[Qt] use screenGeometry instead of screen.

13 years agolibvlc: fix printf warning
Derk-Jan Hartman [Mon, 13 Oct 2008 15:58:59 +0000 (17:58 +0200)]
libvlc: fix printf warning

13 years agologger: Mac OS X compile fix
Derk-Jan Hartman [Mon, 13 Oct 2008 15:57:45 +0000 (17:57 +0200)]
logger: Mac OS X compile fix

13 years agolive555 timeout prevention thread fixes
Sebastien Escudier [Thu, 9 Oct 2008 11:46:39 +0000 (13:46 +0200)]
live555 timeout prevention thread fixes

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoQt4: compile fix.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 08:30:04 +0000 (10:30 +0200)]
Qt4: compile fix.

13 years agoMessage deactivation in Interface due to new API. Not functionnal change but compiles.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 00:09:59 +0000 (02:09 +0200)]
Message deactivation in Interface due to new API. Not functionnal change but compiles.

13 years agoQt4: Controller Rework.
Jean-Baptiste Kempf [Wed, 15 Oct 2008 00:00:55 +0000 (02:00 +0200)]
Qt4: Controller Rework.

Introduction of an abstractController, that can:
- create most of the interface controller widgets
- execute their actions

All buttons connect themselve to a mapper and a doAction( id_action )
that centralize everything. The Action could go into a mainActionner, I guess. Opinions?

This cleans a lot the signal and exchanges between MI and Controller,
between Controller and FSC. The buttons do their own cooking and connect
directly to THEMIM or to some of the few signals of the Controller
(inputExist, inputHasVideo, inputCanRecord)

This reworks most of the HACKS of Teletext Buttons and AtoB Buttons

The FSC inherit from AbstractController and not Controller, which remove the b_fscreation HACK.

There will be some regressions, I tried my best to minimize them.

The code is generic enough to be able to customize the toolbars now. HAVE FUN!