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