[BUGFIX] Fix PHP Warnings in Unit Tests

Some unit tests fail when PHP warnings are not supressed.
This change fixes those.

Change-Id: I497714f5846c719e407beb1f1c92cd70b6d8e2d2
[TASK] Update md5 checksums

Change-Id: I666f42538b7819812ecaa04f68ee527bb18341d3
[BUGFIX] Make changed action resolving backwards compatible

With 1.4 Extbase throws an Exception if a requested controller
and/or action is not configured to be part of the current
plugin. If mvc.throwPageNotFoundExceptionIfActionCantBeResolved
is set, a 404 not-found page is shown (see #6235 and related).

That makes it easier for developers to track down typos in their
plugin configuration.
If, however, two plugins listen to the same "plugin namespace"
(e.g. because they are two instances of the same plugin) one
sometimes prefer the plugins to fall back to their default
controller/action pair, if the requested action is not supported

This change adds a new setting:
Add mvc.callDefaultActionIfActionCantBeResolved = 1 to your
extension/plugin configuration in order to get this behavior.

Note: This will resolve to the default action of the *current*
default controller. So this behavior is not exactly the same as
in Extbase 1.3 (see #7282).

Change-Id: I0f7b298e9717aa668a8dc41192b433ab1d6681b0
Resolves: #31322
[BUGFIX] DateTime properties are not mapped correctly

With the new property mapper *disabled* properties of type
DateTime are not correctly mapped to DateTime objects.
The reason is that the Object Container dies with an
exception when trying to reflect the (internal) constructor
arguments of DateTime objects.
This change fixes this by circumventing the Object Container
for DateTime objects.

Change-Id: I4166c895d983cdc2288d939a0d461dde31e5ee00
Resolves: #31345
[BUGFIX] Make SignalSlot Dispatcher a singleton

The SignalSlot Dispatcher is injected in various places.
This spams the deprecation log because only singletons are
supposed to be injected.
This change fixes this by making the dispatcher implementing
t3lib_Singleton.

Change-Id: I16ea86cfdd86fd8d9cacbe01bfede9e3d310745d
Fixes: #31950
Releases: 1.4, 1.5
[TASK] Update version number to 1.4.1

Change-Id: I1d4263f88c6221e7236d8c9a625b2110b6d18eae
Merge "[BUGFIX] DateTime properties are not mapped correctly" into extbase_1-4
Merge "[TASK] Update version number to 1.4.1" into extbase_1-4
Merge "[BUGFIX] Make changed action resolving backwards compatible" into extbase_1-4
[TASK] updated ChangeLog for 1.4.1, updated md5 sums

Change-Id: Iab1358fa69d3f8ea7cd580cd1c8ef46da1994815
[BUGFIX] Invalid LOCAL_LANG overlay for non-existing languages

Language overlay with custom TypoScript should only be done for currently
use languages.

Change-Id: Id663d11f561055fb4fcbb766cad3fe6677c295a4
Fixes: #32133
Releases: 4.7, 4.6, 4.5
[TASK] Update version to 1.4.2

Recent changes:
+ [BUGFIX] Invalid LOCAL_LANG overlay for non-existing languages

Change-Id: I16ebb91b857e449e5a5a48f65f60734cef020cf4
[BUGFIX] Fatal error on matching non-existing column, DB Backend

This change prevents a fatal error by checking the returned column
map before calling a method. Instead, utilizes the existing
exception code 1267832524, Unsupported relation for contains() -
but replaces the exception message with "Unsupported/non-existing
column name used in relation matching" which also covers other
error cases well.

Change-Id: I107aa1da177ce0b6d3f5174d1ea15c4ad8523cca
Fixes: #7798
[CLEANUP] Performance in Reflection Service's cache handling

This avoids a superflous call to $this->dataCache->has() - instead
uses ->get() directly and uses return value for checking if cache
exists.

Thanks to Raphael Riel for providing the patch!

Change-Id: Icd624ceaeb025a99f9a7b8e7e38731647615f1b3
Fixes: #28558
[BUGFIX] Child objects are now fetched only by uid (pid and sys_language_uid are ignored).

$query->getQuerySettings()->setRespectSysLanguage(FALSE) was added.

Change-Id: Ifd5be93bc691a03dacf34630fc05dc3a44d5ee19
Resloves: #31847
Releases: 1.4
[BUGFIX] Repository replace() does not replace unpersisted objects

This adds an additional case to check $this->addedObjects even if
$existingObject has an UID. Without this, adding, persisting and
replacing an object in the same controller action would cause the
replace() command to have no effect.

Thanks to Balisky Christophe for reporting.

Change-Id: Ia4870835dd599b4cd935bf46ef78685308679ab1
Fixes: #7571
[BUGFIX] Reset LazyObjectStorage array pointer at initialization

This allows current() operation on a still lazy ObjectStorage
without causing errors.

Thanks to Franz Koch for reporting!

Change-Id: Iab68daa2488cdd2a0bfe0a580ae557e5707dced4
Fixes: #13256
Releases: 1.2, 1.3, 1.4
[TASK] update ext_emconf.php

Change-Id: I2ef0c09526c10ec45defb6e505b714cda68a72e4
[BUGFIX] Fix the @return of findAll

The @return documentation for Tx_Extbase_Persistence_Repository::findAll
and Tx_Extbase_Persistence_RepositoryInterface::findAll is incorrect:
It only mentions array, but also needs to mention
Tx_Extbase_Persistence_QueryResultInterface.

Fixes: #35002

Change-Id: I037ca90f3f3f684eecbc1533b9a28a9af6e1a1ef
Branches: 4.8, 4.7, 1.4, 1.3
[SECURITY] Protect arguments of form __referrer with HMAC

The request arguments of the referring request are
a serialized string written to one of the hidden
fields in a Fluid form. This string has to be protected
by a HMAC to protect Extbase from possible unserialize
attacks.

Note: For now there is no object known within Extbase,
that could be used for an unserialize exploit!

This change also backports some convenience hmac methods
to the hash service from the current master, to have the
bugfix in sync.

Change-Id: Iaba9e7556c7aeeb8a3724c84d96160a511500e98
Security-Bulletin: TYPO3-CORE-SA-2012-001
Fixes: #35310
Releases: 1.4, 4.7, 6.0