[BUGFIX] Error handler callback causes fatal error for parse time errors

TYPO3's error handler callback t3lib_error_ErrorHandler::handleError()
causes a fatal error for PHP parse time errors.

If an error occurs during parse time (like E_DEPRECATED due to
deprecated $foo =& stdClass() code), autoloading is not available
and such PHP standard class 'Exception' (extended by t3lib_exception)
is not resolvable.
This results in a fatal and misleading error
'Class "Exception" not found'
together with a not useful backtrace. Additionally this behaviour
hides the original causing error (deprecated code).

Change-Id: I4ab97c1bf2d888022369f2095285cecc5a4c54a4
Fixes: #31834
Related: #31827
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/6683
Reviewed-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Add upgrade wizard to install extensions from TER

This patch replaces the two upgrade wizards to install new or
outsourced system extensions. It combines both and allows you
to install extensions from the TYPO3 Extension Repository (TER).

Change-Id: I4d4ecd45afffe8b995f663d16ce3db511681d56a
Resolves: #39889
Related: #36025
Releases: 6.0
Reviewed-on: http://review.typo3.org/13863
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Remove unused code from logDeprecatedFunction()

Resolves: #41162
Releases: 6.0

Change-Id: Id3f2dbe94fbc433e13b908ebf0f2645dded9336b
Reviewed-on: http://review.typo3.org/14821
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Set a flash msg if no subpages available

Set a flash message in wizard_sortpages if no
subpages are available, instead of rendering an
empty table header

Change-Id: Ic4c01a64436230f261cb37f7e98f885a8db4c8fa
Resolves: #41216
Releases: 6.0
Reviewed-on: http://review.typo3.org/14884
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[BUGFIX] Error handler registration accepts way too much PHP error types

Taken from http://php.net/manual/en/function.set-error-handler.php
set_error_handler has limitations for error types to process.

In detail E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR, E_COMPILE_WARNING cannot handled by an user defined
function.

This issue is about reflecting this in config_default settings and
in t3lib_error_ErrorHandler to make sure to process only error types
we can handle.

Change-Id: I908aa33c07a7de69095dce3e0d74d19134733231
Fixes: #31827
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/6677
Reviewed-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Set current report as selected in ext:reports

there can be usecases when not the correct option is set to
selected="selected".

example:
select "installed service"
switch to a different module
switch back to reports module
content shows "installed services" but select box is wrong

Change-Id: I9166ab8489a246a30673c7936214a2d8e0495fbc
Resolves: #41258
Releases: 6.0
Reviewed-on: http://review.typo3.org/14919
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Show cType label for content elements

Some content elements are not showing any information
besides the plugin icon about the type. Therefore the
ctype label is readded for those

Change-Id: I46e9080b4ade7dc4e2c56a3bc183a7bc1f712770
Resolves: #41143
Releases: 6.0
Reviewed-on: http://review.typo3.org/14803
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Remove content element "script"

Content element script is non working and not used, remove it

Change-Id: Iaa52523df4cd18a9768cda9433179936394739f6
Resolves: #41141
Releases: 6.0
Reviewed-on: http://review.typo3.org/14802
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Wrong name for TypoScriptFrontendController test

Rename TypoScriptFrontentControllerTest to
TypoScriptFrontendControllerTest

Change-Id: Ie2151428ef8e8795154745a56dbde9d53dfd46c6
Resolves: #41262
Releases: 6.0
Reviewed-on: http://review.typo3.org/14939
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Update version number of all sysexts to 6.0.0

Fixes: #41261
Releases: 6.0

Change-Id: I6d60c27cf34161b5c9f4e0174e99de3811e87c42
Reviewed-on: http://review.typo3.org/14929
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Raise submodule pointer

Change-Id: I0a23d9299e3a8c3a273f9730235fd8ea45ab6c53
Reviewed-on: http://review.typo3.org/14940
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Remove 'Hide: Yes' from hidden CEs

Hidden content elements in page module are
grayed out and got a different icon, no need for an
additional "Hide: yes" at the bottom

Change-Id: I96ff27566fc63ac1e29f83278617172471dba739
Resolves: #41132
Releases: 6.0
Reviewed-on: http://review.typo3.org/14788
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Warn for not available plugins in page module

If a plugin of an extension is saved on a page and
the extension has been removed, a warning should be
presented to the user.

Change-Id: Ibe6994c807eb72e3cfae6850d37744df678903d0
Resolves: #41075
Releases: 6.0
Reviewed-on: http://review.typo3.org/14737
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Remove jsmin from library list in EXT:about

The library was removed with 6.0, source mention is not needed anymore.

Change-Id: Icae1c37409e914cd55b9f20eff0f548ec3515e07
Resolves: #41265
Releases: 6.0
Reviewed-on: http://review.typo3.org/14942
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Remove content element "textbox"

Remove the content element type "textbox" / "splash".

Change-Id: Id4fd8f4f4c10fee39de4940f96f772ba2d173774
Resolves: #41142
Releases: 6.0
Reviewed-on: http://review.typo3.org/14801
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] add leading backslashes to SplObject*

for some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to SplObject*.

Change-Id: I3267f4341339d16e23c0bf56dd97b07bceb5866b
Resolves: #41266
Releases: 6.0
Reviewed-on: http://review.typo3.org/14944
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Required extensions are not installable

Required extensions can't be installed or deinstalled,
therefore the link is not needed. Additionally system
extensions should not be removable.

Change-Id: Id99abd8a4b434d1a769fa20bd987619b0248f636
Fixes: #40882
Releases: 6.0
Reviewed-on: http://review.typo3.org/14567
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Introduce base class for PHPUnit tests

Previously all core unit tests extended from the
Tx_PhpUnit_TestCase. This turned out to be problematic
because the core tests relied on the behaviour of that
class and we could not easily change behaviour centrally
for the core tests.
Because of that, we introduced several own base test classes
which added functionality for specific test cases.

With introducing a new base test case class which is
extended by all core test, we can consolidate helper
functions and specific wanted behaviour like blacklisting
TYPO3_DB globals for all tests.

Additionally all tests will benefit from
future enhancements in the base class.

Resolves: #41171
Releases: 6.0

Change-Id: Ic9e5c4b128ffb81cc9228e080a9d4a7909ee9dcd
Reviewed-on: http://review.typo3.org/14836
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] add leading backslashes to Runtime*

for some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to Runtime*.

Change-Id: Ia049476ad8c8fa1e6cd7148572664c62db800cc0
Resolves: #41267
Releases: 6.0
Reviewed-on: http://review.typo3.org/14946
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] add leading backslashes to Date*

for some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to Date*.

Change-Id: Ie023540988bd22ee4abf9db79680ac203d97cf4d
Resolves: #41268
Releases: 6.0
Reviewed-on: http://review.typo3.org/14948
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn