Sparse array size threshold should be increased to 100000
https://bugs.webkit.org/show_bug.cgi?id=100827

Patch by Filip Pizlo <fpizlo@apple.com> on 2012-10-31
Reviewed by Oliver Hunt.

This enables the use of contiguous arrays in programs that previously
couldn't use them. And I so far can't see any examples of this being
a downside. To the extent that there is a downside, it ought to be
addressed by GC: https://bugs.webkit.org/show_bug.cgi?id=100828

* runtime/ArrayConventions.h:
(JSC):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Page popup shows up at wrong locations when root view is scrolled
https://bugs.webkit.org/show_bug.cgi?id=100830

Reviewed by Kent Tamura.

We need to account for the scroll position when calculating the root view rectangle in the screen.

* src/DateTimeChooserImpl.cpp:
(WebKit::DateTimeChooserImpl::writeDocument):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Add APIs to get/set encoding detector
https://bugs.webkit.org/show_bug.cgi?id=100066

Patch by Yuni Jeong <yhnet.jung@samsung.com> on 2012-11-01
Reviewed by Gyuyoung Kim.

Add setting APIs for encoding dector and a unit test.

* Shared/WebPreferencesStore.h:
(WebKit):
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetUsesEncodingDetector):
(WKPreferencesGetUsesEncodingDetector):
* UIProcess/API/C/WKPreferences.h:
* UIProcess/API/efl/ewk_settings.cpp:
(ewk_setting_uses_encoding_detector_set):
(ewk_setting_uses_encoding_detector_get):
* UIProcess/API/efl/ewk_settings.h:
* UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused Locale::parseDateTime
https://bugs.webkit.org/show_bug.cgi?id=100910

Reviewed by Kentaro Hara.

Source/WebCore:

For date/time input types, InputType::convertFromVisibleValue is never
called. convertFromVisibleValue is called when an inner editable node is
updated. However input elements don't have such editable nodes if
ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, and a user can't edit the
inner editable node otherwise because we open date/time pickers when a
user try to change the field value.

We had used convertFromVisibleValue for input[type=date] with an old UI.

No new tests because of no behavior changes.

* html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::convertFromVisibleValue):
Remove Locale::parseDateTiem and put ASSERT_NOT_REACHED.

* platform/text/PlatformLocale.h: Remove parseDateTime.

* platform/text/LocaleICU.h: Remove parseDateTime and a bogus comment.
* platform/text/LocaleICU.cpp: Remove parseDateTime.

* platform/text/LocaleNone.cpp: Remove parseDateTime.

* platform/text/mac/LocaleMac.h: Remove parseDateTime.
* platform/text/mac/LocaleMac.mm: Ditto.
* platform/text/win/LocaleWin.h:
- Remove parseDateTime, its helpers, and m_baseYear.
- Remove appendNumber, appendTwoDigitsNumber, appendFourDigitsNumber,
  and formatDate. They don't exist.
* platform/text/win/LocaleWin.cpp:
Remove the above functions.
(WebCore::LocaleWin::LocaleWin): Remove m_baseYear iniitalization.

Source/WebKit/chromium:

* tests/LocaleMacTest.cpp: Remove tests for parseDateTime.
* tests/LocaleWinTest.cpp: Ditto.


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