Progress towards CMake on Mac.
[WebKit-https.git] / Tools / ChangeLog
1 2014-08-13  Alex Christensen  <achristensen@webkit.org>
2
3         Progress towards CMake on Mac.
4         https://bugs.webkit.org/show_bug.cgi?id=135819
5
6         Reviewed by Laszlo Gombos.
7
8         * WebKitTestRunner/CMakeLists.txt:
9         Added new cpp parameter for the extension of the generated files.
10
11 2014-08-13  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
12
13         Make check-webkit-style run sort-export-file
14         https://bugs.webkit.org/show_bug.cgi?id=135877
15
16         Reviewed by Csaba Osztrogonác.
17
18         * Scripts/webkitpy/style/checker.py:
19         (_all_categories):
20         (FileType):
21         (CheckerDispatcher._file_type):
22         (CheckerDispatcher._create_checker):
23         * Scripts/webkitpy/style/checkers/exportfile.py: Added.
24         (ExportFileChecker):
25         (ExportFileChecker.__init__):
26         (ExportFileChecker.check):
27         * Scripts/webkitpy/style/checkers/exportfile_unittest.py: Added.
28         (handle_style_error):
29         (MockErrorHandler):
30         (MockErrorHandler.__init__):
31         (MockErrorHandler.turn_off_line_filtering):
32         (MockErrorHandler.__call__):
33         (ExportFileTest):
34         (ExportFileTest.setUp):
35         (ExportFileTest.tearDown):
36         (ExportFileTest.test_sorted):
37         (ExportFileTest.test_non_sorted):
38         (ExportFileTest.test_parse_error):
39
40 2014-08-13  Jinwoo Song  <jinwoo7.song@samsung.com>
41
42         [EFL] Sets the persistent storage for cookies in MiniBrowser
43         https://bugs.webkit.org/show_bug.cgi?id=135875
44
45         Reviewed by Gyuyoung Kim.
46
47         In case of EWK_COOKIE_ACCEPT_POLICY_ALWAYS, sets the persistent storage
48         for non-session cookies can be stored persistently.
49
50         * MiniBrowser/efl/main.c:
51         (elm_main):
52
53 2014-08-12  Daniel Bates  <dabates@apple.com>
54
55         [iOS] build-webkit should not build WebKitSystemInterface and WebKitAdditions
56         https://bugs.webkit.org/show_bug.cgi?id=135845
57
58         Reviewed by Andy Estes.
59
60         Towards building the iOS WebKit port using the public SDK, remove the logic
61         added to build-webkit to build projects WebKitSystemInterface and
62         WebKitAdditions when building the iOS WebKit port.
63
64         * Scripts/build-webkit:
65
66 2014-08-12  Yusuke Suzuki  <utatane.tea@gmail.com>
67
68         [GTK] Adds dependency for GnuTLS 3.0+ explicitly in gtk/install-dependencies
69         https://bugs.webkit.org/show_bug.cgi?id=135850
70
71         Reviewed by Philippe Normand.
72
73         After r172433, GTK port requires GnuTLS 3.0+. In this time, libgnutls-dev is 2.x in
74         Ubuntu(trusty) and Debian(sid). So added libgnutls28-dev explicitly.
75
76         * gtk/install-dependencies:
77
78 2014-08-12  Eduardo Lima Mitev  <elima@igalia.com>
79
80         [GTK] Subtle-crypto feature off by default and add a new configure flag to enable it
81         https://bugs.webkit.org/show_bug.cgi?id=135798
82
83         Reviewed by Philippe Normand.
84
85         * Scripts/webkitperl/FeatureList.pm: Adds new flag --subtle-crypto to
86             toggle SUBTLE_CRYPTO feature.
87
88 2014-08-12  Ryuan Choi  <ryuan.choi@samsung.com>
89
90         [EFL] Disable ecore logs about bad fd
91         https://bugs.webkit.org/show_bug.cgi?id=135831
92
93         Reviewed by Gyuyoung Kim.
94
95         ecore checks EBADF and prints the warnings.
96         But, it looks noise in layout test because it's not webkit issue.
97         This patch disables it until we found right solution.
98
99         * efl/jhbuild.modules:
100         * efl/patches/ecore_remove_warnings.patch: Added.
101
102 2014-08-12  Shivakumar JM  <shiva.jm@samsung.com>
103
104         [EFL][WK2] Minibrowser: Enhance the application to use download directory selector.
105         https://bugs.webkit.org/show_bug.cgi?id=135791
106
107         Reviewed by Gyuyoung Kim.
108
109         Currently Minibrowser stores the downloaded files to /tmp directory, add support so that destination folder can be selected by the
110         user.
111
112         * MiniBrowser/efl/main.c:
113         (on_download_request):
114
115 2014-08-11  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
116
117         [EFL] Prevent the client from creating ewk_view when EWebkit is not initialized
118         https://bugs.webkit.org/show_bug.cgi?id=135606
119
120         Reviewed by Gyuyoung Kim.
121
122         TestWebKitAPI does not initialize EWebkit using ewk_init()
123         which is not recommended.
124
125         * TestWebKitAPI/efl/PlatformWebView.cpp:
126         (TestWebKitAPI::createEcoreEvas):
127         Renamed from initEcoreEvas() since it doesn't not initialize
128         ecore evas.
129
130         (TestWebKitAPI::PlatformWebView::PlatformWebView):
131         Call ewk_init() that initalizes all EFL modules needed by EWebKit
132         instead of ecore_evas_init() only.
133
134         (TestWebKitAPI::PlatformWebView::~PlatformWebView):
135         Call ewk_shutdown() to finalize EWebkit.
136         (TestWebKitAPI::initEcoreEvas): Deleted.
137
138 2014-08-11  Dan Bernstein  <mitz@apple.com>
139
140         Added an update-webkit option to update the auxiliary libraries or not.
141         Part of https://bugs.webkit.org/show_bug.cgi?id=135815
142
143         Reviewed by Tim Horton.
144
145         * Scripts/update-webkit: Added --[no-]auxiliary-libs option, which defaults to yes unless
146         an Internal directory exists alongside the WebKit root directory.
147
148 2014-08-11  Bem Jones-Bey  <bjonesbe@adobe.com>
149
150         Remove hg changeset from w3c-import.log
151         https://bugs.webkit.org/show_bug.cgi?id=135735
152
153         Reviewed by Ryosuke Niwa.
154
155         Since the csswg's test suite is now accessible via github and it is
156         possible to push changes by creating github pull requests, the hg
157         changeset makes less sense, as many people will just use a clone of
158         the git repo. There isn't an obvious thing to replace it with, so
159         might as well remove it for now instead of having it just be set to
160         UNKNOWN in imports.
161
162         This also adds a pointer to the github repo in the generated comments
163         in the w3c-import.log.
164
165         * Scripts/webkitpy/w3c/test_importer.py:
166         (TestImporter.__init__): Remove changeset handling.
167         (TestImporter.do_import): Ditto.
168         (TestImporter.write_import_log): Ditto.
169         (TestImporter.load_changeset): Deleted.
170
171 2014-08-11  Carlos Garcia Campos  <cgarcia@igalia.com>
172
173         Unreviewed. Fix GTK+ make distcheck.
174
175         * gtk/manifest.txt: Remove Source/WebCore/Resources/inputSpeech.png.
176
177 2014-08-08  Simon Fraser  <simon.fraser@apple.com>
178
179         Unbreak webkitpy unit tests by checking for the existence of the image diff template
180         file before trying to open it (as the tests do for results.html).
181
182         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
183         (TestResultWriter.write_image_diff_files):
184
185 2014-08-08  Simon Fraser  <simon.fraser@apple.com>
186
187         Load the layout test result image diff HTML from a file, rather than having it inline in webkitpy
188         https://bugs.webkit.org/show_bug.cgi?id=135780
189
190         Reviewed by Dan Bates.
191         
192         Pull the HTML for the image diff file into a separate file, for easier hackability.
193
194         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
195         (TestResultWriter.write_image_diff_files):
196
197 2014-08-08  Mark Lam  <mark.lam@apple.com>
198
199         Gardening: fix Windows build after r172259.
200
201         Not reviewed.
202
203         * DumpRenderTree/win/TestRunnerWin.cpp:
204         (TestRunner::addMockSpeechInputResult): Deleted.
205         (TestRunner::setMockSpeechInputDumpRect): Deleted.
206         (TestRunner::startSpeechInput): Deleted.
207
208 2014-08-08  Joseph Pecoraro  <pecoraro@apple.com>
209
210         make clean does not work in OpenSource, fails in WebKitLibraries
211         https://bugs.webkit.org/show_bug.cgi?id=135734
212
213         Reviewed by David Kilzer.
214
215         * Scripts/copy-webkitlibraries-to-product-directory:
216         Add a --clean switch that removes possible WebKitSystemInterface
217         and LLVM libraries and headers that may have been copied to the
218         product directory.
219
220 2014-08-08  Joseph Pecoraro  <pecoraro@apple.com>
221
222         commit-log-message has extra blank line at the top of pre-populated message
223         https://bugs.webkit.org/show_bug.cgi?id=135744
224
225         Reviewed by Csaba Osztrogonác.
226
227         Do not add a blank leading line in single ChangeLog commit messages.
228
229         * Scripts/commit-log-editor:
230         (createCommitMessage):
231         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
232         (test_commit_message_for_one_reviewed_changelog):
233         (test_commit_message_for_one_rollout_changelog):
234
235 2014-08-07  Brent Fulgham  <bfulgham@apple.com>
236
237         [Win] Unreviewed gardening.
238
239         Have 'Assemble Build Logs' step work properly for DebugSuffix target
240         (both 32-bit and 64-bit).
241
242         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
243
244 2014-08-07  Benjamin Poulain  <bpoulain@apple.com>
245
246         Get rid of INPUT_SPEECH
247         https://bugs.webkit.org/show_bug.cgi?id=135672
248
249         Reviewed by Andreas Kling.
250
251         * DumpRenderTree/TestRunner.cpp:
252         (TestRunner::staticFunctions):
253         (addMockSpeechInputResultCallback): Deleted.
254         (setMockSpeechInputDumpRectCallback): Deleted.
255         * DumpRenderTree/TestRunner.h:
256         * DumpRenderTree/mac/TestRunnerMac.mm:
257         (TestRunner::addMockSpeechInputResult): Deleted.
258         (TestRunner::setMockSpeechInputDumpRect): Deleted.
259         (TestRunner::startSpeechInput): Deleted.
260
261 2014-08-07  Bem Jones-Bey  <bjonesbe@adobe.com>
262
263         The support directory shouldn't be skipped unconditionally in test import
264         https://bugs.webkit.org/show_bug.cgi?id=135660
265
266         Reviewed by Ryosuke Niwa.
267
268         The 'DIRS_TO_SKIP' should only be skipped when in the root directory
269         of the test repo, as that's the only time they are special. In
270         addition, instead of hardcoding .hg and .git as special, skip all
271         directories that begin with '.', just like with files that begin with '.'.
272         
273         In order to make this work, the root directory must always be
274         passed in, so the interface to the script has been changed to take the
275         root directory, and if one wants to only import a subset of the tests,
276         a new -t option can be used to limit the tests imported.
277
278         * Scripts/webkitpy/w3c/test_importer.py:
279         (main): Remove repo_dir command line argument.
280         (parse_args): Add -t option and set expected non-option args to 1.
281         (TestImporter.__init__): Remove repo_dir.
282         (TestImporter.do_import): Handle the varying number of import
283             directories.
284         (TestImporter.should_keep_subdir): Helper for find_importable_tests to
285             determine if a subdirectory should be skipped.
286         (TestImporter.find_importable_tests): Filter directories using new
287             helper.
288         (TestImporter.import_tests): Remove use of repo_dir.
289         (TestImporter.setup_destination_directory): Unused, Deleted. 
290         * Scripts/webkitpy/w3c/test_importer_unittest.py:
291         (TestImporterTest.test_import_dir_with_no_tests_and_no_hg): Update for
292             new API.
293         (TestImporterTest.test_import_dir_with_no_tests): Ditto.
294
295 2014-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
296
297         [GTK] Use WebKitNavigationAction also for WebKitNavigationPolicyDecision
298         https://bugs.webkit.org/show_bug.cgi?id=135695
299
300         Reviewed by Gustavo Noronha Silva.
301
302         Use WebKitNavigationAction API.
303
304         * MiniBrowser/gtk/BrowserWindow.c:
305         (webViewDecidePolicy):
306         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
307         (testNavigationPolicy):
308
309 2014-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
310
311         [GTK] Test /webkit2/WebKitUserContentManager/injected-script fails
312         https://bugs.webkit.org/show_bug.cgi?id=135696
313
314         Reviewed by Sergio Villar Senin.
315
316         Don't assume the JavaScript result is always a valid pointer. In case of JavaScript
317         exception (that happens when testing the script hasn't been injected) the JavaScript
318         result is NULL.
319
320         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
321         (isScriptInjectedForURLAtPath):
322
323 2014-08-07  Csaba Osztrogonác  <ossy@webkit.org>
324
325         [GTK] Disable IndexedDB
326         https://bugs.webkit.org/show_bug.cgi?id=135692
327
328         Reviewed by Carlos Garcia Campos.
329
330         * Scripts/webkitperl/FeatureList.pm:
331
332 2014-08-06  Dean Jackson  <dino@apple.com>
333
334         ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED is not used anywhere. Remove it.
335         https://bugs.webkit.org/show_bug.cgi?id=135675
336
337         Reviewed by Sam Weinig.
338
339         * Scripts/webkitperl/FeatureList.pm:
340
341 2014-08-06  David Farler  <dfarler@apple.com>
342
343         Set DSYMUTIL_NUM_THREADS to the number of logical cores
344         https://bugs.webkit.org/show_bug.cgi?id=135655
345
346         Reviewed by Mark Rowe.
347
348         * Scripts/webkitdirs.pm:
349         (buildXCodeProject): Set before calling xcodebuild.
350
351 2014-08-06  Adrian Perez de Castro  <aperez@igalia.com>
352
353         [GTK] Add support for user scripts to WebKitUserContentManager
354         https://bugs.webkit.org/show_bug.cgi?id=134738
355
356         Reviewed by Carlos Garcia Campos.
357
358         Add support for user scripts, to complement the user style sheet
359         support already present in WebKitUserContentManager. Most of the
360         moving parts are already present, so this just adds a boxed type
361         for user scripts (WebKitUserScript) and the corresponding methods
362         to add and remove scripts from the WebKitUserContentManager.
363
364         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
365         Add test case for injected user scripts.
366         (isScriptInjectedForURLAtPath):
367         (removeOldInjectedContentAndResetLists):
368         (testUserContentManagerInjectedStyleSheet):
369         (testUserContentManagerInjectedScript):
370         (beforeAll):
371         (removeOldInjectedStyleSheetsAndResetLists): Deleted.
372
373 2014-08-06  Philippe Normand  <pnormand@igalia.com>
374
375         [GTK] run-launcher --gtk still fails
376         https://bugs.webkit.org/show_bug.cgi?id=135642
377
378         Reviewed by Carlos Garcia Campos.
379
380         The perl interpreter is confused by the combination of string
381         concatenation and a ternary in the same line. Using a separate
382         variable to determine the library file extension fixes this issue.
383
384         * Scripts/webkitdirs.pm:
385         (builtDylibPathForName): Use an intermediate variable, it's more
386         readable and unambiguous.
387
388 2014-07-29  Filip Pizlo  <fpizlo@apple.com>
389
390         Merge r170564, r170571, r170604, r170628, r170672, r170680, r170724, r170728, r170729, r170819, r170821, r170836, r170855, r170860, r170890, r170907, r170929, r171052, r171106, r171152, r171153, r171214 from ftlopt.
391
392     2014-06-25  Filip Pizlo  <fpizlo@apple.com>
393     
394             [ftlopt] If a CodeBlock is jettisoned due to a watchpoint then it should be possible to figure out something about that watchpoint
395             https://bugs.webkit.org/show_bug.cgi?id=134333
396     
397             Reviewed by Geoffrey Garen.
398     
399             * Scripts/display-profiler-output:
400     
401 2014-08-05  David Farler  <dfarler@apple.com>
402
403         [iOS] Run ImageDiff in the sim bootstrap
404         https://bugs.webkit.org/show_bug.cgi?id=135624
405
406         Reviewed by David Kilzer.
407
408         * Scripts/webkitpy/port/image_diff.py:
409         (ImageDiffer.stop):
410         (IOSSimulatorImageDiffer):
411         (IOSSimulatorImageDiffer._start):
412         * Scripts/webkitpy/port/ios.py:
413         (IOSSimulatorPort.diff_image):
414
415 2014-08-05  David Farler  <dfarler@apple.com>
416
417         [iOS] run-webkit-tests: defaults for --runtime and --device-type flags
418         https://bugs.webkit.org/show_bug.cgi?id=135441
419
420         Reviewed by Tim Horton.
421
422         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
423         (parse_args):
424         (_set_up_derived_options):
425         If using the ios-simulator platform and runtime or device-type
426         aren't defined, get the latest runtime from the active Xcode.app
427         and pick a default device type based on the desired architecture:
428         iPhone 5 for i386 and iPhone 5s for x86_64.
429         * Scripts/webkitpy/xcode/__init__.py: Added.
430         * Scripts/webkitpy/xcode/simulator.py: Added.
431
432 2014-08-05  David Farler  <dfarler@apple.com>
433
434         [iOS] simctl can hang if run quickly after shutting down CoreSimulator services
435         https://bugs.webkit.org/show_bug.cgi?id=135626
436
437         Reviewed by Dan Bernstein.
438
439         * Scripts/webkitpy/port/ios.py:
440         (IOSSimulatorPort.setup_test_run):
441         Remove call to simctl shutdown <device> - telling the simulator app to quit
442         will shut down all booted devices.
443
444 2014-08-05  Alexey Proskuryakov  <ap@apple.com>
445
446         Remove an unused argument from BuildbotQueue.update()
447         https://bugs.webkit.org/show_bug.cgi?id=135623
448
449         Reviewed by Timothy Hatcher.
450
451         Also remaned a constant to better match what it means.
452
453         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
454
455 2014-08-05  Vivek Galatage  <vivek.vg@samsung.com>
456
457         [gtk] Include llvm-dev(el) package to satisfy mesa build configuration
458         https://bugs.webkit.org/show_bug.cgi?id=135555
459
460         Reviewed by Philippe Normand.
461
462         Initial setup of gtk on linux requires this package to be installed.
463         This is required during the build configuration of mesa through jhbuild.
464
465         * gtk/install-dependencies:
466
467 2014-08-05  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
468
469         Fix the commit-log-editor after r167243 and add more unit tests
470         https://bugs.webkit.org/show_bug.cgi?id=131727
471
472         Reviewed by Csaba Osztrogonác.
473
474         * Scripts/commit-log-editor:
475         (createCommitMessage):
476         (removeLongestCommonPrefixEndingInNewline):
477         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
478         (CommitMessageForThisCommitTest):
479         (CommitMessageForThisCommitTest.mock_changelog):
480         (CommitMessageForThisCommitTest.mock_checkout_for_test):
481         (CommitMessageForThisCommitTest.test_commit_message_for_unreviewed_changelogs_with_different_messages):
482         (test_commit_message_for_one_reviewed_changelog):
483         (test_commit_message_for_changelogs_with_same_messages):
484         (test_commit_message_for_changelogs_with_different_messages):
485         (test_commit_message_for_one_rollout_changelog):
486         (test_commit_message_for_rollout_changelogs_with_different_directories):
487         (setUp): Deleted.
488         (test_commit_message_for_this_commit): Deleted.
489
490 2014-08-04  Michael Catanzaro  <mcatanzaro@igalia.com>
491
492         [GTK] run-launcher --gtk is broken
493         https://bugs.webkit.org/show_bug.cgi?id=135571
494
495         Reviewed by Martin Robinson.
496
497         * Scripts/webkitdirs.pm:
498         (builtDylibPathForName): Search for libwebkit2gtk-4.0
499
500 2014-08-04  Matt Baker  <mattbaker@apple.com>
501
502         lldb_webkit.py throws exception when generating summary of null StringImpl
503         https://bugs.webkit.org/show_bug.cgi?id=129448
504
505         Reviewed by Jer Noble.
506
507         Added checks for null StringImpl and 0 byte ReadMemory calls.
508
509         * lldb/lldb_webkit.py:
510         (WTFStringImpl_SummaryProvider):
511         (ustring_to_string):
512         (lstring_to_string):
513         (WTFStringImplProvider.to_string):
514         (WTFStringImplProvider.is_initialized):
515
516 2014-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
517
518         [GTK] Do not include JavaScriptCore stress tests in release tarballs
519         https://bugs.webkit.org/show_bug.cgi?id=135503
520
521         Reviewed by Martin Robinson.
522
523         * gtk/manifest.txt: Exclude Source/JavaScriptCore/tests dir.
524
525 2014-07-30  David Farler  <dfarler@apple.com>
526
527         build-webkittestrunner doesn't build the app target for iOS SDKs
528         https://bugs.webkit.org/show_bug.cgi?id=135433
529
530         Reviewed by Dan Bernstein.
531
532         * Scripts/build-dumprendertree: Build the app target on iOS.
533         * Scripts/build-webkittestrunner: Build the app target on iOS.
534         * Scripts/webkitdirs.pm: Add -sdk flags when building for iOS.
535         (buildXCodeProject):
536         * Scripts/webkitpy/port/ios.py: Use --sdk flags instead of SDKROOT.
537         (IOSSimulatorPort._build_driver_flags):
538
539 2014-07-30  David Farler  <dfarler@apple.com>
540
541         Remove iOS Perl DumpRenderTree support target
542         https://bugs.webkit.org/show_bug.cgi?id=135271
543
544         Reviewed by Dan Bernstein.
545
546         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Remove the target.
547         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport.c: Removed.
548         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Removed.
549         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Removed.
550         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Changes: Removed.
551         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/IPhoneSimulatorNotification.xs: Removed.
552         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/MANIFEST: Removed.
553         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: Removed.
554         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/README: Removed.
555         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: Removed.
556         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/ppport.h: Removed.
557         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/t/IPhoneSimulatorNotification.t: Removed.
558         * DumpRenderTree/ios/PerlSupport/Makefile: Removed.
559
560 2014-07-30  David Farler  <dfarler@apple.com>
561
562         Remove old-run-webkit-tests
563         https://bugs.webkit.org/show_bug.cgi?id=135374
564
565         Reviewed by Csaba Osztrogonác.
566
567         * Scripts/old-run-webkit-tests: Removed.
568
569 2014-08-02  Dan Bernstein  <mitz@apple.com>
570
571         prepare-ChangeLog --no-write shouldn’t require ChangeLog to exist
572         https://bugs.webkit.org/show_bug.cgi?id=135542
573
574         Reviewed by Tim Horton.
575
576         * Scripts/prepare-ChangeLog:
577         (main): Pass $writeChangeLogs for the new requireChangeLogToExist parameter of
578         findChangeLogs.
579         (findChangeLogs): Don’t require a ChangeLog file to exist if unless the
580         requireChangeLogToExist argument is true.
581
582 2014-08-01  Dan Bernstein  <mitz@apple.com>
583
584         commit-log-editor uses a non-standard message format when git index contains no ChangeLog changes
585         https://bugs.webkit.org/show_bug.cgi?id=135527
586
587         Reviewed by Tim Horton.
588
589         * Scripts/commit-log-editor:
590         In the case of a git repository when there are no changed ChangeLog files, changed to pass
591         the --delimiters option to prepare-ChangeLog, then process each entry in the output using
592         commitMessageFromChangeLogEntry.
593         (commitMessageFromChangeLogEntry): Factored out from createCommitMessage.
594         (sortKey): Factored out from createCommitMessage.
595         (createCommitMessage): Changed to use new sortKey and commitMessageFromChangeLogEntry
596         subroutines.
597
598         * Scripts/prepare-ChangeLog:
599         (main): Parse new --delimiters option.
600         (generateNewChangeLogs): When --no-write and --delimiters are both specified, always print
601         the label before each change log entry, and a "~" delimiter on a new line after each entry.
602
603 2014-08-01  Bear Travis  <betravis@adobe.com>
604
605         [Feature Queries] Enable Feature Queries on EFL/GTK
606         https://bugs.webkit.org/show_bug.cgi?id=134902
607
608         Reviewed by Benjamin Poulain.
609
610         Turn the feature on by default for the build script.
611
612         * Scripts/webkitperl/FeatureList.pm:
613
614 2014-08-01  Timothy Horton  <timothy_horton@apple.com>
615
616         Build fix for 32-bit after r171926.
617
618         * MiniBrowser/mac/SettingsController.h:
619         * MiniBrowser/mac/SettingsController.m:
620
621 2014-08-01  Tim Horton  <timothy_horton@apple.com>
622
623         Confusing build fix after r171926.
624
625         * MiniBrowser/mac/AppDelegate.h:
626         * MiniBrowser/mac/AppDelegate.m:
627         * MiniBrowser/mac/SettingsController.m:
628
629 2014-08-01  Tim Horton  <timothy_horton@apple.com>
630
631         Make it easer to add switches to MiniBrowser
632         https://bugs.webkit.org/show_bug.cgi?id=135499
633
634         Reviewed by Simon Fraser.
635
636         Add a single class to manage a set of persistent, global settings for MiniBrowser.
637         Add a new menu that contains items to toggle the aforementioned settings (moving them out of the Debug menu).
638
639         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
640         Add SettingsController.{m, h}.
641
642         * MiniBrowser/mac/AppDelegate.h:
643         Move _browserWindowControllers to the implementation.
644         Get rid of toggleUseWebKit2ByDefault, because SettingsController now takes care
645         of that; instead, we'll receive didChangeSettings.
646
647         * MiniBrowser/mac/AppDelegate.m:
648         Move the default URL, default URL preference key, and use-WebKit2-by-default
649         preference key into SettingsController.
650
651         (-[BrowserAppDelegate awakeFromNib]):
652         Add the dynamically-generated SettingsController menu just to the left of the Debug menu.
653
654         (-[BrowserAppDelegate newWindow:]):
655         Ask SettingsController if we should use WebKit2 by default, and what the initial URL to load is.
656
657         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
658         SettingsController now takes care of reading the default URL preference.
659         WK1BrowserWindowController now takes care of enabling the developer extras, via WebPreferences.
660
661         (-[BrowserAppDelegate didChangeSettings]):
662         When settings change, update the key equivalents for the new-window menu items, as they
663         might have changed (as use-WebKit2-by-default is one of the settings).
664
665         Dispatch settings change notifications to all live BrowserControllers.
666
667         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
668         (-[BrowserAppDelegate toggleUseWebKit2ByDefault:]): Deleted.
669         (-[BrowserAppDelegate _useWebKit2ByDefault]): Deleted.
670         (-[BrowserAppDelegate validateMenuItem:]): Deleted.
671         All menu item validation for settings is moved into SettingsController.
672
673         * MiniBrowser/mac/BrowserWindowController.h:
674         Simplify the BrowserWindowController interface; "toggling" settings will happen inside SettingsController,
675         the BrowserWindowController subclasses will be able to a) know when any setting changes, b) query the current setting state.
676
677         * MiniBrowser/mac/MainMenu.xib:
678         Remove the settings menu items from the "Debug" menu.
679
680         * MiniBrowser/mac/SettingsController.h: Added.
681         * MiniBrowser/mac/SettingsController.m: Added.
682         (+[SettingsController shared]):
683         (-[SettingsController menu]):
684
685         (-[SettingsController _addItemWithTitle:action:indented:]):
686         (-[SettingsController _addHeaderWithTitle:]):
687         NSMenuItem-creating helpers.
688
689         (-[SettingsController _populateMenu]):
690         Build the menu. Ideally this and the validation step would eventually be made more dynamic.
691
692         (-[SettingsController validateMenuItem:]):
693         Validate menu items; since they can be used to toggle the default state of a setting,
694         we'll always return YES. However, we will use this opportunity to set the 'checked' state
695         of each item.
696
697
698         (-[SettingsController _toggleBooleanDefault:]):
699         Toggle the given boolean default, and notify BrowserAppDelegate that something changed.
700
701         (-[SettingsController toggleUseWebKit2ByDefault:]):
702         (-[SettingsController useWebKit2ByDefault]):
703         (-[SettingsController toggleUseTransparentWindows:]):
704         (-[SettingsController useTransparentWindows]):
705         (-[SettingsController toggleUsePaginatedMode:]):
706         (-[SettingsController usePaginatedMode]):
707         (-[SettingsController toggleUseUISideCompositing:]):
708         (-[SettingsController useUISideCompositing]):
709         (-[SettingsController toggleShowLayerBorders:]):
710         (-[SettingsController layerBordersVisible]):
711         (-[SettingsController toggleShowTiledScrollingIndicator:]):
712         (-[SettingsController tiledScrollingIndicatorVisible]):
713         (-[SettingsController toggleEnableSubPixelCSSOMMetrics:]):
714         (-[SettingsController subPixelCSSOMMetricsEnabled]):
715         (-[SettingsController defaultURL]):
716         Toggle or return the current state of each preference.
717
718         * MiniBrowser/mac/WK1BrowserWindowController.m:
719         (-[WK1BrowserWindowController awakeFromNib]):
720         (-[WK1BrowserWindowController validateMenuItem:]):
721         (-[WK1BrowserWindowController windowWillClose:]):
722         (-[WK1BrowserWindowController find:]):
723         (-[WK1BrowserWindowController dumpSourceToConsole:]):
724         (-[WK1BrowserWindowController didChangeSettings]):
725         (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
726         (-[WK1BrowserWindowController isPaginated]): Deleted.
727         (-[WK1BrowserWindowController togglePaginationMode:]): Deleted.
728         (-[WK1BrowserWindowController toggleTransparentWindow:]): Deleted.
729         (-[WK1BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]): Deleted.
730         (-[WK1BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]): Deleted.
731         (-[WK1BrowserWindowController layerBordersVisible]): Deleted.
732         (-[WK1BrowserWindowController toggleLayerBordersVisibility:]): Deleted.
733         * MiniBrowser/mac/WK2BrowserWindowController.m:
734         (-[WK2BrowserWindowController awakeFromNib]):
735         (-[WK2BrowserWindowController validateMenuItem:]):
736         (-[WK2BrowserWindowController forceRepaint:]):
737         (-[WK2BrowserWindowController windowWillClose:]):
738         (-[WK2BrowserWindowController didChangeSettings]):
739         (-[WK2BrowserWindowController isPaginated]): Deleted.
740         (-[WK2BrowserWindowController togglePaginationMode:]): Deleted.
741         (-[WK2BrowserWindowController toggleTransparentWindow:]): Deleted.
742         (-[WK2BrowserWindowController isUISideCompositingEnabled]): Deleted.
743         (-[WK2BrowserWindowController toggleUISideCompositing:]): Deleted.
744         (-[WK2BrowserWindowController layerBordersVisible]): Deleted.
745         (-[WK2BrowserWindowController toggleLayerBordersVisibility:]): Deleted.
746         (-[WK2BrowserWindowController tiledScrollingIndicatorVisible]): Deleted.
747         (-[WK2BrowserWindowController toggleTiledScrollingIndicatorVisibility:]): Deleted.
748
749 2014-08-01  Tim Horton  <timothy_horton@apple.com>
750
751         MiniBrowser doesn't support data URLs
752         https://bugs.webkit.org/show_bug.cgi?id=135492
753
754         Reviewed by Simon Fraser.
755
756         * MiniBrowser/mac/BrowserWindowController.m:
757         (-[BrowserWindowController addProtocolIfNecessary:]):
758         Don't add http:// to data: URLs.
759
760         * MiniBrowser/mac/WK2BrowserWindowController.m:
761         (-[WK2BrowserWindowController fetch:]):
762         (-[WK2BrowserWindowController updateTextFieldFromURL:]):
763         Percent-escape the contents of the address field before trying to make a URL.
764         Percent-unescape the URL when displaying it in the address field.
765         This is not great, but trivial and good-enough-for-Minibrowser.
766
767 2014-07-31  Ryuan Choi  <ryuan.choi@samsung.com>
768
769         [EFL][WK2] MiniBrower comes to crash when combo box is pressed
770         https://bugs.webkit.org/show_bug.cgi?id=135378
771
772         Reviewed by Gyuyoung Kim.
773
774         "clicked" signal of elm_menu is emitted after EwkView calls popup_menu_hide
775         and removes Ewk_Popup_Menu instance.
776
777         * MiniBrowser/efl/main.c:
778         (on_popup_menu_show):
779         (on_popup_menu_discarded): Deleted.
780
781 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
782
783         [Win] Use RC_PROJECTBUILDVERSION as build portion of version
784         https://bugs.webkit.org/show_bug.cgi?id=135478
785
786         Reviewed by David Kilzer.
787
788         Add new test suite for the version-stamp program.
789
790         * Scripts/webkitperl/auto-version_unittest/versionStampTests.pl: Added.
791
792 2014-07-31  Dan Bernstein  <mitz@apple.com>
793
794         Reverted r171893, because it broke http/tests/appcache/different-https-origin-resource-main.html,
795         which loads HTTPS content without calling the delegate.
796
797         Rubber-stamped by Alexey Proskuryakov.
798
799         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
800         (WTR::InjectedBundle::platformInitialize):
801         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
802         (WTR::InjectedBundle::platformInitialize):
803
804 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
805
806         Unreviewed typo correction (and build fix).
807
808         * MiniBrowser/mac/WK2BrowserWindowController.m:
809         (-[WK2BrowserWindowController awakeFromNib]): Use correct
810         property name (_fullScreenIsEnabled -> _fullScreenEnabled)
811
812 2014-07-31  Brent Fulgham  <bfulgham@apple.com>
813
814         MiniBrowser Should Support Fullscreen Videos in WebKit2 Mode
815         https://bugs.webkit.org/show_bug.cgi?id=135482
816
817         Reviewed by Simon Fraser.
818
819         * MiniBrowser/mac/WK2BrowserWindowController.m:
820         (-[WK2BrowserWindowController awakeFromNib]): Activate the Fullscreen
821         feature.
822
823 2014-07-31  Alexey Proskuryakov  <ap@apple.com>
824
825         [Mac, iOS] Remove -setAllowsAnyHTTPSCertificate calls
826         https://bugs.webkit.org/show_bug.cgi?id=135472
827
828         Reviewed by Dan Bernstein.
829
830         We now handle server trust challenges, and don't need such hacks.
831
832         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
833         (WTR::InjectedBundle::platformInitialize):
834         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
835         (WTR::InjectedBundle::platformInitialize):
836
837 2014-07-31  Alexey Proskuryakov  <ap@apple.com>
838
839         media/track/add-and-remove-track.html and media/media-fragments/TC0001.html are flaky
840         on Mac WK2 EWS, asserting under TestRunner::removeAllWebNotificationPermissions
841         https://bugs.webkit.org/show_bug.cgi?id=135418
842
843         Reviewed by Anders Carlsson.
844
845         This was only happening in shared web process mode, because WKBundlePostMessage
846         has different behavior then. When there is no process, the message is dropped on
847         the floor in multiple process mode, but it's stored to be delivered after launch
848         in shared process mode.
849
850         So, calling resetStateToConsistentValues() resulted in storing a Reset bundle message
851         that was delivered immediately after launch, when there was nothing to reset.
852
853         We don't actually need to reset anything at this point, as the previous call has
854         already reset everything UI process side, and web process is brand new. All we need
855         is to reattach the page to a process, as invoke() expects one to exist.
856
857         * WebKitTestRunner/TestController.cpp: (WTR::TestController::reattachPageToWebProcess):
858         * WebKitTestRunner/TestController.h:
859         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
860
861 2014-07-31  Dan Bernstein  <mitz@apple.com>
862
863         [WK2] Regression tests can't load HTTPS pages with NetworkProcess due to self-signed certificate
864         https://bugs.webkit.org/show_bug.cgi?id=115282
865
866         Reviewed by Sam Weinig.
867
868         * WebKitTestRunner/TestController.cpp:
869         (WTR::TestController::canAuthenticateAgainstProtectionSpaceInFrame): Return true for any
870         local host server trust protection space.
871         (WTR::TestController::didReceiveAuthenticationChallengeInFrame): Respond with a non-empty
872         credential to server trust challenges.
873
874 2014-07-31  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
875
876         [webkitpy] Make diff_text generate correct diff if there is no newline at the end of file
877         https://bugs.webkit.org/show_bug.cgi?id=135381
878
879         Reviewed by Csaba Osztrogonác.
880
881         * Scripts/webkitpy/port/base.py:
882         (Port.diff_text):
883         * Scripts/webkitpy/port/base_unittest.py:
884         (PortTest.test_diff_text):
885
886 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
887
888         Unreviewed. Fix GTK+ make distcheck.
889
890         * gtk/make-dist.py:
891         (ensure_version_if_possible): Use 4.0 instead of 3.0 as binary
892         version to find the pkg-config file.
893         * gtk/manifest.txt: Add missing resource to the tarball.
894
895 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
896
897         [GTK] make distcheck is building from sources dir instead of dist dir
898         https://bugs.webkit.org/show_bug.cgi?id=135457
899
900         Reviewed by Philippe Normand.
901
902         * gtk/make-dist.py:
903         (Distcheck.configure): Use dist_dir as source dir.
904         (Distcheck.check): Pass dist_dir to configure().
905
906 2014-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
907
908         [GTK] Do not include files that are not in git in the tarball
909         https://bugs.webkit.org/show_bug.cgi?id=134804
910
911         Reviewed by Philippe Normand.
912
913         Skip all files in the source tree that are not under version control
914         except for files added from the build dir like the documentation.
915
916         * gtk/make-dist.py:
917         (Directory.__init__): Initialize the list of files under control version.
918         (Directory.list_cms_files): Helper function to list all files
919         under the control version for the current source root.
920         (Directory.should_skip_file): Return True for files that are not
921         under control version only when the source root is also under
922         control version.
923         (Directory.get_files): Filter the files also using should_skip_file().
924
925 2014-07-29  David Farler  <dfarler@apple.com>
926
927         iOS Simulator LayoutTestRelay
928         https://bugs.webkit.org/show_bug.cgi?id=135269
929
930         Reviewed by David Kilzer.
931
932         * LayoutTestRelay/Configurations/Base.xcconfig: Added.
933         * LayoutTestRelay/Configurations/DebugRelease.xcconfig: Added.
934         * LayoutTestRelay/LayoutTestRelay.xcodeproj/project.pbxproj: Added.
935         * LayoutTestRelay/LayoutTestRelay/LTPipeRelay.h: Added.
936         * LayoutTestRelay/LayoutTestRelay/LTPipeRelay.m: Added.
937         (-[LTPipeRelay inPipePath]):
938         (-[LTPipeRelay outPipePath]):
939         (-[LTPipeRelay errorPipePath]):
940         (-[LTPipeRelay outputStream]):
941         (-[LTPipeRelay initWithPrefix:]):
942         (-[LTPipeRelay setup]):
943         (-[LTPipeRelay tearDown]):
944         (-[LTPipeRelay connect]):
945         (-[LTPipeRelay disconnect]):
946         (-[LTPipeRelay createFIFOs]):
947         (-[LTPipeRelay destroyFIFOs]):
948         (-[LTPipeRelay relayStream:]):
949         (-[LTPipeRelay stream:handleEvent:]):
950         * LayoutTestRelay/LayoutTestRelay/LTRelay.h: Added.
951         * LayoutTestRelay/LayoutTestRelay/LTRelayController.h: Added.
952         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m: Added.
953         (-[LTRelayController uniqueAppPath]):
954         (-[LTRelayController uniqueAppURL]):
955         (-[LTRelayController uniqueAppIdentifier]):
956         (-[LTRelayController processName]):
957         (-[LTRelayController initWithDevice:productDir:appPath:identifierSuffix:dumpToolArguments:]):
958         (-[LTRelayController readFileHandle:]):
959         (-[LTRelayController receivedStandardOutputData:]):
960         (-[LTRelayController receivedStandardErrorData:]):
961         (-[LTRelayController disconnected]):
962         (-[LTRelayController connected]):
963         (-[LTRelayController crashWithMessage:]):
964         (-[LTRelayController launchSimulator]):
965         (-[LTRelayController bootDevice]):
966         (-[LTRelayController createUniqueApp]):
967         (-[LTRelayController killApp]):
968         (-[LTRelayController launchApp]):
969         (-[LTRelayController start]):
970         * LayoutTestRelay/LayoutTestRelay/main.m: Added.
971         (usage):
972         (getTestingSimDevice):
973         (getRequiredStringArgument):
974         (getRemainderArguments):
975         (main):
976         * LayoutTestRelay/Makefile: Added.
977         * Tools/Scripts/build-layouttestrelay: Added.
978
979 2014-07-29  Brent Fulgham  <bfulgham@apple.com>
980
981         [Win] Modify version numbering scheme to support 5-tuple versions
982         https://bugs.webkit.org/show_bug.cgi?id=135400
983         <rdar://problem/17849033>
984
985         Reviewed by David Kilzer.
986
987         Update test cases to recognize that we can only support Major
988         values from 0-65535, Minor values from 0-64, Tiny values from 0-999,
989         Micro values from 0-64, and Nano values from 0-999.
990
991         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Update
992         test expectations for physical limits.
993
994 2014-07-30  Carlos Garcia Campos  <cgarcia@igalia.com>
995
996         [GTK] GLib tests fail with recent GTK+ due to runtime warning about deprecated properties
997         https://bugs.webkit.org/show_bug.cgi?id=135411
998
999         Reviewed by Sergio Villar Senin.
1000
1001         Recent versions of GTK+ now warn at runtime when a deprecated
1002         property or signal is used. A diagnostic mode was added that is
1003         enabled by default, but that can be disabled by setting
1004         G_ENABLE_DIAGNOSTIC=0. Runtime warnings are considered test
1005         failures by gtester, so we need to run the tests with the
1006         diganostic mode disabled.
1007
1008         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
1009         (main):
1010
1011 2014-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1012
1013         [GTK] Remove WebKitCertificateInfo from WebKit2GTK+ API
1014         https://bugs.webkit.org/show_bug.cgi?id=134830
1015
1016         Reviewed by Gustavo Noronha Silva.
1017
1018         Update the SSL test for the API changes.
1019
1020         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
1021         (testLoadFailedWithTLSErrors):
1022
1023 2014-07-24  David Farler  <dfarler@apple.com>
1024
1025         Add knowledge of the iOS Simulator to webkitpy
1026         http://bugs.webkit.org/show_bug.cgi?id=133963
1027
1028         Reviewed by Simon Fraser.
1029
1030         * Scripts/webkitdirs.pm:
1031         (argumentsForConfiguration): Add --ios-sim*
1032         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1033         --runtime and --device-type args added.
1034         * Scripts/webkitpy/port/base.py:
1035         * Scripts/webkitpy/port/driver.py: Add simulator driver.
1036         (IOSSimulatorDriver): Added.
1037         * Scripts/webkitpy/port/factory.py: Add simulator platform.
1038         * Scripts/webkitpy/port/ios.py: Added.
1039
1040 2014-07-29  Alexey Proskuryakov  <ap@apple.com>
1041
1042         fast/borders/border-radius-on-subpixel-position-non-hidpi.html fails on Retina machines
1043         https://bugs.webkit.org/show_bug.cgi?id=135398
1044
1045         Reviewed by Zalan Bujtas.
1046
1047         * WebKitTestRunner/TestController.cpp: (WTR::TestController::updateWindowScaleForTest):
1048         "hidpi-" should be at the start. This allows "hidpi-" in both file and directory names.
1049
1050         * DumpRenderTree/mac/DumpRenderTree.mm: (changeWindowScaleIfNeeded): Same fix.
1051         For some reason, I wasn't seeing this test fail on WK1 even without the fix, not
1052         sure why.
1053
1054 2014-07-29  Alexey Proskuryakov  <ap@apple.com>
1055
1056         PPT: run-webkit-tests doesn't upload crash logs to bots
1057         https://bugs.webkit.org/show_bug.cgi?id=135391
1058
1059         Reviewed by Joseph Pecoraro.
1060
1061         * WebKitTestRunner/TestController.cpp: (WTR::TestController::processDidCrash):
1062         Not a fix to be proud of, but better than not having it work at all.
1063
1064 2014-07-29  Adrian Perez de Castro  <aperez@igalia.com>
1065
1066         [GTK] Remove WebKitWebViewGroup from WebKit2 GTK+ API
1067         https://bugs.webkit.org/show_bug.cgi?id=133729
1068
1069         Reviewed by Carlos Garcia Campos.
1070
1071         Removes WebKitWebViewGroup, effectively reverting the changes
1072         introduced by r149117. The motivation for WebKitWebViewGroup
1073         was using the user style sheet injection API, which has been
1074         moved into WebKitUserContentManager, rendering it unneeded.
1075
1076         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Remove tests
1077         for WebKitWebViewGroup.
1078         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1079         (testWebViewSettings):
1080         Restore the assertions that check that settings objects are
1081         released. Add test for webkit_web_view_new_with_settings().
1082         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp: Removed.
1083
1084 2014-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1085
1086         Implement webkit_web_view_load_string() in WebKit2
1087         https://bugs.webkit.org/show_bug.cgi?id=134735
1088
1089         Reviewed by Sergio Villar Senin.
1090
1091         Add /webkit2/WebKitWebView/load-bytes test case and simplify
1092         TestDOMXPathNSResolver by using webkit_web_view_load_bytes()
1093         instead of a soup server just to sent the Content-type header.
1094
1095         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp:
1096         (testWebKitDOMXPathNSResolverNative):
1097         (testWebKitDOMXPathNSResolverCustom):
1098         (beforeAll):
1099         (afterAll):
1100         (serverCallback): Deleted.
1101         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1102         (testLoadBytes):
1103         (beforeAll):
1104         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
1105         (LoadTrackingTest::loadBytes):
1106         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
1107         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1108         (WebViewTest::loadBytes):
1109         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1110
1111 2014-07-28  Daniel Bates  <dabates@apple.com>
1112
1113         Add support for running the Clang static analyzer when building WebKit and JSC
1114         https://bugs.webkit.org/show_bug.cgi?id=134955
1115
1116         Reviewed by Brent Fulgham.
1117
1118         * Scripts/build-jsc: Added command line options -[no]-analyze (disabled by default).
1119         * Scripts/build-webkit: Add --analyze command line option to build-webkit to enable
1120         running the Clang static analyzer.
1121         * Scripts/webkitdirs.pm:
1122         (XcodeStaticAnalyzerOption): Added.
1123
1124 2014-07-24  David Farler  <dfarler@apple.com>
1125
1126         Allow for multiple DumpRenderTree and WebKitTestRunner instances in the iOS Simulator
1127         https://bugs.webkit.org/show_bug.cgi?id=135272
1128
1129         Reviewed by Simon Fraser.
1130
1131         * DumpRenderTree/mac/DumpRenderTree.mm:
1132         (dumpRenderTree): Remove hard-coding of FIFO paths.
1133         (-[DumpRenderTree applicationDidEnterBackground:]): Create background task.
1134         (DumpRenderTreeMain): Set DumpRenderTree as UIApplication delegate.
1135         * DumpRenderTree/mac/DumpRenderTreeMac.h: bgTask ivar.
1136         * Scripts/old-run-webkit-tests: Update FIFO paths for ORWT.
1137         * WebKitTestRunner/TestController.cpp: Remove hard-coding of FIFO paths.
1138         * WebKitTestRunner/ios/TestControllerIOS.mm: Move dup2 calls to platformInitialize
1139         * WebKitTestRunner/ios/mainIOS.mm: bgTask ivar.
1140         (-[WebKitTestRunnerApp applicationDidEnterBackground:]): Create background task.
1141         (main): Set WebKitTestRunnerApp as UIApplication delegate.
1142
1143 2014-07-24  David Farler  <dfarler@apple.com>
1144
1145         ImageDiff builds for the simulator when running iOS layout tests
1146         https://bugs.webkit.org/show_bug.cgi?id=135270
1147
1148         Reviewed by Simon Fraser.
1149
1150         * Scripts/build-imagediff: Added.
1151
1152 2014-07-28  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
1153
1154         Followup fix after r171594
1155         https://bugs.webkit.org/show_bug.cgi?id=135048
1156
1157         Reviewed by Csaba Osztrogonác.
1158
1159         * Scripts/sort-export-file: Removed extra newlines from help.
1160
1161 2014-07-25  Anders Carlsson  <andersca@apple.com>
1162
1163         WKNavigation's properties are either always nil or don't behave as documented
1164         https://bugs.webkit.org/show_bug.cgi?id=135267
1165         <rdar://problem/17730536>
1166
1167         Reviewed by Andreas Kling.
1168
1169         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1170         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1171         (TEST):
1172         (-[DidFailProvisionalNavigationDelegate webView:didStartProvisionalNavigation:]):
1173         (-[DidFailProvisionalNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1174
1175 2014-07-25  Michael Catanzaro  <mcatanzaro@igalia.com>
1176
1177         [GTK] install-dependencies needs to install perl-CGI on Fedora
1178         https://bugs.webkit.org/show_bug.cgi?id=135302
1179
1180         Reviewed by Martin Robinson.
1181
1182         * gtk/install-dependencies:
1183         Add perl-CGI to yum dependencies needed for tests
1184
1185 2014-07-25  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
1186
1187         Add --dry-run option to sort-export-file
1188         https://bugs.webkit.org/show_bug.cgi?id=135048
1189
1190         Reviewed by Csaba Osztrogonác.
1191
1192         Added --dry-run option to sort-export-file. Running the script with --dry-run
1193         option does not sort the export files but creates a list of the files that
1194         need to be sorted.
1195
1196         * Scripts/sort-export-file:
1197         (sawError):
1198
1199 2014-07-24  Michael Catanzaro  <mcatanzaro@igalia.com>
1200
1201         GTK jhbuild modules needs to build xserver with --disable-local-transport
1202         https://bugs.webkit.org/show_bug.cgi?id=135262
1203
1204         Reviewed by Martin Robinson.
1205
1206         * gtk/jhbuild.modules:
1207         Build X server with --disable-local-transport, since local transport
1208         is only supported on Solaris, SCO, and System V. Fixes build on
1209         Fedora.
1210
1211 2014-07-24  Michael Catanzaro  <mcatanzaro@igalia.com>
1212
1213         [GTK] build-webkit script fails under jhbuild if ACLOCAL_FLAGS is unset
1214         https://bugs.webkit.org/show_bug.cgi?id=135065
1215
1216         Reviewed by Martin Robinson.
1217
1218         * jhbuild/jhbuild-wrapper:
1219         (ensure_jhbuild): do not assume jhbuild sets ACLOCAL_FLAGS
1220
1221 2014-07-23  Joseph Pecoraro  <pecoraro@apple.com>
1222
1223         Unreviewed iOS build fix after r171355.
1224
1225         * TestWebKitAPI/Configurations/Base.xcconfig:
1226         Since all the Tests/WebKit2Cocoa tests are already explicitly skipped on iOS,
1227         simplify to skipping all the tests in the directory. PlatformUtilities are not
1228         building on iOS, which means we are missing necessary Util functions.
1229
1230 2014-07-23  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
1231
1232         [EFL] Fix build after r171454
1233         https://bugs.webkit.org/show_bug.cgi?id=135191
1234
1235         Reviewed by Csaba Osztrogonác.
1236
1237         * MiniBrowser/efl/CMakeLists.txt: Add path to new EWebKit2.h location .
1238
1239 2014-07-23  Ryuan Choi  <ryuan.choi@samsung.com>
1240
1241         [EFL] Do not generate forwarding header for ewk headers
1242         https://bugs.webkit.org/show_bug.cgi?id=135147
1243
1244         Reviewed by Gyuyoung Kim.
1245
1246         * WebKitTestRunner/EventSenderProxy.h:
1247
1248 2014-07-21  Sam Weinig  <sam@webkit.org>
1249
1250         [Cocoa] WKScriptMessageHandlers don't seem to function properly after navigating
1251         https://bugs.webkit.org/show_bug.cgi?id=135148
1252
1253         Reviewed by Geoffrey Garen.
1254
1255         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1256         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm: Added.
1257         (-[SimpleNavigationDelegate webView:didFinishNavigation:]):
1258         (-[ScriptMessageHandler userContentController:didReceiveScriptMessage:]):
1259
1260 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
1261
1262         Correct handling of __VERSION_TEXT__ for 4+-tuple versions
1263         https://bugs.webkit.org/show_bug.cgi?id=135161
1264         <rdar://problem/17763546>
1265
1266         Reviewed by David Kilzer.
1267
1268         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
1269         Add additional test cases to catch errors in multiple-tuple
1270         version string handling.
1271
1272 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1273
1274         Extend exception fuzzing to the LLInt
1275         https://bugs.webkit.org/show_bug.cgi?id=135076
1276
1277         Reviewed by Oliver Hunt.
1278
1279         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1280
1281 2014-07-22  Jochen Eisinger  <jochen@chromium.org>
1282
1283         Fix my email address in contributors.json
1284         https://bugs.webkit.org/show_bug.cgi?id=135156
1285
1286         Reviewed by Gyuyoung Kim.
1287
1288         * Scripts/webkitpy/common/config/contributors.json:
1289
1290 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
1291
1292         Unreviewed test fix.
1293
1294         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Revert
1295         to older Perl 5.8 syntax for iterating over hashes to allow tests to
1296         run on Mountain Lion bots.
1297
1298 2014-07-21  Alexey Proskuryakov  <ap@apple.com>
1299
1300         https://bugs.webkit.org/show_bug.cgi?id=135137
1301         build.webkit.org/dashboard: webkitperl failures show up as yellow, not red
1302
1303         Reviewed by Darin Adler.
1304
1305         webkitperl results are binary, handle them the same way we handle bindings test results.
1306
1307         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1308         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1309         (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds):
1310
1311 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
1312
1313         [Win] Follow-up for r171324.
1314
1315         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Cygwin
1316         perl reports itself as 'cygwin'; native Windows Perl reports as
1317         'MSWin32'. We need to handle both cases.
1318
1319 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
1320
1321         Unreviewed build fix after r171319.
1322
1323         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: This test should
1324         only execute on Windows. It will fail on other platforms, so give it a way to
1325         successfully exit.
1326
1327 2014-07-21  Brent Fulgham  <bfulgham@apple.com>
1328
1329         [Win] Extend auto-version.pl to support 5-tuple versions
1330         https://bugs.webkit.org/show_bug.cgi?id=135124
1331         <rdar://problem/17750334>
1332
1333         Reviewed by David Kilzer.
1334
1335         Add test cases for auto-version.pl.
1336
1337         * Scripts/webkitperl/auto-version_unittest: Added.
1338         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Added.
1339
1340 2014-07-21  Dean Jackson  <dino@apple.com>
1341
1342         Allow MiniBrowser WK1 to do element fullscreen
1343         https://bugs.webkit.org/show_bug.cgi?id=135125
1344
1345         Reviewed by Simon Fraser.
1346
1347         Allow WK1 windows to go fullscreen using the DOM API.
1348
1349         * MiniBrowser/mac/WK1BrowserWindowController.m:
1350         (-[WK1BrowserWindowController awakeFromNib]): Enable the preference for
1351         fullscreen.
1352
1353 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1354
1355         [GTK] Documentation files are added twice to the tarball
1356         https://bugs.webkit.org/show_bug.cgi?id=135115
1357
1358         Reviewed by Sergio Villar Senin.
1359
1360         * gtk/manifest.txt: Remove duplicated rules.
1361
1362 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1363
1364         [GTK] Simplify make-dist command line arguments
1365         https://bugs.webkit.org/show_bug.cgi?id=134832
1366
1367         Reviewed by Martin Robinson.
1368
1369         Remove --tarball-root and -o command line options and add
1370         --version, since the version can be used to build both, the
1371         tarball root and the output filename. When the version it's not
1372         provided, the pkg-config file is used to get the version. Also
1373         change the default value of build-dir to the current directory,
1374         since it's very common to call make-dist.py from the build dir.
1375
1376         * gtk/make-dist.py:
1377         (get_tarball_root_and_output_filename_from_arguments):
1378
1379 2014-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1380
1381         [GTK] Reduce the size of the tarball generated by distcheck
1382         https://bugs.webkit.org/show_bug.cgi?id=134802
1383
1384         Reviewed by Martin Robinson.
1385
1386         Add more rules to the manifest to decide what files to add:
1387
1388           - Do not include platform specific directories of other ports.
1389           - Do not include port specific cmake files.
1390           - Do not include Objective-C sources.
1391           - Do not include .orig and .rej files.
1392           - Do not include mac specific sandbox files.
1393           - Only include the resources we actually build.
1394
1395         * gtk/manifest.txt:
1396
1397 2014-07-20  KwangHyuk Kim  <hyuki.kim@samsung.com>
1398
1399         [EFL] Enable mpg123 feature for gst-plugin-bad.
1400         https://bugs.webkit.org/show_bug.cgi?id=135016
1401
1402         Reviewed by Laszlo Gombos.
1403
1404         enable-mpg123 feature is added to jhbuild in order to support playback of mp3 format.
1405
1406         * efl/install-dependencies:
1407         * efl/jhbuild.modules:
1408
1409 2014-07-20  Dan Bernstein  <mitz@apple.com>
1410
1411         Test for <rdar://problems/17742611> -[_WKActivatedElementInfo image] is often empty
1412         https://bugs.webkit.org/show_bug.cgi?id=135107
1413
1414         Reviewed by Sam Weinig.
1415
1416         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1417         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMNode.mm: Added.
1418         (-[RenderedImageFromDOMNodeFrameLoadDelegate webView:didFinishLoadForFrame:]):
1419         (TestWebKitAPI::TEST):
1420
1421 2014-07-20  David Kilzer  <ddkilzer@apple.com>
1422
1423         Checker: Value stored to 'kernResult' is never read (LayoutTestHelper.m:164)
1424         <http://webkit.org/b/135096>
1425
1426         Reviewed by Alexey Proskuryakov.
1427
1428         * DumpRenderTree/mac/LayoutTestHelper.m:
1429         (lockDownDiscreteGraphics): Check the return values of
1430         IOServiceOpen() and IOObjectRelease(), and log if not
1431         KERN_SUCCESS.
1432
1433 2014-07-19  Anders Carlsson  <andersca@apple.com>
1434
1435         Update.
1436
1437         * Scripts/webkitpy/common/config/watchlist:
1438
1439 2014-07-18  Sam Weinig  <sam@webkit.org>
1440
1441         Revert accidental commit to MiniBrowser to make everything layer backed.
1442
1443         * MiniBrowser/mac/BrowserWindowController.m:
1444         (-[BrowserWindowController windowDidLoad]):
1445
1446 2014-07-18  Dana Burkart  <dburkart@apple.com>
1447
1448         Add a new 'analyze' target to the makefile. This will make use of a new
1449         'PATH_TO_SCAN_BUILD' which, if set will wrap xcodebuild in the clang
1450         static analyzer.
1451         https://bugs.webkit.org/show_bug.cgi?id=135057
1452         <rdar://problem/10193187>
1453
1454         Reviewed by David Kilzer.
1455
1456         * Makefile:
1457
1458 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1459
1460         Fix EFL+GTK.
1461
1462         * Scripts/run-jsc-stress-tests:
1463
1464 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1465
1466         Exception fuzzing should work on iOS
1467         https://bugs.webkit.org/show_bug.cgi?id=135070
1468
1469         Reviewed by Mark Hahnenberg.
1470
1471         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1472         (fail):
1473         * Scripts/run-jsc-stress-tests:
1474
1475 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1476
1477         run-jsc-stress-tests should be able to run helper-based tests in remote mode
1478         https://bugs.webkit.org/show_bug.cgi?id=135064
1479
1480         Reviewed by Mark Hahnenberg.
1481
1482         * Scripts/run-jsc-stress-tests:
1483
1484 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1485
1486         run-jsc-stress-tests: rename $copy to $doNotMessWithVMPath
1487         https://bugs.webkit.org/show_bug.cgi?id=135061
1488
1489         Rubber stamped by Mark Hahnenberg.
1490
1491         * Scripts/run-jsc-stress-tests:
1492
1493 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1494
1495         Refactor run-jsc-stress-tests VM copying code to remove some abstractions
1496         https://bugs.webkit.org/show_bug.cgi?id=135059
1497
1498         Reviewed by Mark Lam.
1499         
1500         This is meant to make it easier for me to extend the copying functionality to copy things other than
1501         the framework.
1502
1503         * Scripts/run-jsc-stress-tests:
1504
1505 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1506
1507         Fix cloop build.
1508
1509         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1510
1511 2014-07-18  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
1512
1513         Fix -v|--verbose option in sort-export-file script.
1514         https://bugs.webkit.org/show_bug.cgi?id=135043
1515
1516         Reviewed by Tim Horton.
1517
1518         -v|--verbose option does not work. Option added to getOptionsResult.
1519
1520         * Scripts/sort-export-file:
1521
1522 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1523
1524         Really remove dependency on ShellQuote.
1525
1526         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1527
1528 2014-07-18  Filip Pizlo  <fpizlo@apple.com>
1529
1530         Unreviewed, fix build for platforms that don't have ShellQuote.
1531         
1532         * Scripts/jsc-stress-test-helpers/js-exception-fuzz: Take a single argument that has the whole command string.
1533         * Scripts/run-jsc-stress-tests: Do the escaping in Ruby.
1534
1535 2014-07-15  Filip Pizlo  <fpizlo@apple.com>
1536
1537         Need ability to fuzz exception throwing
1538         https://bugs.webkit.org/show_bug.cgi?id=134945
1539         <rdar://problem/17722027>
1540
1541         Reviewed by Sam Weinig.
1542         
1543         Adds a new script, js-exception-fuzz, which will run some jsc command-line using
1544         exception fuzzing. This means that we will force exceptions to be thrown in random
1545         places to see how the engine reacts. This is now integrated with the various test
1546         drivers, so run-javascriptcore-tests will run some exception fuzzing tests by
1547         default.
1548
1549         * Scripts/jsc-stress-test-helpers/js-exception-fuzz: Added.
1550         (fail):
1551         * Scripts/run-javascriptcore-tests:
1552         * Scripts/run-jsc-stress-tests:
1553
1554 2014-07-17  Sam Weinig  <sam@webkit.org>
1555
1556         Fix failing API tests.
1557
1558         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
1559         (-[ActiveOffscreenWindow isVisible]):
1560         Override isVisible to make the NSWindows pretend they are visible.
1561
1562 2014-07-17  Alexey Proskuryakov  <ap@apple.com>
1563
1564         Disable button animations in regression tests
1565         https://bugs.webkit.org/show_bug.cgi?id=133647
1566         <rdar://problem/16677530>
1567
1568         Reviewed by Dean Jackson.
1569
1570         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
1571         We already did this for WebKit2, let's do it for WebKit1 too.
1572
1573 2014-07-16  Alexey Proskuryakov  <ap@apple.com>
1574
1575         A test that hangs at cleanup stage confuses webkitpy hugely
1576         https://bugs.webkit.org/show_bug.cgi?id=122475
1577         <rdar://problem/17184354>
1578
1579         Reviewed by Anders Carlsson.
1580
1581         Terminate WebContent process if it freezes between tests. Ideally, we should report
1582         this somehow, but this is better than blaming the wrong test.
1583
1584         * WebKitTestRunner/TestController.cpp:
1585         (WTR::TestController::terminateWebContentProcess):
1586         * WebKitTestRunner/TestController.h:
1587         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
1588
1589 2014-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1590
1591         Change style check path with EFL WK2's path in checker_unittest.py
1592         https://bugs.webkit.org/show_bug.cgi?id=134967
1593
1594         Reviewed by Csaba Osztrogonác.
1595
1596         * Scripts/webkitpy/style/checker_unittest.py: Change ewk_view.h path.
1597         (GlobalVariablesTest.test_path_rules_specifier):
1598
1599 2014-07-16  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1600
1601         Unreviewed. Added myself to the list of committers.
1602
1603         * Scripts/webkitpy/common/config/contributors.json:
1604
1605 2014-07-15  Ryuan Choi  <ryuan.choi@samsung.com>
1606
1607         [EFL] Remove EFL WK1 directory from the checker.py
1608         https://bugs.webkit.org/show_bug.cgi?id=134954
1609
1610         Reviewed by Gyuyoung Kim.
1611
1612         * Scripts/webkitpy/style/checker.py:
1613
1614 2014-07-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1615
1616         Adding myself to contributors.json breaks a webkitpy test
1617         https://bugs.webkit.org/show_bug.cgi?id=134958
1618
1619         Reviewed by Ryosuke Niwa.
1620
1621         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
1622         (IRCCommandTest.test_whois): Be more specific and include also the
1623         first name when asking for the whois of Xan in the unit test.
1624
1625 2014-07-14  Daniel Bates  <dabates@apple.com>
1626
1627         check-webkit-style should apply C++ rules to Objective-C++ files
1628         https://bugs.webkit.org/show_bug.cgi?id=134884
1629
1630         Reviewed by Joseph Pecoraro.
1631
1632         Fixes an issue where check-webkit-style doesn't apply applicable C++ rules to
1633         Objective-C++ files.
1634
1635         Currently check-webkit-style doesn't apply the following rules to Objective-C++
1636         files: build/using_std, runtime/max_min_macros, runtime/wtf_move, readability/null.
1637         Instead, we should teach check-webkit-style to apply these rules because, as
1638         its name implies, an Objective-C++ file may contain C++ code.
1639
1640         * Scripts/webkitpy/style/checkers/cpp.py:
1641         (_FileState.__init__): Add instance variable _is_objective_cpp to track whether a file has
1642         extension mm (i.e. an Objective-C++ file).
1643         (_FileState.is_objective_c_or_objective_cpp): Added; returns true if the file
1644         has extension m or mm or if the file has extension h and contains Objective-C directives.
1645         (check_for_null): No change in behavior; don't apply rule to Objective-C++ file.
1646         (check_identifier_name_in_declaration): Substitute _FileState.is_objective_c_or_objective_cpp() for
1647         _FileState.is_c_or_objective_c()
1648         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1649         (WebKitStyleTest.test_null_false_zero): Added test case for Objective-C++ file.
1650         (WebKitStyleTest.test_max_macro): Add test case for Objective-C and Objective-C++ file.
1651         (WebKitStyleTest.test_min_macro): Ditto.
1652         (WebKitStyleTest.test_wtf_move): Add test case for Objective-C++ file.
1653
1654 2014-07-14  Anders Carlsson  <andersca@apple.com>
1655
1656         Make shouldKeepCurrentBackForwardListItemInList part of WKPageLoaderClientV5 to avoid breaking ABI
1657         https://bugs.webkit.org/show_bug.cgi?id=134889
1658
1659         Reviewed by Beth Dakin.
1660
1661         Bump loader version number to 5.
1662
1663         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp:
1664         (TestWebKitAPI::setPageLoaderClient):
1665         * WebKitTestRunner/TestController.cpp:
1666         (WTR::TestController::createWebViewWithOptions):
1667
1668 2014-07-14  Daniel Bates  <dabates@apple.com>
1669
1670         Teach check-webkit-style to suggest WTF::move() when it sees std::move()
1671         https://bugs.webkit.org/show_bug.cgi?id=134620
1672
1673         Reviewed by Joseph Pecoraro.
1674
1675         * Scripts/webkitpy/style/checkers/cpp.py:
1676         (check_max_min_macros): Fix up comment so that it reads well.
1677         (check_wtf_move): Added.
1678         (check_style): Modified to call check_wtf_move().
1679         (CppChecker): Add category "runtime/wtf_move".
1680         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1681         (WebKitStyleTest.test_wtf_move): Added.
1682
1683 2014-07-12  Peter Szanka  <h868064@stud.u-szeged.hu>
1684
1685         Style checker complains about namespace indentation when there is no namespace
1686         https://bugs.webkit.org/show_bug.cgi?id=105427
1687
1688         Reviewed by Darin Adler.
1689
1690         * Scripts/webkitpy/style/checkers/cpp.py:
1691         (check_namespace_indentation):
1692         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1693         (WebKitStyleTest.test_indentation):
1694
1695         The indentation level depends on the parantheses too, to avoid false warning in case of several statements inside macros.
1696
1697 2014-07-12  Daker Fernandes Pinheiro  <daker.pinheiro@openbossa.org>
1698
1699         Remove excessive nesting from _EnumState.process_clean_line at cpp style checker
1700         https://bugs.webkit.org/show_bug.cgi?id=125317
1701
1702         Reviewed by Darin Adler.
1703
1704         * Scripts/webkitpy/style/checkers/cpp.py:
1705         (_EnumState.process_clean_line):
1706
1707 2014-07-12  Brian Holt  <brian.holt@samsung.com>
1708
1709         Style Checker should prevent enums in bitfields
1710         https://bugs.webkit.org/show_bug.cgi?id=57352
1711
1712         Reviewed by Darin Adler.
1713
1714         Added check that enums are not used as types for bitfields
1715         and a unit test.
1716
1717         * Scripts/webkitpy/style/checkers/cpp.py:
1718         (check_language):
1719         (CppChecker):
1720         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1721         (CppStyleTest):
1722         (CppStyleTest.test_enum_bitfields):
1723         (CppStyleTest.test_plain_integral_bitfields):
1724
1725 2014-07-10  Myles C. Maxfield  <mmaxfield@apple.com>
1726
1727         [iOS] Pasting rich content does not perform a two-step paste
1728         https://bugs.webkit.org/show_bug.cgi?id=134795
1729
1730         Reviewed by Benjamin Poulain.
1731
1732         Two-step paste requires setting InputViewObeysDOMFocus on the UIWebBrowserView.
1733
1734         * DumpRenderTree/mac/DumpRenderTree.mm:
1735         (createWebViewAndOffscreenWindow):
1736
1737 2014-07-10  Carlos Garcia Campos  <cgarcia@igalia.com> and Martin Robinson  <mrobinson@igalia.com>
1738
1739         [GTK][CMake] Add a 'distcheck' target
1740         https://bugs.webkit.org/show_bug.cgi?id=130675
1741
1742         Reviewed by Gustavo Noronha Silva.
1743
1744         Add --check option to make-dist script that builds and installs the tarball.
1745
1746         * gtk/make-dist.py:
1747         (Distcheck.__init__):
1748         (Distcheck.extract_tarball): Extratc the tarball.
1749         (Distcheck.configure): Run cmake.
1750         (Distcheck.configure.create_dir): Helper function to create a directory.
1751         (Distcheck.build): Run make.
1752         (Distcheck.install): Run make install.
1753         (Distcheck.clean): Clean up the extracted tarball.
1754         (Distcheck.check): Run all previous methods in order.
1755         * gtk/manifest.txt: Add missing file.
1756
1757 2014-07-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1758
1759         [GTK] Use the same default options for production builds that previous stable releases
1760         https://bugs.webkit.org/show_bug.cgi?id=134589
1761
1762         Reviewed by Martin Robinson.
1763
1764         Make sure all features enabled in production builds are also
1765         enabled in developer mode.
1766
1767         * Scripts/webkitperl/FeatureList.pm: Enable ACCELERATED_2D_CANVAS
1768         and CSS_FILTERS for the GTK port.
1769
1770 2014-07-09  Brent Fulgham  <bfulgham@apple.com>
1771
1772         [Win] Remove uses of 'bash' in build system
1773         https://bugs.webkit.org/show_bug.cgi?id=134782
1774         <rdar://problem/17615533>
1775
1776         Reviewed by Dean Jackson.
1777
1778         Remove uses of 'bash' by replacing Windows-specific bash scripts
1779         with Perl equivalents.
1780
1781         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd:
1782         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd:
1783         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd:
1784         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd:
1785         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd:
1786         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd:
1787
1788 2014-07-09  Brent Fulgham  <bfulgham@apple.com>
1789
1790         [Win] Remove use of 'grep' in build steps
1791         https://bugs.webkit.org/show_bug.cgi?id=134770
1792         <rdar://problem/17608783>
1793
1794         Reviewed by Tim Horton.
1795
1796         Replace uses of the grep command in Windows builds with the equivalent
1797         Perl program.
1798
1799         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd:
1800         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd:
1801         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd:
1802         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd:
1803         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd:
1804         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd:
1805
1806 2014-07-09  Commit Queue  <commit-queue@webkit.org>
1807
1808         Unreviewed, rolling out r170889.
1809         https://bugs.webkit.org/show_bug.cgi?id=134754
1810
1811         This patch is wrong (Requested by philn on #webkit).
1812
1813         Reverted changeset:
1814
1815         "[GTK] Gstreamer missing from the install-dependencies script"
1816         https://bugs.webkit.org/show_bug.cgi?id=134727
1817         http://trac.webkit.org/changeset/170889
1818
1819 2014-07-08  Brian J. Burg  <burg@cs.washington.edu>
1820
1821         resolve-ChangeLogs fails when WebKit repository is a git submodule
1822         https://bugs.webkit.org/show_bug.cgi?id=134734
1823
1824         Reviewed by David Kilzer.
1825
1826         When using resolve-ChangeLogs in a WebKit git repository with a
1827         non-default arrangement of GIT_DIR and GIT_WORK_TREE, incorrect
1828         paths are computed and the script fails mysteriously.
1829
1830         We were naively computing GIT_WORK_TREE as being one level above
1831         GIT_DIR, but this is not the case for submodules or a manually
1832         configured GIT_WORK_TREE or GIT_DIR location.
1833
1834         * Scripts/VCSUtils.pm:
1835         (gitTreeDirectory): Added. Find the equivalent of GIT_WORK_TREE.
1836         (determineVCSRoot): Calculate the working tree root directly.
1837
1838 2014-07-08  Tim Horton  <timothy_horton@apple.com>
1839
1840         [WK2] Expose a few drawing/compositing settings on WKPreferences(Private)
1841         https://bugs.webkit.org/show_bug.cgi?id=134645
1842
1843         Reviewed by Dan Bernstein.
1844
1845         * MiniBrowser/mac/BrowserWindowController.h:
1846         * MiniBrowser/mac/MainMenu.xib:
1847         Add menu items for layer borders and the tiled scrolling indicator.
1848
1849         * MiniBrowser/mac/WK1BrowserWindowController.m:
1850         (-[WK1BrowserWindowController validateMenuItem:]):
1851         (-[WK1BrowserWindowController layerBordersAreVisible]):
1852         (-[WK1BrowserWindowController toggleLayerBordersVisibility:]):
1853         Add getters/setters/validators for layer borders.
1854
1855         * MiniBrowser/mac/WK2BrowserWindowController.m:
1856         (-[WK2BrowserWindowController awakeFromNib]):
1857         (-[WK2BrowserWindowController validateMenuItem:]):
1858         (-[WK2BrowserWindowController layerBordersAreVisible]):
1859         (-[WK2BrowserWindowController toggleLayerBordersVisibility:]):
1860         (-[WK2BrowserWindowController tiledScrollingIndicatorIsVisible]):
1861         (-[WK2BrowserWindowController toggleTiledScrollingIndicatorVisibility:]):
1862         Add getters/setters/validators for layer borders and the tiled scrolling indicator.
1863
1864         (-[WK2BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]): Deleted.
1865         (-[WK2BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]): Deleted.
1866         Remove the WebKit2 version of the subpixel metrics pref, because it doesn't work, because
1867         nothing in WebKit2 reads this default, and there is no WebKit2 API for adjusting this preference.
1868
1869 2014-07-08  Adrian Perez de Castro  <aperez@igalia.com>
1870
1871         [GTK] Move user style sheet API out of WebKitWebViewGroup
1872         https://bugs.webkit.org/show_bug.cgi?id=134551
1873
1874         Reviewed by Carlos Garcia Campos.
1875
1876         Removes testing user style sheet injection from
1877         TestWebKitWebViewGroup and moves that into a new
1878         TestWebKitUserContentManager, adapting the existing tests to the new
1879         API. Also, it contains a new test case for
1880         webkit_web_view_new_with_user_content_manager().
1881
1882         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1883         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp: Added.
1884         (UserContentManagerTest::UserContentManagerTest):
1885         (testWebViewNewWithUserContentManager):
1886         (isStyleSheetInjectedForURLAtPath):
1887         (fillURLListFromPaths):
1888         (removeOldInjectedStyleSheetsAndResetLists):
1889         (testUserContentManagerInjectedStyleSheet):
1890         (serverCallback):
1891         (beforeAll):
1892         (afterAll):
1893         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
1894         (beforeAll):
1895         (afterAll):
1896         (isStyleSheetInjectedForURLAtPath): Deleted.
1897         (fillURLListFromPaths): Deleted.
1898         (removeOldInjectedStyleSheetsAndResetLists): Deleted.
1899         (testWebViewGroupInjectedStyleSheet): Deleted.
1900         (serverCallback): Deleted.
1901         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1902         (WebViewTest::WebViewTest):
1903         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1904
1905 2014-07-08  Ziran Sun  <ziran.sun@samsung.com>
1906
1907         [GTK] Gstreamer missing from the install-dependencies script
1908         https://bugs.webkit.org/show_bug.cgi?id=134727
1909
1910         Reviewed by Mario Sanchez Prada.
1911
1912         Added missing gstreamer dependencies for debian based systems.
1913
1914         * gtk/install-dependencies: Added 2 dependencies for apt-get.
1915
1916 2014-07-08  Myles C. Maxfield  <mmaxfield@apple.com>
1917
1918         Add myself to the watchlist for text-related files
1919         https://bugs.webkit.org/show_bug.cgi?id=134707
1920
1921         Reviewed by Timothy Horton.
1922
1923         * Scripts/webkitpy/common/config/watchlist:
1924
1925 2014-07-08  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
1926
1927         Add option to specify output file location in sunspider.
1928         https://bugs.webkit.org/show_bug.cgi?id=134339
1929
1930         Reviewed by Darin Adler.
1931
1932         * Scripts/run-sunspider:
1933
1934 2014-07-07  Alex Christensen  <achristensen@webkit.org>
1935
1936         Unreviewed build fix.
1937
1938         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
1939         Make Common.cpp excluded from both 32-bit and 64-bit builds.
1940
1941 2014-07-07  Simon Fraser  <simon.fraser@apple.com>
1942
1943         Have MiniBrowser log and reload if the Web Content Process crashes
1944         https://bugs.webkit.org/show_bug.cgi?id=134691
1945
1946         Reviewed by Tim Horton.
1947         
1948         Implement _webViewWebProcessDidCrash, log and reload when the web process
1949         crashes.
1950
1951         * MiniBrowser/mac/WK2BrowserWindowController.m:
1952         (-[WK2BrowserWindowController _webViewWebProcessDidCrash:]):
1953
1954 2014-07-07  Alberto Garcia  <berto@igalia.com>
1955
1956         update-webkitgtk-libs script fails by unsatisfied dependencies
1957         https://bugs.webkit.org/show_bug.cgi?id=134547
1958
1959         Reviewed by Martin Robinson.
1960
1961         Install libxcb-xfixes0-dev, needed to build Mesa.
1962
1963         * gtk/install-dependencies:
1964
1965 2014-07-06  Yoav Weiss  <yoav@yoav.ws>
1966
1967         Turn on img@sizes compile flag
1968         https://bugs.webkit.org/show_bug.cgi?id=134634
1969
1970         Reviewed by Benjamin Poulain.
1971
1972         * Scripts/webkitperl/FeatureList.pm: Turn on the img@sizes feature.
1973
1974 2014-07-06  Hyowon Kim  <hw1008.kim@samsung.com>
1975
1976         Unreviewed. Adding myself to committers.
1977
1978         * Scripts/webkitpy/common/config/contributors.json:
1979
1980 2014-07-05  KwangHyuk Kim  <hyuki.kim@samsung.com>
1981
1982         [EFL] Add libgeoclue-dev to Tools/efl/install-dependencies.
1983         https://bugs.webkit.org/show_bug.cgi?id=134648
1984
1985         Reviewed by Gyuyoung Kim.
1986
1987         As Geoclue is enabled for EFL, libgeoclue-dev is also added to Tools/efl/install-dependencies.
1988
1989         * efl/install-dependencies:
1990
1991 2014-07-04  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1992
1993         [EFL] Support Geolocation
1994         https://bugs.webkit.org/show_bug.cgi?id=134439
1995
1996         Reviewed by Antonio Gomes.
1997
1998         * Scripts/webkitperl/FeatureList.pm: Enable geolocation for EFL port.
1999
2000 2014-07-04  Shivakumar JM  <shiva.jm@samsung.com>
2001
2002         [EFL][WK2] Enhance the Minibrowser to show selected/highlighted text in search bar, if any.
2003         https://bugs.webkit.org/show_bug.cgi?id=134485
2004
2005         Reviewed by Gyuyoung Kim.
2006
2007         Use script_execute_callback to get selected/highlighted text and show in search bar.
2008
2009         * MiniBrowser/efl/main.c:
2010         (script_execute_callback):
2011         (on_key_down):
2012
2013 2014-07-04  Dan Bernstein  <mitz@apple.com>
2014
2015         Build fix after r170811.
2016
2017         * MiniBrowser/mac/WK2BrowserWindowController.m:
2018         (-[WK2BrowserWindowController reload:]):
2019
2020 2014-07-04  Timothy Horton  <timothy_horton@apple.com>
2021
2022         Typo in watchlist config means four specific people get Cc'd on everything
2023         https://bugs.webkit.org/show_bug.cgi?id=134626
2024
2025         Reviewed by Gyuyoung Kim.
2026
2027         * Scripts/webkitpy/common/config/watchlist:
2028         Remove leading pipe, which meant that this rule matched everything!
2029
2030 2014-07-03  Shivakumar JM  <shiva.jm@samsung.com>
2031
2032         [EFL][WK2] Enhance the Minibrowser to show text search count and close search bar.
2033         https://bugs.webkit.org/show_bug.cgi?id=134486
2034
2035         Reviewed by Gyuyoung Kim.
2036
2037         Use on_search_close_button_clicked() callback to close search bar and on_search_text_found() callback to show search count.
2038
2039         * MiniBrowser/efl/main.c:
2040         (search_box_show):
2041         (search_box_hide):
2042         (on_search_close_button_clicked):
2043         (on_search_text_found):
2044         (window_create):
2045
2046 2014-07-03  Daniel Bates  <dabates@apple.com>
2047
2048         Add WTF::move()
2049         https://bugs.webkit.org/show_bug.cgi?id=134500
2050
2051         Rubber-stamped by Anders Carlsson.
2052
2053         Substitute WTF::move() for std::move().
2054
2055         * DumpRenderTree/win/DRTDataObject.cpp:
2056         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2057         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2058         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2059         * TestWebKitAPI/Tests/WTF/Vector.cpp:
2060         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2061         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added FIXME comments that explain that some of the sub-tests
2062         aren't actually testing move semantics in tests: MoveAssignmentFromSameType, MoveAssignmentFromSimilarType,
2063         ConstructionFromSameType, and ConstructionFromSimilarType.
2064         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
2065
2066 2014-07-03  László Langó  <llango.u-szeged@partner.samsung.com>
2067
2068         [JavaScriptCore] Add --cmakeargs option to build-jsc.
2069         https://bugs.webkit.org/show_bug.cgi?id=134590
2070
2071         Reviewed by Ryosuke Niwa.
2072
2073         * Scripts/build-jsc:
2074
2075 2014-07-03  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
2076
2077         Add option to specify jsc args in run-sunspider.
2078         https://bugs.webkit.org/show_bug.cgi?id=134341
2079
2080         Reviewed by Csaba Osztrogonác.
2081
2082         * Scripts/run-sunspider:
2083
2084 2014-07-02  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2085
2086         [GTK] Unreviewed gardening.
2087
2088         * Scripts/run-gtk-tests:
2089         (TestRunner): Report and mark flaky test WebKit2Gtk/TestCookieManager:persistent-storage
2090
2091 2014-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2092
2093         Clean up unused EFL buildbot information in BuildSlaveSupport and TestResultServer
2094         https://bugs.webkit.org/show_bug.cgi?id=134581
2095
2096         Reviewed by Tim Horton.
2097
2098         Should be removed unused EFL bot info.
2099
2100         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
2101         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
2102         (EWS):
2103         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2104         (WebKitBuildbot):
2105         * TestResultServer/static-dashboards/builders.jsonp:
2106         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2107         (test):
2108
2109 2014-07-02  Alex Christensen  <achristensen@webkit.org>
2110
2111         Unreviewed.  Moved self to reviewers list.
2112
2113         * Scripts/webkitpy/common/config/contributors.json:
2114         Moved self to reviewers list, added WebGL to expertise.
2115
2116 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2117
2118         [GTK] Make dist only works when run from the source directory
2119         https://bugs.webkit.org/show_bug.cgi?id=134543
2120
2121         Reviewed by Martin Robinson.
2122
2123         Since the paths in the manifest are relative to the source dir,
2124         and the script expects the current working directory to be the
2125         source directory, resolve all passed in relative paths while
2126         parsing the arguments and then change the current working
2127         directory.
2128
2129         * gtk/make-dist.py:
2130
2131 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2132
2133         [GTK] make dist is broken
2134         https://bugs.webkit.org/show_bug.cgi?id=134542
2135
2136         Reviewed by Martin Robinson.
2137
2138         * gtk/make-dist.py: Rename command line options to match what cmake uses.
2139         * gtk/manifest.txt: Remove WebKit1 references and add WebKitDOM documentation.
2140
2141 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2142
2143         [GTK] WebKitWebView::create should receive information about the navigation action
2144         https://bugs.webkit.org/show_bug.cgi?id=133680
2145
2146         Reviewed by Martin Robinson.
2147
2148         Add unit test to check the WebKitNavigationAction passed to
2149         WebKitWebView::create callback.
2150
2151         * MiniBrowser/gtk/BrowserWindow.c:
2152         (webViewCreate): Add WebKitNavigationAction parameter.
2153         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
2154         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
2155         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2156         (testWebViewCreateNavigationData):
2157         (beforeAll):
2158         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
2159         (createCallback):
2160
2161 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2162
2163         [GTK] Do not add forward declaration of class struct for interfaces
2164         https://bugs.webkit.org/show_bug.cgi?id=134297
2165
2166         Reviewed by Martin Robinson.
2167
2168         Add Iface symbol to documentation instead of Class for interfaces.
2169
2170         * gtk/webkitdom.py:
2171         (WebKitDOMDocGeneratorSections.write_section):
2172
2173 2014-07-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2174
2175         [GTK] XPathNSResolver should be exposed as an interface instead of as a class
2176         https://bugs.webkit.org/show_bug.cgi?id=134028
2177
2178         Reviewed by Gustavo Noronha Silva.
2179
2180         Add unit tests to check WebKitDOMXPathNSResolver API when using the
2181         native one and a user provided one.
2182
2183         * Scripts/webkitpy/style/checker.py: Add WebKitDOMXPathNSResolver
2184         to the list of GTK+ public API exceptions.
2185         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
2186         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp: Added.
2187         (webkitXPathNSResolverLookupNamespaceURI):
2188         (webkitXPathNSResolverDOMXPathNSResolverIfaceInit):
2189         (webkit_xpath_ns_resolver_init):
2190         (webkit_xpath_ns_resolver_class_init):
2191         (WebKitDOMXPathNSResolverTest::create):
2192         (WebKitDOMXPathNSResolverTest::webPageFromArgs):
2193         (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
2194         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
2195         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
2196         (WebKitDOMXPathNSResolverTest::runTest):
2197         (registerTests):
2198         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp: Added.
2199         (runTest):
2200         (testWebKitDOMXPathNSResolverNative):
2201         (testWebKitDOMXPathNSResolverCustom):
2202         (serverCallback):
2203         (beforeAll):
2204         (afterAll):
2205         * gtk/webkitdom.py:
2206         (WebKitDOMDocGeneratorSections.write_section): Add
2207         WebKitDOMXPathNSResolver to the list of interfaces.
2208
2209 2014-07-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2210
2211         Fix build break on EFL and GTK ports since r170683
2212         https://bugs.webkit.org/show_bug.cgi?id=134536
2213
2214         Unreviewed, build fix.
2215
2216         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
2217
2218 2014-07-01  Sam Weinig  <sam@webkit.org>
2219
2220         [Cocoa][Mac] WKWebView should automatically set topContentInset when beneath a toolbar
2221         <rdar://problem/17523159>
2222         https://bugs.webkit.org/show_bug.cgi?id=134496
2223
2224         Reviewed by Beth Dakin.
2225
2226         * MiniBrowser/mac/BrowserWindowController.m:
2227         (-[BrowserWindowController windowDidLoad]):
2228         Use the NSFullSizeContentViewWindowMask bit on Yosemite and later to enable toolbar blurring.
2229
2230 2014-07-01  Zan Dobersek  <zdobersek@igalia.com>
2231
2232         [CMake] Add necessary support for building for the Wayland target
2233         https://bugs.webkit.org/show_bug.cgi?id=134160
2234
2235         Reviewed by Darin Adler.
2236
2237         * CMakeLists.txt: Only build the TestNetscapePlugIn target in case
2238         the X11 windowing target is enabled.
2239
2240 2014-07-01  Chris Fleizach  <cfleizach@apple.com>
2241
2242         AX: HTML indeterminate IDL attribute not mapped to checkbox value=2
2243         https://bugs.webkit.org/show_bug.cgi?id=134492
2244
2245         Reviewed by Andreas Kling.
2246
2247         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2248         (AccessibilityUIElement::isIndeterminate):
2249         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2250         (WTR::AccessibilityUIElement::isIndeterminate):
2251
2252 2014-07-01  Daniel Bates  <dabates@apple.com>
2253
2254         Remove unnecessary calls to std::move()
2255         https://bugs.webkit.org/show_bug.cgi?id=134493
2256
2257         Reviewed by Anders Carlsson.
2258
2259         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2260         (TestWebKitAPI::TEST):
2261         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
2262         (TestWebKitAPI::TEST):
2263
2264 2014-07-01  Pratik Solanki  <psolanki@apple.com>
2265
2266         Unreviewed. Adding myself to the reviewers list to make commit bot happy.
2267
2268         * Scripts/webkitpy/common/config/contributors.json:
2269
2270 2014-07-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2271
2272         webkit-patch apply-from-bug / apply-attachment should not ask for credentials if none are required
2273         https://bugs.webkit.org/show_bug.cgi?id=40095
2274
2275         Reviewed by Csaba Osztrogonác.
2276
2277         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2278         (Bugzilla.fetch_attachment_contents): make a first fetch on bugzilla without authentication. If failing, use authentication (similar to fetch_bug_dictionary).
2279         (Bugzilla):
2280         (Bugzilla.bug_id_for_attachment_id): ditto.
2281
2282 2014-07-01  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2283
2284         [webkitpy] Refactor pluralizer in grammar.py
2285         https://bugs.webkit.org/show_bug.cgi?id=133067
2286
2287         Reviewed by Csaba Osztrogonác.
2288
2289         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
2290         (LayoutTestRunner.run_tests):
2291         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2292         (Manager.run):
2293         * Scripts/webkitpy/layout_tests/views/printing.py:
2294         (Printer.print_found):
2295         (Printer.print_workers_and_shards):
2296         (Printer._print_one_line_summary):
2297         * Scripts/webkitpy/test/printer.py:
2298         (Printer.print_result):
2299         * Scripts/webkitpy/tool/bot/feeders.py:
2300         (EWSFeeder.feed):
2301         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2302         (FlakyTestReporter._lookup_bug_for_flaky_test):
2303         * Scripts/webkitpy/tool/bot/irc_command.py:
2304         (Rollout._check_diff_failure):
2305         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
2306         (IRCCommandTest.test_rollout):
2307         * Scripts/webkitpy/tool/commands/download.py:
2308         (AbstractPatchProcessingCommand._process_patch.execute):
2309         (ProcessBugsMixin._fetch_list_of_patches_to_process):
2310         (ProcessURLsMixin._fetch_list_of_patches_to_process):
2311         * Scripts/webkitpy/tool/commands/queries.py:
2312         (WhatBroke.execute):
2313         * Scripts/webkitpy/tool/commands/suggestnominations.py:
2314         (SuggestNominations._print_nominations):
2315         (SuggestNominations._print_counts):
2316         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
2317         (_make_options):
2318         (test_basic):
2319         (test_with_verbose):
2320         * Scripts/webkitpy/tool/commands/upload.py:
2321         (PostCommits.execute):
2322         * Scripts/webkitpy/tool/grammar.py:
2323         (pluralize):
2324         * Scripts/webkitpy/tool/grammar_unittest.py:
2325         (GrammarTest.test_join_with_separators):
2326         (GrammarTest):
2327         (GrammarTest.test_plural):
2328         (GrammarTest.test_pluralize):
2329         * Scripts/webkitpy/tool/multicommandtool.py:
2330         (Command.check_arguments_and_execute):
2331         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
2332         (ObsoletePatches.run):
2333         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
2334         (PrepareChangeLogForRevert._message_for_revert):
2335
2336 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
2337
2338         [iOS] GSFontAddCGFont is deprecated and we use it in DumpRenderTree
2339         https://bugs.webkit.org/show_bug.cgi?id=134133
2340
2341         Reviewed by Simon Fraser.
2342
2343         Replace it with CTFontManagerRegisterGraphicsFont
2344
2345         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2346         * DumpRenderTree/mac/DumpRenderTree.mm:
2347         (activateFontIOS):
2348
2349 2014-06-30  Michael Saboff  <msaboff@apple.com>
2350
2351         Add option to run-jsc-stress-testes to filter out tests that use large heaps
2352         https://bugs.webkit.org/show_bug.cgi?id=134458
2353
2354         Reviewed by Filip Pizlo.
2355
2356         Added new --memory-limited to filter out tests that have large heap usage.
2357         Such tests are either tagged with //@largeHeap or logic is added to their .yaml file.
2358
2359         * Scripts/run-jsc-stress-tests:
2360
2361 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
2362
2363         DRT in iOS sim crashes while loading fonts
2364         https://bugs.webkit.org/show_bug.cgi?id=134451
2365
2366         Reviewed by Geoffrey Garen.
2367
2368         The magic linker symbols had the same name, and were therefore being unified
2369         to a single font file. Then, adding the same file twice was failing.
2370
2371         * DumpRenderTree/mac/DumpRenderTree.mm:
2372         (activateFontsIOS):
2373
2374 2014-06-30  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2375
2376         Remove Qt cruft from webkitpy
2377         https://bugs.webkit.org/show_bug.cgi?id=134445
2378
2379         Reviewed by Csaba Osztrogonác.
2380
2381         * Scripts/webkitpy/common/config/ports.py:
2382         (DeprecatedPort.port):
2383         (QtPort): Deleted.
2384         (QtPort.build_webkit_command): Deleted.
2385         (QtPort.run_webkit_tests_command): Deleted.
2386         (QtWK2Port): Deleted.
2387         (QtWK2Port.build_webkit_command): Deleted.
2388         (QtWK2Port.run_webkit_tests_command): Deleted.
2389         * Scripts/webkitpy/common/config/ports_unittest.py:
2390         (DeprecatedPortTest): Deleted.
2391         (DeprecatedPortTest.test_qt_port): Deleted.
2392         (DeprecatedPortTest.test_qt_wk2_port): Deleted.
2393
2394 2014-06-29  Yoav Weiss  <yoav@yoav.ws>
2395
2396         Add support for HTMLImageElement's sizes attribute
2397         https://bugs.webkit.org/show_bug.cgi?id=133620
2398
2399         Reviewed by Dean Jackson.
2400
2401         Added an ENABLE_PICTURE_SIZES compile flag.
2402
2403         * Scripts/webkitperl/FeatureList.pm:
2404
2405 2014-06-27  Tim Horton  <timothy_horton@apple.com>
2406
2407         check-webkit-style should check the order of #imports as well as #includes
2408         https://bugs.webkit.org/show_bug.cgi?id=134428
2409
2410         Reviewed by Dan Bernstein.
2411
2412         * Scripts/webkitpy/style/checkers/cpp.py:
2413         Allow "import" in addition to "include", so that the sort order of headers in ObjC files is checked.
2414
2415 2014-06-27  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2416
2417         [EFL] Remove efl-wk2 from baseline search path
2418         https://bugs.webkit.org/show_bug.cgi?id=134391
2419
2420         Reviewed by Gyuyoung Kim.
2421
2422         As WebKit1 EFL is removed and platform/efl and platform/efl-wk2 baselines and test expectations files
2423         are merged efl-wk2 search path should be removed.
2424
2425         * Scripts/webkitpy/port/base.py:
2426         (Port.test_expectations_file_postion): Added method to determine port test expectations file position in expectations_dict.
2427         * Scripts/webkitpy/port/efl.py:
2428         (EflPort._search_paths): Changed baseline search paths from efl-wk2 -> wk2 -> efl -> generic is changed to: efl -> wk2 -> generic.
2429         (EflPort.test_expectations_file_postion): Added method to determine EFL port specific test expectation file position.
2430         * Scripts/webkitpy/port/port_testcase.py:
2431         (PortTestCase.test_expectations_ordering): Changed constant value to one returned from test_expectations_file_postion().
2432         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
2433         (TestExpectationsTestCase.test_determine_port_from_expectations_path): Removed efl-wk2 test case.
2434         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2435         (TestRebaselineTest.test_baseline_directory): Changed directory name in assertion from platform/efl-wk2 to platform/efl.
2436
2437 2014-06-26  Dan Bernstein  <mitz@apple.com>
2438
2439         prepare-ChangeLog outputs (NS_ENUM): entries for Cocoa enums
2440         https://bugs.webkit.org/show_bug.cgi?id=134387
2441
2442         Reviewed by Tim Horton.
2443
2444         * Scripts/prepare-ChangeLog:
2445         (get_function_line_ranges_for_cpp): Don’t consider {CF,NS}_{ENUM,OPTIONS} as function names.
2446
2447 2014-06-26  Dan Bernstein  <mitz@apple.com>
2448
2449         prepare-ChangeLog mangles Objective-C selectors for methods with parameter types that contain colons
2450         https://bugs.webkit.org/show_bug.cgi?id=134383
2451
2452         Reviewed by Tim Horton.
2453
2454         * Scripts/prepare-ChangeLog:
2455         (method_decl_to_selector): Strip out the return type and parameter types before splitting at
2456         colons.
2457
2458 2014-06-26  Brady Eidson  <beidson@apple.com>
2459
2460         MiniBrowser should support a preference to override the default URL
2461         https://bugs.webkit.org/show_bug.cgi?id=134373
2462
2463         Reviewed by Darin Adler.
2464
2465         * MiniBrowser/mac/AppDelegate.m:
2466         (-[BrowserAppDelegate applicationDidFinishLaunching:]): See if there’s a pref
2467           overriding the default URL, and use it if there is.
2468
2469 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
2470
2471         [Win] Fix potential buffer overrun in DLLLauncher
2472         https://bugs.webkit.org/show_bug.cgi?id=134351
2473         <rdar://problem/17469185>
2474
2475         Reviewed by Darin Adler.
2476
2477         * win/DLLLauncher/DLLLauncherMain.cpp: Correct error
2478         in end-of-buffer calculation.
2479
2480 2014-06-26  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
2481
2482         [EFL] Missing dependency between freetype6 and fontconfig libs.
2483         https://bugs.webkit.org/show_bug.cgi?id=134190
2484
2485         Reviewed by Gyuyoung Kim.
2486
2487         The external dependencies contain the freetype6 and the fontconfig libs.
2488         The fontconfig lib requires freetype, but the dependency is not set in
2489         the efl/jhbuild.modules file. So, during building the external libs,
2490         fontconfig uses the freetype package of the system, while WebKit
2491         binaries will use freetype from the WebKitBuild/Dependency directory.
2492         There are more similar dependencies that were not indicated in the
2493         jhbuild.modules file.
2494
2495         * efl/jhbuild.modules:
2496           Added dependencies between libs.
2497
2498 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
2499
2500         [Win] Expose Cache Information to WinLauncher
2501         https://bugs.webkit.org/show_bug.cgi?id=134318
2502
2503         Reviewed by Dean Jackson.
2504
2505         * WinLauncher/Common.cpp: Update for new dialog.
2506         * WinLauncher/WinLauncher.cpp: Add support for WebCache
2507         and WebCoreStatistics.
2508         * WinLauncher/WinLauncher.h:
2509         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc:
2510         Update for new Cache Dialog.
2511         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Link to
2512         WTF.lib
2513         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
2514         for new Dialog.
2515
2516 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
2517
2518         [Win] Unreviewed gardening. Use consistent line-endings in file.
2519
2520         * WinLauncher/WinLauncher.h: Use '\n' EOL marker, not DOS-style
2521         '\r\n' EOL.
2522
2523 2014-06-25  László Langó  <llango.u-szeged@partner.samsung.com>
2524
2525         [JavaScriptCore] Make build-jsc output format better.
2526         https://bugs.webkit.org/show_bug.cgi?id=133547
2527
2528         Reviewed by Ryosuke Niwa.
2529
2530         * Scripts/build-jsc: Emit built time information on successful builds.
2531         (writeCongrats):
2532         * Scripts/build-webkit: Move formatBuildTime function into webkitdirs.pm.
2533         (cMakeArgsFromFeatures):
2534         (formatBuildTime): Deleted.
2535         * Scripts/webkitdirs.pm:
2536         (formatBuildTime):
2537
2538 2014-06-25  Chris Fleizach  <cfleizach@apple.com>
2539
2540         Add an undo group for each dictated utterance in WebKit
2541         https://bugs.webkit.org/show_bug.cgi?id=134086
2542
2543         Reviewed by Enrica Casucci.
2544
2545         Create a method for creating attributed strings with the undo insertion marker.
2546
2547         * DumpRenderTree/mac/TextInputController.m:
2548         (+[TextInputController isSelectorExcludedFromWebScript:]):
2549         (+[TextInputController webScriptNameForSelector:]):
2550         (-[TextInputController stringWithUndoGroupingInsertion:]):
2551
2552 2014-06-25  Michael Saboff  <msaboff@apple.com>
2553
2554         Provide javascript aware backtrace script for lldb
2555         https://bugs.webkit.org/show_bug.cgi?id=134276
2556
2557         Reviewed by Jer Noble.
2558
2559         * lldb/lldb_webkit.py:
2560         (__lldb_init_module):
2561         (btjs): New scripted command to display a backtrace that shows JavaScript frames with details.
2562
2563 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2564
2565         REGRESSION (r170426) Broke two python tests
2566         https://bugs.webkit.org/show_bug.cgi?id=134299
2567
2568         Reviewed by Csaba Osztrogonác.
2569
2570         * Scripts/webkitpy/port/efl.py:
2571         (EflPort._search_paths): Added search path for efl-wk2.
2572
2573 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2574
2575         [EFL] Remove WebKit1 related code from scripts
2576         https://bugs.webkit.org/show_bug.cgi?id=134195
2577
2578         Reviewed by Laszlo Gombos.
2579
2580         After removing WebKit1 from EFL port, still there is some code left related to DumpRenderTree, 
2581         EWebLauncher. Also running layout tests does not require adding -2/--webkit-test-runner switch.
2582
2583         * Scripts/run-launcher: MiniBrowser now runs as default without -2 switch.
2584         * Scripts/webkitdirs.pm:
2585         (builtDylibPathForName): Remove reference to libewebkit.so
2586         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2587         (_set_up_derived_options): Script runs WKTR by default.
2588         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2589         (PerfTestsRunner.__init__): Ditto.
2590         * Scripts/webkitpy/port/efl.py:
2591         (EflPort._search_paths): Remove efl-wk2 from baseline search path.
2592         (EflPort.show_results_html_file): Run MiniBrowser as result viewer.
2593
2594 2014-06-25  Laszlo Gombos  <l.gombos@samsung.com>
2595
2596         Remove build guard for progress element
2597         https://bugs.webkit.org/show_bug.cgi?id=134292
2598
2599         Reviewed by Benjamin Poulain.
2600
2601         * Scripts/webkitperl/FeatureList.pm:
2602
2603 2014-06-24  Tomas Popela  <tpopela@redhat.com>
2604
2605         [GTK] Some of DOM bindings macros are misnamed
2606         https://bugs.webkit.org/show_bug.cgi?id=121543
2607
2608         Reviewed by Carlos Garcia Campos.
2609
2610         As we are using WebKitDOM as a namespace we should unify all type macros
2611         to have WEBKIT_DOM_TYPE prefix instead of WEBKIT_TYPE_DOM. Also add
2612         more exceptions to decamelize function in GObject bindings generator
2613         to fix the names of bindings for BR, HR, UL, OL, DL and LI elements.
2614
2615         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
2616         * gtk/webkitdom.py:
2617         (WebKitDOMDocGeneratorSections._dom_class_decamelize):
2618         (WebKitDOMDocGeneratorSections.write_section):
2619
2620 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
2621
2622         [EFL] Install Latin Modern Math on the bots
2623         https://bugs.webkit.org/show_bug.cgi?id=134153
2624
2625         Reviewed by Gyuyoung Kim.
2626
2627         * efl/jhbuild.modules: Switch back to https://github.com/ for the webkitgtk-test-fonts.
2628
2629 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
2630
2631         [EFL] [GTK] Use Latin Modern Math in the jhbuild environments.
2632         https://bugs.webkit.org/show_bug.cgi?id=134153
2633
2634         Reviewed by Martin Robinson.
2635
2636         * efl/jhbuild.modules: Use webkitgtk-test-fonts.git instead of the zip archive and upgrade to 0.0.5.
2637         * gtk/jhbuild.modules: Upgrade webkitgtk-test-fonts to 0.0.5.
2638
2639 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2640
2641         Unreviewed, update my speciality.
2642
2643         * Scripts/webkitpy/common/config/contributors.json:
2644
2645 2014-06-24  Brent Fulgham  <bfulgham@apple.com>
2646
2647         [Win] Clean up and refactor WinLauncher
2648         https://bugs.webkit.org/show_bug.cgi?id=134209
2649
2650         Reviewed by Tim Thorton.
2651
2652         Relanding r170339 and r170340 with correct WinLauncher.h file.
2653
2654         * WinLauncher/Common.cpp: Copied from WinLauncher/WinLauncher.cpp.
2655         (PrintView):
2656         (ToggleMenuItem):
2657         (WndProc):
2658         (BackButtonProc):
2659         (ForwardButtonProc):
2660         (loadURL):
2661         (shouldUseFullDesktop): Deleted.
2662         (SimpleEventListener::SimpleEventListener): Deleted.
2663         (SimpleEventListener::handleEvent): Deleted.
2664         (WinLauncherWebHost::updateAddressBar): Deleted.
2665         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2666         (WinLauncherWebHost::QueryInterface): Deleted.
2667         (WinLauncherWebHost::AddRef): Deleted.
2668         (WinLauncherWebHost::Release): Deleted.
2669         (updateMenuItemForHistoryItem): Deleted.
2670         (showLastVisitedSites): Deleted.
2671         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2672         (resizeSubViews): Deleted.
2673         (setToDefaultPreferences): Deleted.
2674         (wWinMain): Deleted.
2675         (MyRegisterClass): Deleted.
2676         (LaunchInspector): Deleted.
2677         (NavigateForwardOrBackward): Deleted.
2678         (NavigateToHistory): Deleted.
2679         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
2680         (DOMEventListener::Release):
2681         (WebScriptObject::WebScriptObject): Deleted.
2682         (WebScriptObject::~WebScriptObject): Deleted.
2683         (WebScriptObject::throwException): Deleted.
2684         (WebScriptObject::callWebScriptMethod): Deleted.
2685         (WebScriptObject::evaluateWebScript): Deleted.
2686         (WebScriptObject::removeWebScriptKey): Deleted.
2687         (WebScriptObject::stringRepresentation): Deleted.
2688         (WebScriptObject::webScriptValueAtIndex): Deleted.
2689         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
2690         (WebScriptObject::setException): Deleted.
2691         (DOMEventListener::throwException): Deleted.
2692         (DOMEventListener::callWebScriptMethod): Deleted.
2693         (DOMEventListener::evaluateWebScript): Deleted.
2694         (DOMEventListener::removeWebScriptKey): Deleted.
2695         (DOMEventListener::stringRepresentation): Deleted.
2696         (DOMEventListener::webScriptValueAtIndex): Deleted.
2697         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
2698         (DOMEventListener::setException): Deleted.
2699         (DOMEventListener::handleEvent): Deleted.
2700         * WinLauncher/DOMDefaultImpl.h:
2701         (WebScriptObject::QueryInterface): Deleted.
2702         (WebScriptObject::AddRef): Deleted.
2703         (WebScriptObject::Release): Deleted.
2704         (DOMObject::QueryInterface): Deleted.
2705         (DOMEventListener::QueryInterface): Deleted.
2706         (DOMEventListener::AddRef): Deleted.
2707         (DOMEventListener::Release): Deleted.
2708         * WinLauncher/WinLauncher.cpp:
2709         (WinLauncher::WinLauncher):
2710         (WinLauncher::init):
2711         (WinLauncher::prepareViews):
2712         (WinLauncher::setFrameLoadDelegate):
2713         (WinLauncher::setUIDelegate):
2714         (WinLauncher::setAccessibilityDelegate):
2715         (WinLauncher::mainFrame):
2716         (WinLauncher::seedInitialDefaultPreferences):
2717         (WinLauncher::setToDefaultPreferences):
2718         (updateMenuItemForHistoryItem):
2719         (WinLauncher::showLastVisitedSites):
2720         (WinLauncher::launchInspector):
2721         (WinLauncher::navigateForwardOrBackward):
2722         (WinLauncher::navigateToHistory):
2723         (WinLauncher::goBack):
2724         (WinLauncher::goForward):
2725         (WinLauncher::loadURL):
2726         (shouldUseFullDesktop): Deleted.
2727         (SimpleEventListener::SimpleEventListener): Deleted.
2728         (SimpleEventListener::handleEvent): Deleted.
2729         (WinLauncherWebHost::updateAddressBar): Deleted.
2730         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2731         (WinLauncherWebHost::QueryInterface): Deleted.
2732         (WinLauncherWebHost::AddRef): Deleted.
2733         (WinLauncherWebHost::Release): Deleted.
2734         (showLastVisitedSites): Deleted.
2735         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2736         (resizeSubViews): Deleted.
2737         (subclassForLayeredWindow): Deleted.
2738         (computeFullDesktopFrame): Deleted.
2739         (DllMain): Deleted.
2740         (getAppDataFolder): Deleted.
2741         (setToDefaultPreferences): Deleted.
2742         (setCacheFolder): Deleted.
2743         (createCrashReport): Deleted.
2744         (wWinMain): Deleted.
2745         (MyRegisterClass): Deleted.
2746         (AbortProc): Deleted.
2747         (getPrinterDC): Deleted.
2748         (initDocStruct): Deleted.
2749         (PrintView): Deleted.
2750         (ToggleMenuItem): Deleted.
2751         (LaunchInspector): Deleted.
2752         (NavigateForwardOrBackward): Deleted.
2753         (NavigateToHistory): Deleted.
2754         (WndProc): Deleted.
2755         (EditProc): Deleted.
2756         (BackButtonProc): Deleted.
2757         (ForwardButtonProc): Deleted.
2758         (About): Deleted.
2759         (loadURL): Deleted.
2760         (dllLauncherEntryPoint): Deleted.
2761         * WinLauncher/WinLauncher.h:
2762         (WinLauncher::standardPreferences):
2763         (WinLauncher::privatePreferences):
2764         (WinLauncher::hasWebView):
2765         (WinLauncher::usesLayeredWebView):
2766         (WinLauncherWebHost::WinLauncherWebHost): Deleted.
2767         (WinLauncherWebHost::didStartProvisionalLoadForFrame): Deleted.
2768         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): Deleted.
2769         (WinLauncherWebHost::didCommitLoadForFrame): Deleted.
2770         (WinLauncherWebHost::didReceiveTitle): Deleted.
2771         (WinLauncherWebHost::didChangeIcons): Deleted.
2772         (WinLauncherWebHost::didReceiveIcon): Deleted.
2773         (WinLauncherWebHost::didFailLoadWithError): Deleted.
2774         (WinLauncherWebHost::didChangeLocationWithinPageForFrame): Deleted.
2775         (WinLauncherWebHost::willPerformClientRedirectToURL): Deleted.
2776         (WinLauncherWebHost::didCancelClientRedirectForFrame): Deleted.
2777         (WinLauncherWebHost::willCloseFrame): Deleted.
2778         (WinLauncherWebHost::windowScriptObjectAvailable): Deleted.
2779         (WinLauncherWebHost::didClearWindowObject): Deleted.
2780         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2781         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
2782         * WinLauncher/WinLauncherReplace.h:
2783         (processCrashReport):
2784         * WinLauncher/WinLauncherWebHost.cpp: Copied from WinLauncher/WinLauncher.cpp.
2785         (WinLauncherWebHost::updateAddressBar):
2786         (WinLauncherWebHost::QueryInterface):
2787         (WinLauncherWebHost::AddRef):
2788         (WinLauncherWebHost::Release):
2789         (WinLauncherWebHost::didFinishLoadForFrame):
2790         (shouldUseFullDesktop): Deleted.
2791         (updateMenuItemForHistoryItem): Deleted.
2792         (showLastVisitedSites): Deleted.
2793         (resizeSubViews): Deleted.
2794         (subclassForLayeredWindow): Deleted.
2795         (computeFullDesktopFrame): Deleted.
2796         (DllMain): Deleted.
2797         (getAppDataFolder): Deleted.
2798         (setToDefaultPreferences): Deleted.
2799         (setCacheFolder): Deleted.
2800         (createCrashReport): Deleted.
2801         (wWinMain): Deleted.
2802         (MyRegisterClass): Deleted.
2803         (AbortProc): Deleted.
2804         (getPrinterDC): Deleted.
2805         (initDocStruct): Deleted.
2806         (PrintView): Deleted.
2807         (ToggleMenuItem): Deleted.
2808         (LaunchInspector): Deleted.
2809         (NavigateForwardOrBackward): Deleted.
2810         (NavigateToHistory): Deleted.
2811         (WndProc): Deleted.
2812         (EditProc): Deleted.
2813         (BackButtonProc): Deleted.
2814         (ForwardButtonProc): Deleted.
2815         (About): Deleted.
2816         (loadURL): Deleted.
2817         (dllLauncherEntryPoint): Deleted.
2818         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
2819         (WinLauncherWebHost::WinLauncherWebHost):
2820         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
2821         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2822         (WinLauncherWebHost::didCommitLoadForFrame):
2823         (WinLauncherWebHost::didReceiveTitle):
2824         (WinLauncherWebHost::didChangeIcons):
2825         (WinLauncherWebHost::didReceiveIcon):
2826         (WinLauncherWebHost::didFailLoadWithError):
2827         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
2828         (WinLauncherWebHost::willPerformClientRedirectToURL):
2829         (WinLauncherWebHost::didCancelClientRedirectForFrame):
2830         (WinLauncherWebHost::willCloseFrame):
2831         (WinLauncherWebHost::windowScriptObjectAvailable):
2832         (WinLauncherWebHost::didClearWindowObject):
2833         * WinLauncher/WinMain.cpp: Copied from WinLauncher/WinLauncher.cpp.
2834         (wWinMain):
2835         (MyRegisterClass):
2836         (shouldUseFullDesktop): Deleted.
2837         (SimpleEventListener::SimpleEventListener): Deleted.
2838         (SimpleEventListener::handleEvent): Deleted.
2839         (WinLauncherWebHost::updateAddressBar): Deleted.
2840         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
2841         (WinLauncherWebHost::QueryInterface): Deleted.
2842         (WinLauncherWebHost::AddRef): Deleted.
2843         (WinLauncherWebHost::Release): Deleted.
2844         (updateMenuItemForHistoryItem): Deleted.
2845         (showLastVisitedSites): Deleted.
2846         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
2847         (resizeSubViews): Deleted.
2848         (subclassForLayeredWindow): Deleted.
2849         (computeFullDesktopFrame): Deleted.
2850         (DllMain): Deleted.
2851         (getAppDataFolder): Deleted.
2852         (setToDefaultPreferences): Deleted.
2853         (setCacheFolder): Deleted.
2854         (createCrashReport): Deleted.
2855         (AbortProc): Deleted.
2856         (getPrinterDC): Deleted.
2857         (initDocStruct): Deleted.
2858         (PrintView): Deleted.
2859         (ToggleMenuItem): Deleted.
2860         (LaunchInspector): Deleted.
2861         (NavigateForwardOrBackward): Deleted.
2862         (NavigateToHistory): Deleted.
2863         (WndProc): Deleted.
2864         (EditProc): Deleted.
2865         (BackButtonProc): Deleted.
2866         (ForwardButtonProc): Deleted.
2867         (About): Deleted.
2868         (loadURL): Deleted.
2869         (dllLauncherEntryPoint): Deleted.
2870
2871 2014-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
2872
2873         [iOS] getsectdata() is deprecated and we use it in DRT
2874         https://bugs.webkit.org/show_bug.cgi?id=134122
2875
2876         Reviewed by Alexey Proskuryakov.
2877
2878         Migrate to using magic linker symbols.
2879
2880         No tests because there should be no behavior change
2881
2882         * DumpRenderTree/mac/DumpRenderTree.mm:
2883         (activateFontsIOS):
2884
2885 2014-06-24  Javier Fernandez  <jfernandez@igalia.com>
2886
2887         Name moving. Unreviewed.
2888
2889         * Scripts/webkitpy/common/config/contributors.json:
2890
2891 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2892
2893         Remove EFL WK1 watch category
2894         https://bugs.webkit.org/show_bug.cgi?id=134231
2895
2896         Reviewed by Csaba Osztrogonác.
2897
2898         * Scripts/webkitpy/common/config/watchlist: Removed EFL WK1 category.
2899
2900 2014-06-24  Krzysztof Czech  <k.czech@samsung.com>
2901
2902         [ATK] Remove some unused code from DumpRenderTree
2903         https://bugs.webkit.org/show_bug.cgi?id=134191
2904
2905         Reviewed by Chris Fleizach.
2906
2907         DumpRenderTree's accessibility code could be removed since GTK and EFL has stopped supporting WK1.
2908
2909         * DumpRenderTree/atk/AccessibilityCallbacks.h: Removed.
2910         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp: Removed.
2911         * DumpRenderTree/atk/AccessibilityControllerAtk.cpp: Removed.
2912         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Removed.
2913         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Removed.
2914         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: Removed.
2915
2916 2014-06-23  Shivakumar JM  <shiva.jm@samsung.com>
2917
2918         [EFL][WK2] Search field is not shown properly on doing ctrl+f on Minibrowser.
2919         https://bugs.webkit.org/show_bug.cgi?id=134025
2920
2921         Reviewed by Gyuyoung Kim.
2922
2923         Use EVAS_HINT_FILL in evas_object_size_hint_align_set() api.
2924
2925         * MiniBrowser/efl/main.c:
2926         (window_create):
2927
2928 2014-06-23  Ryuan Choi  <ryuan.choi@samsung.com>
2929
2930         [EFL] Replace RefPtr<Evas_Object> with UniquePtrEfl
2931         https://bugs.webkit.org/show_bug.cgi?id=134236
2932
2933         Reviewed by Gyuyoung Kim.
2934
2935         * ImageDiff/efl/ImageDiff.cpp:
2936         (calculateDifference):
2937         (printImageDifferences):
2938         (readImageFromStdin):
2939         (main):
2940
2941 2014-06-23  Daniel Bates  <dabates@apple.com>
2942
2943         Rolling out r170340 and r170339.
2944
2945         Changeset r170339 broke the Apple Windows Debug and Release builds.
2946
2947         Reverted changesets:
2948
2949         "[Win] Build fix after r134209"
2950         http://trac.webkit.org/changeset/170340
2951
2952         "[Win] Clean up and refactor WinLauncher"
2953         https://bugs.webkit.org/show_bug.cgi?id=134209
2954         http://trac.webkit.org/changeset/170339
2955
2956 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
2957
2958         [Win] Build fix after r134209
2959
2960         * WinLauncher/WinMain.cpp: Must include the resources file
2961         before Common.cpp.
2962
2963 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
2964
2965         [Win] Clean up and refactor WinLauncher
2966         https://bugs.webkit.org/show_bug.cgi?id=134209
2967
2968         Reviewed by Tim Horton.
2969
2970         Make WinLauncher a class, and move all non-class driver functions
2971         into "Common.cpp" and "WinMain.cpp". These files are distinct
2972         to allow some internal tools to reuse the code in 'Common'.
2973
2974         * WinLauncher/Common.cpp: Added. Consists of code moved from
2975         'WinLauncher.cpp' that can be reused for other tools.
2976         (subclassForLayeredWindow):
2977         (computeFullDesktopFrame):
2978         (DllMain):
2979         (getAppDataFolder):
2980         (setCacheFolder):
2981         (createCrashReport):
2982         (AbortProc):
2983         (getPrinterDC):
2984         (initDocStruct):
2985         (PrintView):
2986         (ToggleMenuItem):
2987         (WndProc):
2988         (EditProc):
2989         (BackButtonProc):
2990         (ForwardButtonProc):
2991         (About):
2992         (loadURL):
2993         (dllLauncherEntryPoint):
2994         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
2995         (DOMEventListener::Release):
2996         (WebScriptObject::WebScriptObject): Deleted.
2997         (WebScriptObject::~WebScriptObject): Deleted.
2998         (WebScriptObject::throwException): Deleted.
2999         (WebScriptObject::callWebScriptMethod): Deleted.
3000         (WebScriptObject::evaluateWebScript): Deleted.
3001         (WebScriptObject::removeWebScriptKey): Deleted.
3002         (WebScriptObject::stringRepresentation): Deleted.
3003         (WebScriptObject::webScriptValueAtIndex): Deleted.
3004         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
3005         (WebScriptObject::setException): Deleted.
3006         (DOMEventListener::throwException): Deleted.
3007         (DOMEventListener::callWebScriptMethod): Deleted.
3008         (DOMEventListener::evaluateWebScript): Deleted.
3009         (DOMEventListener::removeWebScriptKey): Deleted.
3010         (DOMEventListener::stringRepresentation): Deleted.
3011         (DOMEventListener::webScriptValueAtIndex): Deleted.
3012         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
3013         (DOMEventListener::setException): Deleted.
3014         (DOMEventListener::handleEvent): Deleted.
3015         * WinLauncher/DOMDefaultImpl.h:
3016         (WebScriptObject::QueryInterface): Deleted.
3017         (WebScriptObject::AddRef): Deleted.
3018         (WebScriptObject::Release): Deleted.
3019         (DOMObject::QueryInterface): Deleted.
3020         (DOMEventListener::QueryInterface): Deleted.
3021         (DOMEventListener::AddRef): Deleted.
3022         (DOMEventListener::Release): Deleted.
3023         * WinLauncher/WinLauncher.cpp: Converted stand-alone implementation
3024         into a C++ class and removed WinAPI code.
3025         (WinLauncher::WinLauncher):
3026         (WinLauncher::init):
3027         (WinLauncher::prepareViews):
3028         (WinLauncher::setFrameLoadDelegate):
3029         (WinLauncher::setUIDelegate):
3030         (WinLauncher::setAccessibilityDelegate):
3031         (WinLauncher::mainFrame):
3032         (WinLauncher::seedInitialDefaultPreferences):
3033         (WinLauncher::setToDefaultPreferences):
3034         (updateMenuItemForHistoryItem):
3035         (WinLauncher::showLastVisitedSites):
3036         (WinLauncher::launchInspector):
3037         (WinLauncher::navigateForwardOrBackward):
3038         (WinLauncher::navigateToHistory):
3039         (WinLauncher::goBack):
3040         (WinLauncher::goForward):
3041         (WinLauncher::loadURL):
3042         (shouldUseFullDesktop): Deleted.
3043         (SimpleEventListener::SimpleEventListener): Deleted.
3044         (SimpleEventListener::handleEvent): Deleted.
3045         (WinLauncherWebHost::updateAddressBar): Deleted.
3046         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
3047         (WinLauncherWebHost::QueryInterface): Deleted.
3048         (WinLauncherWebHost::AddRef): Deleted.
3049         (WinLauncherWebHost::Release): Deleted.
3050         (showLastVisitedSites): Deleted.
3051         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
3052         (resizeSubViews): Deleted.
3053         (subclassForLayeredWindow): Deleted.
3054         (computeFullDesktopFrame): Deleted.
3055         (DllMain): Deleted.
3056         (getAppDataFolder): Deleted.
3057         (setToDefaultPreferences): Deleted.
3058         (setCacheFolder): Deleted.
3059         (createCrashReport): Deleted.
3060         (wWinMain): Deleted.
3061         (MyRegisterClass): Deleted.
3062         (AbortProc): Deleted.
3063         (getPrinterDC): Deleted.
3064         (initDocStruct): Deleted.
3065         (PrintView): Deleted.
3066         (ToggleMenuItem): Deleted.
3067         (LaunchInspector): Deleted.
3068         (NavigateForwardOrBackward): Deleted.
3069         (NavigateToHistory): Deleted.
3070         (WndProc): Deleted.
3071         (EditProc): Deleted.
3072         (BackButtonProc): Deleted.
3073         (ForwardButtonProc): Deleted.
3074         (About): Deleted.
3075         (loadURL): Deleted.
3076         (dllLauncherEntryPoint): Deleted.
3077         * WinLauncher/WinLauncher.h: Removed.
3078         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3079         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3080         * WinLauncher/WinLauncherReplace.h:
3081         (processCrashReport):
3082         * WinLauncher/WinLauncherWebHost.cpp: Added.
3083         (SimpleEventListener::SimpleEventListener):
3084         (SimpleEventListener::handleEvent):
3085         (WinLauncherWebHost::updateAddressBar):
3086         (WinLauncherWebHost::didFailProvisionalLoadWithError):
3087         (WinLauncherWebHost::QueryInterface):
3088         (WinLauncherWebHost::AddRef):
3089         (WinLauncherWebHost::Release):
3090         (WinLauncherWebHost::didFinishLoadForFrame):
3091         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
3092         Moved WinLauncherWebHost implementation from WinLauncher.cpp into
3093         its own set of files.
3094         (WinLauncherWebHost::WinLauncherWebHost):
3095         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
3096         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
3097         (WinLauncherWebHost::didCommitLoadForFrame):
3098         (WinLauncherWebHost::didReceiveTitle):
3099         (WinLauncherWebHost::didChangeIcons):
3100         (WinLauncherWebHost::didReceiveIcon):
3101         (WinLauncherWebHost::didFailLoadWithError):
3102         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
3103         (WinLauncherWebHost::willPerformClientRedirectToURL):
3104         (WinLauncherWebHost::didCancelClientRedirectForFrame):
3105         (WinLauncherWebHost::willCloseFrame):
3106         (WinLauncherWebHost::windowScriptObjectAvailable):
3107         (WinLauncherWebHost::didClearWindowObject):
3108         * WinLauncher/WinMain.cpp: Added. This consists of code from
3109         WinLauncher that is unique to the WinLauncher utility, and is
3110         not part of the WinLauncher class.
3111         (wWinMain):
3112         (MyRegisterClass):
3113
3114 2014-06-23  Simon Fraser  <simon.fraser@apple.com>
3115
3116         Enable the Web Inspector in MiniBrowser
3117         https://bugs.webkit.org/show_bug.cgi?id=134148
3118
3119         Reviewed by Joseph Pecoraro.
3120         
3121         Set the pref to enable Web Inspector in both WK1 and WK2 windows.
3122
3123         * MiniBrowser/mac/AppDelegate.m:
3124         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
3125
3126 2014-06-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3127
3128         Disable gamepad feature on EFL and GTK ports by default
3129         https://bugs.webkit.org/show_bug.cgi?id=134169
3130
3131         Reviewed by Brady Eidson.
3132
3133         EFL and GTK ports disabled Gamepad feature now. Besides current implementation
3134         was treated to 'deprecated' status.
3135
3136         ENABLE_GAMEPAD_DEPRECATED is disabled for now. There is build break on EFL port.
3137
3138         * Scripts/webkitperl/FeatureList.pm:
3139
3140 2014-06-21  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
3141
3142         [Inspector][EFL] Can't resume a special break point on EFL inspector
3143         https://bugs.webkit.org/show_bug.cgi?id=129294
3144
3145         Reviewed by Gyuyoung Kim.
3146
3147         Patch our EFL 1.9 with the fix landed in upstream EFL 1.10
3148         by Ryuan Choi - <https://phab.enlightenment.org/D790>
3149
3150         * efl/jhbuild.modules:
3151         * efl/patches/ecore.patch: Added.
3152
3153 2014-06-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3154
3155         Removing PAGE_VISIBILITY_API compile guard.
3156         https://bugs.webkit.org/show_bug.cgi?id=133844
3157
3158         Reviewed by Gavin Barraclough.
3159
3160         * Scripts/webkitperl/FeatureList.pm:
3161
3162 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
3163
3164         [EFL] Remove DumpRenderTree/efl and EWebLauncher
3165         https://bugs.webkit.org/show_bug.cgi?id=134138
3166
3167         Reviewed by Gyuyoung Kim.
3168
3169         DumpRenderTree/efl and EWebLauncher are not necessary anymore because WebKit1 EFL will be removed.
3170
3171         * CMakeLists.txt:
3172         * DumpRenderTree/PlatformEfl.cmake: Removed.
3173         * DumpRenderTree/efl: Removed entire directory.
3174         * EWebLauncher: Ditto.
3175         * WebKitTestRunner/InjectedBundle/efl/FontManagement.cpp: Renamed from Tools/DumpRenderTree/efl/FontManagement.cpp.
3176         (buildPath):
3177         (getCoreFontFiles):
3178         (addFontDirectory):
3179         (addFontFiles):
3180         (getCustomBuildDir):
3181         (getPlatformFontsPath):
3182         (addFontsToEnvironment):
3183         * WebKitTestRunner/InjectedBundle/efl/FontManagement.h: Renamed from Tools/DumpRenderTree/efl/FontManagement.h.
3184         * WebKitTestRunner/PlatformEfl.cmake:
3185
3186 2014-06-20  Zalan Bujtas  <zalan@apple.com>
3187
3188         Name moving. Unreviewed.
3189
3190         * Scripts/webkitpy/common/config/contributors.json:
3191
3192 2014-06-20  Javier Fernandez  <jfernandez@igalia.com>
3193
3194         Unreviewed. Adding myself to committers.
3195
3196         * Scripts/webkitpy/common/config/contributors.json:
3197
3198 2014-06-20  Yusuke Suzuki  <utatane.tea@gmail.com>
3199
3200         Unreviewed. Adding myself to committers.
3201
3202         * Scripts/webkitpy/common/config/contributors.json:
3203
3204 2014-06-20  Tim Horton  <timothy_horton@apple.com>
3205
3206         Make WebKit2 more accessible in MiniBrowser
3207         https://bugs.webkit.org/show_bug.cgi?id=134099
3208
3209         Reviewed by Anders Carlsson.
3210
3211         * MiniBrowser/mac/AppDelegate.h:
3212         * MiniBrowser/mac/AppDelegate.m:
3213         (-[BrowserAppDelegate newWindow:]):
3214         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
3215         (-[BrowserAppDelegate toggleUseWebKit2ByDefault:]):
3216         (-[BrowserAppDelegate _useWebKit2ByDefault]):
3217         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
3218         (-[BrowserAppDelegate validateMenuItem:]):
3219         * MiniBrowser/mac/MainMenu.xib:
3220         Add a "Use WebKit2 By Default" menu item to the top of the Debug menu.
3221         When switched on, Cmd-N will make WebKit2 windows (and the default window will be WebKit2).
3222         Make the non-default new-window menu item always show up, because people often don't find it
3223         when you have to press option to have it show up.
3224
3225         * MiniBrowser/mac/BrowserWindowController.h:
3226         * MiniBrowser/mac/BrowserWindowController.m:
3227         (-[BrowserWindowController initWithWindow:]):
3228         
3229         * MiniBrowser/mac/WK1BrowserWindowController.m:
3230         (-[WK1BrowserWindowController validateMenuItem:]):
3231         * MiniBrowser/mac/WK2BrowserWindowController.m:
3232         (-[WK2BrowserWindowController validateMenuItem:]):
3233         Use the cached [menuItem action] like the earlier cases do.
3234
3235 2014-06-20  Daniel Bates  <dabates@apple.com>
3236
3237         Teach run-{safari, webkit-app} about iOS Simulator
3238         https://bugs.webkit.org/show_bug.cgi?id=133986
3239
3240         Reviewed by David Kilzer.
3241
3242         Extract the logic from old-run-webkit-tests to install and launch {DumpRenderTree, WebKitTestRunnerApp}.app
3243         into general-purpose routines in webkitdirs.pm so that they can be used both by script old-run-webkit-tests
3244         and run-safari.
3245
3246         * Scripts/old-run-webkit-tests:
3247         (installAndLaunchDumpToolAppUsingNotification): Extracted logic to install and launch {DumpRenderTree,
3248         WebKitTestRunnerApp}.app into webkitdirs::installAndLaunchIOSWebKitAppInSimulator() and modified code
3249         to call it.
3250         (openIPhoneSimulator): Deleted; moved logic to webkitdirs::openIOSSimulator().
3251         (quitIPhoneSimulator): Deleted; moved logic to webkitdirs::quitIOSSimulator().
3252         * Scripts/run-webkit-app: Modified to call runIOSWebKitApp() when the iOS simulator SDK is used
3253         (say, by specifying the optional command-line argument --simulator). For now, die() with an error
3254         when the iOS device SDK is used as we don't support launching an app on the device at this time.
3255         * Scripts/webkitdirs.pm:
3256         (xcodeSDKVersion): Added.
3257         (setupIOSWebKitEnvironment): Added.
3258         (installedMobileSafariBundle): Added.
3259         (mobileSafariBundle): Added.
3260         (plistPathFromBundle): Added.
3261         (appIdentiferFromBundle): Added.
3262         (appDisplayNameFromBundle): Added.
3263         (loadIPhoneSimulatorNotificationIfNeeded): Added.
3264         (openIOSSimulator): Added.
3265         (quitIOSSimulator): Added.
3266         (iosSimulatorDeviceByName): Added.
3267         (iosSimulatorRuntime): Added.
3268         (findOrCreateSimulatorForIOSDevice): Added.
3269         (runIOSWebKitAppInSimulator): Added.
3270         (installAndLaunchIOSWebKitAppInSimulator): Added.
3271         (runIOSWebKitApp): Added.
3272         (runSafari): Modified to call runIOSWebKitAppInSimulator() the iOS simulator SDK is used. For now,
3273         die() with an error when the iOS device SDK is used as we don't support launching Safari on the
3274         device at this time.
3275
3276 2014-06-19  Anders Carlsson  <andersca@apple.com>
3277
3278         Add WTF::Optional class
3279         https://bugs.webkit.org/show_bug.cgi?id=134083
3280
3281         Reviewed by Andreas Kling.
3282
3283         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3284         * TestWebKitAPI/Tests/WTF/Optional.cpp: Added.
3285         (TestWebKitAPI::TEST):
3286
3287 2014-06-20  Ion Rosca  <rosca@adobe.com>
3288
3289         Unreviewed. Adding myself to Committers list.
3290
3291         * Scripts/webkitpy/common/config/contributors.json:
3292
3293 2014-06-20  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3294
3295         [EFL] Add gstreamer as dependecy of EFL after r169785
3296         https://bugs.webkit.org/show_bug.cgi?id=134066
3297
3298         Reviewed by Gyuyoung Kim.
3299
3300         * efl/jhbuild.modules:
3301
3302 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
3303
3304         [EFL] Merge url_utils.c to MiniBrowser
3305         https://bugs.webkit.org/show_bug.cgi?id=134095
3306
3307         Reviewed by Csaba Osztrogonác.
3308
3309         url_utils.c is simple code to share between EWebLauncher and MiniBrowser.
3310         This patch removes the dependency of url_utils.c from MiniBrowser to drop WebKit1 EFL port.
3311
3312         * MiniBrowser/efl/CMakeLists.txt:
3313         Remove the EWebLauncher/ from the includes and url_utils.h from the source lists.
3314         * MiniBrowser/efl/main.c:
3315         (has_scheme): Copied from url_utils.c
3316         (url_from_user_input): Ditto.
3317
3318 2014-06-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3319
3320         Fix webkitpy tests after EFL WK1 buildbot and EWS removal - r170172.
3321
3322         Reviewed by Csaba Osztrogonác.
3323
3324         * Scripts/webkitpy/common/config/ports_unittest.py:
3325         (DeprecatedPortTest.test_gtk_wk2_port):
3326         (DeprecatedPortTest.test_efl_port): Deleted.
3327         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
3328         (TestExpectationsTestCase.test_determine_port_from_expectations_path):
3329         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3330         (TestRebaselineExpectations.test_rebaseline_expectations):
3331
3332 2014-06-19  Ryuan Choi  <ryuan.choi@samsung.com>
3333
3334         [EFL][CMAKE] Disable WebKit1 build as a default
3335         https://bugs.webkit.org/show_bug.cgi?id=134093
3336
3337         Reviewed by Gyuyoung Kim.
3338
3339         * CMakeLists.txt:
3340
3341 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3342
3343         [GTK] webkit_dom_document_create_tree_walker impossible to use due to WebKitDOMNodeFilter
3344         https://bugs.webkit.org/show_bug.cgi?id=93002
3345
3346         Reviewed by Gustavo Noronha Silva.
3347
3348         Add unit tests to check WebKitDOMNodefilter API used from both
3349         TreeWalker and NodeIterator.
3350
3351         * Scripts/webkitpy/style/checker.py: Add exceptions for GTK+
3352         public headers and add WebKitDOMNodeFilter to the list of exceptions.
3353         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
3354         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp: Added.
3355         (webkitNodeFilterAcceptNode):
3356         (webkitNodeFilterDOMNodeFilterIfaceInit):
3357         (webkit_node_filter_init):
3358         (webkit_node_filter_class_init):
3359         (WebKitDOMNodeFilterTest::create):
3360         (WebKitDOMNodeFilterTest::webPageFromArgs):
3361         (WebKitDOMNodeFilterTest::testTreeWalker):
3362         (WebKitDOMNodeFilterTest::testNodeIterator):
3363         (WebKitDOMNodeFilterTest::runTest):
3364         (registerTests):
3365         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp: Added.
3366         (runTest):
3367         (testWebKitDOMNodeFilterTreeWalker):
3368         (testWebKitDOMNodeFilterNodeIterator):
3369         (beforeAll):
3370         (afterAll):
3371         * gtk/webkitdom.py:
3372         (WebKitDOMDocGeneratorSections.__init__):
3373         (WebKitDOMDocGeneratorSections._symbol_list):
3374         (WebKitDOMDocGeneratorSections.write_section):
3375
3376 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3377
3378         [GTK] Limit the amount of API exposed to GObject DOM bindings API
3379         https://bugs.webkit.org/show_bug.cgi?id=133726
3380
3381         Reviewed by Gustavo Noronha Silva.
3382
3383         Don't make fatal finding files without a .symbols file, since now
3384         only the stable DOM API has .symbols files.
3385
3386         * gtk/webkitdom.py:
3387         (get_all_webkitdom_symbol_files):
3388
3389 2014-06-19  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3390
3391         Remove efl wk1 buildbot and ews
3392         https://bugs.webkit.org/show_bug.cgi?id=134089
3393
3394         Reviewed by Benjamin Poulain.
3395
3396         EFL WK1 is not supported anymore. Removed all bots for EFL WK1 bots.
3397
3398         * BuildSlaveSupport/build.webkit.org-config/config.json:
3399         * QueueStatusServer/config/queues.py:
3400         * Scripts/webkitpy/common/config/ews.json:
3401         * Scripts/webkitpy/common/config/ports.py:
3402         (DeprecatedPort.port):
3403         (QtWK2Port.run_webkit_tests_command):
3404         (EflPort): Deleted.
3405         (EflPort.build_webkit_command): Deleted.
3406         * Scripts/webkitpy/port/builders.py:
3407         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3408         * TestResultServer/static-dashboards/loader_unittests.js:
3409
3410 2014-06-19  David Kilzer  <ddkilzer@apple.com>
3411
3412         check-webkit-style does not understand Obj-C literal syntax for NSDictionary
3413         <http://webkit.org/b/134061>
3414
3415         Reviewed by Dan Bernstein.
3416
3417         * Scripts/webkitpy/style/checkers/cpp.py:
3418         (check_spacing): Ignore '@' immediately before '{'.
3419         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3420         (CppStyleTest.test_spacing_before_braces): Add unit test for
3421         '^{' block syntax and '@{' Objective-C liternal NSDitionary
3422         syntax.
3423
3424 2014-06-18  Tim Horton  <timothy_horton@apple.com>
3425
3426         All of MiniBrowser's WKWebViews should share a configuration
3427         https://bugs.webkit.org/show_bug.cgi?id=134017
3428
3429         Reviewed by Anders Carlsson.
3430
3431         * MiniBrowser/mac/WK2BrowserWindowController.m:
3432         (-[WK2BrowserWindowController awakeFromNib]):
3433         Share a single WKWebViewConfiguration between all of MiniBrowser's views.
3434         This means that they'll share things like preferences, visited links, etc.
3435         It also means that we'll properly share processes once we hit the process limit.
3436
3437 2014-06-18  Zan Dobersek  <zdobersek@igalia.com>
3438
3439         [GTK] Bump the GLib and GTK+ dependencies in jhbuild-wayland.modules
3440         https://bugs.webkit.org/show_bug.cgi?id=133971
3441
3442         Reviewed by Martin Robinson.
3443
3444         * gtk/jhbuild-wayland.modules: Bump the GTK+ dependency that's required for
3445         building for the Wayland target. The latest 3.12 version is required to match
3446         the xdg_shell protocol version used in Weston 1.5. GLib dependency is bumped
3447         as well due to GTK+ depending on a newer version.
3448
3449 2014-06-17  Ryuan Choi  <ryuan.choi@samsung.com>
3450
3451         [EFL] Turn on NOSNIFF in FeatureList.pm
3452         https://bugs.webkit.org/show_bug.cgi?id=134010
3453
3454         Reviewed by Csaba Osztrogonác.
3455
3456         r164848 enabled NOSNIFF feature for EFL port but missed to change FeatureList.pm.
3457
3458         * Scripts/webkitperl/FeatureList.pm: Turn on NOSNIFF for the EFL port.
3459
3460 2014-06-17  Tim Horton  <timothy_horton@apple.com>
3461
3462         MiniBrowser should show Web Content process pids in the window title
3463         https://bugs.webkit.org/show_bug.cgi?id=134016
3464
3465         Reviewed by Sam Weinig.
3466
3467         * MiniBrowser/mac/WK2BrowserWindowController.m:
3468         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
3469
3470 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3471
3472         [GTK] Fix the handling of resize events after r169505.
3473         https://bugs.webkit.org/show_bug.cgi?id=133517
3474
3475         Reviewed by Martin Robinson.
3476
3477         * Scripts/webkitpy/port/xvfbdriver.py:
3478         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
3479         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
3480         need at least 900x640 pixels to pass.
3481         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
3482         (XvfbDriverTest.test_start_no_pixel_tests): Update resolution.
3483         (XvfbDriverTest.test_start_pixel_tests): Update resolution.
3484         (XvfbDriverTest.test_start_arbitrary_worker_number): Update resolution.
3485         (XvfbDriverTest.test_start_next_worker): Update resolution.
3486         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3487         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
3488         be requested over the main widget instead of the window.
3489         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
3490         the Mac port.
3491         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
3492         (WTR::PlatformWebView::setWindowFrame): Set the size and position
3493         of the Window and the web view.
3494
3495 2014-06-17  Matthew Mirman <mmirman@apple.com>
3496
3497         Unreviewed. Added myself to list of contributors.
3498
3499         * Scripts/webkitpy/common/config/contributors.json: Added myself.
3500
3501 2014-06-17  Commit Queue  <commit-queue@webkit.org>
3502
3503         Unreviewed, rolling out r170058.
3504         https://bugs.webkit.org/show_bug.cgi?id=133993
3505
3506         Caused 4 webkitpy failures on the bots (Requested by bradee-oh
3507         on #webkit).
3508
3509         Reverted changeset:
3510
3511         "[GTK] Fix the handling of resize events after r169505."
3512         https://bugs.webkit.org/show_bug.cgi?id=133517
3513         http://trac.webkit.org/changeset/170058
3514
3515 2014-06-17  Rebecca Hauck  <rhauck@adobe.com>
3516
3517         Update import-w3c-tests to reflect current W3C test repo directory structure
3518         https://bugs.webkit.org/show_bug.cgi?id=133460
3519
3520         Reviewed by Bem Jones-Bey.
3521
3522         Removed all references to test status, which are no longer reflected in the
3523         directory names in the W3C CSS test repo.  No tests are required for this 
3524         change, the existing tests pass.
3525
3526         * Scripts/webkitpy/w3c/test_importer.py:
3527         (main):
3528         (TestImporter.__init__):
3529         (TestImporter.find_importable_tests):
3530         (TestImporter.setup_destination_directory):
3531         (TestImporter.write_import_log):
3532         (TestImporter.update_test_status): Deleted.
3533
3534 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3535
3536         [GTK] Fix the handling of resize events after r169505.
3537         https://bugs.webkit.org/show_bug.cgi?id=133517
3538
3539         Reviewed by Martin Robinson.
3540
3541         * Scripts/webkitpy/port/xvfbdriver.py:
3542         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
3543         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
3544         need at least 900x640 pixels to pass.
3545         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3546         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
3547         be requested over the main widget instead of the window.
3548         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
3549         the Mac port.
3550         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
3551         (WTR::PlatformWebView::setWindowFrame): Set the size and position
3552         of the Window and the web view.
3553
3554 2014-06-17  Dan Bernstein  <mitz@apple.com>
3555
3556         String::isolatedCopy doesn’t return an isolated copy when used on an rvalue reference
3557         https://bugs.webkit.org/show_bug.cgi?id=133968
3558
3559         Reviewed by Anders Carlsson.
3560
3561         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3562         (TestWebKitAPI::TEST): Added a test that an isolated copy of an rvalue reference doesn’t
3563         share an impl() with the original.
3564
3565 2014-06-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3566
3567         [EFL][WK2] Skip failing EFL API tests
3568         https://bugs.webkit.org/show_bug.cgi?id=133981
3569
3570         Reviewed by Csaba Osztrogonác.
3571
3572         UserMessage, WillLoad and test_ewk2_view have been failed since r169784.
3573
3574         * TestWebKitAPI/PlatformEfl.cmake:
3575
3576 2014-06-16  Ryuan Choi  <ryuan.choi@samsung.com>
3577
3578         [EFL][WK2] Remove workaround for icon display bug in MiniBrowser
3579         https://bugs.webkit.org/show_bug.cgi?id=133962
3580
3581         Reviewed by Gyuyoung Kim.
3582
3583         Since we bumped EFL to 1.9, this workaround is unnecessary.
3584
3585         * MiniBrowser/efl/main.c:
3586         (update_view_favicon):
3587
3588 2014-06-16  Gwang Yoon Hwang  <yoon@igalia.com>
3589
3590         [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests
3591         https://bugs.webkit.org/show_bug.cgi?id=131472
3592
3593         Reviewed by Martin Robinson.
3594
3595         This patch reapplies r167510 with fixes to add llvm as a dependency for llvmpipe.
3596
3597         * Scripts/webkitpy/port/xvfbdriver.py:
3598         (XvfbDriver._start): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH
3599         when running WebKitTestRunner with the Xvfb driver.
3600         * gtk/install-dependencies: Add LLVM as a dependency to build llvmpipe.
3601         * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not
3602         installed.
3603         * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows
3604         how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to
3605         calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great
3606         deal.
3607
3608 2014-06-16  Tanay C  <tanay.c@samsung.com>
3609
3610         Remove deprecated API warnings in WebKit/Tools/MiniBrowser/efl/main.c
3611         https://bugs.webkit.org/show_bug.cgi?id=133792
3612
3613         Reviewed by Gyuyoung Kim.
3614
3615         * MiniBrowser/efl/main.c: replaced the deprecated API's with the latest ones
3616         (show_file_entry_dialog):
3617         (window_create):
3618
3619 2014-06-16  Mario Sanchez Prada  <mario.prada@samsung.com>
3620
3621         [ATK] Missing 'selection-changed' signal when navigating a combo box with keyboard
3622         https://bugs.webkit.org/show_bug.cgi?id=133512
3623
3624         Reviewed by Chris Fleizach.
3625
3626         Added support for connecting to AtkSelection's 'selection-changed'
3627         signal, and print it out as AXSelectedChildrenChanged in the tests.
3628
3629         Also removed some dead code, that became useless after r169487.
3630
3631         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3632         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Updated.
3633
3634 2014-06-15  Ryuan Choi  <ryuan.choi@samsung.com>
3635
3636         [EFL][WK2] Change ewk_view_settings_get to ewk_page_group_settings_get
3637         https://bugs.webkit.org/show_bug.cgi?id=133841
3638
3639         Reviewed by Gyuyoung Kim.
3640
3641         * MiniBrowser/efl/main.c:
3642         (window_create):
3643
3644 2014-06-15  Dan Bernstein  <mitz@apple.com>
3645
3646         Set the svn:ignore property on an Xcode project to ignore user and workspace data.
3647
3648         * jsc-cli/jsc-cli.xcodeproj: Added property svn:ignore.
3649
3650 2014-06-15  Anders Carlsson  <andersca@apple.com>
3651
3652         Fix build.
3653
3654         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
3655         (callRunJavaScriptBlockAndRelease):
3656         (runJavaScriptInMainFrame):
3657         (TEST_F):
3658
3659 2014-06-13  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3660
3661         Create MSE and EME watchlist
3662         https://bugs.webkit.org/show_bug.cgi?id=133810
3663
3664         Reviewed by Eric Carlson.
3665
3666         * Scripts/webkitpy/common/config/watchlist: Create MSEEME
3667         definition and add Eric Carlson and myself to it.
3668
3669 2014-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
3670
3671         [GTK] Remove all deprecated API from GObject DOM bindings
3672         https://bugs.webkit.org/show_bug.cgi?id=133728
3673
3674         Reviewed by Martin Robinson.
3675
3676         * gtk/webkitdom.py:
3677         (WebKitDOMDocGenerator): Remove all deleted classes from the list.