Message generation should handle nested templates
https://bugs.webkit.org/show_bug.cgi?id=109771

Reviewed by Ryosuke Niwa.

Make it possible to have nested class template types as message parameters and
correctly gather all the needed headers and argument coder headers.

* Scripts/webkit2/messages.py:
(class_template_headers):
Recursively figure out the types and template headers needed for a given type.

(argument_coder_headers_for_type):
(headers_for_type):
Call class_template_headers.

* Scripts/webkit2/messages_unittest.py:
(CoreIPC):
* Scripts/webkit2/parser.py:
(split_parameters_string):
(parse_parameters_string):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PlugIn Autostart should expire in 30 days, not half a day
https://bugs.webkit.org/show_bug.cgi?id=109767

Reviewed by Brian Weinstein.

We forgot to multiply by 60 seconds in a minute.

* UIProcess/Plugins/PlugInAutoStartProvider.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Coordinated Graphics: a long page is scaled vertically while loading.
https://bugs.webkit.org/show_bug.cgi?id=109645

Patch by Huang Dongsung <luxtella@company100.net> on 2013-02-13
Reviewed by Noam Rosenthal.

When loading http://www.w3.org/TR/xpath-datamodel/, Coordinated Graphics draws
vertically scaled contents. It is because there is the difference between the
size of a layer and the size of CoordinatedBackingStore.

Currently, CoordinatedGraphicsScene notifies the size to CoordinatedBackingStore
at the moment of creating, updating and removing a tile. However, it is not
necessary to send tile-related messages when the size of layer is changed.
So this patch resets the size of CoordinatedBackingStore when receiving the
message that is created when the size is changed: SyncLayerState.

There is no current way to reliably test flicker issues.

* platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
  Add m_pendingSize to set m_size at the moment of flushing.
  After http://webkit.org/b/108294, m_pendingSize will be removed
  because the bug makes CoordinatedGraphicsScene execute all messages at
  the moment of flushing.
(WebCore::CoordinatedBackingStore::setSize):
(WebCore::CoordinatedBackingStore::commitTileOperations):
* platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
(CoordinatedBackingStore):
* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::prepareContentBackingStore):
(WebCore::CoordinatedGraphicsScene::createBackingStoreIfNeeded):
(WebCore::CoordinatedGraphicsScene::resetBackingStoreSizeToLayerSize):
(WebCore::CoordinatedGraphicsScene::createTile):
(WebCore::CoordinatedGraphicsScene::removeTile):
(WebCore::CoordinatedGraphicsScene::updateTile):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Better build fix.

* API/tests/testapi.c:
(assertEqualsAsNumber):
(main):

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