1 2011-01-19 James Robinson <jamesr@chromium.org>
3 Unreviewed, rolling out r76194.
4 http://trac.webkit.org/changeset/76194
5 https://bugs.webkit.org/show_bug.cgi?id=51218
7 Caused mysterious compile failure on the chromium win
10 * DumpRenderTree/chromium/WebViewHost.cpp:
11 (WebViewHost::paintInvalidatedRegion):
12 * DumpRenderTree/chromium/WebViewHost.h:
14 2011-01-19 Dirk Pranke <dpranke@chromium.org>
16 Reviewed by Mihai Parparita.
18 remove fs refs from test_runner, dump_render_tree_thread
20 https://bugs.webkit.org/show_bug.cgi?id=52753
22 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
23 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
24 * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
25 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
27 2011-01-19 James Robinson <jamesr@chromium.org>
29 Reviewed by Darin Fisher.
31 Implement mozilla's requestAnimationFrame API
32 https://bugs.webkit.org/show_bug.cgi?id=51218
34 Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
36 * DumpRenderTree/chromium/WebViewHost.cpp:
37 (invokeScheduleComposite):
38 (WebViewHost::scheduleAnimation):
39 (WebViewHost::paintInvalidatedRegion):
40 * DumpRenderTree/chromium/WebViewHost.h:
42 2011-01-19 Dirk Pranke <dpranke@chromium.org>
44 Unreviewed, build fix.
46 Fix a few incorrect "self._filesystem" references introduced in
49 * Scripts/webkitpy/layout_tests/port/chromium.py:
50 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
52 2011-01-19 Dirk Pranke <dpranke@chromium.org>
54 Reviewed by Mihai Parparita.
56 add a .sep property, abspath(), isabs(), mtime(), and
57 open_text_file_for_writing() to filesystem modules. Some of
58 these properties are not needed in this patch but will be needed
59 in subsequent patches (I'm doing this to avoid having to track
60 multiple versions of a single file).
62 Also, change most of the port/* modules to use the filesystem
63 objects instead of referencing the filesystem directly.
65 https://bugs.webkit.org/show_bug.cgi?id=52748
67 * Scripts/webkitpy/common/system/filesystem.py:
68 * Scripts/webkitpy/common/system/filesystem_mock.py:
69 * Scripts/webkitpy/layout_tests/port/__init__.py:
70 * Scripts/webkitpy/layout_tests/port/base.py:
71 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
72 * Scripts/webkitpy/layout_tests/port/chromium.py:
73 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
74 * Scripts/webkitpy/layout_tests/port/config.py:
75 * Scripts/webkitpy/layout_tests/port/test.py:
76 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
78 2011-01-19 Maciej Stachowiak <mjs@apple.com>
80 Reviewed by Anders Carlsson.
82 If resetting between tests times out, treat it as a WebProcess crash
83 https://bugs.webkit.org/show_bug.cgi?id=52757
85 * WebKitTestRunner/TestController.cpp:
86 (WTR::TestController::runTest):
88 2011-01-19 Alexey Proskuryakov <ap@apple.com>
90 Reviewed by Darin Adler.
92 https://bugs.webkit.org/show_bug.cgi?id=52739
93 Make it possible for a WebKit2 client to print headers and footers
95 Added dummy implementations for new printing UIClient calls.
97 * MiniBrowser/mac/BrowserWindowController.m:
98 (-[BrowserWindowController awakeFromNib]):
99 * WebKitTestRunner/TestController.cpp:
100 (WTR::createOtherPage):
101 (WTR::TestController::initialize):
103 2011-01-19 Dirk Pranke <dpranke@chromium.org>
105 Reviewed by Ojan Vafai.
107 Change webkitpy/layout_tests/port/test.py to use the
108 in-memory filesystem for cleaner unit testing. This
109 change allows us to kill a lot of code that was
110 specific to the test port, at the cost of being a
111 little less clear about how things would work if
112 you didn't have a filesystem.
114 https://bugs.webkit.org/show_bug.cgi?id=52605
116 * Scripts/webkitpy/layout_tests/port/test.py:
118 2011-01-19 Dirk Pranke <dpranke@chromium.org>
120 Unreviewed, build fix.
122 Fix test failure caused by committing attachment 79368 instead
123 of attachment 79461 on bug 52604.
125 * Scripts/webkitpy/common/system/filesystem_mock.py:
127 2011-01-19 Dirk Pranke <dpranke@chromium.org>
129 Reviewed by Mihai Parparita.
131 new-run-webkit-tests: remove use of os.walk, use mock filesystem for better
132 unit testing. os.walk() is too much of a hassle to implement on
133 top of the in-memory mock filesystem and adding the necessary
134 interface to files_under() gives clients a cleaner API anyway
135 (for this particular usage model).
137 https://bugs.webkit.org/show_bug.cgi?id=52691
139 * Scripts/webkitpy/common/system/filesystem.py:
140 * Scripts/webkitpy/common/system/filesystem_mock.py:
141 * Scripts/webkitpy/layout_tests/port/test_files.py:
142 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
144 2011-01-19 Dirk Pranke <dpranke@chromium.org>
146 Reviewed by Tony Chang.
148 Change more modules in the layout-tests code to use the
149 filesystem wrapper for cleaner unit testing.
151 This patch also adds the glob() wrapper to the filesystem
154 https://bugs.webkit.org/show_bug.cgi?id=52604
156 * Scripts/webkitpy/layout_tests/port/test_files.py:
157 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
158 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
159 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
160 * Scripts/webkitpy/common/system/filesystem.py:
161 * Scripts/webkitpy/common/system/filesystem_mock.py:
163 2011-01-19 Levi Weintraub <leviw@chromium.org>
167 Updating my email addresses and irc nick.
169 * Scripts/webkitpy/common/config/committers.py:
171 2011-01-19 Tony Chang <tony@chromium.org>
173 Reviewed by Mihai Parparita.
175 [chromium] [linux] if check-sys-deps fails, output the failure reason
176 https://bugs.webkit.org/show_bug.cgi?id=52671
178 * Scripts/webkitpy/common/system/executive_mock.py: Add support for
179 error handler functions.
180 * Scripts/webkitpy/layout_tests/port/chromium.py:
181 output the error text from --check-sys-deps
182 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
184 2011-01-19 Aparna Nandyal <aparna.nand@wipro.com>
186 Reviewed by Andreas Kling.
188 [Qt] QtTestBrowser crashes when closing if Facebook is opened
189 https://bugs.webkit.org/show_bug.cgi?id=52554
191 QtNetworkAccessManager is created in a thread and set as
192 member variable in QWebPage. When the thread is destroyed
193 the object is still used. So fix will set the object to
194 NULL once the thread is destroyed.
196 * QtTestBrowser/launcherwindow.cpp:
197 (LauncherWindow::~LauncherWindow):
199 2011-01-18 Maciej Stachowiak <mjs@apple.com>
201 Rubber stamped by Csaba Osztrogonac
203 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Removed unncessary inculde of WKStringCF.h
205 2011-01-18 Dirk Pranke <dpranke@chromium.org>
207 Reviewed by Tony Chang.
209 new-run-webkit-tests: add a --build-directory command line argument
211 Official Google Chrome builds use a non-standard build directory
212 location. This patch adds a --build-directory argument that
213 allows that location to be specified on the command line. Only
214 Chromium-based builds will use this flag for now, but anyone can
217 There are no unit tests for this since it's difficult to test
218 until mock filesystems are fully supported in the code. This was
219 tested by hand for now.
221 https://bugs.webkit.org/show_bug.cgi?id=52694
223 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
224 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
225 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
226 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
228 2011-01-18 Maciej Stachowiak <mjs@apple.com>
230 Not reviewed. Bot fix.
232 Remove an inadvertently committed debugging print.
234 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
235 (LayoutTestController::notifyDone):
237 2011-01-18 Maciej Stachowiak <mjs@apple.com>
239 Reviewed by Sam Weinig.
241 WebKitTestRunner should track loading more like DumpRenderTree
242 https://bugs.webkit.org/show_bug.cgi?id=52692
244 Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
245 This makes some tests that call notifyDone multiple times pass.
247 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
248 (WTR::InjectedBundle::InjectedBundle):
249 (WTR::InjectedBundle::done):
250 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
251 (WTR::InjectedBundle::topLoadingFrame):
252 (WTR::InjectedBundle::setTopLoadingFrame):
253 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
254 (WTR::InjectedBundlePage::InjectedBundlePage):
255 (WTR::InjectedBundlePage::stopLoading):
256 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
257 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
258 (WTR::InjectedBundlePage::didFinishLoadForFrame):
259 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
260 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
261 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
262 (WTR::LayoutTestController::notifyDone):
263 * WebKitTestRunner/TestController.cpp:
264 (WTR::TestController::didReceiveMessageFromInjectedBundle):
266 2011-01-18 Mihai Parparita <mihaip@chromium.org>
268 Reviewed by Kent Tamura.
270 [Chromium] NRWT looking for DRT binary in the wrong path on Mac
271 https://bugs.webkit.org/show_bug.cgi?id=52678
273 Update path now that WebKit is inside Source.
275 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
277 2011-01-18 Robert Hogan <robert@webkit.org>
279 Reviewed by Simon Hausmann.
281 [Qt] http/tests/incremental/slow-utf8-text.pl fails
282 https://bugs.webkit.org/show_bug.cgi?id=44282
284 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
285 (WebCore::DumpRenderTree::dump):
287 2011-01-18 Dirk Pranke <dpranke@chromium.org>
289 Reviewed by Mihai Parparita.
291 Fix a small race condition that could cause the unit tests for
292 new-run-webkit-tests to fail in a multithreaded environment.
293 There was a small window in the code where one thread would
294 check to see if a thread had raised an exception, do something,
295 and then check to see if the thread was alive. If the other
296 thread raised an exception and exited in between these two
297 steps, the exception would be lost. Flipping the order of the
298 two checks fixes the race, since we will now always check for an
299 exception on the thread before exiting.
301 https://bugs.webkit.org/show_bug.cgi?id=51579
303 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
305 2011-01-18 Eric Seidel <eric@webkit.org>
307 Reviewed by Adam Barth.
309 commit-queue dies when test archiving fails
310 https://bugs.webkit.org/show_bug.cgi?id=52617
312 I looked at the machine and it had 10 archives already
313 thus find_unused_name was returning None. I've upped
314 the limit to 100 (per bug) and tested the case where
315 find_unused_name returns None (making archive return None).
317 * Scripts/webkitpy/common/system/workspace.py:
318 * Scripts/webkitpy/common/system/workspace_unittest.py:
319 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
320 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
321 * Scripts/webkitpy/tool/commands/queues.py:
323 2011-01-18 Dirk Pranke <dpranke@chromium.org>
325 Reviewed by Ojan Vafai.
327 Update rebaseline-chromium-webkit-tests unit tests to use a mock
328 filesystem. Also fix a couple of "with" statements missed by
331 https://bugs.webkit.org/show_bug.cgi?id=52487
333 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
335 2011-01-18 Sergio Villar Senin <svillar@igalia.com>
337 Reviewed by Martin Robinson.
339 [Gtk] Build fixes for gtk3 build
340 https://bugs.webkit.org/show_bug.cgi?id=52648
342 * DumpRenderTree/gtk/EventSender.cpp:
343 (beginDragWithFilesCallback):
345 2011-01-18 Dirk Pranke <dpranke@chromium.org>
347 Reviewed by Mihai Parparita.
349 Update rebaseline-chromium-webkit-tests to use filesystem objects
350 instead of direct references to os.path, shutil, tempfile, etc.
352 This patch doesn't change anything, but will allow subsequent
353 patches to change the unit tests to no longer use the real
356 This patch adds a bunch more methods to the filesystem object as
359 https://bugs.webkit.org/show_bug.cgi?id=52482
361 * Scripts/webkitpy/common/system/filesystem.py:
362 * Scripts/webkitpy/common/system/filesystem_mock.py:
363 * Scripts/webkitpy/tool/commands/queues.py:
364 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
365 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
367 2011-01-18 Dirk Pranke <dpranke@chromium.org>
369 Reviewed by Mihai Parparita.
371 new-run-webkit-tests shouldn't crash when you try to run a
372 directory containing only skipped files.
374 https://bugs.webkit.org/show_bug.cgi?id=52478
376 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
377 * Scripts/webkitpy/layout_tests/port/test.py:
378 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
380 2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>
382 Reviewed by Gustavo Noronha Silva.
384 [GTK] The GTK+ EventSender needs support for beginDragWithFiles
385 https://bugs.webkit.org/show_bug.cgi?id=40833
387 * DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the
389 (dragWithFilesDragDataGetCallback): Added.
390 (dragWithFilesDragEndCallback): Added.
391 (beginDragWithFilesCallback): Added.
393 2011-01-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
395 Reviewed by Adam Barth.
397 ews: Add additional watcher to efl ews
398 https://bugs.webkit.org/show_bug.cgi?id=52613
400 Add gyuyoung.kim@samsung.com to watcher list of efl-ews.
402 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
404 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
406 Reviewed by Alexey Proskuryakov.
408 Fix some headers with missing or misspelled #ifndef guards
409 https://bugs.webkit.org/show_bug.cgi?id=52545
411 * DumpRenderTree/chromium/TestEventPrinter.h:
412 * DumpRenderTree/chromium/WebPreferences.h:
414 2011-01-17 Jessie Berlin <jberlin@apple.com>
416 Reviewed by Anders Carlsson.
418 REGRESSION: Assertion failure in FrameLoader::continueLoadAfterWillSubmitForm() when
419 navigating back to an unreachable URL
420 https://bugs.webkit.org/show_bug.cgi?id=52388
422 Add a third parameter (unreachableURL) to queueLoadHTMLString.
424 * DumpRenderTree/LayoutTestController.cpp:
425 (queueLoadHTMLStringCallback):
426 (LayoutTestController::queueLoadHTMLString):
427 (LayoutTestController::queueLoadAlternateHTMLString):
428 * DumpRenderTree/LayoutTestController.h:
430 * DumpRenderTree/WorkQueueItem.h:
431 (LoadHTMLStringItem::LoadHTMLStringItem):
433 * DumpRenderTree/chromium/LayoutTestController.cpp:
434 (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
435 (WorkItemLoadHTMLString::run):
436 (LayoutTestController::queueLoadHTMLString):
438 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
439 (LoadHTMLStringItem::invoke):
440 * DumpRenderTree/mac/WorkQueueItemMac.mm:
441 (LoadHTMLStringItem::invoke):
442 * DumpRenderTree/win/WorkQueueItemWin.cpp:
443 (LoadHTMLStringItem::invoke):
445 2011-01-17 Dan Bernstein <mitz@apple.com>
447 Rubber-stamped by Mark Rowe.
449 Update xcodeproj svn:ignore to include xcuserdata.
451 * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
452 * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
453 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
454 * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
455 * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
457 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
459 Unreviewed fix after r75908.
461 Move WebKit into Source
462 https://bugs.webkit.org/show_bug.cgi?id=52530
464 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add Source to the path for Qt API tests.
466 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
470 Remove accidentally committed debug printing after r75908.
472 * Scripts/webkitdirs.pm:
474 2011-01-17 John Knottenbelt <jknotten@chromium.org>
478 Add myself to committers list
479 https://bugs.webkit.org/show_bug.cgi?id=52566
481 * Scripts/webkitpy/common/config/committers.py:
483 2011-01-17 John Knottenbelt <jknotten@chromium.org>
485 Reviewed by Jeremy Orlow.
487 GeolocationController should call stopUpdating on destruction
488 https://bugs.webkit.org/show_bug.cgi?id=52216
490 fast/dom/Geolocation/window-close-crash.html requires that a
491 Geolocation watch be started in a secondary window. Consequently,
492 we need to allow geolocation permission and provide a mock
493 geolocation position for the secondary window's
494 GeolocationClientMock.
496 * DumpRenderTree/chromium/LayoutTestController.cpp:
497 (LayoutTestController::setGeolocationPermission):
498 (LayoutTestController::setMockGeolocationPosition):
499 (LayoutTestController::setMockGeolocationError):
500 * DumpRenderTree/chromium/TestShell.h:
501 (TestShell::windowList):
503 2011-01-16 Adam Barth <abarth@webkit.org>
505 Update more include paths to reflect WebKit move.
507 * DumpRenderTree/chromium/EventSender.cpp:
508 (EventSender::keyDown):
509 (EventSender::needsShiftModifier):
510 * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
511 * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
513 2011-01-16 Kent Tamura <tkent@chromium.org>
515 Unreviewed, Chromium build fix.
517 * Scripts/update-webkit-chromium: Webkit/chromium -> Source/WebKit/chromium
519 2011-01-16 Martin Robinson <mrobinson@igalia.com>
521 Build fix for GTK+ after source directory movement.
523 * GNUmakefile.am: Correct include paths.
525 2011-01-16 Adam Barth <abarth@webkit.org>
527 Teach svn-apply about WebKit move.
529 * Scripts/VCSUtils.pm:
531 2011-01-16 Adam Barth <abarth@webkit.org>
533 Rubber-stamped by Eric Seidel.
535 Move WebKit into Source
536 https://bugs.webkit.org/show_bug.cgi?id=52530
538 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
539 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
540 * DumpRenderTree/qt/DumpRenderTreeQt.h:
541 * DumpRenderTree/qt/GCControllerQt.cpp:
542 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
543 * DumpRenderTree/qt/PlainTextControllerQt.cpp:
544 * DumpRenderTree/qt/TextInputControllerQt.cpp:
545 * DumpRenderTree/wscript:
546 * QtTestBrowser/launcherwindow.h:
547 * Scripts/build-webkit:
548 * Scripts/webkitdirs.pm:
550 2011-01-15 Adam Barth <abarth@webkit.org>
552 Teach svn-apply about WebKit2 move.
554 * Scripts/VCSUtils.pm:
556 2011-01-15 Adam Barth <abarth@webkit.org>
558 Rubber-stamped by Eric Seidel.
560 Move WebKit2 into Source
561 https://bugs.webkit.org/show_bug.cgi?id=52438
563 * MiniBrowser/qt/MiniBrowser.pro:
564 * Scripts/build-webkit:
565 * Scripts/do-file-rename:
566 * Scripts/do-webcore-rename:
567 * Scripts/test-webkitpy:
568 * Scripts/webkitdirs.pm:
569 * Scripts/webkitpy/style/checker.py:
570 * WebKitTestRunner/DerivedSources.pro:
571 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
572 * WebKitTestRunner/qt/WebKitTestRunner.pro:
574 2011-01-15 Jochen Eisinger <jochen@chromium.org>
576 Reviewed by David Levin.
578 [chromium] remove obsolete createView method
579 https://bugs.webkit.org/show_bug.cgi?id=52437
581 * DumpRenderTree/chromium/WebViewHost.cpp:
582 (WebViewHost::createView):
583 * DumpRenderTree/chromium/WebViewHost.h:
585 2011-01-14 Brian Weinstein <bweinstein@apple.com>
587 Reviewed by Geoff Garen.
589 ShouldLoadResourceForFrame should use strings, not URLs.
590 https://bugs.webkit.org/show_bug.cgi?id=52476
592 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
593 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Update to use a WKStringRef.
594 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
596 2011-01-14 Tony Gentilcore <tonyg@chromium.org>
598 Reviewed by David Levin.
600 Add Tony Gentilcore as a reviewer
601 https://bugs.webkit.org/show_bug.cgi?id=52480
603 * Scripts/webkitpy/common/config/committers.py:
605 2011-01-14 David Levin <levin@chromium.org>
607 Reviewed by Eric Seidel.
609 check-webkit-style: _FunctionState should keep track of where the function name starts.
610 https://bugs.webkit.org/show_bug.cgi?id=52454
612 * Scripts/webkitpy/style/checkers/cpp.py: Added function_name_start_position to
613 _FunctionState and logic for setting it correctly.
614 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
616 2011-01-14 Vincent Scheib <scheib@chromium.org>
618 Reviewed by David Levin.
620 Add support to DumpRenderTree to use the GPU rather than software renderer
621 https://bugs.webkit.org/show_bug.cgi?id=52333
623 * DumpRenderTree/chromium/DumpRenderTree.cpp:
625 * Scripts/webkitpy/layout_tests/port/chromium.py:
626 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
628 2011-01-14 Tony Chang <tony@chromium.org>
630 Reviewed by Kent Tamura.
632 [chromium] update fonts.conf to fix 6 linux tests in drt
633 https://bugs.webkit.org/show_bug.cgi?id=52411
635 * DumpRenderTree/chromium/fonts.conf: Update to match the copy in
636 chromium's src/webkit/tools/test_shell/resources/fonts.conf
638 2011-01-14 Eric Seidel <eric@webkit.org>
640 Original patch from Peter Gal <galpater@inf.u-szeged.hu>
642 Reviewed by Adam Barth.
644 Fix when running Tools/Scripts/check-webkit-style without arguments.
645 https://bugs.webkit.org/show_bug.cgi?id=52261#c16
647 * Scripts/webkitpy/common/checkout/scm.py: Handle None for changed_files argument better in Git.create_patch method.
648 * Scripts/webkitpy/common/checkout/scm_unittest.py:
650 2011-01-04 Jochen Eisinger <jochen@chromium.org>
652 Reviewed by David Levin.
654 Store the tempdir object in a variable so it doesn't get deleted too early.
655 https://bugs.webkit.org/show_bug.cgi?id=51875
657 * Scripts/update-webkit-auxiliary-libs:
658 * Scripts/update-webkit-support-libs:
660 2011-01-14 Eric Seidel <eric@webkit.org>
662 Unreviewed. Make it work in python 2.5.
664 webkit-patch suggest-reviewers dies when ChangeLogs are missing
665 https://bugs.webkit.org/show_bug.cgi?id=49158
667 * Scripts/webkitpy/common/checkout/api_unittest.py:
669 2011-01-14 Sheriff Bot <webkit.review.bot@gmail.com>
671 Unreviewed, rolling out r75774.
672 http://trac.webkit.org/changeset/75774
673 https://bugs.webkit.org/show_bug.cgi?id=52431
675 gtk builds were broken (Requested by loislo2 on #webkit).
677 * Scripts/webkitpy/common/checkout/scm.py:
679 2011-01-14 David Levin <levin@chromium.org>
681 Reviewed by Shinichiro Hamaji.
683 check-webkit-style: _FunctionState should detect pure functions.
684 https://bugs.webkit.org/show_bug.cgi?id=52428
686 * Scripts/webkitpy/style/checkers/cpp.py: Added detection for if a function declaration
687 is a pure virtual function.
688 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for verifying that pure
689 virtual functions are correctly detected.
691 2011-01-13 Ilya Tikhonovsky <loislo@chromium.org>
693 Reviewed by Yury Semikhatsky.
695 Just small fix for problem with check-webkit-style.
696 It just didn't work for this patch.
697 Old code can't concatenate a list of strings with None.
699 * Scripts/webkitpy/common/checkout/scm.py:
701 2011-01-13 David Levin <levin@chromium.org>
703 Reviewed by Shinichiro Hamaji.
705 check-webkit-style: _FunctionState should use Position to know where items are.
706 https://bugs.webkit.org/show_bug.cgi?id=52424
708 * Scripts/webkitpy/style/checkers/cpp.py:
709 (_FunctionState.*): Changed _FunctionState to use Position instead of line numbers.
710 (detect_functions): Changed to pass Position's to _FunctionState.begin and
711 did some minor clean-up.
712 (*): Other changes are simply about converting to use the Position's in_FunctionState
713 instead of line numbers.
714 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Changed the test code
715 to verify the positions stored in _FunctionState.
717 2011-01-13 Eric Seidel <eric@webkit.org>
719 Reviewed by David Levin.
721 webkit-patch suggest-reviewers dies when ChangeLogs are missing
722 https://bugs.webkit.org/show_bug.cgi?id=49158
724 This is not the most elegant, but it is a very safe fix to this bug.
725 One advantage of catching ScriptError like this instead of adding a
726 new added_or_modified_files or fixing all changed_files callers
727 to use a more specific change_files variant, is that we catch
728 all kinds of ScriptErrors which might cause our (non-essential)
729 suggest-reviewers code to fail out. This should make passing
730 --suggest-reviewers to webkit-patch upload much more robust
731 and may even make it possible for us to make it default.
733 The root of the problem here is that SCM.changed_files includes
734 deleted ChangeLog paths (from moves, etc) which then when we ask
735 SVN/Git for the contents of the file at that revision, the command
736 errors out and Executive.run_command raises a ScriptError.
738 In the future we might fix this differently by making all current
739 callers of chagned_files use a more specific method for requesting
740 what types of changes they're interested in (adds, modifies, deletes, etc.)
742 * Scripts/webkitpy/common/checkout/api.py:
743 * Scripts/webkitpy/common/checkout/api_unittest.py:
745 2011-01-13 Dan Bernstein <mitz@apple.com>
747 Reviewed by Alexey Proskuryakov.
749 <rdar://problem/8827065> REGRESSION (r71884): Cross-origin XHR fails if willSendRequest changes the URL
750 https://bugs.webkit.org/show_bug.cgi?id=52419
752 Allow to further control the behavior of the willSendRequest delegate callback by making it
753 set a different URL in the new request.
755 * DumpRenderTree/LayoutTestController.cpp:
756 (addURLToRedirectCallback): Added.
757 (LayoutTestController::staticFunctions): Added addURLToRedirect.
758 (LayoutTestController::addURLToRedirect): Added. Adds the redirection to the map.
759 (LayoutTestController::redirectionDestinationForURL): Added this getter.
760 * DumpRenderTree/LayoutTestController.h:
761 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
762 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): Check
763 if there is a redirection for the request’s URL, established by addURLToRedirect(), and if so,
764 change the URL in the new request to the redirect destination.
766 2011-01-13 Eric Seidel <eric@webkit.org>
768 Reviewed by Mihai Parparita.
770 webkit-patch suggest-reviewers fails due to invalid utf8 in ChangeLog files
771 https://bugs.webkit.org/show_bug.cgi?id=52416
773 Example: webkit-patch suggest-reviewers -g ca3890fe74d94d85d6bfa48f9ea497b094d8e717
774 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 536-538: invalid data
776 I also added FIXMEs about the changed_files returning deleted files problem
777 which is causing the other most common exception for suggest-reviewers
778 (and is probably breaking sheriff-bots blame detection).
780 * Scripts/webkitpy/common/checkout/api.py:
781 * Scripts/webkitpy/common/checkout/api_unittest.py:
782 * Scripts/webkitpy/common/checkout/scm.py:
784 2011-01-13 Eric Seidel <eric@webkit.org>
786 Reviewed by Adam Barth.
788 results archives from commit-queue are too large to upload
789 https://bugs.webkit.org/show_bug.cgi?id=52405
791 * Scripts/webkitpy/common/system/filesystem.py:
792 * Scripts/webkitpy/common/system/filesystem_mock.py:
793 * Scripts/webkitpy/tool/commands/queues.py:
795 2011-01-13 Alejandro G. Castro <alex@igalia.com>
797 Reviewed by Martin Robinson.
799 [gtk] Zero-sized font does not yet work
800 https://bugs.webkit.org/show_bug.cgi?id=49793
802 Set minimum-font-size to 0 for the DRT.
804 * DumpRenderTree/gtk/DumpRenderTree.cpp:
805 (resetDefaultsToConsistentValues):
807 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
809 Reviewed by Darin Adler.
811 Make old-run-webkit-tests more robust on buildbots
812 https://bugs.webkit.org/show_bug.cgi?id=52364
814 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Pass --exit-after-n-failures 500 to old-run-webkit-tests script.
816 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
818 Reviewed by Darin Adler.
820 Make old-run-webkit-tests more robust on buildbots
821 https://bugs.webkit.org/show_bug.cgi?id=52364
823 * Scripts/old-run-webkit-tests: Ensure that testResultsDirectory is empty.
825 2011-01-13 Tony Chang <tony@chromium.org>
827 Reviewed by Kent Tamura.
829 [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
830 https://bugs.webkit.org/show_bug.cgi?id=52332
832 Forked Info.plist is not longer needed.
834 * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Removed.
836 2011-01-13 Mikhail Naganov <mnaganov@chromium.org>
838 Reviewed by Timothy Hatcher.
840 Web Inspector: Cleanup after r75613 -- make all UI-facing strings
841 to be passed directly to WebInspector.UIString
843 https://bugs.webkit.org/show_bug.cgi?id=52365
845 * Scripts/check-inspector-strings:
847 2011-01-13 Sheriff Bot <webkit.review.bot@gmail.com>
849 Unreviewed, rolling out r74881.
850 http://trac.webkit.org/changeset/74881
851 https://bugs.webkit.org/show_bug.cgi?id=52357
853 The EFL builder has been red for days (Requested by abarth on
856 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
857 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
859 2011-01-12 Maciej Stachowiak <mjs@apple.com>
861 Reviewed by David Levin.
863 Add beforeunload support to WebKitTestRunner
864 https://bugs.webkit.org/show_bug.cgi?id=52353
866 This makes a number of currently failing tests pass.
868 * WebKitTestRunner/TestController.cpp:
869 (WTR::runBeforeUnloadConfirmPanel):
870 (WTR::createOtherPage):
871 (WTR::TestController::initialize):
873 2011-01-12 Maciej Stachowiak <mjs@apple.com>
875 Reviewed by Sam Weinig.
877 Detect, identify and recover from WebProcess crashes in run-webkit-tests
878 https://bugs.webkit.org/show_bug.cgi?id=52330
880 * Scripts/old-run-webkit-tests: Detect when the regression test tool reports
882 * WebKitTestRunner/TestController.cpp:
883 (WTR::TestController::initialize): Set up a processDidCrash
885 (WTR::TestController::processDidCrash): Report that the Web process
887 * WebKitTestRunner/TestController.h:
889 2011-01-12 David Levin <levin@chromium.org>
891 Reviewed by Shinichiro Hamaji.
893 check-webkit-style -- close_expression function doesn't work correctly.
894 https://bugs.webkit.org/show_bug.cgi?id=52272
896 * Scripts/webkitpy/style/checkers/cpp.py:
897 (Position.__str__): Added a way to convert it to a string which is useful in tests.
898 (Position.__cmp__): Added a way to compare Position which is useful in tests and
899 generally useful (for upcoming code changes).
900 (close_expression): Changed to use Position for input and output.
901 Also, fixed many bugs such as only working correctly for parenthesis,
902 not working correctly if given an offset in a line and not finding
903 the real closing element if there were multiple closing elements in
905 (detect_functions): Adjusted due to the change in arguments for
907 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
908 (CppStyleTestBase.assert_positions_equal): Added a way to verify that
909 two positions are the same.
910 (CppStyleTest.test_position): Added tests for the __str_ and __cmp__ methods.
911 (CppStyleTest.test_close_expression): Added tests to catch the issues
914 2011-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
916 Unreviewed, rolling out r75576.
917 http://trac.webkit.org/changeset/75576
918 https://bugs.webkit.org/show_bug.cgi?id=52304
920 broke rebaseline-chromium-webkit-test (Requested by thakis on
923 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
924 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
925 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
926 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
927 * Scripts/webkitpy/layout_tests/port/base.py:
928 * Scripts/webkitpy/layout_tests/port/chromium.py:
929 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
930 * Scripts/webkitpy/layout_tests/port/test.py:
931 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
932 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
933 * Scripts/webkitpy/style/checkers/test_expectations.py:
934 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
936 2011-01-12 Maciej Stachowiak <mjs@apple.com>
938 Reviewed by Darin Adler.
940 Add a no-build option to run-webkit-tests, to avoid building DRT/WKTR
941 https://bugs.webkit.org/show_bug.cgi?id=52307
943 * Scripts/old-run-webkit-tests:
945 2011-01-12 Koan-Sin Tan <koansin.tan@gmail.com>
947 Reviewed by Martin Robinson.
949 [Gtk] WebKitGtk+ doesn't build on Mac OS X 10.6
950 https://bugs.webkit.org/show_bug.cgi?id=50867
952 Fixed library extention for Mac in webkitdirs.pm and type conflict in
953 TestNetscapePlugin.cpp
955 * GNUmakefile.am: Don't use AppKit when compiling TestNetscapePlugin for GTK+
956 * Scripts/webkitdirs.pm:
958 2011-01-12 Mikhail Naganov <mnaganov@chromium.org>
960 Reviewed by Pavel Feldman.
962 Add check-inspector-strings script.
964 https://bugs.webkit.org/show_bug.cgi?id=52295
966 * Scripts/check-inspector-strings: Added.
968 2011-01-12 Adam Roben <aroben@apple.com>
970 Advertise the .testnetscape file extension on Windows
972 Fixes <http://webkit.org/b/52298>
973 plugins/no-mime-with-valid-extension.html fails on Windows
975 Reviewed by Dan Bernstein.
977 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Added a
978 FileExtents field to map the .testnetscape file extension to the
979 application/x-webkit-test-netscape MIME type, just as we do on Mac.
981 2011-01-12 Adam Barth <abarth@webkit.org>
983 Reviewed by Eric Seidel.
985 Make webkit-patch support subdirectories for SVN checkouts
986 https://bugs.webkit.org/show_bug.cgi?id=52261
988 os.relpath does not exist on Python 2.5, so we need to call our version
991 * Scripts/webkitpy/common/checkout/scm.py:
993 2011-01-11 Maciej Stachowiak <mjs@apple.com>
995 Reviewed by Eric Seidel.
997 Close additional pages opened during a test once the test completes.
998 https://bugs.webkit.org/show_bug.cgi?id=52276
1000 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1001 (WTR::InjectedBundle::done):
1003 2011-01-11 David Levin <levin@chromium.org>
1005 Reviewed by Eric Seidel.
1007 Errors should be separated from the command line in bot messages.
1008 https://bugs.webkit.org/show_bug.cgi?id=52275
1010 * Scripts/webkitpy/common/system/executive.py:
1011 (ScriptError.message_with_output): Added a newline to separate the command
1012 line from the errors.
1013 * Scripts/webkitpy/common/system/executive_unittest.py:
1014 (ScriptErrorTest.test_message_with_output): Added tests for the various code
1015 paths in message_with_output.
1017 2011-01-11 Eric Seidel <eric@webkit.org>
1021 commit-queue should know how to upload archived results (for test flakes or general failures)
1022 https://bugs.webkit.org/show_bug.cgi?id=52048
1024 The zips are mostly empty due to forgetting -r.
1025 Expected diffs were not being pulled from the archive due
1026 to the archive having longer paths than I realized.
1028 * Scripts/webkitpy/common/system/workspace.py:
1029 * Scripts/webkitpy/common/system/workspace_unittest.py:
1030 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1031 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1033 2011-01-11 Dirk Pranke <dpranke@chromium.org>
1035 Reviewed by Ojan Vafai.
1037 The current modifier parsing code in test_expectations is
1038 fragile and hard-coded, so it's not easy to understand the logic
1039 or easily add new types of modifiers (like GPU vs. CPU testing
1040 for graphics tests, or 32-bit vs. 64-bit differences).
1042 This is the first of two patches that will add in more generic
1043 support and then eliminate the GPU-specific test expectations
1046 This patch adds two standalone objects for handling modifiers. The
1047 rules for interpreting modifiers, precedence, and conflicts are
1048 given in the docstring to the ModifierMatcher class, which
1049 returns ModifierMatchResult objects.
1051 This patch also adds routines to the Port interface and a
1052 default set of values in the base object, in order to obtain the
1053 values needed on a given test run. These values are then passed
1054 to the expectation parser. This also allows us to clean up the
1055 logic used to lint all of the different configurations in a
1056 single test_expectations.txt file.
1058 The next patch will merge in the separate GPU expectations file.
1060 https://bugs.webkit.org/show_bug.cgi?id=51222
1062 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1063 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
1064 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
1065 * Scripts/webkitpy/layout_tests/port/base.py:
1066 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1067 * Scripts/webkitpy/layout_tests/port/chromium.py:
1068 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1069 * Scripts/webkitpy/layout_tests/port/test.py:
1070 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1071 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1073 2011-01-11 Maciej Stachowiak <mjs@apple.com>
1075 Reviewed by Adam Barth.
1077 Make webkit-patch support subdirectories for SVN checkouts
1078 https://bugs.webkit.org/show_bug.cgi?id=52261
1080 * Scripts/webkitpy/common/checkout/scm.py:
1081 * Scripts/webkitpy/style_references.py:
1082 * Scripts/webkitpy/tool/main.py:
1083 * Scripts/webkitpy/tool/steps/preparechangelog.py:
1085 2011-01-11 Eric Seidel <eric@webkit.org>
1089 commit-queue should know how to upload archived results (for test flakes or general failures)
1090 https://bugs.webkit.org/show_bug.cgi?id=52048
1092 I changed the API for archive_last_layout_test_results w/o updating the implementation. Oops.
1093 This fixes an exception seen on the commit-queue when attempting to report flaky tests.
1095 * Scripts/webkitpy/common/system/workspace.py:
1096 * Scripts/webkitpy/common/system/workspace_unittest.py:
1097 * Scripts/webkitpy/tool/commands/queues.py:
1099 2011-01-11 Sam Weinig <sam@webkit.org>
1101 Roll r75474 back in.
1103 2011-01-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1105 Reviewed by Kenneth Rohde Christiansen.
1107 [Qt] Remove uses of QFuture since it isn't supported on all platforms.
1108 https://bugs.webkit.org/show_bug.cgi?id=51204
1110 * QtTestBrowser/webpage.h:
1111 (QtNAMThread::QtNAMThread):
1112 (QtNAMThread::networkAccessManager):
1115 2011-01-11 Peter Varga <pvarga@webkit.org>
1119 Add myself to committers' list.
1121 * Scripts/webkitpy/common/config/committers.py:
1123 2011-01-11 Eric Seidel <eric@webkit.org>
1125 Reviewed by Adam Barth.
1127 commit-queue should know how to upload archived results (for test flakes or general failures)
1128 https://bugs.webkit.org/show_bug.cgi?id=52048
1130 Now the queue will always upload results. Either the entire zip, or just
1131 the diffs.txt in the case of text failures.
1133 This should make understanding flakes much easier, and paves the way
1134 for having the EWS run layout tests (and upload failures).
1136 In order to upload .zip files I had to teach bugzilla.py to autodetect
1137 mime types from the filename. Since mimetypes.py doesn't include a mapping
1138 for .patch files, I have it add one before calling guess_type.
1140 We may find that always uploading the whole zip instead of just the -diffs.txt
1141 file is preferable, but for now I'm keeping the old behavior because it makes
1142 quickly understanding text failures easy.
1144 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1145 * Scripts/webkitpy/common/system/workspace.py: Added.
1146 * Scripts/webkitpy/common/system/workspace_unittest.py: Added.
1147 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1148 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1149 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1150 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1151 * Scripts/webkitpy/tool/commands/queues.py:
1152 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1154 2011-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
1156 Unreviewed, rolling out r75464.
1157 http://trac.webkit.org/changeset/75464
1158 https://bugs.webkit.org/show_bug.cgi?id=52193
1160 Followup rollout for 75474 (Requested by Ossy on #webkit).
1162 * MiniBrowser/mac/BrowserWindowController.m:
1163 (-[BrowserWindowController awakeFromNib]):
1164 * MiniBrowser/win/BrowserView.cpp:
1165 (BrowserView::create):
1166 * WebKitTestRunner/TestController.cpp:
1167 (WTR::createOtherPage):
1168 (WTR::TestController::initialize):
1170 2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1172 Reviewed by Csaba Osztrogonác.
1174 [Qt] Baseline qt_minimal configuration
1175 https://bugs.webkit.org/show_bug.cgi?id=51313
1177 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1178 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Add
1179 QT_NO_UNDOSTACK guard.
1181 * QtTestBrowser/launcherwindow.cpp:
1182 (LauncherWindow::createChrome): Add QT_NO_SHORTCUT and QT_NO_PRINTER
1184 (LauncherWindow::applyZoom): Add QT_NO_ANIMATION guard.
1185 (LauncherWindow::screenshot): Add QT_NO_FILEDIALOG guard.
1186 (LauncherWindow::selectElements): Add QT_NO_INPUTDIALOG guard.
1187 (LauncherWindow::showUserAgentDialog): Add QT_NO_COMBOBOX guard.
1189 * QtTestBrowser/launcherwindow.h:
1190 * QtTestBrowser/locationedit.cpp: Add QT_NO_INPUTDIALOG guard.
1191 * QtTestBrowser/locationedit.h: Ditto.
1193 * QtTestBrowser/mainwindow.cpp:
1194 (MainWindow::buildUI): Add QT_NO_INPUTDIALOG, QT_NO_SHORTCUT and
1195 QT_NO_UNDOSTACK guards.
1196 (MainWindow::setAddressUrl): Add QT_NO_INPUTDIALOG guard.
1197 (MainWindow::changeLocation): Ditto.
1198 (MainWindow::openFile): Add QT_NO_FILEDIALOG guard.
1199 (MainWindow::openLocation): Add QT_NO_INPUTDIALOG guard.
1201 * QtTestBrowser/webpage.cpp:
1202 (WebPage::openUrlInDefaultBrowser): Add QT_NO_DESKTOPSERVICES guard.
1203 (WebPage::authenticationRequired): Add QT_NO_LINEEDIT guard.
1205 * QtTestBrowser/webview.cpp:
1206 (WebViewGraphicsBased::animatedFlip): Add QT_NO_ANIMATION guard.
1207 (WebViewGraphicsBased::animatedYFlip): Ditto.
1209 2011-01-10 Sam Weinig <sam@webkit.org>
1213 * MiniBrowser/mac/BrowserWindowController.m:
1214 (-[BrowserWindowController awakeFromNib]):
1215 * MiniBrowser/win/BrowserView.cpp:
1216 (BrowserView::create):
1217 * WebKitTestRunner/TestController.cpp:
1218 (WTR::createOtherPage):
1219 (WTR::TestController::initialize):
1221 2011-01-10 Eric Seidel <eric@webkit.org>
1223 Reviewed by Ojan Vafai.
1225 style-queue messages are way too long for big patches
1226 https://bugs.webkit.org/show_bug.cgi?id=52161
1228 We definitely could build much fancier list-to-string-with-limit functions
1229 but this should be sufficient for our needs at the moment.
1231 * Scripts/webkitpy/common/system/executive.py:
1232 * Scripts/webkitpy/common/system/executive_unittest.py:
1234 2011-01-10 Tony Chang <tony@chromium.org>
1236 Unreviewed, rolling out r75398.
1237 http://trac.webkit.org/changeset/75398
1238 https://bugs.webkit.org/show_bug.cgi?id=52008
1240 Some layout tests are crashing on Chromium Win.
1242 * DumpRenderTree/chromium/WebViewHost.cpp:
1243 (WebViewHost::updatePaintRect):
1244 * DumpRenderTree/chromium/WebViewHost.h:
1246 2011-01-10 Adam Roben <aroben@apple.com>
1250 It isn't needed now that r75289 has been rolled out.
1252 * Scripts/run-javascriptcore-tests:
1254 2011-01-10 Maciej Stachowiak <mjs@apple.com>
1256 Reviewed by Anders Carlsson.
1258 WebKitTestRunner uses crazy amounts of CPU, making layout tests slow and flaky
1259 https://bugs.webkit.org/show_bug.cgi?id=52160
1261 * WebKitTestRunner/mac/TestControllerMac.mm:
1262 (WTR::TestController::platformRunUntil): Instead of busy-looping, wait for the timeout.
1263 Anything that can make runUntil() conditions turn true will happen on a run loop cycle
1266 2011-01-10 Tony Chang <tony@chromium.org>
1268 Reviewed by Mihai Parparita.
1270 [chromium] fix for animated gif layout tests
1271 https://bugs.webkit.org/show_bug.cgi?id=52008
1273 * DumpRenderTree/chromium/WebViewHost.cpp: Schedule a paint when we update the paint rect
1274 to trigger gif animations.
1275 (WebViewHostPaintTask::WebViewHostPaintTask):
1276 (WebViewHostPaintTask::runIfValid):
1277 (WebViewHost::updatePaintRect):
1278 * DumpRenderTree/chromium/WebViewHost.h:
1279 (WebViewHost::taskList):
1281 2011-01-10 Alejandro G. Castro <alex@igalia.com>
1283 Reviewed by Xan Lopez.
1285 [GTK] Fix gtk2 compilation for master
1286 https://bugs.webkit.org/show_bug.cgi?id=51885
1288 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
1289 (createBitmapContextFromWebView): Replaced the old
1290 gdk_drawable_get_size with gdk_pixmap_get_size.
1292 2011-01-10 Patrick Gansterer <paroga@webkit.org>
1294 Reviewed by Laszlo Gombos.
1296 [WINCE] Reenable NPAPI after r75203
1297 https://bugs.webkit.org/show_bug.cgi?id=52109
1299 Remove the !isWinCE() check for ENABLE_NETSCAPE_PLUGIN_API and replace
1300 it with !isEfl(), because EFL port does not support NPAPI (yet).
1302 * Scripts/build-webkit:
1304 2011-01-10 Adam Roben <aroben@apple.com>
1306 Skip some asserting JS tests
1308 See <http://webkit.org/b/52156>.
1310 * Scripts/run-javascriptcore-tests:
1312 2011-01-10 Martin Robinson <mrobinson@igalia.com>
1314 Reviewed by Xan Lopez.
1316 [GTK] build-webkit disable Blob support via arguments passed to automake
1317 https://bugs.webkit.org/show_bug.cgi?id=52097
1319 * Scripts/build-webkit: Enable Blob support when building WebKitGTK+ via
1322 2011-01-10 Adam Roben <aroben@apple.com>
1324 Use the same name and description for TestNetscapePlugin on Windows and
1327 Fixes <http://webkit.org/b/52151>
1328 fast/frames/iframe-reparenting-plugins.html fails on Windows
1330 Reviewed by Steve Falkenburg.
1332 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Copied
1333 the name and description from Mac's Info.plist.
1335 2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
1337 Reviewed by Laszlo Gombos.
1339 [Qt][WK2] Guard gcc-specific syntax
1341 Non-gcc based compliers choke on the "-include"
1342 syntax for preinclude, place guard around it.
1344 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1345 * WebKitTestRunner/qt/WebKitTestRunner.pro:
1347 2011-01-10 Andreas Kling <kling@webkit.org>
1349 Reviewed by Simon Hausmann.
1351 [Qt] [WK2] MiniBrowser does not load pages opened in new windows
1352 https://bugs.webkit.org/show_bug.cgi?id=52111
1354 When getting a createNewPage() callback from QWKPage, create the
1355 new page with the same QWKContext as the page that is passed to
1358 * MiniBrowser/qt/BrowserView.h:
1359 * MiniBrowser/qt/BrowserWindow.cpp:
1361 (BrowserWindow::BrowserWindow):
1362 * MiniBrowser/qt/BrowserWindow.h:
1364 2011-01-10 Andreas Kling <kling@webkit.org>
1366 Reviewed by Kenneth Rohde Christiansen.
1368 [Qt] MiniBrowser: Remove superfluous createNewPage() callback
1370 BrowserView set its own useless createNewPage() callback on QWKPage.
1371 This was immediately overridden by BrowserWindow anyway, so remove
1372 the BrowserView one.
1374 * MiniBrowser/qt/BrowserView.cpp:
1375 (BrowserView::BrowserView):
1377 2011-01-10 John Knottenbelt <jknotten@chromium.org>
1379 Reviewed by Jeremy Orlow.
1381 [Chromium] Remove non-client-based Geolocation code
1382 https://bugs.webkit.org/show_bug.cgi?id=50921
1384 * DumpRenderTree/chromium/LayoutTestController.cpp:
1385 (LayoutTestController::setGeolocationPermission):
1386 (LayoutTestController::setMockGeolocationPosition):
1387 (LayoutTestController::setMockGeolocationError):
1388 * DumpRenderTree/chromium/WebViewHost.cpp:
1389 (WebViewHost::geolocationClientMock):
1390 (WebViewHost::reset):
1391 * DumpRenderTree/chromium/WebViewHost.h:
1393 2011-01-10 Eric Seidel <eric@webkit.org>
1395 Reviewed by Adam Barth.
1397 Commit bot tried to land r? cq+ patch
1398 https://bugs.webkit.org/show_bug.cgi?id=36638
1400 It should now be possible to post a patch with r? and cq+ and the
1401 commit-queue will correctly wait for the r+ before attempting to land the patch.
1402 (This was a feature requested by several users.)
1404 One caveat: We don't actually reject r-, cq+ patches from the queue
1405 (we just ignore them), but I think that's OK for now.
1407 I also noticed that setting r- once a commit-queue node had grabbed
1408 a patch would not properly cancel the landing. That's fixed and
1409 tested in this patch.
1411 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1412 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1413 * Scripts/webkitpy/tool/bot/feeders.py:
1414 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
1416 2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
1418 Reviewed by Kenneth Rohde Christiansen.
1420 [Qt] QtWebKit crashes when using XMLHttpRequest from the unload event
1421 https://bugs.webkit.org/show_bug.cgi?id=51934
1423 When accessing the network from the destructor of QWebPage, the network access manager
1424 was already deleted because the object WebPage was already destructed.
1426 This solve the problem by linking the lifetime of the network access manager to WebPage's QObject.
1427 The object is now destructed in the destructor of QObject.
1429 * QtTestBrowser/webpage.cpp:
1431 (WebPage::setQnamThreaded):
1432 * QtTestBrowser/webpage.h:
1433 (QtNAMThread::QtNAMThread):
1435 2011-01-08 Eric Seidel <eric@webkit.org>
1437 Reviewed by Ojan Vafai.
1439 test_failures.py should not mention TestShell (long live DumpRenderTree!)
1440 https://bugs.webkit.org/show_bug.cgi?id=52067
1442 I ran test-webkitpy, but didn't bother adding a unit test for this string change.
1443 https://bugs.webkit.org/show_bug.cgi?id=51138#c3 is an example of why this is needed.
1445 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1447 2011-01-08 Eric Seidel <eric@webkit.org>
1449 Reviewed by Mihai Parparita.
1451 commit-queue hangs when the ChangeLog diff is bad
1452 https://bugs.webkit.org/show_bug.cgi?id=52072
1454 * Scripts/webkitpy/tool/steps/validatechangelogs.py:
1455 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
1457 2011-01-08 Adam Barth <abarth@webkit.org>
1459 Teach svn-apply how to re-write WebCore to Source/WebCore.
1461 * Scripts/VCSUtils.pm:
1463 2011-01-07 Adam Barth <abarth@webkit.org>
1465 Rubber-stamped by Eric Seidel.
1467 Move WebCore to Source
1468 https://bugs.webkit.org/show_bug.cgi?id=52050
1470 Update the tools to understand WebCore's new location.
1472 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1473 * DumpRenderTree/wscript:
1475 * Scripts/build-webkit:
1476 * Scripts/do-file-rename:
1477 * Scripts/do-webcore-rename:
1478 * Scripts/generate-qt-inspector-resource:
1479 * Scripts/prepare-ChangeLog:
1480 * Scripts/run-bindings-tests:
1481 * Scripts/update-iexploder-cssproperties:
1482 * Scripts/update-sources-list.py:
1483 * Scripts/update-webkit-localizable-strings:
1484 * Scripts/webkitdirs.pm:
1485 * Scripts/webkitpy/common/config/build.py:
1486 * Scripts/webkitpy/common/config/build_unittest.py:
1487 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
1488 * Scripts/webkitpy/style/checker.py:
1489 * Scripts/webkitpy/style/checker_unittest.py:
1490 * WebKitTestRunner/DerivedSources.pro:
1491 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1492 * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh:
1493 * wx/browser/wscript:
1494 * wx/build/settings.py:
1496 2011-01-07 Maciej Stachowiak <mjs@apple.com>
1498 Reviewed by Sam Weinig.
1500 Make WebKitTestRunner rest between loads more robust to avoid test crashes
1501 https://bugs.webkit.org/show_bug.cgi?id=52086
1503 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1504 (WTR::InjectedBundle::didReceiveMessage):
1505 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1506 (WTR::LayoutTestController::notifyDone):
1507 * WebKitTestRunner/TestController.cpp:
1508 (WTR::TestController::resetStateToConsistentValues):
1509 (WTR::TestController::run):
1511 2011-01-07 James Robinson <jamesr@chromium.org>
1513 Revert "Implement mozilla's animationTime property"
1514 https://bugs.webkit.org/show_bug.cgi?id=51952
1516 This approach isn't quite right.
1518 * DumpRenderTree/chromium/WebViewHost.cpp:
1519 (WebViewHost::paintInvalidatedRegion):
1521 2011-01-07 Adam Roben <aroben@apple.com>
1525 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1526 (RunWebKitTests.start): Don't try to concatenate a list and a string.
1528 2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
1530 Reviewed by Csaba Osztrogonác.
1532 run-qtwebkit-tests should be able to kill a testsuite.
1534 Add new option in the script that can setup a timeout for a test.
1535 If the test execution takes more then specified time then the test
1536 would be terminated.
1538 [Qt] run-qtwebkit-tests needs timeout
1539 https://bugs.webkit.org/show_bug.cgi?id=51894
1541 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1542 * Scripts/run-qtwebkit-tests:
1544 2011-01-07 Csaba Osztrogonác <ossy@webkit.org>
1546 Unreviewed fix after r75233.
1548 Based on idea from Eric Seidel.
1550 Add remote zip file handling to webkitpy.
1551 https://bugs.webkit.org/show_bug.cgi?id=50901
1553 * Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.
1555 2011-01-07 Shane Stephens <shanestephens@google.com>
1557 Reviewed by Eric Seidel.
1559 svn-apply: should support git binary delta diffs
1560 https://bugs.webkit.org/show_bug.cgi?id=38864
1562 * Scripts/VCSUtils.pm:
1563 * Scripts/svn-apply:
1565 2011-01-06 Julie Parent <jparent@chromium.org>
1567 Reviewed by Eric Seidel.
1569 Test Result Server not removing old results.
1570 https://bugs.webkit.org/show_bug.cgi?id=52012
1572 * TestResultServer/model/jsonresults.py:
1573 Fix off-by-one: Truncate if >= num_runs, not just >.
1574 * TestResultServer/model/jsonresults_unittest.py:
1575 Add unit test to test that merging in a new result with the same value
1576 as the last result causes previous result to fall off.
1578 2011-01-06 James Kozianski <koz@chromium.org>
1580 Reviewed by Mihai Parparita.
1582 Add classes to provide a consistent interface to a set of files.
1583 https://bugs.webkit.org/show_bug.cgi?id=50901
1585 These classes allow us to write code that is agnostic to whether a
1586 particular set of files resides in a local directory or in a zip file
1587 on a remote machine.
1589 * Scripts/webkitpy/common/system/directoryfileset.py: Added.
1590 * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
1591 * Scripts/webkitpy/common/system/fileset.py: Added.
1592 * Scripts/webkitpy/common/system/filesystem.py:
1593 * Scripts/webkitpy/common/system/filesystem_mock.py:
1594 * Scripts/webkitpy/common/system/zipfileset.py: Added.
1595 * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.
1597 2011-01-06 Eric Seidel <eric@webkit.org>
1599 Reviewed by Adam Barth.
1601 NetworkTransaction should log the url it is retrying
1602 https://bugs.webkit.org/show_bug.cgi?id=52043
1604 * Scripts/webkitpy/common/net/networktransaction.py:
1605 * Scripts/webkitpy/common/net/networktransaction_unittest.py:
1607 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1610 Import os before using it.
1612 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1614 2011-01-06 Eric Seidel <eric@webkit.org>
1616 Reviewed by Adam Barth.
1618 StyleQueue fails to report errors when patches have many files
1619 https://bugs.webkit.org/show_bug.cgi?id=52042
1621 This is one of at least two errors preventing style error reporting at the moment.
1622 When we moved to passing the list of files to check explicitly,
1623 we started to exceed the 500 character TEXT field limit for our AppEngine model object.
1624 We could change the type of the QueueStatus.message type, or we could
1625 just teach statusserver.py how to clamp values (and warn when it does).
1626 I chose the latter path.
1628 * Scripts/webkitpy/common/net/statusserver.py:
1630 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1632 Reviewed by Stephanie Lewis.
1634 Fix syntax error in script.
1636 Windows bots need to archive/unarchive builds to/from configuration-specific directories
1637 https://bugs.webkit.org/show_bug.cgi?id=51996
1639 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1641 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1643 Unreviewed, fixing WinCE build after r75196.
1645 WinCE port does not (yet) support NPAPI.
1647 * Scripts/build-webkit:
1649 2011-01-06 Xan Lopez <xlopez@igalia.com>
1651 Reviewed by Darin Adler.
1653 File::Spec->rel2abs in sunspider-compare-results mangles parameters
1654 https://bugs.webkit.org/show_bug.cgi?id=52015
1656 * Scripts/sunspider-compare-results: call rel2abs on our arguments
1657 after the platform has been detected, otherwise the script will
1658 mangle things like '--gtk' into '/a/path/--gtk', breaking the
1661 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1663 Reviewed by Eric Seidel.
1665 Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
1666 https://bugs.webkit.org/show_bug.cgi?id=51346
1668 * Scripts/build-webkit:
1670 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1672 Reviewed by Adam Roben.
1674 Windows bots need to archive/unarchive builds to/from configuration-specific directories
1675 https://bugs.webkit.org/show_bug.cgi?id=51996
1677 After the configuration directory change, we were archiving the incorrect directory for
1678 build product, so we were running tests on the wrong binaries.
1680 This change archives the correct directory, and also unarchives it into a configuration-
1683 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
1684 * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.
1686 2011-01-06 Eric Seidel <eric@webkit.org>
1688 Reviewed by Mihai Parparita.
1690 commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
1691 https://bugs.webkit.org/show_bug.cgi?id=52002
1693 See an example of this here:
1694 https://bugs.webkit.org/show_bug.cgi?id=51314#c2
1696 It's due to the fact that we pass around TestFailure() instance
1697 objects and yet expect them to all compare to be the same.
1699 This is bad. We should either have shared instances of these values
1700 or we should just pass around the class names. There are already hacks
1701 in place to make TestFailure objects pass equality tests, I just added
1702 a __hash__ implementation so they can be used in sets as expected.
1704 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1705 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1707 2011-01-06 Evan Martin <evan@chromium.org>
1709 Reviewed by Tony Chang.
1711 [gdb] handle inaccessible memory and UChar*
1712 https://bugs.webkit.org/show_bug.cgi?id=52003
1714 To pretty-print a UChar*, we just grope around in the memory
1715 looking for a terminating NUL. We need to handle the exception
1716 that can occur when we poke into an invalid location.
1718 Additionally, the logic for choosing which pretty-printer would
1719 early return before hitting the point where we'd use the UChar*
1720 printer. (Did this ever work? How did it regress?)
1724 2011-01-05 Brian Weinstein <bweinstein@apple.com>
1726 Reviewed by Ada Chan.
1728 WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
1729 https://bugs.webkit.org/show_bug.cgi?id=51969
1731 Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.
1733 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1734 (WTR::InjectedBundlePage::InjectedBundlePage):
1735 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
1736 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1738 2011-01-06 James Robinson <jamesr@chromium.org>
1740 Reviewed by Simon Fraser.
1742 Implement mozilla's animationTime property
1743 https://bugs.webkit.org/show_bug.cgi?id=51952
1745 Chromium DRT support for webkitAnimationTime.
1747 * DumpRenderTree/chromium/WebViewHost.cpp:
1748 (WebViewHost::paintInvalidatedRegion):
1750 2011-01-06 Julie Parent <jparent@chromium.org>
1752 Reviewed by Tony Chang.
1754 Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
1755 https://bugs.webkit.org/show_bug.cgi?id=51217
1757 * TestResultServer/model/jsonresults.py:
1758 Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
1759 Adds missing documentation.
1760 * TestResultServer/model/jsonresults_unittest.py:
1761 Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
1762 Update test_merge to take a number of builds to truncate at.
1764 2011-01-06 Adam Barth <abarth@webkit.org>
1766 Reviewed by Eric Seidel.
1768 The EWS should log outside of the working directory
1769 https://bugs.webkit.org/show_bug.cgi?id=51986
1771 This patch prepare us for using git clean -x -d -f in the EWS wrapper
1772 script, which will actually clean the working copy back to a pristine
1773 state instead of leaving untracked directories and ignored files.
1775 * Scripts/webkitpy/tool/commands/queues.py:
1776 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1778 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1781 Back out attempted change to built-product-archive.
1783 * BuildSlaveSupport/built-product-archive:
1785 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1788 Include configuration name when unpacking a build archive.
1790 Needed, since we split Windows build results into configuration-specific directories
1791 under WebKitOutputDir.
1793 * BuildSlaveSupport/built-product-archive:
1795 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1797 Reviewed by Darin Adler.
1799 Debug and Release builds on Windows clobber each other
1800 https://bugs.webkit.org/show_bug.cgi?id=49185
1802 Changes the structure of WebKitBuild build products directory so we
1803 completely separate each build configuration into independent directories.
1805 Although we previously had per-configuration directories for obj, this change adds
1806 per-configuration directories for bin, lib, obj, and include. Each configuration's
1807 build products are stored within a directory inside of WebKitBuild.
1809 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
1810 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
1812 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
1813 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
1814 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
1815 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
1816 * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
1817 * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
1818 * DumpRenderTree/win/ImageDiffCommon.vsprops:
1819 * DumpRenderTree/win/ImageDiffPostBuild.cmd:
1820 * DumpRenderTree/win/ImageDiffPreBuild.cmd:
1821 * FindSafari/FindSafari.vcproj:
1822 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
1823 * MiniBrowser/MiniBrowserPostBuild.cmd:
1824 * MiniBrowser/MiniBrowserPreBuild.cmd:
1825 * Scripts/webkitdirs.pm:
1826 * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
1827 * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
1828 * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
1829 * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
1830 * TestWebKitAPI/win/copy-resources.cmd:
1831 * WebKitAPITest/WebKitAPITestCommon.vsprops:
1832 * WebKitAPITest/WebKitAPITestPostBuild.cmd:
1833 * WebKitAPITest/WebKitAPITestPreBuild.cmd:
1834 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
1835 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
1836 * WebKitTestRunner/win/InjectedBundle.vcproj:
1837 * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
1838 * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
1839 * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
1840 * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
1841 * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
1842 * WinLauncher/WinLauncherCommon.vsprops:
1843 * WinLauncher/WinLauncherPostBuild.cmd:
1844 * WinLauncher/WinLauncherPreBuild.cmd:
1846 2011-01-05 Jan Erik Hanssen <jhanssen@sencha.com>
1848 Reviewed by Ariya Hidayat.
1850 [Qt] TestNetscapePlugin doesn't link on OS X
1851 https://bugs.webkit.org/show_bug.cgi?id=51948
1853 Only add a dependency on libX11 on X11 systems
1855 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1857 2011-01-05 Jeff Miller <jeffm@apple.com>
1859 Reviewed by Adam Roben.
1861 check-webkit-style should allow unnecessary parameter names in WebKit2 APIs because we're matching CF's header style
1862 https://bugs.webkit.org/show_bug.cgi?id=51970
1864 * Scripts/webkitpy/style/checker.py:
1865 Add -readability/naming for WebKit2 C API directories.
1867 2011-01-05 Eric Seidel <eric@webkit.org>
1869 Unreviewed, just fixing one more log error from my previous python patch.
1871 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1872 https://bugs.webkit.org/show_bug.cgi?id=51802
1874 webkit-patch failure-reason was logging about parsing errors
1875 due to my misunderstanding of how BeautifulSoup.findAll worked.
1877 Fixed, and added a unit test.
1879 * Scripts/webkitpy/common/net/layouttestresults.py:
1880 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1882 2011-01-05 Benjamin Poulain <benjamin.poulain@nokia.com>
1884 Reviewed by Kenneth Rohde Christiansen.
1886 [Qt] [WK2] Add the possibility to open window from the WebProcess in Minibrowser
1887 https://bugs.webkit.org/show_bug.cgi?id=51951
1889 Set a function to QWKPage::setCreateNewPageFunction() in Minibrowser so there is a way
1890 to create new window from WebKit.
1892 * MiniBrowser/qt/BrowserWindow.cpp:
1894 (BrowserWindow::BrowserWindow):
1895 (BrowserWindow::page): Added to avoid the indirect access to QWKPage spread in the class
1896 (BrowserWindow::newWindow):
1897 (BrowserWindow::updateUserAgentList):
1898 (BrowserWindow::showUserAgentDialog):
1899 * MiniBrowser/qt/BrowserWindow.h: Add the global variable backingStoreTypeForNewWindow to
1900 define the type of the backing store used for new windows.
1901 * MiniBrowser/qt/main.cpp:
1904 2011-01-05 Eric Seidel <eric@webkit.org>
1906 Reviewed by Ojan Vafai.
1908 commit-queue should report failure type when reporting flaky tests
1909 https://bugs.webkit.org/show_bug.cgi?id=51900
1911 This patch was a ridiculous amount of plumbing. In the end I like
1912 the NRWT-style TestResult class even less. But now we're passing
1913 a list of TestResult objects from the queue to the FlakyTestReporter.
1914 Thus the FlakyTestReporter can more easily report what type of failure
1917 In the process, I found that I was not alone in finding TestResult
1918 cumbersome to use. A bunch of code was trying to create a TestResult
1919 object with default values. However since the constructor didn't make
1920 this easy, some places were getting it wrong (including the TestResult unit test)!
1921 I've fixed the TestResult constructor to have default values for non-essential
1924 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1925 * Scripts/webkitpy/common/net/layouttestresults.py:
1926 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1927 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1928 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1929 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1930 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
1931 * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
1932 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1933 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1934 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1935 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1936 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1937 * Scripts/webkitpy/tool/commands/queues.py:
1938 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1940 2011-01-05 Eric Seidel <eric@webkit.org>
1944 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1945 https://bugs.webkit.org/show_bug.cgi?id=51802
1947 Add another unit test to cover a previously missing import.
1949 * Scripts/webkitpy/common/net/layouttestresults.py:
1950 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1952 2011-01-05 Mihai Parparita <mihaip@chromium.org>
1954 Reviewed by David Levin.
1956 Add mihaip@chromium.org as a reviewer
1957 https://bugs.webkit.org/show_bug.cgi?id=51966
1959 Add myself as a reviewer.
1961 * Scripts/webkitpy/common/config/committers.py:
1963 2011-01-05 James Simonsen <simonjam@chromium.org>
1965 Unreviewed. Adding myself to the list of committers.
1967 * Scripts/webkitpy/common/config/committers.py:
1969 2011-01-05 Eric Seidel <eric@webkit.org>
1973 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1974 https://bugs.webkit.org/show_bug.cgi?id=51802
1976 Fix two exceptions seen on the bots after my original commit.
1978 * Scripts/webkitpy/common/net/layouttestresults.py:
1979 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1981 2011-01-05 Kundu Suchismita <suchi.kundu@nokia.com>
1983 Reviewed by Andreas Kling.
1985 [Qt]Add local storage settings to QtTestBrowser command line arguments
1986 https://bugs.webkit.org/show_bug.cgi?id=51750
1988 * QtTestBrowser/main.cpp:
1989 (LauncherApplication::handleUserOptions):
1990 Local storage settings can be enable form command line arguments for
1993 2011-01-05 Chris Fleizach <cfleizach@apple.com>
1995 Reviewed by Martin Robinson.
1997 GTK: AX: DRT needs to use correct root object method.
1998 https://bugs.webkit.org/show_bug.cgi?id=51911
2000 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2001 (AccessibilityController::rootElement):
2003 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2005 Rubber-stamped by Csaba Osztrogonác.
2007 Based on idea from Péter Gál.
2009 * Scripts/webkitpy/tool/bot/sheriff.py: Remove unnecessary apostrophes around revision numbers.
2011 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2013 Reviewed by Adam Barth.
2015 sheriff-bot should be able to do multi-revision rollouts
2016 https://bugs.webkit.org/show_bug.cgi?id=51176
2018 * Scripts/webkitpy/tool/bot/irc_command.py:
2019 * Scripts/webkitpy/tool/bot/sheriff.py:
2020 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
2022 2011-01-05 Eric Seidel <eric@webkit.org>
2024 Reviewed by Adam Barth.
2026 queues.webkit.org should have per-bot status pages
2027 https://bugs.webkit.org/show_bug.cgi?id=51906
2029 Just adds a /queue-status/QUEUE_NAME/bots/BOT_ID page to show
2030 statuses from a single queue. Now that we have many bots servicing
2031 some queues (commit-queue, win-ews, etc.) its easy to have the messages
2032 you care about scroll off the end of the 15-message limit on the main page.
2034 Eventually we should probably rename /queue-status to /queue or /queues,
2035 but that's fodder for another patch.
2037 * QueueStatusServer/handlers/queuestatus.py:
2038 * QueueStatusServer/index.yaml:
2039 * QueueStatusServer/main.py:
2040 * QueueStatusServer/templates/includes/singlequeuestatus.html:
2041 - This probably should use a custom filter instead of hard-coding
2042 the URL scheme here, but I couldn't figure out how to easily
2043 create such a filter. Most filters work with "strings" so we can't
2044 pass the status object. We could add a method to the status
2045 object and call that, but that seemed a bit strange too.
2046 * QueueStatusServer/templates/queuestatus.html:
2048 2011-01-05 Carlos Garcia Campos <cgarcia@igalia.com>
2050 Unreviewed. Adding myself to the list of committers.
2052 * Scripts/webkitpy/common/config/committers.py:
2054 2011-01-04 Koan-Sin Tan <koansin.tan@gmail.com>
2056 Reviewed by David Levin.
2058 check-webkit-style treated some macros with parentheses after #elif as function calls
2059 https://bugs.webkit.org/show_bug.cgi?id=51695
2061 Ingore function call space checking in any preprocessor directives
2062 (things starting with #). Change search() to match() because
2063 preprocessor directives are supposed to be in the beginning of lines.
2065 * Scripts/webkitpy/style/checkers/cpp.py:
2066 * Scripts/webkitpy/style/checkers/cpp_unittest.py: make sure there is no false positives for #elif cases
2068 2011-01-04 Søren Gjesse <sgjesse@chromium.org>
2070 Reviewed by Tony Chang.
2072 Change the --multi-load test option to --stress-opt
2073 https://bugs.webkit.org/show_bug.cgi?id=50751
2075 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2078 * DumpRenderTree/chromium/TestShell.cpp:
2079 (TestShell::TestShell):
2080 * DumpRenderTree/chromium/TestShell.h:
2081 (TestShell::stressOpt):
2082 (TestShell::setStressOpt):
2083 (TestShell::stressDeopt):
2084 (TestShell::setStressDeopt):
2085 (TestShell::javaScriptFlags):
2086 (TestShell::setJavaScriptFlags):
2087 * Scripts/webkitpy/layout_tests/port/chromium.py:
2088 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2090 2011-01-04 Chris Fleizach <cfleizach@apple.com>
2092 Reviewed by Sam Weinig.
2094 WK2: Support Accessibility
2095 https://bugs.webkit.org/show_bug.cgi?id=51859
2097 Use rootObject() method to get top of accessibility tree.
2099 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2100 (AccessibilityController::focusedElement):
2101 (AccessibilityController::rootElement):
2103 2011-01-03 Martin Robinson <mrobinson@igalia.com>
2105 Reviewed by Darin Adler.
2107 Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
2108 https://bugs.webkit.org/show_bug.cgi?id=51846
2110 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Change usage of PlatformRefPtr
2113 2011-01-04 Zhe Su <suzhe@chromium.org>
2115 Reviewed by Kenneth Russell.
2117 Fix insertText, setMarkedText and unmarkText methods of
2118 TextInputController to call corresponding methods of WebKit::WebView
2119 rather than WebKit::WebFrame. This change matches the behavior of
2121 insertText corresponds to WebView::confirmComposition(text)
2122 setMarkedText corresponds to WebView::setComposition(...)
2123 unmarkText corresponds to WebView::confirmComposition()
2124 https://bugs.webkit.org/show_bug.cgi?id=51693
2126 * DumpRenderTree/chromium/TextInputController.cpp:
2127 (TextInputController::insertText):
2128 (TextInputController::setMarkedText):
2129 (TextInputController::unmarkText):
2131 2011-01-04 Dihan Wickremasuriya <dihan.wickremasuriya@nokia.com>
2133 Reviewed by Laszlo Gombos.
2135 [Qt] [Symbian] Do not remove 0 byte sized files from productDir
2137 On Symbian productDir points to the source directory. Removing all the
2138 empty files from the productDir directory corrupts the svn repository.
2140 * Scripts/build-webkit:
2142 2011-01-03 Yi Shen <yi.4.shen@nokia.com>
2144 Reviewed by Adam Barth.
2146 [Qt] Add SelectAll option to the context menu for the editor
2147 https://bugs.webkit.org/show_bug.cgi?id=50049
2149 Set shortcut for the SelectAll action.
2151 * QtTestBrowser/mainwindow.cpp:
2152 (MainWindow::buildUI):
2154 2011-01-03 David Levin <levin@chromium.org>
2156 Reviewed by Eric Seidel.
2158 check-webkit-style shouldn't consider "value" automatically to be a meaningless name.
2159 https://bugs.webkit.org/show_bug.cgi?id=51842
2161 * Scripts/webkitpy/style/checkers/cpp.py: Remove the check for value.
2162 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Remove the test for value.
2164 2011-01-03 Patrick Gansterer <paroga@webkit.org>
2166 Reviewed by David Kilzer.
2168 [WINCE] Adds a build slave.
2169 https://bugs.webkit.org/show_bug.cgi?id=50523
2171 * BuildSlaveSupport/build.webkit.org-config/config.json: Add an
2172 entry for a release build of the WinCE port.
2173 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add platform
2174 flag to build the WinCE port.
2176 2011-01-03 Patrick Gansterer <paroga@webkit.org>
2178 Reviewed by David Kilzer.
2180 Add WinCE support to build-webkit
2181 https://bugs.webkit.org/show_bug.cgi?id=51642
2183 * Scripts/build-webkit:
2184 * Scripts/webkitdirs.pm:
2186 2011-01-03 Eric Seidel <eric@webkit.org>
2188 Reviewed by Adam Barth.
2190 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
2191 https://bugs.webkit.org/show_bug.cgi?id=51802
2193 I'm not the biggest fan of the test_failures or test_results classes,
2194 but it's better to have one shared set of classes, than separate ones
2195 for new vs. old run-webkit-test result handling.
2197 This moves the ORWT results class "LayoutTestResults" over to using
2198 TestResult and TestFailure classes, making it easy for us to
2199 make all our sheriff-bot and other webkitpy code NRWT ready.
2201 This also makes it a trivial patch to generate results.json information
2202 from ORWT results.html files (for flaky test analysis, etc.) as well
2203 as making it a one-liner to report test failure types when the
2204 commit-queue sees flaky tests.
2206 This patch tried not to add new functionality, but only to replace
2207 the guts of LayoutTestResults, while adding unit tests and hoping
2208 not to break anything.
2210 I also moved callers which assumed User.prompt* were static/class methods
2211 to using them as instance methods (since we'll eventually want to make them such).
2213 In the process of re-writing things, I broke the rebaseline command, so I wrote
2214 a unit test to catch my breakage were I do do so again in the future.
2216 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2217 * Scripts/webkitpy/common/net/layouttestresults.py:
2218 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
2219 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
2220 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
2221 * Scripts/webkitpy/tool/commands/queries.py:
2222 * Scripts/webkitpy/tool/commands/rebaseline.py:
2223 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2224 * Scripts/webkitpy/tool/mocktool.py:
2226 2011-01-03 Adam Barth <abarth@webkit.org>
2228 Reviewed by Simon Fraser.
2230 webkit-patch shouldn't waste time cleaning a working directory that's already clean
2231 https://bugs.webkit.org/show_bug.cgi?id=51840
2233 * Scripts/webkitpy/common/checkout/scm.py:
2235 2011-01-03 Adam Barth <abarth@webkit.org>
2237 Reviewed by Simon Fraser.
2239 webkit-patch should only hide update output if --quiet
2240 https://bugs.webkit.org/show_bug.cgi?id=51838
2242 As requested by smfr.
2244 * Scripts/webkitpy/tool/steps/update.py:
2246 2011-01-03 Adam Barth <abarth@webkit.org>
2248 Reviewed by David Levin.
2250 commit-queue shouldn't reject patches twice if two bots process the same patch
2251 https://bugs.webkit.org/show_bug.cgi?id=51805
2253 Before raising an error, we first check whether the patch is still in
2254 the commit-queue. This check is still racy, of course, but the time
2255 window is much smaller.
2257 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2259 2011-01-03 Sam Weinig <sam@webkit.org>
2261 Reviewed by Anders Carlsson.
2263 Make run-api-tests less chatty.
2264 https://bugs.webkit.org/show_bug.cgi?id=51831
2266 - Make script quiet by default and add --verbose option (replacing --quiet).
2267 - When not verbose, pipe stdout and stderr to devnull.
2269 * Scripts/run-api-tests:
2271 2011-01-03 Pratik Solanki <psolanki@apple.com>
2273 Unreviewed. Adding myself to committers.py.
2275 * Scripts/webkitpy/common/config/committers.py:
2277 2011-01-03 Koan-Sin Tan <koansin.tan@gmail.com>
2279 Reviewed by Xan Lopez.
2281 "Tool/Scripts/run-launcher --gtk" stopped working after 74855
2282 https://bugs.webkit.org/show_bug.cgi?id=51806
2284 Originally, the $libraryName is 'JavaScriptCore'. When building release
2285 one, the $libraryDir was 'WebKitBuild/Release/JavaScriptCore/../.libs/'
2286 which doesn't exist anymore ('WebKitBuild/Release/JavaScriptCore'
2287 is 'WebKitBuild/Release/Source/JavaScriptCore' now), and
2288 'WebKitBuild/Release/Source/JavaScriptCore/../../.libs' looks weird,
2289 so make it 'WebKitBuild/Release/.libs'
2291 * Scripts/webkitdirs.pm:
2293 2011-01-02 Patrick Gansterer <paroga@webkit.org>
2295 Reviewed by Adam Barth.
2297 Make EFL a core builder
2298 https://bugs.webkit.org/show_bug.cgi?id=51804
2300 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2301 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2303 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2305 [Qt] Unreviewed fix after r74855 and r74875.
2307 * BuildSlaveSupport/built-product-archive:
2308 - Create directories explicitly.
2309 - Pass shell=True to subprocess.call().
2311 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2313 [Qt] Unreviewed fix after r74855.
2315 Move JavaScriptCore to Source
2316 https://bugs.webkit.org/show_bug.cgi?id=51604
2318 * BuildSlaveSupport/built-product-archive: JavaScriptCore -> Source/JavaScriptCore
2320 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2322 [Qt] Unreviewed run-javasriptcore-tests fix after r74855.
2324 Move JavaScriptCore to Source
2325 https://bugs.webkit.org/show_bug.cgi?id=51604
2327 * Scripts/webkitdirs.pm:
2329 2011-01-02 Robert Hogan <robert@webkit.org>
2331 Unreviewed, build fix.
2333 [Qt] Fix DRT build after 74855
2335 * DumpRenderTree/qt/DumpRenderTree.pro:
2337 2011-01-01 Adam Barth <abarth@webkit.org>
2339 Remove the assumption from the Qt and Gtk builds that every project is
2340 in the root directory.
2342 * Scripts/build-webkit:
2344 2011-01-01 Adam Barth <abarth@webkit.org>
2346 Reviewed by Eric Seidel.
2348 Teach svn-apply how to apply patches even though JavaScriptCore has moved
2349 https://bugs.webkit.org/show_bug.cgi?id=51796
2351 After this change, svn-apply will magically apply patches to
2352 JavaScriptCore/foo to Source/JavaScriptCore/foo.
2354 * Scripts/VCSUtils.pm:
2356 2011-01-01 Adam Barth <abarth@webkit.org>
2358 Reviewed by Eric Seidel.
2360 Move JavaScriptCore to Source
2361 https://bugs.webkit.org/show_bug.cgi?id=51604
2363 Update references to JavaScriptCore to point to the new location.
2365 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2366 * DumpRenderTree/qt/DumpRenderTree.pro:
2367 * DumpRenderTree/qt/ImageDiff.pro:
2368 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2369 * DumpRenderTree/wscript:
2370 * Scripts/build-jsc:
2371 * Scripts/build-webkit:
2372 * Scripts/do-file-rename:
2373 * Scripts/do-webcore-rename:
2374 * Scripts/run-javascriptcore-tests:
2375 * Scripts/update-javascriptcore-test-results:
2376 * Scripts/webkitdirs.pm:
2377 * Scripts/webkitpy/common/config/build_unittest.py:
2378 * Scripts/webkitpy/style/checker.py:
2379 * Scripts/webkitpy/style/checker_unittest.py:
2380 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2381 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
2382 * WebKitTestRunner/qt/WebKitTestRunner.pro:
2383 * wx/build/settings.py:
2385 2011-01-01 Adam Barth <abarth@webkit.org>
2387 Reviewed by Eric Seidel.
2389 Move Sources to Source
2390 https://bugs.webkit.org/show_bug.cgi?id=51794
2392 Update scripts to point to the new location.
2394 * Scripts/build-webkit:
2395 * Scripts/do-file-rename:
2396 * Scripts/do-webcore-rename:
2397 * Scripts/webkitpy/common/config/build.py:
2398 * Scripts/webkitpy/common/config/build_unittest.py:
2400 2010-12-31 Kent Tamura <tkent@chromium.org>
2402 Reviewed by Eric Seidel.
2404 [DRT/Chromium] Enable mock spell checker on non-OSX
2405 https://bugs.webkit.org/show_bug.cgi?id=51401
2407 * DumpRenderTree/chromium/WebViewHost.cpp:
2408 (WebViewHost::spellCheck):
2410 2010-12-31 Adam Barth <abarth@webkit.org>
2412 Reviewed by Ariya Hidayat.
2414 Remove Tools/Scripts/wkstyle
2415 https://bugs.webkit.org/show_bug.cgi?id=51774
2417 This script appears to not have been touched in a while and seems to
2418 have been replaced by check-webkit-style.
2420 * Scripts/wkstyle: Removed.
2422 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
2424 Unreviewed. Coding style fix.
2426 * DumpRenderTree/chromium/TestShell.h:
2428 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
2430 Reviewed by Pavel Feldman.
2432 Web Inspector: [Chromium] Inspector's tests are very slow on Win(Dbg).
2434 It was a problem with Chromium DRT. DevToolsAgent object instance was
2435 attached not only to the inspected page but to the DevTools window too.
2436 As result all the inspector files were interpreted as a content of inspected page
2437 and were transfered to the DevTools scripts panel for debugging etc.
2439 https://bugs.webkit.org/show_bug.cgi?id=51735
2441 * DumpRenderTree/chromium/TestShell.cpp:
2442 (TestShell::TestShell):
2443 (TestShell::bindJSObjectsToWindow):
2444 (TestShell::createNewWindow):
2445 * DumpRenderTree/chromium/TestShell.h:
2447 2010-12-31 Adam Barth <abarth@webkit.org>
2449 Rubber-stamped by Eric Seidel.
2451 Move PageLoadTests to PerformanceTests/PageLoad
2452 https://bugs.webkit.org/show_bug.cgi?id=51771
2454 Update references to PageLoadTests to point to the new location.
2456 * Scripts/run-pageloadtest:
2457 * Scripts/webkitpy/common/config/build.py:
2459 2010-12-31 Adam Barth <abarth@webkit.org>
2461 Rubber-stamped by Eric Seidel.
2463 Move SunSpider into PerformanceTests
2464 https://bugs.webkit.org/show_bug.cgi?id=51769
2466 Update these scripts to point to the new location.
2468 * Scripts/run-sunspider:
2469 * Scripts/sunspider-compare-results:
2471 2010-12-30 Mihai Parparita <mihaip@chromium.org>
2473 Reviewed by Kent Tamura.
2475 [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
2476 https://bugs.webkit.org/show_bug.cgi?id=51728
2478 Add implementation of the Mac WebThemeEngine that uses an NSScroller
2479 to render top-level scrollbars. This makes them match the Mac port's
2480 use of an NSScrollView, which means that we'll be able to share more
2483 The new rendering code will not be activated until the
2484 USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
2485 ScrollbarThemeChromiumMac.
2487 * DumpRenderTree/DumpRenderTree.gypi:
2488 * DumpRenderTree/chromium/TestShellMac.mm:
2490 * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
2491 * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
2492 (+[FakeActiveWindow alwaysActiveWindow]):
2493 (+[FakeActiveWindow alwaysInactiveWindow]):
2494 (-[FakeActiveWindow initWithActiveControls:]):
2495 (-[FakeActiveWindow _hasActiveControls]):
2496 (WebThemeEngineDRTMac::paintScrollbarThumb):
2497 (stateToHIEnableState):
2498 (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
2499 (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
2501 2010-12-30 Konstantin Tokarev <annulen@yandex.ru>
2503 Reviewed by David Kilzer.
2505 [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
2507 https://bugs.webkit.org/show_bug.cgi?id=51672
2509 * DumpRenderTree/qt/DumpRenderTree.pro: Replaced USE_SYSTEM_MALLOC
2510 with USE_SYSTEM_MALLOC=1
2511 * WebKitTestRunner/qt/WebKitTestRunner.pro: Replaced USE_SYSTEM_MALLOC
2512 with USE_SYSTEM_MALLOC=1
2514 2010-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2516 Reviewed by David Kilzer.
2518 [Qt] [Symbian] Fix build-webkit script for Symbian
2519 https://bugs.webkit.org/show_bug.cgi?id=51509
2521 Set the OUTPUT_DIR for Symbian to be the same as the source
2524 * Scripts/webkitdirs.pm:
2526 2010-12-30 Martin Robinson <mrobinson@igalia.com>
2528 Reviewed by Darin Adler.
2530 check-webkit-style should ignore NULL usage in calls to gtk_widget_style_get
2531 https://bugs.webkit.org/show_bug.cgi?id=51758
2533 Add a check-webkit-style exception for gtk_widget_style_get and NULL usage.
2535 * Scripts/webkitpy/style/checkers/cpp.py: Add the exception.
2536 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
2538 2010-12-29 Patrick Gansterer <paroga@webkit.org>
2540 Unreviewed WinCE buildfix.
2542 * WinCELauncher/main.cpp: Add missing include.
2544 2010-12-29 Daniel Bates <dbates@rim.com>
2546 Reviewed by Darin Adler.
2548 svn-apply updates date of wrong change log entry for a change log diff that
2549 contains two consecutive entries with the same author and date
2550 https://bugs.webkit.org/show_bug.cgi?id=46061
2552 Fixes an issue where the date of the wrong change log entry may be modified.
2553 Moreover, changes fixChangeLogPatch() to move entries inserted earlier
2554 in a ChangeLog file to the top of the file.
2556 Currently, fixChangeLogPatch() explicitly bails out and returns an unchanged
2557 diff when it detects that the diff inserts a change log entry earlier in a
2558 ChangeLog. It is unusual to land a patch that has such a deliberate ChangeLog
2559 change. With the advent of the commit-queue this functionality of bailing out
2560 and hence landing the patch as-is is harmful to the accuracy of the ChangeLog.
2561 Instead, we should always move the change log entry to the top of the ChangeLog file.
2563 A side-effect of this change is that setChangeLogDateAndReviewer() now updates
2564 the date line of the correct change log entry in a ChangeLog diff.
2566 * Scripts/VCSUtils.pm: Modified fixChangeLogPatch() to move entries inserted earlier to the top.
2568 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
2569 Updated the following unit tests now that we move entries inserted earlier to the top:
2570 - "fixChangeLogPatch: New entry inserted in middle."
2571 (formerly named "fixChangeLogPatch: [no change] New entry inserted in middle.")
2573 - "fixChangeLogPatch: New entry inserted earlier in the file, but after an entry with the same author and date."
2574 (formerly named "fixChangeLogPatch: [no change] New entry inserted earlier in the file, but after an entry with the same author and date.")
2576 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl: Added.
2578 2010-12-29 Konstantin Tokarev <annulen@yandex.ru>
2580 Reviewed by Eric Seidel.
2582 [Qt] Fixed compatibility with gold linker on X11 platforms
2583 https://bugs.webkit.org/show_bug.cgi?id=51700
2585 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2586 Linked TestNetscapePlugin with libX11 on Unix platforms
2588 2010-12-29 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
2590 Reviewed by Darin Adler.
2592 Circular dependency in webkitpy.common.checkout.changelog module
2593 https://bugs.webkit.org/show_bug.cgi?id=50475
2595 Remove automatic import of api.Checkout module when any checkout/
2596 submodule is imported (e.g.: when checkout.scm.Git is imported).
2598 * Scripts/webkitpy/common/checkout/__init__.py:
2600 2010-12-29 Martin Robinson <mrobinson@igalia.com>
2602 Reviewed by Ojan Vafai.
2604 prepare-ChangeLog should support the -g option for specifying the git-commit
2605 https://bugs.webkit.org/show_bug.cgi?id=51708
2607 Add a -g shortcut for the --git-commit prepare-ChangeLog option. This matches
2608 webkit-patch, though the exact meaning of the two options remain different.
2610 * Scripts/prepare-ChangeLog: Add -g.
2612 2010-12-29 Kent Hansen <kent.hansen@nokia.com>
2614 Reviewed by Simon Hausmann.
2616 [Qt] Fix compilation with Qt in namespace
2617 https://bugs.webkit.org/show_bug.cgi?id=51701
2619 * QtTestBrowser/webview.h:
2621 2010-12-28 Daniel Bates <dbates@rim.com>
2623 Reviewed by Sam Weinig.
2625 Substitute // MARK: for compiler-specific #pragma mark
2626 https://bugs.webkit.org/show_bug.cgi?id=51657
2628 Fix future compilation warnings about "#pragma mark" on GTK+ bots by
2629 substituting "// MARK:" for "#pragma mark", which provides
2630 analogous code-bookmarking functionality under Xcode.
2632 Also, for consistency, we should substitute "// MARK:" for compiler-
2633 specific "#pragma mark" in the source files for the Mac port.
2635 * DumpRenderTree/AccessibilityTextMarker.cpp:
2636 * DumpRenderTree/cf/WebArchiveDumpSupport.h:
2637 * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
2638 * DumpRenderTree/mac/ObjCController.m:
2639 * MiniBrowser/mac/AppDelegate.m:
2640 * MiniBrowser/mac/BrowserWindowController.m:
2642 2010-12-28 Xan Lopez <xlopez@igalia.com>
2644 Reviewed by Eric Seidel.
2646 Add --no-build option to run-sunspider
2647 https://bugs.webkit.org/show_bug.cgi?id=51658
2649 * Scripts/run-sunspider: add --no-build flag to skip building
2652 2010-12-27 Daniel Bates <dbates@rim.com>
2654 Rubber-stamped by Martin Robinson.
2656 Append the directory Tools/DumpRenderTree to the list of directories that
2657 do-webcore-rename should search so that it can rename DRT files and
2660 * Scripts/do-webcore-rename:
2662 2010-12-27 Eric Seidel <eric@webkit.org>
2664 Reviewed by Adam Barth.
2666 build-webkit should detect missing Java SDK and explain how to install it
2667 https://bugs.webkit.org/show_bug.cgi?id=51651
2669 * Scripts/build-webkit:
2671 2010-12-26 Martin Robinson <mrobinson@igalia.com>
2673 Reviewed by Daniel Bates.
2675 [GTK] Add support for build-jsc
2676 https://bugs.webkit.org/show_bug.cgi?id=51625
2678 Add GTK+ support to build-jsc now that building the jsc executable as
2679 a standalone target is easy.
2681 * Scripts/build-jsc: Call buildGtkProject for the GTK+ case now.
2682 * Scripts/build-webkit: Pass in the proper target name to buildGtkProject.
2683 * Scripts/webkitdirs.pm: Actually process the project parameter in buildGtkProject
2684 and pass it along to buildAutotoolsProject.
2686 2010-12-27 David Levin <levin@chromium.org>
2688 Reviewed by Eric Seidel.
2690 check-webkit-style check for meaningless variable names in function declarations.
2691 https://bugs.webkit.org/show_bug.cgi?id=51523
2693 * Scripts/webkitpy/style/checker.py: Exempted JavaScriptCore/jit/JITStubs.cpp
2694 from the new check and whitespace/parens because the syntax is unusual and
2695 produced a fair number of positives for these checks.
2696 * Scripts/webkitpy/style/checkers/cpp.py:
2697 (_convert_to_lower_with_underscores): Used as a canonical form for type names
2698 and parameter names when determining if the parameter name is useless.
2699 (_create_acronym): Used to check for redundant variable names in cases like "ExceptionCode ec"
2700 (Parameter.lower_with_underscores_name): Gives back the parameter name in a lower_with_underscore
2702 (_check_parameter_name_against_text): Checks to see if the parameter name is in the
2703 text or an acronym of it.
2704 (check_function_definition): Checks function definitions for meaningless variable names.
2705 (process_line): Added call to check_function_definition.
2706 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2707 (CppFunctionsTest.test_convert_to_lower_with_underscores): Test for _convert_to_lower_with_underscores.
2708 (CppFunctionsTest.test_create_acronym): Test for _create_acronym.
2709 (CppFunctionsTest.test_check_parameter_against_text): Test for _check_parameter_against_text.
2710 (CppStyleTestBase.perform_single_line_lint): Removed the parameter name check
2711 because when only checking a snippet, there are a lot of bogus functions.
2712 (CppStyleTestBase.perform_multi_line_lint): Ditto and removed a bogus filter
2713 that I put there previously and just noticed.
2714 (WebKitStyleTest.test_parameter_names): Tests for the functionality -- both
2715 check_function_definition and process_line.
2717 2010-12-27 Carlos Garcia Campos <cgarcia@igalia.com>
2719 Reviewed by Martin Robinson.
2721 [GTK] Disable flash plugin in GtkLauncher when using gtk3
2722 https://bugs.webkit.org/show_bug.cgi?id=51591
2724 Flash plugin uses gtk2 that is incompatible with gtk3 making
2725 webkit crash when it's built with gtk3.
2727 * GtkLauncher/main.c:
2730 2010-12-25 Adam Barth <abarth@webkit.org>
2732 Reviewed by Eric Seidel.
2734 Move ANGLE to Sources/ThirdParty
2735 https://bugs.webkit.org/show_bug.cgi?id=51605
2737 * Scripts/build-webkit:
2738 - Point to the new ANGLE location.
2740 2010-12-26 David Levin <levin@chromium.org>
2742 Reviewed by Eric Seidel.
2744 check-webkit-style should be able to parse function declaration parameters.
2745 https://bugs.webkit.org/show_bug.cgi?id=51451
2747 * Scripts/webkitpy/style/checkers/cpp.py:
2748 (Position.__init__): Holds simple position information (row, column).
2749 (Parameter.__init__): Holds information about a parameter.
2750 (SingleLineView.__init): Converts multiple lines into a single line for simpler searches.
2751 (SingleLineView.convert_column_to_row): Returns the original row given a column.
2752 (create_skeleton_parameters): Simplifies a parameter list for easier searching.
2753 (find_parameter_name_index): Finds where the parameter name is.
2754 (parameter_list): Generates the list of parameters for a function.
2755 (_FunctionState.begin): Added information to allow determining the parameters
2757 (_FunctionState.get_parameter_list): Returns a tuple of function parameters.
2758 (detect_functions): Improve function detection for operator functions and
2759 determine where the parameters end and pass that to _FunctionState.begin.
2760 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2761 (CppFunctionsTest.test_parameter): Verifies Parameter functionality.
2762 (CppFunctionsTest.test_single_line_view): Verifies SingleLineView functionality.
2763 (CppFunctionsTest.test_create_skeleton_parameters): Verifies create_skeleton_parameters.
2764 (CppFunctionsTest.test_find_parameter_name_index): Verifies find_parameter_name_index.
2765 (CppFunctionsTest.test_parameter_list): Does some minimal verification for parameter list.
2766 Much more thorough verification is done as part of FunctionDetectionTest.test_parameter_list.
2767 (FunctionDetectionTest.perform_function_detection): Added support for verifying
2768 the parameters found.
2769 (FunctionDetectionTest.test_function_declaration_detection): Added more function
2770 detection test to verify that we catch the operator functions.
2771 (FunctionDetectionTest.test_ignore_macros): Verify that function detection ignores macros.
2772 (FunctionDetectionTest.test_parameter_list): Added tests to verify the parameter parsing.
2773 (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Removed
2774 because the error. The test is about the bad function name. Fixing the name makes the test exactly like
2775 test_function_length_check_definition_severity1_for_test.
2777 2010-12-25 Patrick Gansterer <paroga@webkit.org>
2779 Unreviewed WinCE buildfix after r74334.
2781 * CMakeListsWinCE.txt:
2783 2010-12-24 Sheriff Bot <webkit.review.bot@gmail.com>
2785 Unreviewed, rolling out r74632.
2786 http://trac.webkit.org/changeset/74632
2787 https://bugs.webkit.org/show_bug.cgi?id=51600
2789 makes test-webkitpy hang forever on GTK (Requested by philn-tp
2792 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
2793 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
2795 2010-12-24 Ryuan Choi <ryuan.choi@samsung.com>
2797 Reviewed by Kenneth Rohde Christiansen.
2799 [EFL] Screen doesn't be rendered when changing size of EWebLauncher
2800 https://bugs.webkit.org/show_bug.cgi?id=43528
2802 Remove on_resize because ewk_view_fixed_layout_size_set should not be
2803 called on callback of EVAS_CALLBACK_RESIZE. As it change size of
2804 FrameView, rendering was ignored when _ewk_view_smart_calculate was
2807 * EWebLauncher/main.c:
2810 2010-12-24 Eric Seidel <eric@webkit.org>
2812 Reviewed by Adam Barth.
2814 webkit-patch (or a pre-commit hook) needs to prevent bad ChangeLog changes
2815 https://bugs.webkit.org/show_bug.cgi?id=28291
2817 This is a start. At least now webkit-patch will prompt when your ChangeLog looks questionable.
2818 We could do more advanced things, like parsing the ChangeLog (with changelog.py) and comparing that
2819 to strings with find in the diff.
2820 Since non-interactive always returns the default, this should cause patches with bad changelogs to fail on the commit-queue.
2822 * Scripts/webkitpy/common/checkout/api.py:
2823 * Scripts/webkitpy/common/checkout/diff_parser.py:
2824 * Scripts/webkitpy/tool/steps/abstractstep.py:
2825 * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
2826 * Scripts/webkitpy/tool/steps/validatechangelogs.py: Copied from Tools/Scripts/webkitpy/tool/steps/validatereviewer.py.
2827 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py: Copied from Tools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
2828 * Scripts/webkitpy/tool/steps/validatereviewer.py:
2830 2010-12-24 Dirk Pranke <dpranke@chromium.org>
2832 Reviewed by Kenneth Russell.
2834 Modify new-run-webkit-tests to shut up and exit when all the threads
2835 are wedged so that test runs complete faster and we don't end up
2836 w/ enormous log files.
2838 https://bugs.webkit.org/show_bug.cgi?id=51572
2840 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
2841 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
2843 2010-12-24 Eric Seidel <eric@webkit.org>
2845 Reviewed by David Levin.
2847 commit-queue should better explain how it will re-open bugs and follow duplicate chains
2848 https://bugs.webkit.org/show_bug.cgi?id=51549
2850 I've had multiple people ask me about the commit-queue's behavior
2851 regarding reporting flaky tests. I figured it would be best to just
2852 have the queue explain itself in the bugs it files.
2854 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2855 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
2857 2010-12-24 Shinichiro Hamaji <hamaji@chromium.org>
2859 Reviewed by Eric Seidel.
2861 check-webkit-style: should ignore "wrong" namings in JavaScriptCore/qt
2862 https://bugs.webkit.org/show_bug.cgi?id=51467
2864 * Scripts/webkitpy/style/checker.py:
2865 * Scripts/webkitpy/style/checker_unittest.py:
2867 2010-12-23 Adam Barth <abarth@webkit.org>
2869 Rubber-stamped by Eric Seidel.
2871 Move JavaScriptGlue into Sources
2872 https://bugs.webkit.org/show_bug.cgi?id=51583
2874 These tools refer to JavaScriptGlue and need to be updated to its new
2877 * Scripts/build-webkit:
2878 * Scripts/do-file-rename:
2879 * Scripts/do-webcore-rename:
2880 * Scripts/webkitpy/common/config/build.py:
2881 * Scripts/webkitpy/common/config/build_unittest.py:
2883 2010-12-23 Lucas Forschler <lforschler@apple.com>
2885 Reviewed by Eric Seidel.
2887 Bug 51539 - update iexploder scripts to point to new location
2889 * Scripts/run-iexploder-tests:
2890 * Scripts/update-iexploder-cssproperties:
2892 2010-12-23 Evan Martin <evan@chromium.org>
2894 Reviewed by Ryosuke Niwa.
2896 [chromium] LayoutTestController warning in float->int conversion
2897 https://bugs.webkit.org/show_bug.cgi?id=51553
2899 Rather than reading an int, converting to a float, then getting a compiler
2900 warning on passing the float to something that expects an int, instead
2901 just pass around ints.
2903 No tests, fixes a compiler warning.
2905 * DumpRenderTree/chromium/LayoutTestController.cpp:
2906 (parsePageSizeParameters):
2907 (LayoutTestController::pageNumberForElementById):
2908 (LayoutTestController::numberOfPages):
2910 2010-12-23 Lucas Forschler <lforschler@apple.com>
2912 Reviewed by Darin Adler.
2914 Bug 51537 - iexploder needs cleanup
2916 * iExploder/htdocs: Removed.
2917 * iExploder/htdocs/config.rb: Removed.
2918 * iExploder/htdocs/cssproperties.in: Removed.
2919 * iExploder/htdocs/cssvalues.in: Removed.
2920 * iExploder/htdocs/htmlattrs.in: Removed.
2921 * iExploder/htdocs/htmltags.in: Removed.
2922 * iExploder/htdocs/htmlvalues.in: Removed.
2923 * iExploder/htdocs/iexploder.cgi: Removed.
2924 * iExploder/htdocs/iexploder.rb: Removed.
2925 * iExploder/htdocs/index.html: Removed.
2926 * iExploder/htdocs/webserver.rb: Removed.
2927 * iExploder/iexploder-1.7.2/output: Removed.
2928 * iExploder/tools: Removed.
2929 * iExploder/tools/lasthit.rb: Removed.
2930 * iExploder/tools/osx_last_crash.rb: Removed.
2931 * iExploder/tools/showtest.rb: Removed.
2933 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2935 Reviewed by Kenneth Rohde Christiansen.
2937 [EFL] Make 'single' the default backing store in EWebLauncher
2938 https://bugs.webkit.org/show_bug.cgi?id=51534
2940 'single' is the simplest backing store and the one intended to be the
2941 default in the test browser. By mistake the tiled backing store was
2942 left as default in r72617.
2944 * EWebLauncher/main.c:
2945 (browserCreate): ditto.
2947 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2949 Reviewed by Kenneth Rohde Christiansen.
2951 [EFL] Subject: [webkit 4/4] [EFL] Remove non-sense workaround
2952 https://bugs.webkit.org/show_bug.cgi?id=51533
2954 There's no point in concatenating env("HOME") with "blah", so remove
2955 option from EWebLauncher.
2957 * EWebLauncher/main.c:
2960 2010-12-23 Ilya Tikhonovsky <loislo@chromium.org>
2962 Reviewed by Eric Seidel.
2964 Web Inspector: chromium: inspector's tests are quite slow especially at windows(Debug).
2966 Almost all inspector's tests become flaky on chromium Win(dbg) after switching to DRT.
2967 I just discovered that we have two additional GC runs per each WebViewHost.
2968 Test_shell had no such calls.
2969 These gc runs eat 15% of cpu time.
2971 https://bugs.webkit.org/show_bug.cgi?id=51479
2973 * DumpRenderTree/chromium/WebViewHost.cpp:
2974 (WebViewHost::~WebViewHost):
2976 2010-12-22 Dirk Pranke <dpranke@chromium.org>
2978 Reviewed by Ojan Vafai.
2980 This change splits out the TestRunner class into its own file.
2981 When we fork the code for message passing, we will create a new
2982 TestRunner, and this change will allow that to be more modular.
2984 While we're at it, split out TestInput and ResultSummary into
2985 their own files, to reduce the size of run_webkit_tests to
2986 something more managable.
2988 https://bugs.webkit.org/show_bug.cgi?id=51092
2990 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2991 * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
2992 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
2993 * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
2994 * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
2995 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2996 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2998 2010-12-22 Dirk Pranke <dpranke@chromium.org>
3000 Reviewed by Ojan Vafai.
3002 nrwt multiprocessing - start over, prepare to fork the code
3004 This code cleans up the signatures and implementation of the
3005 TestRunner class so we can easily fork it to run either the
3006 stable implementation or the new, unstable message-passing
3007 implementation. The two variants will have different
3008 implementations of the run_tests() method. We will switch
3009 between the two based on the setting for the '--worker-model'
3010 switch. We rename the two currently valid values to 'old-inline'
3013 https://bugs.webkit.org/show_bug.cgi?id=51081
3015 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3016 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3018 2010-12-22 Victor Wang <victorw@chromium.org>
3020 Reviewed by Darin Fisher.
3022 [Chromium] Update chromium archive test result url in rebaseline script.
3024 https://bugs.webkit.org/show_bug.cgi?id=51503
3026 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
3028 2010-12-22 Lucas Forschler <lforschler@apple.com>
3030 Reviewed by Alice Liu.
3032 <rdar://problem/8633222> record-memory-win needs to record memory used by the webprocess.
3033 Verified on Chrome, Safari, and IE.
3034 With this change, we will record memory from a parent browser window and all child processes.
3036 * record-memory-win/main.cpp:
3043 (QueryContinuously):
3046 2010-12-22 Lucas Forschler <lforschler@apple.com>
3048 Unreviewed rollout r74489, because it was missing changelog.
3050 * record-memory-win/main.cpp:
3052 2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
3054 Adding myself as a reviewer.
3056 * Scripts/webkitpy/common/config/committers.py:
3058 2010-12-22 Andrew Scherkus <scherkus@chromium.org>
3060 Unreviewed. Adding myself to committers.py.
3062 * Scripts/webkitpy/common/config/committers.py:
3064 2010-12-22 Ariya Hidayat <ariya@sencha.com>
3066 Reviewed by Kenneth Rohde Christiansen.
3068 TestNetscapePlugIn should use #if defined
3069 https://bugs.webkit.org/show_bug.cgi?id=51471
3071 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3075 2010-12-22 Ilya Tikhonovsky <loislo@chromium.org>
3077 Reviewed by Yury Semikhatsky.
3079 Web Inspector: [chromium] DRT inspector layout tests are flaky in debug.
3081 DevTools window should be closed explicitly because it has custom deinitialization code.
3083 https://bugs.webkit.org/show_bug.cgi?id=50722
3085 * DumpRenderTree/chromium/TestShell.cpp:
3086 (TestShell::closeRemainingWindows):
3088 2010-12-22 David Levin <levin@chromium.org>
3090 Reviewed by Shinichiro Hamaji.
3092 check-webkit-style shouldn't complaint about underscores in variables in objective C files.
3093 https://bugs.webkit.org/show_bug.cgi?id=51452
3095 * Scripts/webkitpy/style/checkers/cpp.py:
3096 (_FileState.__init__): Added the information to determine if a file is C or Objective C.
3097 Using the file extension if possible but falling back to the file contents if we have a header file.
3098 (_FileState.is_objective_c): Determine if we have an Objective C by examining the file contents if needed.
3099 (_FileState.is_c_or_objective_c):
3100 (check_using_std): Changed to using _FileState to determine the file type.
3101 (check_max_min_macros): Ditto.
3102 (check_for_null): Ditto.
3103 (check_style): Changed the parameters to various calls since they now need _FileState
3104 to determine the file type.
3105 (check_language): Added the file_state parameter so it could be passed
3106 to check_identifier_name_in_declaration.
3107 (check_identifier_name_in_declaration): Don't warn about underscores in variables if
3108 this is an Objective C file.
3109 (_process_lines): Added information for the _FileState constructor (and moved the
3110 call to a place that had the information).
3111 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3112 (CppFunctionsTest.test_is_c_or_objective_c): Changed the tests to use FileState and exercise
3114 (WebKitStyleTest.test_names): Add tests for underscores in Objective C files.
3116 2010-12-21 Andy Estes <aestes@apple.com>
3118 Reviewed by Mark Rowe.
3120 Do not build non-Intel architectures for WebKit2-related projects.
3121 https://bugs.webkit.org/show_bug.cgi?id=51440
3123 * MiniBrowser/Configurations/Base.xcconfig: Only build for i386 and x86_64.
3124 * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
3125 * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
3127 2010-12-21 Mihai Parparita <mihaip@chromium.org>
3129 Reviewed by Darin Fisher.
3131 [Chromium] Rename WebThemeEngine/ControlDRT to WebThemeEngine/ControlDRTWin
3132 https://bugs.webkit.org/show_bug.cgi?id=51406
3134 Rename WebThemeControlDRT to WebThemeControlDRTWin and WebThemeEngineDRT
3135 to WebThemeEngineDRTWin and update references everywhere.
3137 * DumpRenderTree/DumpRenderTree.gypi:
3138 * DumpRenderTree/chromium/TestShellWin.cpp:
3139 * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.cpp.
3140 * DumpRenderTree/chromium/WebThemeControlDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.h.
3141 * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.cpp.
3142 * DumpRenderTree/chromium/WebThemeEngineDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.h.
3144 2010-12-21 Anders Carlsson <andersca@apple.com>
3146 Reviewed by John Sullivan.
3148 Clicking missing plug-in text does not show a sheet
3149 https://bugs.webkit.org/show_bug.cgi?id=51403
3151 Update for changes to the WebPageUIClient.
3153 * MiniBrowser/mac/BrowserWindowController.m:
3154 (-[BrowserWindowController awakeFromNib]):
3155 * WebKitTestRunner/TestController.cpp:
3156 (WTR::createOtherPage):
3157 (WTR::TestController::initialize):
3159 2010-12-21 Eric Seidel <eric@webkit.org>
3161 Reviewed by Adam Barth.
3163 commit-queue will report constant failures as flaky if other tests flake
3164 https://bugs.webkit.org/show_bug.cgi?id=51272
3166 This patch just removes functionality and adds testing.
3167 Previously we attempted to report flaky tests when we had
3168 two different tests fail in a row. However, since we stop
3169 running the tests at the first failure, our code was wrong in
3170 trying to determine flakiness from the incomplete runs.
3172 Originally I posted an alternate patch:
3173 https://bug-51272-attachments.webkit.org/attachment.cgi?id=77078
3174 which fixed our flaky logic in this case, however it was decided
3175 that that patch would be too difficult to maintain, so now
3176 I'm just removing the broken logic.
3178 This will dramatically cut-down on our flaky-test false positives
3179 at the (small) cost of the queues being unable to report
3180 any flakiness if the tree is very flaky. (With at least one test
3181 flaking on every run, we'll never report failures anymore.) I think
3182 this is a tradeoff worth making.
3184 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3185 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3187 2010-12-20 Eric Seidel <eric@webkit.org>
3189 Reviewed by Adam Barth.
3191 commit-queue wrongly rejects patches when it can't update itself
3192 https://bugs.webkit.org/show_bug.cgi?id=46636
3194 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3195 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3196 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3198 2010-12-20 Adam Barth <abarth@webkit.org>
3200 Move web sites to Websites directory
3201 https://bugs.webkit.org/show_bug.cgi?id=51323
3203 Update references to BugsSite to point to the new location.
3205 This patch was never officially reviewed (because it was too large to
3206 upload to bugs.webkit.org), but it was discussed on webkit-dev and Mark
3207 Rowe gave me the green light.
3209 * Scripts/old-run-webkit-tests:
3210 * Scripts/webkitpy/common/config/build.py:
3211 * Scripts/webkitpy/common/config/build_unittest.py:
3212 * Scripts/webkitpy/common/prettypatch.py:
3213 * Scripts/webkitpy/layout_tests/port/base.py:
3214 * Scripts/webkitpy/style/main.py:
3216 2010-12-20 Adrienne Walker <enne@google.com>
3218 Unreviewed. Adding myself to the list of committers.
3220 * webkitpy/common/config/committers.py:
3222 2010-12-20 Mark Rowe <mrowe@apple.com>
3224 Reviewed by Dan Bernstein.
3226 <rdar://problem/8757601> Don't install header files in to the Resources directory.
3228 * Scripts/check-for-inappropriate-files-in-framework: Don't allow .h files in the
3229 Resources directory.
3231 2010-12-20 Eric Seidel <eric@webkit.org>
3233 Reviewed by Adam Barth.
3235 commit-queue should include bot id when attaching failure diffs
3236 https://bugs.webkit.org/show_bug.cgi?id=51280
3238 This is a tiny change to include the bot id in the name of the attachment.
3239 Most of this diff is just changing the unit test expectations
3240 now that I hid the comment printing when the comment is None.
3242 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3243 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
3244 * Scripts/webkitpy/tool/commands/upload_unittest.py:
3245 * Scripts/webkitpy/tool/mocktool.py:
3247 2010-12-20 Jeff Miller <jeffm@apple.com>
3249 Reviewed by Dan Bernstein.
3251 Tools/vcbin/midl.exe needs to be rebuilt
3252 https://bugs.webkit.org/show_bug.cgi?id=51347
3254 * vcbin/midl.exe: Rebuilt.
3256 2010-12-20 David Levin <levin@chromium.org>
3258 Reviewed by Ariya Hidayat.
3260 .gitignore and webkit-tools-completion.sh have references to WebKitTools that should be Tools.
3261 https://bugs.webkit.org/show_bug.cgi?id=51343
3263 Follow up from the WebKitTools -> Tools rename.
3265 * Scripts/webkit-tools-completion.sh:
3267 2010-12-20 Cosmin Truta <ctruta@chromium.org>
3269 Reviewed by James Robinson.
3271 new-run-webkit-tests ignores trailing EOL differences in text tests
3272 https://bugs.webkit.org/show_bug.cgi?id=36983
3274 Changed the handling of new-line characters within new-run-webkit-tests
3275 to match old-run-webkit-tests. Differences in leading and trailing empty
3276 lines in text expectation files are no longer ignored.
3278 * Scripts/webkitpy/layout_tests/port/base.py:
3279 * Scripts/webkitpy/layout_tests/port/test.py:
3280 Added unit tests. Removed old duplicate unit test entries.
3281 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3283 2010-12-20 David Levin <levin@chromium.org>
3285 Reviewed by Shinichiro Hamaji.
3287 check-webkit-style should detect function declarations (and trivial functions).
3288 https://bugs.webkit.org/show_bug.cgi?id=51303
3290 * Scripts/webkitpy/style/checkers/cpp.py:
3291 (_FunctionState.begin): Add is_declaration and changed the line count
3292 start to begin at -1 (which will keep the results consistent, since
3293 the starting line number passed in is one less in this change).
3294 (detect_functions): changed function detection to now catch trivial
3295 functions and declarations.
3296 (check_pass_ptr_usage): Don't check for Pass*Ptr on the first line
3297 of the function as this may look at return values (when processing
3299 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3300 (FunctionDetectionTest.perform_function_detection): Basic mechanics
3301 of testing the function detection.
3302 (FunctionDetectionTest.test_basic_function_detection): Test a simple
3304 (FunctionDetectionTest.test_function_declaration_detection): Test a
3306 (FunctionDetectionTest.test_non_functions): A test case for a case
3307 that caused the code to fail due to the { being in quotes.
3308 (PassPtrTest.test_pass_ref_ptr_return_value): Added some more test
3309 cases to help catch false alarms for return values.
3310 (PassPtrTest.test_pass_ref_ptr_member_variable): Ensure that
3311 we don't get false alarms for member variables either.
3313 2010-12-20 Ryuan Choi <ryuan.choi@samsung.com>
3315 Reviewed by Antonio Gomes.
3317 [CMAKE] Rename WEBKITTOOLS_DIR to TOOLS_DIR
3318 https://bugs.webkit.org/show_bug.cgi?id=51319
3320 * CMakeListsEfl.txt:
3322 2010-12-18 Adam Barth <abarth@webkit.org>
3324 Reviewed by Sam Weinig.
3326 Move WebKitExamplePlugins to Examples
3327 https://bugs.webkit.org/show_bug.cgi?id=51291
3329 * Scripts/webkitpy/common/config/build.py:
3331 2010-12-17 Csaba Osztrogonác <ossy@webkit.org>
3333 Unreviewed Qt buildfix after r74301.
3335 Rename WebKitTools to Tools
3336 https://bugs.webkit.org/show_bug.cgi?id=49861
3338 * MiniBrowser/DerivedSources.pro:
3339 * MiniBrowser/qt/MiniBrowser.pro:
3341 2010-12-17 Dan Bernstein <mitz@apple.com>
3343 Reviewed by Simon Fraser.
3345 Rename WebKitTools to Tools
3346 https://bugs.webkit.org/show_bug.cgi?id=49861
3348 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3349 * CodeCoverage/README:
3350 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3351 (WebCore::DumpRenderTree::initializeFonts):
3352 * EWSTools/start-commit-queue.sh:
3353 * EWSTools/start-queue.sh:
3355 * MIDLWrapper/MIDLWrapper.cpp:
3357 * MiniBrowser/qt/MiniBrowser.pro:
3358 * Scripts/build-api-tests:
3359 * Scripts/build-dumprendertree:
3360 * Scripts/build-webkit:
3361 * Scripts/build-webkittestrunner:
3362 * Scripts/generate-coverage-data:
3363 * Scripts/old-run-webkit-tests:
3364 * Scripts/run-api-tests:
3365 * Scripts/run-iexploder-tests:
3366 * Scripts/run-javascriptcore-tests:
3367 * Scripts/run-mangleme-tests:
3368 * Scripts/run-sunspider:
3369 * Scripts/run-webkit-websocketserver:
3370 * Scripts/sunspider-compare-results:
3371 * Scripts/test-webkitperl:
3372 * Scripts/test-webkitpy:
3373 * Scripts/update-iexploder-cssproperties:
3374 * Scripts/update-webkit:
3375 * Scripts/update-webkit-localizable-strings:
3376 * Scripts/webkitdirs.pm:
3377 * Scripts/webkitpy/common/checkout/scm.py:
3378 * Scripts/webkitpy/common/checkout/scm_unittest.py:
3379 * Scripts/webkitpy/common/config/committervalidator.py:
3380 * Scripts/webkitpy/common/config/committervalidator_unittest.py:
3381 * Scripts/webkitpy/common/config/ports.py:
3382 * Scripts/webkitpy/common/config/ports_unittest.py:
3383 * Scripts/webkitpy/common/system/logutils_unittest.py:
3384 * Scripts/webkitpy/common/system/ospath_unittest.py:
3385 * Scripts/webkitpy/layout_tests/port/chromium.py:
3386 * Scripts/webkitpy/layout_tests/port/config.py:
3387 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
3388 * Scripts/webkitpy/layout_tests/port/http_server.py:
3389 * Scripts/webkitpy/layout_tests/port/test.py:
3390 * Scripts/webkitpy/style/checker.py:
3391 * Scripts/webkitpy/style/checker_unittest.py:
3392 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
3393 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3394 * Scripts/webkitpy/tool/steps/steps_unittest.py:
3395 * WebKitTestRunner/DerivedSources.pro:
3396 * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
3397 (WTR::activateFonts):
3398 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
3399 * wx/build/build_utils.py:
3401 2010-12-16 Antonio Gomes <agomes@rim.com>
3403 Reviewed by Martin Robinson.
3405 Settings::editingBehaviorType() incorrectly returns mac for the gtk build when running tests
3406 https://bugs.webkit.org/show_bug.cgi?id=51163
3408 Since GTK+'s default editing behavior was changed to UNIX in r70975 (see webkitwebsettings.cpp),
3409 GTK+'s DRT should also reset to UNIX after each test execution.
3411 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3412 (resetDefaultsToConsistentValues):
3414 2010-12-17 David Levin <levin@chromium.org>
3416 Reviewed by Eric Seidel.
3418 check-webkit-style should understand WTF #include guards
3419 https://bugs.webkit.org/show_bug.cgi?id=44911
3421 * Scripts/webkitpy/style/checkers/cpp.py:
3422 (get_header_guard_cpp_variable): modify to suggest the WTF style
3423 of header guard when appropriate.
3424 (check_for_header_guard): handle multiple return values from
3425 get_header_guard_cpp_variable
3426 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3427 (CppStyleTest.test_build_header_guard): Added tests for the WTF
3430 2010-12-16 David Levin <levin@chromium.org>
3432 Reviewed by Eric Seidel.
3434 test-webkitpy: unittest for the xml.py checker displays a decprecation warning.
3435 https://bugs.webkit.org/show_bug.cgi?id=51210
3437 The error only shows up when using python 2.6 or later.
3439 * Scripts/webkitpy/style/checkers/xml.py: Replace the usage of
3440 the decprecated field error,message with something equivalent.
3442 2010-12-16 Mihai Parparita <mihaip@chromium.org>
3444 Reviewed by Eric Seidel.
3446 Add --exit-after-n-failures/crashes to NRWT
3447 https://bugs.webkit.org/show_bug.cgi?id=51160
3449 Abort test run (in a similar way to how control-C is handled) when
3450 --exit-after-n-failures/crashes-or-timeouts are passed and we've reached
3451 that number of unexpected failures/crashes/timeouts.
3453 * Scripts/webkitpy/layout_tests/port/test.py:
3454 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3455 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3457 2010-12-16 David Levin <levin@chromium.org>
3459 Reviewed by Shinichiro Hamaji.
3461 check-webkit-style unit tests has some duplicate boilerplate code.
3462 https://bugs.webkit.org/show_bug.cgi?id=49519
3464 * Scripts/webkitpy/style/checkers/cpp.py:
3465 (update_include_state): Replaced the "io" parameter with the global
3466 configuration _unit_test_config. This allowed not calling into
3467 functions at a low level and also not plumbing through the injection
3468 information through many levels of code.
3469 (check_for_include_what_you_use): Ditto.
3470 (process_file_data): Added the ability to set up the unit test config
3471 to allow for injection.
3472 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3473 (ErrorCollector.__init__): Added support for having a filter for errors.
3474 (ErrorCollector.__call__): Ditto.
3475 (CppStyleTestBase.process_file_data): Added the ability to set unit_test_config.
3476 (CppStyleTestBase.perform_lint): Consolidated logic for the perform functions.
3477 (CppStyleTestBase.perform_single_line_lint): Replace specific calls to
3478 functions in the cpp.py with generic processing and a filter that
3479 indicates what errors should be kept.
3480 (CppStyleTestBase.perform_multi_line_lint): Ditto.
3481 (CppStyleTestBase.perform_language_rules_check): Ditto.
3482 (CppStyleTestBase.perform_function_lengths_check): Ditto.
3483 (CppStyleTestBase.perform_pass_ptr_check): Ditto.
3484 (CppStyleTestBase.perform_include_what_you_use): Ditto.
3485 (CppStyleTest.test_multi_line_comments): Added another
3486 error message which applies to the test case.
3487 (CppStyleTest.test_spacing_for_binary_ops): Fixed test
3488 to not have config.h, since it is processed as a header file.
3489 (CppStyleTest.test_static_or_global_stlstrings): Fixed variable name
3490 style and indentation in checked code.
3491 (OrderOfIncludesTest.test_check_preprocessor_in_include_section):
3493 (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error):
3496 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
3498 Unreviewed, rolling out r74136.
3499 http://trac.webkit.org/changeset/74136
3500 https://bugs.webkit.org/show_bug.cgi?id=51135
3502 r74136 breaks chromium canary bots because some tests are not
3503 rebaselined correctly to resolve EOL differences (Requested by
3506 * Scripts/webkitpy/layout_tests/port/base.py:
3507 * Scripts/webkitpy/layout_tests/port/test.py:
3508 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3510 2010-12-15 Adam Roben <aroben@apple.com>
3512 Teach check-webkit-style to check .vcproj and .vsprops files for XML
3515 Fixes <http://webkit.org/b/51103> check-webkit-style should check for
3516 XML syntax errors in .vcproj/.vsprops files
3518 Reviewed by Dave Levin.
3520 * Scripts/webkitpy/style/checker.py: Added lists of file extensions
3521 that should be treated as XML and that should be allowed to contain
3522 carriage returns. (These lists happen to be identical currently.)
3523 (FileType): Added a new XML type.
3524 (CheckerDispatcher.should_check_and_strip_carriage_returns): Added.
3525 Just does a simple file extension check.
3526 (CheckerDispatcher._file_type): Added a case for XML files.
3527 (CheckerDispatcher._create_checker): Ditto. We use XMLChecker for XML
3529 (StyleProcessor.process): Ask the dispatcher whether we should pass the
3530 lines through the carriage checker.
3532 * Scripts/webkitpy/style/checker_unittest.py:
3533 (CheckerDispatcherCarriageReturnTest.test_should_check_and_strip_carriage_returns):
3534 Added. Checks a few file names to see if carriage returns are allowed
3536 (CheckerDispatcherDispatchTest.assert_checker_xml): Added. Similar to
3537 other assert_checker_* functions.
3538 (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
3539 test_*_paths functions.
3540 (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
3541 test_*_paths functions.
3542 (CheckerDispatcherDispatchTest.test_none_paths): Removed the vcproj
3543 file from this test case, as vcproj files now have a type.
3544 (StyleProcessor_CodeCoverageTest.MockDispatcher.should_check_and_strip_carriage_returns):
3545 Added. Similar to the other should_* functions.
3546 (StyleProcessor_CodeCoverageTest.test_process__carriage_returns_not_stripped):
3547 Added. Checks that carriage returns aren't checked for or stripped for
3550 * Scripts/webkitpy/style/checkers/xml.py: Added.
3551 (XMLChecker.__init__): Simple init method.
3552 (XMLChecker.check): Pass each line through the expat parser, and record
3553 a style error for any errors thrown by the parser.
3555 * Scripts/webkitpy/style/checkers/xml_unittest.py: Added.
3556 (XMLCheckerTest.assert_no_error): Checks that the given XML does not
3557 produce a style error.
3558 (XMLCheckerTest.assert_error): Checks that the given XML produces an
3559 error of the given category on the given line.
3560 (XMLCheckerTest.mock_handle_style_error): Does nothing. Used for
3561 checking that the XMLChecker constructor works properly.
3562 (XMLCheckerTest.test_conflict_marker): Tests that conflict markers
3563 cause a style error (see, e.g., r73887).
3564 (XMLCheckerTest.test_extra_closing_tag): Tests that extra closing tags
3565 cause a style error (see, e.g., r73773).
3566 (XMLCheckerTest.test_init): Tests that the XMLChecker constructor works
3568 (XMLCheckerTest.test_missing_closing_tag): Tests that missing closing
3569 tags cause a style error (see, e.g., r72795).
3570 (XMLCheckerTest.test_no_error): Tests that valid XML does not cause a
3573 2010-12-15 Lucas Forschler <lforschler@apple.com>
3575 Reviewed by Stephanie Lewis.
3577 https://bugs.webkit.org/show_bug.cgi?id=51117
3578 Add a new leopard test bot
3579 really really commit to trunk this time.
3581 * BuildSlaveSupport/build.webkit.org-config/config.json:
3583 2010-12-15 Sam Weinig <sam@webkit.org>
3585 Reviewed by Anders Carlsson.
3587 WebKit2: Can't add files to an <input type=file>
3588 https://bugs.webkit.org/show_bug.cgi?id=51087
3590 * MiniBrowser/mac/BrowserWindowController.m:
3592 (-[BrowserWindowController awakeFromNib]):
3593 Add simple implementation of runOpenPanel callback.
3595 * MiniBrowser/win/BrowserView.cpp:
3596 (BrowserView::create):
3597 * WebKitTestRunner/TestController.cpp:
3598 (WTR::createOtherPage):
3599 (WTR::TestController::initialize):
3600 Stub out runOpenPanel callback.
3602 2010-12-14 Eric Seidel <eric@webkit.org>
3604 Reviewed by Adam Barth.
3606 commit-queue should upload failure diffs when tests flake
3607 https://bugs.webkit.org/show_bug.cgi?id=51051
3609 To make this testable I needed to pipe FileSystem down onto tool.
3610 We've wanted it there for a long time anyway.
3612 This patch is kinda a big hack. But we don't have a nice
3613 way to read results.html files. I think this will need further
3614 revision before this code actually feels clean.
3616 As part of testing this change, I had to make MockBugzilla.create_bug
3617 actually return an id (like it should) which required updating
3618 a few other unit test results (for the better).
3620 The results_matching_keys change in layouttestresults/rebasline
3621 was an alternate path which I decided not to use in the end, but
3622 I left the change as it seemed an improvement.
3624 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
3625 * Scripts/webkitpy/common/net/layouttestresults.py:
3626 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3627 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
3628 * Scripts/webkitpy/tool/commands/queues.py:
3629 * Scripts/webkitpy/tool/commands/rebaseline.py:
3630 * Scripts/webkitpy/tool/main.py:
3631 * Scripts/webkitpy/tool/mocktool.py:
3633 2010-12-15 Cosmin Truta <ctruta@chromium.org>
3635 Reviewed by James Robinson.
3637 new-run-webkit-tests ignores trailing EOL differences in text tests
3638 https://bugs.webkit.org/show_bug.cgi?id=36983
3640 Changed the handling of new-line characters within new-run-webkit-tests
3641 to match old-run-webkit-tests. Differences in leading and trailing empty
3642 lines in text expectation files are no longer ignored.
3644 * Scripts/webkitpy/layout_tests/port/base.py:
3645 * Scripts/webkitpy/layout_tests/port/test.py:
3646 Added unit tests. Removed old duplicate unit test entries.
3647 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3649 2010-12-15 Ojan Vafai <ojan@chromium.org>
3651 Reviewed by Adam Barth.
3653 make status-bubble white-space:nowrap so we can measure it's width without wrapping
3654 https://bugs.webkit.org/show_bug.cgi?id=51149
3656 * QueueStatusServer/templates/statusbubble.html:
3658 2010-12-15 Ojan Vafai <ojan@chromium.org>
3660 Reviewed by Adam Barth.
3662 have the statusbubble postMessage it's metrics so that embedders can properly size the iframe
3663 https://bugs.webkit.org/show_bug.cgi?id=51125
3665 * QueueStatusServer/templates/statusbubble.html:
3667 2010-12-15 Darin Adler <darin@apple.com>
3669 * Scripts/webkitpy/common/net/buildbot: Added property svn:ignore.
3671 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
3673 Unreviewed, rolling out r74117.
3674 http://trac.webkit.org/changeset/74117
3675 https://bugs.webkit.org/show_bug.cgi?id=51113
3677 This broke the GTK1 build. (Requested by mrobinson on
3680 * Scripts/webkitdirs.pm:
3682 2010-12-15 Amruth Raj <amruthraj@motorola.com> and Ravi Kasibhatla <ravi.kasibhatla@motorola.com>
3684 Reviewed by Martin Robinson.
3686 Change generate-forwarding-headers.pl for GTK port usage
3687 (https://bugs.webkit.org/show_bug.cgi?id=37369)
3689 * Scripts/webkitdirs.pm: Added changes to build webkit2 for GTK port using build-webkit script.
3691 2010-12-14 Kent Tamura <tkent@chromium.org>
3693 Reviewed by Jian Li.
3695 [DRT/Chromium] Remove another unnecessary error message
3696 https://bugs.webkit.org/show_bug.cgi?id=51083
3698 * DumpRenderTree/chromium/WebViewHost.cpp:
3699 (WebViewHost::didInvalidateRect):
3701 2010-12-14 Lucas Forschler <lforschler@apple.com>
3703 Reviewed by Stephanie Lewis.
3705 Add a new Leopard Debug Test WK2 Bot
3707 * BuildSlaveSupport/build.webkit.org-config/config.json:
3709 2010-12-14 Ojan Vafai <ojan@chromium.org>
3711 Fix python unittests after http://trac.webkit.org/changeset/74070.
3713 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
3715 2010-12-14 Kent Tamura <tkent@chromium.org>
3717 Reviewed by Jian Li.
3719 [DRT/Chromium] Remove a unnecessary error message
3720 https://bugs.webkit.org/show_bug.cgi?id=51069
3722 * DumpRenderTree/chromium/WebViewHost.cpp:
3723 (WebViewHost::paintInvalidatedRegion):
3725 2010-12-14 Benjamin Kalman <kalman@chromium.org>
3727 Reviewed by Ojan Vafai.
3729 Using BUG/BUGWK in test_expectations is error prone, should use BUGCR/BUGWK
3730 https://bugs.webkit.org/show_bug.cgi?id=48926
3732 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
3733 Add presubmit check that BUG isn't used, either BUGCR/BUGWK/BUGV8_.
3735 2010-12-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3737 Reviewed by Eric Seidel.
3739 [Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
3740 https://bugs.webkit.org/show_bug.cgi?id=50231
3742 Guard CONFIG+=link_pkgconfig with !symbian.
3744 * DumpRenderTree/qt/DumpRenderTree.pro:
3745 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
3746 * WebKitTestRunner/qt/WebKitTestRunner.pro:
3748 2010-12-14 Philippe Normand <pnormand@igalia.com>
3750 Reviewed by Ojan Vafai.
3752 [new-run-webkit-tests] expectations parsing is slow
3753 https://bugs.webkit.org/show_bug.cgi?id=50635
3755 Avoid expensive iteration of all the tests when checking if a test
3756 file is to be skipped or not.
3758 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
3759 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
3760 * Scripts/webkitpy/layout_tests/port/test.py:
3762 2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
3764 Reviewed by Xan Lopez.
3766 [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
3767 https://bugs.webkit.org/show_bug.cgi?id=27048
3769 Add support in DRT for checking whether an accessibility UI
3770 element is focusable and/or focused. Implemented for GTK.
3772 * DumpRenderTree/AccessibilityUIElement.cpp:
3773 (getIsFocusedCallback): New.
3774 (getIsFocusableCallback): New.
3775 (AccessibilityUIElement::getJSClass): Add the new available
3776 callbacks for isFocused and isFocusable.
3777 * DumpRenderTree/AccessibilityUIElement.h:
3778 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3779 (AccessibilityUIElement::isFocused): New, implemented by checking
3780 whether the related AtkState value is in the object's state set.
3781 (AccessibilityUIElement::isFocusable): Ditto.
3782 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3783 (AccessibilityUIElement::isFocused): New, dummy implementation.
3784 (AccessibilityUIElement::isFocusable): Ditto.
3785 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3786 (AccessibilityUIElement::isFocused): Ditto.
3787 (AccessibilityUIElement::isFocusable): Ditto.
3789 2010-12-14 Eric Seidel <eric@webkit.org>
3791 Reviewed by Ojan Vafai.
3793 webkit-patch should warn users when they're using a 32-bit git on a 64-bit system
3794 https://bugs.webkit.org/show_bug.cgi?id=50715
3796 This patch makes webkit-patch print the following:
3798 Warning: This machine is 64-bit, but the git binary (/usr/local/git/bin/git) does not support 64-bit.
3799 Install a 64-bit git for better performance, see:
3800 https://lists.webkit.org/pipermail/webkit-dev/2010-December/015249.html
3802 I wrote this mostly because I have approximately 8 machines that I use
3803 and making sure each one is using a good Git install seemed folly.
3804 webkit-patch makes a lot of git calls, so using a fast git can shave
3805 several seconds in every invocation. See the webkit-dev thread for more info.
3807 This message will print twice during 'webkit-patch upload',
3808 once from webkit-patch and once from check-webkit-style.
3810 Unfortunately there is no good way to test this due to how machine-dependent
3811 the code is. I considered writing a test for the log message, but it seemed not worth it.
3813 * Scripts/webkitpy/common/checkout/scm.py:
3815 2010-12-13 Eric Seidel <eric@webkit.org>
3817 Reviewed by Adam Barth.
3819 FlakyTestReporter doesn't understand bots running from multiple email addresses
3820 https://bugs.webkit.org/show_bug.cgi?id=50960
3822 This explains at least one of the dupes of:
3823 https://bugs.webkit.org/show_bug.cgi?id=50863
3824 that we saw filed by the commit-queue this morning.
3825 I think the other one was explained by my previous fix to result counting code.
3827 Since this is really hard to test with a unit test, instead I
3828 create a new (possibly useful in the future) command
3829 which given a layout test path will return you
3830 the one bug which our tools would assume it the flaky test bug.
3831 If some other script wants to use bug-for-test we'll
3832 need to extend it with some options like --create-if-missing or similar.
3834 * Scripts/webkitpy/common/net/bugzilla/bug.py:
3835 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
3836 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3837 * Scripts/webkitpy/tool/commands/__init__.py:
3838 * Scripts/webkitpy/tool/commands/bugfortest.py: Added.
3840 2010-12-13 Mihai Parparita <mihaip@chromium.org>
3842 Reviewed by James Robinson.
3844 Add option to build-webkit to not build WebKit2
3845 https://bugs.webkit.org/show_bug.cgi?id=50988
3847 Add support for a --no-webkit2 option to build-webkit. It seems to save
3848 ~1 minute from clean builds and ~10 seconds from no-op builds.
3850 * Scripts/build-webkit:
3852 2010-12-13 Lucas Forschler <lforschler@apple.com>
3854 Reviewed by Dave Kilzer.
3856 Update iexploder from 1.3.2 to 1.7.2
3857 Move 1.3.2 into its own subdir
3858 Add 1.7.2 into its own subdir
3859 update scripts to point to new 1.3.2 location (avoid breaking existing scripts)
3861 * Scripts/run-iexploder-tests:
3862 * Scripts/update-iexploder-cssproperties:
3863 * iExploder/CHANGELOG.txt: Removed.
3864 * iExploder/LICENSE.txt: Removed.
3865 * iExploder/README.txt: Removed.
3866 * iExploder/htdocs: Removed.
3867 * iExploder/iexploder-1.3.2: Added.
3868 * iExploder/iexploder-1.3.2/CHANGELOG.txt: Copied from iExploder/CHANGELOG.txt.
3869 * iExploder/iexploder-1.3.2/LICENSE.txt: Copied from iExploder/LICENSE.txt.
3870 * iExploder/iexploder-1.3.2/README.txt: Copied from iExploder/README.txt.
3871 * iExploder/iexploder-1.3.2/htdocs: Added.
3872 * iExploder/iexploder-1.3.2/htdocs/config.rb: Copied from iExploder/htdocs/config.rb.
3873 * iExploder/iexploder-1.3.2/htdocs/cssproperties.in: Copied from iExploder/htdocs/cssproperties.in.
3874 * iExploder/iexploder-1.3.2/htdocs/cssvalues.in: Copied from iExploder/htdocs/cssvalues.in.
3875 * iExploder/iexploder-1.3.2/htdocs/htmlattrs.in: Copied from iExploder/htdocs/htmlattrs.in.
3876 * iExploder/iexploder-1.3.2/htdocs/htmltags.in: Copied from iExploder/htdocs/htmltags.in.
3877 * iExploder/iexploder-1.3.2/htdocs/htmlvalues.in: Copied from iExploder/htdocs/htmlvalues.in.
3878 * iExploder/iexploder-1.3.2/htdocs/iexploder.cgi: Copied from iExploder/htdocs/iexploder.cgi.
3879 * iExploder/iexploder-1.3.2/htdocs/iexploder.rb: Copied from iExploder/htdocs/iexploder.rb.
3880 * iExploder/iexploder-1.3.2/htdocs/index.html: Copied from iExploder/htdocs/index.html.
3881 * iExploder/iexploder-1.3.2/htdocs/webserver.rb: Copied from iExploder/htdocs/webserver.rb.
3882 * iExploder/iexploder-1.3.2/tools: Added.
3883 * iExploder/iexploder-1.3.2/tools/lasthit.rb: Copied from iExploder/tools/lasthit.rb.
3884 * iExploder/iexploder-1.3.2/tools/osx_last_crash.rb: Copied from iExploder/tools/osx_last_crash.rb.
3885 * iExploder/iexploder-1.3.2/tools/showtest.rb: Copied from iExploder/tools/showtest.rb.
3886 * iExploder/iexploder-1.7.2: Added.
3887 * iExploder/iexploder-1.7.2/ChangeLog.txt: Added.
3888 * iExploder/iexploder-1.7.2/LICENSE.txt: Added.
3889 * iExploder/iexploder-1.7.2/README.txt: Added.
3890 * iExploder/iexploder-1.7.2/output: Added.
3891 * iExploder/iexploder-1.7.2/src: Added.
3892 * iExploder/iexploder-1.7.2/src/browser_harness.rb: Added.
3893 * iExploder/iexploder-1.7.2/src/config.yaml: Added.
3894 * iExploder/iexploder-1.7.2/src/css-atrules: Added.
3895 * iExploder/iexploder-1.7.2/src/css-atrules/mozilla: Added.
3896 * iExploder/iexploder-1.7.2/src/css-atrules/webkit: Added.
3897 * iExploder/iexploder-1.7.2/src/css-properties: Added.
3898 * iExploder/iexploder-1.7.2/src/css-properties/dillo: Added.
3899 * iExploder/iexploder-1.7.2/src/css-properties/gtkhtml: Added.
3900 * iExploder/iexploder-1.7.2/src/css-properties/internet_explorer6: Added.
3901 * iExploder/iexploder-1.7.2/src/css-properties/mozilla: Added.
3902 * iExploder/iexploder-1.7.2/src/css-properties/webkit: Added.
3903 * iExploder/iexploder-1.7.2/src/css-pseudo: Added.
3904 * iExploder/iexploder-1.7.2/src/css-pseudo/mozilla: Added.
3905 * iExploder/iexploder-1.7.2/src/css-pseudo/webkit: Added.
3906 * iExploder/iexploder-1.7.2/src/css-values: Added.
3907 * iExploder/iexploder-1.7.2/src/css-values/dillo: Added.
3908 * iExploder/iexploder-1.7.2/src/css-values/gtkhtml: Added.
3909 * iExploder/iexploder-1.7.2/src/css-values/mozilla: Added.
3910 * iExploder/iexploder-1.7.2/src/css-values/other: Added.
3911 * iExploder/iexploder-1.7.2/src/css-values/webkit: Added.
3912 * iExploder/iexploder-1.7.2/src/headers: Added.
3913 * iExploder/iexploder-1.7.2/src/headers/dillo: Added.
3914 * iExploder/iexploder-1.7.2/src/headers/gtkhtml: Added.
3915 * iExploder/iexploder-1.7.2/src/headers/mozilla: Added.
3916 * iExploder/iexploder-1.7.2/src/headers/webkit: Added.
3917 * iExploder/iexploder-1.7.2/src/html-attrs: Added.
3918 * iExploder/iexploder-1.7.2/src/html-attrs/dillo: Added.
3919 * iExploder/iexploder-1.7.2/src/html-attrs/gtkhtml: Added.
3920 * iExploder/iexploder-1.7.2/src/html-attrs/internet_explorer6: Added.
3921 * iExploder/iexploder-1.7.2/src/html-attrs/mozilla: Added.
3922 * iExploder/iexploder-1.7.2/src/html-attrs/other: Added.
3923 * iExploder/iexploder-1.7.2/src/html-attrs/webkit: Added.
3924 * iExploder/iexploder-1.7.2/src/html-tags: Added.
3925 * iExploder/iexploder-1.7.2/src/html-tags/dillo: Added.
3926 * iExploder/iexploder-1.7.2/src/html-tags/gtkhtml: Added.
3927 * iExploder/iexploder-1.7.2/src/html-tags/mozilla: Added.
3928 * iExploder/iexploder-1.7.2/src/html-tags/other: Added.
3929 * iExploder/iexploder-1.7.2/src/html-tags/webkit: Added.
3930 * iExploder/iexploder-1.7.2/src/html-values: Added.
3931 * iExploder/iexploder-1.7.2/src/html-values/dillo: Added.
3932 * iExploder/iexploder-1.7.2/src/html-values/gtkhtml: Added.
3933 * iExploder/iexploder-1.7.2/src/html-values/mozilla: Added.
3934 * iExploder/iexploder-1.7.2/src/html-values/other: Added.
3935 * iExploder/iexploder-1.7.2/src/html-values/webkit: Added.
3936 * iExploder/iexploder-1.7.2/src/iexploder.cgi: Added.
3937 * iExploder/iexploder-1.7.2/src/iexploder.rb: Added.
3938 * iExploder/iexploder-1.7.2/src/index.html: Added.
3939 * iExploder/iexploder-1.7.2/src/media: Added.
3940 * iExploder/iexploder-1.7.2/src/media/blank.ogg: Added.
3941 * iExploder/iexploder-1.7.2/src/media/blank.snd: Added.
3942 * iExploder/iexploder-1.7.2/src/media/blank.wav: Added.
3943 * iExploder/iexploder-1.7.2/src/media/bug.bmp: Added.
3944 * iExploder/iexploder-1.7.2/src/media/bug.gif: Added.
3945 * iExploder/iexploder-1.7.2/src/media/bug.ico: Added.
3946 * iExploder/iexploder-1.7.2/src/media/bug.jng: Added.
3947 * iExploder/iexploder-1.7.2/src/media/bug.jpg: Added.
3948 * iExploder/iexploder-1.7.2/src/media/bug.png: Added.
3949 * iExploder/iexploder-1.7.2/src/media/bug.svg: Added.
3950 * iExploder/iexploder-1.7.2/src/media/bug.tiff: Added.
3951 * iExploder/iexploder-1.7.2/src/media/bug.xbm: Added.
3952 * iExploder/iexploder-1.7.2/src/media/bug.xpm: Added.
3953 * iExploder/iexploder-1.7.2/src/mime-types: Added.
3954 * iExploder/iexploder-1.7.2/src/mime-types/dillo: Added.
3955 * iExploder/iexploder-1.7.2/src/mime-types/mozilla: Added.
3956 * iExploder/iexploder-1.7.2/src/mime-types/webkit: Added.
3957 * iExploder/iexploder-1.7.2/src/protocols: Added.
3958 * iExploder/iexploder-1.7.2/src/protocols/dillo: Added.
3959 * iExploder/iexploder-1.7.2/src/protocols/gtkhtml: Added.
3960 * iExploder/iexploder-1.7.2/src/protocols/mozilla: Added.
3961 * iExploder/iexploder-1.7.2/src/protocols/webkit: Added.
3962 * iExploder/iexploder-1.7.2/src/scanner.rb: Added.
3963 * iExploder/iexploder-1.7.2/src/version.rb: Added.
3964 * iExploder/iexploder-1.7.2/src/webserver.rb: Added.
3965 * iExploder/iexploder-1.7.2/testcases: Added.
3966 * iExploder/iexploder-1.7.2/testcases/testcase-Linux_x86_64_rv2.0b6pre_Gecko-20100904_Firefox-4.0b6pre-TEST-8375-1_59.html: Added.
3967 * iExploder/iexploder-1.7.2/testcases/testcase-Opera-9.80_Linux_x86_64_en_Presto-2.6.30_Version-10.61-16704-3_108,3.html: Added.
3968 * iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_Chrome-7.0.529.0-TEST-611-3_36,9.html: Added.
3969 * iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_hrome-7.0.529.0-TEST-55313622206-3_6,0.html: Added.
3970 * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-120813-8_72,56,24,8,0.html: Added.
3971 * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-121240-3_81,3.html: Added.
3972 * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-4800-5_80,65,15.html: Added.
3973 * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-TEST-23583190347-3_15,12.html: Added.
3974 * iExploder/iexploder-1.7.2/tools: Added.
3975 * iExploder/iexploder-1.7.2/tools/lasthit.rb: Added.
3976 * iExploder/iexploder-1.7.2/tools/osx_last_crash.rb: Added.
3977 * iExploder/iexploder-1.7.2/tools/release_src.sh: Added.
3978 * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh: Added.
3979 * iExploder/tools: Removed.
3981 2010-12-13 Sam Weinig <sam@webkit.org>
3983 Reviewed by Anders Carlsson.
3985 Remove associated page concept from WKView constructor
3986 https://bugs.webkit.org/show_bug.cgi?id=50983
3988 Step 1: Remove associate page constructors from WKView and make
3989 all views use the shared namespace for the context.
3991 * TestWebKitAPI/PlatformWebView.h:
3992 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
3993 * TestWebKitAPI/win/PlatformWebViewWin.cpp:
3994 * WebKitTestRunner/PlatformWebView.h:
3995 * WebKitTestRunner/TestController.cpp:
3996 (WTR::createOtherPage):
3997 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3998 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3999 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
4001 2010-12-13 Sam Weinig <sam@webkit.org>
4003 Reviewed by Anders Carlsson.
4005 Change the WebKit2 public API so there is no explicit WKPageNamespace object
4006 https://bugs.webkit.org/show_bug.cgi?id=50898
4008 * MiniBrowser/mac/AppDelegate.h:
4009 * MiniBrowser/mac/AppDelegate.m:
4010 * MiniBrowser/mac/BrowserWindowController.h:
4011 * MiniBrowser/mac/BrowserWindowController.m:
4012 * MiniBrowser/win/BrowserView.cpp:
4013 Convert MiniBrowser to not use PageNamespaces.
4015 * TestWebKitAPI/PlatformWebView.h:
4016 * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
4017 * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
4018 * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
4019 * TestWebKitAPI/Tests/WebKit2/Find.cpp:
4020 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
4021 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
4022 * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
4023 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
4024 * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
4025 * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
4026 * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
4027 * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
4028 * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
4029 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
4030 * TestWebKitAPI/win/PlatformWebViewWin.cpp:
4031 Convert TestWebKitAPI to not use PageNamespaces.
4033 * WebKitTestRunner/PlatformWebView.h:
4034 * WebKitTestRunner/TestController.cpp:
4035 * WebKitTestRunner/TestController.h:
4036 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
4037 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
4038 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
4039 Convert WebKitTestRunner to not use PageNamespaces.
4041 2010-12-13 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
4043 Reviewed by Eric Seidel.
4045 webkit-patch rollout should be able to do multi-revision rollouts
4046 https://bugs.webkit.org/show_bug.cgi?id=33336
4048 Make it possible to pass more than one revision to webkit-patch.
4050 * Scripts/webkitpy/common/checkout/api.py:
4051 * Scripts/webkitpy/common/checkout/changelog.py:
4052 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
4053 * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
4054 * Scripts/webkitpy/tool/commands/download.py:
4055 * Scripts/webkitpy/tool/commands/download_unittest.py:
4056 * Scripts/webkitpy/tool/mocktool.py:
4057 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
4058 * Scripts/webkitpy/tool/steps/revertrevision.py:
4060 2010-12-13 Eric Seidel <eric@webkit.org>
4064 Teach webkit-patch how to search bugzilla
4065 https://bugs.webkit.org/show_bug.cgi?id=50500
4067 webkit-patch bug-search fails when there is only one result.
4068 Turns out we needed a bit more logic in our result count parsing code.
4070 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
4071 * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
4073 2010-12-13 Antti Koivisto <antti@apple.com>
4075 Reviewed by Alexey Proskuryakov.
4077 Add setSerializeHTTPLoads function to allow testing resource load order on OS X.
4078 https://bugs.webkit.org/show_bug.cgi?id=50758
4080 * DumpRenderTree/LayoutTestController.cpp:
4081 (setSerializeHTTPLoadsCallback):
4082 (LayoutTestController::staticFunctions):
4083 * DumpRenderTree/LayoutTestController.h:
4084 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4085 (LayoutTestController::setSerializeHTTPLoads):
4086 * DumpRenderTree/mac/DumpRenderTree.mm:
4087 (resetDefaultsToConsistentValues):
4088 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4089 (LayoutTestController::setSerializeHTTPLoads):
4090 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4091 (LayoutTestController::setSerializeHTTPLoads):
4093 2010-12-13 Dimitri Glazkov <dglazkov@chromium.org>
4095 Reviewed by Ojan Vafai.
4097 Remove "use-drt" option from test step command line, since the option was removed in r73748.
4098 https://bugs.webkit.org/show_bug.cgi?id=50936
4100 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed the option.
4102 2010-12-13 Patrick Gansterer <paroga@webkit.org>
4104 Reviewed by Csaba Osztrogonác.
4106 Add revlink to BuildBot status
4107 https://bugs.webkit.org/show_bug.cgi?id=50914
4109 This adds a hyperlink to trac changeset on the revision numbers.
4111 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4113 2010-12-13 Andras Becsi <abecsi@webkit.org>
4115 Reviewed by Csaba Osztrogonác.
4117 [Qt][WK2] Fix build if WebKitTools are not available
4118 https://bugs.webkit.org/show_bug.cgi?id=50242
4120 * MiniBrowser/qt/MiniBrowser.pro: Correct the comment.
4121 * Scripts/webkitdirs.pm: Added WebKitTools/MiniBrowser to $subdirs.
4122 * MiniBrowser/DerivedSources.pro: Added.
4124 2010-12-13 Eric Seidel <eric@webkit.org>
4126 Reviewed by Adam Barth.
4128 EWS Queues should remove orpahned pyc files before starting
4129 https://bugs.webkit.org/show_bug.cgi?id=50904
4131 A previous check added a platform.py which caused
4132 EWS bots on some platforms to hit an import exception.
4133 The platform.py file was removed in a subsequent commit, but
4134 the EWS bots in question stayed stuck. This change will
4135 fix those bots once restarted (and prevent this in the future).
4137 I also went ahead and unified start-queue and start-commit-queue
4138 since they were nearly identical. I also added bot_id support
4139 to both force all EWSes to have bot ids as well as get rid of the one
4140 remaining reason why I had my own copies of these scripts.
4141 Hopefully this will be enough to get all the other bot admins
4142 (ahem, Adam, ahem) to move to using these checked in copies as well.
4144 * EWSTools/start-commit-queue.sh: Removed.
4145 * EWSTools/start-queue.sh:
4147 2010-10-28 MORITA Hajime <morrita@google.com>
4149 Reviewed by Ojan Vafai.
4151 spellcheck does not check pasted text
4152 https://bugs.webkit.org/show_bug.cgi?id=40092
4154 Added LayoutTestController::setAsynchronousSpellCheckingEnabled()
4155 to control the setting.
4157 * DumpRenderTree/LayoutTestController.cpp:
4158 (setAsynchronousSpellCheckingEnabledCallback):
4159 (LayoutTestController::staticFunctions):
4160 * DumpRenderTree/LayoutTestController.h:
4161 * DumpRenderTree/chromium/LayoutTestController.h:
4162 * DumpRenderTree/chromium/LayoutTestController.cpp:
4163 (LayoutTestController::LayoutTestController):
4164 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4165 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4166 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4167 * DumpRenderTree/mac/DumpRenderTree.mm:
4168 (resetDefaultsToConsistentValues):
4169 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4170 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4171 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4172 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4173 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4174 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4175 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4176 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
4177 (LayoutTestController::setAsynchronousSpellCheckingEnabled):
4179 2010-12-12 Sam Weinig <sam@webkit.org>
4181 Reviewed by Anders Carlsson.
4183 Fix failing API test. It turns out that a pop-state event
4184 is sent before every fragment navigation, so we have to test
4185 for it in addition in PageLoadDidChangeLocationWithinPageForFrame.
4187 * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
4188 (TestWebKitAPI::didSameDocumentNavigationForFrame):
4190 2010-12-12 Alejandro G. Castro <alex@igalia.com>
4192 Reviewed by Eric Seidel.
4194 [GTK] Add new-run-webkit-tests support to gtk
4195 https://bugs.webkit.org/show_bug.cgi?id=50681
4197 Adding the basic support to run the new-run-webkit-tests.
4199 * Scripts/webkitpy/layout_tests/port/gtk.py:
4201 2010-10-11 Diego Gonzalez <diegohcg@webkit.org>
4203 Reviewed by Kenneth Rohde Christiansen.
4205 [Qt] Mock DeviceOrientation client for DRT
4206 https://bugs.webkit.org/show_bug.cgi?id=47490
4208 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4209 (WebCore::DumpRenderTree::DumpRenderTree):
4210 (WebCore::DumpRenderTree::~DumpRenderTree):
4211 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4212 (LayoutTestController::setMockDeviceOrientation):
4214 2010-12-11 Philippe Normand <pnormand@igalia.com>
4216 Reviewed by Gustavo Noronha Silva.
4218 [GTK] launcher: disable the Mozilla-style fullscreen API
4219 https://bugs.webkit.org/show_bug.cgi?id=50874
4221 Disabling the fullscreen API until its implementation for GTK is
4222 mature enough. The webview setting for it is already FALSE by
4225 * GtkLauncher/main.c:
4228 2010-12-10 Eric Seidel <eric@webkit.org>
4230 Reviewed by Adam Barth.
4232 commit-queue flaky test messages show cryptic version information for mac os x
4233 https://bugs.webkit.org/show_bug.cgi?id=50864
4235 Turns out platform.platform() returns kernel version information
4236 which isn't helpful, and just plain confusing on Mac
4237 (OS X 10.6.5 uses Darwin Kernel 10.5.0).
4239 So I've updated PlatformInfo.display_name() to special case
4240 mac. I also found a bad use of sys.platform in the process
4241 and fixed that. (sys.platform always returns 'darwin' on mac).
4243 * Scripts/webkitpy/common/system/platforminfo.py:
4244 * Scripts/webkitpy/common/system/user.py:
4245 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
4246 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
4247 * Scripts/webkitpy/tool/commands/queues_unittest.py:
4249 2010-12-10 Eric Seidel <eric@webkit.org>
4253 Exception seen while reporting flaky test with commit-queue.
4254 Just a missing include.
4256 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
4257 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
4259 2010-12-10 Kinuko Yasuda <kinuko@chromium.org>
4261 Reviewed by Eric Seidel.
4263 [Chromium] Remove old JSONResultsGenerator script that existed for backward-compatibility
4264 https://bugs.webkit.org/show_bug.cgi?id=50796
4266 Also updating the test code to use JSONResultsGeneratorBase and
4267 to improve test coverage for incremental cases.
4269 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
4270 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
4272 2010-12-10 Joseph Pecoraro <joepeck@webkit.org>
4274 Reviewed by Darin Adler.
4276 prepare-ChangeLog --help doesn't mention --bug shorthand -b
4277 https://bugs.webkit.org/show_bug.cgi?id=50835
4279 * Scripts/prepare-ChangeLog: be more explicit about -b and match file style.
4281 2010-12-10 Eric Seidel <eric@webkit.org>
4283 Reviewed by Adam Barth.
4285 Bugs created by the commit-queue should all block on a master bug
4286 https://bugs.webkit.org/show_bug.cgi?id=50857
4288 This makes all bugs created by the commit-queue block on:
4289 https://bugs.webkit.org/show_bug.cgi?id=50856
4291 In the process of testing this, I found that the existing
4292 create_bug code was wrong. I also found that existing
4293 unit tests for create-rollout used invalid values
4294 for options.blocks. I fixed both issues and tested.
4296 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
4297 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
4298 * Scripts/webkitpy/tool/commands/commandtest.py:
4299 * Scripts/webkitpy/tool/commands/download_unittest.py:
4300 * Scripts/webkitpy/tool/commands/upload_unittest.py:
4301 * Scripts/webkitpy/tool/mocktool.py:
4302 * Scripts/webkitpy/tool/steps/options.py:
4304 2010-12-10 Eric Seidel <eric@webkit.org>
4306 Reviewed by Adam Barth.
4308 Teach webkitpy how to follow duplicate chains when posting comments on flake bugs
4309 https://bugs.webkit.org/show_bug.cgi?id=50853
4311 I also discovered when doing this that the code was posting
4312 the comment on the wrong bug, but that's fixed here too.
4314 * Scripts/webkitpy/common/net/bugzilla/bug.py:
4315 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
4316 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
4317 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
4318 * Scripts/webkitpy/tool/commands/queues_unittest.py:
4319 * Scripts/webkitpy/tool/mocktool.py:
4321 2010-12-10 Anders Carlsson <andersca@apple.com>
4323 Reviewed by John Sullivan.
4325 Make WKContextGetStatistics gather global statistics
4326 https://bugs.webkit.org/show_bug.cgi?id=50850
4328 Remove the code that gets the statistics and fills in the per context
4329 statistics information for now.
4331 * MiniBrowser/mac/BrowserStatisticsWindowController.m:
4332 (-[BrowserStatisticsWindowController refreshStatistics:]):
4334 2010-12-10 Eric Seidel <eric@webkit.org>
4338 commit-queue should report port/platform information when commenting on flaky test bugs
4339 https://bugs.webkit.org/show_bug.cgi?id=50839
4341 Renamed platform.py to platforminfo.py. This broke import platform in executive.py
4342 which was only used by new run webkit tests (and clearly not unit tested).
4344 * Scripts/webkitpy/common/system/platforminfo.py: Renamed from WebKitTools/Scripts/webkitpy/common/system/platform.py.
4345 * Scripts/webkitpy/tool/main.py:
4346 * Scripts/webkitpy/tool/mocktool.py:
4348 2010-12-10 Eric Seidel <eric@webkit.org>
4350 Reviewed by Tony Chang.
4352 commit-queue should report port/platform information when commenting on flaky test bugs
4353 https://bugs.webkit.org/show_bug.cgi?id=50839
4355 This was a suggestion from Tony Chang this morning.
4356 I added a platform.py class so I could easily mock the platform call,
4357 but that may not be the final solution for this mocking.
4358 We'll try it and see.
4360 * Scripts/webkitpy/common/system/platform.py: Added.
4361 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
4362 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
4363 * Scripts/webkitpy/tool/commands/queues_unittest.py:
4364 * Scripts/webkitpy/tool/main.py:
4365 * Scripts/webkitpy/tool/mocktool.py:
4367 2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>
4369 Reviewed by Joseph Pecoraro.
4371 Bug 43455 - [Qt]: Implement Application Cache Quotas
4372 https://bugs.webkit.org/show_bug.cgi?id=43455
4374 Introduce functions to allow new appcache layout test origin-quota.html
4375 to work correctly under Qt.
4377 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4378 (WebCore::DumpRenderTree::DumpRenderTree):
4379 (WebCore::DumpRenderTree::dumpApplicationCacheQuota):
4380 * DumpRenderTree/qt/DumpRenderTreeQt.h:
4382 Introduce functions to allow new appcache layout test origin-quota.html
4383 to be successful under qt. Changes required because LayoutTestControllerQt
4384 does not inherit from LayoutController.
4386 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4387 (LayoutTestController::reset):
4388 (LayoutTestController::clearAllApplicationCaches):
4389 (LayoutTestController::setApplicationCacheOriginQuota):
4390 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4391 (LayoutTestController::shouldDumpApplicationCacheDelegateCallbacks):
4392 (LayoutTestController::dumpApplicationCacheDelegateCallbacks):
4394 2010-12-10 Eric Seidel <eric@webkit.org>
4396 Reviewed by Adam Barth.
4398 Move buildbot.py into its own module so we can split it out into one-file-per-class
4399 https://bugs.webkit.org/show_bug.cgi?id=50806
4401 We're adding more buildbot logic these days, so it makes sense
4402 to give buildbot its own module.
4404 * Scripts/webkitpy/common/net/buildbot/__init__.py: Added.
4405 * Scripts/webkitpy/common/net/buildbot/buildbot.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot.py.
4406 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot_unittest.py.
4407 * Scripts/webkitpy/common/net/failuremap.py:
4408 * Scripts/webkitpy/common/net/regressionwindow.py:
4409 * Scripts/webkitpy/tool/commands/rebaseline.py:
4411 2010-12-10 Tony Chang <tony@chromium.org>
4413 Reviewed by Eric Seidel.
4415 Use FileSystem::remove when cleaning up http lock files
4416 https://bugs.webkit.org/show_bug.cgi?id=50830
4418 * Scripts/webkitpy/layout_tests/port/http_lock.py:
4420 2010-12-10 Joone Hur <joone@kldp.org>
4422 Reviewed by Martin Robinson.
4424 [GTK] DRT needs layoutTestController.setCacheModel
4425 https://bugs.webkit.org/show_bug.cgi?id=50705
4427 webkit_set_cache_mode() is called to set the cache model.
4429 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4430 (LayoutTestController::setCacheModel): Set the cache model.
4432 2010-12-10 Tony Chang <tony@chromium.org>
4434 Reviewed by Ojan Vafai.
4436 [chromium] remove --use-drt and add --use-test-shell
4437 https://bugs.webkit.org/show_bug.cgi?id=50701
4439 * Scripts/webkitpy/common/config/ports.py:
4440 * Scripts/webkitpy/common/config/ports_unittest.py:
4441 * Scripts/webkitpy/layout_tests/port/chromium.py:
4442 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
4443 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
4444 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
4445 * Scripts/webkitpy/layout_tes