Correction of translation functions _T(x) and _(x)

_T(x) calls a MFC function, while _(x) will use C++11 locale function.
So get rid of all _T(x) and use _(x) instead.

Remove _(x) at many locations as it is not necessary:
- for function/directory/file/registry names or format strings.
- to call it twice: _T(_(x)) or _(_T(x)).
- to call it when nothing needs to be translated, e.g. _(""), _("0")

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Fix for xgettext warnings.

... it often complains about multiline strings or DOS-specific line endings.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Improvement of National Language Support and Addition of German Language Pack

... this includes:
* Spell Corrections (atmost->at most, atleast->at least)
* Make multiple !!! to !
* Correction of interpunctation
* Removal of GettextBusmaster.h
* Common naming of file filters
* Some translations reduced, e.g. "BUSMASTER", "", "0", "x"
* Some translations added
* Double translations reduced, e.g. _(_T(...))
* Translations migrated from _T(...) to _(...)

However, the German strings are translated one by one from the English strings.
... and they turned out to be misleading as well. So further improvements necessary.

Another big step is to get rid of resource files, e.g.
if menus would be generated in C rather than based on a resource file,
then the same translation functions could be used.
There would be no need to have multiple resource files and to keep them in sync.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Remove gcc from repository

We switched to gcc v3 month ago...

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Replace in the C-Code double ;; with single ;

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Removal of dead code.

This is about the following DIL-related functions:
* GetTxMsgBuffer
* GetBoardInfo
* GetBusConfigInfo
* GetVersionInfo
* GetLastErrorString
* GetCntrlStatus

All these functions where never used from the main application.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Add additional cppcheck suppressions for external includes.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Fixed some warnings about "conversion ... possible loss of data"

This is regarding:
* int -> size_t
* float -> double

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Run AStyle across the code.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Change structure of Automatic, Booth, Manual Tests and Reports

As discussed:
* There should be no manual tests. Instead there should be AutoIt and Booth tests.
* Test reports shouldn't be in the repository. Developers can generate them on their own.
* Behind "Unit Test Coverage" are actually the Booth tests. So name it accordingly.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Moved GNU gettext into EXTERNAL_SOURCES

We should have a clean separation between our sources, external sources,
and tools that are used only during the compilation process.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Replace Include Guards with #pragma once everywhere.

I've done this already once and I still think it is right.
Every new compiler supports this. And we will not switch back to
even older versions of msvc or gcc :-)

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Drop CRT_SECURE_NO_DEPRECATE from stdafx.h files

This prevented warnings that are really useful for quality.
However, these warnings must be fixed mainly by using safe string functions.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Remove "using namespace ..."

Even if this is convinient, it can be error prone.
It's recommended everywhere to not use it.

Had to move bConvertStringToInt64 from Utility into TxWindow.
He reported an error about the CString...

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Cleanups

At several locations I found comments like MVN, PTV, ...
I guess these are abbreviations for the authors.
However in this way they are useless, as many people (incl. me) cannot interpret them.
If you really want to become famous, put your cleartext name in the author's line in the file header.
But I'm curious, who are they? :-)

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Switch Of Precompiled Headers

This has seveal reasons:
* They bring more occassional errors than goods. I stepped into one of these again.
* They are compiler-specific and hinders using other compilers.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Strip down AdvancedUIPlugin

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Change char[] to std::string, plus some cleanups

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Refactoring of DIL_Interface module

This regards to:
* Function names should start in lower case
* Names should no contain its type.
* File header, e.g. license and doxygen tags
* Removed empty functions

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Make Doxygen tags more common

This includes also switching the doxygen tags from \ to @.
This seems to be more common and is used by most IDEs supporting Doxygen.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>