Changes from 3.5.1 to 3.5.2

*Kernel:
- Added site.ini setting DebugSetting/AlwaysLog which controls the debug types
  to always log to files.
  (Merged from trunk (3.6) rev. 11057, 11059)
- Modified: The copying of related objects is done before attributes when copying an
  object or one of its versions.
  (Merged from stable/3.4 (3.4.6) rev. 11110)
- Changed pregeneration of content cache to happen inside the 'publish'
  operation instead of in the content/edit page.
  (Manually merged from stable/3.4 (3.4.6) rev. 11295)
- Changed all DB releated PHP scripts to not use the default INI values if
  database settings are supplied to the script.
- Added missing 'socket' parameter to some DB scripts.

eZScript:
- Made sure the return code is set to 1 when getOptions() fails.

ezpm.php:
- Added options for configuring database settings. If used the default values
  from INI settings are not used.

WebDAV:
- Added configuration of which classes should always be considered as folders.
  This is configured in webdav.ini.
  (Submitted by Xavier DUTOIT)

*Bugfixes:
- Fixed bug: eZGeneralDigesthandler returns users when no users should be returned
  (Merged from stable/3.3 (3.3-7) rev. 10861)
- Fixed bug: Toolbar template function trying to unset variables that are not set
- Fixed bug #6204: lib/compat.php missing by client code.
  (Manually merged from release/3.4.5 (3.4.5) rev. 10865)
- Fixed bug #6188: Wrong CookieTimeout in site.ini
  (Merged from stable/3.4 (3.4.5) rev. 10903)
- Fixed bug #6149: Directory permission checking routine error
  (Merged from stable/3.4 (3.4.5) rev. 10911) 
- Fixed bug #6198: Date and Datetime as object name pattern for a class.
  (Merged from stable/3.4 (3.4.5) rev. 10939)
- Fixed bug #6198: Time field as object name pattern for a class.    
  (Merged from stable/3.4 (3.4.5) rev. 10943)
- Fixed bug: infinite loop during RSS import.
- Fixed bug #6181: Error sending SMTP mail, invalid rcpt header. 
  (Merged from stable/3.4 (3.4.6) rev. 10978)
- Fixed bug when modulo variable in delimiter contains whitespace, and template compile is disabled.
  (Merged from stable/3.4 (3.4.6) rev. 10981)
- Fixed bug with incorrect current_version when copying eZContentObject.
  ( Merged from stable/3.4 ( 3.4.6 ) rev. 10991 )
- Fixed bug with creating URL translation from existing url_alias to other system module.
  ( Merged from stable/3.4 ( 3.4.6 ) rev. 10995 )
- Fixed bug #6289: ezmail: disallowed characters in the MIME headers
  (Merged from stable/3.4 (3.4.6) rev. 11007)
- Fixed bug #4895: ez.no: Please change Linefeed
  (Merged from stable/3.4 (3.4.6) rev. 11007)
- Fixed bug #3872: Mail-sending: Linefeed problem (again)
  (Merged from stable/3.4 (3.4.6) rev. 11007)
- Fixed bug #3394: ez.no: notification system
  (Merged from stable/3.4 (3.4.6) rev. 11007)
- Fixed bug #3154: ez.no: notifaction not working properly / wrong email output
  (Merged from stable/3.4 (3.4.6) rev. 11007)
- Fixed bug #5987: ez.no: Save draft should not respect the required field.
  (Merged from stable/3.4 (3.4.6) rev. 10976)
- Fixed bug #6276: ez.no: PreViewCache not working
- Fixed bug #6321: Not valid HTML in template
  (Manually merged from stable/3.4 (3.4.6) rev. 11023)
- Fixed bug #6280: Previous location not displayed when moving node
- Fixed bug #6323: Wrong condition for http post to url conversion.
- Fixed bug #6269: Error in ezpackage.php after updating 3.5.0 to 3.5.1
  (Merged from stable/3.4 (3.4.6) rev.11052)
- Fixed bug #6270: Error in ezpackage.php
  (Merged from stable/3.4 (3.4.6) rev.11052)
- Fixed: Session data was rewritten in case of HTTP request errors.
  (Merged from stable 3.4 (3.4.6) rev.11067)
- Fixed bug #6354: Template compile breaks maketime function
  (Merged from stable 3.4 (3.4.6) rev 11101)
- Fixed bug #6307: Ini arrays' definitions were erased when saving ini files.
  (Merged from trunk (3.6.0alpha) rev.11099)
- Fixed bug #6221: Media node linked wrongly in upgrade.
- Fixed bug #6375: Tree count and non translated tree.
- Fixed bug #6197: Disabling override cache and template compile will make 
  admin interface missbehave.
- Fixed bug #6334: Checkbox does not do validation
  (Merged from trunk (3.6.0 alpha) rev. 11157)  
- Fixed bug #6175: Subtree_expiry not expiry
- Fixed bug #6388: Sources ignored in RSS export.
- Fixed bug #6074: Major crash because of typo in site.ini.
- Fixed bug #6078: Wrong RSS rights to anonymous users.
- Fixed bug #6446: eZPreferences::values() always assumes the current user.
- Fixed bug #6447: eZUser session caching problems.
  (Manually merged from stable/3.4 (3.4.6) rev. 11266)
- Fixed bug #6445: Pregeneration of content cache: Missing default view parameters.
  (Manually merged from stable/3.4 (3.4.6) rev. 11269)
- Fixed bug #6444: Default cached view preference values are only included when
  they are false.
- Fixed bug #6443: New bug: Cached view preference list is not used when user
  does not have any preferences set.
- Fixed bug: Content cache pregeneration: The DesignSetting of the selected
  siteaccess were not used.
  (Submitted by: Bruce Morrison)
- Fixed bug: Content cache pregeneration: The cache was generated for the 
  currently logged in user instead of the anonymous user or another specific
  user.
  (Submitted by: Bruce Morrison)
- Fixed bug #6448: Pregeneration of content cache: Wrong CachedViewPreferences
  in some cases.
- Fixed bug #6077: eZImageAliasHandler::initializeFromFile may mess things up.
  (Manually merged from stable/3.4 (3.4.6) rev.11303)
- Fixed bug #6038: Wrong check in template for binaryfile datatype.
  (Merged from trunk (3.6.0alpha) rev. 11310)
- Fixed bug #6438: Defect node fetching.
  (Merged from trunk (3.6.0 alpha) rev. 11316)
- Fixed silly admin interface bug http://ez.no/community/bugs/admin_unusable_remove_button_in_orderview
  (Merged from trunk (3.6.0 alpha) rev. 11314)
- Fixed bug #6462: Templates for RSS in the default design do not correspond.
  (Merged from trunk (3.6.0alpha) rev. 11324)
- Fixed bug #6464: Uploading new related objects to new content object
  erases contents of the object.
- Fixed bug #6180: URL translator confusion revisited.
- Fixed bug #6469: Wrong order number used in removeorder.
  (Merged from stable/3.4 (3.4.6) rev. 11358)
- Fixed bug #6424: Wrong behaviour of packaging ezurltype
- Fixed bug #6255: Removing user group from a role assignment does not clear
  the caches.
  (Manually merged from stable/3.4 (3.4.6) rev. 11377)
- Fixed bug #2648: Moving node under own child node.
- Fixed bug: Session would be activated allthough eZScript was instructed not
  to start sessions.
  (Manually merged from stable/3.4 (3.4.6) rev. 11388)
- Fixed bug: Notification digest handler lead to sql errors.
  (Merged from trunk (3.6.0 alpha) rev. 11415)
- Fixed bug: JavaScript error in content/edit
- Fixed bug #5583: ezimage.tpl produces bare href and target - bad XHTML.
- Fixed bug #6514: ezobjectrelationlist does not archive old versions
  (Merged from release/3.4.6(3.4.6) rev. 11485)
- Fixed bug #6519: ezobjectrelationlist creates lots of needless nodeassignments
  (Merged from release/3.4.6(3.4.6) rev.11508)

*WebDAV:
- Fixed discarding of XML payload when user needs to authenticate.
  (Merged from trunk (3.6.0alpha) rev. 10937)

*Library:

eZDebug:
- Added support for choosing which debug levels to always log. By default it
  will always log errors even if debug output is off.
  (Merged from trunk (3.6) rev. 11047, 11049, 11050, 11053, 11056, 11062)

eZDB:
- The reading of INI settings can now be disabled by passing the 'use_default'
  entry to the database parameter array in eZDB.
  (Merged from stable/3.4 rev. 11141)
- PostgreSQL driver will no longer send false/null parameters to the connect
  function.

eZTemplate:
- Fixed some issues with 'insert' operator when the input value was
  undetermined.
  (Manually merged from stable/3.4 (3.4.6) rev. 11409)
- Fixed PHP warnings when compiling 'si' operator.
  (Manually merged from stable/3.4 (3.4.6) rev. 11417)

