AXObjectCache::m_document should be a reference.
<https://webkit.org/b/121425>

Reviewed by Antti Koivisto.

AXObjectCache is always owned by a Document so remove the uncertainty
by turning its m_document into a Document&.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Do not try to parse incomplete HTTP requests
https://bugs.webkit.org/show_bug.cgi?id=121123

Patch by Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk> on 2013-09-16
Reviewed by Carlos Garcia Campos.

Update to incorporate additional review suggestions.

* UIProcess/API/gtk/tests/TestInspectorServer.cpp:
(sendIncompleteRequest):
Fix memory leaks, change test timeout from 2 seconds to 1 second,
use "0" instead of "NULL" and use g_assert_no_error when checking
for GError.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] Winding rule polygon issues
https://bugs.webkit.org/show_bug.cgi?id=120236

Reviewed by Dirk Schulze.

Source/WebCore:

This patch corrects some of the problems with shape-inside and
self-intersecting polygons and eliminates the layout flashing behavior
that prompted the original bug report. The FloatPolygon::contains()
method now respoects the polygon's fillRule and the PolygonShape code
used to find shape-inside intervals for the top and bottom of a line
now also handles fillRule correctly.

Tests: fast/shapes/shape-inside/shape-inside-complex-polygon-001.html
       fast/shapes/shape-inside/shape-inside-complex-polygon-002.html
       fast/shapes/shape-inside/shape-inside-complex-polygon-003.html
       fast/shapes/shape-inside/shape-inside-complex-polygon-004.html

* platform/graphics/FloatPolygon.cpp:
(WebCore::FloatPolygon::containsEvenOdd):
(WebCore::FloatPolygon::containsNonZero):
(WebCore::FloatPolygon::contains):
* platform/graphics/FloatPolygon.h:
* rendering/shapes/PolygonShape.cpp:
(WebCore::computeXIntersections):

LayoutTests:

Verify that self-intersecting rectilinear shape-inside polygons work
correctly for the evenodd and nonzero fill rules.

The shape for tests 001 and 002 contains a loop (the vertices are
numbered in the figure):

0----4----1----5
|    |    |    |
|    3----2    |
7--------------6

When the fillRule is nonzero the entire rectangle is filled because
edges 7-0 and 3-4 wind in same direction. When fillRule is evenodd the
1-2-3-4 rectangle is not filled, leaving a U shape.

The shape for tests 003 and 004 is similar, but the adjacent vertical edges
wind in opposite directions. As a result both nonzero and evenodd fills
produce the same U shaped result.

0----2---1,5---6
|    |    |    |
|    3----4    |
8--------------7

* fast/shapes/shape-inside/shape-inside-complex-polygon-001-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-001.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-002-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-002.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-003-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-003.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-004-expected.html: Added.
* fast/shapes/shape-inside/shape-inside-complex-polygon-004.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
L10n - en_GB PO file for WebKitGTK+
https://bugs.webkit.org/show_bug.cgi?id=100255

Patch by Chris Leonard <cjlhomeaddress@gmail.com> on 2013-09-16
Reviewed by Gustavo Noronha Silva.

* en_GB.po: updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add new Galician translations
https://bugs.webkit.org/show_bug.cgi?id=105079

Patch by Fran Dieguez <frandieguez@gnome.org> on 2013-09-16
Reviewed by Gustavo Noronha Silva.

* gl.po: updated

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Win] Compile errors in WebCore derived sources.
https://bugs.webkit.org/show_bug.cgi?id=121420

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-09-16
Reviewed by Brent Fulgham.

* dom/make_names.pl:
(printNamesCppFile): Added const modifier.
(printDefinitions): Use C style cast.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Updated spanish Translation
https://bugs.webkit.org/show_bug.cgi?id=100677

Patch by Daniel Mustieles <daniel.mustieles@gmail.com> on 2013-09-16
Reviewed by Gustavo Noronha Silva.

* es.po: updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed warning correction.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseFilter): Don't use 'value' as the input argument
to the method, and the internal loop variable for the parser.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed warning correction. Avoid uninitialized renderer.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue): Renderer can be uninitialized.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Destroying a Document's render tree shouldn't make it impossible to recreate.
<https://webkit.org/b/121437>

Reviewed by Antti Koivisto.

Rename Document::detach() to destroyRenderTree() and stop automatically
disconnecting Document from its Frame after the deforestation.

Added Document::disconnectFromFrame() and do that after every call to
destroyRenderTree() that we currently have.

This change doesn't alter any behavior on its own, but is a step towards
being able to destroy and rebuild the render tree.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rebaseline bindings tests after Sam's Document& changes.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[sh4] Fix typo in subp implementation in LLINT.
https://bugs.webkit.org/show_bug.cgi?id=121438

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-09-16
Reviewed by Andreas Kling.

* offlineasm/sh4.rb:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155876 268f45cc-cd09-0410-ab3c-d52691b4dbfc