Upgrade to jQuery Migrate v1.2.1.

 Make use of these protocol-agnostic links that are said to cure headaches.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5551 2fea6a4d-a838-0410-917b-93a53c48e9d2
LOC: 3, Typos: 0.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5552 2fea6a4d-a838-0410-917b-93a53c48e9d2
Container::register() is chainable and checks the alias.

Container::remove() removes the instance too.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5553 2fea6a4d-a838-0410-917b-93a53c48e9d2
Update documentation.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5554 2fea6a4d-a838-0410-917b-93a53c48e9d2
Txp::getContainer() to public.

Exposes the current container through the factory interface.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5555 2fea6a4d-a838-0410-917b-93a53c48e9d2
Textpattern >=4.5.0 does not work on PHP <5.2.3.

This is caused at least due to htmlspecialchars() arguments.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5556 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces Textpattern_L10n_Locale.

Sets and gets locale. A wrapper for system setlocale.
It's a spin from the old, strangely named getlocale(),
with the difference that:

* It allows setting any category opposed to just LC_TIME.
* Updates the identifier table to more complete state.
* Packs in the extra methods used in safe_strtime().

E.g.

Txp::get('L10nLocale')->setLocale(LC_ALL, 'da-dk');

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5557 2fea6a4d-a838-0410-917b-93a53c48e9d2
Textpattern_L10n_Locale::setLocale() ends on match.

Doesn't match given code to identifier map values, just
the language code.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5558 2fea6a4d-a838-0410-917b-93a53c48e9d2
Remove underscore.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5559 2fea6a4d-a838-0410-917b-93a53c48e9d2
Trim search query in search_result_excerpt().

We don't want to insert HTML nodes everywhere within
words.

Fixes issue #392

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5560 2fea6a4d-a838-0410-917b-93a53c48e9d2
'Save' and 'Publish' buttons change on the fly.

The label is chosen based on the action. Already published
article can only be saved, while on 'pending' and new
articles  the button changes based on the new selected
status.

This change also adds '.published' and '.saved' classes to
the #article_form.

Closes issue #53

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5561 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize HTML attribute values used in prevnext_link().

See issue #299

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5562 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize HTML attribute values used in dLink().

See issue #299

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5563 2fea6a4d-a838-0410-917b-93a53c48e9d2
Shorter, but same.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5564 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize JavaScript values used in dom_attach().

See issue #299

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5565 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize values used in cookie_box().

See issue #299

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5566 2fea6a4d-a838-0410-917b-93a53c48e9d2
Merge remote-tracking branch 'upstream/master' into search-widget