57f66c74962af4c1aaaba59a8c536429e39a2f92
[WebKit-https.git] / Tools / ChangeLog
1 2014-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         [GTK] Do not include JavaScriptCore stress tests in release tarballs
4         https://bugs.webkit.org/show_bug.cgi?id=135503
5
6         Reviewed by Martin Robinson.
7
8         * gtk/manifest.txt: Exclude Source/JavaScriptCore/tests dir.
9
10 2014-07-30  David Farler  <dfarler@apple.com>
11
12         build-webkittestrunner doesn't build the app target for iOS SDKs
13         https://bugs.webkit.org/show_bug.cgi?id=135433
14
15         Reviewed by Dan Bernstein.
16
17         * Scripts/build-dumprendertree: Build the app target on iOS.
18         * Scripts/build-webkittestrunner: Build the app target on iOS.
19         * Scripts/webkitdirs.pm: Add -sdk flags when building for iOS.
20         (buildXCodeProject):
21         * Scripts/webkitpy/port/ios.py: Use --sdk flags instead of SDKROOT.
22         (IOSSimulatorPort._build_driver_flags):
23
24 2014-07-30  David Farler  <dfarler@apple.com>
25
26         Remove iOS Perl DumpRenderTree support target
27         https://bugs.webkit.org/show_bug.cgi?id=135271
28
29         Reviewed by Dan Bernstein.
30
31         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Remove the target.
32         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport.c: Removed.
33         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Removed.
34         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Removed.
35         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Changes: Removed.
36         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/IPhoneSimulatorNotification.xs: Removed.
37         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/MANIFEST: Removed.
38         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: Removed.
39         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/README: Removed.
40         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: Removed.
41         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/ppport.h: Removed.
42         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/t/IPhoneSimulatorNotification.t: Removed.
43         * DumpRenderTree/ios/PerlSupport/Makefile: Removed.
44
45 2014-07-30  David Farler  <dfarler@apple.com>
46
47         Remove old-run-webkit-tests
48         https://bugs.webkit.org/show_bug.cgi?id=135374
49
50         Reviewed by Csaba Osztrogonác.
51
52         * Scripts/old-run-webkit-tests: Removed.
53
54 2014-08-02  Dan Bernstein  <mitz@apple.com>
55
56         prepare-ChangeLog --no-write shouldn’t require ChangeLog to exist
57         https://bugs.webkit.org/show_bug.cgi?id=135542
58
59         Reviewed by Tim Horton.
60
61         * Scripts/prepare-ChangeLog:
62         (main): Pass $writeChangeLogs for the new requireChangeLogToExist parameter of
63         findChangeLogs.
64         (findChangeLogs): Don’t require a ChangeLog file to exist if unless the
65         requireChangeLogToExist argument is true.
66
67 2014-08-01  Dan Bernstein  <mitz@apple.com>
68
69         commit-log-editor uses a non-standard message format when git index contains no ChangeLog changes
70         https://bugs.webkit.org/show_bug.cgi?id=135527
71
72         Reviewed by Tim Horton.
73
74         * Scripts/commit-log-editor:
75         In the case of a git repository when there are no changed ChangeLog files, changed to pass
76         the --delimiters option to prepare-ChangeLog, then process each entry in the output using
77         commitMessageFromChangeLogEntry.
78         (commitMessageFromChangeLogEntry): Factored out from createCommitMessage.
79         (sortKey): Factored out from createCommitMessage.
80         (createCommitMessage): Changed to use new sortKey and commitMessageFromChangeLogEntry
81         subroutines.
82
83         * Scripts/prepare-ChangeLog:
84         (main): Parse new --delimiters option.
85         (generateNewChangeLogs): When --no-write and --delimiters are both specified, always print
86         the label before each change log entry, and a "~" delimiter on a new line after each entry.
87
88 2014-08-01  Bear Travis  <betravis@adobe.com>
89
90         [Feature Queries] Enable Feature Queries on EFL/GTK
91         https://bugs.webkit.org/show_bug.cgi?id=134902
92
93         Reviewed by Benjamin Poulain.
94
95         Turn the feature on by default for the build script.
96
97         * Scripts/webkitperl/FeatureList.pm:
98
99 2014-08-01  Timothy Horton  <timothy_horton@apple.com>
100
101         Build fix for 32-bit after r171926.
102
103         * MiniBrowser/mac/SettingsController.h:
104         * MiniBrowser/mac/SettingsController.m:
105
106 2014-08-01  Tim Horton  <timothy_horton@apple.com>
107
108         Confusing build fix after r171926.
109
110         * MiniBrowser/mac/AppDelegate.h:
111         * MiniBrowser/mac/AppDelegate.m:
112         * MiniBrowser/mac/SettingsController.m:
113
114 2014-08-01  Tim Horton  <timothy_horton@apple.com>
115
116         Make it easer to add switches to MiniBrowser
117         https://bugs.webkit.org/show_bug.cgi?id=135499
118
119         Reviewed by Simon Fraser.
120
121         Add a single class to manage a set of persistent, global settings for MiniBrowser.
122         Add a new menu that contains items to toggle the aforementioned settings (moving them out of the Debug menu).
123
124         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
125         Add SettingsController.{m, h}.
126
127         * MiniBrowser/mac/AppDelegate.h:
128         Move _browserWindowControllers to the implementation.
129         Get rid of toggleUseWebKit2ByDefault, because SettingsController now takes care
130         of that; instead, we'll receive didChangeSettings.
131
132         * MiniBrowser/mac/AppDelegate.m:
133         Move the default URL, default URL preference key, and use-WebKit2-by-default
134         preference key into SettingsController.
135
136         (-[BrowserAppDelegate awakeFromNib]):
137         Add the dynamically-generated SettingsController menu just to the left of the Debug menu.
138
139         (-[BrowserAppDelegate newWindow:]):
140         Ask SettingsController if we should use WebKit2 by default, and what the initial URL to load is.
141
142         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
143         SettingsController now takes care of reading the default URL preference.
144         WK1BrowserWindowController now takes care of enabling the developer extras, via WebPreferences.
145
146         (-[BrowserAppDelegate didChangeSettings]):
147         When settings change, update the key equivalents for the new-window menu items, as they
148         might have changed (as use-WebKit2-by-default is one of the settings).
149
150         Dispatch settings change notifications to all live BrowserControllers.
151
152         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
153         (-[BrowserAppDelegate toggleUseWebKit2ByDefault:]): Deleted.
154         (-[BrowserAppDelegate _useWebKit2ByDefault]): Deleted.
155         (-[BrowserAppDelegate validateMenuItem:]): Deleted.
156         All menu item validation for settings is moved into SettingsController.
157
158         * MiniBrowser/mac/BrowserWindowController.h:
159         Simplify the BrowserWindowController interface; "toggling" settings will happen inside SettingsController,
160         the BrowserWindowController subclasses will be able to a) know when any setting changes, b) query the current setting state.
161
162         * MiniBrowser/mac/MainMenu.xib:
163         Remove the settings menu items from the "Debug" menu.
164
165         * MiniBrowser/mac/SettingsController.h: Added.
166         * MiniBrowser/mac/SettingsController.m: Added.
167         (+[SettingsController shared]):
168         (-[SettingsController menu]):
169
170         (-[SettingsController _addItemWithTitle:action:indented:]):
171         (-[SettingsController _addHeaderWithTitle:]):
172         NSMenuItem-creating helpers.
173
174         (-[SettingsController _populateMenu]):
175         Build the menu. Ideally this and the validation step would eventually be made more dynamic.
176
177         (-[SettingsController validateMenuItem:]):
178         Validate menu items; since they can be used to toggle the default state of a setting,
179         we'll always return YES. However, we will use this opportunity to set the 'checked' state
180         of each item.
181
182
183         (-[SettingsController _toggleBooleanDefault:]):
184         Toggle the given boolean default, and notify BrowserAppDelegate that something changed.
185
186         (-[SettingsController toggleUseWebKit2ByDefault:]):
187         (-[SettingsController useWebKit2ByDefault]):
188         (-[SettingsController toggleUseTransparentWindows:]):
189         (-[SettingsController useTransparentWindows]):
190         (-[SettingsController toggleUsePaginatedMode:]):
191         (-[SettingsController usePaginatedMode]):
192         (-[SettingsController toggleUseUISideCompositing:]):
193         (-[SettingsController useUISideCompositing]):
194         (-[SettingsController toggleShowLayerBorders:]):
195         (-[SettingsController layerBordersVisible]):
196         (-[SettingsController toggleShowTiledScrollingIndicator:]):
197         (-[SettingsController tiledScrollingIndicatorVisible]):
198         (-[SettingsController toggleEnableSubPixelCSSOMMetrics:]):
199         (-[SettingsController subPixelCSSOMMetricsEnabled]):
200         (-[SettingsController defaultURL]):
201         Toggle or return the current state of each preference.
202
203         * MiniBrowser/mac/WK1BrowserWindowController.m:
204         (-[WK1BrowserWindowController awakeFromNib]):
205         (-[WK1BrowserWindowController validateMenuItem:]):
206         (-[WK1BrowserWindowController windowWillClose:]):
207         (-[WK1BrowserWindowController find:]):
208         (-[WK1BrowserWindowController dumpSourceToConsole:]):
209         (-[WK1BrowserWindowController didChangeSettings]):
210         (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
211         (-[WK1BrowserWindowController isPaginated]): Deleted.
212         (-[WK1BrowserWindowController togglePaginationMode:]): Deleted.
213         (-[WK1BrowserWindowController toggleTransparentWindow:]): Deleted.
214         (-[WK1BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]): Deleted.
215         (-[WK1BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]): Deleted.
216         (-[WK1BrowserWindowController layerBordersVisible]): Deleted.
217         (-[WK1BrowserWindowController toggleLayerBordersVisibility:]): Deleted.
218         * MiniBrowser/mac/WK2BrowserWindowController.m:
219         (-[WK2BrowserWindowController awakeFromNib]):
220         (-[WK2BrowserWindowController validateMenuItem:]):
221         (-[WK2BrowserWindowController forceRepaint:]):
222         (-[WK2BrowserWindowController windowWillClose:]):
223         (-[WK2BrowserWindowController didChangeSettings]):
224         (-[WK2BrowserWindowController isPaginated]): Deleted.
225         (-[WK2BrowserWindowController togglePaginationMode:]): Deleted.
226         (-[WK2BrowserWindowController toggleTransparentWindow:]): Deleted.
227         (-[WK2BrowserWindowController isUISideCompositingEnabled]): Deleted.
228         (-[WK2BrowserWindowController toggleUISideCompositing:]): Deleted.
229         (-[WK2BrowserWindowController layerBordersVisible]): Deleted.
230         (-[WK2BrowserWindowController toggleLayerBordersVisibility:]): Deleted.
231         (-[WK2BrowserWindowController tiledScrollingIndicatorVisible]): Deleted.
232         (-[WK2BrowserWindowController toggleTiledScrollingIndicatorVisibility:]): Deleted.
233
234 2014-08-01  Tim Horton  <timothy_horton@apple.com>
235
236         MiniBrowser doesn't support data URLs
237         https://bugs.webkit.org/show_bug.cgi?id=135492
238
239         Reviewed by Simon Fraser.
240
241         * MiniBrowser/mac/BrowserWindowController.m:
242         (-[BrowserWindowController addProtocolIfNecessary:]):
243         Don't add http:// to data: URLs.
244
245         * MiniBrowser/mac/WK2BrowserWindowController.m:
246         (-[WK2BrowserWindowController fetch:]):
247         (-[WK2BrowserWindowController updateTextFieldFromURL:]):
248         Percent-escape the contents of the address field before trying to make a URL.
249         Percent-unescape the URL when displaying it in the address field.
250         This is not great, but trivial and good-enough-for-Minibrowser.
251
252 2014-07-31  Ryuan Choi  <ryuan.choi@samsung.com>
253
254         [EFL][WK2] MiniBrower comes to crash when combo box is pressed
255         https://bugs.webkit.org/show_bug.cgi?id=135378
256
257         Reviewed by Gyuyoung Kim.
258
259         "clicked" signal of elm_menu is emitted after EwkView calls popup_menu_hide
260         and removes Ewk_Popup_Menu instance.
261
262         * MiniBrowser/efl/main.c:
263         (on_popup_menu_show):
264         (on_popup_menu_discarded): Deleted.
265
266 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
267
268         [Win] Use RC_PROJECTBUILDVERSION as build portion of version
269         https://bugs.webkit.org/show_bug.cgi?id=135478
270
271         Reviewed by David Kilzer.
272
273         Add new test suite for the version-stamp program.
274
275         * Scripts/webkitperl/auto-version_unittest/versionStampTests.pl: Added.
276
277 2014-07-31  Dan Bernstein  <mitz@apple.com>
278
279         Reverted r171893, because it broke http/tests/appcache/different-https-origin-resource-main.html,
280         which loads HTTPS content without calling the delegate.
281
282         Rubber-stamped by Alexey Proskuryakov.
283
284         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
285         (WTR::InjectedBundle::platformInitialize):
286         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
287         (WTR::InjectedBundle::platformInitialize):
288
289 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
290
291         Unreviewed typo correction (and build fix).
292
293         * MiniBrowser/mac/WK2BrowserWindowController.m:
294         (-[WK2BrowserWindowController awakeFromNib]): Use correct
295         property name (_fullScreenIsEnabled -> _fullScreenEnabled)
296
297 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
298
299         MiniBrowser Should Support Fullscreen Videos in WebKit2 Mode
300         https://bugs.webkit.org/show_bug.cgi?id=135482
301
302         Reviewed by Simon Fraser.
303
304         * MiniBrowser/mac/WK2BrowserWindowController.m:
305         (-[WK2BrowserWindowController awakeFromNib]): Activate the Fullscreen
306         feature.
307
308 2014-07-31  Alexey Proskuryakov  <ap@apple.com>
309
310         [Mac, iOS] Remove -setAllowsAnyHTTPSCertificate calls
311         https://bugs.webkit.org/show_bug.cgi?id=135472
312
313         Reviewed by Dan Bernstein.
314
315         We now handle server trust challenges, and don't need such hacks.
316
317         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
318         (WTR::InjectedBundle::platformInitialize):
319         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
320         (WTR::InjectedBundle::platformInitialize):
321
322 2014-07-31  Alexey Proskuryakov  <ap@apple.com>
323
324         media/track/add-and-remove-track.html and media/media-fragments/TC0001.html are flaky
325         on Mac WK2 EWS, asserting under TestRunner::removeAllWebNotificationPermissions
326         https://bugs.webkit.org/show_bug.cgi?id=135418
327
328         Reviewed by Anders Carlsson.
329
330         This was only happening in shared web process mode, because WKBundlePostMessage
331         has different behavior then. When there is no process, the message is dropped on
332         the floor in multiple process mode, but it's stored to be delivered after launch
333         in shared process mode.
334
335         So, calling resetStateToConsistentValues() resulted in storing a Reset bundle message
336         that was delivered immediately after launch, when there was nothing to reset.
337
338         We don't actually need to reset anything at this point, as the previous call has
339         already reset everything UI process side, and web process is brand new. All we need
340         is to reattach the page to a process, as invoke() expects one to exist.
341
342         * WebKitTestRunner/TestController.cpp: (WTR::TestController::reattachPageToWebProcess):
343         * WebKitTestRunner/TestController.h:
344         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
345
346 2014-07-31  Dan Bernstein  <mitz@apple.com>
347
348         [WK2] Regression tests can't load HTTPS pages with NetworkProcess due to self-signed certificate
349         https://bugs.webkit.org/show_bug.cgi?id=115282
350
351         Reviewed by Sam Weinig.
352
353         * WebKitTestRunner/TestController.cpp:
354         (WTR::TestController::canAuthenticateAgainstProtectionSpaceInFrame): Return true for any
355         local host server trust protection space.
356         (WTR::TestController::didReceiveAuthenticationChallengeInFrame): Respond with a non-empty
357         credential to server trust challenges.
358
359 2014-07-31  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
360
361         [webkitpy] Make diff_text generate correct diff if there is no newline at the end of file
362         https://bugs.webkit.org/show_bug.cgi?id=135381
363
364         Reviewed by Csaba Osztrogonác.
365
366         * Scripts/webkitpy/port/base.py:
367         (Port.diff_text):
368         * Scripts/webkitpy/port/base_unittest.py:
369         (PortTest.test_diff_text):
370
371 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
372
373         Unreviewed. Fix GTK+ make distcheck.
374
375         * gtk/make-dist.py:
376         (ensure_version_if_possible): Use 4.0 instead of 3.0 as binary
377         version to find the pkg-config file.
378         * gtk/manifest.txt: Add missing resource to the tarball.
379
380 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
381
382         [GTK] make distcheck is building from sources dir instead of dist dir
383         https://bugs.webkit.org/show_bug.cgi?id=135457
384
385         Reviewed by Philippe Normand.
386
387         * gtk/make-dist.py:
388         (Distcheck.configure): Use dist_dir as source dir.
389         (Distcheck.check): Pass dist_dir to configure().
390
391 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
392
393         [GTK] Do not include files that are not in git in the tarball
394         https://bugs.webkit.org/show_bug.cgi?id=134804
395
396         Reviewed by Philippe Normand.
397
398         Skip all files in the source tree that are not under version control
399         except for files added from the build dir like the documentation.
400
401         * gtk/make-dist.py:
402         (Directory.__init__): Initialize the list of files under control version.
403         (Directory.list_cms_files): Helper function to list all files
404         under the control version for the current source root.
405         (Directory.should_skip_file): Return True for files that are not
406         under control version only when the source root is also under
407         control version.
408         (Directory.get_files): Filter the files also using should_skip_file().
409
410 2014-07-29  David Farler  <dfarler@apple.com>
411
412         iOS Simulator LayoutTestRelay
413         https://bugs.webkit.org/show_bug.cgi?id=135269
414
415         Reviewed by David Kilzer.
416
417         * LayoutTestRelay/Configurations/Base.xcconfig: Added.
418         * LayoutTestRelay/Configurations/DebugRelease.xcconfig: Added.
419         * LayoutTestRelay/LayoutTestRelay.xcodeproj/project.pbxproj: Added.
420         * LayoutTestRelay/LayoutTestRelay/LTPipeRelay.h: Added.
421         * LayoutTestRelay/LayoutTestRelay/LTPipeRelay.m: Added.
422         (-[LTPipeRelay inPipePath]):
423         (-[LTPipeRelay outPipePath]):
424         (-[LTPipeRelay errorPipePath]):
425         (-[LTPipeRelay outputStream]):
426         (-[LTPipeRelay initWithPrefix:]):
427         (-[LTPipeRelay setup]):
428         (-[LTPipeRelay tearDown]):
429         (-[LTPipeRelay connect]):
430         (-[LTPipeRelay disconnect]):
431         (-[LTPipeRelay createFIFOs]):
432         (-[LTPipeRelay destroyFIFOs]):
433         (-[LTPipeRelay relayStream:]):
434         (-[LTPipeRelay stream:handleEvent:]):
435         * LayoutTestRelay/LayoutTestRelay/LTRelay.h: Added.
436         * LayoutTestRelay/LayoutTestRelay/LTRelayController.h: Added.
437         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m: Added.
438         (-[LTRelayController uniqueAppPath]):
439         (-[LTRelayController uniqueAppURL]):
440         (-[LTRelayController uniqueAppIdentifier]):
441         (-[LTRelayController processName]):
442         (-[LTRelayController initWithDevice:productDir:appPath:identifierSuffix:dumpToolArguments:]):
443         (-[LTRelayController readFileHandle:]):
444         (-[LTRelayController receivedStandardOutputData:]):
445         (-[LTRelayController receivedStandardErrorData:]):
446         (-[LTRelayController disconnected]):
447         (-[LTRelayController connected]):
448         (-[LTRelayController crashWithMessage:]):
449         (-[LTRelayController launchSimulator]):
450         (-[LTRelayController bootDevice]):
451         (-[LTRelayController createUniqueApp]):
452         (-[LTRelayController killApp]):
453         (-[LTRelayController launchApp]):
454         (-[LTRelayController start]):
455         * LayoutTestRelay/LayoutTestRelay/main.m: Added.
456         (usage):
457         (getTestingSimDevice):
458         (getRequiredStringArgument):
459         (getRemainderArguments):
460         (main):
461         * LayoutTestRelay/Makefile: Added.
462         * Tools/Scripts/build-layouttestrelay: Added.
463
464 2014-07-29  Brent Fulgham  <bfulgham@apple.com>
465
466         [Win] Modify version numbering scheme to support 5-tuple versions
467         https://bugs.webkit.org/show_bug.cgi?id=135400
468         <rdar://problem/17849033>
469
470         Reviewed by David Kilzer.
471
472         Update test cases to recognize that we can only support Major
473         values from 0-65535, Minor values from 0-64, Tiny values from 0-999,
474         Micro values from 0-64, and Nano values from 0-999.
475
476         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Update
477         test expectations for physical limits.
478
479 2014-07-30  Carlos Garcia Campos  <cgarcia@igalia.com>
480
481         [GTK] GLib tests fail with recent GTK+ due to runtime warning about deprecated properties
482         https://bugs.webkit.org/show_bug.cgi?id=135411
483
484         Reviewed by Sergio Villar Senin.
485
486         Recent versions of GTK+ now warn at runtime when a deprecated
487         property or signal is used. A diagnostic mode was added that is
488         enabled by default, but that can be disabled by setting
489         G_ENABLE_DIAGNOSTIC=0. Runtime warnings are considered test
490         failures by gtester, so we need to run the tests with the
491         diganostic mode disabled.
492
493         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
494         (main):
495
496 2014-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
497
498         [GTK] Remove WebKitCertificateInfo from WebKit2GTK+ API
499         https://bugs.webkit.org/show_bug.cgi?id=134830
500
501         Reviewed by Gustavo Noronha Silva.
502
503         Update the SSL test for the API changes.
504
505         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
506         (testLoadFailedWithTLSErrors):
507
508 2014-07-24  David Farler  <dfarler@apple.com>
509
510         Add knowledge of the iOS Simulator to webkitpy
511         http://bugs.webkit.org/show_bug.cgi?id=133963
512
513         Reviewed by Simon Fraser.
514
515         * Scripts/webkitdirs.pm:
516         (argumentsForConfiguration): Add --ios-sim*
517         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
518         --runtime and --device-type args added.
519         * Scripts/webkitpy/port/base.py:
520         * Scripts/webkitpy/port/driver.py: Add simulator driver.
521         (IOSSimulatorDriver): Added.
522         * Scripts/webkitpy/port/factory.py: Add simulator platform.
523         * Scripts/webkitpy/port/ios.py: Added.
524
525 2014-07-29  Alexey Proskuryakov  <ap@apple.com>
526
527         fast/borders/border-radius-on-subpixel-position-non-hidpi.html fails on Retina machines
528         https://bugs.webkit.org/show_bug.cgi?id=135398
529
530         Reviewed by Zalan Bujtas.
531
532         * WebKitTestRunner/TestController.cpp: (WTR::TestController::updateWindowScaleForTest):
533         "hidpi-" should be at the start. This allows "hidpi-" in both file and directory names.
534
535         * DumpRenderTree/mac/DumpRenderTree.mm: (changeWindowScaleIfNeeded): Same fix.
536         For some reason, I wasn't seeing this test fail on WK1 even without the fix, not
537         sure why.
538
539 2014-07-29  Alexey Proskuryakov  <ap@apple.com>
540
541         PPT: run-webkit-tests doesn't upload crash logs to bots
542         https://bugs.webkit.org/show_bug.cgi?id=135391
543
544         Reviewed by Joseph Pecoraro.
545
546         * WebKitTestRunner/TestController.cpp: (WTR::TestController::processDidCrash):
547         Not a fix to be proud of, but better than not having it work at all.
548
549 2014-07-29  Adrian Perez de Castro  <aperez@igalia.com>
550
551         [GTK] Remove WebKitWebViewGroup from WebKit2 GTK+ API
552         https://bugs.webkit.org/show_bug.cgi?id=133729
553
554         Reviewed by Carlos Garcia Campos.
555
556         Removes WebKitWebViewGroup, effectively reverting the changes
557         introduced by r149117. The motivation for WebKitWebViewGroup
558         was using the user style sheet injection API, which has been
559         moved into WebKitUserContentManager, rendering it unneeded.
560
561         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Remove tests
562         for WebKitWebViewGroup.
563         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
564         (testWebViewSettings):
565         Restore the assertions that check that settings objects are
566         released. Add test for webkit_web_view_new_with_settings().
567         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp: Removed.
568
569 2014-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
570
571         Implement webkit_web_view_load_string() in WebKit2
572         https://bugs.webkit.org/show_bug.cgi?id=134735
573
574         Reviewed by Sergio Villar Senin.
575
576         Add /webkit2/WebKitWebView/load-bytes test case and simplify
577         TestDOMXPathNSResolver by using webkit_web_view_load_bytes()
578         instead of a soup server just to sent the Content-type header.
579
580         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp:
581         (testWebKitDOMXPathNSResolverNative):
582         (testWebKitDOMXPathNSResolverCustom):
583         (beforeAll):
584         (afterAll):
585         (serverCallback): Deleted.
586         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
587         (testLoadBytes):
588         (beforeAll):
589         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
590         (LoadTrackingTest::loadBytes):
591         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
592         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
593         (WebViewTest::loadBytes):
594         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
595
596 2014-07-28  Daniel Bates  <dabates@apple.com>
597
598         Add support for running the Clang static analyzer when building WebKit and JSC
599         https://bugs.webkit.org/show_bug.cgi?id=134955
600
601         Reviewed by Brent Fulgham.
602
603         * Scripts/build-jsc: Added command line options -[no]-analyze (disabled by default).
604         * Scripts/build-webkit: Add --analyze command line option to build-webkit to enable
605         running the Clang static analyzer.
606         * Scripts/webkitdirs.pm:
607         (XcodeStaticAnalyzerOption): Added.
608
609 2014-07-24  David Farler  <dfarler@apple.com>
610
611         Allow for multiple DumpRenderTree and WebKitTestRunner instances in the iOS Simulator
612         https://bugs.webkit.org/show_bug.cgi?id=135272
613
614         Reviewed by Simon Fraser.
615
616         * DumpRenderTree/mac/DumpRenderTree.mm:
617         (dumpRenderTree): Remove hard-coding of FIFO paths.
618         (-[DumpRenderTree applicationDidEnterBackground:]): Create background task.
619         (DumpRenderTreeMain): Set DumpRenderTree as UIApplication delegate.
620         * DumpRenderTree/mac/DumpRenderTreeMac.h: bgTask ivar.
621         * Scripts/old-run-webkit-tests: Update FIFO paths for ORWT.
622         * WebKitTestRunner/TestController.cpp: Remove hard-coding of FIFO paths.
623         * WebKitTestRunner/ios/TestControllerIOS.mm: Move dup2 calls to platformInitialize
624         * WebKitTestRunner/ios/mainIOS.mm: bgTask ivar.
625         (-[WebKitTestRunnerApp applicationDidEnterBackground:]): Create background task.
626         (main): Set WebKitTestRunnerApp as UIApplication delegate.
627
628 2014-07-24  David Farler  <dfarler@apple.com>
629
630         ImageDiff builds for the simulator when running iOS layout tests
631         https://bugs.webkit.org/show_bug.cgi?id=135270
632
633         Reviewed by Simon Fraser.
634
635         * Scripts/build-imagediff: Added.
636
637 2014-07-28  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
638
639         Followup fix after r171594
640         https://bugs.webkit.org/show_bug.cgi?id=135048
641
642         Reviewed by Csaba Osztrogonác.
643
644         * Scripts/sort-export-file: Removed extra newlines from help.
645
646 2014-07-25  Anders Carlsson  <andersca@apple.com>
647
648         WKNavigation's properties are either always nil or don't behave as documented
649         https://bugs.webkit.org/show_bug.cgi?id=135267
650         <rdar://problem/17730536>
651
652         Reviewed by Andreas Kling.
653
654         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
655         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
656         (TEST):
657         (-[DidFailProvisionalNavigationDelegate webView:didStartProvisionalNavigation:]):
658         (-[DidFailProvisionalNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
659
660 2014-07-25  Michael Catanzaro  <mcatanzaro@igalia.com>
661
662         [GTK] install-dependencies needs to install perl-CGI on Fedora
663         https://bugs.webkit.org/show_bug.cgi?id=135302
664
665         Reviewed by Martin Robinson.
666
667         * gtk/install-dependencies:
668         Add perl-CGI to yum dependencies needed for tests
669
670 2014-07-25  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
671
672         Add --dry-run option to sort-export-file
673         https://bugs.webkit.org/show_bug.cgi?id=135048
674
675         Reviewed by Csaba Osztrogonác.
676
677         Added --dry-run option to sort-export-file. Running the script with --dry-run
678         option does not sort the export files but creates a list of the files that
679         need to be sorted.
680
681         * Scripts/sort-export-file:
682         (sawError):
683
684 2014-07-24  Michael Catanzaro  <mcatanzaro@igalia.com>
685
686         GTK jhbuild modules needs to build xserver with --disable-local-transport
687         https://bugs.webkit.org/show_bug.cgi?id=135262
688
689         Reviewed by Martin Robinson.
690
691         * gtk/jhbuild.modules:
692         Build X server with --disable-local-transport, since local transport
693         is only supported on Solaris, SCO, and System V. Fixes build on
694         Fedora.
695
696 2014-07-24  Michael Catanzaro  <mcatanzaro@igalia.com>
697
698         [GTK] build-webkit script fails under jhbuild if ACLOCAL_FLAGS is unset
699         https://bugs.webkit.org/show_bug.cgi?id=135065
700
701         Reviewed by Martin Robinson.
702
703         * jhbuild/jhbuild-wrapper:
704         (ensure_jhbuild): do not assume jhbuild sets ACLOCAL_FLAGS
705
706 2014-07-23  Joseph Pecoraro  <pecoraro@apple.com>
707
708         Unreviewed iOS build fix after r171355.
709
710         * TestWebKitAPI/Configurations/Base.xcconfig:
711         Since all the Tests/WebKit2Cocoa tests are already explicitly skipped on iOS,
712         simplify to skipping all the tests in the directory. PlatformUtilities are not
713         building on iOS, which means we are missing necessary Util functions.
714
715 2014-07-23  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
716
717         [EFL] Fix build after r171454
718         https://bugs.webkit.org/show_bug.cgi?id=135191
719
720         Reviewed by Csaba Osztrogonác.
721
722         * MiniBrowser/efl/CMakeLists.txt: Add path to new EWebKit2.h location .
723
724 2014-07-23  Ryuan Choi  <ryuan.choi@samsung.com>
725
726         [EFL] Do not generate forwarding header for ewk headers
727         https://bugs.webkit.org/show_bug.cgi?id=135147
728
729         Reviewed by Gyuyoung Kim.
730
731         * WebKitTestRunner/EventSenderProxy.h:
732
733 2014-07-21  Sam Weinig  <sam@webkit.org>
734
735         [Cocoa] WKScriptMessageHandlers don't seem to function properly after navigating
736         https://bugs.webkit.org/show_bug.cgi?id=135148
737
738         Reviewed by Geoffrey Garen.
739
740         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
741         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm: Added.
742         (-[SimpleNavigationDelegate webView:didFinishNavigation:]):
743         (-[ScriptMessageHandler userContentController:didReceiveScriptMessage:]):
744
745 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
746
747         Correct handling of __VERSION_TEXT__ for 4+-tuple versions
748         https://bugs.webkit.org/show_bug.cgi?id=135161
749         <rdar://problem/17763546>
750
751         Reviewed by David Kilzer.
752
753         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
754         Add additional test cases to catch errors in multiple-tuple
755         version string handling.
756
757 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
758
759         Extend exception fuzzing to the LLInt
760         https://bugs.webkit.org/show_bug.cgi?id=135076
761
762         Reviewed by Oliver Hunt.
763
764         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
765
766 2014-07-22  Jochen Eisinger  <jochen@chromium.org>
767
768         Fix my email address in contributors.json
769         https://bugs.webkit.org/show_bug.cgi?id=135156
770
771         Reviewed by Gyuyoung Kim.
772
773         * Scripts/webkitpy/common/config/contributors.json:
774
775 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
776
777         Unreviewed test fix.
778
779         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Revert
780         to older Perl 5.8 syntax for iterating over hashes to allow tests to
781         run on Mountain Lion bots.
782
783 2014-07-21  Alexey Proskuryakov  <ap@apple.com>
784
785         https://bugs.webkit.org/show_bug.cgi?id=135137
786         build.webkit.org/dashboard: webkitperl failures show up as yellow, not red
787
788         Reviewed by Darin Adler.
789
790         webkitperl results are binary, handle them the same way we handle bindings test results.
791
792         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
793         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
794         (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds):
795
796 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
797
798         [Win] Follow-up for r171324.
799
800         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Cygwin
801         perl reports itself as 'cygwin'; native Windows Perl reports as
802         'MSWin32'. We need to handle both cases.
803
804 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
805
806         Unreviewed build fix after r171319.
807
808         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: This test should
809         only execute on Windows. It will fail on other platforms, so give it a way to
810         successfully exit.
811
812 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
813
814         [Win] Extend auto-version.pl to support 5-tuple versions
815         https://bugs.webkit.org/show_bug.cgi?id=135124
816         <rdar://problem/17750334>
817
818         Reviewed by David Kilzer.
819
820         Add test cases for auto-version.pl.
821
822         * Scripts/webkitperl/auto-version_unittest: Added.
823         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Added.
824
825 2014-07-21  Dean Jackson  <dino@apple.com>
826
827         Allow MiniBrowser WK1 to do element fullscreen
828         https://bugs.webkit.org/show_bug.cgi?id=135125
829
830         Reviewed by Simon Fraser.
831
832         Allow WK1 windows to go fullscreen using the DOM API.
833
834         * MiniBrowser/mac/WK1BrowserWindowController.m:
835         (-[WK1BrowserWindowController awakeFromNib]): Enable the preference for
836         fullscreen.
837
838 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
839
840         [GTK] Documentation files are added twice to the tarball
841         https://bugs.webkit.org/show_bug.cgi?id=135115
842
843         Reviewed by Sergio Villar Senin.
844
845         * gtk/manifest.txt: Remove duplicated rules.
846
847 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
848
849         [GTK] Simplify make-dist command line arguments
850         https://bugs.webkit.org/show_bug.cgi?id=134832
851
852         Reviewed by Martin Robinson.
853
854         Remove --tarball-root and -o command line options and add
855         --version, since the version can be used to build both, the
856         tarball root and the output filename. When the version it's not
857         provided, the pkg-config file is used to get the version. Also
858         change the default value of build-dir to the current directory,
859         since it's very common to call make-dist.py from the build dir.
860
861         * gtk/make-dist.py:
862         (get_tarball_root_and_output_filename_from_arguments):
863
864 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
865
866         [GTK] Reduce the size of the tarball generated by distcheck
867         https://bugs.webkit.org/show_bug.cgi?id=134802
868
869         Reviewed by Martin Robinson.
870
871         Add more rules to the manifest to decide what files to add:
872
873           - Do not include platform specific directories of other ports.
874           - Do not include port specific cmake files.
875           - Do not include Objective-C sources.
876           - Do not include .orig and .rej files.
877           - Do not include mac specific sandbox files.
878           - Only include the resources we actually build.
879
880         * gtk/manifest.txt:
881
882 2014-07-20  KwangHyuk Kim  <hyuki.kim@samsung.com>
883
884         [EFL] Enable mpg123 feature for gst-plugin-bad.
885         https://bugs.webkit.org/show_bug.cgi?id=135016
886
887         Reviewed by Laszlo Gombos.
888
889         enable-mpg123 feature is added to jhbuild in order to support playback of mp3 format.
890
891         * efl/install-dependencies:
892         * efl/jhbuild.modules:
893
894 2014-07-20  Dan Bernstein  <mitz@apple.com>
895
896         Test for <rdar://problems/17742611> -[_WKActivatedElementInfo image] is often empty
897         https://bugs.webkit.org/show_bug.cgi?id=135107
898
899         Reviewed by Sam Weinig.
900
901         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
902         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMNode.mm: Added.
903         (-[RenderedImageFromDOMNodeFrameLoadDelegate webView:didFinishLoadForFrame:]):
904         (TestWebKitAPI::TEST):
905
906 2014-07-20  David Kilzer  <ddkilzer@apple.com>
907
908         Checker: Value stored to 'kernResult' is never read (LayoutTestHelper.m:164)
909         <http://webkit.org/b/135096>
910
911         Reviewed by Alexey Proskuryakov.
912
913         * DumpRenderTree/mac/LayoutTestHelper.m:
914         (lockDownDiscreteGraphics): Check the return values of
915         IOServiceOpen() and IOObjectRelease(), and log if not
916         KERN_SUCCESS.
917
918 2014-07-19  Anders Carlsson  <andersca@apple.com>
919
920         Update.
921
922         * Scripts/webkitpy/common/config/watchlist:
923
924 2014-07-18  Sam Weinig  <sam@webkit.org>
925
926         Revert accidental commit to MiniBrowser to make everything layer backed.
927
928         * MiniBrowser/mac/BrowserWindowController.m:
929         (-[BrowserWindowController windowDidLoad]):
930
931 2014-07-18  Dana Burkart  <dburkart@apple.com>
932
933         Add a new 'analyze' target to the makefile. This will make use of a new
934         'PATH_TO_SCAN_BUILD' which, if set will wrap xcodebuild in the clang
935         static analyzer.
936         https://bugs.webkit.org/show_bug.cgi?id=135057
937         <rdar://problem/10193187>
938
939         Reviewed by David Kilzer.
940
941         * Makefile:
942
943 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
944
945         Fix EFL+GTK.
946
947         * Scripts/run-jsc-stress-tests:
948
949 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
950
951         Exception fuzzing should work on iOS
952         https://bugs.webkit.org/show_bug.cgi?id=135070
953
954         Reviewed by Mark Hahnenberg.
955
956         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
957         (fail):
958         * Scripts/run-jsc-stress-tests:
959
960 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
961
962         run-jsc-stress-tests should be able to run helper-based tests in remote mode
963         https://bugs.webkit.org/show_bug.cgi?id=135064
964
965         Reviewed by Mark Hahnenberg.
966
967         * Scripts/run-jsc-stress-tests:
968
969 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
970
971         run-jsc-stress-tests: rename $copy to $doNotMessWithVMPath
972         https://bugs.webkit.org/show_bug.cgi?id=135061
973
974         Rubber stamped by Mark Hahnenberg.
975
976         * Scripts/run-jsc-stress-tests:
977
978 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
979
980         Refactor run-jsc-stress-tests VM copying code to remove some abstractions
981         https://bugs.webkit.org/show_bug.cgi?id=135059
982
983         Reviewed by Mark Lam.
984         
985         This is meant to make it easier for me to extend the copying functionality to copy things other than
986         the framework.
987
988         * Scripts/run-jsc-stress-tests:
989
990 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
991
992         Fix cloop build.
993
994         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
995
996 2014-07-18  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
997
998         Fix -v|--verbose option in sort-export-file script.
999         https://bugs.webkit.org/show_bug.cgi?id=135043
1000
1001         Reviewed by Tim Horton.
1002
1003         -v|--verbose option does not work. Option added to getOptionsResult.
1004
1005         * Scripts/sort-export-file:
1006
1007 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1008
1009         Really remove dependency on ShellQuote.
1010
1011         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1012
1013 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1014
1015         Unreviewed, fix build for platforms that don't have ShellQuote.
1016         
1017         * Scripts/jsc-stress-test-helpers/js-exception-fuzz: Take a single argument that has the whole command string.
1018         * Scripts/run-jsc-stress-tests: Do the escaping in Ruby.
1019
1020 2014-07-15  Filip Pizlo  <fpizlo@apple.com>
1021
1022         Need ability to fuzz exception throwing
1023         https://bugs.webkit.org/show_bug.cgi?id=134945
1024         <rdar://problem/17722027>
1025
1026         Reviewed by Sam Weinig.
1027         
1028         Adds a new script, js-exception-fuzz, which will run some jsc command-line using
1029         exception fuzzing. This means that we will force exceptions to be thrown in random
1030         places to see how the engine reacts. This is now integrated with the various test
1031         drivers, so run-javascriptcore-tests will run some exception fuzzing tests by
1032         default.
1033
1034         * Scripts/jsc-stress-test-helpers/js-exception-fuzz: Added.
1035         (fail):
1036         * Scripts/run-javascriptcore-tests:
1037         * Scripts/run-jsc-stress-tests:
1038
1039 2014-07-17  Sam Weinig  <sam@webkit.org>
1040
1041         Fix failing API tests.
1042
1043         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
1044         (-[ActiveOffscreenWindow isVisible]):
1045         Override isVisible to make the NSWindows pretend they are visible.
1046
1047 2014-07-17  Alexey Proskuryakov  <ap@apple.com>
1048
1049         Disable button animations in regression tests
1050         https://bugs.webkit.org/show_bug.cgi?id=133647
1051         <rdar://problem/16677530>
1052
1053         Reviewed by Dean Jackson.
1054
1055         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
1056         We already did this for WebKit2, let's do it for WebKit1 too.
1057
1058 2014-07-16  Alexey Proskuryakov  <ap@apple.com>
1059
1060         A test that hangs at cleanup stage confuses webkitpy hugely
1061         https://bugs.webkit.org/show_bug.cgi?id=122475
1062         <rdar://problem/17184354>
1063
1064         Reviewed by Anders Carlsson.
1065
1066         Terminate WebContent process if it freezes between tests. Ideally, we should report
1067         this somehow, but this is better than blaming the wrong test.
1068
1069         * WebKitTestRunner/TestController.cpp:
1070         (WTR::TestController::terminateWebContentProcess):
1071         * WebKitTestRunner/TestController.h:
1072         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
1073
1074 2014-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1075
1076         Change style check path with EFL WK2's path in checker_unittest.py
1077         https://bugs.webkit.org/show_bug.cgi?id=134967
1078
1079         Reviewed by Csaba Osztrogonác.
1080
1081         * Scripts/webkitpy/style/checker_unittest.py: Change ewk_view.h path.
1082         (GlobalVariablesTest.test_path_rules_specifier):
1083
1084 2014-07-16  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1085
1086         Unreviewed. Added myself to the list of committers.
1087
1088         * Scripts/webkitpy/common/config/contributors.json:
1089
1090 2014-07-15  Ryuan Choi  <ryuan.choi@samsung.com>
1091
1092         [EFL] Remove EFL WK1 directory from the checker.py
1093         https://bugs.webkit.org/show_bug.cgi?id=134954
1094
1095         Reviewed by Gyuyoung Kim.
1096
1097         * Scripts/webkitpy/style/checker.py:
1098
1099 2014-07-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1100
1101         Adding myself to contributors.json breaks a webkitpy test
1102         https://bugs.webkit.org/show_bug.cgi?id=134958
1103
1104         Reviewed by Ryosuke Niwa.
1105
1106         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
1107         (IRCCommandTest.test_whois): Be more specific and include also the
1108         first name when asking for the whois of Xan in the unit test.
1109
1110 2014-07-14  Daniel Bates  <dabates@apple.com>
1111
1112         check-webkit-style should apply C++ rules to Objective-C++ files
1113         https://bugs.webkit.org/show_bug.cgi?id=134884
1114
1115         Reviewed by Joseph Pecoraro.
1116
1117         Fixes an issue where check-webkit-style doesn't apply applicable C++ rules to
1118         Objective-C++ files.
1119
1120         Currently check-webkit-style doesn't apply the following rules to Objective-C++
1121         files: build/using_std, runtime/max_min_macros, runtime/wtf_move, readability/null.
1122         Instead, we should teach check-webkit-style to apply these rules because, as
1123         its name implies, an Objective-C++ file may contain C++ code.
1124
1125         * Scripts/webkitpy/style/checkers/cpp.py:
1126         (_FileState.__init__): Add instance variable _is_objective_cpp to track whether a file has
1127         extension mm (i.e. an Objective-C++ file).
1128         (_FileState.is_objective_c_or_objective_cpp): Added; returns true if the file
1129         has extension m or mm or if the file has extension h and contains Objective-C directives.
1130         (check_for_null): No change in behavior; don't apply rule to Objective-C++ file.
1131         (check_identifier_name_in_declaration): Substitute _FileState.is_objective_c_or_objective_cpp() for
1132         _FileState.is_c_or_objective_c()
1133         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1134         (WebKitStyleTest.test_null_false_zero): Added test case for Objective-C++ file.
1135         (WebKitStyleTest.test_max_macro): Add test case for Objective-C and Objective-C++ file.
1136         (WebKitStyleTest.test_min_macro): Ditto.
1137         (WebKitStyleTest.test_wtf_move): Add test case for Objective-C++ file.
1138
1139 2014-07-14  Anders Carlsson  <andersca@apple.com>
1140
1141         Make shouldKeepCurrentBackForwardListItemInList part of WKPageLoaderClientV5 to avoid breaking ABI
1142         https://bugs.webkit.org/show_bug.cgi?id=134889
1143
1144         Reviewed by Beth Dakin.
1145
1146         Bump loader version number to 5.
1147
1148         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp:
1149         (TestWebKitAPI::setPageLoaderClient):
1150         * WebKitTestRunner/TestController.cpp:
1151         (WTR::TestController::createWebViewWithOptions):
1152
1153 2014-07-14  Daniel Bates  <dabates@apple.com>
1154
1155         Teach check-webkit-style to suggest WTF::move() when it sees std::move()
1156         https://bugs.webkit.org/show_bug.cgi?id=134620
1157
1158         Reviewed by Joseph Pecoraro.
1159
1160         * Scripts/webkitpy/style/checkers/cpp.py:
1161         (check_max_min_macros): Fix up comment so that it reads well.
1162         (check_wtf_move): Added.
1163         (check_style): Modified to call check_wtf_move().
1164         (CppChecker): Add category "runtime/wtf_move".
1165         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1166         (WebKitStyleTest.test_wtf_move): Added.
1167
1168 2014-07-12  Peter Szanka  <h868064@stud.u-szeged.hu>
1169
1170         Style checker complains about namespace indentation when there is no namespace
1171         https://bugs.webkit.org/show_bug.cgi?id=105427
1172
1173         Reviewed by Darin Adler.
1174
1175         * Scripts/webkitpy/style/checkers/cpp.py:
1176         (check_namespace_indentation):
1177         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1178         (WebKitStyleTest.test_indentation):
1179
1180         The indentation level depends on the parantheses too, to avoid false warning in case of several statements inside macros.
1181
1182 2014-07-12  Daker Fernandes Pinheiro  <daker.pinheiro@openbossa.org>
1183
1184         Remove excessive nesting from _EnumState.process_clean_line at cpp style checker
1185         https://bugs.webkit.org/show_bug.cgi?id=125317
1186
1187         Reviewed by Darin Adler.
1188
1189         * Scripts/webkitpy/style/checkers/cpp.py:
1190         (_EnumState.process_clean_line):
1191
1192 2014-07-12  Brian Holt  <brian.holt@samsung.com>
1193
1194         Style Checker should prevent enums in bitfields
1195         https://bugs.webkit.org/show_bug.cgi?id=57352
1196
1197         Reviewed by Darin Adler.
1198
1199         Added check that enums are not used as types for bitfields
1200         and a unit test.
1201
1202         * Scripts/webkitpy/style/checkers/cpp.py:
1203         (check_language):
1204         (CppChecker):
1205         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1206         (CppStyleTest):
1207         (CppStyleTest.test_enum_bitfields):
1208         (CppStyleTest.test_plain_integral_bitfields):
1209
1210 2014-07-10  Myles C. Maxfield  <mmaxfield@apple.com>
1211
1212         [iOS] Pasting rich content does not perform a two-step paste
1213         https://bugs.webkit.org/show_bug.cgi?id=134795
1214
1215         Reviewed by Benjamin Poulain.
1216
1217         Two-step paste requires setting InputViewObeysDOMFocus on the UIWebBrowserView.
1218
1219         * DumpRenderTree/mac/DumpRenderTree.mm:
1220         (createWebViewAndOffscreenWindow):
1221
1222 2014-07-10  Carlos Garcia Campos  <cgarcia@igalia.com> and Martin Robinson  <mrobinson@igalia.com>
1223
1224         [GTK][CMake] Add a 'distcheck' target
1225         https://bugs.webkit.org/show_bug.cgi?id=130675
1226
1227         Reviewed by Gustavo Noronha Silva.
1228
1229         Add --check option to make-dist script that builds and installs the tarball.
1230
1231         * gtk/make-dist.py:
1232         (Distcheck.__init__):
1233         (Distcheck.extract_tarball): Extratc the tarball.
1234         (Distcheck.configure): Run cmake.
1235         (Distcheck.configure.create_dir): Helper function to create a directory.
1236         (Distcheck.build): Run make.
1237         (Distcheck.install): Run make install.
1238         (Distcheck.clean): Clean up the extracted tarball.
1239         (Distcheck.check): Run all previous methods in order.
1240         * gtk/manifest.txt: Add missing file.
1241
1242 2014-07-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1243
1244         [GTK] Use the same default options for production builds that previous stable releases
1245         https://bugs.webkit.org/show_bug.cgi?id=134589
1246
1247         Reviewed by Martin Robinson.
1248
1249         Make sure all features enabled in production builds are also
1250         enabled in developer mode.
1251
1252         * Scripts/webkitperl/FeatureList.pm: Enable ACCELERATED_2D_CANVAS
1253         and CSS_FILTERS for the GTK port.
1254
1255 2014-07-09  Brent Fulgham  <bfulgham@apple.com>
1256
1257         [Win] Remove uses of 'bash' in build system
1258         https://bugs.webkit.org/show_bug.cgi?id=134782
1259         <rdar://problem/17615533>
1260
1261         Reviewed by Dean Jackson.
1262
1263         Remove uses of 'bash' by replacing Windows-specific bash scripts
1264         with Perl equivalents.
1265
1266         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd:
1267         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd:
1268         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd:
1269         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd:
1270         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd:
1271         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd:
1272
1273 2014-07-09  Brent Fulgham  <bfulgham@apple.com>
1274
1275         [Win] Remove use of 'grep' in build steps
1276         https://bugs.webkit.org/show_bug.cgi?id=134770
1277         <rdar://problem/17608783>
1278
1279         Reviewed by Tim Horton.
1280
1281         Replace uses of the grep command in Windows builds with the equivalent
1282         Perl program.
1283
1284         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd:
1285         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd:
1286         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd:
1287         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd:
1288         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd:
1289         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd:
1290
1291 2014-07-09  Commit Queue  <commit-queue@webkit.org>
1292
1293         Unreviewed, rolling out r170889.
1294         https://bugs.webkit.org/show_bug.cgi?id=134754
1295
1296         This patch is wrong (Requested by philn on #webkit).
1297
1298         Reverted changeset:
1299
1300         "[GTK] Gstreamer missing from the install-dependencies script"
1301         https://bugs.webkit.org/show_bug.cgi?id=134727
1302         http://trac.webkit.org/changeset/170889
1303
1304 2014-07-08  Brian J. Burg  <burg@cs.washington.edu>
1305
1306         resolve-ChangeLogs fails when WebKit repository is a git submodule
1307         https://bugs.webkit.org/show_bug.cgi?id=134734
1308
1309         Reviewed by David Kilzer.
1310
1311         When using resolve-ChangeLogs in a WebKit git repository with a
1312         non-default arrangement of GIT_DIR and GIT_WORK_TREE, incorrect
1313         paths are computed and the script fails mysteriously.
1314
1315         We were naively computing GIT_WORK_TREE as being one level above
1316         GIT_DIR, but this is not the case for submodules or a manually
1317         configured GIT_WORK_TREE or GIT_DIR location.
1318
1319         * Scripts/VCSUtils.pm:
1320         (gitTreeDirectory): Added. Find the equivalent of GIT_WORK_TREE.
1321         (determineVCSRoot): Calculate the working tree root directly.
1322
1323 2014-07-08  Tim Horton  <timothy_horton@apple.com>
1324
1325         [WK2] Expose a few drawing/compositing settings on WKPreferences(Private)
1326         https://bugs.webkit.org/show_bug.cgi?id=134645
1327
1328         Reviewed by Dan Bernstein.
1329
1330         * MiniBrowser/mac/BrowserWindowController.h:
1331         * MiniBrowser/mac/MainMenu.xib:
1332         Add menu items for layer borders and the tiled scrolling indicator.
1333
1334         * MiniBrowser/mac/WK1BrowserWindowController.m:
1335         (-[WK1BrowserWindowController validateMenuItem:]):
1336         (-[WK1BrowserWindowController layerBordersAreVisible]):
1337         (-[WK1BrowserWindowController toggleLayerBordersVisibility:]):
1338         Add getters/setters/validators for layer borders.
1339
1340         * MiniBrowser/mac/WK2BrowserWindowController.m:
1341         (-[WK2BrowserWindowController awakeFromNib]):
1342         (-[WK2BrowserWindowController validateMenuItem:]):
1343         (-[WK2BrowserWindowController layerBordersAreVisible]):
1344         (-[WK2BrowserWindowController toggleLayerBordersVisibility:]):
1345         (-[WK2BrowserWindowController tiledScrollingIndicatorIsVisible]):
1346         (-[WK2BrowserWindowController toggleTiledScrollingIndicatorVisibility:]):
1347         Add getters/setters/validators for layer borders and the tiled scrolling indicator.
1348
1349         (-[WK2BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]): Deleted.
1350         (-[WK2BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]): Deleted.
1351         Remove the WebKit2 version of the subpixel metrics pref, because it doesn't work, because
1352         nothing in WebKit2 reads this default, and there is no WebKit2 API for adjusting this preference.
1353
1354 2014-07-08  Adrian Perez de Castro  <aperez@igalia.com>
1355
1356         [GTK] Move user style sheet API out of WebKitWebViewGroup
1357         https://bugs.webkit.org/show_bug.cgi?id=134551
1358
1359         Reviewed by Carlos Garcia Campos.
1360
1361         Removes testing user style sheet injection from
1362         TestWebKitWebViewGroup and moves that into a new
1363         TestWebKitUserContentManager, adapting the existing tests to the new
1364         API. Also, it contains a new test case for
1365         webkit_web_view_new_with_user_content_manager().
1366
1367         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1368         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp: Added.
1369         (UserContentManagerTest::UserContentManagerTest):
1370         (testWebViewNewWithUserContentManager):
1371         (isStyleSheetInjectedForURLAtPath):
1372         (fillURLListFromPaths):
1373         (removeOldInjectedStyleSheetsAndResetLists):
1374         (testUserContentManagerInjectedStyleSheet):
1375         (serverCallback):
1376         (beforeAll):
1377         (afterAll):
1378         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
1379         (beforeAll):
1380         (afterAll):
1381         (isStyleSheetInjectedForURLAtPath): Deleted.
1382         (fillURLListFromPaths): Deleted.
1383         (removeOldInjectedStyleSheetsAndResetLists): Deleted.
1384         (testWebViewGroupInjectedStyleSheet): Deleted.
1385         (serverCallback): Deleted.
1386         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1387         (WebViewTest::WebViewTest):
1388         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1389
1390 2014-07-08  Ziran Sun  <ziran.sun@samsung.com>
1391
1392         [GTK] Gstreamer missing from the install-dependencies script
1393         https://bugs.webkit.org/show_bug.cgi?id=134727
1394
1395         Reviewed by Mario Sanchez Prada.
1396
1397         Added missing gstreamer dependencies for debian based systems.
1398
1399         * gtk/install-dependencies: Added 2 dependencies for apt-get.
1400
1401 2014-07-08  Myles C. Maxfield  <mmaxfield@apple.com>
1402
1403         Add myself to the watchlist for text-related files
1404         https://bugs.webkit.org/show_bug.cgi?id=134707
1405
1406         Reviewed by Timothy Horton.
1407
1408         * Scripts/webkitpy/common/config/watchlist:
1409
1410 2014-07-08  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
1411
1412         Add option to specify output file location in sunspider.
1413         https://bugs.webkit.org/show_bug.cgi?id=134339
1414
1415         Reviewed by Darin Adler.
1416
1417         * Scripts/run-sunspider:
1418
1419 2014-07-07  Alex Christensen  <achristensen@webkit.org>
1420
1421         Unreviewed build fix.
1422
1423         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
1424         Make Common.cpp excluded from both 32-bit and 64-bit builds.
1425
1426 2014-07-07  Simon Fraser  <simon.fraser@apple.com>
1427
1428         Have MiniBrowser log and reload if the Web Content Process crashes
1429         https://bugs.webkit.org/show_bug.cgi?id=134691
1430
1431         Reviewed by Tim Horton.
1432         
1433         Implement _webViewWebProcessDidCrash, log and reload when the web process
1434         crashes.
1435
1436         * MiniBrowser/mac/WK2BrowserWindowController.m:
1437         (-[WK2BrowserWindowController _webViewWebProcessDidCrash:]):
1438
1439 2014-07-07  Alberto Garcia  <berto@igalia.com>
1440
1441         update-webkitgtk-libs script fails by unsatisfied dependencies
1442         https://bugs.webkit.org/show_bug.cgi?id=134547
1443
1444         Reviewed by Martin Robinson.
1445
1446         Install libxcb-xfixes0-dev, needed to build Mesa.
1447
1448         * gtk/install-dependencies:
1449
1450 2014-07-06  Yoav Weiss  <yoav@yoav.ws>
1451
1452         Turn on img@sizes compile flag
1453         https://bugs.webkit.org/show_bug.cgi?id=134634
1454
1455         Reviewed by Benjamin Poulain.
1456
1457         * Scripts/webkitperl/FeatureList.pm: Turn on the img@sizes feature.
1458
1459 2014-07-06  Hyowon Kim  <hw1008.kim@samsung.com>
1460
1461         Unreviewed. Adding myself to committers.
1462
1463         * Scripts/webkitpy/common/config/contributors.json:
1464
1465 2014-07-05  KwangHyuk Kim  <hyuki.kim@samsung.com>
1466
1467         [EFL] Add libgeoclue-dev to Tools/efl/install-dependencies.
1468         https://bugs.webkit.org/show_bug.cgi?id=134648
1469
1470         Reviewed by Gyuyoung Kim.
1471
1472         As Geoclue is enabled for EFL, libgeoclue-dev is also added to Tools/efl/install-dependencies.
1473
1474         * efl/install-dependencies:
1475
1476 2014-07-04  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1477
1478         [EFL] Support Geolocation
1479         https://bugs.webkit.org/show_bug.cgi?id=134439
1480
1481         Reviewed by Antonio Gomes.
1482
1483         * Scripts/webkitperl/FeatureList.pm: Enable geolocation for EFL port.
1484
1485 2014-07-04  Shivakumar JM  <shiva.jm@samsung.com>
1486
1487         [EFL][WK2] Enhance the Minibrowser to show selected/highlighted text in search bar, if any.
1488         https://bugs.webkit.org/show_bug.cgi?id=134485
1489
1490         Reviewed by Gyuyoung Kim.
1491
1492         Use script_execute_callback to get selected/highlighted text and show in search bar.
1493
1494         * MiniBrowser/efl/main.c:
1495         (script_execute_callback):
1496         (on_key_down):
1497
1498 2014-07-04  Dan Bernstein  <mitz@apple.com>
1499
1500         Build fix after r170811.
1501
1502         * MiniBrowser/mac/WK2BrowserWindowController.m:
1503         (-[WK2BrowserWindowController reload:]):
1504
1505 2014-07-04  Timothy Horton  <timothy_horton@apple.com>
1506
1507         Typo in watchlist config means four specific people get Cc'd on everything
1508         https://bugs.webkit.org/show_bug.cgi?id=134626
1509
1510         Reviewed by Gyuyoung Kim.
1511
1512         * Scripts/webkitpy/common/config/watchlist:
1513         Remove leading pipe, which meant that this rule matched everything!
1514
1515 2014-07-03  Shivakumar JM  <shiva.jm@samsung.com>
1516
1517         [EFL][WK2] Enhance the Minibrowser to show text search count and close search bar.
1518         https://bugs.webkit.org/show_bug.cgi?id=134486
1519
1520         Reviewed by Gyuyoung Kim.
1521
1522         Use on_search_close_button_clicked() callback to close search bar and on_search_text_found() callback to show search count.
1523
1524         * MiniBrowser/efl/main.c:
1525         (search_box_show):
1526         (search_box_hide):
1527         (on_search_close_button_clicked):
1528         (on_search_text_found):
1529         (window_create):
1530
1531 2014-07-03  Daniel Bates  <dabates@apple.com>
1532
1533         Add WTF::move()
1534         https://bugs.webkit.org/show_bug.cgi?id=134500
1535
1536         Rubber-stamped by Anders Carlsson.
1537
1538         Substitute WTF::move() for std::move().
1539
1540         * DumpRenderTree/win/DRTDataObject.cpp:
1541         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1542         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1543         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
1544         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1545         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1546         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added FIXME comments that explain that some of the sub-tests
1547         aren't actually testing move semantics in tests: MoveAssignmentFromSameType, MoveAssignmentFromSimilarType,
1548         ConstructionFromSameType, and ConstructionFromSimilarType.
1549         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
1550
1551 2014-07-03  László Langó  <llango.u-szeged@partner.samsung.com>
1552
1553         [JavaScriptCore] Add --cmakeargs option to build-jsc.
1554         https://bugs.webkit.org/show_bug.cgi?id=134590
1555
1556         Reviewed by Ryosuke Niwa.
1557
1558         * Scripts/build-jsc:
1559
1560 2014-07-03  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
1561
1562         Add option to specify jsc args in run-sunspider.
1563         https://bugs.webkit.org/show_bug.cgi?id=134341
1564
1565         Reviewed by Csaba Osztrogonác.
1566
1567         * Scripts/run-sunspider:
1568
1569 2014-07-02  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1570
1571         [GTK] Unreviewed gardening.
1572
1573         * Scripts/run-gtk-tests:
1574         (TestRunner): Report and mark flaky test WebKit2Gtk/TestCookieManager:persistent-storage
1575
1576 2014-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1577
1578         Clean up unused EFL buildbot information in BuildSlaveSupport and TestResultServer
1579         https://bugs.webkit.org/show_bug.cgi?id=134581
1580
1581         Reviewed by Tim Horton.
1582
1583         Should be removed unused EFL bot info.
1584
1585         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1586         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
1587         (EWS):
1588         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1589         (WebKitBuildbot):
1590         * TestResultServer/static-dashboards/builders.jsonp:
1591         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
1592         (test):
1593
1594 2014-07-02  Alex Christensen  <achristensen@webkit.org>
1595
1596         Unreviewed.  Moved self to reviewers list.
1597
1598         * Scripts/webkitpy/common/config/contributors.json:
1599         Moved self to reviewers list, added WebGL to expertise.
1600
1601 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1602
1603         [GTK] Make dist only works when run from the source directory
1604         https://bugs.webkit.org/show_bug.cgi?id=134543
1605
1606         Reviewed by Martin Robinson.
1607
1608         Since the paths in the manifest are relative to the source dir,
1609         and the script expects the current working directory to be the
1610         source directory, resolve all passed in relative paths while
1611         parsing the arguments and then change the current working
1612         directory.
1613
1614         * gtk/make-dist.py:
1615
1616 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1617
1618         [GTK] make dist is broken
1619         https://bugs.webkit.org/show_bug.cgi?id=134542
1620
1621         Reviewed by Martin Robinson.
1622
1623         * gtk/make-dist.py: Rename command line options to match what cmake uses.
1624         * gtk/manifest.txt: Remove WebKit1 references and add WebKitDOM documentation.
1625
1626 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1627
1628         [GTK] WebKitWebView::create should receive information about the navigation action
1629         https://bugs.webkit.org/show_bug.cgi?id=133680
1630
1631         Reviewed by Martin Robinson.
1632
1633         Add unit test to check the WebKitNavigationAction passed to
1634         WebKitWebView::create callback.
1635
1636         * MiniBrowser/gtk/BrowserWindow.c:
1637         (webViewCreate): Add WebKitNavigationAction parameter.
1638         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
1639         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
1640         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1641         (testWebViewCreateNavigationData):
1642         (beforeAll):
1643         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
1644         (createCallback):
1645
1646 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1647
1648         [GTK] Do not add forward declaration of class struct for interfaces
1649         https://bugs.webkit.org/show_bug.cgi?id=134297
1650
1651         Reviewed by Martin Robinson.
1652
1653         Add Iface symbol to documentation instead of Class for interfaces.
1654
1655         * gtk/webkitdom.py:
1656         (WebKitDOMDocGeneratorSections.write_section):
1657
1658 2014-07-01  Carlos Garcia Campos  <cgarcia@igalia.com>
1659
1660         [GTK] XPathNSResolver should be exposed as an interface instead of as a class
1661         https://bugs.webkit.org/show_bug.cgi?id=134028
1662
1663         Reviewed by Gustavo Noronha Silva.
1664
1665         Add unit tests to check WebKitDOMXPathNSResolver API when using the
1666         native one and a user provided one.
1667
1668         * Scripts/webkitpy/style/checker.py: Add WebKitDOMXPathNSResolver
1669         to the list of GTK+ public API exceptions.
1670         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
1671         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp: Added.
1672         (webkitXPathNSResolverLookupNamespaceURI):
1673         (webkitXPathNSResolverDOMXPathNSResolverIfaceInit):
1674         (webkit_xpath_ns_resolver_init):
1675         (webkit_xpath_ns_resolver_class_init):
1676         (WebKitDOMXPathNSResolverTest::create):
1677         (WebKitDOMXPathNSResolverTest::webPageFromArgs):
1678         (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
1679         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
1680         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
1681         (WebKitDOMXPathNSResolverTest::runTest):
1682         (registerTests):
1683         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp: Added.
1684         (runTest):
1685         (testWebKitDOMXPathNSResolverNative):
1686         (testWebKitDOMXPathNSResolverCustom):
1687         (serverCallback):
1688         (beforeAll):
1689         (afterAll):
1690         * gtk/webkitdom.py:
1691         (WebKitDOMDocGeneratorSections.write_section): Add
1692         WebKitDOMXPathNSResolver to the list of interfaces.
1693
1694 2014-07-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1695
1696         Fix build break on EFL and GTK ports since r170683
1697         https://bugs.webkit.org/show_bug.cgi?id=134536
1698
1699         Unreviewed, build fix.
1700
1701         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
1702
1703 2014-07-01  Sam Weinig  <sam@webkit.org>
1704
1705         [Cocoa][Mac] WKWebView should automatically set topContentInset when beneath a toolbar
1706         <rdar://problem/17523159>
1707         https://bugs.webkit.org/show_bug.cgi?id=134496
1708
1709         Reviewed by Beth Dakin.
1710
1711         * MiniBrowser/mac/BrowserWindowController.m:
1712         (-[BrowserWindowController windowDidLoad]):
1713         Use the NSFullSizeContentViewWindowMask bit on Yosemite and later to enable toolbar blurring.
1714
1715 2014-07-01  Zan Dobersek  <zdobersek@igalia.com>
1716
1717         [CMake] Add necessary support for building for the Wayland target
1718         https://bugs.webkit.org/show_bug.cgi?id=134160
1719
1720         Reviewed by Darin Adler.
1721
1722         * CMakeLists.txt: Only build the TestNetscapePlugIn target in case
1723         the X11 windowing target is enabled.
1724
1725 2014-07-01  Chris Fleizach  <cfleizach@apple.com>
1726
1727         AX: HTML indeterminate IDL attribute not mapped to checkbox value=2
1728         https://bugs.webkit.org/show_bug.cgi?id=134492
1729
1730         Reviewed by Andreas Kling.
1731
1732         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1733         (AccessibilityUIElement::isIndeterminate):
1734         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1735         (WTR::AccessibilityUIElement::isIndeterminate):
1736
1737 2014-07-01  Daniel Bates  <dabates@apple.com>
1738
1739         Remove unnecessary calls to std::move()
1740         https://bugs.webkit.org/show_bug.cgi?id=134493
1741
1742         Reviewed by Anders Carlsson.
1743
1744         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1745         (TestWebKitAPI::TEST):
1746         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
1747         (TestWebKitAPI::TEST):
1748
1749 2014-07-01  Pratik Solanki  <psolanki@apple.com>
1750
1751         Unreviewed. Adding myself to the reviewers list to make commit bot happy.
1752
1753         * Scripts/webkitpy/common/config/contributors.json:
1754
1755 2014-07-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1756
1757         webkit-patch apply-from-bug / apply-attachment should not ask for credentials if none are required
1758         https://bugs.webkit.org/show_bug.cgi?id=40095
1759
1760         Reviewed by Csaba Osztrogonác.
1761
1762         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1763         (Bugzilla.fetch_attachment_contents): make a first fetch on bugzilla without authentication. If failing, use authentication (similar to fetch_bug_dictionary).
1764         (Bugzilla):
1765         (Bugzilla.bug_id_for_attachment_id): ditto.
1766
1767 2014-07-01  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1768
1769         [webkitpy] Refactor pluralizer in grammar.py
1770         https://bugs.webkit.org/show_bug.cgi?id=133067
1771
1772         Reviewed by Csaba Osztrogonác.
1773
1774         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
1775         (LayoutTestRunner.run_tests):
1776         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1777         (Manager.run):
1778         * Scripts/webkitpy/layout_tests/views/printing.py:
1779         (Printer.print_found):
1780         (Printer.print_workers_and_shards):
1781         (Printer._print_one_line_summary):
1782         * Scripts/webkitpy/test/printer.py:
1783         (Printer.print_result):
1784         * Scripts/webkitpy/tool/bot/feeders.py:
1785         (EWSFeeder.feed):
1786         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1787         (FlakyTestReporter._lookup_bug_for_flaky_test):
1788         * Scripts/webkitpy/tool/bot/irc_command.py:
1789         (Rollout._check_diff_failure):
1790         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
1791         (IRCCommandTest.test_rollout):
1792         * Scripts/webkitpy/tool/commands/download.py:
1793         (AbstractPatchProcessingCommand._process_patch.execute):
1794         (ProcessBugsMixin._fetch_list_of_patches_to_process):
1795         (ProcessURLsMixin._fetch_list_of_patches_to_process):
1796         * Scripts/webkitpy/tool/commands/queries.py:
1797         (WhatBroke.execute):
1798         * Scripts/webkitpy/tool/commands/suggestnominations.py:
1799         (SuggestNominations._print_nominations):
1800         (SuggestNominations._print_counts):
1801         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
1802         (_make_options):
1803         (test_basic):
1804         (test_with_verbose):
1805         * Scripts/webkitpy/tool/commands/upload.py:
1806         (PostCommits.execute):
1807         * Scripts/webkitpy/tool/grammar.py:
1808         (pluralize):
1809         * Scripts/webkitpy/tool/grammar_unittest.py:
1810         (GrammarTest.test_join_with_separators):
1811         (GrammarTest):
1812         (GrammarTest.test_plural):
1813         (GrammarTest.test_pluralize):
1814         * Scripts/webkitpy/tool/multicommandtool.py:
1815         (Command.check_arguments_and_execute):
1816         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
1817         (ObsoletePatches.run):
1818         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
1819         (PrepareChangeLogForRevert._message_for_revert):
1820
1821 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
1822
1823         [iOS] GSFontAddCGFont is deprecated and we use it in DumpRenderTree
1824         https://bugs.webkit.org/show_bug.cgi?id=134133
1825
1826         Reviewed by Simon Fraser.
1827
1828         Replace it with CTFontManagerRegisterGraphicsFont
1829
1830         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1831         * DumpRenderTree/mac/DumpRenderTree.mm:
1832         (activateFontIOS):
1833
1834 2014-06-30  Michael Saboff  <msaboff@apple.com>
1835
1836         Add option to run-jsc-stress-testes to filter out tests that use large heaps
1837         https://bugs.webkit.org/show_bug.cgi?id=134458
1838
1839         Reviewed by Filip Pizlo.
1840
1841         Added new --memory-limited to filter out tests that have large heap usage.
1842         Such tests are either tagged with //@largeHeap or logic is added to their .yaml file.
1843
1844         * Scripts/run-jsc-stress-tests:
1845
1846 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
1847
1848         DRT in iOS sim crashes while loading fonts
1849         https://bugs.webkit.org/show_bug.cgi?id=134451
1850
1851         Reviewed by Geoffrey Garen.
1852
1853         The magic linker symbols had the same name, and were therefore being unified
1854         to a single font file. Then, adding the same file twice was failing.
1855
1856         * DumpRenderTree/mac/DumpRenderTree.mm:
1857         (activateFontsIOS):
1858
1859 2014-06-30  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1860
1861         Remove Qt cruft from webkitpy
1862         https://bugs.webkit.org/show_bug.cgi?id=134445
1863
1864         Reviewed by Csaba Osztrogonác.
1865
1866         * Scripts/webkitpy/common/config/ports.py:
1867         (DeprecatedPort.port):
1868         (QtPort): Deleted.
1869         (QtPort.build_webkit_command): Deleted.
1870         (QtPort.run_webkit_tests_command): Deleted.
1871         (QtWK2Port): Deleted.
1872         (QtWK2Port.build_webkit_command): Deleted.
1873         (QtWK2Port.run_webkit_tests_command): Deleted.
1874         * Scripts/webkitpy/common/config/ports_unittest.py:
1875         (DeprecatedPortTest): Deleted.
1876         (DeprecatedPortTest.test_qt_port): Deleted.
1877         (DeprecatedPortTest.test_qt_wk2_port): Deleted.
1878
1879 2014-06-29  Yoav Weiss  <yoav@yoav.ws>
1880
1881         Add support for HTMLImageElement's sizes attribute
1882         https://bugs.webkit.org/show_bug.cgi?id=133620
1883
1884         Reviewed by Dean Jackson.
1885
1886         Added an ENABLE_PICTURE_SIZES compile flag.
1887
1888         * Scripts/webkitperl/FeatureList.pm:
1889
1890 2014-06-27  Tim Horton  <timothy_horton@apple.com>
1891
1892         check-webkit-style should check the order of #imports as well as #includes
1893         https://bugs.webkit.org/show_bug.cgi?id=134428
1894
1895         Reviewed by Dan Bernstein.
1896
1897         * Scripts/webkitpy/style/checkers/cpp.py:
1898         Allow "import" in addition to "include", so that the sort order of headers in ObjC files is checked.
1899
1900 2014-06-27  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
1901
1902         [EFL] Remove efl-wk2 from baseline search path
1903         https://bugs.webkit.org/show_bug.cgi?id=134391
1904
1905         Reviewed by Gyuyoung Kim.
1906
1907         As WebKit1 EFL is removed and platform/efl and platform/efl-wk2 baselines and test expectations files
1908         are merged efl-wk2 search path should be removed.
1909
1910         * Scripts/webkitpy/port/base.py:
1911         (Port.test_expectations_file_postion): Added method to determine port test expectations file position in expectations_dict.
1912         * Scripts/webkitpy/port/efl.py:
1913         (EflPort._search_paths): Changed baseline search paths from efl-wk2 -> wk2 -> efl -> generic is changed to: efl -> wk2 -> generic.
1914         (EflPort.test_expectations_file_postion): Added method to determine EFL port specific test expectation file position.
1915         * Scripts/webkitpy/port/port_testcase.py:
1916         (PortTestCase.test_expectations_ordering): Changed constant value to one returned from test_expectations_file_postion().
1917         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
1918         (TestExpectationsTestCase.test_determine_port_from_expectations_path): Removed efl-wk2 test case.
1919         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1920         (TestRebaselineTest.test_baseline_directory): Changed directory name in assertion from platform/efl-wk2 to platform/efl.
1921
1922 2014-06-26  Dan Bernstein  <mitz@apple.com>
1923
1924         prepare-ChangeLog outputs (NS_ENUM): entries for Cocoa enums
1925         https://bugs.webkit.org/show_bug.cgi?id=134387
1926
1927         Reviewed by Tim Horton.
1928
1929         * Scripts/prepare-ChangeLog:
1930         (get_function_line_ranges_for_cpp): Don’t consider {CF,NS}_{ENUM,OPTIONS} as function names.
1931
1932 2014-06-26  Dan Bernstein  <mitz@apple.com>
1933
1934         prepare-ChangeLog mangles Objective-C selectors for methods with parameter types that contain colons
1935         https://bugs.webkit.org/show_bug.cgi?id=134383
1936
1937         Reviewed by Tim Horton.
1938
1939         * Scripts/prepare-ChangeLog:
1940         (method_decl_to_selector): Strip out the return type and parameter types before splitting at
1941         colons.
1942
1943 2014-06-26  Brady Eidson  <beidson@apple.com>
1944
1945         MiniBrowser should support a preference to override the default URL
1946         https://bugs.webkit.org/show_bug.cgi?id=134373
1947
1948         Reviewed by Darin Adler.
1949
1950         * MiniBrowser/mac/AppDelegate.m:
1951         (-[BrowserAppDelegate applicationDidFinishLaunching:]): See if there’s a pref
1952           overriding the default URL, and use it if there is.
1953
1954 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
1955
1956         [Win] Fix potential buffer overrun in DLLLauncher
1957         https://bugs.webkit.org/show_bug.cgi?id=134351
1958         <rdar://problem/17469185>
1959
1960         Reviewed by Darin Adler.
1961
1962         * win/DLLLauncher/DLLLauncherMain.cpp: Correct error
1963         in end-of-buffer calculation.
1964
1965 2014-06-26  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
1966
1967         [EFL] Missing dependency between freetype6 and fontconfig libs.
1968         https://bugs.webkit.org/show_bug.cgi?id=134190
1969
1970         Reviewed by Gyuyoung Kim.
1971
1972         The external dependencies contain the freetype6 and the fontconfig libs.
1973         The fontconfig lib requires freetype, but the dependency is not set in
1974         the efl/jhbuild.modules file. So, during building the external libs,
1975         fontconfig uses the freetype package of the system, while WebKit
1976         binaries will use freetype from the WebKitBuild/Dependency directory.
1977         There are more similar dependencies that were not indicated in the
1978         jhbuild.modules file.
1979
1980         * efl/jhbuild.modules:
1981           Added dependencies between libs.
1982
1983 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
1984
1985         [Win] Expose Cache Information to WinLauncher
1986         https://bugs.webkit.org/show_bug.cgi?id=134318
1987
1988         Reviewed by Dean Jackson.
1989
1990         * WinLauncher/Common.cpp: Update for new dialog.
1991         * WinLauncher/WinLauncher.cpp: Add support for WebCache
1992         and WebCoreStatistics.
1993         * WinLauncher/WinLauncher.h:
1994         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc:
1995         Update for new Cache Dialog.
1996         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Link to
1997         WTF.lib
1998         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
1999         for new Dialog.
2000
2001 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
2002
2003         [Win] Unreviewed gardening. Use consistent line-endings in file.
2004
2005         * WinLauncher/WinLauncher.h: Use '\n' EOL marker, not DOS-style
2006         '\r\n' EOL.
2007
2008 2014-06-25  László Langó  <llango.u-szeged@partner.samsung.com>
2009
2010         [JavaScriptCore] Make build-jsc output format better.
2011         https://bugs.webkit.org/show_bug.cgi?id=133547
2012
2013         Reviewed by Ryosuke Niwa.
2014
2015         * Scripts/build-jsc: Emit built time information on successful builds.
2016         (writeCongrats):
2017         * Scripts/build-webkit: Move formatBuildTime function into webkitdirs.pm.
2018         (cMakeArgsFromFeatures):
2019         (formatBuildTime): Deleted.
2020         * Scripts/webkitdirs.pm:
2021         (formatBuildTime):
2022
2023 2014-06-25  Chris Fleizach  <cfleizach@apple.com>
2024
2025         Add an undo group for each dictated utterance in WebKit
2026         https://bugs.webkit.org/show_bug.cgi?id=134086
2027
2028         Reviewed by Enrica Casucci.
2029
2030         Create a method for creating attributed strings with the undo insertion marker.
2031
2032         * DumpRenderTree/mac/TextInputController.m:
2033         (+[TextInputController isSelectorExcludedFromWebScript:]):
2034         (+[TextInputController webScriptNameForSelector:]):
2035         (-[TextInputController stringWithUndoGroupingInsertion:]):
2036
2037 2014-06-25  Michael Saboff  <msaboff@apple.com>
2038
2039         Provide javascript aware backtrace script for lldb
2040         https://bugs.webkit.org/show_bug.cgi?id=134276
2041
2042         Reviewed by Jer Noble.
2043
2044         * lldb/lldb_webkit.py:
2045         (__lldb_init_module):
2046         (btjs): New scripted command to display a backtrace that shows JavaScript frames with details.
2047
2048 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2049
2050         REGRESSION (r170426) Broke two python tests
2051         https://bugs.webkit.org/show_bug.cgi?id=134299
2052
2053         Reviewed by Csaba Osztrogonác.
2054
2055         * Scripts/webkitpy/port/efl.py:
2056         (EflPort._search_paths): Added search path for efl-wk2.
2057
2058 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2059
2060         [EFL] Remove WebKit1 related code from scripts
2061         https://bugs.webkit.org/show_bug.cgi?id=134195
2062
2063         Reviewed by Laszlo Gombos.
2064
2065         After removing WebKit1 from EFL port, still there is some code left related to DumpRenderTree, 
2066         EWebLauncher. Also running layout tests does not require adding -2/--webkit-test-runner switch.
2067
2068         * Scripts/run-launcher: MiniBrowser now runs as default without -2 switch.
2069         * Scripts/webkitdirs.pm:
2070         (builtDylibPathForName): Remove reference to libewebkit.so
2071         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2072         (_set_up_derived_options): Script runs WKTR by default.
2073         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2074         (PerfTestsRunner.__init__): Ditto.
2075         * Scripts/webkitpy/port/efl.py:
2076         (EflPort._search_paths): Remove efl-wk2 from baseline search path.
2077         (EflPort.show_results_html_file): Run MiniBrowser as result viewer.
2078
2079 2014-06-25  Laszlo Gombos  <l.gombos@samsung.com>
2080
2081         Remove build guard for progress element
2082         https://bugs.webkit.org/show_bug.cgi?id=134292
2083
2084         Reviewed by Benjamin Poulain.
2085
2086         * Scripts/webkitperl/FeatureList.pm:
2087
2088 2014-06-24  Tomas Popela  <tpopela@redhat.com>
2089
2090         [GTK] Some of DOM bindings macros are misnamed
2091         https://bugs.webkit.org/show_bug.cgi?id=121543
2092
2093         Reviewed by Carlos Garcia Campos.
2094
2095         As we are using WebKitDOM as a namespace we should unify all type macros
2096         to have WEBKIT_DOM_TYPE prefix instead of WEBKIT_TYPE_DOM. Also add
2097         more exceptions to decamelize function in GObject bindings generator
2098         to fix the names of bindings for BR, HR, UL, OL, DL and LI elements.
2099
2100         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
2101         * gtk/webkitdom.py:
2102         (WebKitDOMDocGeneratorSections._dom_class_decamelize):
2103         (WebKitDOMDocGeneratorSections.write_section):
2104
2105 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
2106
2107         [EFL] Install Latin Modern Math on the bots
2108         https://bugs.webkit.org/show_bug.cgi?id=134153
2109
2110         Reviewed by Gyuyoung Kim.
2111
2112         * efl/jhbuild.modules: Switch back to https://github.com/ for the webkitgtk-test-fonts.
2113
2114 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
2115
2116         [EFL] [GTK] Use Latin Modern Math in the jhbuild environments.
2117         https://bugs.webkit.org/show_bug.cgi?id=134153
2118
2119         Reviewed by Martin Robinson.
2120
2121         * efl/jhbuild.modules: Use webkitgtk-test-fonts.git instead of the zip archive and upgrade to 0.0.5.
2122         * gtk/jhbuild.modules: Upgrade webkitgtk-test-fonts to 0.0.5.
2123
2124 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2125
2126         Unreviewed, update my speciality.
2127
2128         * Scripts/webkitpy/common/config/contributors.json:
2129
2130 2014-06-24  Brent Fulgham  <bfulgham@apple.com>
2131
2132         [Win] Clean up and refactor WinLauncher
2133         https://bugs.webkit.org/show_bug.cgi?id=134209
2134
2135         Reviewed by Tim Thorton.
2136
2137         Relanding r170339 and r170340 with correct WinLauncher.h file.
2138
2139         * WinLauncher/Common.cpp: Copied from WinLauncher/WinLauncher.cpp.
2140         (PrintView):
2141         (ToggleMenuItem):
2142         (WndProc):
2143         (BackButtonProc):
2144         (ForwardButtonProc):
2145         (loadURL):
2146         (shouldUseFullDesktop): Deleted.
2147         (SimpleEventListener::SimpleEventListener): Deleted.
2148         (SimpleEventListener::handleEvent): Deleted.
2149         (WinLauncherWebHost::updateAddressBar): Deleted.
2150         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2151         (WinLauncherWebHost::QueryInterface): Deleted.
2152         (WinLauncherWebHost::AddRef): Deleted.
2153         (WinLauncherWebHost::Release): Deleted.
2154         (updateMenuItemForHistoryItem): Deleted.
2155         (showLastVisitedSites): Deleted.
2156         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2157         (resizeSubViews): Deleted.
2158         (setToDefaultPreferences): Deleted.
2159         (wWinMain): Deleted.
2160         (MyRegisterClass): Deleted.
2161         (LaunchInspector): Deleted.
2162         (NavigateForwardOrBackward): Deleted.
2163         (NavigateToHistory): Deleted.
2164         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
2165         (DOMEventListener::Release):
2166         (WebScriptObject::WebScriptObject): Deleted.
2167         (WebScriptObject::~WebScriptObject): Deleted.
2168         (WebScriptObject::throwException): Deleted.
2169         (WebScriptObject::callWebScriptMethod): Deleted.
2170         (WebScriptObject::evaluateWebScript): Deleted.
2171         (WebScriptObject::removeWebScriptKey): Deleted.
2172         (WebScriptObject::stringRepresentation): Deleted.
2173         (WebScriptObject::webScriptValueAtIndex): Deleted.
2174         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
2175         (WebScriptObject::setException): Deleted.
2176         (DOMEventListener::throwException): Deleted.
2177         (DOMEventListener::callWebScriptMethod): Deleted.
2178         (DOMEventListener::evaluateWebScript): Deleted.
2179         (DOMEventListener::removeWebScriptKey): Deleted.
2180         (DOMEventListener::stringRepresentation): Deleted.
2181         (DOMEventListener::webScriptValueAtIndex): Deleted.
2182         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
2183         (DOMEventListener::setException): Deleted.
2184         (DOMEventListener::handleEvent): Deleted.
2185         * WinLauncher/DOMDefaultImpl.h:
2186         (WebScriptObject::QueryInterface): Deleted.
2187         (WebScriptObject::AddRef): Deleted.
2188         (WebScriptObject::Release): Deleted.
2189         (DOMObject::QueryInterface): Deleted.
2190         (DOMEventListener::QueryInterface): Deleted.
2191         (DOMEventListener::AddRef): Deleted.
2192         (DOMEventListener::Release): Deleted.
2193         * WinLauncher/WinLauncher.cpp:
2194         (WinLauncher::WinLauncher):
2195         (WinLauncher::init):
2196         (WinLauncher::prepareViews):
2197         (WinLauncher::setFrameLoadDelegate):
2198         (WinLauncher::setUIDelegate):
2199         (WinLauncher::setAccessibilityDelegate):
2200         (WinLauncher::mainFrame):
2201         (WinLauncher::seedInitialDefaultPreferences):
2202         (WinLauncher::setToDefaultPreferences):
2203         (updateMenuItemForHistoryItem):
2204         (WinLauncher::showLastVisitedSites):
2205         (WinLauncher::launchInspector):
2206         (WinLauncher::navigateForwardOrBackward):
2207         (WinLauncher::navigateToHistory):
2208         (WinLauncher::goBack):
2209         (WinLauncher::goForward):
2210         (WinLauncher::loadURL):
2211         (shouldUseFullDesktop): Deleted.
2212         (SimpleEventListener::SimpleEventListener): Deleted.
2213         (SimpleEventListener::handleEvent): Deleted.
2214         (WinLauncherWebHost::updateAddressBar): Deleted.
2215         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2216         (WinLauncherWebHost::QueryInterface): Deleted.
2217         (WinLauncherWebHost::AddRef): Deleted.
2218         (WinLauncherWebHost::Release): Deleted.
2219         (showLastVisitedSites): Deleted.
2220         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2221         (resizeSubViews): Deleted.
2222         (subclassForLayeredWindow): Deleted.
2223         (computeFullDesktopFrame): Deleted.
2224         (DllMain): Deleted.
2225         (getAppDataFolder): Deleted.
2226         (setToDefaultPreferences): Deleted.
2227         (setCacheFolder): Deleted.
2228         (createCrashReport): Deleted.
2229         (wWinMain): Deleted.
2230         (MyRegisterClass): Deleted.
2231         (AbortProc): Deleted.
2232         (getPrinterDC): Deleted.
2233         (initDocStruct): Deleted.
2234         (PrintView): Deleted.
2235         (ToggleMenuItem): Deleted.
2236         (LaunchInspector): Deleted.
2237         (NavigateForwardOrBackward): Deleted.
2238         (NavigateToHistory): Deleted.
2239         (WndProc): Deleted.
2240         (EditProc): Deleted.
2241         (BackButtonProc): Deleted.
2242         (ForwardButtonProc): Deleted.
2243         (About): Deleted.
2244         (loadURL): Deleted.
2245         (dllLauncherEntryPoint): Deleted.
2246         * WinLauncher/WinLauncher.h:
2247         (WinLauncher::standardPreferences):
2248         (WinLauncher::privatePreferences):
2249         (WinLauncher::hasWebView):
2250         (WinLauncher::usesLayeredWebView):
2251         (WinLauncherWebHost::WinLauncherWebHost): Deleted.
2252         (WinLauncherWebHost::didStartProvisionalLoadForFrame): Deleted.
2253         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): Deleted.
2254         (WinLauncherWebHost::didCommitLoadForFrame): Deleted.
2255         (WinLauncherWebHost::didReceiveTitle): Deleted.
2256         (WinLauncherWebHost::didChangeIcons): Deleted.
2257         (WinLauncherWebHost::didReceiveIcon): Deleted.
2258         (WinLauncherWebHost::didFailLoadWithError): Deleted.
2259         (WinLauncherWebHost::didChangeLocationWithinPageForFrame): Deleted.
2260         (WinLauncherWebHost::willPerformClientRedirectToURL): Deleted.
2261         (WinLauncherWebHost::didCancelClientRedirectForFrame): Deleted.
2262         (WinLauncherWebHost::willCloseFrame): Deleted.
2263         (WinLauncherWebHost::windowScriptObjectAvailable): Deleted.
2264         (WinLauncherWebHost::didClearWindowObject): Deleted.
2265         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2266         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
2267         * WinLauncher/WinLauncherReplace.h:
2268         (processCrashReport):
2269         * WinLauncher/WinLauncherWebHost.cpp: Copied from WinLauncher/WinLauncher.cpp.
2270         (WinLauncherWebHost::updateAddressBar):
2271         (WinLauncherWebHost::QueryInterface):
2272         (WinLauncherWebHost::AddRef):
2273         (WinLauncherWebHost::Release):
2274         (WinLauncherWebHost::didFinishLoadForFrame):
2275         (shouldUseFullDesktop): Deleted.
2276         (updateMenuItemForHistoryItem): Deleted.
2277         (showLastVisitedSites): Deleted.
2278         (resizeSubViews): Deleted.
2279         (subclassForLayeredWindow): Deleted.
2280         (computeFullDesktopFrame): Deleted.
2281         (DllMain): Deleted.
2282         (getAppDataFolder): Deleted.
2283         (setToDefaultPreferences): Deleted.
2284         (setCacheFolder): Deleted.
2285         (createCrashReport): Deleted.
2286         (wWinMain): Deleted.
2287         (MyRegisterClass): Deleted.
2288         (AbortProc): Deleted.
2289         (getPrinterDC): Deleted.
2290         (initDocStruct): Deleted.
2291         (PrintView): Deleted.
2292         (ToggleMenuItem): Deleted.
2293         (LaunchInspector): Deleted.
2294         (NavigateForwardOrBackward): Deleted.
2295         (NavigateToHistory): Deleted.
2296         (WndProc): Deleted.
2297         (EditProc): Deleted.
2298         (BackButtonProc): Deleted.
2299         (ForwardButtonProc): Deleted.
2300         (About): Deleted.
2301         (loadURL): Deleted.
2302         (dllLauncherEntryPoint): Deleted.
2303         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
2304         (WinLauncherWebHost::WinLauncherWebHost):
2305         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
2306         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2307         (WinLauncherWebHost::didCommitLoadForFrame):
2308         (WinLauncherWebHost::didReceiveTitle):
2309         (WinLauncherWebHost::didChangeIcons):
2310         (WinLauncherWebHost::didReceiveIcon):
2311         (WinLauncherWebHost::didFailLoadWithError):
2312         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
2313         (WinLauncherWebHost::willPerformClientRedirectToURL):
2314         (WinLauncherWebHost::didCancelClientRedirectForFrame):
2315         (WinLauncherWebHost::willCloseFrame):
2316         (WinLauncherWebHost::windowScriptObjectAvailable):
2317         (WinLauncherWebHost::didClearWindowObject):
2318         * WinLauncher/WinMain.cpp: Copied from WinLauncher/WinLauncher.cpp.
2319         (wWinMain):
2320         (MyRegisterClass):
2321         (shouldUseFullDesktop): Deleted.
2322         (SimpleEventListener::SimpleEventListener): Deleted.
2323         (SimpleEventListener::handleEvent): Deleted.
2324         (WinLauncherWebHost::updateAddressBar): Deleted.
2325         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2326         (WinLauncherWebHost::QueryInterface): Deleted.
2327         (WinLauncherWebHost::AddRef): Deleted.
2328         (WinLauncherWebHost::Release): Deleted.
2329         (updateMenuItemForHistoryItem): Deleted.
2330         (showLastVisitedSites): Deleted.
2331         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2332         (resizeSubViews): Deleted.
2333         (subclassForLayeredWindow): Deleted.
2334         (computeFullDesktopFrame): Deleted.
2335         (DllMain): Deleted.
2336         (getAppDataFolder): Deleted.
2337         (setToDefaultPreferences): Deleted.
2338         (setCacheFolder): Deleted.
2339         (createCrashReport): Deleted.
2340         (AbortProc): Deleted.
2341         (getPrinterDC): Deleted.
2342         (initDocStruct): Deleted.
2343         (PrintView): Deleted.
2344         (ToggleMenuItem): Deleted.
2345         (LaunchInspector): Deleted.
2346         (NavigateForwardOrBackward): Deleted.
2347         (NavigateToHistory): Deleted.
2348         (WndProc): Deleted.
2349         (EditProc): Deleted.
2350         (BackButtonProc): Deleted.
2351         (ForwardButtonProc): Deleted.
2352         (About): Deleted.
2353         (loadURL): Deleted.
2354         (dllLauncherEntryPoint): Deleted.
2355
2356 2014-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
2357
2358         [iOS] getsectdata() is deprecated and we use it in DRT
2359         https://bugs.webkit.org/show_bug.cgi?id=134122
2360
2361         Reviewed by Alexey Proskuryakov.
2362
2363         Migrate to using magic linker symbols.
2364
2365         No tests because there should be no behavior change
2366
2367         * DumpRenderTree/mac/DumpRenderTree.mm:
2368         (activateFontsIOS):
2369
2370 2014-06-24  Javier Fernandez  <jfernandez@igalia.com>
2371
2372         Name moving. Unreviewed.
2373
2374         * Scripts/webkitpy/common/config/contributors.json:
2375
2376 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2377
2378         Remove EFL WK1 watch category
2379         https://bugs.webkit.org/show_bug.cgi?id=134231
2380
2381         Reviewed by Csaba Osztrogonác.
2382
2383         * Scripts/webkitpy/common/config/watchlist: Removed EFL WK1 category.
2384
2385 2014-06-24  Krzysztof Czech  <k.czech@samsung.com>
2386
2387         [ATK] Remove some unused code from DumpRenderTree
2388         https://bugs.webkit.org/show_bug.cgi?id=134191
2389
2390         Reviewed by Chris Fleizach.
2391
2392         DumpRenderTree's accessibility code could be removed since GTK and EFL has stopped supporting WK1.
2393
2394         * DumpRenderTree/atk/AccessibilityCallbacks.h: Removed.
2395         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp: Removed.
2396         * DumpRenderTree/atk/AccessibilityControllerAtk.cpp: Removed.
2397         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Removed.
2398         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Removed.
2399         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: Removed.
2400
2401 2014-06-23  Shivakumar JM  <shiva.jm@samsung.com>
2402
2403         [EFL][WK2] Search field is not shown properly on doing ctrl+f on Minibrowser.
2404         https://bugs.webkit.org/show_bug.cgi?id=134025
2405
2406         Reviewed by Gyuyoung Kim.
2407
2408         Use EVAS_HINT_FILL in evas_object_size_hint_align_set() api.
2409
2410         * MiniBrowser/efl/main.c:
2411         (window_create):
2412
2413 2014-06-23  Ryuan Choi  <ryuan.choi@samsung.com>
2414
2415         [EFL] Replace RefPtr<Evas_Object> with UniquePtrEfl
2416         https://bugs.webkit.org/show_bug.cgi?id=134236
2417
2418         Reviewed by Gyuyoung Kim.
2419
2420         * ImageDiff/efl/ImageDiff.cpp:
2421         (calculateDifference):
2422         (printImageDifferences):
2423         (readImageFromStdin):
2424         (main):
2425
2426 2014-06-23  Daniel Bates  <dabates@apple.com>
2427
2428         Rolling out r170340 and r170339.
2429
2430         Changeset r170339 broke the Apple Windows Debug and Release builds.
2431
2432         Reverted changesets:
2433
2434         "[Win] Build fix after r134209"
2435         http://trac.webkit.org/changeset/170340
2436
2437         "[Win] Clean up and refactor WinLauncher"
2438         https://bugs.webkit.org/show_bug.cgi?id=134209
2439         http://trac.webkit.org/changeset/170339
2440
2441 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
2442
2443         [Win] Build fix after r134209
2444
2445         * WinLauncher/WinMain.cpp: Must include the resources file
2446         before Common.cpp.
2447
2448 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
2449
2450         [Win] Clean up and refactor WinLauncher
2451         https://bugs.webkit.org/show_bug.cgi?id=134209
2452
2453         Reviewed by Tim Horton.
2454
2455         Make WinLauncher a class, and move all non-class driver functions
2456         into "Common.cpp" and "WinMain.cpp". These files are distinct
2457         to allow some internal tools to reuse the code in 'Common'.
2458
2459         * WinLauncher/Common.cpp: Added. Consists of code moved from
2460         'WinLauncher.cpp' that can be reused for other tools.
2461         (subclassForLayeredWindow):
2462         (computeFullDesktopFrame):
2463         (DllMain):
2464         (getAppDataFolder):
2465         (setCacheFolder):
2466         (createCrashReport):
2467         (AbortProc):
2468         (getPrinterDC):
2469         (initDocStruct):
2470         (PrintView):
2471         (ToggleMenuItem):
2472         (WndProc):
2473         (EditProc):
2474         (BackButtonProc):
2475         (ForwardButtonProc):
2476         (About):
2477         (loadURL):
2478         (dllLauncherEntryPoint):
2479         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
2480         (DOMEventListener::Release):
2481         (WebScriptObject::WebScriptObject): Deleted.
2482         (WebScriptObject::~WebScriptObject): Deleted.
2483         (WebScriptObject::throwException): Deleted.
2484         (WebScriptObject::callWebScriptMethod): Deleted.
2485         (WebScriptObject::evaluateWebScript): Deleted.
2486         (WebScriptObject::removeWebScriptKey): Deleted.
2487         (WebScriptObject::stringRepresentation): Deleted.
2488         (WebScriptObject::webScriptValueAtIndex): Deleted.
2489         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
2490         (WebScriptObject::setException): Deleted.
2491         (DOMEventListener::throwException): Deleted.
2492         (DOMEventListener::callWebScriptMethod): Deleted.
2493         (DOMEventListener::evaluateWebScript): Deleted.
2494         (DOMEventListener::removeWebScriptKey): Deleted.
2495         (DOMEventListener::stringRepresentation): Deleted.
2496         (DOMEventListener::webScriptValueAtIndex): Deleted.
2497         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
2498         (DOMEventListener::setException): Deleted.
2499         (DOMEventListener::handleEvent): Deleted.
2500         * WinLauncher/DOMDefaultImpl.h:
2501         (WebScriptObject::QueryInterface): Deleted.
2502         (WebScriptObject::AddRef): Deleted.
2503         (WebScriptObject::Release): Deleted.
2504         (DOMObject::QueryInterface): Deleted.
2505         (DOMEventListener::QueryInterface): Deleted.
2506         (DOMEventListener::AddRef): Deleted.
2507         (DOMEventListener::Release): Deleted.
2508         * WinLauncher/WinLauncher.cpp: Converted stand-alone implementation
2509         into a C++ class and removed WinAPI code.
2510         (WinLauncher::WinLauncher):
2511         (WinLauncher::init):
2512         (WinLauncher::prepareViews):
2513         (WinLauncher::setFrameLoadDelegate):
2514         (WinLauncher::setUIDelegate):
2515         (WinLauncher::setAccessibilityDelegate):
2516         (WinLauncher::mainFrame):
2517         (WinLauncher::seedInitialDefaultPreferences):
2518         (WinLauncher::setToDefaultPreferences):
2519         (updateMenuItemForHistoryItem):
2520         (WinLauncher::showLastVisitedSites):
2521         (WinLauncher::launchInspector):
2522         (WinLauncher::navigateForwardOrBackward):
2523         (WinLauncher::navigateToHistory):
2524         (WinLauncher::goBack):
2525         (WinLauncher::goForward):
2526         (WinLauncher::loadURL):
2527         (shouldUseFullDesktop): Deleted.
2528         (SimpleEventListener::SimpleEventListener): Deleted.
2529         (SimpleEventListener::handleEvent): Deleted.
2530         (WinLauncherWebHost::updateAddressBar): Deleted.
2531         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2532         (WinLauncherWebHost::QueryInterface): Deleted.
2533         (WinLauncherWebHost::AddRef): Deleted.
2534         (WinLauncherWebHost::Release): Deleted.
2535         (showLastVisitedSites): Deleted.
2536         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2537         (resizeSubViews): Deleted.
2538         (subclassForLayeredWindow): Deleted.
2539         (computeFullDesktopFrame): Deleted.
2540         (DllMain): Deleted.
2541         (getAppDataFolder): Deleted.
2542         (setToDefaultPreferences): Deleted.
2543         (setCacheFolder): Deleted.
2544         (createCrashReport): Deleted.
2545         (wWinMain): Deleted.
2546         (MyRegisterClass): Deleted.
2547         (AbortProc): Deleted.
2548         (getPrinterDC): Deleted.
2549         (initDocStruct): Deleted.
2550         (PrintView): Deleted.
2551         (ToggleMenuItem): Deleted.
2552         (LaunchInspector): Deleted.
2553         (NavigateForwardOrBackward): Deleted.
2554         (NavigateToHistory): Deleted.
2555         (WndProc): Deleted.
2556         (EditProc): Deleted.
2557         (BackButtonProc): Deleted.
2558         (ForwardButtonProc): Deleted.
2559         (About): Deleted.
2560         (loadURL): Deleted.
2561         (dllLauncherEntryPoint): Deleted.
2562         * WinLauncher/WinLauncher.h: Removed.
2563         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2564         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
2565         * WinLauncher/WinLauncherReplace.h:
2566         (processCrashReport):
2567         * WinLauncher/WinLauncherWebHost.cpp: Added.
2568         (SimpleEventListener::SimpleEventListener):
2569         (SimpleEventListener::handleEvent):
2570         (WinLauncherWebHost::updateAddressBar):
2571         (WinLauncherWebHost::didFailProvisionalLoadWithError):
2572         (WinLauncherWebHost::QueryInterface):
2573         (WinLauncherWebHost::AddRef):
2574         (WinLauncherWebHost::Release):
2575         (WinLauncherWebHost::didFinishLoadForFrame):
2576         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
2577         Moved WinLauncherWebHost implementation from WinLauncher.cpp into
2578         its own set of files.
2579         (WinLauncherWebHost::WinLauncherWebHost):
2580         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
2581         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2582         (WinLauncherWebHost::didCommitLoadForFrame):
2583         (WinLauncherWebHost::didReceiveTitle):
2584         (WinLauncherWebHost::didChangeIcons):
2585         (WinLauncherWebHost::didReceiveIcon):
2586         (WinLauncherWebHost::didFailLoadWithError):
2587         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
2588         (WinLauncherWebHost::willPerformClientRedirectToURL):
2589         (WinLauncherWebHost::didCancelClientRedirectForFrame):
2590         (WinLauncherWebHost::willCloseFrame):
2591         (WinLauncherWebHost::windowScriptObjectAvailable):
2592         (WinLauncherWebHost::didClearWindowObject):
2593         * WinLauncher/WinMain.cpp: Added. This consists of code from
2594         WinLauncher that is unique to the WinLauncher utility, and is
2595         not part of the WinLauncher class.
2596         (wWinMain):
2597         (MyRegisterClass):
2598
2599 2014-06-23  Simon Fraser  <simon.fraser@apple.com>
2600
2601         Enable the Web Inspector in MiniBrowser
2602         https://bugs.webkit.org/show_bug.cgi?id=134148
2603
2604         Reviewed by Joseph Pecoraro.
2605         
2606         Set the pref to enable Web Inspector in both WK1 and WK2 windows.
2607
2608         * MiniBrowser/mac/AppDelegate.m:
2609         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
2610
2611 2014-06-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2612
2613         Disable gamepad feature on EFL and GTK ports by default
2614         https://bugs.webkit.org/show_bug.cgi?id=134169
2615
2616         Reviewed by Brady Eidson.
2617
2618         EFL and GTK ports disabled Gamepad feature now. Besides current implementation
2619         was treated to 'deprecated' status.
2620
2621         ENABLE_GAMEPAD_DEPRECATED is disabled for now. There is build break on EFL port.
2622
2623         * Scripts/webkitperl/FeatureList.pm:
2624
2625 2014-06-21  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2626
2627         [Inspector][EFL] Can't resume a special break point on EFL inspector
2628         https://bugs.webkit.org/show_bug.cgi?id=129294
2629
2630         Reviewed by Gyuyoung Kim.
2631
2632         Patch our EFL 1.9 with the fix landed in upstream EFL 1.10
2633         by Ryuan Choi - <https://phab.enlightenment.org/D790>
2634
2635         * efl/jhbuild.modules:
2636         * efl/patches/ecore.patch: Added.
2637
2638 2014-06-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2639
2640         Removing PAGE_VISIBILITY_API compile guard.
2641         https://bugs.webkit.org/show_bug.cgi?id=133844
2642
2643         Reviewed by Gavin Barraclough.
2644
2645         * Scripts/webkitperl/FeatureList.pm:
2646
2647 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
2648
2649         [EFL] Remove DumpRenderTree/efl and EWebLauncher
2650         https://bugs.webkit.org/show_bug.cgi?id=134138
2651
2652         Reviewed by Gyuyoung Kim.
2653
2654         DumpRenderTree/efl and EWebLauncher are not necessary anymore because WebKit1 EFL will be removed.
2655
2656         * CMakeLists.txt:
2657         * DumpRenderTree/PlatformEfl.cmake: Removed.
2658         * DumpRenderTree/efl: Removed entire directory.
2659         * EWebLauncher: Ditto.
2660         * WebKitTestRunner/InjectedBundle/efl/FontManagement.cpp: Renamed from Tools/DumpRenderTree/efl/FontManagement.cpp.
2661         (buildPath):
2662         (getCoreFontFiles):
2663         (addFontDirectory):
2664         (addFontFiles):
2665         (getCustomBuildDir):
2666         (getPlatformFontsPath):
2667         (addFontsToEnvironment):
2668         * WebKitTestRunner/InjectedBundle/efl/FontManagement.h: Renamed from Tools/DumpRenderTree/efl/FontManagement.h.
2669         * WebKitTestRunner/PlatformEfl.cmake:
2670
2671 2014-06-20  Zalan Bujtas  <zalan@apple.com>
2672
2673         Name moving. Unreviewed.
2674
2675         * Scripts/webkitpy/common/config/contributors.json:
2676
2677 2014-06-20  Javier Fernandez  <jfernandez@igalia.com>
2678
2679         Unreviewed. Adding myself to committers.
2680
2681         * Scripts/webkitpy/common/config/contributors.json:
2682
2683 2014-06-20  Yusuke Suzuki  <utatane.tea@gmail.com>
2684
2685         Unreviewed. Adding myself to committers.
2686
2687         * Scripts/webkitpy/common/config/contributors.json:
2688
2689 2014-06-20  Tim Horton  <timothy_horton@apple.com>
2690
2691         Make WebKit2 more accessible in MiniBrowser
2692         https://bugs.webkit.org/show_bug.cgi?id=134099
2693
2694         Reviewed by Anders Carlsson.
2695
2696         * MiniBrowser/mac/AppDelegate.h:
2697         * MiniBrowser/mac/AppDelegate.m:
2698         (-[BrowserAppDelegate newWindow:]):
2699         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
2700         (-[BrowserAppDelegate toggleUseWebKit2ByDefault:]):
2701         (-[BrowserAppDelegate _useWebKit2ByDefault]):
2702         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
2703         (-[BrowserAppDelegate validateMenuItem:]):
2704         * MiniBrowser/mac/MainMenu.xib:
2705         Add a "Use WebKit2 By Default" menu item to the top of the Debug menu.
2706         When switched on, Cmd-N will make WebKit2 windows (and the default window will be WebKit2).
2707         Make the non-default new-window menu item always show up, because people often don't find it
2708         when you have to press option to have it show up.
2709
2710         * MiniBrowser/mac/BrowserWindowController.h:
2711         * MiniBrowser/mac/BrowserWindowController.m:
2712         (-[BrowserWindowController initWithWindow:]):
2713         
2714         * MiniBrowser/mac/WK1BrowserWindowController.m:
2715         (-[WK1BrowserWindowController validateMenuItem:]):
2716         * MiniBrowser/mac/WK2BrowserWindowController.m:
2717         (-[WK2BrowserWindowController validateMenuItem:]):
2718         Use the cached [menuItem action] like the earlier cases do.
2719
2720 2014-06-20  Daniel Bates  <dabates@apple.com>
2721
2722         Teach run-{safari, webkit-app} about iOS Simulator
2723         https://bugs.webkit.org/show_bug.cgi?id=133986
2724
2725         Reviewed by David Kilzer.
2726
2727         Extract the logic from old-run-webkit-tests to install and launch {DumpRenderTree, WebKitTestRunnerApp}.app
2728         into general-purpose routines in webkitdirs.pm so that they can be used both by script old-run-webkit-tests
2729         and run-safari.
2730
2731         * Scripts/old-run-webkit-tests:
2732         (installAndLaunchDumpToolAppUsingNotification): Extracted logic to install and launch {DumpRenderTree,
2733         WebKitTestRunnerApp}.app into webkitdirs::installAndLaunchIOSWebKitAppInSimulator() and modified code
2734         to call it.
2735         (openIPhoneSimulator): Deleted; moved logic to webkitdirs::openIOSSimulator().
2736         (quitIPhoneSimulator): Deleted; moved logic to webkitdirs::quitIOSSimulator().
2737         * Scripts/run-webkit-app: Modified to call runIOSWebKitApp() when the iOS simulator SDK is used
2738         (say, by specifying the optional command-line argument --simulator). For now, die() with an error
2739         when the iOS device SDK is used as we don't support launching an app on the device at this time.
2740         * Scripts/webkitdirs.pm:
2741         (xcodeSDKVersion): Added.
2742         (setupIOSWebKitEnvironment): Added.
2743         (installedMobileSafariBundle): Added.
2744         (mobileSafariBundle): Added.
2745         (plistPathFromBundle): Added.
2746         (appIdentiferFromBundle): Added.
2747         (appDisplayNameFromBundle): Added.
2748         (loadIPhoneSimulatorNotificationIfNeeded): Added.
2749         (openIOSSimulator): Added.
2750         (quitIOSSimulator): Added.
2751         (iosSimulatorDeviceByName): Added.
2752         (iosSimulatorRuntime): Added.
2753         (findOrCreateSimulatorForIOSDevice): Added.
2754         (runIOSWebKitAppInSimulator): Added.
2755         (installAndLaunchIOSWebKitAppInSimulator): Added.
2756         (runIOSWebKitApp): Added.
2757         (runSafari): Modified to call runIOSWebKitAppInSimulator() the iOS simulator SDK is used. For now,
2758         die() with an error when the iOS device SDK is used as we don't support launching Safari on the
2759         device at this time.
2760
2761 2014-06-19  Anders Carlsson  <andersca@apple.com>
2762
2763         Add WTF::Optional class
2764         https://bugs.webkit.org/show_bug.cgi?id=134083
2765
2766         Reviewed by Andreas Kling.
2767
2768         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2769         * TestWebKitAPI/Tests/WTF/Optional.cpp: Added.
2770         (TestWebKitAPI::TEST):
2771
2772 2014-06-20  Ion Rosca  <rosca@adobe.com>
2773
2774         Unreviewed. Adding myself to Committers list.
2775
2776         * Scripts/webkitpy/common/config/contributors.json:
2777
2778 2014-06-20  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2779
2780         [EFL] Add gstreamer as dependecy of EFL after r169785
2781         https://bugs.webkit.org/show_bug.cgi?id=134066
2782
2783         Reviewed by Gyuyoung Kim.
2784
2785         * efl/jhbuild.modules:
2786
2787 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
2788
2789         [EFL] Merge url_utils.c to MiniBrowser
2790         https://bugs.webkit.org/show_bug.cgi?id=134095
2791
2792         Reviewed by Csaba Osztrogonác.
2793
2794         url_utils.c is simple code to share between EWebLauncher and MiniBrowser.
2795         This patch removes the dependency of url_utils.c from MiniBrowser to drop WebKit1 EFL port.
2796
2797         * MiniBrowser/efl/CMakeLists.txt:
2798         Remove the EWebLauncher/ from the includes and url_utils.h from the source lists.
2799         * MiniBrowser/efl/main.c:
2800         (has_scheme): Copied from url_utils.c
2801         (url_from_user_input): Ditto.
2802
2803 2014-06-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2804
2805         Fix webkitpy tests after EFL WK1 buildbot and EWS removal - r170172.
2806
2807         Reviewed by Csaba Osztrogonác.
2808
2809         * Scripts/webkitpy/common/config/ports_unittest.py:
2810         (DeprecatedPortTest.test_gtk_wk2_port):
2811         (DeprecatedPortTest.test_efl_port): Deleted.
2812         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
2813         (TestExpectationsTestCase.test_determine_port_from_expectations_path):
2814         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2815         (TestRebaselineExpectations.test_rebaseline_expectations):
2816
2817 2014-06-19  Ryuan Choi  <ryuan.choi@samsung.com>
2818
2819         [EFL][CMAKE] Disable WebKit1 build as a default
2820         https://bugs.webkit.org/show_bug.cgi?id=134093
2821
2822         Reviewed by Gyuyoung Kim.
2823
2824         * CMakeLists.txt:
2825
2826 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2827
2828         [GTK] webkit_dom_document_create_tree_walker impossible to use due to WebKitDOMNodeFilter
2829         https://bugs.webkit.org/show_bug.cgi?id=93002
2830
2831         Reviewed by Gustavo Noronha Silva.
2832
2833         Add unit tests to check WebKitDOMNodefilter API used from both
2834         TreeWalker and NodeIterator.
2835
2836         * Scripts/webkitpy/style/checker.py: Add exceptions for GTK+
2837         public headers and add WebKitDOMNodeFilter to the list of exceptions.
2838         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
2839         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp: Added.
2840         (webkitNodeFilterAcceptNode):
2841         (webkitNodeFilterDOMNodeFilterIfaceInit):
2842         (webkit_node_filter_init):
2843         (webkit_node_filter_class_init):
2844         (WebKitDOMNodeFilterTest::create):
2845         (WebKitDOMNodeFilterTest::webPageFromArgs):
2846         (WebKitDOMNodeFilterTest::testTreeWalker):
2847         (WebKitDOMNodeFilterTest::testNodeIterator):
2848         (WebKitDOMNodeFilterTest::runTest):
2849         (registerTests):
2850         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp: Added.
2851         (runTest):
2852         (testWebKitDOMNodeFilterTreeWalker):
2853         (testWebKitDOMNodeFilterNodeIterator):
2854         (beforeAll):
2855         (afterAll):
2856         * gtk/webkitdom.py:
2857         (WebKitDOMDocGeneratorSections.__init__):
2858         (WebKitDOMDocGeneratorSections._symbol_list):
2859         (WebKitDOMDocGeneratorSections.write_section):
2860
2861 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2862
2863         [GTK] Limit the amount of API exposed to GObject DOM bindings API
2864         https://bugs.webkit.org/show_bug.cgi?id=133726
2865
2866         Reviewed by Gustavo Noronha Silva.
2867
2868         Don't make fatal finding files without a .symbols file, since now
2869         only the stable DOM API has .symbols files.
2870
2871         * gtk/webkitdom.py:
2872         (get_all_webkitdom_symbol_files):
2873
2874 2014-06-19  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2875
2876         Remove efl wk1 buildbot and ews
2877         https://bugs.webkit.org/show_bug.cgi?id=134089
2878
2879         Reviewed by Benjamin Poulain.
2880
2881         EFL WK1 is not supported anymore. Removed all bots for EFL WK1 bots.
2882
2883         * BuildSlaveSupport/build.webkit.org-config/config.json:
2884         * QueueStatusServer/config/queues.py:
2885         * Scripts/webkitpy/common/config/ews.json:
2886         * Scripts/webkitpy/common/config/ports.py:
2887         (DeprecatedPort.port):
2888         (QtWK2Port.run_webkit_tests_command):
2889         (EflPort): Deleted.
2890         (EflPort.build_webkit_command): Deleted.
2891         * Scripts/webkitpy/port/builders.py:
2892         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2893         * TestResultServer/static-dashboards/loader_unittests.js:
2894
2895 2014-06-19  David Kilzer  <ddkilzer@apple.com>
2896
2897         check-webkit-style does not understand Obj-C literal syntax for NSDictionary
2898         <http://webkit.org/b/134061>
2899
2900         Reviewed by Dan Bernstein.
2901
2902         * Scripts/webkitpy/style/checkers/cpp.py:
2903         (check_spacing): Ignore '@' immediately before '{'.
2904         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2905         (CppStyleTest.test_spacing_before_braces): Add unit test for
2906         '^{' block syntax and '@{' Objective-C liternal NSDitionary
2907         syntax.
2908
2909 2014-06-18  Tim Horton  <timothy_horton@apple.com>
2910
2911         All of MiniBrowser's WKWebViews should share a configuration
2912         https://bugs.webkit.org/show_bug.cgi?id=134017
2913
2914         Reviewed by Anders Carlsson.
2915
2916         * MiniBrowser/mac/WK2BrowserWindowController.m:
2917         (-[WK2BrowserWindowController awakeFromNib]):
2918         Share a single WKWebViewConfiguration between all of MiniBrowser's views.
2919         This means that they'll share things like preferences, visited links, etc.
2920         It also means that we'll properly share processes once we hit the process limit.
2921
2922 2014-06-18  Zan Dobersek  <zdobersek@igalia.com>
2923
2924         [GTK] Bump the GLib and GTK+ dependencies in jhbuild-wayland.modules
2925         https://bugs.webkit.org/show_bug.cgi?id=133971
2926
2927         Reviewed by Martin Robinson.
2928
2929         * gtk/jhbuild-wayland.modules: Bump the GTK+ dependency that's required for
2930         building for the Wayland target. The latest 3.12 version is required to match
2931         the xdg_shell protocol version used in Weston 1.5. GLib dependency is bumped
2932         as well due to GTK+ depending on a newer version.
2933
2934 2014-06-17  Ryuan Choi  <ryuan.choi@samsung.com>
2935
2936         [EFL] Turn on NOSNIFF in FeatureList.pm
2937         https://bugs.webkit.org/show_bug.cgi?id=134010
2938
2939         Reviewed by Csaba Osztrogonác.
2940
2941         r164848 enabled NOSNIFF feature for EFL port but missed to change FeatureList.pm.
2942
2943         * Scripts/webkitperl/FeatureList.pm: Turn on NOSNIFF for the EFL port.
2944
2945 2014-06-17  Tim Horton  <timothy_horton@apple.com>
2946
2947         MiniBrowser should show Web Content process pids in the window title
2948         https://bugs.webkit.org/show_bug.cgi?id=134016
2949
2950         Reviewed by Sam Weinig.
2951
2952         * MiniBrowser/mac/WK2BrowserWindowController.m:
2953         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
2954
2955 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2956
2957         [GTK] Fix the handling of resize events after r169505.
2958         https://bugs.webkit.org/show_bug.cgi?id=133517
2959
2960         Reviewed by Martin Robinson.
2961
2962         * Scripts/webkitpy/port/xvfbdriver.py:
2963         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
2964         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
2965         need at least 900x640 pixels to pass.
2966         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2967         (XvfbDriverTest.test_start_no_pixel_tests): Update resolution.
2968         (XvfbDriverTest.test_start_pixel_tests): Update resolution.
2969         (XvfbDriverTest.test_start_arbitrary_worker_number): Update resolution.
2970         (XvfbDriverTest.test_start_next_worker): Update resolution.
2971         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2972         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
2973         be requested over the main widget instead of the window.
2974         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
2975         the Mac port.
2976         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
2977         (WTR::PlatformWebView::setWindowFrame): Set the size and position
2978         of the Window and the web view.
2979
2980 2014-06-17  Matthew Mirman <mmirman@apple.com>
2981
2982         Unreviewed. Added myself to list of contributors.
2983
2984         * Scripts/webkitpy/common/config/contributors.json: Added myself.
2985
2986 2014-06-17  Commit Queue  <commit-queue@webkit.org>
2987
2988         Unreviewed, rolling out r170058.
2989         https://bugs.webkit.org/show_bug.cgi?id=133993
2990
2991         Caused 4 webkitpy failures on the bots (Requested by bradee-oh
2992         on #webkit).
2993
2994         Reverted changeset:
2995
2996         "[GTK] Fix the handling of resize events after r169505."
2997         https://bugs.webkit.org/show_bug.cgi?id=133517
2998         http://trac.webkit.org/changeset/170058
2999
3000 2014-06-17  Rebecca Hauck  <rhauck@adobe.com>
3001
3002         Update import-w3c-tests to reflect current W3C test repo directory structure
3003         https://bugs.webkit.org/show_bug.cgi?id=133460
3004
3005         Reviewed by Bem Jones-Bey.
3006
3007         Removed all references to test status, which are no longer reflected in the
3008         directory names in the W3C CSS test repo.  No tests are required for this 
3009         change, the existing tests pass.
3010
3011         * Scripts/webkitpy/w3c/test_importer.py:
3012         (main):
3013         (TestImporter.__init__):
3014         (TestImporter.find_importable_tests):
3015         (TestImporter.setup_destination_directory):
3016         (TestImporter.write_import_log):
3017         (TestImporter.update_test_status): Deleted.
3018
3019 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3020
3021         [GTK] Fix the handling of resize events after r169505.
3022         https://bugs.webkit.org/show_bug.cgi?id=133517
3023
3024         Reviewed by Martin Robinson.
3025
3026         * Scripts/webkitpy/port/xvfbdriver.py:
3027         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
3028         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
3029         need at least 900x640 pixels to pass.
3030         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3031         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
3032         be requested over the main widget instead of the window.
3033         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
3034         the Mac port.
3035         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
3036         (WTR::PlatformWebView::setWindowFrame): Set the size and position
3037         of the Window and the web view.
3038
3039 2014-06-17  Dan Bernstein  <mitz@apple.com>
3040
3041         String::isolatedCopy doesn’t return an isolated copy when used on an rvalue reference
3042         https://bugs.webkit.org/show_bug.cgi?id=133968
3043
3044         Reviewed by Anders Carlsson.
3045
3046         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3047         (TestWebKitAPI::TEST): Added a test that an isolated copy of an rvalue reference doesn’t
3048         share an impl() with the original.
3049
3050 2014-06-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3051
3052         [EFL][WK2] Skip failing EFL API tests
3053         https://bugs.webkit.org/show_bug.cgi?id=133981
3054
3055         Reviewed by Csaba Osztrogonác.
3056
3057         UserMessage, WillLoad and test_ewk2_view have been failed since r169784.
3058
3059         * TestWebKitAPI/PlatformEfl.cmake:
3060
3061 2014-06-16  Ryuan Choi  <ryuan.choi@samsung.com>
3062
3063         [EFL][WK2] Remove workaround for icon display bug in MiniBrowser
3064         https://bugs.webkit.org/show_bug.cgi?id=133962
3065
3066         Reviewed by Gyuyoung Kim.
3067
3068         Since we bumped EFL to 1.9, this workaround is unnecessary.
3069
3070         * MiniBrowser/efl/main.c:
3071         (update_view_favicon):
3072
3073 2014-06-16  Gwang Yoon Hwang  <yoon@igalia.com>
3074
3075         [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests
3076         https://bugs.webkit.org/show_bug.cgi?id=131472
3077
3078         Reviewed by Martin Robinson.
3079
3080         This patch reapplies r167510 with fixes to add llvm as a dependency for llvmpipe.
3081
3082         * Scripts/webkitpy/port/xvfbdriver.py:
3083         (XvfbDriver._start): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH
3084         when running WebKitTestRunner with the Xvfb driver.
3085         * gtk/install-dependencies: Add LLVM as a dependency to build llvmpipe.
3086         * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not
3087         installed.
3088         * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows
3089         how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to
3090         calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great
3091         deal.
3092
3093 2014-06-16  Tanay C  <tanay.c@samsung.com>
3094
3095         Remove deprecated API warnings in WebKit/Tools/MiniBrowser/efl/main.c
3096         https://bugs.webkit.org/show_bug.cgi?id=133792
3097
3098         Reviewed by Gyuyoung Kim.
3099
3100         * MiniBrowser/efl/main.c: replaced the deprecated API's with the latest ones
3101         (show_file_entry_dialog):
3102         (window_create):
3103
3104 2014-06-16  Mario Sanchez Prada  <mario.prada@samsung.com>
3105
3106         [ATK] Missing 'selection-changed' signal when navigating a combo box with keyboard
3107         https://bugs.webkit.org/show_bug.cgi?id=133512
3108
3109         Reviewed by Chris Fleizach.
3110
3111         Added support for connecting to AtkSelection's 'selection-changed'
3112         signal, and print it out as AXSelectedChildrenChanged in the tests.
3113
3114         Also removed some dead code, that became useless after r169487.
3115
3116         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3117         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Updated.
3118
3119 2014-06-15  Ryuan Choi  <ryuan.choi@samsung.com>
3120
3121         [EFL][WK2] Change ewk_view_settings_get to ewk_page_group_settings_get
3122         https://bugs.webkit.org/show_bug.cgi?id=133841
3123
3124         Reviewed by Gyuyoung Kim.
3125
3126         * MiniBrowser/efl/main.c:
3127         (window_create):
3128
3129 2014-06-15  Dan Bernstein  <mitz@apple.com>
3130
3131         Set the svn:ignore property on an Xcode project to ignore user and workspace data.
3132
3133         * jsc-cli/jsc-cli.xcodeproj: Added property svn:ignore.
3134
3135 2014-06-15  Anders Carlsson  <andersca@apple.com>
3136
3137         Fix build.
3138
3139         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
3140         (callRunJavaScriptBlockAndRelease):
3141         (runJavaScriptInMainFrame):
3142         (TEST_F):
3143
3144 2014-06-13  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3145
3146         Create MSE and EME watchlist
3147         https://bugs.webkit.org/show_bug.cgi?id=133810
3148
3149         Reviewed by Eric Carlson.
3150
3151         * Scripts/webkitpy/common/config/watchlist: Create MSEEME
3152         definition and add Eric Carlson and myself to it.
3153
3154 2014-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
3155
3156         [GTK] Remove all deprecated API from GObject DOM bindings
3157         https://bugs.webkit.org/show_bug.cgi?id=133728
3158
3159         Reviewed by Martin Robinson.
3160
3161         * gtk/webkitdom.py:
3162         (WebKitDOMDocGenerator): Remove all deleted classes from the list.
3163         (WebKitDOMDocGeneratorSections.__init__): Fix a typo in member initialization.
3164
3165 2014-06-12  Simon Fraser  <simon.fraser@apple.com>
3166
3167         [iOS] Fix the view being half offscreen in WebKitTestRunner on iOS
3168         https://bugs.webkit.org/show_bug.cgi?id=133835
3169
3170         Reviewed by Tim Horton.
3171         
3172         Don't do the _fakeOrigin stuff when -initWithFrame: is calling -setFrame:
3173
3174         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3175         (-[WebKitTestRunnerWindow initWithFrame:]):
3176         (-[WebKitTestRunnerWindow setFrame:]):
3177
3178 2014-06-12  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3179
3180         [GTK] Performance tests should be always ran with WKTR.
3181         https://bugs.webkit.org/show_bug.cgi?id=133780
3182
3183         Reviewed by Ryosuke Niwa.
3184
3185         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3186         (PerfTestsRunner.__init__): Enable webkit_test_runner when port
3187         is GTK.
3188
3189 2014-06-12  Sergio Villar Senin  <svillar@igalia.com>
3190
3191         [GTK] REGRESSION: application name is not correctly appended to the UA
3192         https://bugs.webkit.org/show_bug.cgi?id=133793
3193
3194         Reviewed by Carlos Garcia Campos.
3195
3196         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
3197         (testWebKitSettingsUserAgent):
3198
3199 2014-06-12  Sergio Villar Senin  <svillar@igalia.com>
3200
3201         [GTK] Unsupported browser in www.icloud.com
3202         https://bugs.webkit.org/show_bug.cgi?id=133403
3203
3204         Reviewed by Martin Robinson.
3205
3206         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
3207         (TestWebKitAPI::TEST): removed a test for the NeedsSafariVersion6
3208         quirk that was removed.
3209
3210 2014-06-11  Simon Fraser  <simon.fraser@apple.com>
3211
3212         [iOS WK2] Give WebKitTestRunner a viewport configuration with initial scale=1 for testing
3213         https://bugs.webkit.org/show_bug.cgi?id=133779
3214
3215         Reviewed by Benjamin Poulain.
3216         
3217         Tell the WebPage to use the testing viewport configuration from the injected bundle.
3218
3219         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3220         (WTR::InjectedBundle::didReceiveMessage): Code cleanup.
3221         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
3222         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Call WKBundlePageSetUseTestingViewportConfiguration()
3223         on iOS.
3224
3225 2014-06-11  Simon Fraser  <simon.fraser@apple.com>
3226
3227         WTR cleanup: push per-test viewport configuration into TestController, where platforms can customize it
3228         https://bugs.webkit.org/show_bug.cgi?id=133770
3229
3230         Reviewed by Anders Carlsson.
3231         
3232         Push the per-test view configuration up to TestController, so that platforms
3233         can modify the behavior. This also allows platform-specific changes (e.g.
3234         for threaded scrolling) to made without #ifefs.
3235
3236         * WebKitTestRunner/TestController.cpp:
3237         (WTR::TestController::updateWebViewSizeForTest):
3238         (WTR::TestController::updateWindowScaleForTest):
3239         (WTR::shouldUseFixedLayout):
3240         (WTR::TestController::updateLayoutTypeForTest):
3241         (WTR::TestController::platformConfigureViewForTest):
3242         (WTR::TestController::configureViewForTest):
3243         * WebKitTestRunner/TestController.h:
3244         * WebKitTestRunner/TestInvocation.cpp:
3245         (WTR::TestInvocation::invoke):
3246         (WTR::sizeWebViewForCurrentTest): Deleted.
3247         (WTR::changeWindowScaleIfNeeded): Deleted.
3248         (WTR::shouldUseThreadedScrolling): Deleted.
3249         (WTR::updateThreadedScrollingForCurrentTest): Deleted.
3250         (WTR::shouldUseFixedLayout): Deleted.
3251         (WTR::updateLayoutType): Deleted.
3252         * WebKitTestRunner/TestInvocation.h:
3253         (WTR::TestInvocation::pathOrURL):
3254         * WebKitTestRunner/ios/TestControllerIOS.mm:
3255         (WTR::shouldMakeViewportFlexible):
3256         (WTR::TestController::platformConfigureViewForTest):
3257         * WebKitTestRunner/mac/TestControllerMac.mm:
3258         (WTR::shouldUseThreadedScrolling):
3259         (WTR::TestController::platformConfigureViewForTest):
3260
3261 2014-06-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3262
3263         [EFL] Add dependencies packages to efl install-dependencies file
3264         https://bugs.webkit.org/show_bug.cgi?id=133720
3265
3266         Reviewed by Csaba Osztrogonác.
3267
3268         After r169785, EFL port starts to use efl 1.9 ver. EFL port needs to
3269         install doxygen and libssl-dev because efl 1.9 depends on those libraries.
3270
3271         * efl/install-dependencies:
3272
3273 2014-06-11  Zoltan Horvath  <zoltan@webkit.org>
3274
3275         Unreviewed. Moving myself to the list of reviewers.
3276
3277         * Scripts/webkitpy/common/config/contributors.json:
3278
3279 2014-06-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3280
3281         [EFL] Drop to maintain EFL 32bit release bot
3282         https://bugs.webkit.org/show_bug.cgi?id=133710
3283
3284         Reviewed by Csaba Osztrogonác.
3285
3286         * BuildSlaveSupport/build.webkit.org-config/config.json: Removed EFL 32bit bot.
3287
3288 2014-06-11  Carlos Garcia Campos  <cgarcia@igalia.com>
3289
3290         [GTK] Use a different user agent string depending on the site
3291         https://bugs.webkit.org/show_bug.cgi?id=132681
3292
3293         Reviewed by Anders Carlsson.
3294
3295         Add a unit test to check user agent quirks.
3296
3297         * TestWebKitAPI/PlatformGTK.cmake:
3298         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp: Added.
3299         (TestWebKitAPI::TEST):
3300         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
3301         (testWebKitSettings): Site specific quirks setting is now enabled
3302         by default.
3303
3304 2014-06-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3305
3306         Unreviewed, update my list of email addresses in contributors.json.
3307
3308         * Scripts/webkitpy/common/config/contributors.json:
3309
3310 2014-06-10  Simon Fraser  <simon.fraser@apple.com>
3311
3312         Always switch to an sRGB screen color profile when running tests
3313         https://bugs.webkit.org/show_bug.cgi?id=133712
3314
3315         Reviewed by Tim Horton.
3316         
3317         Switch the screen color profile to sRGB when running tests, because even ref
3318         tests need the screen to use the correct color profile.
3319
3320         * DumpRenderTree/mac/LayoutTestHelper.m:
3321         (installLayoutTestColorProfile):
3322         * Scripts/webkitpy/port/mac.py:
3323         (MacPort.start_helper):
3324
3325 2014-06-10  Martin Hodovan  <mhodovan@partner.samsung.com>
3326
3327         [EFL] Bump EFL libraries to 1.9
3328         https://bugs.webkit.org/show_bug.cgi?id=125479
3329
3330         Reviewed by Gyuyoung Kim.
3331
3332         Based on the work of Ryuan Choi <ryuan.choi@samsung.com>
3333         and László Langó <llango.u-szeged@partner.samsung.com>.
3334
3335         * ImageDiff/CMakeLists.txt:
3336         * MiniBrowser/efl/CMakeLists.txt:
3337         * efl/install-dependencies:
3338         * efl/jhbuild.modules:
3339         * efl/jhbuildrc:
3340
3341 2014-06-10  David Farler  <dfarler@apple.com>
3342
3343         old-run-webkit-tests: Create CoreSimulator device on demand and find it by name
3344         https://bugs.webkit.org/show_bug.cgi?id=133663
3345
3346         Reviewed by David Kilzer.
3347
3348         * Scripts/old-run-webkit-tests:
3349         (installAndLaunchDumpToolAppUsingNotification):
3350         - Remove obsolete notification keys
3351         - Key off of mandatory device UDID (a UUID)
3352         - Create a device on demand via CoreSimulator if necessary
3353         -- Grab the UDID from the created device plist.
3354         * Scripts/webkitdirs.pm:
3355         (iOSSimulatorDevicesPath): Added
3356         (iOSSimulatorDevices): Added
3357         (createiOSSimulatorDevice): Added
3358         (deleteiOSSimulatorDevice): Added
3359
3360 2014-06-10  Víctor Manuel Jáquez Leal  <vjaquez@igalia.com>
3361
3362         [GTK][gtkdoc] remove -Wcast-align
3363         https://bugs.webkit.org/show_bug.cgi?id=133640
3364
3365         Apparently gcc warns that GParamSpec is not castable to
3366         GParamSpecInt64/GParamSpecUInt64/GParamSpecDouble due they are 64bit, even
3367         though ARM hackers claim that those only need 4byte alignment. As long as gcc
3368         behaves that way, this warning is not very useful, also they break the Debian
3369         packaging.
3370
3371         This patch appends the compiler flag -Wno-align-cast for the gtkdoc
3372         scanner compilation, thus the compiler ignores the previous
3373         -Waling-cast flag.
3374
3375         Reviewed by Martin Robinson.
3376
3377         * gtk/generate-gtkdoc:
3378         (get_generator_for_config):
3379
3380 2014-06-09  Alexey Proskuryakov  <ap@apple.com>
3381
3382         Disable button animations in regression tests
3383         https://bugs.webkit.org/show_bug.cgi?id=133647
3384         <rdar://problem/16677530>
3385
3386         Reviewed by Tim Horton.
3387
3388         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3389         (WTR::InjectedBundle::platformInitialize):
3390
3391 2014-06-09  Simon Fraser  <simon.fraser@apple.com>
3392
3393         Move scrolling-related tests to tiled-drawing/scrolling subdirectory, and minor cleanup
3394         https://bugs.webkit.org/show_bug.cgi?id=133650
3395
3396         Reviewed by Tim Horton.
3397         
3398         No point checking for a Windows-style path in Cocoa code.
3399
3400         * WebKitTestRunner/TestInvocation.cpp:
3401         (WTR::shouldUseThreadedScrolling):
3402
3403 2014-06-09  Simon Fraser  <simon.fraser@apple.com>
3404
3405         Fix more latched scrolling test flakiness and slowness
3406         https://bugs.webkit.org/show_bug.cgi?id=133601
3407
3408         Reviewed by Brent Fulgham.
3409         
3410         Latched scrolling tests were flakey for two reasons. First, the EventSender
3411         wheel events were async from the web to the UI process, and the resulting
3412         synthetic events also async from the UI to the web process. Make them sync
3413         for testing.
3414         
3415         Secondly, the timer-based scrolling tree commit could result in the scrolling
3416         tree (specifically the frame node's notion of the scrollable area and content
3417         size) not being updated before the scrolling thread starts getting wheel events.
3418         Fix by having WebPage::wheelEventSyncForTesting() commit if necessary.
3419         
3420         Finally remove all the now-unnecessary timeouts from the tests.
3421
3422         * WebKitTestRunner/mac/EventSenderProxy.mm:
3423         (WTR::EventSenderProxy::mouseMoveTo):
3424         (WTR::EventSenderProxy::mouseScrollBy):
3425         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
3426
3427 2014-06-09  Andrzej Badowski  <a.badowski@samsung.com>
3428
3429         [EFL] Add parameter to MiniBrowser to disable web security
3430         https://bugs.webkit.org/show_bug.cgi?id=121095
3431
3432         Reviewed by Gyuyoung Kim.
3433
3434         -w (--web-security) commandline allows to disable/enable web security (enabled by default).
3435         The reason for this is to test and debug (using, for example, MiniBrowser) scripts accessing
3436         resources from other domains (cross-domain requests) such as access map location on another server.
3437         Another possibility is to launch in a webkit browser local file tests that will refer to the links
3438         in the http website loaded in an iframe. It will not be possible without deactivation of web security.
3439
3440         * MiniBrowser/efl/main.c:
3441         (window_create):
3442         (elm_main):
3443
3444 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
3445
3446         32-bit build fix.
3447
3448         * WebKitTestRunner/mac/EventSenderProxy.mm:
3449         (WTR::EventSenderProxy::mouseMoveTo):
3450         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
3451
3452 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
3453
3454         Fix builds on 10.8; -firstObject isn't declared on NSArray there.
3455
3456         * DumpRenderTree/mac/DumpRenderTree.mm:
3457         (createWebViewAndOffscreenWindow):
3458         * DumpRenderTree/mac/EventSendingController.mm:
3459         (-[EventSendingController mouseScrollByX:andY:continuously:]):
3460         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
3461         * WebKitTestRunner/mac/EventSenderProxy.mm:
3462         (WTR::EventSenderProxy::mouseScrollBy):
3463         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
3464
3465 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
3466
3467         Latched scrolling tests are flakey on Mavericks
3468         https://bugs.webkit.org/show_bug.cgi?id=133578
3469         <rdar://problem/17180591>
3470
3471         Reviewed by Brent Fulgham.
3472         
3473         The latched scrolling tests rely on synthetic mousewheel events whose coordinates can
3474         be wrong on machines with more than one screen. This is because we use
3475         [NSScreen mainScreen] when computing the global coordinates of the events, but
3476         [NSScreen mainScreen] returns the screen with the key window, not the first screen.
3477         
3478         So replace calls to [NSScreen mainScreen] with [[NSScreen screens] firstObject]. Also
3479         add comments clarifying why the coordinate math works (which is not obvious given
3480         the events have no target window).
3481         
3482         Some scrolling tests also dispatched events outside the 800x600 test window, so
3483         fix those tests, and add logging that will appear in test output when this happens.
3484
3485         * DumpRenderTree/mac/DumpRenderTree.mm:
3486         (createWebViewAndOffscreenWindow):
3487         * DumpRenderTree/mac/EventSendingController.mm:
3488         (-[EventSendingController mouseScrollByX:andY:continuously:]):
3489         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
3490         * WebKitTestRunner/mac/EventSenderProxy.mm:
3491         (WTR::EventSenderProxy::mouseMoveTo):
3492         (WTR::EventSenderProxy::mouseScrollBy):
3493         (WTR::EventSenderProxy::continuousMouseScrollBy):
3494         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
3495
3496 2014-06-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3497
3498         [GTK] run-perf-tests should run the tests inside the jhbuild shell.
3499         https://bugs.webkit.org/show_bug.cgi?id=133533
3500
3501         Reviewed by Carlos Garcia Campos.
3502
3503         * Scripts/webkitpy/common/multiprocessing_bootstrap.py:
3504         (run): Remove the jhbuild-wrapper wrapper from here. It should be
3505         on Scripts/webkitpy/port/gtk.py.
3506         * Scripts/webkitpy/port/base.py:
3507         (Port.set_option): Add a set_option(name, value) function to set
3508         the optparse parameter "name" to the value "value", even if the
3509         parameter "name" is already initialized.
3510         * Scripts/webkitpy/port/gtk.py:
3511         (GtkPort.__init__): Set the default wrapper to jhbuild-wrapper.
3512         If another wrapper is specified via the option "-l --wrapper=x",
3513         then prepend the jhbuild-wrapper to the one specified.
3514
3515 2014-06-04  David Farler  <dfarler@apple.com>
3516
3517         Build ASan WebKit for iOS Simulator
3518         https://bugs.webkit.org/show_bug.cgi?id=133489
3519
3520         Reviewed by Darin Adler.
3521
3522         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
3523         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
3524         - Add missing ASan LDFLAGS.
3525         * asan/asan.xcconfig:
3526         - Split compiler-rt linker flags for OS X and iOS Simulator
3527
3528 2014-06-03  Yoav Weiss  <yoav@yoav.ws>
3529
3530         Add myself (yoav@yoav.ws) to contributors.json
3531         https://bugs.webkit.org/show_bug.cgi?id=133492
3532
3533         * Scripts/webkitpy/common/config/contributors.json:
3534
3535 2014-06-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3536
3537         REGRESSION(r169092 and r169102): Skip failing JSC tests poperly on non-x86 Darwin platforms
3538         https://bugs.webkit.org/show_bug.cgi?id=133149
3539
3540         Reviewed by Csaba Osztrogonác.
3541
3542         * Scripts/run-jsc-stress-tests: Added determineOS to determine the host operating system the script run on.
3543
3544 2014-06-02  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
3545
3546         Add a verbose flag to binding tests
3547         https://bugs.webkit.org/show_bug.cgi?id=122303
3548
3549         Reviewed by Csaba Osztrogonác.
3550
3551         This patch will:
3552         - Add a verbose keyword argument to the BindingsTests constructor,
3553         - Add --no-verbose option to the run-bindigs-test.
3554         Verbose mode, which is on by default, prints positive results to stdout as before.
3555         When the --no-verbose option added to run-bindings-tests, positive results are not printed at all.
3556
3557         Original patch from Matthew Hanson <matthew_hanson@apple.com>
3558
3559         * Scripts/run-bindings-tests:
3560         (main):
3561         * Scripts/webkitpy/bindings/main.py:
3562         (BindingsTests.__init__):
3563         (BindingsTests.detect_changes):
3564
3565 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
3566
3567         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
3568         https://bugs.webkit.org/show_bug.cgi?id=133455
3569
3570         Reviewed by Timothy Hatcher.
3571
3572         Since the perf. dashboard doesn't support following renamed benchmarks,
3573         keep reporting Speedometer results as DoYouEvenBench results.
3574
3575         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3576         (_generate_results_dict):
3577
3578 2014-05-31  Darin Adler  <darin@apple.com>
3579
3580         Viewport percentage tests that resize the viewport are flaky
3581         https://bugs.webkit.org/show_bug.cgi?id=133351
3582
3583         Reviewed by Anders Carlsson.
3584
3585         * DumpRenderTree/mac/DumpRenderTree.mm:
3586         (sizeWebViewForCurrentTest): Added a call to reset the window origin, which
3587         happens to be stored in the UI delegate object. This is part of resetting the
3588         window position.
3589
3590         * DumpRenderTree/mac/UIDelegate.h: Store the window origin rather than storing
3591         a frame rectangle. The size is stored in the size of the web view itself.
3592         * DumpRenderTree/mac/UIDelegate.mm:
3593         (-[UIDelegate resetWindowOrigin]): Added.
3594         (-[UIDelegate webView:setFrame:]): Changed to set the size of the web view. The
3595         old version would store the frame, but not resize the web view!
3596         (-[UIDelegate webViewFrame:]): Get the size from the web view.
3597
3598         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
3599         (WTR::PlatformWebView::setWindowFrame): Added code to resize the web view.
3600
3601         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3602         (WTR::PlatformWebView::resizeTo): Added a comment about missing code to resize
3603         the window.
3604
3605         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3606         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
3607         window gets resized too, not just the web view.
3608         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
3609
3610         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3611         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
3612         window gets resized too, not just the web view.
3613         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
3614
3615 2014-05-30  Michael Saboff  <msaboff@apple.com>
3616
3617         Change run-jsc-stress-tests to not resolve jsc path locally when creating a bundle
3618         https://bugs.webkit.org/show_bug.cgi?id=133409
3619
3620         Reviewed by Filip Pizlo.
3621
3622         Handle creating a tarball the same way as running remote when processing
3623         paths in prepareBundle.
3624
3625         * Scripts/run-jsc-stress-tests:
3626
3627 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
3628
3629         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
3630         https://bugs.webkit.org/show_bug.cgi?id=132280
3631
3632         Reviewed by Chris Fleizach.
3633
3634         Remove implementation of logAccessibilityEvents() for ATK based
3635         ports, as this has proved to be a flaky method of checking that
3636         ATK events are being properly emitted. Instead, it's better to use
3637         the addNotificationListener() functions and provide a JS callback
3638         to check that the right events are being emmitted from the tests.
3639
3640         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3641         (WTR::AccessibilityController::logAccessibilityEvents): Replaced
3642         with dummy implementation.
3643         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3644         (WTR::AccessibilityNotificationHandler::logAccessibilityEvents): Removed
3645
3646 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
3647
3648         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
3649         https://bugs.webkit.org/show_bug.cgi?id=132280
3650
3651         Rubber stamped by Carlos Garcia Campos.
3652
3653         Fix two small issues with previous patch (r169483), that caused some tests to break.
3654
3655         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3656         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Removed
3657         duplicated entry.
3658         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3659         (WTR::AccessibilityUIElement::setSelectedTextRange): Fix boolean condition.
3660
3661 2014-05-30  Jarek Czekalski  <jarekczek@poczta.onet.pl>
3662
3663         [ATK] Added new accessibility signal: text-caret-moved.
3664         Make AccessibilityUIElement.setSelectedTextRange work
3665         as atk_text_set_caret_offset when given offset == 0.
3666         https://bugs.webkit.org/show_bug.cgi?id=132527
3667
3668         Reviewed by Mario Sanchez Prada.
3669
3670         text-caret-moved signal in accessibilityController is needed to
3671         implement tests from Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c
3672         as LayoutTests. Add the signal to the controller.
3673
3674         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3675         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3676         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3677         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3678         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3679         (setSelectedTextRange): Change return type to bool.
3680         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3681         (setSelectedTextRange): Call atk_text_set_caret_offset and return bool.
3682         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3683         (axObjectEventListener): Add notification name AXTextCaretMoved, allow
3684         for extra arguments passed to handler and use it for text-caret-moved offset.
3685         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
3686         Connect callback to new listener for ATK:AtkText:text-caret-moved.
3687         Refactor so that failures be reported.
3688         Initialize atk interfaces before trying to connect to them, see
3689         https://bugzilla.gnome.org/show_bug.cgi?id=729922
3690         (WTR::AccessibilityNotificationHandler::disconnectAccessibilityCallbacks):
3691         Simplify code by using a vector in place of dozen variables.
3692         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
3693         Comment about not synchronizing with accessibilityController.
3694
3695 2014-05-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3696
3697         [GTK] Add a WebKit2 Performance bot.
3698         https://bugs.webkit.org/show_bug.cgi?id=132862
3699
3700         Reviewed by Csaba Osztrogonác.
3701
3702         This adds a GTK WebKit2 perf bot.
3703
3704         * BuildSlaveSupport/build.webkit.org-config/config.json:
3705
3706 2014-05-29  Dan Bernstein  <mitz@apple.com>
3707
3708         Fixed the WebKitTestRunner build after r169452.
3709
3710         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3711         (WTR::InjectedBundle::initialize):
3712
3713 2014-05-28  Gwang Yoon Hwang  <yoon@igalia.com>
3714
3715         Unreviewed. Update my email addresses in contributors.json.
3716
3717         * Scripts/webkitpy/common/config/contributors.json:
3718
3719 2014-05-27  Jon Honeycutt  <jhoneycutt@apple.com>
3720
3721         Need an API test for bug #133193 (r169315)
3722         <https://bugs.webkit.org/show_bug.cgi?id=133324>
3723
3724         This adds an API test that ensures that calling "stop loading" during a
3725         "did fail provisional load" callback doesn't crash.
3726
3727         Reviewed by Andy Estes.
3728
3729         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3730         Add new files to project.
3731
3732         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp: Added.
3733         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
3734         If the message is the "test done" message, record that.
3735         (TestWebKitAPI::setInjectedBundleClient):
3736         Register a function for the "did receive message from injected bundle"
3737         callback.
3738         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
3739         Assert that we received the message from the injected bundle, and set
3740         'done' to finish the test.
3741         (TestWebKitAPI::TEST):
3742         Create a WebView, register a page loader client for the "did fail
3743         provisional load" callback, and load a non-existent resource.
3744
3745         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp: Added.
3746         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::StopLoadingDuringDidFailProvisionalLoadTest):
3747         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrameCallback):
3748         Tell the StopLoadingDuringDidFailProvisionalLoadTest object that the
3749         provisional load failed.
3750         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didCreatePage):
3751         Register a page loader client for the "did fail provisional load"
3752         callback.
3753         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didFailProvisionalLoad):
3754         Call WKBundlePageStopLoading() during the callback. This not crashing
3755         is what we're ensuring with this test.
3756
3757 2014-05-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3758
3759         [GTK] Make it possible to build with FTL enabled
3760         https://bugs.webkit.org/show_bug.cgi?id=133219
3761
3762         Reviewed by Philippe Normand.
3763
3764         * gtk/jhbuild-optional.modules: Add llvm from svn and build the
3765         same revision than mac.
3766
3767 2014-05-27  Michael Saboff  <msaboff@apple.com>
3768
3769         REGRESSION(r169265): sh: line 0: cd: ../.vm
3770         https://bugs.webkit.org/show_bug.cgi?id=133242
3771
3772         Rubber stamped by Oliver Hunt.
3773
3774         Changed runAndMonitorTestRunnerCommand() to pass mysys as a string instead of an
3775         array since the command may contain character escapes that don't work with the
3776         array form of system().
3777
3778         * Scripts/run-jsc-stress-tests:
3779
3780 2014-05-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3781
3782         [EFL] Change download url of freetype6
3783         https://bugs.webkit.org/show_bug.cgi?id=133303
3784
3785         Reviewed by Csaba Osztrogonác.
3786
3787         freetype6 tarball isn't downloaded in Korea. So, we need to
3788         change the url for now.
3789
3790         * efl/jhbuild.modules:
3791
3792 2014-05-27  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
3793
3794         Remove BLOB guards
3795         https://bugs.webkit.org/show_bug.cgi?id=132863
3796
3797         Reviewed by Csaba Osztrogonác.
3798
3799         * Scripts/webkitperl/FeatureList.pm:
3800
3801 2014-05-27  Alberto Garcia  <berto@igalia.com>
3802
3803         Remove leftover comment from r165182.
3804
3805         Rubber stamped by Carlos Garcia Campos.
3806
3807         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
3808
3809 2014-05-26  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
3810
3811         [EFL] Add LLVM as optional jhbuild module for FTL developers
3812         https://bugs.webkit.org/show_bug.cgi?id=133216
3813
3814         Reviewed by Gyuyoung Kim.
3815
3816         * efl/jhbuild.modules:
3817
3818 2014-05-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3819
3820         Fix test failures on python test
3821         https://bugs.webkit.org/show_bug.cgi?id=133297
3822
3823         Reviewed by Dirk Schulze.
3824
3825         2 tests are failing because of unbounded local variable reference in test_importer.py.
3826
3827         * Scripts/webkitpy/w3c/test_importer.py: Move local variable declaration to top.
3828         (TestImporter.import_tests):
3829
3830 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3831
3832         [GTK] GObject DOM bindings API break test fails in the tests bots
3833         https://bugs.webkit.org/show_bug.cgi?id=133211
3834
3835         Reviewed by Martin Robinson.
3836
3837         When generating the built product archive on platform GTK, we need
3838         to copy also the file gtkdoc-webkitdom.cfg and the directory
3839         DerivedSources/webkitdom.
3840
3841         * BuildSlaveSupport/built-product-archive:
3842         (archiveBuiltProduct):
3843
3844 2014-05-26  Commit Queue  <commit-queue@webkit.org>
3845
3846         Unreviewed, rolling out r169122.
3847         https://bugs.webkit.org/show_bug.cgi?id=133288
3848
3849         Broke CJK font fallback (Requested by ap on #webkit).
3850
3851         Reverted changeset:
3852
3853         "[Mac] WebProcess doesn't follow localization of UI process
3854         when run as a service"
3855         https://bugs.webkit.org/show_bug.cgi?id=133126
3856         http://trac.webkit.org/changeset/169122
3857
3858 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
3859
3860         [GTK] WebProcess leaked when closing pages with network process enabled
3861         https://bugs.webkit.org/show_bug.cgi?id=129684
3862
3863         Reviewed by Anders Carlsson.
3864
3865         Enable the test to check that web processes finish when the web
3866         view is destroyed.
3867
3868         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
3869
3870 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
3871
3872         REGRESSION(r164632): [GTK] Crash in generate-gtkdoc when rebasing docs
3873         https://bugs.webkit.org/show_bug.cgi?id=133279
3874
3875         Reviewed by Philippe Normand.
3876
3877         generator.saw_warnings is only set by GTKDoc::generate(), so it
3878         should only be used after generate.
3879
3880         * gtk/generate-gtkdoc:
3881         (generate_documentation_for_config): Do not check
3882         generator.saw_warnings again, simply return the value returned by
3883         generate_doc() which is generator.saw_warnings. When rebasing,
3884         returns always False since there aren't warnings.
3885
3886 2014-05-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3887
3888         W3C test importer should catch exceptions coming from HTML/CSS conversion
3889         https://bugs.webkit.org/show_bug.cgi?id=133176
3890
3891         Reviewed by Darin Adler.
3892
3893         Exceptions raised when converting HTML/CSS are caught.
3894         Files for which conversion failed are still copied to the target directory.
3895         Each individual conversion failure is logged.
3896         Total conversion failure number is logged at the end of the import process.
3897
3898         * Scripts/webkitpy/w3c/test_importer.py:
3899         (TestImporter.import_tests):
3900
3901 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3902
3903         [GTK] Allow to run the tests on the native X display.
3904         https://bugs.webkit.org/show_bug.cgi?id=133157
3905
3906         Reviewed by Benjamin Poulain.
3907
3908         This adds a new driver (xorgdriver) that runs the tests on the
3909         X display referenced by the environment variable DISPLAY.
3910
3911         This new driver will be activated only if the environment variable
3912         USE_NATIVE_XDISPLAY is defined. This can be used both for layout
3913         tests and performance tests.
3914
3915         This patch also makes the script run-perf-tests to check the
3916         system dependencies before starting the tests. Previously this
3917         was not checked, and if the system dependencies were not met,
3918         the script tried to execute the tests anyway, causing massive
3919         failures. For example, if you had Xvfb not installed and you
3920         wanted to use the Xvfb driver (the default on GTK and EFL),
3921         run-perf-tests would not abort.
3922
3923         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3924         (PerfTestsRunner._parse_args): Check the system dependencies of
3925         the driver before starting the tests.
3926         * Scripts/webkitpy/port/driver.py:
3927         (Driver): Implement generic check_driver method.
3928         (Driver.check_driver):
3929         (Driver.check_driver.implementation):
3930         * Scripts/webkitpy/port/gtk.py:
3931         (GtkPort._driver_class): Check for environment variable
3932         USE_NATIVE_XDISPLAY to decide if the Xorg driver should be used.
3933         * Scripts/webkitpy/port/xorgdriver.py: Added.
3934         (XorgDriver): Implement Xorg driver.
3935         (XorgDriver.check_driver):
3936         (XorgDriver._start):
3937
3938 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3939
3940         REGRESSION(r166798): [GTK] [EFL] kill-old-processes should not kill dbus-daemon
3941         https://bugs.webkit.org/show_bug.cgi?id=133215
3942
3943         Reviewed by Csaba Osztrogonác.
3944
3945         This reverts r166798.
3946
3947         * BuildSlaveSupport/kill-old-processes:
3948         (main):
3949
3950 2014-05-26  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
3951
3952         [EFL] Turn on ENABLE_CSS_FILTERS in build script
3953         https://bugs.webkit.org/show_bug.cgi?id=133278
3954
3955         Reviewed by Gyuyoung Kim.
3956
3957         * Scripts/webkitperl/FeatureList.pm: Add a build script condition missing in r169172.
3958
3959 2014-05-26  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3960
3961         run-javascriptcore-tests warning fix on non Mac platforms
3962         https://bugs.webkit.org/show_bug.cgi?id=133260
3963
3964         Reviewed by Darin Adler.
3965
3966         * Scripts/webkitdirs.pm:
3967         (argumentsForConfiguration):
3968
3969 2014-05-23  Michael Saboff  <msaboff@apple.com>
3970
3971         REGRESSION(r169265): sh: line 0: cd: ../.vm
3972         https://bugs.webkit.org/show_bug.cgi?id=133242
3973
3974         Rubber stamped by Geoffrey Garen.
3975
3976         Added missing shell escapes '\' required as part of previous fix.
3977
3978         * Scripts/run-jsc-stress-tests:
3979
3980 2014-05-23  Ryosuke Niwa  <rniwa@webkit.org>
3981
3982         Revert the erroneous change committed in r169286.
3983
3984         * Scripts/webkitpy/performance_tests/perftest.py:
3985         (PerfTest._run_with_driver):
3986
3987 2014-05-23  Geoffrey Garen  <ggaren@apple.com>
3988
3989         run-perf-tests should ignore whitespace lines when snarfing test output
3990         https://bugs.webkit.org/show_bug.cgi?id=133238
3991
3992         Reviewed by Ryosuke Niwa.
3993
3994         Required for PerformanceTests/Canvas/terrain.html.
3995
3996         * Scripts/webkitpy/performance_tests/perftest.py:
3997         (PerfTest._run_with_driver):
3998         (PerfTest):
3999
4000 2014-05-23  Michael Saboff  <msaboff@apple.com>
4001
4002         REGRESSION (r169241) Crash running run-jsc-stress-tests on EFL ARM
4003         https://bugs.webkit.org/show_bug.cgi?id=133223
4004
4005         Reviewed by Geoffrey Garen.
4006
4007         Change runAndMonitorTestRunnerCommand() to convert the *cmd argument to a
4008         string before calling IO.popen() to work with older versions of ruby.
4009         Changed the remote path in runShellTestRunner to quote the command
4010         string we want to run via ssh so that it will work correctly with array
4011         to string conversion needed for popen.
4012
4013         * Scripts/run-jsc-stress-tests:
4014
4015 2014-05-23  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
4016
4017         Remove 'css-shaders' option from the build-webkit
4018         https://bugs.webkit.org/show_bug.cgi?id=133212
4019
4020         Reviewed by Daniel Bates.
4021
4022         Original CSS shaders removed in r162644.
4023
4024         * Scripts/webkitperl/FeatureList.pm:
4025
4026 2014-05-23  Carlos Garcia Campos  <cgarcia@igalia.com>
4027
4028         [GTK] GObject DOM bindings API break test should fail in the bots when the command fails to run
4029         https://bugs.webkit.org/show_bug.cgi?id=133209
4030
4031         Reviewed by Sergio Villar Senin.
4032
4033         Return FAILURE when the command failed to run.
4034
4035         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4036         (RunGtkWebKitGObjectDOMBindingsAPIBreakTests.evaluateCommand):
4037
4038 2014-05-23  Alberto Garcia  <berto@igalia.com>
4039
4040         [GTK] Install libharfbuzz-dev in Tools/gtk/install-dependencies
4041         https://bugs.webkit.org/show_bug.cgi?id=133210
4042
4043         Reviewed by Carlos Garcia Campos.
4044
4045         * gtk/install-dependencies:
4046
4047 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
4048
4049         Add Yusuke Suzuki to the list of contributors (for real)
4050
4051         Wrong section...
4052
4053         * Scripts/webkitpy/common/config/contributors.json:
4054
4055 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
4056
4057         Add Yusuke Suzuki to the list of contributors
4058
4059         * Scripts/webkitpy/common/config/contributors.json:
4060
4061 2014-05-22  Michael Saboff  <msaboff@apple.com>
4062
4063         Eliminate n/total progress update from run-jsc-stress-tests output to file
4064         https://bugs.webkit.org/show_bug.cgi?id=133191
4065
4066         Reviewed by Geoffrey Garen.
4067
4068         Changed progressMeter setting to be based on stdout being a tty instead of
4069         stdin.  Unified the processing of output from the shell runner to match the
4070         same processing as is used by the makefile runner.  As part of this, the 
4071         shell runner script was simplified.  It now forwards the output of each
4072         test_script just like the Makefile and doesn't provide its own progress.
4073
4074         * Scripts/jsc-stress-test-helpers/shell-runner.sh:
4075         * Scripts/run-jsc-stress-tests:
4076
4077 2014-05-22  Michael Saboff  <msaboff@apple.com>
4078
4079         Add option to run-jsc-stress-tests to use installed jsc
4080         https://bugs.webkit.org/show_bug.cgi?id=133102
4081
4082         Reviewed by Geoffrey Garen.
4083
4084         Added --no-copy option to not copy a JavaScriptCore framework, but use the one
4085         provied with the --jsc option.
4086
4087         * Scripts/run-jsc-stress-tests:
4088
4089 2014-05-21  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
4090
4091         [EFL] Add include path of compact_unwind_encoding.h if FTL JIT is enabled
4092         https://bugs.webkit.org/show_bug.cgi?id=132907
4093
4094         Reviewed by Gyuyoung Kim.
4095
4096         We need the mach-o/compact_unwind_encoding.h header from libc++abi-dev package
4097         in JavaScriptCore/ftl/FTLUnwindInfo.cpp when FTL JIT is enabled.
4098
4099         * efl/install-dependencies:
4100
4101 2014-05-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
4102
4103         REGRESSION(r169092): It broke run-jsc-stress tests on non Mac platforms
4104         https://bugs.webkit.org/show_bug.cgi?id=133145
4105
4106         Reviewed by Csaba Osztrogonác.
4107
4108         * Scripts/run-jsc-stress-tests:
4109
4110 2014-05-20  Alexey Proskuryakov  <ap@apple.com>
4111
4112         [Mac] WebProcess doesn't follow localization of UI process when run as a service
4113         https://bugs.webkit.org/show_bug.cgi?id=133126
4114         <rdar://problem/13396515>
4115         <rdar://problem/16561084>
4116
4117         Reviewed by Sam Weinig and Tim Horton.
4118
4119         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
4120         (WTR::InjectedBundle::platformInitialize): It was too late to override language
4121         here, and it's not necessary any more. Keeping the code for older OS versions in
4122         case it did have effect in some code paths.
4123
4124 2014-05-19  David Farler  <dfarler@apple.com>
4125
4126         Move WebKitTestRunner to std::unique_ptr
4127         https://bugs.webkit.org/show_bug.cgi?id=133081
4128
4129         Reviewed by Daniel Bates.
4130
4131         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4132         (WTR::InjectedBundle::didCreatePage):
4133         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
4134         * WebKitTestRunner/TestController.cpp:
4135         (WTR::TestController::initialize):
4136         (WTR::TestController::createWebViewWithOptions):
4137         (WTR::TestController::resetStateToConsistentValues):
4138         (WTR::TestController::runTest):
4139         * WebKitTestRunner/TestController.h:
4140         * WebKitTestRunner/TestInvocation.cpp:
4141         * WebKitTestRunner/TestInvocation.h:
4142         * WebKitTestRunner/WorkQueueManager.cpp:
4143         (WTR::WorkQueueManager::processWorkQueue):
4144         (WTR::WorkQueueManager::enqueue):
4145         * WebKitTestRunner/WorkQueueManager.h:
4146
4147 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
4148
4149         [GTK] WebKitWebPage::send-request always pass a valid pointer for redirected response
4150         https://bugs.webkit.org/show_bug.cgi?id=133119
4151
4152         Reviewed by Sergio Villar Senin.
4153
4154         Check that redirect response parameter of
4155         WebKitWebPage::send-request signal is NULL when not redirecting
4156         and a valid WebKitURIResponse object when redirecting.
4157
4158         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
4159         (testWebResourceSendRequest):
4160         (serverCallback):
4161         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
4162         (sendRequestCallback):
4163
4164 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
4165
4166         REGRESSION(CMAKE): [GTK] Several WebKit2GTK+ unit tests are no longer built
4167         https://bugs.webkit.org/show_bug.cgi?id=133117
4168
4169         Reviewed by Philippe Normand.
4170
4171         Bring back missing tests to the build.
4172
4173         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
4174
4175 2014-05-19  Filip Pizlo  <fpizlo@apple.com>
4176
4177         Take care of some ARM64 test failures
4178         https://bugs.webkit.org/show_bug.cgi?id=133090
4179
4180         Reviewed by Geoffrey Garen.
4181
4182         * Scripts/run-jsc-stress-tests: Make it easier to conditionally skip things.
4183
4184 2014-05-19  David Kilzer  <ddkilzer@apple.com>
4185
4186         [iOS] REGRESSION (r168910): webkitdirs.pm: Be more forgiving when parsing --sdk, --device and --sim
4187         <http://webkit.org/b/133089>
4188
4189         Reviewed by Darin Adler.
4190
4191         * Scripts/webkitdirs.pm:
4192         (determineXcodeSDK): If both '--sdk SDKROOT' and '--sim' are
4193         specified on the command line, we would remove the '--sdk'
4194         arguments, but leave '--sim', potentially passing it along to
4195         xcodebuild causing a build failure.  This happens when
4196         'old-run-webkit-tests --release --sim' invokes
4197         build-dumprendertree when DumpRenderTree hasn't been built yet.
4198
4199 2014-05-19  David Farler  <dfarler@apple.com>
4200
4201         Dashboard: OpenSource revision key changed from WebKitOpenSource to WebKit
4202         https://bugs.webkit.org/show_bug.cgi?id=133086
4203
4204         Reviewed by Daniel Bates.
4205
4206         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
4207
4208 2014-05-19  David Kilzer  <ddkilzer@apple.com>
4209
4210         REGRESSION (r169042): Fix run-api-tests on Mountain Lion
4211         <http://webkit.org/b/132954>
4212
4213         * Scripts/webkitdirs.pm:
4214         (sharedCommandLineOptionsUsage): Remove the prototype for the
4215         subroutine.  Older perls don't like the "+@" syntax.
4216
4217 2014-05-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
4218
4219         run-javascriptcore-tests should sort the list of failing stress tests
4220         https://bugs.webkit.org/show_bug.cgi?id=132989
4221
4222         Reviewed by Csaba Osztrogonác.
4223
4224         * Scripts/run-javascriptcore-tests:
4225
4226 2014-05-19  David Kilzer  <ddkilzer@apple.com>
4227
4228         webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PATH consistently
4229         <http://webkit.org/b/132954>
4230
4231         Reviewed by Darin Adler.
4232
4233         Extract code into setupMacWebKitEnvironment() for setting up
4234         common environment variables so it may be shared.  Sets
4235         __XPC_DYLD_FRAMEWORK_PATH consistently and adds support for
4236         using guardmalloc to some scripts.
4237
4238         Also adds support for parsing shared (common) command-line
4239         switches, initially just -g|--guard-malloc.
4240
4241         * Scripts/bisect-builds: Add -g|--guard-malloc support by using
4242         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
4243         (mountAndRunNightly): Call setupMacWebKitEnvironment().  Use a
4244         local copy of %ENV when launching Safari so we don't have to
4245         restore variables.
4246
4247         * Scripts/run-api-tests: Add -g|--guard-malloc support by using
4248         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
4249         Check result of GetOptions() to catch invalid command-line
4250         switches.
4251         (runTest): Use a local copy of %ENV when running tests so we
4252         don't have to restore variables.
4253         (prepareEnvironmentForRunningTestTool): Call
4254         setupMacWebKitEnvironment().
4255
4256         * Scripts/run-pageloadtest: Add -g|--guard-malloc support by
4257         using sharedCommandLineOptions() and
4258         sharedCommandLineOptionsUsage().  Call
4259         setupMacWebKitEnvironment().
4260
4261         * Scripts/webkitdirs.pm:
4262         (sharedCommandLineOptions): Return array of common switches to
4263         pass to Getopt::Long::GetOptions().
4264         (sharedCommandLineOptionsUsage): Return formatted string of
4265         common switches for printing usage help text.
4266         (setUpGuardMallocIfNeeded): Support using '-g' for enabling
4267         guardmalloc.
4268         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Ditto.
4269         (setupMacWebKitEnvironment): Extracted from runMacWebKitApp()
4270         and changed not to clobber DYLD_FRAMEWORK_PATH if already set.
4271         (runMacWebKitApp): Call setupMacWebKitEnvironment().  Use a
4272         local copy of %ENV when launching Safari so we don't have to
4273         restore variables.
4274         (execMacWebKitAppForDebugging): Call
4275         setupMacWebKitEnvironment().
4276
4277 2014-05-18  Rik Cabanier  <cabanier@adobe.com>
4278
4279         support for navigator.hardwareConcurrency
4280         https://bugs.webkit.org/show_bug.cgi?id=132588
4281
4282         Reviewed by Filip Pizlo.
4283
4284         * Scripts/webkitperl/FeatureList.pm:
4285
4286 2014-05-18  Anders Carlsson  <andersca@apple.com>
4287
4288         Implement Navigations for all methods declared returning one
4289         https://bugs.webkit.org/show_bug.cgi?id=133048
4290         <rdar://problem/16830064>
4291
4292         Reviewed by Sam Weinig.
4293
4294         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
4295         Import WebKit.h.
4296         
4297         * MiniBrowser/mac/WK2BrowserWindowController.m:
4298         (-[WK2BrowserWindowController webView:didStartProvisionalNavigation:]):
4299         (-[WK2BrowserWindowController webView:didReceiveServerRedirectForProvisionalNavigation:]):
4300         (-[WK2BrowserWindowController webView:didFailProvisionalNavigation:withError:]):
4301         (-[WK2BrowserWindowController webView:didCommitNavigation:]):
4302         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]):
4303         (-[WK2BrowserWindowController webView:didFailNavigation:withError:]):
4304         Print out the navigations.
4305
4306 2014-05-17  Zalan Bujtas  <zalan@apple.com>
4307
4308         Subpixel rendering: Add subpixelCSSOMElementMetricsEnabled to WK1 WebPreferences.
4309         https://bugs.webkit.org/show_bug.cgi?id=133029
4310
4311         Reviewed by Simon Fraser.
4312
4313         Added a menu item to toggle subpixelCSSOMElementMetricsEnabled's value. However
4314         toggling it on a WK2 window needs restart.
4315         Adding dynamic toggle to WK2 requires a WebPreferences SPI. It's not worth cluttering
4316         the WebPreferences just to support this temporary toggle.
4317
4318         * MiniBrowser/mac/BrowserWindowController.h:
4319         * MiniBrowser/mac/MainMenu.xib:
4320         * MiniBrowser/mac/WK1BrowserWindowController.m:
4321         (-[WK1BrowserWindowController validateMenuItem:]):
4322         (-[WK1BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
4323         (-[WK1BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
4324         * MiniBrowser/mac/WK2BrowserWindowController.m:
4325         (-[WK2BrowserWindowController validateMenuItem:]):
4326         (-[WK2BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
4327         (-[WK2BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
4328
4329 2014-05-17  Anders Carlsson  <andersca@apple.com>
4330
4331         Replace WKContextSetDatabaseDirectory with two WKContextConfiguration parameters
4332         https://bugs.webkit.org/show_bug.cgi?id=133033
4333         <rdar://problem/16830143>
4334
4335         Reviewed by Sam Weinig.
4336
4337         Set up the WebSQL and IndexedDB directories.
4338
4339         * WebKitTestRunner/TestController.cpp:
4340         (WTR::TestController::initialize):
4341
4342 2014-05-16  Martin Hock  <mhock@apple.com>
4343
4344         MemoryCache::addImageToCache should return the result of