[BUGFIX] INTincScript_loadJSCode() causes PHP warnings

This function uses implode() on several variables without properly
checking if they are actually arrays.
This might cause PHP warnings.

Change-Id: I83d2de074a49f1d724f95ee0def6b3c8a170317e
Fixes: #32278
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7042
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] Catch all errors in EM ViewHelper

Catching all errors which can happen during image generation
to avoid a non caught exception for users.

Problem is especially the Exception "File has been deleted"
which happens at some sites when having empty
typo3temp/_processed_/ directory and empty sys_file DB table.

Change-Id: I5f4e9ce520c828c222f91a2a816263cd433c5c60
Fixes: #43484
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16993
Reviewed-by: Mattias Nilsson
Tested-by: Wolfgang Freund
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] CleanUp References to old ClassNames

There are plenty references calls to old classnames
which need to be clean up.

Change-Id: I45065edccf30e548ee7ccbdada04d2fa552ee3de
Releases: 6.1, 6.0
Resolves: #43584
Reviewed-on: http://review.typo3.org/16953
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[TASK] Provide a reason if set_no_cache() is called

Since #20849, we can specify a reason why we call
GLOBALS['TSFE']->set_no_cache().

Provide a reason for all calls done in core.

Resolves: #43506
Related: #20849
Releases: 6.1

Change-Id: Id786a041ef5d9f1db49d644459a593aaf54b5018
Reviewed-on: http://review.typo3.org/16925
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] Remove HTML in RuntimeException from sysext 'install'

It is not possible to use HTML code inside runtime exceptions. This code
will be htmlspecialchared and printed to the user.

Replace <em></em> with double quotes and remove the <br /> tags
completely, because exception messages are single line only.

Fixes: #38472
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: I36fab81586daa4288f3e41c8084c954a47363621
Reviewed-on: http://review.typo3.org/12477
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] IE9 crashes after saving with RTE

Problem: A cleaning operation is performed too early for IE9.

Change-Id: I888c5b8c29ef3d1bf2787fc598aafeef92c7d5f4
Resolves: #43766
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17033
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[FEATURE] Add a TS option to disable body tag generation

When using TemplaVoila for page generation, you sometimes need to be
able to set classes directly on the body tag.

Unfortunately, TYPO3 itself generates the <body> tag, too - so we have 2
body tags in the HTML document. To solve this problem, TYPO3 needs a way
to not generate a <body> tag.

Therefore introduce the config.disableBodyTag TypoScript option. When it
is set, TYPO3's page generator does not generate a <body> tag at all.

Change-Id: Ifcbe67134a910cdf26075af45fbd2b2c0efe203b
Resolves: #40986
Releases: 6.1
Reviewed-on: https://review.typo3.org/14685
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] Fix broken logo file in Install Tool

Replace the broken TYPO3 logo file with the correct logo.

Fixes: #43426
Releases: 6.1, 6.0, 4.7, 4.6

Change-Id: I7e31ff4d9178dd077c1bf9a54a21015ab56f9dac
Reviewed-on: https://review.typo3.org/17038
Reviewed-by: Adrian Giurgiu
Tested-by: Adrian Giurgiu
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov