Schema option callback="(class::)method" added to xPDOObject::set()
Trying to deal with issue described http://forums.modx.com/thread/32541/modx-revo-event-output-issue-in-plugin#dis-post-437548 so now modEvent::output() can be used for setting the output, instead of "semi-private" modEvent::_output, which should generally be used only for internal interactions.
MODX Revolution 2.2.9-pl

Merge branch 'release-2.2'

* release-2.2: (71 commits)
  Bump version for 2.2.9-pl release
  Add SDK distribution
  Critical error when resourceTree not initialized (cherry picked from commit 6eda3f1c940fefc99d5cfc6d082ce301855b96a4)
  Avoid suppressed warnings with ob_get_level()
  Update core/lexicon/en/workspace.inc.php
  Bump version for 2.2.8-pl release
  Various documentation corrections
  Fix xPDOIterator->next() using void return value
  Fix undefined constant object in xPDO->toCache()
  Fix xPDO::prepare() sending no driver_options
  Fix xPDO::getInstance() when reusing existing
  Fix invalid call to $this->xpdo->log()
  [#9864] Identify compound PK's properly in xPDOQuery::parseConditions()
  Bump version for 2.2.8-dev
  [#10043] Fix class-loading LFI in registerLogging
  [#6937] Fix Persistent/Reflected XSS in User Messaging
  Optimizing ExtJS Images
  Set default error_handler_types to error_reporting()
  add changelog entry
  [#6294] Remove patch
  ...
MODX Revolution 2.2.10-pl

Merge branch 'release-2.2'

* release-2.2: (29 commits)
  Bump version for 2.2.10-pl release
  Increase modTransportPackage version columns range to smallint
  [#10211] Fix parser state bug triggered by media sources
  Remove executable bit from files
  Fixed loading modResource derivatives based on objects allowListingInClassKeyDropdown setting, not using showInContextMenu for that
  Fix js error on MODx.Console.close()
  Minor bug fixes
  Updated Dutch lexicons for 2.2.10
  Update update.class.php
  italian lexicon for modx 2.2.10
  Update file.inc.php
  Update setting.inc.php
  Fixed bugs and updated language file
  French translation by @ackwa
  Updated and fixed some of the Brazilian Portuguese translation files.
  Update Japanese lexicon topics
  Updated encoding for Brazilian Portuguese lexicon files
  Updating the lexicon files for Brazilian Portuguese
  Add a README.md
  Update German lexicon topics
  ...
Fix caching of menu in manager

Until now probably manager menu never been cached by missing context key in path to cache file.
Corrected translation of two phrases

Signed-off-by: Jan-Christoph Ihrens <ihrens@cc-services.de>
Corrected some German phrases

Minor changes, mostly concerning formatting
Add changelog entry
Fix caching of manager menus

Merge branch 'hotfix-menu-cache' into release-2.2

* hotfix-menu-cache:
  Add changelog entry
  Fix caching of menu in manager
German lexicon topic updates

Merge remote-tracking branch 'origin/pr/726' into release-2.2

* origin/pr/726:
  Corrected some German phrases
  Corrected translation of two phrases
Prevent XSS on actionVar in header.tpl

The smarty template was reflecting the $_GET['a'] parameter without converting htmlspecialchars (was only using strip_tags)
Replace PHP_SELF with SCRIPT_NAME in setup

Also apply htmlspecialchars() to the echo in setup/templates/findcore.php

Both changes address the Reflected XSS in findcore.php issue reported at http://www.securityfocus.com/archive/1/529372/2013-09-27/1 that is only exploitable in environments that handle the PATH_INFO variable defined in the CGI spec; see http://tools.ietf.org/html/rfc3875#section-4.1.5

(cherry picked from commit 0fcf9cd97a2bcff20d4f4f66abd43350f9e33e42)
Update phpthumb to 1.7.11-beta to close security vulnerability
Remove cache clearing logic from system setting model

Removes logic in save() and remove() methods of modSystemSetting which unnecessarily cleared the cache. This was redundant as it already occurs in the processors for managing the System Setting records, where the logic is more appropriate.
Prevent "core" namespace removal

(cherry picked from commit f8cde2e1eddfb2fe341a494518766e1288739d2c)
Remove all dependency on mysql extension

The mysql extension is deprecated in PHP 5.5

(cherry picked from commit ffbf2be2b979f40fb8d4aea6f70fbca14e751bcc)

Conflicts:
	core/docs/changelog.txt
Destroy drop targets on panel destroying
Merge remote-tracking branch 'xpdo/develop' into pr/513

* xpdo/develop:
  Fix xPDO::getCount() to work with queries containing group by
  Replace reflection of PHP_SELF with SCRIPT_NAME in xPDO::log()
  Fix for deprecated preg_replace
  Add changelog entry
  Add dependency metadata/methods to xPDOTransport
  Bump version for 2.3.0-alpha development
  Disable phpdoc generation in build for now
  Update code docs, fix invalid constant
Update xPDO to 2.3.0-alpha

Closes #513

Merge branch 'pr/513' into release-2.2

* pr/513:
  Fix xPDO::getCount() to work with queries containing group by
  Replace reflection of PHP_SELF with SCRIPT_NAME in xPDO::log()
  Fix for deprecated preg_replace
  Add changelog entry
  Add dependency metadata/methods to xPDOTransport
  Bump version for 2.3.0-alpha development
  Disable phpdoc generation in build for now
  Update code docs, fix invalid constant
Fix unescaped backslash in file and image TV

Fix for #9526: http://tracker.modx.com/issues/9526

(cherry picked from commit e3dcab239578ac466667ab72ddbcb4f5f0f23fe5)