[css-align][css-flex][css-grid] 'auto' values of align-self and justify-self must...
[WebKit-https.git] / Tools / ChangeLog-2014-02-20
1 2014-02-20  Dean Jackson  <dino@apple.com>
2
3         Add an unresolved WebGLPolicy and an API to resolve it
4         https://bugs.webkit.org/show_bug.cgi?id=129109
5
6         Reviewed by Anders Carlsson.
7
8         Add a new entry for resolveWebGLLoadPolicy.
9
10         * WebKitTestRunner/TestController.cpp:
11         (WTR::TestController::createWebViewWithOptions):
12
13 2014-02-19  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
14
15         [GTK] Add new ARM build slave for GTK+
16         https://bugs.webkit.org/show_bug.cgi?id=128978
17
18         Reviewed by Brent Fulgham.
19
20         * BuildSlaveSupport/build.webkit.org-config/config.json:
21
22 2014-02-19  Zan Dobersek  <zdobersek@igalia.com>
23
24         Remove the remaining Nix cruft under Tools
25         https://bugs.webkit.org/show_bug.cgi?id=129003
26
27         Reviewed by Csaba Osztrogonác.
28
29         The Nix port was removed from the source tree so the remaining Nix-specific code
30         in the utility scripts is not required anymore.
31
32         * Scripts/run-nix-tests: Removed.
33         * Scripts/update-webkitnix-libs: Removed.
34         * Scripts/webkitpy/style/checker.py:
35         * jhbuild/jhbuild-wrapper:
36         (determine_platform):
37         * nix/common.py: Removed.
38         * nix/jhbuild.modules: Removed.
39         * nix/jhbuildrc: Removed.
40
41 2014-02-18  Jinwoo Song  <jinwoo7.song@samsung.com>
42
43         [EFL][MiniBrowser] Remove view_mode parameter in window_create()
44         https://bugs.webkit.org/show_bug.cgi?id=128960
45
46         Reviewed by Gyuyoung Kim.
47
48         As view source code is removed in r164254, window_create() also should remove view_mode.
49
50         * MiniBrowser/efl/main.c:
51         (on_key_down):
52         (on_window_create):
53         (window_create):
54         (elm_main):
55
56 2014-02-18  Diego Pino García  <dpino@igalia.com>
57
58         [GTK] Minibrowser: Add shortcut to open Web Inspector
59         https://bugs.webkit.org/show_bug.cgi?id=128813
60
61         Reviewed by Anders Carlsson.
62
63         Added shortcuts Ctrl+Shift+I and F12 for toggling Web Inspector.
64
65         * MiniBrowser/gtk/BrowserWindow.c:
66         (toggleWebInspector):
67         (browser_window_init):
68
69 2014-02-18  Dan Bernstein  <mitz@apple.com>
70
71         Stop using PLATFORM(MAC) except where it means “OS X but not iOS”
72         https://bugs.webkit.org/show_bug.cgi?id=128952
73
74         Reviewed by Anders Carlsson.
75
76         * TestWebKitAPI/JavaScriptTest.h: Changed PLATFORM(MAC) to PLATFORM(COCOA) and changed to
77         use OBJC_CLASS.
78         * TestWebKitAPI/PlatformUtilities.h: Changed PLATFORM(MAC) to USE(FOUNDATION) and changed
79         to use OBJC_CLASS.
80         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Changed PLATFORM(MAC) to
81         PLATFORM(COCOA).
82         (TestWebKitAPI::TEST):
83         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
84         (TestWebKitAPI::TEST): Added expected default font-family values for iOS.
85         * TestWebKitAPI/config.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
86         * WebKitTestRunner/EventSenderProxy.h: Ditto.
87         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: Ditto.
88         * WebKitTestRunner/InjectedBundle/AccessibilityController.h: Ditto.
89         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp: Ditto.
90         (WTR::AccessibilityTextMarker::platformTextMarker):
91         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h: Ditto.
92         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp: Ditto.
93         (WTR::AccessibilityTextMarkerRange::platformTextMarkerRange):
94         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h: Ditto.
95         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: Ditto.
96         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: Ditto.
97         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Ditto.
98         * WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
99         * WebKitTestRunner/PlatformWebView.h: Ditto.
100         * WebKitTestRunner/TestController.cpp: Ditto.
101         (WTR::TestController::resetStateToConsistentValues):
102         (WTR::TestController::processDidCrash):
103         * WebKitTestRunner/TestInvocation.cpp: Ditto.
104         (WTR::updateThreadedScrollingForCurrentTest):
105         (WTR::TestInvocation::dumpWebProcessUnresponsiveness):
106         * WebKitTestRunner/cg/TestInvocationCG.cpp: Ditto.
107         (WTR::computeMD5HashStringForContext):
108
109 2014-02-17  Dan Bernstein  <mitz@apple.com>
110
111         Stop using PLATFORM(MAC) in DumpRenderTree except where it means “OS X but not iOS”
112         https://bugs.webkit.org/show_bug.cgi?id=128950
113
114         Reviewed by Anders Carlsson.
115
116         Changed all PLATFORM(MAC) instances that were not excluding iOS to PLATFORM(COCOA).
117
118         * DumpRenderTree/AccessibilityController.h:
119         * DumpRenderTree/AccessibilityTextMarker.h:
120         * DumpRenderTree/AccessibilityUIElement.cpp:
121         * DumpRenderTree/AccessibilityUIElement.h:
122         * DumpRenderTree/DumpRenderTree.h:
123         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
124         (computeMD5HashStringForBitmapContext):
125         * DumpRenderTree/cg/PixelDumpSupportCG.h:
126         (BitmapContext::~BitmapContext):
127         * DumpRenderTree/config.h:
128
129 2014-02-17  Filip Pizlo  <fpizlo@apple.com>
130
131         More ARM FTL glue
132         https://bugs.webkit.org/show_bug.cgi?id=128948
133
134         Reviewed by Sam Weinig.
135
136         * Scripts/configure-llvm: Removed. This isn't really practical now that we require a separate build directory.
137         * Scripts/copy-webkitlibraries-to-product-directory: Switch to using a separate build directory, and for setting a PATH before running LLVM's make.
138
139 2014-02-17  Brent Fulgham  <bfulgham@apple.com>
140
141         [Win] There's another Windows SDK. Make sure we recognize it.
142         https://bugs.webkit.org/show_bug.cgi?id=128932
143
144         Reviewed by Tim Horton.
145
146         * Scripts/webkitpy/port/win.py:
147         (WinPort._ntsd_location):
148
149 2014-02-17  Ryosuke Niwa  <rniwa@webkit.org>
150
151         webkitpy test fix on Mac after r164244.
152
153         It's somewhat crazy that we're trying to run unittests for Windows on Mac but whatever.
154
155         * Scripts/webkitpy/port/win.py:
156         (WinPort._ntsd_location):
157
158 2014-02-17  Brent Fulgham  <bfulgham@apple.com>
159
160         [Win] Fall back to Windows symbol servers when necessary
161         https://bugs.webkit.org/show_bug.cgi?id=128926
162
163         Reviewed by Ryosuke Niwa.
164
165         * Scripts/webkitpy/port/win.py:
166         (WinPort):
167         (setup_crash_log_saving): Fall back to Microsoft Symbol Server when local symbols are
168         not specified.
169
170 2014-02-17  László Langó  <llango.u-szeged@partner.samsung.com>
171
172         Fix typos in Tools/efl/jhbuild.modules.
173         https://bugs.webkit.org/show_bug.cgi?id=128908
174
175         Reviewed by Csaba Osztrogonác.
176
177         * efl/jhbuild.modules: 's/<deb /<dep /g'
178
179 2014-02-15  Ryuan Choi  <ryuan.choi@samsung.com>
180
181         Build break when disabled ACCESSIBILITY since r162986
182         https://bugs.webkit.org/show_bug.cgi?id=128880
183
184         Unreviewed build fix.
185
186         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
187         Added dummy implementations for newly added methods.
188         (WTR::AccessibilityUIElement::rowHeaders):
189         (WTR::AccessibilityUIElement::columnHeaders):
190         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
191
192 2014-02-15  Filip Pizlo  <fpizlo@apple.com>
193
194         Vector with inline capacity should work with non-PODs
195         https://bugs.webkit.org/show_bug.cgi?id=128864
196
197         Reviewed by Michael Saboff.
198         
199         This test experiences really bizarre behavior on trunk without the rest of
200         this fix. On my machine, it usually times out because it gets itself into an
201         infinite loop of some kind. With the fix, it passes.
202
203         * TestWebKitAPI/Tests/WTF/Vector.cpp:
204         (TestWebKitAPI::TEST):
205
206 2014-02-15  Ryuan Choi  <ryuan.choi@samsung.com>
207
208         [EFL][WK1] Do not include cairo header in the public headers
209         https://bugs.webkit.org/show_bug.cgi?id=128779
210
211         Reviewed by Gyuyoung Kim.
212
213         * DumpRenderTree/PlatformEfl.cmake:
214         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
215         (createBitmapContextFromWebView):
216         Used ewk_view_screenshot_contents_get instead of ewk_view_paint.
217         * EWebLauncher/main.c:
218         (print_history): Replaced ewk_history_item_icon_surface_get to ewk_history_item_icon_object_add
219         (on_key_down):
220         * Scripts/webkitpy/style/checker.py:
221         Added -runtime/ctype_function for EWebLauncher because EWebLauncher is sample
222         and it does not use WTF.
223
224 2014-02-15  Samuel White  <samuel_white@apple.com>
225
226         AX: Add ability to specify descendant type when using AXUIElementsForSearchPredicate.
227         https://bugs.webkit.org/show_bug.cgi?id=128747
228
229         Reviewed by Chris Fleizach.
230
231         Updated uiElementCountForSearchPredicate and uiElementForSearchPredicate test methods to support 'immediate descendant only' searching.
232
233         * DumpRenderTree/AccessibilityUIElement.cpp:
234         (uiElementCountForSearchPredicateCallback):
235         (uiElementForSearchPredicateCallback):
236         * DumpRenderTree/AccessibilityUIElement.h:
237         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
238         (AccessibilityUIElement::uiElementCountForSearchPredicate):
239         (AccessibilityUIElement::uiElementForSearchPredicate):
240         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
241         (AccessibilityUIElement::uiElementCountForSearchPredicate):
242         (AccessibilityUIElement::uiElementForSearchPredicate):
243         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
244         (searchPredicateParameterizedAttributeForSearchCriteria):
245         (AccessibilityUIElement::uiElementCountForSearchPredicate):
246         (AccessibilityUIElement::uiElementForSearchPredicate):
247         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
248         (AccessibilityUIElement::uiElementCountForSearchPredicate):
249         (AccessibilityUIElement::uiElementForSearchPredicate):
250         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
251         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
252         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
253         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
254         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
255         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
256         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
257         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
258         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
259         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
260         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
261         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
262         (WTR::searchPredicateParameterizedAttributeForSearchCriteria):
263         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
264         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
265
266 2014-02-15  Ryosuke Niwa  <rniwa@webkit.org>
267
268         CQ fix after r164105.
269
270         * DumpRenderTree/mac/EventSendingController.mm:
271         * WebKitTestRunner/mac/EventSenderProxy.mm:
272
273 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
274
275         Another build fix after r164149.
276
277         * Scripts/webkitpy/port/port_testcase.py:
278         (test_apache_config_file_name_for_platform):
279
280 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
281
282         Build fix after r164148.
283
284         * Scripts/webkitpy/port/base.py:
285         (Port._apache_config_file_name_for_platform):
286
287 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
288
289         run-webkit-tests doesn't work with Apache 2.4
290         https://bugs.webkit.org/show_bug.cgi?id=128861
291
292         Reviewed by Andreas Kling.
293
294         Use apache<version>-httpd.conf like we do on Fedora and Debian.
295
296         * Scripts/webkitpy/port/base.py:
297         (Port._apache_config_file_name_for_platform):
298
299 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
300
301         [Win] Make tests more consistent with Mac platform
302         https://bugs.webkit.org/show_bug.cgi?id=128848
303
304         Reviewed by Simon Fraser.
305
306         * DumpRenderTree/win/DumpRenderTree.cpp:
307         (resetDefaultsToConsistentValues): Turn CSS regions on,
308         turn mock scrollbars on, and allow screen font
309         substitution.
310
311 2014-02-14  Mark Hahnenberg  <mhahnenberg@apple.com>
312
313         Save ARGV in a local to avoid repeated lookups
314
315         Rubber stamped by Joseph Pecoraro.
316
317         * jsc-cli/jsc-cli/CLIInstance.m:
318         (-[CLIInstance didReceiveArguments:atOffset:withLength:]):
319
320 2014-02-14  Mark Hahnenberg  <mhahnenberg@apple.com>
321
322         jsc-cli should allow scripts to access argv
323         https://bugs.webkit.org/show_bug.cgi?id=127486
324
325         Reviewed by Oliver Hunt.
326
327         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj:
328         * jsc-cli/jsc-cli/CLIInstance.h:
329         * jsc-cli/jsc-cli/CLIInstance.m:
330         (-[CLIInstance init]):
331         (-[CLIInstance loadFile:]):
332         (-[CLIInstance didReceiveArguments:atOffset:withLength:]):
333         * jsc-cli/jsc-cli/JSRunLoopThread.h:
334         * jsc-cli/jsc-cli/JSRunLoopThread.m:
335         (-[JSRunLoopThread initWithContext:]):
336         (-[JSRunLoopThread loadFile:]):
337         (-[JSRunLoopThread start]):
338         * jsc-cli/jsc-cli/main.m:
339         (printUsage):
340         (main):
341
342 2014-02-14  Andreas Kling  <akling@apple.com>
343
344         Purge remaining ENABLE(SHADOW_DOM) cruft.
345         <https://webkit.org/b/128827>
346
347         Reviewed by Antti Koivisto.
348
349         * DumpRenderTree/gtk/DumpRenderTree.cpp:
350         (resetDefaultsToConsistentValues):
351         * Scripts/webkitperl/FeatureList.pm:
352         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
353         (WTR::InjectedBundle::beginTesting):
354
355 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
356
357         Create some latched scrolling tests.
358         https://bugs.webkit.org/show_bug.cgi?id=127606
359         <rdar://problem/15911348>
360
361         Reviewed by Simon Fraser.
362
363         * DumpRenderTree/mac/EventSendingController.mm:
364         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize
365         the new "mouseScrollByX:andY:withWheel:andMomentumPhases:" selector.
366         (+[EventSendingController webScriptNameForSelector:]): Ditto.
367         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Implement
368         the new wheel event sender.
369         * WebKitTestRunner/EventSenderProxy.h:
370         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Add declaration
371         of new mouseScrollByWithWheelAndMomentumPhases method.
372         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
373         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Added
374         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
375         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
376         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Add stub for iOS.
377         * WebKitTestRunner/TestController.cpp:
378         (WTR::TestController::didReceiveMessageFromInjectedBundle): Handle the new
379         mouseScrollByWithWheelAndMomentumPhases message.
380         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Handle the
381         new mouseScrollByWithWheelAndMomentumPhases.
382         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
383         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide stub that
384         relays to the standard mouse wheel handler.
385         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
386         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
387         * WebKitTestRunner/mac/EventSenderProxy.mm:
388         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide implementation
389         of mouse wheel gesture method.
390
391 2014-02-13  David Farler  <dfarler@apple.com>
392
393         DumpRenderTree fails to build: Perl support module building for OS X but linking for the simulator
394         https://bugs.webkit.org/show_bug.cgi?id=128780
395
396         Reviewed by Simon Fraser.
397
398         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL:
399         Use `xcrun -find clang` instead of `xcrun --sdk $ENV{SDKROOT} -find clang,
400         which will pick up SDKROOT=iphonesimulator from building the Xcode aggregate target.
401
402 2014-02-13  Commit Queue  <commit-queue@webkit.org>
403
404         Unreviewed, rolling out r164073 and r164080.
405         http://trac.webkit.org/changeset/164073
406         http://trac.webkit.org/changeset/164080
407         https://bugs.webkit.org/show_bug.cgi?id=128781
408
409         Broke Mac builds (Requested by rniwa on #webkit).
410
411         * DumpRenderTree/mac/EventSendingController.mm:
412         (+[EventSendingController isSelectorExcludedFromWebScript:]):
413         (+[EventSendingController webScriptNameForSelector:]):
414         * WebKitTestRunner/EventSenderProxy.h:
415         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
416         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
417         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
418         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
419         * WebKitTestRunner/TestController.cpp:
420         (WTR::TestController::didReceiveMessageFromInjectedBundle):
421         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
422         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
423         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
424         * WebKitTestRunner/mac/EventSenderProxy.mm:
425
426 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
427
428         Unreviewed build fix for Mountain Lion.
429
430         * DumpRenderTree/mac/EventSendingController.mm: Provide definition
431         for kCGScrollWheelEventScrollPhase if it isn't found in the
432         system headers.
433
434 2014-02-04  Gustavo Noronha Silva  <gns@gnome.org>
435
436         [GTK][CMake] Generate GObject DOM bindings .symbols files
437         https://bugs.webkit.org/show_bug.cgi?id=126210
438
439         Reviewed by Martin Robinson.
440
441         * gtk/check-gdom-symbols: Added. Checks symbols compatibility.
442         (should_update_symbols_file):
443
444 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
445
446         Create some latched scrolling tests.
447         https://bugs.webkit.org/show_bug.cgi?id=127606
448         <rdar://problem/15911348>
449
450         Reviewed by Simon Fraser.
451
452         * DumpRenderTree/mac/EventSendingController.mm:
453         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize
454         the new "mouseScrollByX:andY:withWheel:andMomentumPhases:" selector.
455         (+[EventSendingController webScriptNameForSelector:]): Ditto.
456         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Implement
457         the new wheel event sender.
458         * WebKitTestRunner/EventSenderProxy.h:
459         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Add declaration
460         of new mouseScrollByWithWheelAndMomentumPhases method.
461         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
462         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Added
463         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
464         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
465         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Add stub for iOS.
466         * WebKitTestRunner/TestController.cpp:
467         (WTR::TestController::didReceiveMessageFromInjectedBundle): Handle the new
468         mouseScrollByWithWheelAndMomentumPhases message.
469         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Handle the
470         new mouseScrollByWithWheelAndMomentumPhases.
471         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
472         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide stub that
473         relays to the standard mouse wheel handler.
474         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
475         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
476         * WebKitTestRunner/mac/EventSenderProxy.mm:
477         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide implementation
478         of mouse wheel gesture method.
479
480 2014-02-13  Antoine Quint  <graouts@webkit.org>
481
482         Unreviewed. changing my email address.
483
484         * Scripts/webkitpy/common/config/contributors.json:
485         * Scripts/webkitpy/common/config/watchlist:
486
487 2014-02-13  Alexey Proskuryakov  <ap@apple.com>
488
489         [Mac] Add a WebKit1 SPI to get WebCrypto master key from a client
490         https://bugs.webkit.org/show_bug.cgi?id=128725
491
492         Reviewed by Anders Carlsson.
493
494         * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webCryptoMasterKeyForWebView:]):
495         Use the SPI to specify a key.
496
497 2014-02-13  Sergio Villar Senin  <svillar@igalia.com>
498
499         Unreviewed. Moved myself to the list of reviewers.
500
501         * Scripts/webkitpy/common/config/contributors.json:
502
503 2014-02-13  Tim Horton  <timothy_horton@apple.com>
504
505         Speculative build fix after r163998.
506
507         * DumpRenderTree/ios/PerlSupport/Makefile:
508
509 2014-02-12  Alexey Proskuryakov  <ap@apple.com>
510
511         [WK2] Add a C API to get WebCrypto master key from a client
512         https://bugs.webkit.org/show_bug.cgi?id=128702
513
514         Reviewed by Anders Carlsson.
515
516         * WebKitTestRunner/TestController.cpp:
517         (WTR::copyWebCryptoMasterKey):
518         (WTR::TestController::initialize):
519         Return a hardcoded key.
520
521 2014-02-12  David Farler  <dfarler@apple.com>
522
523         Upstream iOS old-run-webkit-tests for use with DumpRenderTree in the iOS Simulator
524         https://bugs.webkit.org/show_bug.cgi?id=127694
525
526         Reviewed by Simon Fraser.
527
528         This is a short-term effort to get layout tests working in the iOS simulator again.
529
530         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
531         Pass PLATFORM_NAME to the makefile.
532         * DumpRenderTree/ios/PerlSupport/Makefile:
533         Cleanup.
534         * Scripts/old-run-webkit-tests:
535         Added functions and some exceptions for the simulator.
536         (installAndLaunchDumpRenderTreeAppUsingNotification):
537         (openIPhoneSimulator):
538         (quitDumpRenderTreeAppUsingNotification):
539         (quitIPhoneSimulator):
540         (simulatorSessionUUID):
541         (openDiffTool):
542         (buildDumpTool):
543         (openDumpTool):
544         (closeDumpTool):
545         (dumpToolDidCrash):
546         (expectedDirectoryForTest):
547         (buildPlatformResultHierarchy):
548         * Scripts/webkitdirs.pm:
549         Support functions for old-run-webkit-tests.
550         (determineIPhoneSimulatorVersion):
551         (iPhoneSimulatorVersion):
552
553 2014-02-12  Mark Hahnenberg  <mhahnenberg@apple.com>
554
555         Basic framework for a modern jsc CLI
556         https://bugs.webkit.org/show_bug.cgi?id=127435
557
558         Rubber stamped by Geoffrey Garen.
559
560         * Scripts/build-jsc:
561         * jsc-cli: Added.
562         * jsc-cli/jsc-cli: Added.
563         * jsc-cli/jsc-cli.xcodeproj: Added.
564         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Added.
565         * jsc-cli/jsc-cli/CLIInstance.h: Added.
566         * jsc-cli/jsc-cli/CLIInstance.m: Added.
567         (-[CLIInstance init]):
568         (-[CLIInstance loadFile:]):
569         (-[CLIInstance run]):
570         * jsc-cli/jsc-cli/JSModule.h: Added.
571         * jsc-cli/jsc-cli/JSModule.m: Added.
572         (coreModules):
573         (isCoreModule):
574         (classForModule):
575         (coreModuleFullPath):
576         (resolveModuleAsFile):
577         (resolveModuleAsDirectory):
578         (nodeModulePaths):
579         (resolveAsNodeModule):
580         (+[JSModule resolve:atPath:]):
581         (globalModuleCache):
582         (isCached):
583         (cachedModule):
584         (cacheModule):
585         (+[JSModule require:atPath:]):
586         (+[JSModule require:atPath:inContext:]):
587         (-[JSModule platformObjectInContext:]):
588         (-[JSModule initWithId:filename:context:]):
589         (-[JSModule dealloc]):
590         (-[JSModule didStartLoading]):
591         (-[JSModule didFinishLoading]):
592         (-[JSModule require:]):
593         (-[JSModule exports]):
594         * jsc-cli/jsc-cli/JSRunLoopThread.h: Added.
595         * jsc-cli/jsc-cli/JSRunLoopThread.m: Added.
596         (jsThreadMain):
597         (+[JSRunLoopThread threadMain]):
598         (-[JSRunLoopThread initWithFiles:andContext:]):
599         (-[JSRunLoopThread startRunLoop]):
600         (-[JSRunLoopThread start]):
601         (-[JSRunLoopThread join]):
602         (-[JSRunLoopThread didReceiveInput:]):
603         (-[JSRunLoopThread performCallback:withError:]):
604         (-[JSRunLoopThread performCallback:withArguments:]):
605         (-[JSRunLoopThread didFinishRunLoopInitialization]):
606         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Added.
607         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Added.
608         (-[ReadEvalPrintLoop initWithJSThread:]):
609         (prompt):
610         (escapeStringForOutput):
611         (-[ReadEvalPrintLoop processNextInput]):
612         (-[ReadEvalPrintLoop run]):
613         * jsc-cli/jsc-cli/RunLoopThread.h: Added.
614         * jsc-cli/jsc-cli/RunLoopThread.m: Added.
615         (+[RunLoopThread threadMain]):
616         (-[RunLoopThread init]):
617         (-[RunLoopThread dealloc]):
618         (-[RunLoopThread didFinishRunLoopInitialization]):
619         (-[RunLoopThread start]):
620         (-[RunLoopThread join]):
621         * jsc-cli/jsc-cli/ScriptInputSource.h: Added.
622         * jsc-cli/jsc-cli/ScriptInputSource.m: Added.
623         (scriptInputSourceScheduleRoutine):
624         (scriptInputSourcePerformRoutine):
625         (scriptInputSourceCancelRoutine):
626         (-[ScriptInputSource initWithContext:]):
627         (-[ScriptInputSource dealloc]):
628         (-[ScriptInputSource addToCurrentRunLoop]):
629         (-[ScriptInputSource removeFromRemoteRunLoop]):
630         (-[ScriptInputSource didReceiveScript:]):
631         (-[ScriptInputSource didReceiveSignal]):
632         (-[ScriptInputSource runScriptRemotely:]):
633         (-[ScriptInputSource finishAsyncCallback:withResult:]):
634         * jsc-cli/jsc-cli/main.m: Added.
635         (main):
636
637 2014-02-12  Ryosuke Niwa  <rniwa@webkit.org>
638
639         One more build fix after r163979.
640
641         * Scripts/webkitpy/port/mac_unittest.py:
642         (test_baseline_search_path):
643
644 2014-02-12  Ryosuke Niwa  <rniwa@webkit.org>
645
646         Add a mac-wk1 platform directory and TestExpectations file
647         https://bugs.webkit.org/show_bug.cgi?id=128676
648
649         Build fix. Put mac-wk1 between mac-mountainlion and mac.
650
651         * Scripts/webkitpy/port/mac.py:
652         (MacPort.default_baseline_search_path):
653         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
654         (TestRebaselineTest.test_baseline_directory):
655
656 2014-02-12  Brady Eidson  <beidson@apple.com>
657
658         Add a mac-wk1 platform directory and TestExpectations file
659         https://bugs.webkit.org/show_bug.cgi?id=128676
660
661         Reviewed by Alexey Proskuryakov.
662
663         * Scripts/webkitpy/port/mac.py:
664         (MacPort.default_baseline_search_path): When running WK1 tests on Mac,
665           make mac-wk1 be the frontmost search path.
666
667 2014-02-11  Oliver Hunt  <oliver@apple.com>
668
669         Make it possible to implement JS builtins in JS
670         https://bugs.webkit.org/show_bug.cgi?id=127887
671
672         Reviewed by Michael Saboff.
673
674         CMake updates
675
676         * DumpRenderTree/CMakeLists.txt:
677         * WebKitTestRunner/CMakeLists.txt:
678         * WinCELauncher/CMakeLists.txt:
679
680 2014-02-11  Filip Pizlo  <fpizlo@apple.com>
681
682         It should be possible to force copy-webkitlibraries-blahblah to copy things regardless of timestamp
683         https://bugs.webkit.org/show_bug.cgi?id=128646
684
685         Reviewed by Mark Rowe.
686
687         * Scripts/copy-webkitlibraries-to-product-directory:
688         (unpackIfNecessary):
689         (dittoHeaders):
690
691 2014-02-11  Brian Burg  <bburg@apple.com>
692
693         Web Replay: upstream replay input code generator and EncodedValue class
694         https://bugs.webkit.org/show_bug.cgi?id=128215
695
696         Reviewed by Joseph Pecoraro.
697
698         Add an executable script to launch the replay input generator tests.
699         Add a test harness for running the code generator tests, mostly taken
700         from the bindings test harness (but simplified).
701
702         * Scripts/run-input-generator-tests: Added.
703         (main):
704         * Scripts/webkitpy/replay/__init__.py: Added.
705         * Scripts/webkitpy/replay/main.py: Added.
706         (InputGeneratorTests):
707         (InputGeneratorTests.__init__):
708         (InputGeneratorTests.generate_from_json):
709         (InputGeneratorTests.write_error_file):
710         (InputGeneratorTests.detect_changes):
711         (InputGeneratorTests.run_tests):
712         (InputGeneratorTests.main):
713
714 2014-02-11  James Craig  <jcraig@apple.com>
715
716         Web Inspector: AX: Accessibility Node Inspection
717         https://bugs.webkit.org/show_bug.cgi?id=127447
718
719         Reviewed by Chris Fleizach.
720
721         Resolving build failure caused by r163891.
722
723         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
724         (WTR::AccessibilityUIElement::computedRoleString):
725
726 2014-02-11  Alex Christensen  <achristensen@webkit.org>
727
728         Fixed pointer truncation on Win64.
729         https://bugs.webkit.org/show_bug.cgi?id=128211
730
731         Reviewed by Brent Fulgham.
732
733         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
734         (AccessibilityController::rootElement):
735         * DumpRenderTree/win/TestRunnerWin.cpp:
736         (TestRunner::setWindowIsKey):
737         Removed all casts from &HWND to OLE_HANDLE*.
738
739 2014-02-11  Samuel White  <samuel_white@apple.com>
740
741         AX: Add text replacement activity support to NSAccessibilitySelectTextWithCriteriaParameterizedAttribute.
742         https://bugs.webkit.org/show_bug.cgi?id=128397
743
744         Reviewed by Chris Fleizach.
745
746         Updated testing methods to accept a replacement string. This enables us to test text
747         replacement support for the AXSelectTextWithCriteria parameterized attribute.
748
749         * DumpRenderTree/AccessibilityUIElement.cpp:
750         (selectTextWithCriteriaCallback):
751         * DumpRenderTree/AccessibilityUIElement.h:
752         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
753         (AccessibilityUIElement::selectTextWithCriteria):
754         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
755         (AccessibilityUIElement::selectTextWithCriteria):
756         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
757         (selectTextParameterizedAttributeForCriteria):
758         (AccessibilityUIElement::selectTextWithCriteria):
759         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
760         (AccessibilityUIElement::selectTextWithCriteria):
761         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
762         (WTR::AccessibilityUIElement::selectTextWithCriteria):
763         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
764         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
765         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
766         (WTR::AccessibilityUIElement::selectTextWithCriteria):
767         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
768         (WTR::AccessibilityUIElement::selectTextWithCriteria):
769         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
770         (WTR::selectTextParameterizedAttributeForCriteria):
771         (WTR::AccessibilityUIElement::selectTextWithCriteria):
772
773 2014-02-11  David Kilzer  <ddkilzer@apple.com>
774
775         [ASan] Fix build failures in Tools due to missing $(inherited) values
776         <http://webkit.org/b/128485>
777
778         Reviewed by Dean Jackson.
779
780         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
781         - Move $(inherited) from OTHER_LDFLAGS_macosx to OTHER_LDFLAGS.
782
783         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
784         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig:
785         - Add $(inherited) to OTHER_LDFLAGS.
786
787         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
788         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
789         - Add $(inherited) to OTHER_LDFLAGS, or move from
790           OTHER_LDFLAGS_BASE to OTHER_LDFLAGS.
791         - Extract $(OTHER_LDFLAGS_BASE) from platform-specific settings
792           into OTHER_LDFLAGS.
793
794 2014-02-11  James Craig  <jcraig@apple.com>
795
796         Web Inspector: AX: Accessibility Node Inspection
797         https://bugs.webkit.org/show_bug.cgi?id=127447
798
799         Reviewed by Timothy Hatcher.
800
801         New computedRoleString interfaces in DumpRenderTree/WebKitTestRunner
802         to support LayoutTest coverage of AccessibilityObject::computedRoleString()
803
804         * DumpRenderTree/AccessibilityUIElement.cpp:
805         * DumpRenderTree/AccessibilityUIElement.h:
806         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
807         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
808         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
809         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
810         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
811         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
812         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
813         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
814         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
815
816 2014-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
817
818         Unreviewed. Fix /webkit2/WebKitWebExtension/isolated-world after r163797.
819
820         Use a global variable for the script result.
821
822         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
823         (scriptDialogCallback):
824         (testWebExtensionIsolatedWorld):
825
826 2014-02-10  Filip Pizlo  <fpizlo@apple.com>
827
828         Make it possible to run tests with --llvmSimpleOpt=false
829         https://bugs.webkit.org/show_bug.cgi?id=128571
830
831         Reviewed by Mark Lam.
832         
833         This also makes it so all run functions for the FTL are safe to call with FTL disabled,
834         because they do their own $enableFTL check.
835
836         * Scripts/run-jsc-stress-tests:
837
838 2014-02-10  Gavin Barraclough  <barraclough@apple.com>
839
840         Remove WKPageSetVisibilityState
841         https://bugs.webkit.org/show_bug.cgi?id=128551
842
843         Reviewed by Anders Carlsson.
844
845         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
846         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
847         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
848             - visibilityState of offs-creen WKView is automatically prerender.
849         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
850         (WTR::InjectedBundle::setHidden):
851         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
852         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
853         (WTR::TestRunner::setPageVisibility):
854         (WTR::TestRunner::resetPageVisibility):
855         * WebKitTestRunner/TestController.cpp:
856         * WebKitTestRunner/TestController.h:
857         * WebKitTestRunner/TestInvocation.cpp:
858         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
859             - removed calls to WKPageSetVisibilityState.
860
861 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
862
863         [GLIB] Add GUniqueOutPtr and use it instead of GOwnPtr
864         https://bugs.webkit.org/show_bug.cgi?id=127554
865
866         Reviewed by Gustavo Noronha Silva.
867
868         Use GUniqueOutPtr instead of GOwnPtr.
869
870         * DumpRenderTree/gtk/DumpRenderTree.cpp:
871         * DumpRenderTree/gtk/EventSender.cpp:
872         (createKeyPressEvent):
873         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp:
874         (TestWebKitAPI::returnOutChar):
875         (TestWebKitAPI::TEST):
876         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
877         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
878         (testInspectorServerPageList):
879         (openRemoteDebuggingSession):
880         (sendIncompleteRequest):
881         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
882         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
883         (testWebExtensionWindowObjectCleared):
884         (testWebExtensionIsolatedWorld):
885         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
886         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
887         (testWebViewRunJavaScript):
888         (testWebViewSave):
889         (testWebViewPageVisibility):
890         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
891         (isStyleSheetInjectedForURLAtPath):
892         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
893         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
894         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
895         * TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp:
896         (TestWebKitAPI::TestInputMethodFilter::sendKeyEventToFilter):
897         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
898         (TestWebKitAPI::doKeyStroke):
899         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
900         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
901         (WebKitTestBus::run):
902         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
903         (resourceGetDataCallback):
904         (WebViewTest::keyStroke):
905         (onSnapshotReady):
906         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
907         (WTR::EventSenderProxy::keyDown):
908
909 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
910
911         [GTK] Add API to create a webview related to another one
912         https://bugs.webkit.org/show_bug.cgi?id=128498
913
914         Reviewed by Gustavo Noronha Silva.
915
916         * MiniBrowser/gtk/BrowserWindow.c:
917         (webViewCreate): Use webkit_web_view_new_with_related_view() when
918         creating a new web view for window.open().
919         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
920         (testMultiprocessWebViewCreateReadyClose): Add test case to check
921         that window.open() works when creating the new WebView related to
922         the existing one, and that no new web process is spawned when
923         using webkit_web_view_new_with_related_view().
924         (beforeAll):
925
926 2014-02-10  Eva Balazsfalvi  <balazsfalvi.eva@stud.u-szeged.hu>
927
928         If not running on Mac, build-webkit should not print Safari related output
929         https://bugs.webkit.org/show_bug.cgi?id=127169
930
931         Reviewed by Darin Adler.
932
933         * Scripts/build-webkit:
934         (writeCongrats):
935         * Scripts/webkitdirs.pm:
936         (isAppleWebKit):
937         (isAppleMacWebKit):
938         (isAppleWinWebKit):
939         (launcherName):
940
941 2014-02-10  Diego Pino Garcia  <dpino@igalia.com>
942
943         [GTK] Minibrowser: During text search, make navigation through list of matched words circular
944         https://bugs.webkit.org/show_bug.cgi?id=128463
945
946         Reviewed by Carlos Garcia Campos.
947
948         Initialize search options to WEBKIT_FIND_OPTIONS_WRAP_AROUND to make navigation
949         circular.
950
951         * MiniBrowser/gtk/BrowserSearchBar.c:
952         (doSearch):
953
954 2014-02-10  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
955
956         Code cleanup: Remove BUILDING_ON / TARGETING definitions.
957         https://bugs.webkit.org/show_bug.cgi?id=128242
958
959         Reviewed by Brent Fulgham.
960
961         The BUILDING_ON_* and TARGETING_* macros have not been used for a while.
962         According to the FIXME: they are removed.
963
964         * DumpRenderTree/config.h:
965
966 2014-02-10  Zan Dobersek  <zdobersek@igalia.com>
967
968         Fix a few mistakes that landed with r163749.
969
970         Rubber-stamped by Carlos Garcia Campos.
971
972         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
973         (WTR::EventSenderProxy::addTouchPoint): Avoid using the GUniquePtr<GdkEvent> after it's been moved
974         into the event vector since moving it invalidates the variable.
975
976 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
977
978         [GTK] Fix modifiers on EventSenderProxy::keyDown
979         https://bugs.webkit.org/show_bug.cgi?id=128496
980
981         Reviewed by Carlos Garcia Campos.
982
983         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
984         (WTR::EventSenderProxy::keyDown): do not attempt to doubly transform modifiers
985         into GTK+ ones.
986
987 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
988
989         [GTK] Enable touch features
990         https://bugs.webkit.org/show_bug.cgi?id=98931
991
992         Reviewed by Carlos Garcia Campos.
993
994         * WebKitTestRunner/EventSenderProxy.h:
995         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
996         (WTR::updateEventCoordinates):
997         (WTR::EventSenderProxy::createTouchEvent):
998         (WTR::EventSenderProxy::addTouchPoint):
999         (WTR::EventSenderProxy::updateTouchPoint):
1000         (WTR::EventSenderProxy::sendUpdatedTouchEvents):
1001         (WTR::EventSenderProxy::setTouchPointRadius):
1002         (WTR::EventSenderProxy::setTouchModifier): Implement touch event proxying.
1003
1004 2014-02-08  Andreas Kling  <akling@apple.com>
1005
1006         Let Instruments time profiler run until tests finish.
1007         <https://webkit.org/b/128488>
1008
1009         Pass "-T 0" to iprofiler to ensure that we get a time profile of the
1010         entire performance test run instead of just the first 10 seconds.
1011
1012         Reviewed by Brady Eidson.
1013
1014         * Scripts/webkitpy/common/system/profiler.py:
1015         (IProfiler.attach_to_pid):
1016
1017 2014-02-08  Rajaram Gaunker  <zimbabao@gmail.com>
1018
1019         [GTK] Add stdlib include file to fix ImageDiff build with libc++
1020         https://bugs.webkit.org/show_bug.cgi?id=128454
1021
1022         Reviewed by Darin Adler.
1023
1024         * ImageDiff/gtk/ImageDiff.cpp:
1025
1026 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
1027
1028         [GTK] Minibrowser: Matched words of a searched text are not highlighted after reopening search bar
1029         https://bugs.webkit.org/show_bug.cgi?id=128380
1030
1031         Reviewed by Carlos Garcia Campos.
1032
1033         When open the search bar, perform last search if there is any.
1034
1035         * MiniBrowser/gtk/BrowserSearchBar.c:
1036         (browser_search_bar_open):
1037
1038 2014-02-08  Adrian Perez de Castro  <aperez@igalia.com>
1039
1040         [GTK] Make process model names properly meaningful
1041         https://bugs.webkit.org/show_bug.cgi?id=128389
1042
1043         Reviewed by Carlos Garcia Campos.
1044
1045         The name WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
1046         is misleading because there are situations in which web views may
1047         share the same web process even when multi-process mode is enabled;
1048         for example when opening a related view and both interact using JS.
1049
1050         * MiniBrowser/gtk/main.c:
1051         (main):
1052         Update usage of WebKitProcessModel enum values.
1053         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
1054         (beforeAll):
1055         Ditto.
1056
1057 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
1058
1059         [GTK] build-webkit script always generate-gtk-doc even if '--disable-gtk-doc' param is passed
1060         https://bugs.webkit.org/show_bug.cgi?id=128376
1061
1062         Reviewed by Carlos Garcia Campos.
1063
1064         * Scripts/webkitdirs.pm:
1065         (buildAutotoolsProject):
1066
1067 2014-02-06  Filip Pizlo  <fpizlo@apple.com>
1068
1069         More FTL build scaffolding
1070         https://bugs.webkit.org/show_bug.cgi?id=128330
1071
1072         Reviewed by Geoffrey Garen.
1073
1074         * Scripts/copy-webkitlibraries-to-product-directory:
1075
1076 2014-02-07  Tim Horton  <timothy_horton@apple.com>
1077
1078         Touch Minibrowser for a hopeful build fix.
1079
1080         * MiniBrowser/mac/WK2BrowserWindowController.m:
1081
1082 2014-02-07  Krzysztof Czech  <k.czech@samsung.com>
1083
1084         Build fix after r163632
1085
1086         Unreviewed EFL build fix
1087
1088         Added empty stub to WKTR to not break EFL build.
1089
1090         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1091         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1092
1093 2014-02-07  Samuel White  <samuel_white@apple.com>
1094
1095         AX: Find and select text with respect to insertion point using accessibility API.
1096         https://bugs.webkit.org/show_bug.cgi?id=128026
1097
1098         Reviewed by Chris Fleizach.
1099
1100         Added method to AccessibilityUIElement to enable testing of accessibility text selection.
1101
1102         * DumpRenderTree/AccessibilityUIElement.cpp:
1103         (selectTextWithCriteriaCallback):
1104         (AccessibilityUIElement::getJSClass):
1105         * DumpRenderTree/AccessibilityUIElement.h:
1106         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1107         (AccessibilityUIElement::selectTextWithCriteria):
1108         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1109         (AccessibilityUIElement::selectTextWithCriteria):
1110         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1111         (selectTextParameterizedAttributeForCriteria):
1112         (AccessibilityUIElement::selectTextWithCriteria):
1113         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1114         (AccessibilityUIElement::selectTextWithCriteria):
1115         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1116         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1117         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1118         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1119         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1120         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
1121         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
1122         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1123         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1124         (WTR::selectTextParameterizedAttributeForCriteria):
1125         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1126
1127 2014-02-07  Manuel Rego Casasnovas  <rego@igalia.com>
1128
1129         [GTK] Disable gtk-doc in EWS
1130         https://bugs.webkit.org/show_bug.cgi?id=128370
1131
1132         Reviewed by Carlos Garcia Campos.
1133
1134         Disable gtk-doc generation in EWS due to http://webkit.org/b/128369.
1135
1136         * Scripts/webkitpy/common/config/ports.py:
1137         (GtkPort.build_webkit_command): Add --disable-gtk-doc arg.
1138         (GtkWK2Port.build_webkit_command): Ditto.
1139         * Scripts/webkitpy/common/config/ports_unittest.py:
1140         (DeprecatedPortTest.test_gtk_port): Ditto.
1141         (DeprecatedPortTest.test_gtk_wk2_port): Ditto.
1142
1143 2014-02-07  Jinwoo Song  <jinwoo7.song@samsung.com>
1144
1145         [EFL][WK2] WebView should be able to configure to set fixed layout
1146         https://bugs.webkit.org/show_bug.cgi?id=128300
1147
1148         Reviewed by Gyuyoung Kim.
1149
1150         * MiniBrowser/efl/main.c:
1151         (window_create):
1152         (elm_main): Add command argument option to use fixed layout.
1153
1154 2014-02-06  Ryosuke Niwa  <rniwa@webkit.org>
1155
1156         Fix DoYouEvenBench after r163429.
1157
1158         * Scripts/webkitpy/performance_tests/perftest.py:
1159
1160 2014-02-06  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
1161
1162         Add support for multiple sources for AutoInstaller
1163         https://bugs.webkit.org/show_bug.cgi?id=124848
1164
1165         Reviewed by Ryosuke Niwa.
1166
1167         The autoinstaller in the webkitpy currently fails if the download source of a package is unavailable.
1168         This patch adds support for multiple sources to the script. The sources are provided in three environment variables.
1169         If it exists, the script will look at a local cache. If not, it will try to download the package from the original url.
1170         If it fails, it gets a mirror from the corresponding environment variable.(One for sourceforge.org and one for pypi.python.org)
1171
1172         * Scripts/webkitpy/common/system/autoinstall.py:
1173         (AutoInstaller._copy_unpackaged_files_from_local_cache):  If the package is not packaged in its original form,
1174         this method will copy it to the scratch directory. Otherwise it would be deleted from the cache, which we do not want.
1175         (AutoInstaller._prepare_package): If the package is not zipped or tarred, and the file is in the cache, the
1176         _copy_unpackaged_files_from_local_cache function is called.
1177         (AutoInstaller._parse_colon_separated_mirrors_from_env): This will read the mirrors from the environment variables if possible,
1178         and prepares them for further use.
1179         (AutoInstaller):
1180         (AutoInstaller._replace_domain_with_next_mirror): If the original download url fails, it is replaced by a mirror provided
1181         in the environment variables. The function identifies the original source, and replaces it with a mirror. If it can't be done,
1182         the return url will be None, indicating that no mirrors are provided, or none of them could be reached.
1183         (AutoInstaller._download_to_stream): The timeout for one try is now limited to 30 seconds. Without this, the script waited for
1184         roughly 4 minutes before retrying. After three failiures the script will try to switch to a mirror.
1185         (AutoInstaller._check_package_in_local_autoinstall_cache): This method searches the cache for the currently downloaded module.
1186         If it's found there, its path is returned.
1187         (AutoInstaller._download):  Before downloading the module, it is looked up in the cache. If it's not found there,
1188         the script will continue with the download, and cache the module.
1189
1190 2014-02-06  Benjamin Poulain  <benjamin@webkit.org>
1191
1192         Remove run-test-webkit-api
1193         https://bugs.webkit.org/show_bug.cgi?id=118145
1194
1195         Reviewed by Csaba Osztrogonác.
1196
1197         Having two scripts doing the same thing is confusing. There are also cases failing
1198         on run-test-webkit-api since it does not restart a new process for each test.
1199
1200         * Scripts/run-test-webkit-api: Removed.
1201         * Scripts/webkitdirs.pm:
1202
1203 2014-02-06  Commit Queue  <commit-queue@webkit.org>
1204
1205         Unreviewed, rolling out r163530.
1206         http://trac.webkit.org/changeset/163530
1207         https://bugs.webkit.org/show_bug.cgi?id=128311
1208
1209         It broke run-gtk-tests (Requested by Ossy on #webkit).
1210
1211         * efl/common.py: Copied from Tools/gtk/jhbuildrc.
1212         (script_path):
1213         (top_level_path):
1214         * efl/jhbuildrc:
1215         * gtk/common.py:
1216         (script_path):
1217         (top_level_path):
1218         * gtk/find-make-dist-errors:
1219         (get_missing_headers):
1220         * gtk/generate-gtkdoc:
1221         (get_webkit2_options):
1222         (get_webkit1_options.src_path):
1223         (get_webkit1_options):
1224         (get_webkitdom_options.src_path):
1225         (get_webkitdom_options):
1226         * gtk/generate-inspector-gresource-manifest.py:
1227         * gtk/jhbuildrc:
1228         * jhbuild/jhbuildrc_common.py: Removed.
1229         * nix/common.py: Copied from Tools/nix/jhbuildrc.
1230         (script_path):
1231         (top_level_path):
1232         * nix/jhbuildrc:
1233
1234 2014-02-06  Denis Nomiyama  <d.nomiyama@samsung.com>
1235
1236         Unreviewed. Add myself as a committer.
1237
1238         * Scripts/webkitpy/common/config/contributors.json:
1239
1240 2014-02-06  Peter Szanka  <h868064@stud.u-szeged.hu>
1241
1242         Extract common parts from jhbuildrc files.
1243         https://bugs.webkit.org/show_bug.cgi?id=125986
1244
1245         Reviewed by Csaba Osztrogonác.
1246
1247         * efl/common.py: Removed.
1248         * efl/jhbuildrc:
1249         * gtk/common.py:
1250         (binary_build_path):
1251         * gtk/find-make-dist-errors:
1252         (get_missing_headers):
1253         * gtk/generate-gtkdoc:
1254         (get_webkit2_options):
1255         (get_webkit1_options.src_path):
1256         (get_webkit1_options):
1257         (get_webkitdom_options.src_path):
1258         (get_webkitdom_options):
1259         * gtk/generate-inspector-gresource-manifest.py:
1260         * gtk/jhbuildrc:
1261         * jhbuild/jhbuildrc_common.py: Added.
1262         (script_path):
1263         (top_level_path):
1264         (init):
1265         * nix/common.py: Removed.
1266         * nix/jhbuildrc:
1267
1268 2014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
1269
1270         Unreviewed fix after r163520, remove Andrei from committers list, because
1271         he is reviewer now, and webkit-patch doesn't like duplicated entries.
1272
1273         * Scripts/webkitpy/common/config/contributors.json:
1274
1275 2014-02-06  Andrei Bucur  <abucur@adobe.com>
1276
1277         Adding myself as a reviewer.
1278
1279         Unreviewed.
1280
1281         * Scripts/webkitpy/common/config/contributors.json:
1282
1283 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
1284
1285         Remove the WTF_COMPILER_SUPPORTS_CXX_GENERALIZED_INITIALIZERS macro
1286         https://bugs.webkit.org/show_bug.cgi?id=128267
1287
1288         Reviewed by Andreas Kling.
1289
1290         Remove the COMPILER_SUPPORTS(CXX_GENERALIZED_INITIALIZERS) as the underlying macro is also
1291         being removed since the feature is supported by all the compilers the project approves.
1292
1293         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1294         (TestWebKitAPI::TEST):
1295         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1296         (TestWebKitAPI::TEST):
1297
1298 2014-02-05  Jinwoo Song  <jinwoo7.song@samsung.com>
1299
1300         [EFL][WK2] Remove legacy behavior mode in MiniBrowser
1301         https://bugs.webkit.org/show_bug.cgi?id=128298
1302
1303         Reviewed by Gyuyoung Kim.
1304
1305         MiniBrowser is crashing when the legacy mode is set in creating webview.
1306         As EFL application cannot use this API for creating webview after r146265,
1307         it would be better to remove this invalid option.
1308
1309         * MiniBrowser/efl/main.c:
1310         (window_create): Do not create webview with WKViewCreate API.
1311         (elm_main): Remove 'legacy' option.
1312
1313 2014-02-05  Andreas Kling  <akling@apple.com>
1314
1315         Remove ENABLE(DIRECTORY_UPLOAD).
1316         <https://webkit.org/b/128275>
1317
1318         Rubber-stamped by Ryosuke Niwa.
1319
1320         * Scripts/webkitperl/FeatureList.pm:
1321
1322 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
1323
1324         Rename useExperimentalFTL to useFTLJIT.
1325
1326         Rubber stamped by Mark Hahnenberg.
1327
1328         * Scripts/run-jsc-stress-tests:
1329
1330 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
1331
1332         JSC on Mac should pull LLVM from prefix=/usr/local/LLVMForJavaScriptCore and not /usr/local
1333         https://bugs.webkit.org/show_bug.cgi?id=128269
1334
1335         Reviewed by Mark Hahnenberg.
1336
1337         * Scripts/copy-webkitlibraries-to-product-directory:
1338
1339 2014-02-05  Manuel Rego Casasnovas  <rego@igalia.com>
1340
1341         Create CSS Grid Layout watchlist
1342         https://bugs.webkit.org/show_bug.cgi?id=128241
1343
1344         Reviewed by Andreas Kling.
1345
1346         Add Sergio Villar, Javier Fernandez and myself to it.
1347
1348         Add Javier Fernandez as contributor.
1349
1350         * Scripts/webkitpy/common/config/contributors.json:
1351         * Scripts/webkitpy/common/config/watchlist:
1352
1353 2014-02-05  Alexey Proskuryakov  <ap@apple.com>
1354
1355         Copying failing test paths from build.webkit.org/dashboard popovers also copies non-selectable links
1356         https://bugs.webkit.org/show_bug.cgi?id=128236
1357
1358         Reviewed by Timothy Hatcher.
1359
1360         Work around bug 80159 - copying should always respect user-select:none, but it doesn't yet.
1361
1362         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1363         When copying, temporarily make non-selectable parts invisible, and put text of
1364         the selection onto pasteboard. Since we immediately make everything visible again,
1365         there is even no blinking.
1366
1367 2014-02-05  Nick Diego Yamane  <nick.yamane@openbossa.org>
1368
1369         Unreviewed. Add myself to contributors.json
1370
1371         * Scripts/webkitpy/common/config/contributors.json:
1372
1373 2014-02-05  Sergio Correia  <sergio.correia@openbossa.org>
1374
1375         Unreviewed. Add myself to contributor and watch lists
1376
1377         * Scripts/webkitpy/common/config/contributors.json:
1378         * Scripts/webkitpy/common/config/watchlist:
1379
1380 2014-02-05  Alberto Garcia  <berto@igalia.com>
1381
1382         Unreviewed. Add myself to some watchlists.
1383
1384         * Scripts/webkitpy/common/config/watchlist:
1385
1386 2014-02-05  Gabor Rapcsanyi  <rgabor@webkit.org>
1387
1388         Fix WaitForSVNServer build step after r163372.
1389
1390         Rubber-stamped by Csaba Osztrogonác.
1391
1392         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1393         (WaitForSVNServer.evaluateCommand): add missing return SUCCESS
1394
1395 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
1396
1397         Remove ENABLE(SVG) guards
1398         https://bugs.webkit.org/show_bug.cgi?id=127991
1399
1400         Reviewed by Sam Weinig.
1401
1402         * Scripts/webkitperl/FeatureList.pm:
1403         * TestWebKitAPI/GNUmakefile.am:
1404
1405 2014-02-04  Andreas Kling  <akling@apple.com>
1406
1407         Remove <iframe seamless> support.
1408         <https://webkit.org/b/128213>
1409
1410         Rubber-stamped by Antti Koivisto.
1411
1412         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1413         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1414         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1415         (resetDefaultsToConsistentValues):
1416         * DumpRenderTree/mac/DumpRenderTree.mm:
1417         (resetWebPreferencesToConsistentValues):
1418         * DumpRenderTree/win/DumpRenderTree.cpp:
1419         (resetDefaultsToConsistentValues):
1420         * Scripts/webkitperl/FeatureList.pm:
1421         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1422         (WTR::InjectedBundle::beginTesting):
1423
1424 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1425
1426         Fix build when the script is called from Xcode.
1427
1428         * Scripts/copy-webkitlibraries-to-product-directory:
1429
1430 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1431
1432         DFG PutByVal on typed arrays should detect OutOfBounds sooner
1433         https://bugs.webkit.org/show_bug.cgi?id=128162
1434
1435         Reviewed by Mark Hahnenberg.
1436         
1437         Add a defautNoEagerRun, which is intended to be used for convergence tests.
1438
1439         * Scripts/run-jsc-stress-tests:
1440
1441 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1442
1443         export-llvm-build should work with git checkouts
1444         https://bugs.webkit.org/show_bug.cgi?id=128217
1445
1446         Reviewed by Mark Hahnenberg.
1447         
1448         If svn export fails, just do ditto.
1449
1450         * Scripts/export-llvm-build:
1451
1452 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
1453
1454         [Automake] Add missing $(feature_defines) when generating InjectedBundle bindings
1455         https://bugs.webkit.org/show_bug.cgi?id=128170
1456
1457         Reviewed by Carlos Garcia Campos.
1458
1459         * WebKitTestRunner/GNUmakefile.am: Add missing $(feature_defines) when
1460         generating the InjectedBundle bindings. So the various ENABLE_* defines
1461         are available there.
1462
1463 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
1464
1465         [GTK] Ensure generated events have given modifiers GDK understands
1466         https://bugs.webkit.org/show_bug.cgi?id=128171
1467
1468         Reviewed by Carlos Garcia Campos.
1469
1470         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
1471         (WTR::webkitModifiersToGDKModifiers): Move around
1472         (WTR::EventSenderProxy::createMouseButtonEvent):
1473         (WTR::EventSenderProxy::keyDown): Use webkitModifiersToGDKModifiers to
1474         translate WKEventModifiers.
1475
1476 2014-02-04  Gabor Rapcsanyi  <rgabor@webkit.org>
1477
1478         Fine tuning the ARM EFL bots
1479         https://bugs.webkit.org/show_bug.cgi?id=128168
1480
1481         Reviewed by Csaba Osztrogonác.
1482
1483         * BuildSlaveSupport/build.webkit.org-config/config.json: Add custom SVN mirror.
1484         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1485         (WaitForSVNServer): Make it not to halt before the first repository checkout.
1486         (WaitForSVNServer.evaluateCommand):
1487         (Factory.__init__): Disable kill-old-processes step on EFL ARM bots, because these
1488         bots run on the same machine and they kill the processes of each other.
1489
1490 2014-02-03  Ryosuke Niwa  <rniwa@webkit.org>
1491
1492         kill-old-processes doesn't kill plugin processes
1493         https://bugs.webkit.org/show_bug.cgi?id=128138
1494
1495         Reviewed by Andreas Kling.
1496
1497         Add plugin process names to the list of processes to kill.
1498
1499         * BuildSlaveSupport/kill-old-processes:
1500         (main):
1501
1502 2014-02-03  Dean Jackson  <dino@apple.com>
1503
1504         Feature flag for shape-inside
1505         https://bugs.webkit.org/show_bug.cgi?id=128001
1506
1507         Reviewed by Simon Fraser.
1508
1509         Add CSS_SHAPE_INSIDE flag, and -css-shape-inside build
1510         flag.
1511
1512         * Scripts/webkitperl/FeatureList.pm:
1513
1514 2014-02-03  Zoltan Horvath  <zoltan@webkit.org>
1515
1516         Unreviewed. Reorder my e-mail addresses in contributors.json,
1517         so bugzilla will auto complete my actual bugzilla username.
1518
1519         * Scripts/webkitpy/common/config/contributors.json:
1520
1521 2014-02-03  Daniel Bates  <dabates@apple.com>
1522
1523         WebKit Bot Watcher's Dashboard: Defer subsequent resource loads from access-restricted build bot when
1524         iteration fails to load with HTTP 401 status code
1525         https://bugs.webkit.org/show_bug.cgi?id=128077
1526
1527         Reviewed by Alexey Proskuryakov.
1528
1529         Similar to the fix for <https://bugs.webkit.org/show_bug.cgi?id=127849>, we should only prompt for
1530         the HTTP credentials of a build bot so long as an earlier authentication request wasn't cancelled
1531         (i.e. failed with an HTTP 401 Unauthorized status code). Currently an authentication dialog will be
1532         presented for an iteration each time the update queue timer fires until a person successfully
1533         authenticates. Instead we should update the authentication status of the build bot on receiving an
1534         HTTP 401 response code such that we defer subsequent requests to load any resource from the access-
1535         restricted build bot when the queue update timer fires.
1536
1537         A person must explicitly click the "unauthorized" status line shown for the queue associated with the
1538         iteration in the dashboard and authenticate successfully for the iteration to be loaded once an
1539         authentication request for an iteration is cancelled.
1540
1541         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1542         (BuildbotIteration.prototype.update): Early return if the associated Buildbot was given invalid credentials.
1543         Also notify the associated Buildbot and update the queue view when a load failed with an HTTP 401 status code.
1544         (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
1545         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1546         (BuildbotQueueView): Modified to call BuildbotQueueView.prototype._unauthorizedAccess instead of
1547         QueueView.prototype._updateSoon when event BuildbotQueue.Event.UnauthorizedAccess is received.
1548         (BuildbotQueueView.prototype._unauthorizedAccess): Added.
1549
1550 2014-02-03  Daniel Bates  <dabates@apple.com>
1551
1552         WebKit Bot Watcher's Dashboard: Teach JSON.load() to interpret third argument as either an
1553         option dictionary or a failure callback
1554         https://bugs.webkit.org/show_bug.cgi?id=128080
1555
1556         Reviewed by Alexey Proskuryakov.
1557
1558         Currently JSON.load() takes a failure callback function as its third argument and
1559         an option dictionary as its fourth argument. So, a caller that wants to ignore errors
1560         and pass an option dictionary must pass null or a reference to an empty function for
1561         the value of third argument. Instead, we should make the third argument polymorphic for
1562         convenience. Then a caller can either pass a failure callback function or an option dictionary.
1563
1564         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1565
1566 2014-02-03  Krzysztof Czech  <k.czech@samsung.com>
1567
1568         [ATK] Expose aria-controls through ATK_RELATION_CONTROLLER_FOR
1569         https://bugs.webkit.org/show_bug.cgi?id=127908
1570
1571         Reviewed by Chris Fleizach.
1572
1573         Updated AccessibilityUIElement both in WKTR and DRT so that aria-controls support could be tested properly.
1574         Added empty stubs to not break mac builds.
1575
1576         * DumpRenderTree/AccessibilityUIElement.cpp:
1577         (ariaControlsElementAtIndexCallback):
1578         (AccessibilityUIElement::getJSClass):
1579         * DumpRenderTree/AccessibilityUIElement.h:
1580         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1581         (accessibilityElementAtIndex):
1582         (AccessibilityUIElement::disclosedRowAtIndex):
1583         (AccessibilityUIElement::ariaOwnsElementAtIndex):
1584         (AccessibilityUIElement::ariaFlowToElementAtIndex):
1585         (AccessibilityUIElement::ariaControlsElementAtIndex):
1586         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1587         (AccessibilityUIElement::ariaControlsElementAtIndex):
1588         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1589         (AccessibilityUIElement::ariaControlsElementAtIndex):
1590         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1591         (AccessibilityUIElement::ariaControlsElementAtIndex):
1592         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1593         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1594         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1595         (WTR::accessibilityElementAtIndex):
1596         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
1597         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
1598         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
1599         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1600         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1601         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1602         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1603         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1604
1605 2014-02-02  Daniel Bates  <dabates@apple.com>
1606
1607         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
1608         https://bugs.webkit.org/show_bug.cgi?id=127849
1609
1610         I inadvertently used the equality operator instead of the identity operator when comparing the
1611         value of the error HTTP status code with the numeric literal 401.
1612
1613         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1614         (BuildbotQueue.prototype.update):
1615
1616 2014-02-02  Daniel Bates  <dabates@apple.com>
1617
1618         Attempt to fix production dashboard after <http://trac.webkit.org/changeset/163222>
1619
1620         Actually pass option dictionary to JSON.load(); JSON.load() takes four arguments with the
1621         last-most argument being the option dictionary.
1622
1623         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1624         (BuildbotIteration.prototype.update):
1625
1626 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
1627
1628         JSC profiler's stub info profiling support should work again
1629         https://bugs.webkit.org/show_bug.cgi?id=128057
1630
1631         Reviewed by Mark Lam.
1632
1633         * Scripts/display-profiler-output: Just make sure that there's always a space between the origin stack dump and the top bytecode index.
1634
1635 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
1636
1637         JSC profiler should show reasons for jettison
1638         https://bugs.webkit.org/show_bug.cgi?id=128047
1639
1640         Reviewed by Geoffrey Garen.
1641         
1642         Gave the tool a "log" command, that tells you all of the interesting things
1643         that happened to a piece of bytecode, from the standpoint of optimization.
1644         It's a great summary view for seeing how our tier-up machinery works.
1645         
1646         This uses a lot of information that was already available, plus the newly
1647         added jettisonReason field.
1648
1649         * Scripts/display-profiler-output:
1650
1651 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1652
1653         Remove inline member functions of FrameSelection that access m_selection
1654         https://bugs.webkit.org/show_bug.cgi?id=127986
1655
1656         Reviewed by Enrica Casucci.
1657
1658         * TestWebKitAPI/Configurations/Base.xcconfig:
1659
1660 2014-01-31  Anders Carlsson  <andersca@apple.com>
1661
1662         Another attempt at fixing the build.
1663
1664         * TestWebKitAPI/Configurations/Base.xcconfig:
1665
1666 2014-01-31  Oliver Hunt  <oliver@apple.com>
1667
1668         Rollout r163195 and related patches
1669
1670         * DumpRenderTree/CMakeLists.txt:
1671         * WebKitTestRunner/CMakeLists.txt:
1672         * WinCELauncher/CMakeLists.txt:
1673
1674 2014-01-31  Daniel Bates  <dabates@apple.com>
1675
1676         Attempt to fix Production Dashboard after <http://trac.webkit.org/changeset/163213>
1677         (https://bugs.webkit.org/show_bug.cgi?id=127849)
1678
1679         Reviewed by David Farler.
1680
1681         Pass credentials when querying build bot iteration. 
1682
1683         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1684         (BuildbotIteration.prototype.update):
1685         (BuildbotIteration.prototype.loadLayoutTestResults):
1686
1687 2014-01-31  Anders Carlsson  <andersca@apple.com>
1688
1689         Fix iOS build.
1690
1691         * TestWebKitAPI/Configurations/Base.xcconfig:
1692
1693 2014-01-31  Simon Fraser  <simon.fraser@apple.com>
1694
1695         WebKitTestRunner project doesn't show Mac as a valid destination architecture.
1696         
1697         Make sure that SUPPORTED_PLATFORMS is defined in Base.xcconfig.
1698         
1699         Also add BaseTarget.xcconfig to the project.
1700
1701         * WebKitTestRunner/Configurations/Base.xcconfig:
1702         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1703
1704 2014-01-31  Daniel Bates  <dabates@apple.com>
1705
1706         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
1707         https://bugs.webkit.org/show_bug.cgi?id=127849
1708
1709         Reviewed by Alexey Proskuryakov.
1710
1711         Currently whenever the dashboard updates the status of a queue whose Buildbot requires authentication
1712         it will cause a browser to prompt for credentials once per update until valid credentials are provided.
1713         Instead we should keep track of Buildbots that respond with an HTTP 401 Unauthorized status code to avoid
1714         subsequently querying them and hence cause a browser to prompt for credentials. Together with an optional
1715         hint provided when instantiating a Buildbot object as to whether it requires authentication, we can make
1716         the dashboard prompt for HTTP credentials exactly once per page load for each queue whose associated
1717         Buildbot requires authentication.
1718
1719         Queues whose Buildbot wasn't authenticated will show in the dashboard as "unauthorized". Clicking on
1720         this status message will cause the browser to prompt for credentials.
1721
1722         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
1723         (Buildbot): Initialize instance variable authenticationStatus to Buildbot.AuthenticationStatus.Unauthenticated.
1724         (Buildbot.prototype.get needsAuthentication): Added.
1725         (Buildbot.prototype.get authenticationStatus): Added.
1726         (Buildbot.prototype.get isAuthenticated): Added.
1727         (Buildbot.prototype.set isAuthenticated): Added.
1728         (Buildbot.prototype.updateQueues): Added.
1729         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1730         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus): Modified to call
1731         BuildbotQueueView.prototype._appendUnauthorizedLineView() to update the view and show status of the queue as
1732         "unauthorized" if the Buildbot associated with the queue is either unauthenticated or was given invalid credentials.
1733         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1734         (BuildbotQueue.prototype.update): Return immediately if the associated Buildbot requires authentication.
1735         Additionally, if the JSON load fails with an HTTP 401 Unauthorized access error (say, credentials were
1736         invalidated) then update the authentication status of the Buildbot to avoid subsequently prompting a
1737         person for credentials the next time the queue update timer fires.
1738         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1739         (BuildbotQueueView): Register as a listener for event BuildbotQueue.Event.UnauthorizedAccess on each queue
1740         so that the view can be updated to show status "unauthorized".
1741         (BuildbotQueueView.prototype._appendUnauthorizedLineView): Added.
1742         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1743         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1744         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/StatusLineView.js: Added new status, StatusLineView.Status.Unauthorized.
1745         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
1746         (.status-line.unauthorized .bubble): Added.
1747         (.status-line.unauthorized .bubble.pictogram): Added.
1748         (.status-line.unauthorized .message): Added.
1749
1750 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1751
1752         Unreviewed, really make --copy-libraries a no-able option.
1753         
1754         * Scripts/build-jsc:
1755
1756 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1757
1758         Unreviewed, really add the --copy-libraries option.
1759
1760         * Scripts/build-jsc:
1761
1762 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1763
1764         Unreviewed, fix the script for older Rubies.
1765
1766         * Scripts/export-llvm-build:
1767
1768 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1769
1770         Having a custom LLVM checkout should always override all other ways of getting LLVM
1771         https://bugs.webkit.org/show_bug.cgi?id=128015
1772
1773         Reviewed by Oliver Hunt.
1774
1775         * Scripts/copy-webkitlibraries-to-product-directory:
1776
1777 2014-01-31  Daniel Bates  <dabates@apple.com>
1778
1779         WebKit Bot Watcher's Dashboard: Teach JSON.load() to take optional failure callback function
1780         https://bugs.webkit.org/show_bug.cgi?id=127924
1781
1782         Reviewed by Alexey Proskuryakov.
1783
1784         Towards providing better error handling when a JSON load fails with a non-200 HTTP status
1785         code, we should teach JSON.load() to take an optional failure callback function and invoke
1786         it when either a load error or a JSON parsing error occurs.
1787
1788         As a side benefit of having a failure callback function a caller can separate the error handling
1789         logic for a JSON load or parse error from the logic of handling a successful parsing of JSON content.
1790
1791         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1792         (BuildbotIteration.prototype.loadLayoutTestResults): Move JSON parser error logic into failure
1793         callback function.
1794         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1795         (JSON.load): Modified to take optional failure callback function called failureCallback.
1796
1797 2014-01-29  Oliver Hunt  <oliver@apple.com>
1798
1799         Make it possible to implement JS builtins in JS
1800         https://bugs.webkit.org/show_bug.cgi?id=127887
1801
1802         Reviewed by Michael Saboff.
1803
1804         CMake updates
1805
1806         * DumpRenderTree/CMakeLists.txt:
1807         * WebKitTestRunner/CMakeLists.txt:
1808         * WinCELauncher/CMakeLists.txt:
1809
1810 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1811
1812         Allow more flexibility for copy-webkitlibraries-to-product-directory
1813         https://bugs.webkit.org/show_bug.cgi?id=128010
1814
1815         Reviewed by Oliver Hunt.
1816         
1817         It's now the case that copy-webkitlibraries-to-product-directory does nothing by
1818         default, but you can tell it to either copy WebKitSystemInterface (--wksi) or LLVM
1819         (--llvm). You can also tell it where to get LLVM from.
1820
1821         * Scripts/build-jsc:
1822         * Scripts/build-webkit:
1823         * Scripts/copy-webkitlibraries-to-product-directory:
1824
1825 2014-01-31  David Farler  <dfarler@apple.com>
1826
1827         DumpRenderTree iOS fails to link: missing rowHeaders and columnHeaders in AccessibilityUIElement
1828         https://bugs.webkit.org/show_bug.cgi?id=128004
1829
1830         Reviewed by Chris Fleizach.
1831
1832         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1833         (AccessibilityUIElement::columnHeaders): Stub added.
1834         (AccessibilityUIElement::rowHeaders): Stub added.
1835
1836 2014-01-31  Zoltan Horvath  <zoltan@webkit.org>
1837
1838         Unreviewed. Update my contributors.json entry.
1839
1840         * Scripts/webkitpy/common/config/contributors.json:
1841
1842 2014-01-31  Anders Carlsson  <andersca@apple.com>
1843
1844         REGRESSION: WebKit2.PageLoadBasic API test is failing
1845         https://bugs.webkit.org/show_bug.cgi?id=127892
1846
1847         Reviewed by Dan Bernstein.
1848
1849         Re-enable test.
1850
1851         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1852
1853 2014-01-31  Csaba Osztrogonác  <ossy@webkit.org>
1854
1855         [jhbuild] Disable escape sequences in EWS output
1856         https://bugs.webkit.org/show_bug.cgi?id=127922
1857
1858         Reviewed by Alexey Proskuryakov.
1859
1860         * Scripts/webkitpy/common/system/environment.py:
1861         (Environment.disable_gcc_smartquotes):
1862         (Environment):
1863         (Environment.disable_jhbuild_VT100_output):
1864         * Scripts/webkitpy/tool/commands/download_unittest.py:
1865         * Scripts/webkitpy/tool/steps/build.py:
1866         (Build.build):
1867
1868 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1869
1870         [GTK] [CMake] Add support for building against GTK+ 2
1871         https://bugs.webkit.org/show_bug.cgi?id=127959
1872
1873         Reviewed by Anders Carlsson.
1874
1875         * DumpRenderTree/PlatformGTK.cmake: Use the new API version variable and don't use GTK3 directly.
1876         * GtkLauncher/CMakeLists.txt: Ditto.
1877         * ImageDiff/PlatformGTK.cmake: Ditto.
1878         * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Ditto.
1879
1880 2014-01-30  Anders Carlsson  <andersca@apple.com>
1881
1882         Add webView:didFinishLoadingNavigation: delegate method
1883         https://bugs.webkit.org/show_bug.cgi?id=127976
1884
1885         Reviewed by Dan Bernstein.
1886
1887         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1888         (-[NavigationDelegate webView:didCommitNavigation:]):
1889         (-[NavigationDelegate webView:didFinishLoadingNavigation:]):
1890
1891 2014-01-30  Anders Carlsson  <andersca@apple.com>
1892
1893         Add a webView:didCommitNavigation: delegate method
1894         https://bugs.webkit.org/show_bug.cgi?id=127972
1895
1896         Reviewed by Dan Bernstein.
1897
1898         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1899         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1900         (-[NavigationDelegate webView:didCommitNavigation:]):
1901
1902 2014-01-30  Anders Carlsson  <andersca@apple.com>
1903
1904         Add a webView:didFailProvisionalNavigation:withError: delegate method
1905         https://bugs.webkit.org/show_bug.cgi?id=127968
1906
1907         Reviewed by Dan Bernstein.
1908
1909         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1910         (-[DidFailProvisionalNavigationDelegate webView:didStartProvisionalNavigation:]):
1911         (-[DidFailProvisionalNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1912         (TEST):
1913
1914 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1915
1916         The test server build fixes.
1917
1918         * TestResultServer/model/jsonresults.py:
1919         (JsonResults.merge):
1920         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1921
1922 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1923
1924         NRWT shouldn't say "Finished writing JSON files" if it failed to to so
1925         https://bugs.webkit.org/show_bug.cgi?id=127966
1926
1927         Reviewed by Alexey Proskuryakov.
1928
1929         Don't say "Finished writing JSON files" if we had failed to generate the JSON file.
1930         Also explicitly say this is for test results server as we're generating two JSON files.
1931
1932         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1933         (Manager._upload_json_files):
1934         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1935         (JSONLayoutResultsGenerator.__init__): Don't generate JSON file implicitly inside the constructor.
1936         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1937         (JSONResultsGenerator.generate_json_output): Return a boolean indicating whether the generation
1938         had succeeded or not.
1939
1940 2014-01-30  Filip Pizlo  <fpizlo@apple.com>
1941
1942         copy-webkitlibraries-to-product-directory should accept command-line arguments for extra work required for optional features rather than relying on environment variables
1943         https://bugs.webkit.org/show_bug.cgi?id=120221
1944
1945         Reviewed by Mark Hahnenberg.
1946
1947         * Scripts/build-jsc:
1948         * Scripts/build-webkit:
1949         * Scripts/copy-webkitlibraries-to-product-directory:
1950
1951 2014-01-30  Anders Carlsson  <andersca@apple.com>
1952
1953         Add a webView:didStartProvisionalNavigation: delegate method
1954         https://bugs.webkit.org/show_bug.cgi?id=127965
1955
1956         Reviewed by Dan Bernstein.
1957
1958         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1959         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1960         (TEST):
1961
1962 2014-01-30  Chris Fleizach  <cfleizach@apple.com>
1963
1964         WebKitTestRunner fails to link - missing rowHeaders and columnHeaders
1965         https://bugs.webkit.org/show_bug.cgi?id=127917
1966
1967         Reviewed by Andy Estes.
1968
1969         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1970         (WTR::AccessibilityUIElement::rowHeaders):
1971         (WTR::AccessibilityUIElement::columnHeaders):
1972
1973 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1974
1975         [GTK] [CMake] Add a "make dist" target
1976         https://bugs.webkit.org/show_bug.cgi?id=116378
1977
1978         Reviewed by Gustavo Noronha Silva.
1979
1980         Added a script that reads a manifest file an produces a tarball. Also add
1981         the manifest.
1982
1983         * gtk/make-dist.py: Added.
1984         * gtk/manifest.txt: Added.
1985
1986 2014-01-30  David Farler  <dfarler@apple.com>
1987
1988         Move OTHER_LDFLAGS erasure to DumpRenderTreeLibrary.xcconfig.
1989         https://bugs.webkit.org/show_bug.cgi?id=127935
1990
1991         Reviewed by Andy Estes.
1992
1993         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1994         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
1995         Move OTHER_LDFLAGS erasure to the static library's xcconfig.
1996
1997 2014-01-30  David Farler  <dfarler@apple.com>
1998
1999         DumpRenderTree fails to build with ASAN: -fsanitize=address passed to static DRT target
2000         https://bugs.webkit.org/show_bug.cgi?id=127935
2001
2002         Reviewed by Andy Estes.
2003
2004         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2005         Clear OTHER_LDFLAGS at the project level for the static library target.
2006         No other linker flags were inherited from DebugRelease.
2007
2008 2014-01-30  David Farler  <dfarler@apple.com>
2009
2010         package-root shouldn't prefix simulator roots with the SDK path
2011         http://bugs.webkit.org/show_bug.cgi?id=127923
2012
2013         Reviewed by Dan Bernstein.
2014
2015         * Scripts/package-root: Don't add an install path prefix.
2016
2017 2014-01-30  Gabor Rapcsanyi  <rgabor@webkit.org>
2018
2019         Add ARM EFL Linux builder bots to Apple buildmaster
2020         https://bugs.webkit.org/show_bug.cgi?id=127472
2021
2022         Reviewed by Csaba Osztrogonác.
2023
2024         There is no ARM buildslaves after removing the Qt builders.
2025
2026         * BuildSlaveSupport/build.webkit.org-config/config.json:
2027
2028 2014-01-30  Andy Estes  <aestes@apple.com>
2029
2030         REGRESSION (r163037): WebKit2.PageLoadBasic API test failing on Mountain Lion
2031         https://bugs.webkit.org/show_bug.cgi?id=127934
2032
2033         Disable the failing test on Mountain Lion.
2034
2035         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
2036         (TestWebKitAPI::TEST):
2037
2038 2014-01-30  Anders Carlsson  <andersca@apple.com>
2039
2040         Add WKNavigationDelegate class
2041         https://bugs.webkit.org/show_bug.cgi?id=127927
2042
2043         Reviewed by Dan Bernstein.
2044
2045         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
2046         (TEST):
2047
2048 2014-01-30  David Farler  <dfarler@apple.com>
2049
2050         Enable iOS Tools builds by default
2051         https://bugs.webkit.org/show_bug.cgi?id=127919
2052
2053         Reviewed by Andy Estes.
2054
2055         * Makefile:
2056         Build all the tools except MiniBrowser on iOS
2057         * Scripts/build-webkit:
2058         Ditto.
2059         Build WebKitTestRunnerApp target on iOS.
2060
2061 2014-01-30  David Farler  <dfarler@apple.com>
2062
2063         Make TestWebKitAPI build and run for iOS
2064         https://bugs.webkit.org/show_bug.cgi?id=127925
2065
2066         Reviewed by Andy Estes.
2067
2068         * TestWebKitAPI/Configurations/Base.xcconfig:
2069         - Don't warn on 64-32 bit conversion on x86_64 and arm64
2070         - Don't build mac/*
2071         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2072         - Link WebKit2 on all platforms
2073
2074 2014-01-30  David Farler  <dfarler@apple.com>
2075
2076         package-root should copy ./usr from the build products directory
2077         https://bugs.webkit.org/show_bug.cgi?id=127878
2078
2079         Reviewed by Daniel Bates.
2080
2081         * Scripts/package-root:
2082         Copy ./usr in addition to the frameworks.
2083
2084 2014-01-30  Andrei Bucur  <abucur@adobe.com>
2085
2086         Remove the ACCELERATED_COMPOSITING flag
2087         https://bugs.webkit.org/show_bug.cgi?id=127833
2088
2089         Reviewed by Antti Koivisto.
2090
2091         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
2092         mandatory.
2093
2094         * DumpRenderTree/efl/DumpRenderTree.cpp:
2095         (initEcoreEvas):
2096         * EWebLauncher/main.c:
2097         (windowCreate):
2098         * MiniBrowser/efl/main.c:
2099         (elm_main):
2100         * TestWebKitAPI/efl/PlatformWebView.cpp:
2101         (TestWebKitAPI::initEcoreEvas):
2102         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2103         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2104         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2105         (WTR::initEcoreEvas):
2106
2107 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
2108
2109         Remove ENABLE(JAVASCRIPT_DEBUGGER) leftovers
2110         https://bugs.webkit.org/show_bug.cgi?id=127845
2111
2112         Reviewed by Joseph Pecoraro.
2113
2114         * Scripts/webkitperl/FeatureList.pm:
2115
2116 2014-01-29  Anders Carlsson  <andersca@apple.com>
2117
2118         -[WKWebView loadRequest:] should return a WKNavigation
2119         https://bugs.webkit.org/show_bug.cgi?id=127873
2120
2121         Reviewed by Dan Bernstein.
2122
2123         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2124         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm: Added.
2125         (TEST):
2126
2127 2014-01-29  Tim Horton  <timothy_horton@apple.com>
2128
2129         WebKit2 View Gestures (Swipe): Update rubberBandsAt{Left,Right} when WebKit swipe is enabled
2130         https://bugs.webkit.org/show_bug.cgi?id=127855
2131         <rdar://problem/15933878>
2132
2133         Reviewed by Anders Carlsson.
2134
2135         * MiniBrowser/mac/WK2BrowserWindowController.m:
2136         (-[WK2BrowserWindowController awakeFromNib]):
2137         Enable swipe in MiniBrowser for testing purposes.
2138
2139 2014-01-29  Daniel Bates  <dabates@apple.com>
2140
2141         Fix JSONP requests made by the WebKit Bot Watcher's Dashboard following <http://trac.webkit.org/changeset/163034>
2142         (https://bugs.webkit.org/show_bug.cgi?id=127784)
2143
2144         Use dot-notation instead of array index notation to access the dictionary value for key jsonpCallbackName
2145         in the specified options dictionary.
2146
2147         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
2148         (JSON.load):
2149
2150 2014-01-29  Daniel Bates  <dabates@apple.com>
2151
2152         WebKit Bot Watcher's Dashboard: Add support for using HTTP authentication with Buildbot
2153         https://bugs.webkit.org/show_bug.cgi?id=127784
2154
2155         Reviewed by Alexey Proskuryakov.
2156
2157         Implement support for querying a Buildbot that requires HTTP authentication to access it.
2158
2159         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2160         (Buildbot): Add optional argument, options, to pass a dictionary of Buildbot options.
2161         For now, we only support a single option, needsAuthentication, to indicate whether the
2162         Buildbots requires HTTP authentication (defaults to false - HTTP authentication is
2163         not required).
2164         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2165         (BuildbotIteration.prototype.loadLayoutTestResults): Modified to pass JSONP callback name
2166         to JSON.load() using the option dictionary.
2167         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2168         (BuildbotQueue.prototype.update): Modified to pass withCredentials to JSON.load().
2169         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
2170         (JSON.load): Removed optional argument jsonpCallbackName and added optional argument options,
2171         which is a dictionary. The argument jsonpCallbackName is now specified as an entry in the
2172         options dictionary. Added boolean options withCredentials to toggle querying with HTTP
2173         authentication credentials.
2174
2175 2014-01-29  Alexey Proskuryakov  <ap@apple.com>
2176
2177         build.webkit.org/dashboard links to an old failing build rather than the most recent
2178         https://bugs.webkit.org/show_bug.cgi?id=127765
2179         <rdar://problem/15795228>
2180
2181         Reviewed by Timothy Hatcher.
2182
2183         This patch changes builder view to not show how many failures there were in a row,
2184         because it is not very relevant, and complicates the UI. Instead, we just show the
2185         latest failing build and the latest successful one.
2186
2187         The patch also removes commit history popovers from revisions that can not be correlated
2188         with any change. These popovers are only helpful in the first line, when there is
2189         another line for comparison below. In this case, it's useful to see what changed
2190         between the revisions, but even then, only if it was an actual failure, not a buildbot
2191         exception.
2192
2193         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
2194         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
2195         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2196         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2197         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
2198         (BuildbotQueueView.prototype._revisionPopoverContentForIteration):
2199         (BuildbotQueueView.prototype.revisionContentForIteration):
2200         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2201         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2202
2203 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
2204
2205         Remove ENABLE(JAVASCRIPT_DEBUGGER) guards
2206         https://bugs.webkit.org/show_bug.cgi?id=127840
2207
2208         Reviewed by Mark Lam.
2209
2210         * Scripts/webkitperl/FeatureList.pm:
2211
2212 2014-01-29  Krzysztof Czech  <k.czech@samsung.com>
2213
2214         [ATK] Expose aria-describedby with ATK_RELATION_DESCRIBED_BY
2215         https://bugs.webkit.org/show_bug.cgi?id=121684
2216
2217         Reviewed by Mario Sanchez Prada.
2218
2219         Implementing helpText by using relation ATK_RELATION_DESCRIBED_BY.
2220
2221         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2222         (AccessibilityUIElement::helpText):
2223         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2224         (WTR::AccessibilityUIElement::helpText):
2225
2226 2014-01-27  Chris Fleizach  <cfleizach@apple.com>
2227
2228         AX: Support @scope in HTML tables
2229         https://bugs.webkit.org/show_bug.cgi?id=127688
2230
2231         Reviewed by Mario Sanchez Prada.
2232
2233         Add support for rowHeaders and columnHeaders.
2234
2235         * DumpRenderTree/AccessibilityUIElement.cpp:
2236         (convertElementsToObjectArray):
2237         (columnHeadersCallback):
2238         (rowHeadersCallback):
2239         (uiElementArrayAttributeValueCallback):
2240         (AccessibilityUIElement::columnHeaders):
2241         (AccessibilityUIElement::rowHeaders):
2242         (AccessibilityUIElement::getJSClass):
2243         * DumpRenderTree/AccessibilityUIElement.h:
2244         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2245         (AccessibilityUIElement::rowHeaders):
2246         (AccessibilityUIElement::columnHeaders):
2247         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2248         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2249         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2250         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2251         (WTR::AccessibilityUIElement::rowHeaders):
2252         (WTR::AccessibilityUIElement::columnHeaders):
2253         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2254         (WTR::convertElementsToObjectArray):
2255         (WTR::AccessibilityUIElement::rowHeaders):
2256         (WTR::AccessibilityUIElement::columnHeaders):
2257         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2258
2259 2014-01-28  Daniel Bates  <dabates@apple.com>
2260
2261         Teach Buildbot dashboard to parse alternative revision format
2262         https://bugs.webkit.org/show_bug.cgi?id=127561
2263
2264         Reviewed by Alexey Proskuryakov.
2265
2266         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
2267         returns a dictionary for the value of property got_revision.
2268
2269         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2270         (isMultiCodebaseGotRevisionProperty): Added.
2271         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
2272         string or a dictionary.
2273         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
2274         the OpenSource and Internal revision numbers.
2275
2276 2014-01-28  Adrian Perez de Castro  <aperez@igalia.com>
2277
2278         [GTK] Add API to allow setting the process model in WebKitWebContext
2279         https://bugs.webkit.org/show_bug.cgi?id=125463
2280
2281         Reviewed by Carlos Garcia Campos.
2282
2283         Implements accessors in WebKitWebContext for the process model.
2284         The default behavior is unchanged, and a single web process is
2285         used. Using WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
2286         as the process model will make use one web process for each
2287         WebKitWebView. This also enables the network process. Setting
2288         the process model must be done as early as possible, before the
2289         very first web process is spawned.
2290
2291         * MiniBrowser/gtk/main.c:
2292         (main):
2293         Enable multiple process mode if the MINIBROWSER_MULTIPROCESS
2294         environment variable is defined and not empty.
2295         * TestWebKitAPI/GNUmakefile.am:
2296         Add new TestMultiprocess test case.
2297         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2298         Add new TestMultiprocess test case.
2299         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp: Added.
2300         (loadChanged):
2301         (testMultipleSecondaryProcesses):
2302         (initializeWebExtensions):
2303         (beforeAll):
2304         (afterAll):
2305         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2306         (methodCallCallback):
2307         Implement the GetProcessIdentifier D-Bus method.
2308         (makeBusName):
2309         Choose a different bus name when the web extension is used
2310         from TestMultiprocess.
2311         (webkit_web_extension_initialize_with_user_data):
2312         Use makeBusName() to choose the bus name.
2313
2314 2014-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2315
2316         [SOUP] Remove soupURIToKURL
2317         https://bugs.webkit.org/show_bug.cgi?id=127104
2318
2319         Reviewed by Martin Robinson.
2320
2321         * TestWebKitAPI/GNUmakefile.am: Add soup cppflags to WebCore unit
2322         tests, because URL.h now includes GUniquePtrSoup.h.
2323         * TestWebKitAPI/CMakeLists.txt: Ditto.
2324         * WebKitTestRunner/PlatformEfl.cmake: Add soup cppflags to WTR,
2325         because URL.h now includes GUniquePtrSoup.h.
2326
2327 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2328
2329         [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
2330         https://bugs.webkit.org/show_bug.cgi?id=127614
2331
2332         Reviewed by Gustavo Noronha Silva.
2333
2334         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp: Bring
2335         back the custom URI scheme WebView check.
2336
2337 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2338
2339         Revert yet one more tiny part of r162629 that didn't get reverted in r162883
2340
2341         * WebKitTestRunner/TestController.cpp:
2342         (WTR::TestController::pluginLoadPolicy):
2343         * WebKitTestRunner/TestController.h:
2344
2345 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2346
2347         Revert one more tiny part of r162629 that didn't get reverted in r162883.
2348
2349         ... which was also causing test failures!
2350
2351         * WebKitTestRunner/TestController.cpp:
2352         (WTR::TestController::createWebViewWithOptions):
2353
2354 2014-01-27  David Farler  <dfarler@apple.com>
2355
2356         iOS DumpRenderTree.app dies loading fonts
2357         https://bugs.webkit.org/show_bug.cgi?id=127730
2358
2359         Reviewed by Daniel Bates.
2360
2361         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
2362         - Add Ahem to the __DATA section
2363         * DumpRenderTree/mac/DumpRenderTree.mm:
2364         (activateFontsIOS):
2365         - Load "WeightWatcher100" instead.
2366
2367 2014-01-27  Alexey Proskuryakov  <ap@apple.com>
2368
2369         [Mac] Extra logging output from run-safari --no-saved-state
2370         https://bugs.webkit.org/show_bug.cgi?id=127732
2371
2372         Reviewed by Daniel Bates.
2373
2374         * Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp): Use an option that
2375         disables saved state without logging.
2376
2377 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2378
2379         Revert the parts of r162629 that add a new pluginLoadPolicy and the context menu item.
2380
2381         We're leaving the parts that make us use PDFPlugin instead of showing the blocked
2382         plugin indicator intact, though.
2383
2384         * WebKitTestRunner/TestController.cpp:
2385         (WTR::TestController::createWebViewWithOptions):
2386
2387 2014-01-27  Andy Estes  <aestes@apple.com>
2388
2389         Scrub WebKit API headers of WTF macros
2390         https://bugs.webkit.org/show_bug.cgi?id=127706
2391
2392         Reviewed by David Kilzer.
2393
2394         * Scripts/check-for-inappropriate-macros-in-external-headers: Modified
2395         the regex to require a '(' after the macro name in order to be
2396         considered a match. This prevents things like 'ENABLE_SOME_FEATURE'
2397         from being flagged as an ENABLE() macro.
2398
2399 2014-01-27  Commit Queue  <commit-queue@webkit.org>
2400
2401         Unreviewed, rolling out r162846.
2402         http://trac.webkit.org/changeset/162846
2403         https://bugs.webkit.org/show_bug.cgi?id=127695
2404
2405         "Broke the WebKit Bot Watcher's Dashboard; will fix offline"
2406         (Requested by dydz on #webkit).
2407
2408         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2409         (BuildbotIteration.prototype.update.):
2410
2411 2014-01-27  Daniel Bates  <dabates@apple.com>
2412
2413         Add support for displaying results from multiple Buildbots on WebKit Bot Watcher's Dashboard
2414         https://bugs.webkit.org/show_bug.cgi?id=127564
2415
2416         Reviewed by Alexey Proskuryakov.
2417
2418         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js:
2419         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2420
2421 2014-01-27  Daniel Bates  <dabates@apple.com>
2422
2423         Teach Buildbot dashboard to parse alternative revision format
2424         https://bugs.webkit.org/show_bug.cgi?id=127561
2425
2426         Reviewed by Alexey Proskuryakov.
2427
2428         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
2429         returns a dictionary for the value of property got_revision.
2430
2431         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2432         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
2433         string or a dictionary.
2434         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
2435         the OpenSource and Internal revision numbers.
2436
2437 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2438
2439         [GTK] Implement custom URI schemes with CustomProtocols
2440         https://bugs.webkit.org/show_bug.cgi?id=127091
2441
2442         Reviewed by Gustavo Noronha Silva.
2443
2444         Temporarily disable the WebKitWebView check until we figure out
2445         how to implement it with CustomProtocols.
2446
2447         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2448
2449 2014-01-26  Alexey Proskuryakov  <ap@apple.com>
2450
2451         REGRESSION(r127412): http/tests/misc/link-rel-icon-beforeload.html is broken.
2452
2453         * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setIconDatabaseEnabled):
2454         Fixed an incorrect ifdef.
2455
2456 2014-01-26  Brendan Long  <b.long@cablelabs.com>
2457
2458         [GTK] DumpRenderTree prints out suggesting to set WEBKIT_TOP_LEVEL when fonts are missing but doesn't use it.
2459         https://bugs.webkit.org/show_bug.cgi?id=110602
2460
2461         Reviewed by Philippe Normand.
2462
2463         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2464         (getTopLevelPath): Use WEBKIT_TOP_LEVEL environment variable if it exists.
2465         (initializeFonts): Fix printing of expected font path (fontPath is guaranteed to be null here).
2466
2467 2014-01-24  Andy Estes  <aestes@apple.com>
2468
2469         [iOS] Upstream changes in Tools/DumpRenderTree
2470         https://bugs.webkit.org/show_bug.cgi?id=127412
2471
2472         Reviewed by Simon Fraser.
2473
2474         Upstream all iOS changes. Added a new target called DumpRenderTree.app,
2475         which builds the DumpRenderTree static library into an app bundle as
2476         expected by the iOS Simulator.
2477
2478         * DumpRenderTree/AccessibilityTextMarker.h:
2479         * DumpRenderTree/AccessibilityUIElement.h:
2480         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2481         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h:
2482         * DumpRenderTree/DumpRenderTreePrefix.h:
2483         * DumpRenderTree/PixelDumpSupport.cpp:
2484         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2485         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
2486         * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm:
2487         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
2488         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
2489         * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
2490         * DumpRenderTree/TestNetscapePlugIn/TestObject.h:
2491         * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
2492         * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp:
2493         * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp:
2494         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp:
2495         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
2496         * DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp:
2497         * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
2498         * DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp:
2499         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
2500         * DumpRenderTree/TestRunner.cpp:
2501         * DumpRenderTree/TestRunner.h:
2502         * DumpRenderTree/cg/ImageDiffCG.cpp:
2503         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2504         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
2505         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2506         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h: Added.
2507         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: Added.
2508         * DumpRenderTree/ios/Info.plist: Added.
2509         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport.c: Added.
2510         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Added.
2511         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Added.
2512         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Changes: Added.
2513         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/IPhoneSimulatorNotification.xs: Added.
2514         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/MANIFEST: Added.
2515         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: Added.
2516         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/README: Added.
2517         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: Added.
2518         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/ppport.h: Added.
2519         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/t/IPhoneSimulatorNotification.t: Added.
2520         * DumpRenderTree/ios/PerlSupport/Makefile: Added.
2521         * DumpRenderTree/ios/PixelDumpSupportIOS.mm: Added.
2522         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
2523         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
2524         * DumpRenderTree/mac/AppleScriptController.m:
2525         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2526         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2527         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2528         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig: Added.
2529         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
2530         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
2531         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: Added.
2532         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
2533         * DumpRenderTree/mac/DumpRenderTree.mm:
2534         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
2535         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
2536         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2537         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2538         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2539         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2540         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2541         * DumpRenderTree/mac/EditingDelegate.h:
2542         * DumpRenderTree/mac/EventSendingController.h:
2543         * DumpRenderTree/mac/EventSendingController.mm:
2544         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2545         * DumpRenderTree/mac/HistoryDelegate.h:
2546         * DumpRenderTree/mac/LayoutTestHelper.m:
2547         * DumpRenderTree/mac/MockGeolocationProvider.mm:
2548         * DumpRenderTree/mac/NavigationController.h:
2549         * DumpRenderTree/mac/ObjCPlugin.h:
2550         * DumpRenderTree/mac/ObjCPlugin.m:
2551         * DumpRenderTree/mac/ObjCPluginFunction.h:
2552         * DumpRenderTree/mac/PolicyDelegate.h:
2553         * DumpRenderTree/mac/ResourceLoadDelegate.h:
2554         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2555         * DumpRenderTree/mac/TestRunnerMac.mm:
2556         * DumpRenderTree/mac/TextInputController.h:
2557         * DumpRenderTree/mac/TextInputController.m:
2558         * DumpRenderTree/mac/UIDelegate.h:
2559         * DumpRenderTree/mac/UIDelegate.mm:
2560
2561 2014-01-25  Darin Adler  <darin@apple.com>
2562
2563         Call deprecatedCharacters instead of characters at more call sites
2564         https://bugs.webkit.org/show_bug.cgi?id=127631
2565
2566         Reviewed by Sam Weinig.
2567
2568         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
2569         (TestWebKitAPI::expectBuilderContent):
2570         (TestWebKitAPI::expectEmpty):
2571         (TestWebKitAPI::TEST):
2572         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2573         (TestWebKitAPI::TEST):
2574         Use the new name.
2575
2576 2014-01-25  Anders Carlsson  <andersca@apple.com>
2577
2578         Modernize HashTable threading code
2579         https://bugs.webkit.org/show_bug.cgi?id=127621
2580
2581         Reviewed by Darin Adler.
2582
2583         Explicitly include headers that used to be brought in by HashTable.h
2584
2585         * DumpRenderTree/JavaScriptThreading.cpp:
2586
2587 2014-01-24  Eric Carlson  <eric.carlson@apple.com>
2588
2589         Unreviewed. Add Philip Jägenstedt to watch and contributor lists.
2590
2591         * Scripts/webkitpy/common/config/contributors.json:
2592         * Scripts/webkitpy/common/config/watchlist:
2593
2594 2014-01-23  David Farler  <dfarler@apple.com>
2595
2596         Make WebKitTestRunner work with iOS
2597         https://bugs.webkit.org/show_bug.cgi?id=127448
2598
2599         Reviewed by Simon Fraser.
2600
2601         Combined patch from Simon below with some additional xcconfig cleanups,
2602         rebasing and stubbing out a couple of new functions that popped up
2603         since then.
2604
2605         2013-12-03  Simon Fraser  <simon.fraser@apple.com>
2606
2607                 <rdar://problem/15515469> Get WebKitTestRunner working on iOS
2608
2609                 Get WebKitTestRunner limping on iOS. Main parts:
2610                 - Stub out lots of accessibility-related functions.
2611                 - Stub out EventSender
2612                 - Create target to make a bundled app that runs in the simulator,
2613                   and copy the injected bundle library into it.
2614                 - Make a UIWindow and WKView to load tests in
2615
2616                 It runs, load tests, and dumps results to output. More work will be
2617                 required once we can execute it via the webkitpy scripts.
2618
2619         * WebKitTestRunner/Configurations/Base.xcconfig:
2620         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
2621         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
2622         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2623         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm: Added.
2624         (WTR::AccessibilityController::addNotificationListener):
2625         (WTR::AccessibilityController::removeNotificationListener):
2626         (WTR::AccessibilityController::platformName):
2627         (WTR::AccessibilityController::logAccessibilityEvents):
2628         (WTR::AccessibilityController::resetToConsistentState):
2629         (WTR::findAccessibleObjectById):
2630         (WTR::AccessibilityController::accessibleElementById):
2631         * WebKitTestRunner/InjectedBundle/ios/AccessibilityNotificationHandler.h: Added.
2632         * WebKitTestRunner/InjectedBundle/ios/AccessibilityTextMarkerIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2633         (WTR::AccessibilityTextMarker::isEqual):
2634         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: Added.
2635         (WTR::AccessibilityUIElement::AccessibilityUIElement):
2636         (WTR::AccessibilityUIElement::~AccessibilityUIElement):
2637         (WTR::AccessibilityUIElement::isEqual):
2638         (WTR::AccessibilityUIElement::getLinkedUIElements):
2639         (WTR::AccessibilityUIElement::getDocumentLinks):
2640         (WTR::AccessibilityUIElement::getChildren):
2641         (WTR::AccessibilityUIElement::getChildrenWithRange):
2642         (WTR::AccessibilityUIElement::childrenCount):
2643         (WTR::AccessibilityUIElement::elementAtPoint):
2644         (WTR::AccessibilityUIElement::indexOfChild):
2645         (WTR::AccessibilityUIElement::childAtIndex):
2646         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
2647         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
2648         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
2649         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
2650         (WTR::AccessibilityUIElement::rowAtIndex):
2651         (WTR::AccessibilityUIElement::selectedChildAtIndex):
2652         (WTR::AccessibilityUIElement::selectedChildrenCount):
2653         (WTR::AccessibilityUIElement::selectedRowAtIndex):
2654         (WTR::AccessibilityUIElement::titleUIElement):
2655         (WTR::AccessibilityUIElement::parentElement):
2656         (WTR::AccessibilityUIElement::disclosedByRow):
2657         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements):
2658         (WTR::AccessibilityUIElement::attributesOfDocumentLinks):
2659         (WTR::AccessibilityUIElement::attributesOfChildren):
2660         (WTR::AccessibilityUIElement::allAttributes):
2661         (WTR::AccessibilityUIElement::stringAttributeValue):
2662         (WTR::AccessibilityUIElement::numberAttributeValue):
2663         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2664         (WTR::AccessibilityUIElement::uiElementAttributeValue):
2665         (WTR::AccessibilityUIElement::boolAttributeValue):
2666         (WTR::AccessibilityUIElement::isAttributeSettable):
2667         (WTR::AccessibilityUIElement::isAttributeSupported):
2668         (WTR::AccessibilityUIElement::parameterizedAttributeNames):
2669         (WTR::AccessibilityUIElement::role):
2670         (WTR::AccessibilityUIElement::subrole):
2671         (WTR::AccessibilityUIElement::roleDescription):
2672         (WTR::AccessibilityUIElement::title):
2673         (WTR::AccessibilityUIElement::description):
2674         (WTR::AccessibilityUIElement::orientation):
2675         (WTR::AccessibilityUIElement::stringValue):
2676         (WTR::AccessibilityUIElement::language):
2677         (WTR::AccessibilityUIElement::helpText):
2678         (WTR::AccessibilityUIElement::x):
2679         (WTR::AccessibilityUIElement::y):
2680         (WTR::AccessibilityUIElement::width):
2681         (WTR::AccessibilityUIElement::height):
2682         (WTR::AccessibilityUIElement::clickPointX):
2683         (WTR::AccessibilityUIElement::clickPointY):
2684         (WTR::AccessibilityUIElement::intValue):
2685         (WTR::AccessibilityUIElement::minValue):
2686         (WTR::AccessibilityUIElement::maxValue):
2687         (WTR::AccessibilityUIElement::valueDescription):
2688         (WTR::AccessibilityUIElement::insertionPointLineNumber):
2689         (WTR::AccessibilityUIElement::isPressActionSupported):
2690         (WTR::AccessibilityUIElement::isIncrementActionSupported):
2691         (WTR::AccessibilityUIElement::isDecrementActionSupported):
2692         (WTR::AccessibilityUIElement::isEnabled):
2693         (WTR::AccessibilityUIElement::isRequired):
2694         (WTR::AccessibilityUIElement::isFocused):
2695         (WTR::AccessibilityUIElement::isSelected):
2696         (WTR::AccessibilityUIElement::isSelectedOptionActive):
2697         (WTR::AccessibilityUIElement::isIndeterminate):
2698         (WTR::AccessibilityUIElement::isExpanded):
2699         (WTR::AccessibilityUIElement::isChecked):
2700         (WTR::AccessibilityUIElement::hierarchicalLevel):
2701         (WTR::AccessibilityUIElement::classList):
2702         (WTR::AccessibilityUIElement::speak):
2703         (WTR::AccessibilityUIElement::ariaIsGrabbed):
2704         (WTR::AccessibilityUIElement::ariaDropEffects):
2705         (WTR::AccessibilityUIElement::lineForIndex):
2706         (WTR::AccessibilityUIElement::rangeForLine):
2707         (WTR::AccessibilityUIElement::rangeForPosition):
2708         (WTR::AccessibilityUIElement::boundsForRange):
2709         (WTR::AccessibilityUIElement::stringForRange):
2710         (WTR::AccessibilityUIElement::attributedStringForRange):
2711         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
2712         (WTR::uiElementCountForSearchPredicate):
2713         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
2714         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
2715         (WTR::AccessibilityUIElement::attributesOfColumnHeaders):
2716         (WTR::AccessibilityUIElement::attributesOfRowHeaders):
2717         (WTR::AccessibilityUIElement::attributesOfColumns):
2718         (WTR::AccessibilityUIElement::attributesOfRows):
2719         (WTR::AccessibilityUIElement::attributesOfVisibleCells):
2720         (WTR::AccessibilityUIElement::attributesOfHeader):
2721         (WTR::AccessibilityUIElement::rowCount):
2722         (WTR::AccessibilityUIElement::columnCount):
2723         (WTR::AccessibilityUIElement::indexInTable):
2724         (WTR::AccessibilityUIElement::rowIndexRange):
2725         (WTR::AccessibilityUIElement::columnIndexRange):
2726         (WTR::AccessibilityUIElement::cellForColumnAndRow):
2727         (WTR::AccessibilityUIElement::horizontalScrollbar):
2728         (WTR::AccessibilityUIElement::verticalScrollbar):
2729         (WTR::AccessibilityUIElement::scrollToMakeVisible):
2730         (WTR::AccessibilityUIElement::selectedTextRange):
2731         (WTR::AccessibilityUIElement::setSelectedTextRange):
2732         (WTR::AccessibilityUIElement::increment):
2733         (WTR::AccessibilityUIElement::decrement):
2734         (WTR::AccessibilityUIElement::showMenu):
2735         (WTR::AccessibilityUIElement::press):
2736         (WTR::AccessibilityUIElement::setSelectedChild):
2737         (WTR::AccessibilityUIElement::accessibilityValue):
2738         (WTR::AccessibilityUIElement::documentEncoding):
2739         (WTR::AccessibilityUIElement::documentURI):
2740         (WTR::AccessibilityUIElement::url):
2741         (WTR::AccessibilityUIElement::addNotificationListener):
2742         (WTR::AccessibilityUIElement::removeNotificationListener):
2743         (WTR::AccessibilityUIElement::isFocusable):
2744         (WTR::AccessibilityUIElement::isSelectable):
2745         (WTR::AccessibilityUIElement::isMultiSelectable):
2746         (WTR::AccessibilityUIElement::isVisible):
2747         (WTR::AccessibilityUIElement::isOffScreen):
2748         (WTR::AccessibilityUIElement::isCollapsed):
2749         (WTR::AccessibilityUIElement::isIgnored):
2750         (WTR::AccessibilityUIElement::hasPopup):
2751         (WTR::AccessibilityUIElement::takeFocus):
2752         (WTR::AccessibilityUIElement::takeSelection):
2753         (WTR::AccessibilityUIElement::addSelection):
2754         (WTR::AccessibilityUIElement::removeSelection):
2755         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
2756         (WTR::AccessibilityUIElement::textMarkerRangeLength):
2757         (WTR::AccessibilityUIElement::previousTextMarker):
2758         (WTR::AccessibilityUIElement::nextTextMarker):
2759         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
2760         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
2761         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
2762         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
2763         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
2764         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
2765         (WTR::AccessibilityUIElement::textMarkerForPoint):
2766         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
2767         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
2768         (WTR::AccessibilityUIElement::indexForTextMarker):
2769         (WTR::AccessibilityUIElement::isTextMarkerValid):
2770         (WTR::AccessibilityUIElement::textMarkerForIndex):
2771         (WTR::AccessibilityUIElement::startTextMarker):
2772         (WTR::AccessibilityUIElement::endTextMarker):
2773         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2774         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
2775         (WTR::AccessibilityUIElement::pathDescription):
2776         (WTR::AccessibilityUIElement::supportedActions):
2777         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2778         (WTR::activateFonts):
2779         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm: Added.
2780         (WTR::EventSenderProxy::EventSenderProxy):
2781         (WTR::EventSenderProxy::~EventSenderProxy):
2782         (WTR::EventSenderProxy::updateClickCountForButton):
2783         (WTR::EventSenderProxy::mouseDown):
2784         (WTR::EventSenderProxy::mouseUp):
2785         (WTR::EventSenderProxy::mouseMoveTo):
2786         (WTR::EventSenderProxy::leapForward):
2787         (WTR::EventSenderProxy::keyDown):
2788         (WTR::EventSenderProxy::mouseScrollBy):
2789         (WTR::EventSenderProxy::continuousMouseScrollBy):
2790         (WTR::EventSenderProxy::addTouchPoint):
2791         (WTR::EventSenderProxy::updateTouchPoint):
2792         (WTR::EventSenderProxy::setTouchModifier):
2793         (WTR::EventSenderProxy::setTouchPointRadius):
2794         (WTR::EventSenderProxy::touchStart):
2795         (WTR::EventSenderProxy::touchMove):
2796         (WTR::EventSenderProxy::touchEnd):
2797         (WTR::EventSenderProxy::touchCancel):
2798         (WTR::EventSenderProxy::clearTouchPoints):
2799         (WTR::EventSenderProxy::releaseTouchPoint):
2800         (WTR::EventSenderProxy::cancelTouchPoint):
2801         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2802         (WTR::InjectedBundle::platformInitialize):
2803         * WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2804         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
2805         * WebKitTestRunner/Makefile:
2806         * WebKitTestRunner/TestController.cpp:
2807         (WTR::TestController::initialize):
2808         * WebKitTestRunner/TestController.h:
2809         * WebKitTestRunner/TestInvocation.cpp:
2810         (WTR::TestInvocation::invoke):
2811         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2812         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2813         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.h: Added.
2814         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.m: Added.
2815         (-[AppDelegate application:didFinishLaunchingWithOptions:]):
2816         (-[AppDelegate applicationWillResignActive:]):
2817         (-[AppDelegate applicationDidEnterBackground:]):
2818         (-[AppDelegate applicationWillEnterForeground:]):
2819         (-[AppDelegate applicationDidBecomeActive:]):
2820         (-[AppDelegate applicationWillTerminate:]):
2821         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/AppIcon.appiconset/Contents.json: Added.
2822         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/LaunchImage.launchimage/Contents.json: Added.
2823         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist: Added.
2824         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Prefix.pch: Added.
2825         * WebKitTestRunner/WebKitTestRunnerApp/en.lproj/InfoPlist.strings: Added.
2826         * WebKitTestRunner/WebKitTestRunnerApp/main.m: Added.
2827         (main):
2828         * WebKitTestRunner/WebKitTestRunnerAppTests-Info.plist: Added.
2829         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests-Info.plist: Added.
2830         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests.m: Added.
2831         (-[WebKitTestRunnerAppTests setUp]):
2832         (-[WebKitTestRunnerAppTests tearDown]):
2833         (-[WebKitTestRunnerAppTests testExample]):
2834         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj/InfoPlist.strings: Added.
2835         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
2836         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2837         * WebKitTestRunner/iOS.xcconfig: Added.
2838         * WebKitTestRunner/ios/PlatformWebViewIOS.mm: Added.
2839         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useTiledDrawing:]):
2840         (-[TestRunnerWKView _shouldUseTiledDrawingArea]):
2841         (-[WebKitTestRunnerWindow isKeyWindow]):
2842         (-[WebKitTestRunnerWindow setFrameOrigin:]):
2843         (-[WebKitTestRunnerWindow setFrame:]):
2844         (-[WebKitTestRunnerWindow frameRespectingFakeOrigin]):
2845         (-[WebKitTestRunnerWindow backingScaleFactor]):
2846         (WTR::PlatformWebView::PlatformWebView):
2847         (WTR::PlatformWebView::resizeTo):
2848         (WTR::PlatformWebView::~PlatformWebView):
2849         (WTR::PlatformWebView::page):
2850         (WTR::PlatformWebView::focus):
2851         (WTR::PlatformWebView::windowFrame):
2852         (WTR::PlatformWebView::setWindowFrame):
2853         (WTR::PlatformWebView::didInitializeClients):
2854         (WTR::PlatformWebView::addChromeInputField):
2855         (WTR::PlatformWebView::removeChromeInputField):
2856         (WTR::PlatformWebView::makeWebViewFirstResponder):
2857         (WTR::PlatformWebView::windowSnapshotImage):
2858         (WTR::PlatformWebView::viewSupportsOptions):
2859         * WebKitTestRunner/ios/TestControllerIOS.mm: Added.
2860         (WTR::TestController::notifyDone):
2861         (WTR::TestController::platformInitialize):
2862         (WTR::TestController::platformDestroy):
2863         (WTR::TestController::initializeInjectedBundlePath):
2864         (WTR::TestController::initializeTestPluginDirectory):
2865         (WTR::TestController::platformRunUntil):
2866         (WTR::TestController::platformInitializeContext):
2867         (WTR::TestController::runModal):
2868         (WTR::TestController::platformLibraryPathForTesting):
2869         * WebKitTestRunner/ios/WebArchiveDumpSupportIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2870         (createCFURLResponseFromResponseData):
2871         (supportedNonImageMIMETypes):
2872         * WebKitTestRunner/ios/mainIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2873         (-[WebKitTestRunnerApp _runTestController]):
2874         (-[WebKitTestRunnerApp applicationDidFinishLaunching:]):
2875         (main):
2876
2877 2014-01-24  Enrique Ocaña González  <eocanha@igalia.com>
2878
2879         [GTK] Put cache files in XDG_CACHE_HOME
2880         https://bugs.webkit.org/show_bug.cgi?id=123458
2881
2882         Reviewed by Martin Robinson.
2883
2884         * GtkLauncher/main.c:
2885         (createBrowser):
2886
2887 2014-01-23  Max Vujovic  <mvujovic@adobe.com>
2888
2889         Remove CSS Custom Filters code and tests
2890         https://bugs.webkit.org/show_bug.cgi?id=127382
2891
2892         Reviewed by Simon Fraser.
2893
2894         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2895         (resetDefaultsToConsistentValues):
2896         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
2897         (TestRunner::overridePreference):
2898
2899 2014-01-23  Tim Horton  <timothy_horton@apple.com>
2900
2901         PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
2902         https://bugs.webkit.org/show_bug.cgi?id=127415
2903         <rdar://problem/12482452>
2904
2905         Reviewed by Sam Weinig.
2906
2907         Adopt the new page loader client plugin load callback.
2908
2909         * WebKitTestRunner/TestController.cpp:
2910         (WTR::TestController::createWebViewWithOptions):
2911         (WTR::TestController::pluginLoadPolicy):
2912         * WebKitTestRunner/TestController.h:
2913
2914 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2915
2916         [Curl] There is no way to specify cache folder.
2917         https://bugs.webkit.org/show_bug.cgi?id=125028
2918
2919         Reviewed by Brent Fulgham.
2920
2921         Enable disc cache in WinLauncher by setting cache folder location.
2922
2923         * WinLauncher/WinLauncher.cpp:
2924         (getAppDataFolder): Added function to get app data folder.
2925         (setCacheFolder): Added function to set cache folder.
2926         (createCrashReport): Use new getAppDataFolder function.
2927         (wWinMain): Use function setCacheFolder to set cache folder location.
2928
2929 2014-01-23  Daniel Bates  <dabates@apple.com>
2930
2931         build-webkit --sdk=iphonesimulator doesn't think it's building iOS
2932         https://bugs.webkit.org/show_bug.cgi?id=127379
2933
2934         Reviewed by Simon Fraser.
2935
2936         Teach build-webkit to recognize --sdk=X.
2937
2938         Currently, build-webkit recognizes --sdk X to specify X as the Xcode SDK to use, which is also
2939         considered when determining the WebKit port to build. But build-webkit advertises --sdk=X in its
2940         help message. We should teach build-webkit to recognize both --sdk X and --sdk=X to make its handling
2941         of --sdk more consistent with the handling of other build-webkit options that take a value (e.g. --prefix).
2942
2943         * Scripts/webkitdirs.pm:
2944         (checkForArgumentAndRemoveFromArrayRefGettingValue): Added.
2945         (checkForArgumentAndRemoveFromARGVGettingValue): Modified to call checkForArgumentAndRemoveFromArrayRefGettingValue().
2946         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl: Added.
2947
2948 2014-01-23  Commit Queue  <commit-queue@webkit.org>
2949
2950         Unreviewed, rolling out r162612.
2951         http://trac.webkit.org/changeset/162612
2952         https://bugs.webkit.org/show_bug.cgi?id=127488
2953
2954         broke the build (Requested by mhahnenberg on #webkit).
2955
2956         * Scripts/build-jsc:
2957         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Removed.
2958         * jsc-cli/jsc-cli/CLIInstance.h: Removed.
2959         * jsc-cli/jsc-cli/CLIInstance.m: Removed.
2960         * jsc-cli/jsc-cli/JSModule.h: Removed.
2961         * jsc-cli/jsc-cli/JSModule.m: Removed.
2962         * jsc-cli/jsc-cli/JSRunLoopThread.h: Removed.
2963         * jsc-cli/jsc-cli/JSRunLoopThread.m: Removed.
2964         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Removed.
2965         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Removed.
2966         * jsc-cli/jsc-cli/RunLoopThread.h: Removed.
2967         * jsc-cli/jsc-cli/RunLoopThread.m: Removed.
2968         * jsc-cli/jsc-cli/ScriptInputSource.h: Removed.
2969         * jsc-cli/jsc-cli/ScriptInputSource.m: Removed.
2970         * jsc-cli/jsc-cli/main.m: Removed.
2971
2972 2014-01-23  Mark Hahnenberg  <mhahnenberg@apple.com>
2973
2974         Basic framework for a modern jsc CLI
2975         https://bugs.webkit.org/show_bug.cgi?id=127435
2976
2977         Reviewed by Geoffrey Garen.
2978
2979         The most basic components of a modern jsc command line interface consist of the following:
2980
2981         - A simple REPL to enter commands and receive results
2982         - The ability to define a module (which consists of various internal methods as well as a 
2983           set of externally visible methods)
2984         - The ability to load other modules at runtime
2985         - The ability to interact with the underlying platform to perform various "privileged" 
2986           functions (e.g. opening files, printing to the stdout, etc.)
2987         
2988         The basic architecture will look something like the following:
2989         - If the tool is run in REPL mode (i.e. no command line arguments), it will start the REPL 
2990           on the main thread and start a secondary thread with a run loop to handle various inputs 
2991           from the REPL thread.
2992         - If the tool is given a script to run, it will evaluate that script (and any scripts that 
2993           it might transitively load) within the run loop on the secondary thread while the main 
2994           thread blocks until it has completed.
2995
2996         * Scripts/build-jsc:
2997         * jsc-cli: Added.
2998         * jsc-cli/jsc-cli: Added.
2999         * jsc-cli/jsc-cli.xcodeproj: Added.
3000         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Added.
3001         * jsc-cli/jsc-cli/CLIInstance.h: Added.
3002         * jsc-cli/jsc-cli/CLIInstance.m: Added.
3003         (-[CLIInstance init]):
3004         (-[CLIInstance loadFile:]):
3005         (-[CLIInstance run]):
3006         * jsc-cli/jsc-cli/JSModule.h: Added.
3007         * jsc-cli/jsc-cli/JSModule.m: Added.
3008         (coreModules):
3009         (isCoreModule):
3010         (classForModule):
3011         (coreModuleFullPath):
3012         (resolveModuleAsFile):
3013         (resolveModuleAsDirectory):
3014         (nodeModulePaths):
3015         (resolveAsNodeModule):
3016         (+[JSModule resolve:atPath:]):
3017         (globalModuleCache):
3018         (isCached):
3019         (cachedModule):
3020         (cacheModule):
3021         (+[JSModule require:atPath:]):
3022         (+[JSModule require:atPath:inContext:]):
3023         (-[JSModule platformObjectInContext:]):
3024         (-[JSModule initWithId:filename:context:]):
3025         (-[JSModule dealloc]):
3026         (-[JSModule didStartLoading]):
3027         (-[JSModule didFinishLoading]):
3028         (-[JSModule require:]):
3029         (-[JSModule exports]):
3030         * jsc-cli/jsc-cli/JSRunLoopThread.h: Added.
3031         * jsc-cli/jsc-cli/JSRunLoopThread.m: Added.
3032         (jsThreadMain):
3033         (+[JSRunLoopThread threadMain]):
3034         (-[JSRunLoopThread initWithFiles:andContext:]):
3035         (-[JSRunLoopThread startRunLoop]):
3036         (-[JSRunLoopThread start]):
3037         (-[JSRunLoopThread join]):
3038         (-[JSRunLoopThread didReceiveInput:]):
3039         (-[JSRunLoopThread performCallback:withError:]):
3040         (-[JSRunLoopThread performCallback:withArguments:]):
3041         (-[JSRunLoopThread didFinishRunLoopInitialization]):
3042         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Added.
3043         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Added.
3044         (-[ReadEvalPrintLoop initWithJSThread:]):
3045         (prompt):
3046         (escapeStringForOutput):
3047         (-[ReadEvalPrintLoop processNextInput]):
3048         (-[ReadEvalPrintLoop run]):
3049         * jsc-cli/jsc-cli/RunLoopThread.h: Added.
3050         * jsc-cli/jsc-cli/RunLoopThread.m: Added.
3051         (+[RunLoopThread threadMain]):
3052         (-[RunLoopThread init]):
3053         (-[RunLoopThread dealloc]):
3054         (-[RunLoopThread didFinishRunLoopInitialization]):
3055         (-[RunLoopThread start]):
3056         (-[RunLoopThread join]):
3057         * jsc-cli/jsc-cli/ScriptInputSource.h: Added.
3058         * jsc-cli/jsc-cli/ScriptInputSource.m: Added.
3059         (scriptInputSourceScheduleRoutine):
3060         (scriptInputSourcePerformRoutine):
3061         (scriptInputSourceCancelRoutine):
3062         (-[ScriptInputSource initWithContext:]):
3063         (-[ScriptInputSource dealloc]):
3064         (-[ScriptInputSource addToCurrentRunLoop]):
3065         (-[ScriptInputSource removeFromRemoteRunLoop]):
3066         (-[ScriptInputSource didReceiveScript:]):
3067         (-[ScriptInputSource didReceiveSignal]):
3068         (-[ScriptInputSource runScriptRemotely:]):
3069         (-[ScriptInputSource finishAsyncCallback:withResult:]):
3070         * jsc-cli/jsc-cli/main.m: Added.
3071         (main):
3072
3073 2014-01-23  László Langó  <llango.u-szeged@partner.samsung.com>
3074
3075         Remove a FIXME comment that is already fixed.
3076         https://bugs.webkit.org/show_bug.cgi?id=127468
3077
3078         Reviewed by Csaba Osztrogonác.
3079
3080         * Scripts/webkitpy/style/filereader.py:
3081         (TextFileReader.__init__):
3082
3083 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3084
3085         [GLIB] Use GUniquePtr instead of GOwnPtr
3086         https://bugs.webkit.org/show_bug.cgi?id=127431
3087
3088         Reviewed by Martin Robinson.
3089
3090         GUniquePtr is a template alias of std::unique_ptr with a custom
3091         deleter that replaces GOwnPtr. GOwnPtr is still used for the cases
3092         where the output pointer is needed, but it will also be replaced soon.
3093
3094         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
3095         (printAccessibilityEvent):
3096         (axObjectEventListener):
3097         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3098         (indexRangeInTable):
3099         (AccessibilityUIElement::role):
3100         (AccessibilityUIElement::title):
3101         (AccessibilityUIElement::description):
3102         (AccessibilityUIElement::stringValue):
3103         (AccessibilityUIElement::language):
3104         (AccessibilityUIElement::lineForIndex):
3105         (AccessibilityUIElement::selectedTextRange):
3106         (AccessibilityUIElement::url):
3107         * DumpRenderTree/efl/AccessibilityControllerEfl.cpp:
3108         (AccessibilityController::accessibleElementById):
3109         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3110         (AccessibilityController::accessibleElementById):
3111         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3112         (getOutputDir):
3113         (getFontsPath):
3114         (initializeFonts):
3115         (dumpFramesAsText):
3116         (compareHistoryItems):
3117         (dumpHistoryItem):
3118         (soupURIToStringPreservingPassword):
3119         (resetDefaultsToConsistentValues):
3120         (temporaryDatabaseDirectory):
3121         (webViewTitleChanged):
3122         (webFrameLoadStatusNotified):
3123         (pathFromSoupURI):
3124         (convertWebResourceToURLPath):
3125         (urlSuitableForTestResult):
3126         (descriptionSuitableForTestResult):
3127         (willSendRequestCallback):
3128         (frameLoadEventCallback):
3129         * DumpRenderTree/gtk/EditingCallbacks.cpp:
3130         (dumpNodePath):
3131         (dumpRange):
3132         (shouldApplyStyle):
3133         * DumpRenderTree/gtk/EventSender.cpp:
3134         (contextClickCallback):
3135         (beginDragWithFilesCallback):
3136         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
3137         (TestRunner::pathToLocalResource):
3138         (TestRunner::queueLoad):
3139         (TestRunner::removeOriginAccessWhitelistEntry):
3140         (TestRunner::setMockGeolocationPositionUnavailableError):
3141         (TestRunner::setIconDatabaseEnabled):
3142         (TestRunner::findString):
3143         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
3144         (TestRunner::overridePreference):
3145         (TestRunner::addUserScript):
3146         (TestRunner::addUserStyleSheet):
3147         (TestRunner::setTextDirection):
3148         * DumpRenderTree/gtk/TextInputController.cpp:
3149         (setMarkedTextCallback):
3150         (insertTextCallback):
3151         (doCommandCallback):
3152         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3153         (LoadHTMLStringItem::invoke):
3154         * TestWebKitAPI/PlatformGTK.cmake:
3155         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3156         (WebKitDOMNodeTest::testTagNames):
3157         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
3158         (testBackForwardListLimitAndCache):
3159         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
3160         (testContextMenuSmartSeparators):
3161         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
3162         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3163         (testDownloadLocalFile):
3164         (testDownloadLocalFileError):
3165         (addContentDispositionHTTPHeaderToResponse):
3166         (serverCallback):
3167         (testDownloadRemoteFileError):
3168         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
3169         (startTestServer):
3170         (testInspectorServerPageList):
3171         (openRemoteDebuggingSession):
3172         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
3173         (testPrintOperationPrint):
3174         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3175         (addCacheHTTPHeadersToResponse):
3176         (serverCallback):
3177         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
3178         (httpsServerCallback):
3179         (httpServerCallback):
3180         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3181         (testWebViewJavaScriptDialogs):
3182         (testWebViewWindowProperties):
3183         (testWebViewFileChooserRequest):
3184         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
3185         (testWebExtensionWindowObjectCleared):
3186         (testWebExtensionIsolatedWorld):
3187         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
3188         (startTestServer):
3189         (checkAtspiAccessible):
3190         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
3191         (serverCallback):
3192         (testClearDatabase):
3193         (testGetFaviconURI):
3194         (webkitFaviconDatabaseFinalizedCallback):
3195         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3196         (testWebContextGetPlugins):
3197         (testWebContextURIScheme):
3198         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3199         (testWebViewRunJavaScript):
3200         (testWebViewMode):
3201         (testWebViewPageVisibility):
3202         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
3203         (isStyleSheetInjectedForURLAtPath):
3204         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
3205         (testWebViewEditorCutCopyPasteNonEditable):
3206         (testWebViewEditorCutCopyPasteEditable):
3207         (testWebViewEditorSelectAllNonEditable):
3208         (testWebViewEditorSelectAllEditable):
3209         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3210         (sendRequestCallback):
3211         (methodCallCallback):
3212         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
3213         (TestWebKitAPI::Util::createInjectedBundlePath):
3214         (TestWebKitAPI::Util::createURLForResource):
3215         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3216         (TestWebKitAPI::doKeyStroke):
3217         (TestWebKitAPI::doMouseButtonEvent):
3218         (TestWebKitAPI::PlatformWebView::simulateMouseMove):
3219         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
3220         (loadFailedCallback):
3221         (LoadTrackingTest::loadURI):
3222         (LoadTrackingTest::loadHtml):
3223         (LoadTrackingTest::loadPlainText):
3224         (LoadTrackingTest::loadRequest):
3225         (LoadTrackingTest::reload):
3226         (LoadTrackingTest::goBack):
3227         (LoadTrackingTest::goForward):
3228         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
3229         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
3230         (registerGResource):
3231         (removeNonEmptyDirectory):
3232         (main):
3233         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
3234         (Test::getWebKit1TestResoucesDir):
3235         (Test::getResourcesDir):
3236         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
3237         (WebKitTestBus::run):
3238         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
3239         (WebKitTestServer::WebKitTestServer):
3240         (WebKitTestServer::getURIForPath):
3241         * TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp:
3242         (WebProcessTestRunner::runTest):
3243         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3244         (resourceGetDataCallback):
3245         (WebViewTest::mainResourceData):
3246         (WebViewTest::mouseMoveTo):
3247         (WebViewTest::keyStroke):
3248         (WebViewTest::doMouseButtonEvent):
3249         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3250         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3251         (WTR::AccessibilityController::accessibleElementById):
3252         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3253         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3254         (WTR::AccessibilityUIElement::role):
3255         (WTR::AccessibilityUIElement::title):
3256         (WTR::AccessibilityUIElement::description):
3257         (WTR::AccessibilityUIElement::stringValue):
3258         (WTR::AccessibilityUIElement::language):
3259         (WTR::AccessibilityUIElement::lineForIndex):
3260         (WTR::AccessibilityUIElement::selectedTextRange):
3261         (WTR::AccessibilityUIElement::url):
3262         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3263         (WTR::getOutputDir):
3264         (WTR::getFontsPath):
3265         (WTR::initializeFontConfigSetting):
3266         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp:
3267         (WTR::topLevelPath):
3268         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
3269         (WTR::TestRunner::pathToLocalResource):
3270         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3271         (WTR::TestController::initializeInjectedBundlePath):
3272         (WTR::TestController::initializeTestPluginDirectory):
3273
3274 2014-01-05  Martin Robinson  <mrobinson@igalia.com>
3275
3276         [GTK] [CMake] run-webkit-tests should support the CMake build
3277         https://bugs.webkit.org/show_bug.cgi?id=126503
3278
3279         Reviewed by Daniel Bates.
3280
3281         Update run-launcher and gtk.py to work properly when dealing with the CMake port.
3282         run-webkit-tests does not need the --gtkcmake flag, but run-launcher does.
3283
3284         * Scripts/run-launcher: Work properly with the gtkcmake flag.
3285         * Scripts/webkitpy/port/gtk.py:
3286         (GtkPort._is_cmake_build): Added this helper which looks for the CMakeCache
3287         file to detect a CMake build.
3288         (GtkPort._built_executables_path): Added this helper to locate the built executable path.
3289         (GtkPort._built_libraries_path): Added this helper to locate the built library path.
3290         (GtkPort._port_flag_for_scripts): Use --gtkcmake when appropriate.
3291         (GtkPort.setup_environ_for_server): The way CMake builds libraries differs from GTK+.
3292         (GtkPort._path_to_driver): Use the new helper.
3293         (GtkPort._path_to_image_diff): Use the new helper.
3294         (GtkPort._path_to_webcore_library): Use the new helper.
3295         (GtkPort.build_webkit_command): Use --gtkcmake when appropriate.
3296
3297 2014-01-22  Ryuan Choi  <ryuan.choi@samsung.com>
3298
3299         [EFL] Remove unnecessary smart method since ewk_view_tiled removed
3300         https://bugs.webkit.org/show_bug.cgi?id=127417
3301
3302         Reviewed by Gyuyoung Kim.
3303
3304         * EWebLauncher/main.c:
3305         (on_key_down): Removed shortcut to test pre render.
3306
3307 2014-01-22  Myles C. Maxfield  <mmaxfield@apple.com>
3308
3309         Remove CSS3_TEXT_DECORATION define
3310         https://bugs.webkit.org/show_bug.cgi?id=127333
3311
3312         This is required for unprefixing the text-decoration-* CSS properties.
3313
3314         Reviewed by Simon Fraser.
3315
3316         * Configurations/FeatureDefines.xcconfig:
3317
3318 2014-01-22  Andy Estes  <aestes@apple.com>
3319
3320         [iOS] Prepare for upstreaming DumpRenderTree changes
3321         https://bugs.webkit.org/show_bug.cgi?id=127412
3322
3323         Reviewed by Simon Fraser.
3324
3325         Unlike on Mac where DumpRenderTree is a command-line tool, on iOS it is
3326         an application bundle. Instead of upstreaming a separate target for the
3327         app that duplicates the 'Compile Sources' phase of the tool, separate
3328         out the compilation into a static library target that both the
3329         command-line tool and the app can link against. Also, perform some
3330         unrelated cleanup.
3331
3332         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated the
3333         project file format from 2.4- to 3.2-compatible. Removed the
3334         'Copy Headers' build phase and removed all files from the
3335         'Compile Sources' build phase of DumpRenderTree. Added some files that
3336         were missing from the project. Created a 'DumpRenderTree (Library)'
3337         target for building the static library and made the 'DumpRenderTree'
3338         target depend on it. Added a 'Compile Sources' build phase to this
3339         target that builds the same files the DumpRenderTree target used to.
3340         Created DumpRenderTreeMain.mm as the only source file of the
3341         DumpRenderTree target, since targets won't link a binary without at
3342         least one source file. Made DumpRenderTree (Library) use
3343         DumpRenderTreeLibrary.xcconfig and made LayoutTestHelper use
3344         BaseTarget.xcconfig (so that it doesn't try to link libDumpRenderTree.a).
3345         * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig: Moved
3346         definitions of GCC_ENABLE_OBJC_EXCEPTIONS and GCC_PREFIX_HEADER from
3347         DumpRenderTree.xcconfig to here so that LayoutTestHelper can use them.
3348         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Passed
3349         -force_load $(BUILT_PRODUCTS_DIR)libDumpRenderTree.a to OTHER_LDFLAGS.
3350         This is needed to correctly link a static library containing an Objective-C
3351         category (see <https://developer.apple.com/library/mac/qa/qa1490/_index.html>).
3352         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Added.
3353         * DumpRenderTree/mac/DumpRenderTree.mm:
3354         (DumpRenderTreeMain): Renamed from main.
3355         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added declaration of DumpRenderTreeMain.
3356         * DumpRenderTree/mac/DumpRenderTreeMain.mm: Added.
3357         (main): Called DumpRenderTreeMain from main.
3358
3359 2014-01-15  Martin Robinson  <mrobinson@igalia.com>
3360
3361         [GTK][CMake] build-webkit should try harder to avoid re-running cmake
3362         https://bugs.webkit.org/show_bug.cgi?id=127073
3363
3364         Reviewed by Daniel Bates.
3365
3366         * Scripts/build-webkit: Unify all the ports that call buildCMakeProjectOrExit with
3367         the new isCMakeBuild conditional. This allows us to share more code between ports.
3368         Pass the build arguments to the removeCMakeCache function.
3369         * Scripts/webkitdirs.pm:
3370         (runAutogenForAutotoolsProjectIfNecessary): Renamed mustReRunAutogen to cachedArgumentFileOutOfDate
3371         because it's now shared with the CMake build.
3372         (cachedArgumentFileOutOfDate): Renamed.
3373         (cmakeCachePath): Added this helper which gets the CMakeCache.txt path.
3374         (shouldRemoveCMakeCache): Tries to preserve current behavior for all ports, 
3375         except GTK+ which examines the OptionsGTK.cmake and OptionsCommon.cmake file
3376         as well as checking if build-webkit has been run with different arguments.
3377         (removeCMakeCache): Call shouldRemoveCMakeCache now.
3378         (generateBuildSystemFromCMakeProject): Exit early if CMakeCache.txt exists for GTK+.
3379         (isCMakeBuild): Added.
3380
3381 2014-01-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
3382
3383         [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled
3384         https://bugs.webkit.org/show_bug.cgi?id=127119
3385
3386         Reviewed by Mario Sanchez Prada.
3387
3388         Guarding ACCESSIBILITY code in DumpRenderTree and WebKitTestRunner with HAVE(ACCESSIBILITY).
3389
3390         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3391         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3392         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3393         (resetDefaultsToConsistentValues):
3394         (webViewWindowObjectCleared):
3395         (main):
3396         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
3397         (WTR::AccessibilityController::platformName):
3398         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3399         (WTR::AccessibilityUIElement::isIndeterminate):
3400
3401 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3402
3403
3404         [GTK] Add GUniquePtr
3405         https://bugs.webkit.org/show_bug.cgi?id=127170
3406
3407         Reviewed by Gustavo Noronha Silva.
3408
3409         Add unit tests for GUniquePtr.
3410
3411         * TestWebKitAPI/GNUmakefile.am: Add new file to compilation.
3412         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp: Added.
3413         (log):
3414         (takeLogStr):
3415         (TestWebKitAPI::TEST):
3416
3417 2014-01-22  Jinwoo Song  <jinwoo7.song@samsung.com>
3418
3419         Remove Nix files from Tools
3420         https://bugs.webkit.org/show_bug.cgi?id=127418
3421
3422         Reviewed by Csaba Osztrogonác.
3423
3424         * Scripts/build-webkit:
3425         * Scripts/update-webkit-libs-jhbuild:
3426         * Scripts/webkitdirs.pm:
3427         (determineArchitecture):
3428         (argumentsForConfiguration):
3429         (jscProductDir):
3430         (builtDylibPathForName):
3431         (isAppleWebKit):
3432         (launcherPath):
3433         (launcherName):
3434         (checkRequiredSystemConfig):
3435         (copyInspectorFrontendFiles):
3436         (jhbuildWrapperPrefixIfNeeded):
3437         (buildCMakeProjectOrExit):
3438         (cmakeBasedPortName):
3439         * Scripts/webkitpy/common/config/ports.py:
3440         (DeprecatedPort.port):
3441         (EflWK2Port.build_webkit_command):
3442         * Scripts/webkitpy/port/factory.py:
3443         (platform_options):
3444         (PortFactory):
3445         * Scripts/webkitpy/port/nix.py: Removed.
3446         * Scripts/webkitpy/port/nix_unittest.py: Removed.
3447
3448 2014-01-21  Benjamin Poulain  <benjamin@webkit.org>
3449
3450         Add Ian and Ricky to the contributor list
3451
3452         * Scripts/webkitpy/common/config/contributors.json:
3453         I am too old to remember all those email addresses :)
3454
3455 2014-01-21  David Farler  <dfarler@apple.com>
3456
3457         Upstream package-root for iOS
3458
3459         Reviewed by Daniel bates.
3460
3461         * Scripts/package-root: Added.
3462         (usage):
3463         * Scripts/webkitdirs.pm:
3464         (XcodeSDKPath): Added function.
3465
3466 2014-01-21  Daniel Bates  <dabates@apple.com>
3467
3468         [iOS] Tools/Makefile shouldn't build modules DumpRenderTree, gtest, or TestWebKitAPI
3469         https://bugs.webkit.org/show_bug.cgi?id=127368
3470
3471         Reviewed by Tim Horton.
3472
3473         Similar to the build-webkit change in <https://bugs.webkit.org/show_bug.cgi?id=127364>,
3474         we don't want to build DumpRenderTree, gtest, or TestWebKitAPI when running make in
3475         Tools.
3476
3477         * Makefile:
3478
3479 2014-01-21  Daniel Bates  <dabates@apple.com>
3480
3481         [iOS] Don't build DumpRenderTree, gtest, or TestWebKitAPI
3482         https://bugs.webkit.org/show_bug.cgi?id=127364
3483
3484         Reviewed by Simon Fraser.
3485
3486         For now, don't build DumpRenderTree and TestWebKitAPI for iOS as these
3487         projects fail to build because we need to upstream the relevant iOS changes.