[SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib.

[SETUPLIB] Copy the mui* files from usetup into the setuplib for later usage, and add mui.c to build.

svn path=/branches/setup_improvements/; revision=75711

[SETUPLIB][USETUP] Start massaging the MUI files and split up what concerns only the usetup "resources",
and what concerns general language parameters (in the setuplib).

It may be interesting to retrieve the language parameters
from INF file (e.g. intl.inf) (suggested by Giannis).

svn path=/branches/setup_improvements/; revision=75715

[SETUPLIB] Add the necessary headers to mui.c to be able to compile.
[USETUP] Comment out the languages that don't have any resources.

svn path=/branches/setup_improvements/; revision=75716

[SETUPLIB][USETUP] Adjust MUI and settings code.

- Re-enable settings code concerning language, keyboards & layout
  in the setuplib, and remove the old code in usetup.

- Remove useless code in setuplib's mui.c.

- Rename usetup's MUI "LanguageList" into "ResourceList" so as to
  avoid colliding with the "LanguageList" of setuplib.

- Add the magic CMakeLists line "add_definitions(${I18N_DEFS})" that
  I forgot previously, that caused the "LanguageList" of setuplib to be empty!

The code compiles and works during my tests.

svn path=/branches/setup_improvements/; revision=75717

[SETUPLIB] Change some string pointer types & function prototypes so that the usetup-specific
"SelectedLanguageId" variable is not used in the library.

svn path=/branches/setup_improvements/; revision=75719

[SETUPLIB] Change some function prototypes so that the usetup-specific "SelectedLanguageId" variable is not used in the library.
Also, make AddEntriesFromInfSection(), DefaultProcessEntry() and the typedef PPROCESS_ENTRY_ROUTINE private again.

svn path=/branches/setup_improvements/; revision=75720
svn path=/branches/setup_improvements/; revision=75724

[USETUP] Code adaptations.

- Transform some do{}while() loops into while(){} ones, since the lists on which we work may only contain one single {NULL} element.
- Modify MUIGetOEMCodePage() call after r75719.
- Use PCWSTR where needed.

svn path=/branches/setup_improvements/; revision=75722

[USETUP] Adjust some MUI & settings calls, following the commits r75719, r75720 and r75721.

svn path=/branches/setup_improvements/; revision=75723

[INPUT.CPL] Adjust inclusion of "muifonts.h" (commit 3dbd44f) due to changes introduced in r75711 and r75715.
This commit is contained in:
Hermès Bélusca-Maïto 2017-08-30 11:28:52 +00:00
parent e4d79e514a
commit e405ad257c
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
178 changed files with 2284 additions and 1643 deletions

View file

@ -1,4 +1,6 @@
add_definitions(${I18N_DEFS})
include_directories(utils)
list(APPEND SOURCE
@ -14,6 +16,7 @@ list(APPEND SOURCE
utils/regutil.c
bootsup.c
fsutil.c
mui.c
registry.c
settings.c
setuplib.c

View file

@ -0,0 +1,10 @@
#pragma once
MUI_LAYOUTS bgBGLayouts[] =
{
{ L"0402", L"00000402" },
{ L"0402", L"00020402" },
{ L"0402", L"00030402" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,7 @@
#pragma once
MUI_LAYOUTS bnBDLayouts[] =
{
{ L"0845", L"00000845" },
{ NULL, NULL }
};

View file

@ -0,0 +1,9 @@
#pragma once
MUI_LAYOUTS csCZLayouts[] =
{
{ L"0405", L"00000405" },
{ L"0405", L"00010405" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,7 @@
#pragma once
MUI_LAYOUTS daDKLayouts[] =
{
{ L"0406", L"00000406" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS deDELayouts[] =
{
{ L"0407", L"00000407" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS elGRLayouts[] =
{
{ L"0408", L"00000408" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,7 @@
#pragma once
MUI_LAYOUTS enUSLayouts[] =
{
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS esESLayouts[] =
{
{ L"040A", L"0000040A" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,7 @@
#pragma once
MUI_LAYOUTS etEELayouts[] =
{
{ L"0425", L"00000425" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS frFRLayouts[] =
{
{ L"040C", L"0000040C" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS heILLayouts[] =
{
{ L"0409", L"00000409" },
{ L"040D", L"0000040D" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS itITLayouts[] =
{
{ L"0410", L"00000410" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS jaJPLayouts[] =
{
// { L"0411", L"e0010411" },
{ L"0411", L"00000411" },
{ NULL, NULL }
};

View file

@ -0,0 +1,8 @@
#pragma once
MUI_LAYOUTS ltLTLayouts[] =
{
{ L"0427", L"00010427" },
{ L"0409", L"00000409" },
{ NULL, NULL }
};

Some files were not shown because too many files have changed in this diff Show more