[TASK] Set TYPO3 version to 4.5.38-dev

Change-Id: Ie90485ebcb8da9859020a18cabc19a17e504737c
Reviewed-on: http://review.typo3.org/33462
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[BUGFIX] Ensure PHP 5.2 compatibility in makeInstance

The backport #53682 introduced a regression with PHP 5.2, 
which still is officially supported by TYPO3 CMS 4.5

Adapt the code to be PHP 5.2 compatible

Resolves: #62391
Releases: 4.5
Change-Id: Ie9d6c3175d02424e0d2329cc07ff99e09cccc040
Reviewed-on: http://review.typo3.org/33470
Reviewed-by: Christian Hernmarck <ch_t3@hernmarck.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] softrefproc typolink lacks support for separation by line feed

Since #24121 the field content in "image_link" is separated by line
feeds instead of commas. Since then the soft reference processor
for "typolink[linkList]" is broken for this field. This results in broken
image links in imports and exports and possible unchecked links in
linkvalidator extension. In 4.7 this applies also for the field
"longdescURL".

This have not to be fixed for versions later than 4.7, because since 6.0
the fields "image_link" and "longdescURL" aren't used anymore.

Resolves: #57006
Releases: 4.7, 4.5
Change-Id: I3a070d4d6e24b60a0658ec5bb6cc77d26a3e2f2d
Reviewed-on: http://review.typo3.org/33481
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Too many tags by identifier in CacheBackends

This patch is a backport of 3d93017022a8ef03842d75f2d7bd3912365c95be.

Applies to Apc/Memcached backends.

After an array_merge the values aren't unique. This leads to duplicate
tags per identifier. This patch changes that and also moves the
findTagsByIdentifier call out of the foreach loop.

Resolves: #62513
Releases: 4.5
Change-Id: Ia4713eeb399a4770b2c23e5738e076a91afe2a64
Reviewed-on: http://review.typo3.org/33592
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Michael Stucki <michael.stucki@typo3.org>
Tested-by: Michael Stucki <michael.stucki@typo3.org>
[BUGFIX] Ensure PHP 5.2 compatibility in php-openid

The backport #62357 introduced a regression with PHP 5.2,
which still is officially supported by TYPO3 CMS 4.5

Adapt the code to be PHP 5.2 compatible

Resolves: #62391
Releases: 4.5
Change-Id: I72895592e10d963f2777c4659cc1f0a10e69a1c1
Reviewed-on: http://review.typo3.org/33737
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Fix PHP warning with date function in FormEngine

The timestamp handed to the date function must be of type int
otherwise a warning is issued. Cast the value to int before
passing it to the date function. The important scenarios are
when the timestamp is "0" or "" (blank string).

Add unit test for formatValue function and the possible format
configurations.

Resolves: #62032
Releases: master, 6.2, 6.1, 4.5
Change-Id: I5207ef5b562dd70b9b5e574eef1b9ee59fa836f0
Reviewed-on: http://review.typo3.org/33665
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[BUGFIX] PHP warning on saving TypoScript with t3editor

On saving TypoScript data in the accordant backend module
using t3editor, the AJAX call issues a PHP warning
"Creating default object from empty value". This only
happens if at least PHP 5.4 is used. The reason is,
that an uninitialized and empty variable is used for
object access.

Resolves: #62984
Releasses: 4.5
Change-Id: I7567d61f0a16379db58760dd963f0330dc8ca6c8
Reviewed-on: http://review.typo3.org/34203
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[BUGFIX] Handle opacity for IE in prototype.js

The new prototype.js sometimes returns a string as opacity value
instead of a float. This causes problems with the starting
animation for dragging an item, making it completely hidden during
dragging.
Forcing the result to be a float results in a correct opacity.

Resolves: #58053
Releases: 6.2, 6.1, 4.7, 4.5
Change-Id: I7811dec578f5e3222fd8fc95145c1e0cdbedb21f
Reviewed-on: http://review.typo3.org/34331
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
[RELEASE] Release of TYPO3 4.5.38

Change-Id: If2f6374021bd90046335888117ac5968405b9a40
Reviewed-on: http://review.typo3.org/34677
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[FEATURE] Enhance info array provided to services

In t3lib_div::makeInstanceService() the info array passed to
the instanciated service class is enhanced with information about
the requested service type, service sub type and the excluded service
keys.

Deprecated references to global vars have been replaced with $GLOBALS
array.

Change-Id: I45d39b3a526ab2c9a2ce273784ecdc4c3f03affd
Resolves: #26410
Reviewed-on: http://review.typo3.org/1776
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[+FEATURE] Extbase (Persistence): Allow pid of object to be set from action-controller

If pid of an object is set then
Tx_Extbase_Persistence_Backend->determineStoragePageIdForNewRecord()
needs to give it priority.

Thanks to Michael Budnick and Balisky Christophe.

Change-Id: Ib99400eb6947044dd190d47de5dce0c63444bb20
Resolves: #7572
[TASK] Translate labels in paginate widget

The previous / next labels in the paginate widget are replaced with
translations.

Resolves: #27516
Releases: master
Change-Id: I0cad4e7d6b92a7890158edc00604ac142c791e80
[BUGFIX] Removed dependency on TYPO3_MODE in saltedpasswords

Removed dependency on TYPO3_MODE constant in saltedpasswords which was
used to determine if the extension is enabled and which table (fe_users
or be_users) should be updated.

Since the mode is required in the init process of saltedpasswords where
the parent auth object is not available the new data in the info
array (introduced in #26410) is used.

Change-Id: I04180d283d6818b2e09d33f82036f6f88a5cb26c
Resolves: #22881
Reviewed-on: http://review.typo3.org/1778
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[TASK] Extbase (Persistence): Remove duplicate registration in identity map

Remove identity-map registration from
Tx_Extbase_Persistence_Repository->findByUid()
since the object has already been registered in the DataMapper
in mapSingleRow().

Thanks to Alexander Stehlik.

Change-Id: I76382f6f12cbcc290f70cd52a465f2c92f7bf4c2
Resolves: #26875
[BUGFIX] Fix PHP warning when writing to Backend user log

The writelog method for the BackendUserAuthentication object is now
checking if there is actually an uid available in the user array
before it tries to access it.

This prevents a PHP warning about an illegal string offset when writing
log messages in an authentication service.

Releases: 6.0, 6.1, 6.2
Resolves: #49328
Change-Id: I3eb028ab3ee00626328ebd2bbf2ad62a22773ac3
[TASK] Collection of unofficial fixes

Fixes that are not meant to be commited to the core or are custom
workarounds for specific problems:

Tables starting with user_piwikintegration_ are ignored in the install
tool schema comparator.

The $isModified property of the ObjectStorage is set to TRUE by
default to fix problems with non persisted changes.

The handling of union statements for ORDER BY usage in the
Typo3DbBackend is improved.

The form.errors view helper merges all property errors.

Change-Id: I91a37be041637d2779178355530dde3f27be5a7f