]> git.sesse.net Git - vlc/log
vlc
14 years agoRevert "SDP: don't disallow RTCP RR"
Pierre Ynard [Mon, 7 Dec 2009 19:28:03 +0000 (20:28 +0100)]
Revert "SDP: don't disallow RTCP RR"

This reverts commit b377e1af8d5a0df8e9969655a2024b251724c83c.

Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
14 years agoRTP out: hint the IP stack we won't be receiving anything on UDP sockets
Rémi Denis-Courmont [Mon, 7 Dec 2009 18:45:59 +0000 (20:45 +0200)]
RTP out: hint the IP stack we won't be receiving anything on UDP sockets

Currently, we never read from RTP and RTCP sockets, so we might as well
set their RX buffer size to zero.

14 years agoSDP: don't disallow RTCP RR
Pierre Ynard [Mon, 7 Dec 2009 17:51:29 +0000 (18:51 +0100)]
SDP: don't disallow RTCP RR

It does more harm than good, since some clients (RealPlayer) will
just throw out a "not enough bandwidth" error and fail to open the
stream.

14 years agoFix make dist
Pierre Ynard [Mon, 7 Dec 2009 17:41:07 +0000 (18:41 +0100)]
Fix make dist

14 years agoinput/decoder_synchro: remove unneeded variable init
Rafaël Carré [Mon, 7 Dec 2009 17:30:49 +0000 (18:30 +0100)]
input/decoder_synchro: remove unneeded variable init

14 years agoinput/es_out : use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:30:30 +0000 (18:30 +0100)]
input/es_out : use VLC_TS_INVALID (refs #3135)

14 years agogoom: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:23:15 +0000 (18:23 +0100)]
goom: use VLC_TS_INVALID (refs #3135)

14 years agodecoder stats: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:21:46 +0000 (18:21 +0100)]
decoder stats: use VLC_TS_INVALID (refs #3135)

14 years agosout_rtp: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:19:11 +0000 (18:19 +0100)]
sout_rtp: use VLC_TS_INVALID (refs #3135)

14 years agobridge: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:19:03 +0000 (18:19 +0100)]
bridge: use VLC_TS_INVALID (refs #3135)

14 years agosout_display: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:18:45 +0000 (18:18 +0100)]
sout_display: use VLC_TS_INVALID (refs #3135)

14 years agoautodel: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:18:30 +0000 (18:18 +0100)]
autodel: use VLC_TS_INVALID (refs #3135)

14 years agosout_switcher: remove useless initialization
Rafaël Carré [Mon, 7 Dec 2009 17:18:13 +0000 (18:18 +0100)]
sout_switcher: remove useless initialization

14 years agotranscode osd: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 17:03:41 +0000 (18:03 +0100)]
transcode osd: use VLC_TS_INVALID (refs #3135)

14 years agox264: do not use void* with pointer arithmetic
Rafaël Carré [Mon, 7 Dec 2009 16:54:47 +0000 (17:54 +0100)]
x264: do not use void* with pointer arithmetic

14 years agox264: mention to remove kludge when 0 is a valid timestamp
Rafaël Carré [Mon, 7 Dec 2009 16:53:36 +0000 (17:53 +0100)]
x264: mention to remove kludge when 0 is a valid timestamp

14 years agovorbis: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:48:12 +0000 (17:48 +0100)]
vorbis: use VLC_TS_INVALID (refs #3135)

Also remove unneeded encoder_sys_t member

14 years agotheora: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:47:03 +0000 (17:47 +0100)]
theora: use VLC_TS_INVALID (refs #3135)

14 years agosubsusf: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:44:27 +0000 (17:44 +0100)]
subsusf: use VLC_TS_INVALID (refs #3135)

14 years agosubsdec: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:44:17 +0000 (17:44 +0100)]
subsdec: use VLC_TS_INVALID (refs #3135)

14 years agospudec: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:43:12 +0000 (17:43 +0100)]
spudec: use VLC_TS_INVALID (refs #3135)

14 years agospeex: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:41:57 +0000 (17:41 +0100)]
speex: use VLC_TS_INVALID (refs #3135)

Also remove unneeded encoder_sys_t member

14 years agowmafixed: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:38:21 +0000 (17:38 +0100)]
wmafixed: use VLC_TS_INVALID (refs #3135)

14 years agosdl_image: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:37:17 +0000 (17:37 +0100)]
sdl_image: use VLC_TS_INVALID (refs #3135)

14 years agoschroedinger: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:36:45 +0000 (17:36 +0100)]
schroedinger: use VLC_TS_INVALID (refs #3135)

14 years agorealvideo: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:35:11 +0000 (17:35 +0100)]
realvideo: use VLC_TS_INVALID (refs #3135)

14 years agorealaudio: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:34:28 +0000 (17:34 +0100)]
realaudio: use VLC_TS_INVALID (refs #3135)

14 years agorawvideo: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 16:34:04 +0000 (17:34 +0100)]
rawvideo: use VLC_TS_INVALID (refs #3135)

14 years agoFix meta writing (inverted logic in the core).
Rémi Duraffort [Mon, 7 Dec 2009 08:25:16 +0000 (09:25 +0100)]
Fix meta writing (inverted logic in the core).

14 years agomacosx/framework: Export -[VLCMediaPlayer remainingTime] and -[VLCTime verboseStringV...
Pierre d'Herbemont [Mon, 7 Dec 2009 07:58:21 +0000 (08:58 +0100)]
macosx/framework: Export -[VLCMediaPlayer remainingTime] and -[VLCTime verboseStringValue].

14 years agoquicktime: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:48:54 +0000 (08:48 +0100)]
quicktime: use VLC_TS_INVALID (refs #3135)

14 years agopng: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:47:26 +0000 (08:47 +0100)]
png: use VLC_TS_INVALID (refs #3135)

14 years agompga: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:47:04 +0000 (08:47 +0100)]
mpga: use VLC_TS_INVALID (refs #3135)

14 years agomash: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:46:02 +0000 (08:46 +0100)]
mash: use VLC_TS_INVALID (refs #3135)

14 years agolpcm: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:43:32 +0000 (08:43 +0100)]
lpcm: use VLC_TS_INVALID (refs #3135)

14 years agokate: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:40:10 +0000 (08:40 +0100)]
kate: use VLC_TS_INVALID (refs #3135)

14 years agoinvmem: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:38:59 +0000 (08:38 +0100)]
invmem: use VLC_TS_INVALID (refs #3135)

14 years agofluidsynth: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:38:31 +0000 (08:38 +0100)]
fluidsynth: use VLC_TS_INVALID (refs #3135)

14 years agoflac: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:37:54 +0000 (08:37 +0100)]
flac: use VLC_TS_INVALID (refs #3135)

14 years agofaad: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:36:25 +0000 (08:36 +0100)]
faad: use VLC_TS_INVALID (refs #3135)

14 years agodvbsub: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:35:52 +0000 (08:35 +0100)]
dvbsub: use VLC_TS_INVALID (refs #3135)

14 years agodts: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:32:39 +0000 (08:32 +0100)]
dts: use VLC_TS_INVALID (refs #3135)

14 years agodmo: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:28:58 +0000 (08:28 +0100)]
dmo: use VLC_TS_INVALID (refs #3135)

14 years agocvdsub: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:25:57 +0000 (08:25 +0100)]
cvdsub: use VLC_TS_INVALID (refs #3135)

14 years agocdg: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:24:44 +0000 (08:24 +0100)]
cdg: use VLC_TS_INVALID (refs #3135)

14 years agoCC: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:24:02 +0000 (08:24 +0100)]
CC: use VLC_TS_INVALID (refs #3135)
14 years agoaraw: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:05:56 +0000 (08:05 +0100)]
araw: use VLC_TS_INVALID (refs #3135)

14 years agoaes3: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:05:24 +0000 (08:05 +0100)]
aes3: use VLC_TS_INVALID (refs #3135)

14 years agoadpcm: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 07:04:57 +0000 (08:04 +0100)]
adpcm: use VLC_TS_INVALID (refs #3135)

14 years agoa52: use VLC_TS_INVALID (refs #3135)
Rafaël Carré [Mon, 7 Dec 2009 06:58:38 +0000 (07:58 +0100)]
a52: use VLC_TS_INVALID (refs #3135)

14 years agopacketizer helper: use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 06:08:04 +0000 (07:08 +0100)]
packetizer helper: use VLC_TS_INVALID

refs #3135

14 years agoh264 packetizer: use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 06:07:35 +0000 (07:07 +0100)]
h264 packetizer: use VLC_TS_INVALID

refs #3135

14 years agomp4a packetizer: use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 06:00:33 +0000 (07:00 +0100)]
mp4a packetizer: use VLC_TS_INVALID

refs #3135

14 years agomlp packetizer: use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 05:56:51 +0000 (06:56 +0100)]
mlp packetizer: use VLC_TS_INVALID

refs #3135

14 years agopacketizer copy : use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 05:54:36 +0000 (06:54 +0100)]
packetizer copy : use VLC_TS_INVALID

refs #3135

14 years agosout_InputSendBuffer(): use VLC_TS_INVALID
Rafaël Carré [Mon, 7 Dec 2009 05:53:45 +0000 (06:53 +0100)]
sout_InputSendBuffer(): use VLC_TS_INVALID

refs #3135

14 years agoAdd Lithuanian translation to .desktop
Mindaugas Baranauskas [Sun, 6 Dec 2009 20:26:31 +0000 (20:26 +0000)]
Add Lithuanian translation to .desktop

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
14 years agomacosx/framework: -[VLCMedia length] returns null every time after the first call.
Mike Schrag [Wed, 21 Oct 2009 21:14:09 +0000 (17:14 -0400)]
macosx/framework: -[VLCMedia length] returns null every time after the first call.

Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
14 years agortp sout: implement rtptime parameter
Pierre Ynard [Sun, 6 Dec 2009 15:50:43 +0000 (16:50 +0100)]
rtp sout: implement rtptime parameter

This adds support for the rtptime parameter in the RTP-Info RTSP header.
It is needed by RealPlayer, otherwise it will start playing the stream
or not depending on the time of the day.

14 years agol10n: French update
Éric Lassauge [Sun, 6 Dec 2009 14:05:01 +0000 (14:05 +0000)]
l10n: French update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
14 years agoFix live555media libraries link order
Gilles Chanteperdrix [Sat, 14 Nov 2009 17:29:27 +0000 (18:29 +0100)]
Fix live555media libraries link order

Since at least vlc 1.0.2, compiling vlc with a static version of a
recent version of the live555media library (the version released on
2009/11/12 for instance) results in the following warning while loading
the liblive555_plugin.so module:

[0x1901090] main libvlc warning: cannot load module `/usr/local/lib/vlc/demux/liblive555_plugin.so' (/usr/local/lib/vlc/demux/liblive555_plugin.so: undefined symbol: _ZTI9HashTable)

This warning is due to an error in the link order of the
live555_plugin, fixed by the following patch.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
14 years agoAdd MID, RMI, VOD and XA extensions (+ cosmetic wrap)
Rémi Denis-Courmont [Sun, 6 Dec 2009 15:11:07 +0000 (17:11 +0200)]
Add MID, RMI, VOD and XA extensions (+ cosmetic wrap)

14 years agoQt: reduce the size of the margins and spacing between buttons
Jean-Baptiste Kempf [Sun, 6 Dec 2009 14:46:51 +0000 (15:46 +0100)]
Qt: reduce the size of the margins and spacing between buttons

14 years agoSupport for AMV video files.
Jean-Baptiste Kempf [Sat, 5 Dec 2009 18:06:20 +0000 (19:06 +0100)]
Support for AMV video files.

It seems that .mtv files don't work though

14 years agoQt: playlist, set a minimum width
Jean-Baptiste Kempf [Sat, 5 Dec 2009 17:51:52 +0000 (18:51 +0100)]
Qt: playlist, set a minimum width

14 years agoDon't ship external dlls so far for Windows
Jean-Baptiste Kempf [Sat, 5 Dec 2009 12:30:59 +0000 (13:30 +0100)]
Don't ship external dlls so far for Windows

14 years agoDo not assert memory allocations
Rémi Denis-Courmont [Sun, 6 Dec 2009 08:40:55 +0000 (10:40 +0200)]
Do not assert memory allocations

14 years agoDo not assert memory allocations
Rémi Denis-Courmont [Sun, 6 Dec 2009 08:54:28 +0000 (10:54 +0200)]
Do not assert memory allocations

14 years agoUse xmalloc
Rémi Denis-Courmont [Sun, 6 Dec 2009 08:53:24 +0000 (10:53 +0200)]
Use xmalloc

This reverts commit 59b025e33a3e5997ff333ddc3321574fe6044254.

14 years agoxmalloc, xrealloc: traditional functions to allocate memory
Rémi Denis-Courmont [Sun, 6 Dec 2009 08:46:29 +0000 (10:46 +0200)]
xmalloc, xrealloc: traditional functions to allocate memory

Those functions automatically abort if allocation fails (which is not
quite the same as calling assert()). Avoid these functions in new code.

14 years agolikely, unlikely: convenience portability macros for branch prediction
Rémi Denis-Courmont [Sun, 6 Dec 2009 08:16:59 +0000 (10:16 +0200)]
likely, unlikely: convenience portability macros for branch prediction

Those are the same as the Linux kernel macros, and probably a bunch of
other projects. Usage:

    if (likely(condition))
        branch_likely_taken();

    if (unlikely(condition))
        branch_unlikely_taken();

Attention: those two macros convert the predicate to a boolean value.
Therefore you generally cannot use them for assignments like this:
    void *p_sys = likely (malloc (sizeof (*p_sys)));
    if (!p_sys)
        return VLC_ENOMEM;
Instead you can do this:
    void *p_sys = malloc (sizeof (*p_sys));
    if (unlikely (!p_sys))
        return VLC_ENOMEM;

14 years agoAdd missing include
Pierre Ynard [Sun, 6 Dec 2009 01:36:15 +0000 (02:36 +0100)]
Add missing include

14 years agoObligatory win32 compile fixes.
JP Dinger [Sat, 5 Dec 2009 22:17:09 +0000 (23:17 +0100)]
Obligatory win32 compile fixes.

14 years agoAdd some more assert()s for unchecked malloc().
JP Dinger [Sat, 5 Dec 2009 21:22:20 +0000 (22:22 +0100)]
Add some more assert()s for unchecked malloc().

14 years agoReplace argument = realloc( argument, size ); with realloc_or_free() in modules/...
JP Dinger [Sat, 5 Dec 2009 14:24:19 +0000 (15:24 +0100)]
Replace argument = realloc( argument, size ); with realloc_or_free() in modules/*, and while at it add assert( argument ) to mark unhandled ENOMEM conditions, also for malloc().

14 years agoIntroduce realloc_or_free() to src/*, and add assert() to mark unhandled ENOMEM error...
JP Dinger [Sat, 5 Dec 2009 08:11:42 +0000 (09:11 +0100)]
Introduce realloc_or_free() to src/*, and add assert() to mark unhandled ENOMEM error conditions. Allocation shrinking or otherwise handled allocations don't need realloc_or_free.

14 years agoIntroduce realloc_or_free(), which does what realloc() does but will free the argumen...
JP Dinger [Sat, 5 Dec 2009 08:06:20 +0000 (09:06 +0100)]
Introduce realloc_or_free(), which does what realloc() does but will free the argument if the reallocation fails. This is useful in some, but not all, use cases of realloc().

14 years agoQt4: Save a couple temporaries.
JP Dinger [Sat, 28 Nov 2009 18:21:56 +0000 (19:21 +0100)]
Qt4: Save a couple temporaries.

14 years agoSkins2: cosmetics: Pack repetetive code up in a few macros.
JP Dinger [Sat, 28 Nov 2009 17:21:13 +0000 (18:21 +0100)]
Skins2: cosmetics: Pack repetetive code up in a few macros.

14 years agoSkins2: Add x11 transparency support. Hope it sets the property on the right Window...
JP Dinger [Sat, 28 Nov 2009 14:08:59 +0000 (15:08 +0100)]
Skins2: Add x11 transparency support. Hope it sets the property on the right Window; didn't have a known transparent skin to test with.

14 years agoSkins2: Cosmetics and drop const from string return as there really is no point:...
JP Dinger [Tue, 24 Nov 2009 09:42:39 +0000 (10:42 +0100)]
Skins2: Cosmetics and drop const from string return as there really is no point: We're returning a fresh object.

14 years agoSkins2: Move method bodies with inline tags to before where they're needed. Drop...
JP Dinger [Mon, 23 Nov 2009 13:11:05 +0000 (14:11 +0100)]
Skins2: Move method bodies with inline tags to before where they're needed. Drop const in favour of static on power() and instead of recursing(!) make it use powf().

14 years agoskins2: I fail to see why Subject (not Observer) needs to have virtual methods. If...
JP Dinger [Sun, 22 Nov 2009 18:38:23 +0000 (19:38 +0100)]
skins2: I fail to see why Subject (not Observer) needs to have virtual methods. If you do find a reason do tell. Observer should probably be defined inside Subject instead.

14 years agoSkins2: Invent ft2_strerror() to improve freetype2 error reporting.
JP Dinger [Sun, 22 Nov 2009 18:06:47 +0000 (19:06 +0100)]
Skins2: Invent ft2_strerror() to improve freetype2 error reporting.

14 years agoSkins2: Cosmetics.
JP Dinger [Sun, 22 Nov 2009 17:13:35 +0000 (18:13 +0100)]
Skins2: Cosmetics.

14 years agoSkins2: Mostly cosmetics, some C++ style casting, factor out a scroll() in anticipati...
JP Dinger [Sun, 22 Nov 2009 15:34:36 +0000 (16:34 +0100)]
Skins2: Mostly cosmetics, some C++ style casting, factor out a scroll() in anticipation of figuring out where it belongs.

14 years agoSkins2: Cosmetics. Add a REGISTER_CMD1 for commands with one argument.
JP Dinger [Sun, 22 Nov 2009 13:11:38 +0000 (14:11 +0100)]
Skins2: Cosmetics. Add a REGISTER_CMD1 for commands with one argument.

14 years agoSkins2: Reduce another macro to bare minimum and helper fuction.
JP Dinger [Sun, 22 Nov 2009 12:41:51 +0000 (13:41 +0100)]
Skins2: Reduce another macro to bare minimum and helper fuction.

14 years agoSkins2: (Almost entirely) replace another two macros with functions.
JP Dinger [Sun, 22 Nov 2009 11:54:57 +0000 (12:54 +0100)]
Skins2: (Almost entirely) replace another two macros with functions.

14 years agoSkins2: Cosmetics and the occasional duplicate call elimintation.
JP Dinger [Sat, 21 Nov 2009 22:37:05 +0000 (23:37 +0100)]
Skins2: Cosmetics and the occasional duplicate call elimintation.

14 years agoSkins2: Cosmetics and make better use of a test that's done anyway.
JP Dinger [Sat, 21 Nov 2009 20:37:06 +0000 (21:37 +0100)]
Skins2: Cosmetics and make better use of a test that's done anyway.

14 years agoSkins2: Cosmetic.
JP Dinger [Sat, 21 Nov 2009 20:19:28 +0000 (21:19 +0100)]
Skins2: Cosmetic.

14 years agoSkins2: Replace some theme macros by templated code.
JP Dinger [Sat, 21 Nov 2009 18:26:22 +0000 (19:26 +0100)]
Skins2: Replace some theme macros by templated code.

14 years agoSkins2: Add (and use) template parameter typedefs so that they might be used, say...
JP Dinger [Sat, 21 Nov 2009 18:22:38 +0000 (19:22 +0100)]
Skins2: Add (and use) template parameter typedefs so that they might be used, say, as function return types. The next commit needs this.

14 years agoSkins2: Add ptrmap<> to possibly prevent some more empty nodes.
JP Dinger [Sat, 21 Nov 2009 14:57:02 +0000 (15:57 +0100)]
Skins2: Add ptrmap<> to possibly prevent some more empty nodes.

14 years agoSkins2: Factor out duplicate code (mod), and provide a const accessor to the keymap...
JP Dinger [Sat, 21 Nov 2009 14:30:38 +0000 (15:30 +0100)]
Skins2: Factor out duplicate code (mod), and provide a const accessor to the keymap: std::map<>::operator[] will create empty nodes if they don't exist already.

14 years agoSkins2: Move getShifts from const to static.
JP Dinger [Sat, 21 Nov 2009 14:26:52 +0000 (15:26 +0100)]
Skins2: Move getShifts from const to static.

14 years agoSkins2: Cosmetics.
JP Dinger [Sat, 21 Nov 2009 14:24:23 +0000 (15:24 +0100)]
Skins2: Cosmetics.

14 years agoSkins2: Avoid work by postponing to where and if it is needed.
JP Dinger [Sat, 21 Nov 2009 11:52:58 +0000 (12:52 +0100)]
Skins2: Avoid work by postponing to where and if it is needed.

14 years agoSkins2: Cosmetics
JP Dinger [Sat, 21 Nov 2009 10:43:25 +0000 (11:43 +0100)]
Skins2: Cosmetics