Change 'indicator' to 'led' everywhere possible
authorRan Benita <ran234@gmail.com>
Sun, 17 Feb 2013 20:18:57 +0000 (22:18 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 18 Mar 2013 22:20:02 +0000 (22:20 +0000)
commit8cee7490003381b7e1399e171a8c860edb3d634c
tree5cb829b303322446fa72bf250ba037ab9200b75f
parent10c351f5163ff8ce3be232207bf9c0f68fbbb47d
Change 'indicator' to 'led' everywhere possible

The code currently uses the two names interchangeably.
Settle on 'led', because it is shorter, more recognizable, and what we
use in our API (though of course the parser still uses 'indicator').

In camel case we make it 'Led'.
We change 'xkb_indicator_map' to just 'xkb_led' and the variables of
this type are 'led'. This mimics 'xkb_key' and 'key'.
IndicatorNameInfo and LEDInfo are changed to 'LedNameInfo' and
'LedInfo', and the variables are 'ledi' (like 'keyi' etc.). This is
instead of 'ii' and 'im'.

This might make a few places a bit confusing, but less than before I
think. It's also shorter.

Signed-off-by: Ran Benita <ran234@gmail.com>
13 files changed:
src/keymap-dump.c
src/keymap.c
src/keymap.h
src/state.c
src/text.c
src/text.h
src/xkbcomp/ast-build.c
src/xkbcomp/ast-build.h
src/xkbcomp/ast.h
src/xkbcomp/compat.c
src/xkbcomp/keycodes.c
src/xkbcomp/keymap.c
src/xkbcomp/parser.y