]> git.sesse.net Git - vlc/log
vlc
13 years agoFix stupid typo
Ludovic Fauvet [Sat, 30 Oct 2010 14:12:09 +0000 (16:12 +0200)]
Fix stupid typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoText: Fix compilation on non-UTF-8 systems
Jean-Baptiste Kempf [Sat, 30 Oct 2010 10:00:23 +0000 (12:00 +0200)]
Text: Fix compilation on non-UTF-8 systems

13 years agoncurses: fix messages display
Rafaël Carré [Sat, 30 Oct 2010 12:48:19 +0000 (14:48 +0200)]
ncurses: fix messages display

- use libvlc verbosity
- reset default color after having displayed the messages

13 years agoQt: reorder views
Jean-Baptiste Kempf [Sat, 30 Oct 2010 09:44:46 +0000 (11:44 +0200)]
Qt: reorder views

13 years agoQt: initial pass for CoverFlow view of the playlist
Jean-Baptiste Kempf [Thu, 28 Oct 2010 12:33:27 +0000 (14:33 +0200)]
Qt: initial pass for CoverFlow view of the playlist

This code is unfinished, and is commited as a Proof-of-Concept
If people agree on it, we will go on this experiment, else revert.
A lot of the code is broken, you are warned.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoQt, playlist: Move getMeta helper functions to PLModel
Jean-Baptiste Kempf [Fri, 29 Oct 2010 01:21:11 +0000 (03:21 +0200)]
Qt, playlist: Move getMeta helper functions to PLModel

13 years agoncurses: add back comment mistakenly removed
Rafaël Carré [Fri, 29 Oct 2010 21:56:40 +0000 (23:56 +0200)]
ncurses: add back comment mistakenly removed

13 years agoncurses: simplify IsIndex() and DrawPlaylist()
Rafaël Carré [Fri, 29 Oct 2010 21:53:28 +0000 (23:53 +0200)]
ncurses: simplify IsIndex() and DrawPlaylist()

13 years agoAdd some translators
Christophe Mutricy [Fri, 29 Oct 2010 21:30:44 +0000 (22:30 +0100)]
Add some translators

13 years agoActivate Modern Greek translation on Windows (and Mac)
Christophe Mutricy [Fri, 29 Oct 2010 21:24:32 +0000 (22:24 +0100)]
Activate Modern Greek translation on Windows (and Mac)

13 years agoncurses: if (a || (!a && b)) -> if (a || b)
Rafaël Carré [Fri, 29 Oct 2010 21:34:13 +0000 (23:34 +0200)]
ncurses: if (a || (!a && b)) -> if (a || b)

13 years agoncurses: typo
Rafaël Carré [Fri, 29 Oct 2010 16:09:52 +0000 (18:09 +0200)]
ncurses: typo

13 years agoncurses: remove broken code to switch between flat/tree view
Rafaël Carré [Fri, 29 Oct 2010 16:03:51 +0000 (18:03 +0200)]
ncurses: remove broken code to switch between flat/tree view

flat/tree view seems to be controlled by playlist-tree option these days

13 years agoncurses: missing check in CheckIdx()
Rafaël Carré [Fri, 29 Oct 2010 15:46:26 +0000 (17:46 +0200)]
ncurses: missing check in CheckIdx()

13 years agoncurses: messages box
Rafaël Carré [Fri, 29 Oct 2010 15:29:12 +0000 (17:29 +0200)]
ncurses: messages box

13 years agoncurses: lot of changes stacked together
Rafaël Carré [Fri, 29 Oct 2010 14:16:58 +0000 (16:16 +0200)]
ncurses: lot of changes stacked together

- remove some messages logging dead code
- don't store the ncurses WINDOW, use global stdscr instead
- add some fancy unicode characters to the help
- factorize list navigation key handling
    all boxes now use the same code than PLAYLIST/BROWSE
    this means there is now a selector in every box
- break Redraw() in several functions
- remove fancy characters from Status box drawing code
    use the same layout than meta-info / info boxes
- fix a display bug in objects box
- simplify some functions and remove unneeded arguments
- avoid a strdup() in ReadDir() loop

        Known regressions:
- when switching back to PLAYLIST box, the selector will be set to the
  playing item only after the 2nd refresh (i.e. maximum 1 second later)

13 years agoNEWS: mention latest 1.2.0 developments
Jean-Baptiste Kempf [Fri, 29 Oct 2010 01:08:19 +0000 (03:08 +0200)]
NEWS: mention latest 1.2.0 developments

And improve consistency

13 years agodescription: fix the way the input is stopped
Pierre Ynard [Fri, 29 Oct 2010 01:02:55 +0000 (03:02 +0200)]
description: fix the way the input is stopped

Yes, this still works fine as long as it's used in that one place in
the VLM.

13 years agoGME: support for more than one track per file
Rémi Denis-Courmont [Thu, 28 Oct 2010 20:57:10 +0000 (23:57 +0300)]
GME: support for more than one track per file

13 years agoGME: useless #include
Rémi Denis-Courmont [Thu, 28 Oct 2010 20:56:54 +0000 (23:56 +0300)]
GME: useless #include

13 years agoGME: fix potential integer overflow
Rémi Denis-Courmont [Thu, 28 Oct 2010 19:00:45 +0000 (22:00 +0300)]
GME: fix potential integer overflow

13 years agoGME: new plugin based on the official C API
Rémi Denis-Courmont [Thu, 28 Oct 2010 18:58:04 +0000 (21:58 +0300)]
GME: new plugin based on the official C API

Only one track per file implemented yet

13 years agoGME: complete plugin removal
Rémi Denis-Courmont [Thu, 28 Oct 2010 17:13:37 +0000 (20:13 +0300)]
GME: complete plugin removal

This uses some unspecified C++ statically linked version of GME.
That does not correspond to libgme, and seems unused.

13 years agoWin32: libintl (gettext-runtime) should not need libiconv
Rémi Denis-Courmont [Wed, 27 Oct 2010 19:55:01 +0000 (22:55 +0300)]
Win32: libintl (gettext-runtime) should not need libiconv

Our PO files are all encoded in UTF-8, and VLC always binds its text
domain as UTF-8. There is no need to convert localized strings. So
libintl does not need to use iconv.

13 years agoPLModel: formatting fixes
Jean-Baptiste Kempf [Thu, 28 Oct 2010 12:30:26 +0000 (14:30 +0200)]
PLModel: formatting fixes

13 years agoQt: fix the view checked() state in the ViewMenu
Jean-Baptiste Kempf [Thu, 28 Oct 2010 01:59:02 +0000 (03:59 +0200)]
Qt: fix the view checked() state in the ViewMenu

13 years agoQt: further playlistPanel simplifications
Jean-Baptiste Kempf [Wed, 27 Oct 2010 23:53:41 +0000 (01:53 +0200)]
Qt: further playlistPanel simplifications

This should help a lot the future work.

13 years agoAdd missing include
Pierre Ynard [Thu, 28 Oct 2010 02:58:57 +0000 (04:58 +0200)]
Add missing include

13 years agoi18n: remove deleted file
Pierre Ynard [Thu, 28 Oct 2010 02:26:09 +0000 (04:26 +0200)]
i18n: remove deleted file

13 years agovlm: use libvlc as a parent for vlm instance input resources
Pierre Ynard [Wed, 27 Oct 2010 20:33:09 +0000 (22:33 +0200)]
vlm: use libvlc as a parent for vlm instance input resources

We can't use the VLM object because the instances and their input
resources are cleaned up in the VLM destructor

13 years agoLUA: use FromCharset()
Rémi Denis-Courmont [Wed, 27 Oct 2010 19:31:01 +0000 (22:31 +0300)]
LUA: use FromCharset()

13 years agoFromLocale and ToLocale based on FromCharset and ToCharset
Rémi Denis-Courmont [Wed, 27 Oct 2010 18:26:31 +0000 (21:26 +0300)]
FromLocale and ToLocale based on FromCharset and ToCharset

13 years agolibvlc.sym: Alphabetical order.
Pierre d'Herbemont [Wed, 27 Oct 2010 18:25:25 +0000 (20:25 +0200)]
libvlc.sym: Alphabetical order.

13 years agovlc_cpu: Fix a typo about ppc64.
Pierre d'Herbemont [Wed, 27 Oct 2010 18:22:28 +0000 (20:22 +0200)]
vlc_cpu: Fix a typo about ppc64.

13 years agoRevert "Qt4: small loop change"
Ilkka Ollakka [Wed, 27 Oct 2010 15:05:15 +0000 (18:05 +0300)]
Revert "Qt4: small loop change"

This reverts commit d38706da538c117b7da468edae58c54777104081.

Changed back, as changed loop didn't do same as original did

13 years agoncurses: rearrange Run() to remove a variable
Rafaël Carré [Tue, 26 Oct 2010 23:26:39 +0000 (01:26 +0200)]
ncurses: rearrange Run() to remove a variable

13 years agoncurses: cosmetics to reduce LoC count (now under 2k!)
Rafaël Carré [Tue, 26 Oct 2010 22:21:01 +0000 (00:21 +0200)]
ncurses: cosmetics to reduce LoC count (now under 2k!)

Also assume p_item->i_es is set correctly

13 years agoRedraw(): if/else if/else if -> switch/case
Rafaël Carré [Tue, 26 Oct 2010 22:10:02 +0000 (00:10 +0200)]
Redraw(): if/else if/else if -> switch/case

13 years agoncurses: split HandleKey()
Rafaël Carré [Tue, 26 Oct 2010 21:42:54 +0000 (23:42 +0200)]
ncurses: split HandleKey()

- use switch/case instead of if/else if/else if
- factor out HandleEditBoxKey() and HandleCommonKey()
- return bool instead of int

13 years agoncurses: densify HandleKey()
Rafaël Carré [Tue, 26 Oct 2010 20:46:36 +0000 (22:46 +0200)]
ncurses: densify HandleKey()

Use one line per switch label when it improves readability
Also explicit the sign of position increment even when positive so +x and -x are aligned

13 years agoncurses: remove "default: break;" from switches
Rafaël Carré [Tue, 26 Oct 2010 20:01:56 +0000 (22:01 +0200)]
ncurses: remove "default: break;" from switches

13 years agoncurses: factor HandleBrowseKey() out of HandleKey()
Rafaël Carré [Tue, 26 Oct 2010 19:57:53 +0000 (21:57 +0200)]
ncurses: factor HandleBrowseKey() out of HandleKey()

13 years agoncurses: Fix comment, UTF-8 locale is now required
Rafaël Carré [Tue, 26 Oct 2010 19:30:36 +0000 (21:30 +0200)]
ncurses: Fix comment, UTF-8 locale is now required

13 years agoQt: move view names to the StandardPanel file
Jean-Baptiste Kempf [Wed, 27 Oct 2010 06:50:08 +0000 (08:50 +0200)]
Qt: move view names to the StandardPanel file

And cleanup includes of StandardPanel

13 years agoQt: Playlist, code simplification and factorisation
Jean-Baptiste Kempf [Wed, 27 Oct 2010 05:12:23 +0000 (07:12 +0200)]
Qt: Playlist, code simplification and factorisation

Remove friendship
Factorisation of CoverArt
Reduction of class footprints
virtual and protected correctness
Forward declaration when possible

13 years agoQt: rename playlist views files
Jean-Baptiste Kempf [Tue, 26 Oct 2010 19:37:28 +0000 (21:37 +0200)]
Qt: rename playlist views files

13 years agoQt: playlist views, correct virtualness
Jean-Baptiste Kempf [Tue, 26 Oct 2010 19:32:49 +0000 (21:32 +0200)]
Qt: playlist views, correct virtualness

13 years agoluatelnet: fix grammar
Pierre Ynard [Tue, 26 Oct 2010 23:40:20 +0000 (01:40 +0200)]
luatelnet: fix grammar

13 years agoluatelnet: don't replace \r by extra \n
Pierre Ynard [Tue, 26 Oct 2010 23:26:47 +0000 (01:26 +0200)]
luatelnet: don't replace \r by extra \n

It's useless and create bogus empty commands, that output ugly blank
lines and crap during login

13 years agoncurses: factor HandlePlaylistKey() out of HandleKey()
Rafaël Carré [Tue, 26 Oct 2010 18:14:19 +0000 (20:14 +0200)]
ncurses: factor HandlePlaylistKey() out of HandleKey()

13 years agoFreeType: use ToCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 18:11:13 +0000 (21:11 +0300)]
FreeType: use ToCharset()

13 years agoMMS: use ToCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:59:59 +0000 (20:59 +0300)]
MMS: use ToCharset()

13 years agoAdd ToCharset() helper to convert from UTF-8
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:48:46 +0000 (20:48 +0300)]
Add ToCharset() helper to convert from UTF-8

13 years agoDVB: resync with TS demux
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:27:40 +0000 (20:27 +0300)]
DVB: resync with TS demux

13 years agoReplace vlc_fix_readdir() with FromCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:17:55 +0000 (20:17 +0300)]
Replace vlc_fix_readdir() with FromCharset()

13 years agoMove vlc_iconv* to <vlc_charset.h>
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:11:35 +0000 (20:11 +0300)]
Move vlc_iconv* to <vlc_charset.h>

13 years agoTS: use FromCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 17:06:09 +0000 (20:06 +0300)]
TS: use FromCharset()

13 years agoNSC: use FromCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 16:56:11 +0000 (19:56 +0300)]
NSC: use FromCharset()

13 years agoASF: use FromCharset()
Rémi Denis-Courmont [Tue, 26 Oct 2010 16:51:43 +0000 (19:51 +0300)]
ASF: use FromCharset()

13 years agoncurses Eject(): initialize psz_device correctly
Rafaël Carré [Tue, 26 Oct 2010 16:27:55 +0000 (18:27 +0200)]
ncurses Eject(): initialize psz_device correctly

13 years agoQt4: small loop change
Ilkka Ollakka [Tue, 26 Oct 2010 16:04:57 +0000 (19:04 +0300)]
Qt4: small loop change

13 years agoQt4: don't create multiple playlist models
Ilkka Ollakka [Tue, 26 Oct 2010 16:04:06 +0000 (19:04 +0300)]
Qt4: don't create multiple playlist models

13 years agoncurses: fix search string display
Rafaël Carré [Tue, 26 Oct 2010 14:00:07 +0000 (16:00 +0200)]
ncurses: fix search string display

13 years agoncurses: remove color switching
Rafaël Carré [Tue, 26 Oct 2010 13:54:07 +0000 (15:54 +0200)]
ncurses: remove color switching

--no-color / --color is a fine enough control

13 years agoncurses: remove f_slider* from intf context
Rafaël Carré [Tue, 26 Oct 2010 13:46:53 +0000 (15:46 +0200)]
ncurses: remove f_slider* from intf context

ManageSlider() -> ChangePosition(), now takes the position increment as (signed) argument
Don't show percentage of media in Position (elapsed/total already show this information)

13 years agoncurses: remove variable from interface context
Rafaël Carré [Tue, 26 Oct 2010 13:32:20 +0000 (15:32 +0200)]
ncurses: remove variable from interface context

13 years agoncurses: fix playlist locking problem
Rafaël Carré [Tue, 26 Oct 2010 13:25:02 +0000 (15:25 +0200)]
ncurses: fix playlist locking problem

13 years agoncurses: cleanup
Rafaël Carré [Tue, 26 Oct 2010 13:24:16 +0000 (15:24 +0200)]
ncurses: cleanup

factor out file/directory detection code
remove the need for {OPEN,SEARCH}_CHAIN_SIZE defines

13 years agotypo
Rafaël Carré [Tue, 26 Oct 2010 12:17:00 +0000 (14:17 +0200)]
typo

13 years agoncurses: require libncursesw
Rafaël Carré [Tue, 26 Oct 2010 11:35:32 +0000 (13:35 +0200)]
ncurses: require libncursesw

remove code to workaround lack of unicode support

Also statically allocate open and search buffers

13 years agoncurses: cosmetics
Rafaël Carré [Tue, 26 Oct 2010 09:25:13 +0000 (11:25 +0200)]
ncurses: cosmetics

align 'case' on the same level than 'switch'
use an inline function to switch boxes

13 years agoncurses: simplify metadata printing
Rafaël Carré [Tue, 26 Oct 2010 08:50:31 +0000 (10:50 +0200)]
ncurses: simplify metadata printing

13 years agoncurses: cleanup
Rafaël Carré [Mon, 25 Oct 2010 22:39:58 +0000 (00:39 +0200)]
ncurses: cleanup

Comment out all messages box code
Factorize Eject()
Replace break/goto in HandleKey() by return
Draw immediately on start of interface (avoid flicker)
fix Playlist race condition in Run()
Remove pointless comments

13 years agoncurses: cleanup
Rafaël Carré [Mon, 25 Oct 2010 21:38:12 +0000 (23:38 +0200)]
ncurses: cleanup

remove unused intf_sys_t members
remove useless assignements
use C99 for(;;)
fix a double free when not using ncursesw
use sizeof instead of strlen() when possible
use var_GetInteger() instead of var_Get()
use calloc() to allocate intf_sys_t and remove assignements which set memory to 0

13 years agoncurses: i_current_view is a boolean
Rafaël Carré [Mon, 25 Oct 2010 20:57:39 +0000 (22:57 +0200)]
ncurses: i_current_view is a boolean

13 years agoncurses: Use a table to store color pairs
Rafaël Carré [Mon, 25 Oct 2010 20:52:01 +0000 (22:52 +0200)]
ncurses: Use a table to store color pairs

13 years agoncurses: Rewrite playlist code to make it more readable
Rafaël Carré [Mon, 25 Oct 2010 20:38:50 +0000 (22:38 +0200)]
ncurses: Rewrite playlist code to make it more readable

Split some functions

13 years agoncurses: factorize ReadDir()
Rafaël Carré [Mon, 25 Oct 2010 19:43:30 +0000 (21:43 +0200)]
ncurses: factorize ReadDir()

13 years agoncurses: improve array cleanup
Rafaël Carré [Mon, 25 Oct 2010 19:29:08 +0000 (21:29 +0200)]
ncurses: improve array cleanup

factorize

13 years agoncurses: cosmetics
Rafaël Carré [Mon, 25 Oct 2010 19:05:15 +0000 (21:05 +0200)]
ncurses: cosmetics

Remove braces around a single statement
Merge some comparisons
"( a )"             -> "(a)"
"if(x)"             -> "if (x)"
"if (x == NULL)"    -> "if (!x)"
"if (x != NULL)"    -> "if (x)"

ReadDir: Invert logic to have less indentation:
{
    if( a )
        x();
    else
        y();
}
====>
{
    if( !a )
    {
        y();
        return;
    }

    x();
}

13 years agoncurses: reorder static functions
Rafaël Carré [Mon, 25 Oct 2010 18:50:37 +0000 (20:50 +0200)]
ncurses: reorder static functions

Remove most forward declarations
Also update copyright

13 years agolua_sd_channels: implement the search function.
Rémi Duraffort [Mon, 25 Oct 2010 21:34:36 +0000 (23:34 +0200)]
lua_sd_channels: implement the search function.

13 years agoAdd an SD for channels.com (nice content).
Rémi Duraffort [Mon, 25 Oct 2010 21:17:09 +0000 (23:17 +0200)]
Add an SD for channels.com (nice content).

13 years agolua: cosmetics.
Rémi Duraffort [Mon, 25 Oct 2010 13:15:45 +0000 (15:15 +0200)]
lua: cosmetics.

13 years agoFixed kate decoder compilation.
Laurent Aimar [Sun, 24 Oct 2010 15:58:59 +0000 (17:58 +0200)]
Fixed kate decoder compilation.

13 years agoFixed filter_chain_MouseFilter when multiple video filters are used.
Laurent Aimar [Sun, 24 Oct 2010 15:57:57 +0000 (17:57 +0200)]
Fixed filter_chain_MouseFilter when multiple video filters are used.

Ths mouse events must be filtered backward.

13 years agoImproved video-splitter changes by seeking back to try to resynch on I frames.
Laurent Aimar [Sat, 23 Oct 2010 21:20:07 +0000 (23:20 +0200)]
Improved video-splitter changes by seeking back to try to resynch on I frames.

13 years agoFixed variable name in motion control intf.
Laurent Aimar [Sat, 23 Oct 2010 21:17:07 +0000 (23:17 +0200)]
Fixed variable name in motion control intf.

13 years agoRenamed vout-filter in video-splitter.
Laurent Aimar [Sat, 23 Oct 2010 21:16:22 +0000 (23:16 +0200)]
Renamed vout-filter in video-splitter.

13 years agoFixed vout-filter change support in qt4.
Laurent Aimar [Sat, 23 Oct 2010 21:09:11 +0000 (23:09 +0200)]
Fixed vout-filter change support in qt4.

13 years agoMoved "vout-filter" change support from vout to playlist.
Laurent Aimar [Sat, 23 Oct 2010 21:06:08 +0000 (23:06 +0200)]
Moved "vout-filter" change support from vout to playlist.

 Vout does not support on the fly changes, and an action on the input is needed.
As such, it only belong to the input manager (hence the playlist). It also
remove another vlc_object_find(PARENT).

13 years agoCosmetics (vout).
Laurent Aimar [Fri, 22 Oct 2010 18:54:35 +0000 (20:54 +0200)]
Cosmetics (vout).

13 years agoMoved vout_GetSnapshot() to video_output.c
Laurent Aimar [Fri, 22 Oct 2010 18:51:50 +0000 (20:51 +0200)]
Moved vout_GetSnapshot() to video_output.c

13 years agoFixed and simplify --monitor-par support.
Laurent Aimar [Fri, 22 Oct 2010 18:39:03 +0000 (20:39 +0200)]
Fixed and simplify --monitor-par support.

13 years agoRemoved non thread safe callbacks on video-title-show/timeout/position.
Laurent Aimar [Fri, 22 Oct 2010 18:29:18 +0000 (20:29 +0200)]
Removed non thread safe callbacks on video-title-show/timeout/position.

13 years agoMerged vout_pictures.c with video_output.c.
Laurent Aimar [Fri, 22 Oct 2010 18:13:33 +0000 (20:13 +0200)]
Merged vout_pictures.c with video_output.c.

13 years agoMoved picture_t related functions to its own file.
Laurent Aimar [Fri, 22 Oct 2010 18:11:12 +0000 (20:11 +0200)]
Moved picture_t related functions to its own file.

13 years agoatmo: support Fnordlicht protocol with up to 254 channels
André Weber [Mon, 25 Oct 2010 17:18:36 +0000 (19:18 +0200)]
atmo: support Fnordlicht protocol with up to 254 channels

13 years agoFix compiling of xscreensaver plugin
Mika Tiainen [Sat, 23 Oct 2010 16:21:13 +0000 (19:21 +0300)]
Fix compiling of xscreensaver plugin

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoTS mux: fix use of non-existent variables
Rémi Denis-Courmont [Mon, 25 Oct 2010 15:35:32 +0000 (18:35 +0300)]
TS mux: fix use of non-existent variables

See http://forum.videolan.org/viewtopic.php?f=13&t=83706