1 2011-01-19 Dirk Pranke <dpranke@chromium.org>
5 Fix a couple of minor bugs discovered while bringing up new bots
8 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
9 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
11 2011-01-19 James Robinson <jamesr@chromium.org>
13 Unreviewed, rolling out r76194.
14 http://trac.webkit.org/changeset/76194
15 https://bugs.webkit.org/show_bug.cgi?id=51218
17 Caused mysterious compile failure on the chromium win
20 * DumpRenderTree/chromium/WebViewHost.cpp:
21 (WebViewHost::paintInvalidatedRegion):
22 * DumpRenderTree/chromium/WebViewHost.h:
24 2011-01-19 Dirk Pranke <dpranke@chromium.org>
26 Reviewed by Mihai Parparita.
28 remove fs refs from test_runner, dump_render_tree_thread
30 https://bugs.webkit.org/show_bug.cgi?id=52753
32 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
33 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
34 * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
35 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
37 2011-01-19 James Robinson <jamesr@chromium.org>
39 Reviewed by Darin Fisher.
41 Implement mozilla's requestAnimationFrame API
42 https://bugs.webkit.org/show_bug.cgi?id=51218
44 Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
46 * DumpRenderTree/chromium/WebViewHost.cpp:
47 (invokeScheduleComposite):
48 (WebViewHost::scheduleAnimation):
49 (WebViewHost::paintInvalidatedRegion):
50 * DumpRenderTree/chromium/WebViewHost.h:
52 2011-01-19 Dirk Pranke <dpranke@chromium.org>
54 Unreviewed, build fix.
56 Fix a few incorrect "self._filesystem" references introduced in
59 * Scripts/webkitpy/layout_tests/port/chromium.py:
60 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
62 2011-01-19 Dirk Pranke <dpranke@chromium.org>
64 Reviewed by Mihai Parparita.
66 add a .sep property, abspath(), isabs(), mtime(), and
67 open_text_file_for_writing() to filesystem modules. Some of
68 these properties are not needed in this patch but will be needed
69 in subsequent patches (I'm doing this to avoid having to track
70 multiple versions of a single file).
72 Also, change most of the port/* modules to use the filesystem
73 objects instead of referencing the filesystem directly.
75 https://bugs.webkit.org/show_bug.cgi?id=52748
77 * Scripts/webkitpy/common/system/filesystem.py:
78 * Scripts/webkitpy/common/system/filesystem_mock.py:
79 * Scripts/webkitpy/layout_tests/port/__init__.py:
80 * Scripts/webkitpy/layout_tests/port/base.py:
81 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
82 * Scripts/webkitpy/layout_tests/port/chromium.py:
83 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
84 * Scripts/webkitpy/layout_tests/port/config.py:
85 * Scripts/webkitpy/layout_tests/port/test.py:
86 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
88 2011-01-19 Maciej Stachowiak <mjs@apple.com>
90 Reviewed by Anders Carlsson.
92 If resetting between tests times out, treat it as a WebProcess crash
93 https://bugs.webkit.org/show_bug.cgi?id=52757
95 * WebKitTestRunner/TestController.cpp:
96 (WTR::TestController::runTest):
98 2011-01-19 Alexey Proskuryakov <ap@apple.com>
100 Reviewed by Darin Adler.
102 https://bugs.webkit.org/show_bug.cgi?id=52739
103 Make it possible for a WebKit2 client to print headers and footers
105 Added dummy implementations for new printing UIClient calls.
107 * MiniBrowser/mac/BrowserWindowController.m:
108 (-[BrowserWindowController awakeFromNib]):
109 * WebKitTestRunner/TestController.cpp:
110 (WTR::createOtherPage):
111 (WTR::TestController::initialize):
113 2011-01-19 Dirk Pranke <dpranke@chromium.org>
115 Reviewed by Ojan Vafai.
117 Change webkitpy/layout_tests/port/test.py to use the
118 in-memory filesystem for cleaner unit testing. This
119 change allows us to kill a lot of code that was
120 specific to the test port, at the cost of being a
121 little less clear about how things would work if
122 you didn't have a filesystem.
124 https://bugs.webkit.org/show_bug.cgi?id=52605
126 * Scripts/webkitpy/layout_tests/port/test.py:
128 2011-01-19 Dirk Pranke <dpranke@chromium.org>
130 Unreviewed, build fix.
132 Fix test failure caused by committing attachment 79368 instead
133 of attachment 79461 on bug 52604.
135 * Scripts/webkitpy/common/system/filesystem_mock.py:
137 2011-01-19 Dirk Pranke <dpranke@chromium.org>
139 Reviewed by Mihai Parparita.
141 new-run-webkit-tests: remove use of os.walk, use mock filesystem for better
142 unit testing. os.walk() is too much of a hassle to implement on
143 top of the in-memory mock filesystem and adding the necessary
144 interface to files_under() gives clients a cleaner API anyway
145 (for this particular usage model).
147 https://bugs.webkit.org/show_bug.cgi?id=52691
149 * Scripts/webkitpy/common/system/filesystem.py:
150 * Scripts/webkitpy/common/system/filesystem_mock.py:
151 * Scripts/webkitpy/layout_tests/port/test_files.py:
152 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
154 2011-01-19 Dirk Pranke <dpranke@chromium.org>
156 Reviewed by Tony Chang.
158 Change more modules in the layout-tests code to use the
159 filesystem wrapper for cleaner unit testing.
161 This patch also adds the glob() wrapper to the filesystem
164 https://bugs.webkit.org/show_bug.cgi?id=52604
166 * Scripts/webkitpy/layout_tests/port/test_files.py:
167 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
168 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
169 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
170 * Scripts/webkitpy/common/system/filesystem.py:
171 * Scripts/webkitpy/common/system/filesystem_mock.py:
173 2011-01-19 Levi Weintraub <leviw@chromium.org>
177 Updating my email addresses and irc nick.
179 * Scripts/webkitpy/common/config/committers.py:
181 2011-01-19 Tony Chang <tony@chromium.org>
183 Reviewed by Mihai Parparita.
185 [chromium] [linux] if check-sys-deps fails, output the failure reason
186 https://bugs.webkit.org/show_bug.cgi?id=52671
188 * Scripts/webkitpy/common/system/executive_mock.py: Add support for
189 error handler functions.
190 * Scripts/webkitpy/layout_tests/port/chromium.py:
191 output the error text from --check-sys-deps
192 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
194 2011-01-19 Aparna Nandyal <aparna.nand@wipro.com>
196 Reviewed by Andreas Kling.
198 [Qt] QtTestBrowser crashes when closing if Facebook is opened
199 https://bugs.webkit.org/show_bug.cgi?id=52554
201 QtNetworkAccessManager is created in a thread and set as
202 member variable in QWebPage. When the thread is destroyed
203 the object is still used. So fix will set the object to
204 NULL once the thread is destroyed.
206 * QtTestBrowser/launcherwindow.cpp:
207 (LauncherWindow::~LauncherWindow):
209 2011-01-18 Maciej Stachowiak <mjs@apple.com>
211 Rubber stamped by Csaba Osztrogonac
213 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Removed unncessary inculde of WKStringCF.h
215 2011-01-18 Dirk Pranke <dpranke@chromium.org>
217 Reviewed by Tony Chang.
219 new-run-webkit-tests: add a --build-directory command line argument
221 Official Google Chrome builds use a non-standard build directory
222 location. This patch adds a --build-directory argument that
223 allows that location to be specified on the command line. Only
224 Chromium-based builds will use this flag for now, but anyone can
227 There are no unit tests for this since it's difficult to test
228 until mock filesystems are fully supported in the code. This was
229 tested by hand for now.
231 https://bugs.webkit.org/show_bug.cgi?id=52694
233 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
234 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
235 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
236 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
238 2011-01-18 Maciej Stachowiak <mjs@apple.com>
240 Not reviewed. Bot fix.
242 Remove an inadvertently committed debugging print.
244 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
245 (LayoutTestController::notifyDone):
247 2011-01-18 Maciej Stachowiak <mjs@apple.com>
249 Reviewed by Sam Weinig.
251 WebKitTestRunner should track loading more like DumpRenderTree
252 https://bugs.webkit.org/show_bug.cgi?id=52692
254 Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
255 This makes some tests that call notifyDone multiple times pass.
257 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
258 (WTR::InjectedBundle::InjectedBundle):
259 (WTR::InjectedBundle::done):
260 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
261 (WTR::InjectedBundle::topLoadingFrame):
262 (WTR::InjectedBundle::setTopLoadingFrame):
263 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
264 (WTR::InjectedBundlePage::InjectedBundlePage):
265 (WTR::InjectedBundlePage::stopLoading):
266 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
267 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
268 (WTR::InjectedBundlePage::didFinishLoadForFrame):
269 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
270 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
271 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
272 (WTR::LayoutTestController::notifyDone):
273 * WebKitTestRunner/TestController.cpp:
274 (WTR::TestController::didReceiveMessageFromInjectedBundle):
276 2011-01-18 Mihai Parparita <mihaip@chromium.org>
278 Reviewed by Kent Tamura.
280 [Chromium] NRWT looking for DRT binary in the wrong path on Mac
281 https://bugs.webkit.org/show_bug.cgi?id=52678
283 Update path now that WebKit is inside Source.
285 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
287 2011-01-18 Robert Hogan <robert@webkit.org>
289 Reviewed by Simon Hausmann.
291 [Qt] http/tests/incremental/slow-utf8-text.pl fails
292 https://bugs.webkit.org/show_bug.cgi?id=44282
294 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
295 (WebCore::DumpRenderTree::dump):
297 2011-01-18 Dirk Pranke <dpranke@chromium.org>
299 Reviewed by Mihai Parparita.
301 Fix a small race condition that could cause the unit tests for
302 new-run-webkit-tests to fail in a multithreaded environment.
303 There was a small window in the code where one thread would
304 check to see if a thread had raised an exception, do something,
305 and then check to see if the thread was alive. If the other
306 thread raised an exception and exited in between these two
307 steps, the exception would be lost. Flipping the order of the
308 two checks fixes the race, since we will now always check for an
309 exception on the thread before exiting.
311 https://bugs.webkit.org/show_bug.cgi?id=51579
313 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
315 2011-01-18 Eric Seidel <eric@webkit.org>
317 Reviewed by Adam Barth.
319 commit-queue dies when test archiving fails
320 https://bugs.webkit.org/show_bug.cgi?id=52617
322 I looked at the machine and it had 10 archives already
323 thus find_unused_name was returning None. I've upped
324 the limit to 100 (per bug) and tested the case where
325 find_unused_name returns None (making archive return None).
327 * Scripts/webkitpy/common/system/workspace.py:
328 * Scripts/webkitpy/common/system/workspace_unittest.py:
329 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
330 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
331 * Scripts/webkitpy/tool/commands/queues.py:
333 2011-01-18 Dirk Pranke <dpranke@chromium.org>
335 Reviewed by Ojan Vafai.
337 Update rebaseline-chromium-webkit-tests unit tests to use a mock
338 filesystem. Also fix a couple of "with" statements missed by
341 https://bugs.webkit.org/show_bug.cgi?id=52487
343 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
345 2011-01-18 Sergio Villar Senin <svillar@igalia.com>
347 Reviewed by Martin Robinson.
349 [Gtk] Build fixes for gtk3 build
350 https://bugs.webkit.org/show_bug.cgi?id=52648
352 * DumpRenderTree/gtk/EventSender.cpp:
353 (beginDragWithFilesCallback):
355 2011-01-18 Dirk Pranke <dpranke@chromium.org>
357 Reviewed by Mihai Parparita.
359 Update rebaseline-chromium-webkit-tests to use filesystem objects
360 instead of direct references to os.path, shutil, tempfile, etc.
362 This patch doesn't change anything, but will allow subsequent
363 patches to change the unit tests to no longer use the real
366 This patch adds a bunch more methods to the filesystem object as
369 https://bugs.webkit.org/show_bug.cgi?id=52482
371 * Scripts/webkitpy/common/system/filesystem.py:
372 * Scripts/webkitpy/common/system/filesystem_mock.py:
373 * Scripts/webkitpy/tool/commands/queues.py:
374 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
375 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
377 2011-01-18 Dirk Pranke <dpranke@chromium.org>
379 Reviewed by Mihai Parparita.
381 new-run-webkit-tests shouldn't crash when you try to run a
382 directory containing only skipped files.
384 https://bugs.webkit.org/show_bug.cgi?id=52478
386 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
387 * Scripts/webkitpy/layout_tests/port/test.py:
388 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
390 2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>
392 Reviewed by Gustavo Noronha Silva.
394 [GTK] The GTK+ EventSender needs support for beginDragWithFiles
395 https://bugs.webkit.org/show_bug.cgi?id=40833
397 * DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the
399 (dragWithFilesDragDataGetCallback): Added.
400 (dragWithFilesDragEndCallback): Added.
401 (beginDragWithFilesCallback): Added.
403 2011-01-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
405 Reviewed by Adam Barth.
407 ews: Add additional watcher to efl ews
408 https://bugs.webkit.org/show_bug.cgi?id=52613
410 Add gyuyoung.kim@samsung.com to watcher list of efl-ews.
412 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
414 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
416 Reviewed by Alexey Proskuryakov.
418 Fix some headers with missing or misspelled #ifndef guards
419 https://bugs.webkit.org/show_bug.cgi?id=52545
421 * DumpRenderTree/chromium/TestEventPrinter.h:
422 * DumpRenderTree/chromium/WebPreferences.h:
424 2011-01-17 Jessie Berlin <jberlin@apple.com>
426 Reviewed by Anders Carlsson.
428 REGRESSION: Assertion failure in FrameLoader::continueLoadAfterWillSubmitForm() when
429 navigating back to an unreachable URL
430 https://bugs.webkit.org/show_bug.cgi?id=52388
432 Add a third parameter (unreachableURL) to queueLoadHTMLString.
434 * DumpRenderTree/LayoutTestController.cpp:
435 (queueLoadHTMLStringCallback):
436 (LayoutTestController::queueLoadHTMLString):
437 (LayoutTestController::queueLoadAlternateHTMLString):
438 * DumpRenderTree/LayoutTestController.h:
440 * DumpRenderTree/WorkQueueItem.h:
441 (LoadHTMLStringItem::LoadHTMLStringItem):
443 * DumpRenderTree/chromium/LayoutTestController.cpp:
444 (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
445 (WorkItemLoadHTMLString::run):
446 (LayoutTestController::queueLoadHTMLString):
448 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
449 (LoadHTMLStringItem::invoke):
450 * DumpRenderTree/mac/WorkQueueItemMac.mm:
451 (LoadHTMLStringItem::invoke):
452 * DumpRenderTree/win/WorkQueueItemWin.cpp:
453 (LoadHTMLStringItem::invoke):
455 2011-01-17 Dan Bernstein <mitz@apple.com>
457 Rubber-stamped by Mark Rowe.
459 Update xcodeproj svn:ignore to include xcuserdata.
461 * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
462 * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
463 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
464 * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
465 * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
467 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
469 Unreviewed fix after r75908.
471 Move WebKit into Source
472 https://bugs.webkit.org/show_bug.cgi?id=52530
474 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add Source to the path for Qt API tests.
476 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
480 Remove accidentally committed debug printing after r75908.
482 * Scripts/webkitdirs.pm:
484 2011-01-17 John Knottenbelt <jknotten@chromium.org>
488 Add myself to committers list
489 https://bugs.webkit.org/show_bug.cgi?id=52566
491 * Scripts/webkitpy/common/config/committers.py:
493 2011-01-17 John Knottenbelt <jknotten@chromium.org>
495 Reviewed by Jeremy Orlow.
497 GeolocationController should call stopUpdating on destruction
498 https://bugs.webkit.org/show_bug.cgi?id=52216
500 fast/dom/Geolocation/window-close-crash.html requires that a
501 Geolocation watch be started in a secondary window. Consequently,
502 we need to allow geolocation permission and provide a mock
503 geolocation position for the secondary window's
504 GeolocationClientMock.
506 * DumpRenderTree/chromium/LayoutTestController.cpp:
507 (LayoutTestController::setGeolocationPermission):
508 (LayoutTestController::setMockGeolocationPosition):
509 (LayoutTestController::setMockGeolocationError):
510 * DumpRenderTree/chromium/TestShell.h:
511 (TestShell::windowList):
513 2011-01-16 Adam Barth <abarth@webkit.org>
515 Update more include paths to reflect WebKit move.
517 * DumpRenderTree/chromium/EventSender.cpp:
518 (EventSender::keyDown):
519 (EventSender::needsShiftModifier):
520 * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
521 * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
523 2011-01-16 Kent Tamura <tkent@chromium.org>
525 Unreviewed, Chromium build fix.
527 * Scripts/update-webkit-chromium: Webkit/chromium -> Source/WebKit/chromium
529 2011-01-16 Martin Robinson <mrobinson@igalia.com>
531 Build fix for GTK+ after source directory movement.
533 * GNUmakefile.am: Correct include paths.
535 2011-01-16 Adam Barth <abarth@webkit.org>
537 Teach svn-apply about WebKit move.
539 * Scripts/VCSUtils.pm:
541 2011-01-16 Adam Barth <abarth@webkit.org>
543 Rubber-stamped by Eric Seidel.
545 Move WebKit into Source
546 https://bugs.webkit.org/show_bug.cgi?id=52530
548 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
549 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
550 * DumpRenderTree/qt/DumpRenderTreeQt.h:
551 * DumpRenderTree/qt/GCControllerQt.cpp:
552 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
553 * DumpRenderTree/qt/PlainTextControllerQt.cpp:
554 * DumpRenderTree/qt/TextInputControllerQt.cpp:
555 * DumpRenderTree/wscript:
556 * QtTestBrowser/launcherwindow.h:
557 * Scripts/build-webkit:
558 * Scripts/webkitdirs.pm:
560 2011-01-15 Adam Barth <abarth@webkit.org>
562 Teach svn-apply about WebKit2 move.
564 * Scripts/VCSUtils.pm:
566 2011-01-15 Adam Barth <abarth@webkit.org>
568 Rubber-stamped by Eric Seidel.
570 Move WebKit2 into Source
571 https://bugs.webkit.org/show_bug.cgi?id=52438
573 * MiniBrowser/qt/MiniBrowser.pro:
574 * Scripts/build-webkit:
575 * Scripts/do-file-rename:
576 * Scripts/do-webcore-rename:
577 * Scripts/test-webkitpy:
578 * Scripts/webkitdirs.pm:
579 * Scripts/webkitpy/style/checker.py:
580 * WebKitTestRunner/DerivedSources.pro:
581 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
582 * WebKitTestRunner/qt/WebKitTestRunner.pro:
584 2011-01-15 Jochen Eisinger <jochen@chromium.org>
586 Reviewed by David Levin.
588 [chromium] remove obsolete createView method
589 https://bugs.webkit.org/show_bug.cgi?id=52437
591 * DumpRenderTree/chromium/WebViewHost.cpp:
592 (WebViewHost::createView):
593 * DumpRenderTree/chromium/WebViewHost.h:
595 2011-01-14 Brian Weinstein <bweinstein@apple.com>
597 Reviewed by Geoff Garen.
599 ShouldLoadResourceForFrame should use strings, not URLs.
600 https://bugs.webkit.org/show_bug.cgi?id=52476
602 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
603 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Update to use a WKStringRef.
604 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
606 2011-01-14 Tony Gentilcore <tonyg@chromium.org>
608 Reviewed by David Levin.
610 Add Tony Gentilcore as a reviewer
611 https://bugs.webkit.org/show_bug.cgi?id=52480
613 * Scripts/webkitpy/common/config/committers.py:
615 2011-01-14 David Levin <levin@chromium.org>
617 Reviewed by Eric Seidel.
619 check-webkit-style: _FunctionState should keep track of where the function name starts.
620 https://bugs.webkit.org/show_bug.cgi?id=52454
622 * Scripts/webkitpy/style/checkers/cpp.py: Added function_name_start_position to
623 _FunctionState and logic for setting it correctly.
624 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
626 2011-01-14 Vincent Scheib <scheib@chromium.org>
628 Reviewed by David Levin.
630 Add support to DumpRenderTree to use the GPU rather than software renderer
631 https://bugs.webkit.org/show_bug.cgi?id=52333
633 * DumpRenderTree/chromium/DumpRenderTree.cpp:
635 * Scripts/webkitpy/layout_tests/port/chromium.py:
636 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
638 2011-01-14 Tony Chang <tony@chromium.org>
640 Reviewed by Kent Tamura.
642 [chromium] update fonts.conf to fix 6 linux tests in drt
643 https://bugs.webkit.org/show_bug.cgi?id=52411
645 * DumpRenderTree/chromium/fonts.conf: Update to match the copy in
646 chromium's src/webkit/tools/test_shell/resources/fonts.conf
648 2011-01-14 Eric Seidel <eric@webkit.org>
650 Original patch from Peter Gal <galpater@inf.u-szeged.hu>
652 Reviewed by Adam Barth.
654 Fix when running Tools/Scripts/check-webkit-style without arguments.
655 https://bugs.webkit.org/show_bug.cgi?id=52261#c16
657 * Scripts/webkitpy/common/checkout/scm.py: Handle None for changed_files argument better in Git.create_patch method.
658 * Scripts/webkitpy/common/checkout/scm_unittest.py:
660 2011-01-04 Jochen Eisinger <jochen@chromium.org>
662 Reviewed by David Levin.
664 Store the tempdir object in a variable so it doesn't get deleted too early.
665 https://bugs.webkit.org/show_bug.cgi?id=51875
667 * Scripts/update-webkit-auxiliary-libs:
668 * Scripts/update-webkit-support-libs:
670 2011-01-14 Eric Seidel <eric@webkit.org>
672 Unreviewed. Make it work in python 2.5.
674 webkit-patch suggest-reviewers dies when ChangeLogs are missing
675 https://bugs.webkit.org/show_bug.cgi?id=49158
677 * Scripts/webkitpy/common/checkout/api_unittest.py:
679 2011-01-14 Sheriff Bot <webkit.review.bot@gmail.com>
681 Unreviewed, rolling out r75774.
682 http://trac.webkit.org/changeset/75774
683 https://bugs.webkit.org/show_bug.cgi?id=52431
685 gtk builds were broken (Requested by loislo2 on #webkit).
687 * Scripts/webkitpy/common/checkout/scm.py:
689 2011-01-14 David Levin <levin@chromium.org>
691 Reviewed by Shinichiro Hamaji.
693 check-webkit-style: _FunctionState should detect pure functions.
694 https://bugs.webkit.org/show_bug.cgi?id=52428
696 * Scripts/webkitpy/style/checkers/cpp.py: Added detection for if a function declaration
697 is a pure virtual function.
698 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for verifying that pure
699 virtual functions are correctly detected.
701 2011-01-13 Ilya Tikhonovsky <loislo@chromium.org>
703 Reviewed by Yury Semikhatsky.
705 Just small fix for problem with check-webkit-style.
706 It just didn't work for this patch.
707 Old code can't concatenate a list of strings with None.
709 * Scripts/webkitpy/common/checkout/scm.py:
711 2011-01-13 David Levin <levin@chromium.org>
713 Reviewed by Shinichiro Hamaji.
715 check-webkit-style: _FunctionState should use Position to know where items are.
716 https://bugs.webkit.org/show_bug.cgi?id=52424
718 * Scripts/webkitpy/style/checkers/cpp.py:
719 (_FunctionState.*): Changed _FunctionState to use Position instead of line numbers.
720 (detect_functions): Changed to pass Position's to _FunctionState.begin and
721 did some minor clean-up.
722 (*): Other changes are simply about converting to use the Position's in_FunctionState
723 instead of line numbers.
724 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Changed the test code
725 to verify the positions stored in _FunctionState.
727 2011-01-13 Eric Seidel <eric@webkit.org>
729 Reviewed by David Levin.
731 webkit-patch suggest-reviewers dies when ChangeLogs are missing
732 https://bugs.webkit.org/show_bug.cgi?id=49158
734 This is not the most elegant, but it is a very safe fix to this bug.
735 One advantage of catching ScriptError like this instead of adding a
736 new added_or_modified_files or fixing all changed_files callers
737 to use a more specific change_files variant, is that we catch
738 all kinds of ScriptErrors which might cause our (non-essential)
739 suggest-reviewers code to fail out. This should make passing
740 --suggest-reviewers to webkit-patch upload much more robust
741 and may even make it possible for us to make it default.
743 The root of the problem here is that SCM.changed_files includes
744 deleted ChangeLog paths (from moves, etc) which then when we ask
745 SVN/Git for the contents of the file at that revision, the command
746 errors out and Executive.run_command raises a ScriptError.
748 In the future we might fix this differently by making all current
749 callers of chagned_files use a more specific method for requesting
750 what types of changes they're interested in (adds, modifies, deletes, etc.)
752 * Scripts/webkitpy/common/checkout/api.py:
753 * Scripts/webkitpy/common/checkout/api_unittest.py:
755 2011-01-13 Dan Bernstein <mitz@apple.com>
757 Reviewed by Alexey Proskuryakov.
759 <rdar://problem/8827065> REGRESSION (r71884): Cross-origin XHR fails if willSendRequest changes the URL
760 https://bugs.webkit.org/show_bug.cgi?id=52419
762 Allow to further control the behavior of the willSendRequest delegate callback by making it
763 set a different URL in the new request.
765 * DumpRenderTree/LayoutTestController.cpp:
766 (addURLToRedirectCallback): Added.
767 (LayoutTestController::staticFunctions): Added addURLToRedirect.
768 (LayoutTestController::addURLToRedirect): Added. Adds the redirection to the map.
769 (LayoutTestController::redirectionDestinationForURL): Added this getter.
770 * DumpRenderTree/LayoutTestController.h:
771 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
772 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): Check
773 if there is a redirection for the request’s URL, established by addURLToRedirect(), and if so,
774 change the URL in the new request to the redirect destination.
776 2011-01-13 Eric Seidel <eric@webkit.org>
778 Reviewed by Mihai Parparita.
780 webkit-patch suggest-reviewers fails due to invalid utf8 in ChangeLog files
781 https://bugs.webkit.org/show_bug.cgi?id=52416
783 Example: webkit-patch suggest-reviewers -g ca3890fe74d94d85d6bfa48f9ea497b094d8e717
784 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 536-538: invalid data
786 I also added FIXMEs about the changed_files returning deleted files problem
787 which is causing the other most common exception for suggest-reviewers
788 (and is probably breaking sheriff-bots blame detection).
790 * Scripts/webkitpy/common/checkout/api.py:
791 * Scripts/webkitpy/common/checkout/api_unittest.py:
792 * Scripts/webkitpy/common/checkout/scm.py:
794 2011-01-13 Eric Seidel <eric@webkit.org>
796 Reviewed by Adam Barth.
798 results archives from commit-queue are too large to upload
799 https://bugs.webkit.org/show_bug.cgi?id=52405
801 * Scripts/webkitpy/common/system/filesystem.py:
802 * Scripts/webkitpy/common/system/filesystem_mock.py:
803 * Scripts/webkitpy/tool/commands/queues.py:
805 2011-01-13 Alejandro G. Castro <alex@igalia.com>
807 Reviewed by Martin Robinson.
809 [gtk] Zero-sized font does not yet work
810 https://bugs.webkit.org/show_bug.cgi?id=49793
812 Set minimum-font-size to 0 for the DRT.
814 * DumpRenderTree/gtk/DumpRenderTree.cpp:
815 (resetDefaultsToConsistentValues):
817 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
819 Reviewed by Darin Adler.
821 Make old-run-webkit-tests more robust on buildbots
822 https://bugs.webkit.org/show_bug.cgi?id=52364
824 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Pass --exit-after-n-failures 500 to old-run-webkit-tests script.
826 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
828 Reviewed by Darin Adler.
830 Make old-run-webkit-tests more robust on buildbots
831 https://bugs.webkit.org/show_bug.cgi?id=52364
833 * Scripts/old-run-webkit-tests: Ensure that testResultsDirectory is empty.
835 2011-01-13 Tony Chang <tony@chromium.org>
837 Reviewed by Kent Tamura.
839 [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
840 https://bugs.webkit.org/show_bug.cgi?id=52332
842 Forked Info.plist is not longer needed.
844 * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Removed.
846 2011-01-13 Mikhail Naganov <mnaganov@chromium.org>
848 Reviewed by Timothy Hatcher.
850 Web Inspector: Cleanup after r75613 -- make all UI-facing strings
851 to be passed directly to WebInspector.UIString
853 https://bugs.webkit.org/show_bug.cgi?id=52365
855 * Scripts/check-inspector-strings:
857 2011-01-13 Sheriff Bot <webkit.review.bot@gmail.com>
859 Unreviewed, rolling out r74881.
860 http://trac.webkit.org/changeset/74881
861 https://bugs.webkit.org/show_bug.cgi?id=52357
863 The EFL builder has been red for days (Requested by abarth on
866 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
867 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
869 2011-01-12 Maciej Stachowiak <mjs@apple.com>
871 Reviewed by David Levin.
873 Add beforeunload support to WebKitTestRunner
874 https://bugs.webkit.org/show_bug.cgi?id=52353
876 This makes a number of currently failing tests pass.
878 * WebKitTestRunner/TestController.cpp:
879 (WTR::runBeforeUnloadConfirmPanel):
880 (WTR::createOtherPage):
881 (WTR::TestController::initialize):
883 2011-01-12 Maciej Stachowiak <mjs@apple.com>
885 Reviewed by Sam Weinig.
887 Detect, identify and recover from WebProcess crashes in run-webkit-tests
888 https://bugs.webkit.org/show_bug.cgi?id=52330
890 * Scripts/old-run-webkit-tests: Detect when the regression test tool reports
892 * WebKitTestRunner/TestController.cpp:
893 (WTR::TestController::initialize): Set up a processDidCrash
895 (WTR::TestController::processDidCrash): Report that the Web process
897 * WebKitTestRunner/TestController.h:
899 2011-01-12 David Levin <levin@chromium.org>
901 Reviewed by Shinichiro Hamaji.
903 check-webkit-style -- close_expression function doesn't work correctly.
904 https://bugs.webkit.org/show_bug.cgi?id=52272
906 * Scripts/webkitpy/style/checkers/cpp.py:
907 (Position.__str__): Added a way to convert it to a string which is useful in tests.
908 (Position.__cmp__): Added a way to compare Position which is useful in tests and
909 generally useful (for upcoming code changes).
910 (close_expression): Changed to use Position for input and output.
911 Also, fixed many bugs such as only working correctly for parenthesis,
912 not working correctly if given an offset in a line and not finding
913 the real closing element if there were multiple closing elements in
915 (detect_functions): Adjusted due to the change in arguments for
917 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
918 (CppStyleTestBase.assert_positions_equal): Added a way to verify that
919 two positions are the same.
920 (CppStyleTest.test_position): Added tests for the __str_ and __cmp__ methods.
921 (CppStyleTest.test_close_expression): Added tests to catch the issues
924 2011-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
926 Unreviewed, rolling out r75576.
927 http://trac.webkit.org/changeset/75576
928 https://bugs.webkit.org/show_bug.cgi?id=52304
930 broke rebaseline-chromium-webkit-test (Requested by thakis on
933 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
934 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
935 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
936 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
937 * Scripts/webkitpy/layout_tests/port/base.py:
938 * Scripts/webkitpy/layout_tests/port/chromium.py:
939 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
940 * Scripts/webkitpy/layout_tests/port/test.py:
941 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
942 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
943 * Scripts/webkitpy/style/checkers/test_expectations.py:
944 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
946 2011-01-12 Maciej Stachowiak <mjs@apple.com>
948 Reviewed by Darin Adler.
950 Add a no-build option to run-webkit-tests, to avoid building DRT/WKTR
951 https://bugs.webkit.org/show_bug.cgi?id=52307
953 * Scripts/old-run-webkit-tests:
955 2011-01-12 Koan-Sin Tan <koansin.tan@gmail.com>
957 Reviewed by Martin Robinson.
959 [Gtk] WebKitGtk+ doesn't build on Mac OS X 10.6
960 https://bugs.webkit.org/show_bug.cgi?id=50867
962 Fixed library extention for Mac in webkitdirs.pm and type conflict in
963 TestNetscapePlugin.cpp
965 * GNUmakefile.am: Don't use AppKit when compiling TestNetscapePlugin for GTK+
966 * Scripts/webkitdirs.pm:
968 2011-01-12 Mikhail Naganov <mnaganov@chromium.org>
970 Reviewed by Pavel Feldman.
972 Add check-inspector-strings script.
974 https://bugs.webkit.org/show_bug.cgi?id=52295
976 * Scripts/check-inspector-strings: Added.
978 2011-01-12 Adam Roben <aroben@apple.com>
980 Advertise the .testnetscape file extension on Windows
982 Fixes <http://webkit.org/b/52298>
983 plugins/no-mime-with-valid-extension.html fails on Windows
985 Reviewed by Dan Bernstein.
987 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Added a
988 FileExtents field to map the .testnetscape file extension to the
989 application/x-webkit-test-netscape MIME type, just as we do on Mac.
991 2011-01-12 Adam Barth <abarth@webkit.org>
993 Reviewed by Eric Seidel.
995 Make webkit-patch support subdirectories for SVN checkouts
996 https://bugs.webkit.org/show_bug.cgi?id=52261
998 os.relpath does not exist on Python 2.5, so we need to call our version
1001 * Scripts/webkitpy/common/checkout/scm.py:
1003 2011-01-11 Maciej Stachowiak <mjs@apple.com>
1005 Reviewed by Eric Seidel.
1007 Close additional pages opened during a test once the test completes.
1008 https://bugs.webkit.org/show_bug.cgi?id=52276
1010 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1011 (WTR::InjectedBundle::done):
1013 2011-01-11 David Levin <levin@chromium.org>
1015 Reviewed by Eric Seidel.
1017 Errors should be separated from the command line in bot messages.
1018 https://bugs.webkit.org/show_bug.cgi?id=52275
1020 * Scripts/webkitpy/common/system/executive.py:
1021 (ScriptError.message_with_output): Added a newline to separate the command
1022 line from the errors.
1023 * Scripts/webkitpy/common/system/executive_unittest.py:
1024 (ScriptErrorTest.test_message_with_output): Added tests for the various code
1025 paths in message_with_output.
1027 2011-01-11 Eric Seidel <eric@webkit.org>
1031 commit-queue should know how to upload archived results (for test flakes or general failures)
1032 https://bugs.webkit.org/show_bug.cgi?id=52048
1034 The zips are mostly empty due to forgetting -r.
1035 Expected diffs were not being pulled from the archive due
1036 to the archive having longer paths than I realized.
1038 * Scripts/webkitpy/common/system/workspace.py:
1039 * Scripts/webkitpy/common/system/workspace_unittest.py:
1040 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1041 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1043 2011-01-11 Dirk Pranke <dpranke@chromium.org>
1045 Reviewed by Ojan Vafai.
1047 The current modifier parsing code in test_expectations is
1048 fragile and hard-coded, so it's not easy to understand the logic
1049 or easily add new types of modifiers (like GPU vs. CPU testing
1050 for graphics tests, or 32-bit vs. 64-bit differences).
1052 This is the first of two patches that will add in more generic
1053 support and then eliminate the GPU-specific test expectations
1056 This patch adds two standalone objects for handling modifiers. The
1057 rules for interpreting modifiers, precedence, and conflicts are
1058 given in the docstring to the ModifierMatcher class, which
1059 returns ModifierMatchResult objects.
1061 This patch also adds routines to the Port interface and a
1062 default set of values in the base object, in order to obtain the
1063 values needed on a given test run. These values are then passed
1064 to the expectation parser. This also allows us to clean up the
1065 logic used to lint all of the different configurations in a
1066 single test_expectations.txt file.
1068 The next patch will merge in the separate GPU expectations file.
1070 https://bugs.webkit.org/show_bug.cgi?id=51222
1072 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1073 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
1074 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
1075 * Scripts/webkitpy/layout_tests/port/base.py:
1076 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1077 * Scripts/webkitpy/layout_tests/port/chromium.py:
1078 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1079 * Scripts/webkitpy/layout_tests/port/test.py:
1080 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1081 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1083 2011-01-11 Maciej Stachowiak <mjs@apple.com>
1085 Reviewed by Adam Barth.
1087 Make webkit-patch support subdirectories for SVN checkouts
1088 https://bugs.webkit.org/show_bug.cgi?id=52261
1090 * Scripts/webkitpy/common/checkout/scm.py:
1091 * Scripts/webkitpy/style_references.py:
1092 * Scripts/webkitpy/tool/main.py:
1093 * Scripts/webkitpy/tool/steps/preparechangelog.py:
1095 2011-01-11 Eric Seidel <eric@webkit.org>
1099 commit-queue should know how to upload archived results (for test flakes or general failures)
1100 https://bugs.webkit.org/show_bug.cgi?id=52048
1102 I changed the API for archive_last_layout_test_results w/o updating the implementation. Oops.
1103 This fixes an exception seen on the commit-queue when attempting to report flaky tests.
1105 * Scripts/webkitpy/common/system/workspace.py:
1106 * Scripts/webkitpy/common/system/workspace_unittest.py:
1107 * Scripts/webkitpy/tool/commands/queues.py:
1109 2011-01-11 Sam Weinig <sam@webkit.org>
1111 Roll r75474 back in.
1113 2011-01-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1115 Reviewed by Kenneth Rohde Christiansen.
1117 [Qt] Remove uses of QFuture since it isn't supported on all platforms.
1118 https://bugs.webkit.org/show_bug.cgi?id=51204
1120 * QtTestBrowser/webpage.h:
1121 (QtNAMThread::QtNAMThread):
1122 (QtNAMThread::networkAccessManager):
1125 2011-01-11 Peter Varga <pvarga@webkit.org>
1129 Add myself to committers' list.
1131 * Scripts/webkitpy/common/config/committers.py:
1133 2011-01-11 Eric Seidel <eric@webkit.org>
1135 Reviewed by Adam Barth.
1137 commit-queue should know how to upload archived results (for test flakes or general failures)
1138 https://bugs.webkit.org/show_bug.cgi?id=52048
1140 Now the queue will always upload results. Either the entire zip, or just
1141 the diffs.txt in the case of text failures.
1143 This should make understanding flakes much easier, and paves the way
1144 for having the EWS run layout tests (and upload failures).
1146 In order to upload .zip files I had to teach bugzilla.py to autodetect
1147 mime types from the filename. Since mimetypes.py doesn't include a mapping
1148 for .patch files, I have it add one before calling guess_type.
1150 We may find that always uploading the whole zip instead of just the -diffs.txt
1151 file is preferable, but for now I'm keeping the old behavior because it makes
1152 quickly understanding text failures easy.
1154 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1155 * Scripts/webkitpy/common/system/workspace.py: Added.
1156 * Scripts/webkitpy/common/system/workspace_unittest.py: Added.
1157 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1158 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1159 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1160 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1161 * Scripts/webkitpy/tool/commands/queues.py:
1162 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1164 2011-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
1166 Unreviewed, rolling out r75464.
1167 http://trac.webkit.org/changeset/75464
1168 https://bugs.webkit.org/show_bug.cgi?id=52193
1170 Followup rollout for 75474 (Requested by Ossy on #webkit).
1172 * MiniBrowser/mac/BrowserWindowController.m:
1173 (-[BrowserWindowController awakeFromNib]):
1174 * MiniBrowser/win/BrowserView.cpp:
1175 (BrowserView::create):
1176 * WebKitTestRunner/TestController.cpp:
1177 (WTR::createOtherPage):
1178 (WTR::TestController::initialize):
1180 2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1182 Reviewed by Csaba Osztrogonác.
1184 [Qt] Baseline qt_minimal configuration
1185 https://bugs.webkit.org/show_bug.cgi?id=51313
1187 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1188 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Add
1189 QT_NO_UNDOSTACK guard.
1191 * QtTestBrowser/launcherwindow.cpp:
1192 (LauncherWindow::createChrome): Add QT_NO_SHORTCUT and QT_NO_PRINTER
1194 (LauncherWindow::applyZoom): Add QT_NO_ANIMATION guard.
1195 (LauncherWindow::screenshot): Add QT_NO_FILEDIALOG guard.
1196 (LauncherWindow::selectElements): Add QT_NO_INPUTDIALOG guard.
1197 (LauncherWindow::showUserAgentDialog): Add QT_NO_COMBOBOX guard.
1199 * QtTestBrowser/launcherwindow.h:
1200 * QtTestBrowser/locationedit.cpp: Add QT_NO_INPUTDIALOG guard.
1201 * QtTestBrowser/locationedit.h: Ditto.
1203 * QtTestBrowser/mainwindow.cpp:
1204 (MainWindow::buildUI): Add QT_NO_INPUTDIALOG, QT_NO_SHORTCUT and
1205 QT_NO_UNDOSTACK guards.
1206 (MainWindow::setAddressUrl): Add QT_NO_INPUTDIALOG guard.
1207 (MainWindow::changeLocation): Ditto.
1208 (MainWindow::openFile): Add QT_NO_FILEDIALOG guard.
1209 (MainWindow::openLocation): Add QT_NO_INPUTDIALOG guard.
1211 * QtTestBrowser/webpage.cpp:
1212 (WebPage::openUrlInDefaultBrowser): Add QT_NO_DESKTOPSERVICES guard.
1213 (WebPage::authenticationRequired): Add QT_NO_LINEEDIT guard.
1215 * QtTestBrowser/webview.cpp:
1216 (WebViewGraphicsBased::animatedFlip): Add QT_NO_ANIMATION guard.
1217 (WebViewGraphicsBased::animatedYFlip): Ditto.
1219 2011-01-10 Sam Weinig <sam@webkit.org>
1223 * MiniBrowser/mac/BrowserWindowController.m:
1224 (-[BrowserWindowController awakeFromNib]):
1225 * MiniBrowser/win/BrowserView.cpp:
1226 (BrowserView::create):
1227 * WebKitTestRunner/TestController.cpp:
1228 (WTR::createOtherPage):
1229 (WTR::TestController::initialize):
1231 2011-01-10 Eric Seidel <eric@webkit.org>
1233 Reviewed by Ojan Vafai.
1235 style-queue messages are way too long for big patches
1236 https://bugs.webkit.org/show_bug.cgi?id=52161
1238 We definitely could build much fancier list-to-string-with-limit functions
1239 but this should be sufficient for our needs at the moment.
1241 * Scripts/webkitpy/common/system/executive.py:
1242 * Scripts/webkitpy/common/system/executive_unittest.py:
1244 2011-01-10 Tony Chang <tony@chromium.org>
1246 Unreviewed, rolling out r75398.
1247 http://trac.webkit.org/changeset/75398
1248 https://bugs.webkit.org/show_bug.cgi?id=52008
1250 Some layout tests are crashing on Chromium Win.
1252 * DumpRenderTree/chromium/WebViewHost.cpp:
1253 (WebViewHost::updatePaintRect):
1254 * DumpRenderTree/chromium/WebViewHost.h:
1256 2011-01-10 Adam Roben <aroben@apple.com>
1260 It isn't needed now that r75289 has been rolled out.
1262 * Scripts/run-javascriptcore-tests:
1264 2011-01-10 Maciej Stachowiak <mjs@apple.com>
1266 Reviewed by Anders Carlsson.
1268 WebKitTestRunner uses crazy amounts of CPU, making layout tests slow and flaky
1269 https://bugs.webkit.org/show_bug.cgi?id=52160
1271 * WebKitTestRunner/mac/TestControllerMac.mm:
1272 (WTR::TestController::platformRunUntil): Instead of busy-looping, wait for the timeout.
1273 Anything that can make runUntil() conditions turn true will happen on a run loop cycle
1276 2011-01-10 Tony Chang <tony@chromium.org>
1278 Reviewed by Mihai Parparita.
1280 [chromium] fix for animated gif layout tests
1281 https://bugs.webkit.org/show_bug.cgi?id=52008
1283 * DumpRenderTree/chromium/WebViewHost.cpp: Schedule a paint when we update the paint rect
1284 to trigger gif animations.
1285 (WebViewHostPaintTask::WebViewHostPaintTask):
1286 (WebViewHostPaintTask::runIfValid):
1287 (WebViewHost::updatePaintRect):
1288 * DumpRenderTree/chromium/WebViewHost.h:
1289 (WebViewHost::taskList):
1291 2011-01-10 Alejandro G. Castro <alex@igalia.com>
1293 Reviewed by Xan Lopez.
1295 [GTK] Fix gtk2 compilation for master
1296 https://bugs.webkit.org/show_bug.cgi?id=51885
1298 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
1299 (createBitmapContextFromWebView): Replaced the old
1300 gdk_drawable_get_size with gdk_pixmap_get_size.
1302 2011-01-10 Patrick Gansterer <paroga@webkit.org>
1304 Reviewed by Laszlo Gombos.
1306 [WINCE] Reenable NPAPI after r75203
1307 https://bugs.webkit.org/show_bug.cgi?id=52109
1309 Remove the !isWinCE() check for ENABLE_NETSCAPE_PLUGIN_API and replace
1310 it with !isEfl(), because EFL port does not support NPAPI (yet).
1312 * Scripts/build-webkit:
1314 2011-01-10 Adam Roben <aroben@apple.com>
1316 Skip some asserting JS tests
1318 See <http://webkit.org/b/52156>.
1320 * Scripts/run-javascriptcore-tests:
1322 2011-01-10 Martin Robinson <mrobinson@igalia.com>
1324 Reviewed by Xan Lopez.
1326 [GTK] build-webkit disable Blob support via arguments passed to automake
1327 https://bugs.webkit.org/show_bug.cgi?id=52097
1329 * Scripts/build-webkit: Enable Blob support when building WebKitGTK+ via
1332 2011-01-10 Adam Roben <aroben@apple.com>
1334 Use the same name and description for TestNetscapePlugin on Windows and
1337 Fixes <http://webkit.org/b/52151>
1338 fast/frames/iframe-reparenting-plugins.html fails on Windows
1340 Reviewed by Steve Falkenburg.
1342 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Copied
1343 the name and description from Mac's Info.plist.
1345 2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
1347 Reviewed by Laszlo Gombos.
1349 [Qt][WK2] Guard gcc-specific syntax
1351 Non-gcc based compliers choke on the "-include"
1352 syntax for preinclude, place guard around it.
1354 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1355 * WebKitTestRunner/qt/WebKitTestRunner.pro:
1357 2011-01-10 Andreas Kling <kling@webkit.org>
1359 Reviewed by Simon Hausmann.
1361 [Qt] [WK2] MiniBrowser does not load pages opened in new windows
1362 https://bugs.webkit.org/show_bug.cgi?id=52111
1364 When getting a createNewPage() callback from QWKPage, create the
1365 new page with the same QWKContext as the page that is passed to
1368 * MiniBrowser/qt/BrowserView.h:
1369 * MiniBrowser/qt/BrowserWindow.cpp:
1371 (BrowserWindow::BrowserWindow):
1372 * MiniBrowser/qt/BrowserWindow.h:
1374 2011-01-10 Andreas Kling <kling@webkit.org>
1376 Reviewed by Kenneth Rohde Christiansen.
1378 [Qt] MiniBrowser: Remove superfluous createNewPage() callback
1380 BrowserView set its own useless createNewPage() callback on QWKPage.
1381 This was immediately overridden by BrowserWindow anyway, so remove
1382 the BrowserView one.
1384 * MiniBrowser/qt/BrowserView.cpp:
1385 (BrowserView::BrowserView):
1387 2011-01-10 John Knottenbelt <jknotten@chromium.org>
1389 Reviewed by Jeremy Orlow.
1391 [Chromium] Remove non-client-based Geolocation code
1392 https://bugs.webkit.org/show_bug.cgi?id=50921
1394 * DumpRenderTree/chromium/LayoutTestController.cpp:
1395 (LayoutTestController::setGeolocationPermission):
1396 (LayoutTestController::setMockGeolocationPosition):
1397 (LayoutTestController::setMockGeolocationError):
1398 * DumpRenderTree/chromium/WebViewHost.cpp:
1399 (WebViewHost::geolocationClientMock):
1400 (WebViewHost::reset):
1401 * DumpRenderTree/chromium/WebViewHost.h:
1403 2011-01-10 Eric Seidel <eric@webkit.org>
1405 Reviewed by Adam Barth.
1407 Commit bot tried to land r? cq+ patch
1408 https://bugs.webkit.org/show_bug.cgi?id=36638
1410 It should now be possible to post a patch with r? and cq+ and the
1411 commit-queue will correctly wait for the r+ before attempting to land the patch.
1412 (This was a feature requested by several users.)
1414 One caveat: We don't actually reject r-, cq+ patches from the queue
1415 (we just ignore them), but I think that's OK for now.
1417 I also noticed that setting r- once a commit-queue node had grabbed
1418 a patch would not properly cancel the landing. That's fixed and
1419 tested in this patch.
1421 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1422 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1423 * Scripts/webkitpy/tool/bot/feeders.py:
1424 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
1426 2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
1428 Reviewed by Kenneth Rohde Christiansen.
1430 [Qt] QtWebKit crashes when using XMLHttpRequest from the unload event
1431 https://bugs.webkit.org/show_bug.cgi?id=51934
1433 When accessing the network from the destructor of QWebPage, the network access manager
1434 was already deleted because the object WebPage was already destructed.
1436 This solve the problem by linking the lifetime of the network access manager to WebPage's QObject.
1437 The object is now destructed in the destructor of QObject.
1439 * QtTestBrowser/webpage.cpp:
1441 (WebPage::setQnamThreaded):
1442 * QtTestBrowser/webpage.h:
1443 (QtNAMThread::QtNAMThread):
1445 2011-01-08 Eric Seidel <eric@webkit.org>
1447 Reviewed by Ojan Vafai.
1449 test_failures.py should not mention TestShell (long live DumpRenderTree!)
1450 https://bugs.webkit.org/show_bug.cgi?id=52067
1452 I ran test-webkitpy, but didn't bother adding a unit test for this string change.
1453 https://bugs.webkit.org/show_bug.cgi?id=51138#c3 is an example of why this is needed.
1455 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1457 2011-01-08 Eric Seidel <eric@webkit.org>
1459 Reviewed by Mihai Parparita.
1461 commit-queue hangs when the ChangeLog diff is bad
1462 https://bugs.webkit.org/show_bug.cgi?id=52072
1464 * Scripts/webkitpy/tool/steps/validatechangelogs.py:
1465 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
1467 2011-01-08 Adam Barth <abarth@webkit.org>
1469 Teach svn-apply how to re-write WebCore to Source/WebCore.
1471 * Scripts/VCSUtils.pm:
1473 2011-01-07 Adam Barth <abarth@webkit.org>
1475 Rubber-stamped by Eric Seidel.
1477 Move WebCore to Source
1478 https://bugs.webkit.org/show_bug.cgi?id=52050
1480 Update the tools to understand WebCore's new location.
1482 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1483 * DumpRenderTree/wscript:
1485 * Scripts/build-webkit:
1486 * Scripts/do-file-rename:
1487 * Scripts/do-webcore-rename:
1488 * Scripts/generate-qt-inspector-resource:
1489 * Scripts/prepare-ChangeLog:
1490 * Scripts/run-bindings-tests:
1491 * Scripts/update-iexploder-cssproperties:
1492 * Scripts/update-sources-list.py:
1493 * Scripts/update-webkit-localizable-strings:
1494 * Scripts/webkitdirs.pm:
1495 * Scripts/webkitpy/common/config/build.py:
1496 * Scripts/webkitpy/common/config/build_unittest.py:
1497 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
1498 * Scripts/webkitpy/style/checker.py:
1499 * Scripts/webkitpy/style/checker_unittest.py:
1500 * WebKitTestRunner/DerivedSources.pro:
1501 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1502 * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh:
1503 * wx/browser/wscript:
1504 * wx/build/settings.py:
1506 2011-01-07 Maciej Stachowiak <mjs@apple.com>
1508 Reviewed by Sam Weinig.
1510 Make WebKitTestRunner rest between loads more robust to avoid test crashes
1511 https://bugs.webkit.org/show_bug.cgi?id=52086
1513 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1514 (WTR::InjectedBundle::didReceiveMessage):
1515 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1516 (WTR::LayoutTestController::notifyDone):
1517 * WebKitTestRunner/TestController.cpp:
1518 (WTR::TestController::resetStateToConsistentValues):
1519 (WTR::TestController::run):
1521 2011-01-07 James Robinson <jamesr@chromium.org>
1523 Revert "Implement mozilla's animationTime property"
1524 https://bugs.webkit.org/show_bug.cgi?id=51952
1526 This approach isn't quite right.
1528 * DumpRenderTree/chromium/WebViewHost.cpp:
1529 (WebViewHost::paintInvalidatedRegion):
1531 2011-01-07 Adam Roben <aroben@apple.com>
1535 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1536 (RunWebKitTests.start): Don't try to concatenate a list and a string.
1538 2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
1540 Reviewed by Csaba Osztrogonác.
1542 run-qtwebkit-tests should be able to kill a testsuite.
1544 Add new option in the script that can setup a timeout for a test.
1545 If the test execution takes more then specified time then the test
1546 would be terminated.
1548 [Qt] run-qtwebkit-tests needs timeout
1549 https://bugs.webkit.org/show_bug.cgi?id=51894
1551 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1552 * Scripts/run-qtwebkit-tests:
1554 2011-01-07 Csaba Osztrogonác <ossy@webkit.org>
1556 Unreviewed fix after r75233.
1558 Based on idea from Eric Seidel.
1560 Add remote zip file handling to webkitpy.
1561 https://bugs.webkit.org/show_bug.cgi?id=50901
1563 * Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.
1565 2011-01-07 Shane Stephens <shanestephens@google.com>
1567 Reviewed by Eric Seidel.
1569 svn-apply: should support git binary delta diffs
1570 https://bugs.webkit.org/show_bug.cgi?id=38864
1572 * Scripts/VCSUtils.pm:
1573 * Scripts/svn-apply:
1575 2011-01-06 Julie Parent <jparent@chromium.org>
1577 Reviewed by Eric Seidel.
1579 Test Result Server not removing old results.
1580 https://bugs.webkit.org/show_bug.cgi?id=52012
1582 * TestResultServer/model/jsonresults.py:
1583 Fix off-by-one: Truncate if >= num_runs, not just >.
1584 * TestResultServer/model/jsonresults_unittest.py:
1585 Add unit test to test that merging in a new result with the same value
1586 as the last result causes previous result to fall off.
1588 2011-01-06 James Kozianski <koz@chromium.org>
1590 Reviewed by Mihai Parparita.
1592 Add classes to provide a consistent interface to a set of files.
1593 https://bugs.webkit.org/show_bug.cgi?id=50901
1595 These classes allow us to write code that is agnostic to whether a
1596 particular set of files resides in a local directory or in a zip file
1597 on a remote machine.
1599 * Scripts/webkitpy/common/system/directoryfileset.py: Added.
1600 * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
1601 * Scripts/webkitpy/common/system/fileset.py: Added.
1602 * Scripts/webkitpy/common/system/filesystem.py:
1603 * Scripts/webkitpy/common/system/filesystem_mock.py:
1604 * Scripts/webkitpy/common/system/zipfileset.py: Added.
1605 * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.
1607 2011-01-06 Eric Seidel <eric@webkit.org>
1609 Reviewed by Adam Barth.
1611 NetworkTransaction should log the url it is retrying
1612 https://bugs.webkit.org/show_bug.cgi?id=52043
1614 * Scripts/webkitpy/common/net/networktransaction.py:
1615 * Scripts/webkitpy/common/net/networktransaction_unittest.py:
1617 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1620 Import os before using it.
1622 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1624 2011-01-06 Eric Seidel <eric@webkit.org>
1626 Reviewed by Adam Barth.
1628 StyleQueue fails to report errors when patches have many files
1629 https://bugs.webkit.org/show_bug.cgi?id=52042
1631 This is one of at least two errors preventing style error reporting at the moment.
1632 When we moved to passing the list of files to check explicitly,
1633 we started to exceed the 500 character TEXT field limit for our AppEngine model object.
1634 We could change the type of the QueueStatus.message type, or we could
1635 just teach statusserver.py how to clamp values (and warn when it does).
1636 I chose the latter path.
1638 * Scripts/webkitpy/common/net/statusserver.py:
1640 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1642 Reviewed by Stephanie Lewis.
1644 Fix syntax error in script.
1646 Windows bots need to archive/unarchive builds to/from configuration-specific directories
1647 https://bugs.webkit.org/show_bug.cgi?id=51996
1649 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1651 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1653 Unreviewed, fixing WinCE build after r75196.
1655 WinCE port does not (yet) support NPAPI.
1657 * Scripts/build-webkit:
1659 2011-01-06 Xan Lopez <xlopez@igalia.com>
1661 Reviewed by Darin Adler.
1663 File::Spec->rel2abs in sunspider-compare-results mangles parameters
1664 https://bugs.webkit.org/show_bug.cgi?id=52015
1666 * Scripts/sunspider-compare-results: call rel2abs on our arguments
1667 after the platform has been detected, otherwise the script will
1668 mangle things like '--gtk' into '/a/path/--gtk', breaking the
1671 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1673 Reviewed by Eric Seidel.
1675 Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
1676 https://bugs.webkit.org/show_bug.cgi?id=51346
1678 * Scripts/build-webkit:
1680 2011-01-06 Steve Falkenburg <sfalken@apple.com>
1682 Reviewed by Adam Roben.
1684 Windows bots need to archive/unarchive builds to/from configuration-specific directories
1685 https://bugs.webkit.org/show_bug.cgi?id=51996
1687 After the configuration directory change, we were archiving the incorrect directory for
1688 build product, so we were running tests on the wrong binaries.
1690 This change archives the correct directory, and also unarchives it into a configuration-
1693 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
1694 * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.
1696 2011-01-06 Eric Seidel <eric@webkit.org>
1698 Reviewed by Mihai Parparita.
1700 commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
1701 https://bugs.webkit.org/show_bug.cgi?id=52002
1703 See an example of this here:
1704 https://bugs.webkit.org/show_bug.cgi?id=51314#c2
1706 It's due to the fact that we pass around TestFailure() instance
1707 objects and yet expect them to all compare to be the same.
1709 This is bad. We should either have shared instances of these values
1710 or we should just pass around the class names. There are already hacks
1711 in place to make TestFailure objects pass equality tests, I just added
1712 a __hash__ implementation so they can be used in sets as expected.
1714 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1715 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1717 2011-01-06 Evan Martin <evan@chromium.org>
1719 Reviewed by Tony Chang.
1721 [gdb] handle inaccessible memory and UChar*
1722 https://bugs.webkit.org/show_bug.cgi?id=52003
1724 To pretty-print a UChar*, we just grope around in the memory
1725 looking for a terminating NUL. We need to handle the exception
1726 that can occur when we poke into an invalid location.
1728 Additionally, the logic for choosing which pretty-printer would
1729 early return before hitting the point where we'd use the UChar*
1730 printer. (Did this ever work? How did it regress?)
1734 2011-01-05 Brian Weinstein <bweinstein@apple.com>
1736 Reviewed by Ada Chan.
1738 WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
1739 https://bugs.webkit.org/show_bug.cgi?id=51969
1741 Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.
1743 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1744 (WTR::InjectedBundlePage::InjectedBundlePage):
1745 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
1746 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1748 2011-01-06 James Robinson <jamesr@chromium.org>
1750 Reviewed by Simon Fraser.
1752 Implement mozilla's animationTime property
1753 https://bugs.webkit.org/show_bug.cgi?id=51952
1755 Chromium DRT support for webkitAnimationTime.
1757 * DumpRenderTree/chromium/WebViewHost.cpp:
1758 (WebViewHost::paintInvalidatedRegion):
1760 2011-01-06 Julie Parent <jparent@chromium.org>
1762 Reviewed by Tony Chang.
1764 Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
1765 https://bugs.webkit.org/show_bug.cgi?id=51217
1767 * TestResultServer/model/jsonresults.py:
1768 Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
1769 Adds missing documentation.
1770 * TestResultServer/model/jsonresults_unittest.py:
1771 Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
1772 Update test_merge to take a number of builds to truncate at.
1774 2011-01-06 Adam Barth <abarth@webkit.org>
1776 Reviewed by Eric Seidel.
1778 The EWS should log outside of the working directory
1779 https://bugs.webkit.org/show_bug.cgi?id=51986
1781 This patch prepare us for using git clean -x -d -f in the EWS wrapper
1782 script, which will actually clean the working copy back to a pristine
1783 state instead of leaving untracked directories and ignored files.
1785 * Scripts/webkitpy/tool/commands/queues.py:
1786 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1788 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1791 Back out attempted change to built-product-archive.
1793 * BuildSlaveSupport/built-product-archive:
1795 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1798 Include configuration name when unpacking a build archive.
1800 Needed, since we split Windows build results into configuration-specific directories
1801 under WebKitOutputDir.
1803 * BuildSlaveSupport/built-product-archive:
1805 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1807 Reviewed by Darin Adler.
1809 Debug and Release builds on Windows clobber each other
1810 https://bugs.webkit.org/show_bug.cgi?id=49185
1812 Changes the structure of WebKitBuild build products directory so we
1813 completely separate each build configuration into independent directories.
1815 Although we previously had per-configuration directories for obj, this change adds
1816 per-configuration directories for bin, lib, obj, and include. Each configuration's
1817 build products are stored within a directory inside of WebKitBuild.
1819 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
1820 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
1822 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
1823 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
1824 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
1825 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
1826 * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
1827 * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
1828 * DumpRenderTree/win/ImageDiffCommon.vsprops:
1829 * DumpRenderTree/win/ImageDiffPostBuild.cmd:
1830 * DumpRenderTree/win/ImageDiffPreBuild.cmd:
1831 * FindSafari/FindSafari.vcproj:
1832 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
1833 * MiniBrowser/MiniBrowserPostBuild.cmd:
1834 * MiniBrowser/MiniBrowserPreBuild.cmd:
1835 * Scripts/webkitdirs.pm:
1836 * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
1837 * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
1838 * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
1839 * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
1840 * TestWebKitAPI/win/copy-resources.cmd:
1841 * WebKitAPITest/WebKitAPITestCommon.vsprops:
1842 * WebKitAPITest/WebKitAPITestPostBuild.cmd:
1843 * WebKitAPITest/WebKitAPITestPreBuild.cmd:
1844 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
1845 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
1846 * WebKitTestRunner/win/InjectedBundle.vcproj:
1847 * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
1848 * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
1849 * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
1850 * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
1851 * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
1852 * WinLauncher/WinLauncherCommon.vsprops:
1853 * WinLauncher/WinLauncherPostBuild.cmd:
1854 * WinLauncher/WinLauncherPreBuild.cmd:
1856 2011-01-05 Jan Erik Hanssen <jhanssen@sencha.com>
1858 Reviewed by Ariya Hidayat.
1860 [Qt] TestNetscapePlugin doesn't link on OS X
1861 https://bugs.webkit.org/show_bug.cgi?id=51948
1863 Only add a dependency on libX11 on X11 systems
1865 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1867 2011-01-05 Jeff Miller <jeffm@apple.com>
1869 Reviewed by Adam Roben.
1871 check-webkit-style should allow unnecessary parameter names in WebKit2 APIs because we're matching CF's header style
1872 https://bugs.webkit.org/show_bug.cgi?id=51970
1874 * Scripts/webkitpy/style/checker.py:
1875 Add -readability/naming for WebKit2 C API directories.
1877 2011-01-05 Eric Seidel <eric@webkit.org>
1879 Unreviewed, just fixing one more log error from my previous python patch.
1881 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1882 https://bugs.webkit.org/show_bug.cgi?id=51802
1884 webkit-patch failure-reason was logging about parsing errors
1885 due to my misunderstanding of how BeautifulSoup.findAll worked.
1887 Fixed, and added a unit test.
1889 * Scripts/webkitpy/common/net/layouttestresults.py:
1890 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1892 2011-01-05 Benjamin Poulain <benjamin.poulain@nokia.com>
1894 Reviewed by Kenneth Rohde Christiansen.
1896 [Qt] [WK2] Add the possibility to open window from the WebProcess in Minibrowser
1897 https://bugs.webkit.org/show_bug.cgi?id=51951
1899 Set a function to QWKPage::setCreateNewPageFunction() in Minibrowser so there is a way
1900 to create new window from WebKit.
1902 * MiniBrowser/qt/BrowserWindow.cpp:
1904 (BrowserWindow::BrowserWindow):
1905 (BrowserWindow::page): Added to avoid the indirect access to QWKPage spread in the class
1906 (BrowserWindow::newWindow):
1907 (BrowserWindow::updateUserAgentList):
1908 (BrowserWindow::showUserAgentDialog):
1909 * MiniBrowser/qt/BrowserWindow.h: Add the global variable backingStoreTypeForNewWindow to
1910 define the type of the backing store used for new windows.
1911 * MiniBrowser/qt/main.cpp:
1914 2011-01-05 Eric Seidel <eric@webkit.org>
1916 Reviewed by Ojan Vafai.
1918 commit-queue should report failure type when reporting flaky tests
1919 https://bugs.webkit.org/show_bug.cgi?id=51900
1921 This patch was a ridiculous amount of plumbing. In the end I like
1922 the NRWT-style TestResult class even less. But now we're passing
1923 a list of TestResult objects from the queue to the FlakyTestReporter.
1924 Thus the FlakyTestReporter can more easily report what type of failure
1927 In the process, I found that I was not alone in finding TestResult
1928 cumbersome to use. A bunch of code was trying to create a TestResult
1929 object with default values. However since the constructor didn't make
1930 this easy, some places were getting it wrong (including the TestResult unit test)!
1931 I've fixed the TestResult constructor to have default values for non-essential
1934 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1935 * Scripts/webkitpy/common/net/layouttestresults.py:
1936 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1937 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1938 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1939 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1940 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
1941 * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
1942 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1943 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1944 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1945 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
1946 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1947 * Scripts/webkitpy/tool/commands/queues.py:
1948 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1950 2011-01-05 Eric Seidel <eric@webkit.org>
1954 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1955 https://bugs.webkit.org/show_bug.cgi?id=51802
1957 Add another unit test to cover a previously missing import.
1959 * Scripts/webkitpy/common/net/layouttestresults.py:
1960 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1962 2011-01-05 Mihai Parparita <mihaip@chromium.org>
1964 Reviewed by David Levin.
1966 Add mihaip@chromium.org as a reviewer
1967 https://bugs.webkit.org/show_bug.cgi?id=51966
1969 Add myself as a reviewer.
1971 * Scripts/webkitpy/common/config/committers.py:
1973 2011-01-05 James Simonsen <simonjam@chromium.org>
1975 Unreviewed. Adding myself to the list of committers.
1977 * Scripts/webkitpy/common/config/committers.py:
1979 2011-01-05 Eric Seidel <eric@webkit.org>
1983 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
1984 https://bugs.webkit.org/show_bug.cgi?id=51802
1986 Fix two exceptions seen on the bots after my original commit.
1988 * Scripts/webkitpy/common/net/layouttestresults.py:
1989 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
1991 2011-01-05 Kundu Suchismita <suchi.kundu@nokia.com>
1993 Reviewed by Andreas Kling.
1995 [Qt]Add local storage settings to QtTestBrowser command line arguments
1996 https://bugs.webkit.org/show_bug.cgi?id=51750
1998 * QtTestBrowser/main.cpp:
1999 (LauncherApplication::handleUserOptions):
2000 Local storage settings can be enable form command line arguments for
2003 2011-01-05 Chris Fleizach <cfleizach@apple.com>
2005 Reviewed by Martin Robinson.
2007 GTK: AX: DRT needs to use correct root object method.
2008 https://bugs.webkit.org/show_bug.cgi?id=51911
2010 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2011 (AccessibilityController::rootElement):
2013 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2015 Rubber-stamped by Csaba Osztrogonác.
2017 Based on idea from Péter Gál.
2019 * Scripts/webkitpy/tool/bot/sheriff.py: Remove unnecessary apostrophes around revision numbers.
2021 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2023 Reviewed by Adam Barth.
2025 sheriff-bot should be able to do multi-revision rollouts
2026 https://bugs.webkit.org/show_bug.cgi?id=51176
2028 * Scripts/webkitpy/tool/bot/irc_command.py:
2029 * Scripts/webkitpy/tool/bot/sheriff.py:
2030 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
2032 2011-01-05 Eric Seidel <eric@webkit.org>
2034 Reviewed by Adam Barth.
2036 queues.webkit.org should have per-bot status pages
2037 https://bugs.webkit.org/show_bug.cgi?id=51906
2039 Just adds a /queue-status/QUEUE_NAME/bots/BOT_ID page to show
2040 statuses from a single queue. Now that we have many bots servicing
2041 some queues (commit-queue, win-ews, etc.) its easy to have the messages
2042 you care about scroll off the end of the 15-message limit on the main page.
2044 Eventually we should probably rename /queue-status to /queue or /queues,
2045 but that's fodder for another patch.
2047 * QueueStatusServer/handlers/queuestatus.py:
2048 * QueueStatusServer/index.yaml:
2049 * QueueStatusServer/main.py:
2050 * QueueStatusServer/templates/includes/singlequeuestatus.html:
2051 - This probably should use a custom filter instead of hard-coding
2052 the URL scheme here, but I couldn't figure out how to easily
2053 create such a filter. Most filters work with "strings" so we can't
2054 pass the status object. We could add a method to the status
2055 object and call that, but that seemed a bit strange too.
2056 * QueueStatusServer/templates/queuestatus.html:
2058 2011-01-05 Carlos Garcia Campos <cgarcia@igalia.com>
2060 Unreviewed. Adding myself to the list of committers.
2062 * Scripts/webkitpy/common/config/committers.py:
2064 2011-01-04 Koan-Sin Tan <koansin.tan@gmail.com>
2066 Reviewed by David Levin.
2068 check-webkit-style treated some macros with parentheses after #elif as function calls
2069 https://bugs.webkit.org/show_bug.cgi?id=51695
2071 Ingore function call space checking in any preprocessor directives
2072 (things starting with #). Change search() to match() because
2073 preprocessor directives are supposed to be in the beginning of lines.
2075 * Scripts/webkitpy/style/checkers/cpp.py:
2076 * Scripts/webkitpy/style/checkers/cpp_unittest.py: make sure there is no false positives for #elif cases
2078 2011-01-04 Søren Gjesse <sgjesse@chromium.org>
2080 Reviewed by Tony Chang.
2082 Change the --multi-load test option to --stress-opt
2083 https://bugs.webkit.org/show_bug.cgi?id=50751
2085 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2088 * DumpRenderTree/chromium/TestShell.cpp:
2089 (TestShell::TestShell):
2090 * DumpRenderTree/chromium/TestShell.h:
2091 (TestShell::stressOpt):
2092 (TestShell::setStressOpt):
2093 (TestShell::stressDeopt):
2094 (TestShell::setStressDeopt):
2095 (TestShell::javaScriptFlags):
2096 (TestShell::setJavaScriptFlags):
2097 * Scripts/webkitpy/layout_tests/port/chromium.py:
2098 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2100 2011-01-04 Chris Fleizach <cfleizach@apple.com>
2102 Reviewed by Sam Weinig.
2104 WK2: Support Accessibility
2105 https://bugs.webkit.org/show_bug.cgi?id=51859
2107 Use rootObject() method to get top of accessibility tree.
2109 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2110 (AccessibilityController::focusedElement):
2111 (AccessibilityController::rootElement):
2113 2011-01-03 Martin Robinson <mrobinson@igalia.com>
2115 Reviewed by Darin Adler.
2117 Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
2118 https://bugs.webkit.org/show_bug.cgi?id=51846
2120 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Change usage of PlatformRefPtr
2123 2011-01-04 Zhe Su <suzhe@chromium.org>
2125 Reviewed by Kenneth Russell.
2127 Fix insertText, setMarkedText and unmarkText methods of
2128 TextInputController to call corresponding methods of WebKit::WebView
2129 rather than WebKit::WebFrame. This change matches the behavior of
2131 insertText corresponds to WebView::confirmComposition(text)
2132 setMarkedText corresponds to WebView::setComposition(...)
2133 unmarkText corresponds to WebView::confirmComposition()
2134 https://bugs.webkit.org/show_bug.cgi?id=51693
2136 * DumpRenderTree/chromium/TextInputController.cpp:
2137 (TextInputController::insertText):
2138 (TextInputController::setMarkedText):
2139 (TextInputController::unmarkText):
2141 2011-01-04 Dihan Wickremasuriya <dihan.wickremasuriya@nokia.com>
2143 Reviewed by Laszlo Gombos.
2145 [Qt] [Symbian] Do not remove 0 byte sized files from productDir
2147 On Symbian productDir points to the source directory. Removing all the
2148 empty files from the productDir directory corrupts the svn repository.
2150 * Scripts/build-webkit:
2152 2011-01-03 Yi Shen <yi.4.shen@nokia.com>
2154 Reviewed by Adam Barth.
2156 [Qt] Add SelectAll option to the context menu for the editor
2157 https://bugs.webkit.org/show_bug.cgi?id=50049
2159 Set shortcut for the SelectAll action.
2161 * QtTestBrowser/mainwindow.cpp:
2162 (MainWindow::buildUI):
2164 2011-01-03 David Levin <levin@chromium.org>
2166 Reviewed by Eric Seidel.
2168 check-webkit-style shouldn't consider "value" automatically to be a meaningless name.
2169 https://bugs.webkit.org/show_bug.cgi?id=51842
2171 * Scripts/webkitpy/style/checkers/cpp.py: Remove the check for value.
2172 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Remove the test for value.
2174 2011-01-03 Patrick Gansterer <paroga@webkit.org>
2176 Reviewed by David Kilzer.
2178 [WINCE] Adds a build slave.
2179 https://bugs.webkit.org/show_bug.cgi?id=50523
2181 * BuildSlaveSupport/build.webkit.org-config/config.json: Add an
2182 entry for a release build of the WinCE port.
2183 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add platform
2184 flag to build the WinCE port.
2186 2011-01-03 Patrick Gansterer <paroga@webkit.org>
2188 Reviewed by David Kilzer.
2190 Add WinCE support to build-webkit
2191 https://bugs.webkit.org/show_bug.cgi?id=51642
2193 * Scripts/build-webkit:
2194 * Scripts/webkitdirs.pm:
2196 2011-01-03 Eric Seidel <eric@webkit.org>
2198 Reviewed by Adam Barth.
2200 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
2201 https://bugs.webkit.org/show_bug.cgi?id=51802
2203 I'm not the biggest fan of the test_failures or test_results classes,
2204 but it's better to have one shared set of classes, than separate ones
2205 for new vs. old run-webkit-test result handling.
2207 This moves the ORWT results class "LayoutTestResults" over to using
2208 TestResult and TestFailure classes, making it easy for us to
2209 make all our sheriff-bot and other webkitpy code NRWT ready.
2211 This also makes it a trivial patch to generate results.json information
2212 from ORWT results.html files (for flaky test analysis, etc.) as well
2213 as making it a one-liner to report test failure types when the
2214 commit-queue sees flaky tests.
2216 This patch tried not to add new functionality, but only to replace
2217 the guts of LayoutTestResults, while adding unit tests and hoping
2218 not to break anything.
2220 I also moved callers which assumed User.prompt* were static/class methods
2221 to using them as instance methods (since we'll eventually want to make them such).
2223 In the process of re-writing things, I broke the rebaseline command, so I wrote
2224 a unit test to catch my breakage were I do do so again in the future.
2226 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2227 * Scripts/webkitpy/common/net/layouttestresults.py:
2228 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
2229 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
2230 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
2231 * Scripts/webkitpy/tool/commands/queries.py:
2232 * Scripts/webkitpy/tool/commands/rebaseline.py:
2233 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2234 * Scripts/webkitpy/tool/mocktool.py:
2236 2011-01-03 Adam Barth <abarth@webkit.org>
2238 Reviewed by Simon Fraser.
2240 webkit-patch shouldn't waste time cleaning a working directory that's already clean
2241 https://bugs.webkit.org/show_bug.cgi?id=51840
2243 * Scripts/webkitpy/common/checkout/scm.py:
2245 2011-01-03 Adam Barth <abarth@webkit.org>
2247 Reviewed by Simon Fraser.
2249 webkit-patch should only hide update output if --quiet
2250 https://bugs.webkit.org/show_bug.cgi?id=51838
2252 As requested by smfr.
2254 * Scripts/webkitpy/tool/steps/update.py:
2256 2011-01-03 Adam Barth <abarth@webkit.org>
2258 Reviewed by David Levin.
2260 commit-queue shouldn't reject patches twice if two bots process the same patch
2261 https://bugs.webkit.org/show_bug.cgi?id=51805
2263 Before raising an error, we first check whether the patch is still in
2264 the commit-queue. This check is still racy, of course, but the time
2265 window is much smaller.
2267 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2269 2011-01-03 Sam Weinig <sam@webkit.org>
2271 Reviewed by Anders Carlsson.
2273 Make run-api-tests less chatty.
2274 https://bugs.webkit.org/show_bug.cgi?id=51831
2276 - Make script quiet by default and add --verbose option (replacing --quiet).
2277 - When not verbose, pipe stdout and stderr to devnull.
2279 * Scripts/run-api-tests:
2281 2011-01-03 Pratik Solanki <psolanki@apple.com>
2283 Unreviewed. Adding myself to committers.py.
2285 * Scripts/webkitpy/common/config/committers.py:
2287 2011-01-03 Koan-Sin Tan <koansin.tan@gmail.com>
2289 Reviewed by Xan Lopez.
2291 "Tool/Scripts/run-launcher --gtk" stopped working after 74855
2292 https://bugs.webkit.org/show_bug.cgi?id=51806
2294 Originally, the $libraryName is 'JavaScriptCore'. When building release
2295 one, the $libraryDir was 'WebKitBuild/Release/JavaScriptCore/../.libs/'
2296 which doesn't exist anymore ('WebKitBuild/Release/JavaScriptCore'
2297 is 'WebKitBuild/Release/Source/JavaScriptCore' now), and
2298 'WebKitBuild/Release/Source/JavaScriptCore/../../.libs' looks weird,
2299 so make it 'WebKitBuild/Release/.libs'
2301 * Scripts/webkitdirs.pm:
2303 2011-01-02 Patrick Gansterer <paroga@webkit.org>
2305 Reviewed by Adam Barth.
2307 Make EFL a core builder
2308 https://bugs.webkit.org/show_bug.cgi?id=51804
2310 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2311 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2313 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2315 [Qt] Unreviewed fix after r74855 and r74875.
2317 * BuildSlaveSupport/built-product-archive:
2318 - Create directories explicitly.
2319 - Pass shell=True to subprocess.call().
2321 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2323 [Qt] Unreviewed fix after r74855.
2325 Move JavaScriptCore to Source
2326 https://bugs.webkit.org/show_bug.cgi?id=51604
2328 * BuildSlaveSupport/built-product-archive: JavaScriptCore -> Source/JavaScriptCore
2330 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
2332 [Qt] Unreviewed run-javasriptcore-tests fix after r74855.
2334 Move JavaScriptCore to Source
2335 https://bugs.webkit.org/show_bug.cgi?id=51604
2337 * Scripts/webkitdirs.pm:
2339 2011-01-02 Robert Hogan <robert@webkit.org>
2341 Unreviewed, build fix.
2343 [Qt] Fix DRT build after 74855
2345 * DumpRenderTree/qt/DumpRenderTree.pro:
2347 2011-01-01 Adam Barth <abarth@webkit.org>
2349 Remove the assumption from the Qt and Gtk builds that every project is
2350 in the root directory.
2352 * Scripts/build-webkit:
2354 2011-01-01 Adam Barth <abarth@webkit.org>
2356 Reviewed by Eric Seidel.
2358 Teach svn-apply how to apply patches even though JavaScriptCore has moved
2359 https://bugs.webkit.org/show_bug.cgi?id=51796
2361 After this change, svn-apply will magically apply patches to
2362 JavaScriptCore/foo to Source/JavaScriptCore/foo.
2364 * Scripts/VCSUtils.pm:
2366 2011-01-01 Adam Barth <abarth@webkit.org>
2368 Reviewed by Eric Seidel.
2370 Move JavaScriptCore to Source
2371 https://bugs.webkit.org/show_bug.cgi?id=51604
2373 Update references to JavaScriptCore to point to the new location.
2375 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2376 * DumpRenderTree/qt/DumpRenderTree.pro:
2377 * DumpRenderTree/qt/ImageDiff.pro:
2378 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2379 * DumpRenderTree/wscript:
2380 * Scripts/build-jsc:
2381 * Scripts/build-webkit:
2382 * Scripts/do-file-rename:
2383 * Scripts/do-webcore-rename:
2384 * Scripts/run-javascriptcore-tests:
2385 * Scripts/update-javascriptcore-test-results:
2386 * Scripts/webkitdirs.pm:
2387 * Scripts/webkitpy/common/config/build_unittest.py:
2388 * Scripts/webkitpy/style/checker.py:
2389 * Scripts/webkitpy/style/checker_unittest.py:
2390 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2391 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
2392 * WebKitTestRunner/qt/WebKitTestRunner.pro:
2393 * wx/build/settings.py:
2395 2011-01-01 Adam Barth <abarth@webkit.org>
2397 Reviewed by Eric Seidel.
2399 Move Sources to Source
2400 https://bugs.webkit.org/show_bug.cgi?id=51794
2402 Update scripts to point to the new location.
2404 * Scripts/build-webkit:
2405 * Scripts/do-file-rename:
2406 * Scripts/do-webcore-rename:
2407 * Scripts/webkitpy/common/config/build.py:
2408 * Scripts/webkitpy/common/config/build_unittest.py:
2410 2010-12-31 Kent Tamura <tkent@chromium.org>
2412 Reviewed by Eric Seidel.
2414 [DRT/Chromium] Enable mock spell checker on non-OSX
2415 https://bugs.webkit.org/show_bug.cgi?id=51401
2417 * DumpRenderTree/chromium/WebViewHost.cpp:
2418 (WebViewHost::spellCheck):
2420 2010-12-31 Adam Barth <abarth@webkit.org>
2422 Reviewed by Ariya Hidayat.
2424 Remove Tools/Scripts/wkstyle
2425 https://bugs.webkit.org/show_bug.cgi?id=51774
2427 This script appears to not have been touched in a while and seems to
2428 have been replaced by check-webkit-style.
2430 * Scripts/wkstyle: Removed.
2432 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
2434 Unreviewed. Coding style fix.
2436 * DumpRenderTree/chromium/TestShell.h:
2438 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
2440 Reviewed by Pavel Feldman.
2442 Web Inspector: [Chromium] Inspector's tests are very slow on Win(Dbg).
2444 It was a problem with Chromium DRT. DevToolsAgent object instance was
2445 attached not only to the inspected page but to the DevTools window too.
2446 As result all the inspector files were interpreted as a content of inspected page
2447 and were transfered to the DevTools scripts panel for debugging etc.
2449 https://bugs.webkit.org/show_bug.cgi?id=51735
2451 * DumpRenderTree/chromium/TestShell.cpp:
2452 (TestShell::TestShell):
2453 (TestShell::bindJSObjectsToWindow):
2454 (TestShell::createNewWindow):
2455 * DumpRenderTree/chromium/TestShell.h:
2457 2010-12-31 Adam Barth <abarth@webkit.org>
2459 Rubber-stamped by Eric Seidel.
2461 Move PageLoadTests to PerformanceTests/PageLoad
2462 https://bugs.webkit.org/show_bug.cgi?id=51771
2464 Update references to PageLoadTests to point to the new location.
2466 * Scripts/run-pageloadtest:
2467 * Scripts/webkitpy/common/config/build.py:
2469 2010-12-31 Adam Barth <abarth@webkit.org>
2471 Rubber-stamped by Eric Seidel.
2473 Move SunSpider into PerformanceTests
2474 https://bugs.webkit.org/show_bug.cgi?id=51769
2476 Update these scripts to point to the new location.
2478 * Scripts/run-sunspider:
2479 * Scripts/sunspider-compare-results:
2481 2010-12-30 Mihai Parparita <mihaip@chromium.org>
2483 Reviewed by Kent Tamura.
2485 [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
2486 https://bugs.webkit.org/show_bug.cgi?id=51728
2488 Add implementation of the Mac WebThemeEngine that uses an NSScroller
2489 to render top-level scrollbars. This makes them match the Mac port's
2490 use of an NSScrollView, which means that we'll be able to share more
2493 The new rendering code will not be activated until the
2494 USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
2495 ScrollbarThemeChromiumMac.
2497 * DumpRenderTree/DumpRenderTree.gypi:
2498 * DumpRenderTree/chromium/TestShellMac.mm:
2500 * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
2501 * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
2502 (+[FakeActiveWindow alwaysActiveWindow]):
2503 (+[FakeActiveWindow alwaysInactiveWindow]):
2504 (-[FakeActiveWindow initWithActiveControls:]):
2505 (-[FakeActiveWindow _hasActiveControls]):
2506 (WebThemeEngineDRTMac::paintScrollbarThumb):
2507 (stateToHIEnableState):
2508 (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
2509 (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
2511 2010-12-30 Konstantin Tokarev <annulen@yandex.ru>
2513 Reviewed by David Kilzer.
2515 [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
2517 https://bugs.webkit.org/show_bug.cgi?id=51672
2519 * DumpRenderTree/qt/DumpRenderTree.pro: Replaced USE_SYSTEM_MALLOC
2520 with USE_SYSTEM_MALLOC=1
2521 * WebKitTestRunner/qt/WebKitTestRunner.pro: Replaced USE_SYSTEM_MALLOC
2522 with USE_SYSTEM_MALLOC=1
2524 2010-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2526 Reviewed by David Kilzer.
2528 [Qt] [Symbian] Fix build-webkit script for Symbian
2529 https://bugs.webkit.org/show_bug.cgi?id=51509
2531 Set the OUTPUT_DIR for Symbian to be the same as the source
2534 * Scripts/webkitdirs.pm:
2536 2010-12-30 Martin Robinson <mrobinson@igalia.com>
2538 Reviewed by Darin Adler.
2540 check-webkit-style should ignore NULL usage in calls to gtk_widget_style_get
2541 https://bugs.webkit.org/show_bug.cgi?id=51758
2543 Add a check-webkit-style exception for gtk_widget_style_get and NULL usage.
2545 * Scripts/webkitpy/style/checkers/cpp.py: Add the exception.
2546 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
2548 2010-12-29 Patrick Gansterer <paroga@webkit.org>
2550 Unreviewed WinCE buildfix.
2552 * WinCELauncher/main.cpp: Add missing include.
2554 2010-12-29 Daniel Bates <dbates@rim.com>
2556 Reviewed by Darin Adler.
2558 svn-apply updates date of wrong change log entry for a change log diff that
2559 contains two consecutive entries with the same author and date
2560 https://bugs.webkit.org/show_bug.cgi?id=46061
2562 Fixes an issue where the date of the wrong change log entry may be modified.
2563 Moreover, changes fixChangeLogPatch() to move entries inserted earlier
2564 in a ChangeLog file to the top of the file.
2566 Currently, fixChangeLogPatch() explicitly bails out and returns an unchanged
2567 diff when it detects that the diff inserts a change log entry earlier in a
2568 ChangeLog. It is unusual to land a patch that has such a deliberate ChangeLog
2569 change. With the advent of the commit-queue this functionality of bailing out
2570 and hence landing the patch as-is is harmful to the accuracy of the ChangeLog.
2571 Instead, we should always move the change log entry to the top of the ChangeLog file.
2573 A side-effect of this change is that setChangeLogDateAndReviewer() now updates
2574 the date line of the correct change log entry in a ChangeLog diff.
2576 * Scripts/VCSUtils.pm: Modified fixChangeLogPatch() to move entries inserted earlier to the top.
2578 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
2579 Updated the following unit tests now that we move entries inserted earlier to the top:
2580 - "fixChangeLogPatch: New entry inserted in middle."
2581 (formerly named "fixChangeLogPatch: [no change] New entry inserted in middle.")
2583 - "fixChangeLogPatch: New entry inserted earlier in the file, but after an entry with the same author and date."
2584 (formerly named "fixChangeLogPatch: [no change] New entry inserted earlier in the file, but after an entry with the same author and date.")
2586 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl: Added.
2588 2010-12-29 Konstantin Tokarev <annulen@yandex.ru>
2590 Reviewed by Eric Seidel.
2592 [Qt] Fixed compatibility with gold linker on X11 platforms
2593 https://bugs.webkit.org/show_bug.cgi?id=51700
2595 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2596 Linked TestNetscapePlugin with libX11 on Unix platforms
2598 2010-12-29 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
2600 Reviewed by Darin Adler.
2602 Circular dependency in webkitpy.common.checkout.changelog module
2603 https://bugs.webkit.org/show_bug.cgi?id=50475
2605 Remove automatic import of api.Checkout module when any checkout/
2606 submodule is imported (e.g.: when checkout.scm.Git is imported).
2608 * Scripts/webkitpy/common/checkout/__init__.py:
2610 2010-12-29 Martin Robinson <mrobinson@igalia.com>
2612 Reviewed by Ojan Vafai.
2614 prepare-ChangeLog should support the -g option for specifying the git-commit
2615 https://bugs.webkit.org/show_bug.cgi?id=51708
2617 Add a -g shortcut for the --git-commit prepare-ChangeLog option. This matches
2618 webkit-patch, though the exact meaning of the two options remain different.
2620 * Scripts/prepare-ChangeLog: Add -g.
2622 2010-12-29 Kent Hansen <kent.hansen@nokia.com>
2624 Reviewed by Simon Hausmann.
2626 [Qt] Fix compilation with Qt in namespace
2627 https://bugs.webkit.org/show_bug.cgi?id=51701
2629 * QtTestBrowser/webview.h:
2631 2010-12-28 Daniel Bates <dbates@rim.com>
2633 Reviewed by Sam Weinig.
2635 Substitute // MARK: for compiler-specific #pragma mark
2636 https://bugs.webkit.org/show_bug.cgi?id=51657
2638 Fix future compilation warnings about "#pragma mark" on GTK+ bots by
2639 substituting "// MARK:" for "#pragma mark", which provides
2640 analogous code-bookmarking functionality under Xcode.
2642 Also, for consistency, we should substitute "// MARK:" for compiler-
2643 specific "#pragma mark" in the source files for the Mac port.
2645 * DumpRenderTree/AccessibilityTextMarker.cpp:
2646 * DumpRenderTree/cf/WebArchiveDumpSupport.h:
2647 * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
2648 * DumpRenderTree/mac/ObjCController.m:
2649 * MiniBrowser/mac/AppDelegate.m:
2650 * MiniBrowser/mac/BrowserWindowController.m:
2652 2010-12-28 Xan Lopez <xlopez@igalia.com>
2654 Reviewed by Eric Seidel.
2656 Add --no-build option to run-sunspider
2657 https://bugs.webkit.org/show_bug.cgi?id=51658
2659 * Scripts/run-sunspider: add --no-build flag to skip building
2662 2010-12-27 Daniel Bates <dbates@rim.com>
2664 Rubber-stamped by Martin Robinson.
2666 Append the directory Tools/DumpRenderTree to the list of directories that
2667 do-webcore-rename should search so that it can rename DRT files and
2670 * Scripts/do-webcore-rename:
2672 2010-12-27 Eric Seidel <eric@webkit.org>
2674 Reviewed by Adam Barth.
2676 build-webkit should detect missing Java SDK and explain how to install it
2677 https://bugs.webkit.org/show_bug.cgi?id=51651
2679 * Scripts/build-webkit:
2681 2010-12-26 Martin Robinson <mrobinson@igalia.com>
2683 Reviewed by Daniel Bates.
2685 [GTK] Add support for build-jsc
2686 https://bugs.webkit.org/show_bug.cgi?id=51625
2688 Add GTK+ support to build-jsc now that building the jsc executable as
2689 a standalone target is easy.
2691 * Scripts/build-jsc: Call buildGtkProject for the GTK+ case now.
2692 * Scripts/build-webkit: Pass in the proper target name to buildGtkProject.
2693 * Scripts/webkitdirs.pm: Actually process the project parameter in buildGtkProject
2694 and pass it along to buildAutotoolsProject.
2696 2010-12-27 David Levin <levin@chromium.org>
2698 Reviewed by Eric Seidel.
2700 check-webkit-style check for meaningless variable names in function declarations.
2701 https://bugs.webkit.org/show_bug.cgi?id=51523
2703 * Scripts/webkitpy/style/checker.py: Exempted JavaScriptCore/jit/JITStubs.cpp
2704 from the new check and whitespace/parens because the syntax is unusual and
2705 produced a fair number of positives for these checks.
2706 * Scripts/webkitpy/style/checkers/cpp.py:
2707 (_convert_to_lower_with_underscores): Used as a canonical form for type names
2708 and parameter names when determining if the parameter name is useless.
2709 (_create_acronym): Used to check for redundant variable names in cases like "ExceptionCode ec"
2710 (Parameter.lower_with_underscores_name): Gives back the parameter name in a lower_with_underscore
2712 (_check_parameter_name_against_text): Checks to see if the parameter name is in the
2713 text or an acronym of it.
2714 (check_function_definition): Checks function definitions for meaningless variable names.
2715 (process_line): Added call to check_function_definition.
2716 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2717 (CppFunctionsTest.test_convert_to_lower_with_underscores): Test for _convert_to_lower_with_underscores.
2718 (CppFunctionsTest.test_create_acronym): Test for _create_acronym.
2719 (CppFunctionsTest.test_check_parameter_against_text): Test for _check_parameter_against_text.
2720 (CppStyleTestBase.perform_single_line_lint): Removed the parameter name check
2721 because when only checking a snippet, there are a lot of bogus functions.
2722 (CppStyleTestBase.perform_multi_line_lint): Ditto and removed a bogus filter
2723 that I put there previously and just noticed.
2724 (WebKitStyleTest.test_parameter_names): Tests for the functionality -- both
2725 check_function_definition and process_line.
2727 2010-12-27 Carlos Garcia Campos <cgarcia@igalia.com>
2729 Reviewed by Martin Robinson.
2731 [GTK] Disable flash plugin in GtkLauncher when using gtk3
2732 https://bugs.webkit.org/show_bug.cgi?id=51591
2734 Flash plugin uses gtk2 that is incompatible with gtk3 making
2735 webkit crash when it's built with gtk3.
2737 * GtkLauncher/main.c:
2740 2010-12-25 Adam Barth <abarth@webkit.org>
2742 Reviewed by Eric Seidel.
2744 Move ANGLE to Sources/ThirdParty
2745 https://bugs.webkit.org/show_bug.cgi?id=51605
2747 * Scripts/build-webkit:
2748 - Point to the new ANGLE location.
2750 2010-12-26 David Levin <levin@chromium.org>
2752 Reviewed by Eric Seidel.
2754 check-webkit-style should be able to parse function declaration parameters.
2755 https://bugs.webkit.org/show_bug.cgi?id=51451
2757 * Scripts/webkitpy/style/checkers/cpp.py:
2758 (Position.__init__): Holds simple position information (row, column).
2759 (Parameter.__init__): Holds information about a parameter.
2760 (SingleLineView.__init): Converts multiple lines into a single line for simpler searches.
2761 (SingleLineView.convert_column_to_row): Returns the original row given a column.
2762 (create_skeleton_parameters): Simplifies a parameter list for easier searching.
2763 (find_parameter_name_index): Finds where the parameter name is.
2764 (parameter_list): Generates the list of parameters for a function.
2765 (_FunctionState.begin): Added information to allow determining the parameters
2767 (_FunctionState.get_parameter_list): Returns a tuple of function parameters.
2768 (detect_functions): Improve function detection for operator functions and
2769 determine where the parameters end and pass that to _FunctionState.begin.
2770 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2771 (CppFunctionsTest.test_parameter): Verifies Parameter functionality.
2772 (CppFunctionsTest.test_single_line_view): Verifies SingleLineView functionality.
2773 (CppFunctionsTest.test_create_skeleton_parameters): Verifies create_skeleton_parameters.
2774 (CppFunctionsTest.test_find_parameter_name_index): Verifies find_parameter_name_index.
2775 (CppFunctionsTest.test_parameter_list): Does some minimal verification for parameter list.
2776 Much more thorough verification is done as part of FunctionDetectionTest.test_parameter_list.
2777 (FunctionDetectionTest.perform_function_detection): Added support for verifying
2778 the parameters found.
2779 (FunctionDetectionTest.test_function_declaration_detection): Added more function
2780 detection test to verify that we catch the operator functions.
2781 (FunctionDetectionTest.test_ignore_macros): Verify that function detection ignores macros.
2782 (FunctionDetectionTest.test_parameter_list): Added tests to verify the parameter parsing.
2783 (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Removed
2784 because the error. The test is about the bad function name. Fixing the name makes the test exactly like
2785 test_function_length_check_definition_severity1_for_test.
2787 2010-12-25 Patrick Gansterer <paroga@webkit.org>
2789 Unreviewed WinCE buildfix after r74334.
2791 * CMakeListsWinCE.txt:
2793 2010-12-24 Sheriff Bot <webkit.review.bot@gmail.com>
2795 Unreviewed, rolling out r74632.
2796 http://trac.webkit.org/changeset/74632
2797 https://bugs.webkit.org/show_bug.cgi?id=51600
2799 makes test-webkitpy hang forever on GTK (Requested by philn-tp
2802 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
2803 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
2805 2010-12-24 Ryuan Choi <ryuan.choi@samsung.com>
2807 Reviewed by Kenneth Rohde Christiansen.
2809 [EFL] Screen doesn't be rendered when changing size of EWebLauncher
2810 https://bugs.webkit.org/show_bug.cgi?id=43528
2812 Remove on_resize because ewk_view_fixed_layout_size_set should not be
2813 called on callback of EVAS_CALLBACK_RESIZE. As it change size of
2814 FrameView, rendering was ignored when _ewk_view_smart_calculate was
2817 * EWebLauncher/main.c:
2820 2010-12-24 Eric Seidel <eric@webkit.org>
2822 Reviewed by Adam Barth.
2824 webkit-patch (or a pre-commit hook) needs to prevent bad ChangeLog changes
2825 https://bugs.webkit.org/show_bug.cgi?id=28291
2827 This is a start. At least now webkit-patch will prompt when your ChangeLog looks questionable.
2828 We could do more advanced things, like parsing the ChangeLog (with changelog.py) and comparing that
2829 to strings with find in the diff.
2830 Since non-interactive always returns the default, this should cause patches with bad changelogs to fail on the commit-queue.
2832 * Scripts/webkitpy/common/checkout/api.py:
2833 * Scripts/webkitpy/common/checkout/diff_parser.py:
2834 * Scripts/webkitpy/tool/steps/abstractstep.py:
2835 * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
2836 * Scripts/webkitpy/tool/steps/validatechangelogs.py: Copied from Tools/Scripts/webkitpy/tool/steps/validatereviewer.py.
2837 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py: Copied from Tools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
2838 * Scripts/webkitpy/tool/steps/validatereviewer.py:
2840 2010-12-24 Dirk Pranke <dpranke@chromium.org>
2842 Reviewed by Kenneth Russell.
2844 Modify new-run-webkit-tests to shut up and exit when all the threads
2845 are wedged so that test runs complete faster and we don't end up
2846 w/ enormous log files.
2848 https://bugs.webkit.org/show_bug.cgi?id=51572
2850 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
2851 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
2853 2010-12-24 Eric Seidel <eric@webkit.org>
2855 Reviewed by David Levin.
2857 commit-queue should better explain how it will re-open bugs and follow duplicate chains
2858 https://bugs.webkit.org/show_bug.cgi?id=51549
2860 I've had multiple people ask me about the commit-queue's behavior
2861 regarding reporting flaky tests. I figured it would be best to just
2862 have the queue explain itself in the bugs it files.
2864 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2865 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
2867 2010-12-24 Shinichiro Hamaji <hamaji@chromium.org>
2869 Reviewed by Eric Seidel.
2871 check-webkit-style: should ignore "wrong" namings in JavaScriptCore/qt
2872 https://bugs.webkit.org/show_bug.cgi?id=51467
2874 * Scripts/webkitpy/style/checker.py:
2875 * Scripts/webkitpy/style/checker_unittest.py:
2877 2010-12-23 Adam Barth <abarth@webkit.org>
2879 Rubber-stamped by Eric Seidel.
2881 Move JavaScriptGlue into Sources
2882 https://bugs.webkit.org/show_bug.cgi?id=51583
2884 These tools refer to JavaScriptGlue and need to be updated to its new
2887 * Scripts/build-webkit:
2888 * Scripts/do-file-rename:
2889 * Scripts/do-webcore-rename:
2890 * Scripts/webkitpy/common/config/build.py:
2891 * Scripts/webkitpy/common/config/build_unittest.py:
2893 2010-12-23 Lucas Forschler <lforschler@apple.com>
2895 Reviewed by Eric Seidel.
2897 Bug 51539 - update iexploder scripts to point to new location
2899 * Scripts/run-iexploder-tests:
2900 * Scripts/update-iexploder-cssproperties:
2902 2010-12-23 Evan Martin <evan@chromium.org>
2904 Reviewed by Ryosuke Niwa.
2906 [chromium] LayoutTestController warning in float->int conversion
2907 https://bugs.webkit.org/show_bug.cgi?id=51553
2909 Rather than reading an int, converting to a float, then getting a compiler
2910 warning on passing the float to something that expects an int, instead
2911 just pass around ints.
2913 No tests, fixes a compiler warning.
2915 * DumpRenderTree/chromium/LayoutTestController.cpp:
2916 (parsePageSizeParameters):
2917 (LayoutTestController::pageNumberForElementById):
2918 (LayoutTestController::numberOfPages):
2920 2010-12-23 Lucas Forschler <lforschler@apple.com>
2922 Reviewed by Darin Adler.
2924 Bug 51537 - iexploder needs cleanup
2926 * iExploder/htdocs: Removed.
2927 * iExploder/htdocs/config.rb: Removed.
2928 * iExploder/htdocs/cssproperties.in: Removed.
2929 * iExploder/htdocs/cssvalues.in: Removed.
2930 * iExploder/htdocs/htmlattrs.in: Removed.
2931 * iExploder/htdocs/htmltags.in: Removed.
2932 * iExploder/htdocs/htmlvalues.in: Removed.
2933 * iExploder/htdocs/iexploder.cgi: Removed.
2934 * iExploder/htdocs/iexploder.rb: Removed.
2935 * iExploder/htdocs/index.html: Removed.
2936 * iExploder/htdocs/webserver.rb: Removed.
2937 * iExploder/iexploder-1.7.2/output: Removed.
2938 * iExploder/tools: Removed.
2939 * iExploder/tools/lasthit.rb: Removed.
2940 * iExploder/tools/osx_last_crash.rb: Removed.
2941 * iExploder/tools/showtest.rb: Removed.
2943 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2945 Reviewed by Kenneth Rohde Christiansen.
2947 [EFL] Make 'single' the default backing store in EWebLauncher
2948 https://bugs.webkit.org/show_bug.cgi?id=51534
2950 'single' is the simplest backing store and the one intended to be the
2951 default in the test browser. By mistake the tiled backing store was
2952 left as default in r72617.
2954 * EWebLauncher/main.c:
2955 (browserCreate): ditto.
2957 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2959 Reviewed by Kenneth Rohde Christiansen.
2961 [EFL] Subject: [webkit 4/4] [EFL] Remove non-sense workaround
2962 https://bugs.webkit.org/show_bug.cgi?id=51533
2964 There's no point in concatenating env("HOME") with "blah", so remove
2965 option from EWebLauncher.
2967 * EWebLauncher/main.c:
2970 2010-12-23 Ilya Tikhonovsky <loislo@chromium.org>
2972 Reviewed by Eric Seidel.
2974 Web Inspector: chromium: inspector's tests are quite slow especially at windows(Debug).
2976 Almost all inspector's tests become flaky on chromium Win(dbg) after switching to DRT.
2977 I just discovered that we have two additional GC runs per each WebViewHost.
2978 Test_shell had no such calls.
2979 These gc runs eat 15% of cpu time.
2981 https://bugs.webkit.org/show_bug.cgi?id=51479
2983 * DumpRenderTree/chromium/WebViewHost.cpp:
2984 (WebViewHost::~WebViewHost):
2986 2010-12-22 Dirk Pranke <dpranke@chromium.org>
2988 Reviewed by Ojan Vafai.
2990 This change splits out the TestRunner class into its own file.
2991 When we fork the code for message passing, we will create a new
2992 TestRunner, and this change will allow that to be more modular.
2994 While we're at it, split out TestInput and ResultSummary into
2995 their own files, to reduce the size of run_webkit_tests to
2996 something more managable.
2998 https://bugs.webkit.org/show_bug.cgi?id=51092
3000 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
3001 * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
3002 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
3003 * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
3004 * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
3005 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3006 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3008 2010-12-22 Dirk Pranke <dpranke@chromium.org>
3010 Reviewed by Ojan Vafai.
3012 nrwt multiprocessing - start over, prepare to fork the code
3014 This code cleans up the signatures and implementation of the
3015 TestRunner class so we can easily fork it to run either the
3016 stable implementation or the new, unstable message-passing
3017 implementation. The two variants will have different
3018 implementations of the run_tests() method. We will switch
3019 between the two based on the setting for the '--worker-model'
3020 switch. We rename the two currently valid values to 'old-inline'
3023 https://bugs.webkit.org/show_bug.cgi?id=51081
3025 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3026 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3028 2010-12-22 Victor Wang <victorw@chromium.org>
3030 Reviewed by Darin Fisher.
3032 [Chromium] Update chromium archive test result url in rebaseline script.
3034 https://bugs.webkit.org/show_bug.cgi?id=51503
3036 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
3038 2010-12-22 Lucas Forschler <lforschler@apple.com>
3040 Reviewed by Alice Liu.
3042 <rdar://problem/8633222> record-memory-win needs to record memory used by the webprocess.
3043 Verified on Chrome, Safari, and IE.
3044 With this change, we will record memory from a parent browser window and all child processes.
3046 * record-memory-win/main.cpp:
3053 (QueryContinuously):
3056 2010-12-22 Lucas Forschler <lforschler@apple.com>
3058 Unreviewed rollout r74489, because it was missing changelog.
3060 * record-memory-win/main.cpp:
3062 2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
3064 Adding myself as a reviewer.
3066 * Scripts/webkitpy/common/config/committers.py:
3068 2010-12-22 Andrew Scherkus <scherkus@chromium.org>
3070 Unreviewed. Adding myself to committers.py.
3072 * Scripts/webkitpy/common/config/committers.py:
3074 2010-12-22 Ariya Hidayat <ariya@sencha.com>
3076 Reviewed by Kenneth Rohde Christiansen.
3078 TestNetscapePlugIn should use #if defined
3079 https://bugs.webkit.org/show_bug.cgi?id=51471
3081 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3085 2010-12-22 Ilya Tikhonovsky <loislo@chromium.org>
3087 Reviewed by Yury Semikhatsky.
3089 Web Inspector: [chromium] DRT inspector layout tests are flaky in debug.
3091 DevTools window should be closed explicitly because it has custom deinitialization code.
3093 https://bugs.webkit.org/show_bug.cgi?id=50722
3095 * DumpRenderTree/chromium/TestShell.cpp:
3096 (TestShell::closeRemainingWindows):
3098 2010-12-22 David Levin <levin@chromium.org>
3100 Reviewed by Shinichiro Hamaji.
3102 check-webkit-style shouldn't complaint about underscores in variables in objective C files.
3103 https://bugs.webkit.org/show_bug.cgi?id=51452
3105 * Scripts/webkitpy/style/checkers/cpp.py:
3106 (_FileState.__init__): Added the information to determine if a file is C or Objective C.
3107 Using the file extension if possible but falling back to the file contents if we have a header file.
3108 (_FileState.is_objective_c): Determine if we have an Objective C by examining the file contents if needed.
3109 (_FileState.is_c_or_objective_c):
3110 (check_using_std): Changed to using _FileState to determine the file type.
3111 (check_max_min_macros): Ditto.
3112 (check_for_null): Ditto.
3113 (check_style): Changed the parameters to various calls since they now need _FileState
3114 to determine the file type.
3115 (check_language): Added the file_state parameter so it could be passed
3116 to check_identifier_name_in_declaration.
3117 (check_identifier_name_in_declaration): Don't warn about underscores in variables if
3118 this is an Objective C file.
3119 (_process_lines): Added information for the _FileState constructor (and moved the
3120 call to a place that had the information).
3121 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3122 (CppFunctionsTest.test_is_c_or_objective_c): Changed the tests to use FileState and exercise
3124 (WebKitStyleTest.test_names): Add tests for underscores in Objective C files.
3126 2010-12-21 Andy Estes <aestes@apple.com>
3128 Reviewed by Mark Rowe.
3130 Do not build non-Intel architectures for WebKit2-related projects.
3131 https://bugs.webkit.org/show_bug.cgi?id=51440
3133 * MiniBrowser/Configurations/Base.xcconfig: Only build for i386 and x86_64.
3134 * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
3135 * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
3137 2010-12-21 Mihai Parparita <mihaip@chromium.org>
3139 Reviewed by Darin Fisher.
3141 [Chromium] Rename WebThemeEngine/ControlDRT to WebThemeEngine/ControlDRTWin
3142 https://bugs.webkit.org/show_bug.cgi?id=51406
3144 Rename WebThemeControlDRT to WebThemeControlDRTWin and WebThemeEngineDRT
3145 to WebThemeEngineDRTWin and update references everywhere.
3147 * DumpRenderTree/DumpRenderTree.gypi:
3148 * DumpRenderTree/chromium/TestShellWin.cpp:
3149 * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.cpp.
3150 * DumpRenderTree/chromium/WebThemeControlDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.h.
3151 * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.cpp.
3152 * DumpRenderTree/chromium/WebThemeEngineDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.h.
3154 2010-12-21 Anders Carlsson <andersca@apple.com>
3156 Reviewed by John Sullivan.
3158 Clicking missing plug-in text does not show a sheet
3159 https://bugs.webkit.org/show_bug.cgi?id=51403
3161 Update for changes to the WebPageUIClient.
3163 * MiniBrowser/mac/BrowserWindowController.m:
3164 (-[BrowserWindowController awakeFromNib]):
3165 * WebKitTestRunner/TestController.cpp:
3166 (WTR::createOtherPage):
3167 (WTR::TestController::initialize):
3169 2010-12-21 Eric Seidel <eric@webkit.org>
3171 Reviewed by Adam Barth.
3173 commit-queue will report constant failures as flaky if other tests flake
3174 https://bugs.webkit.org/show_bug.cgi?id=51272
3176 This patch just removes functionality and adds testing.
3177 Previously we attempted to report flaky tests when we had
3178 two different tests fail in a row. However, since we stop
3179 running the tests at the first failure, our code was wrong in
3180 trying to determine flakiness from the incomplete runs.
3182 Originally I posted an alternate patch:
3183 https://bug-51272-attachments.webkit.org/attachment.cgi?id=77078
3184 which fixed our flaky logic in this case, however it was decided
3185 that that patch would be too difficult to maintain, so now
3186 I'm just removing the broken logic.
3188 This will dramatically cut-down on our flaky-test false positives
3189 at the (small) cost of the queues being unable to report
3190 any flakiness if the tree is very flaky. (With at least one test
3191 flaking on every run, we'll never report failures anymore.) I think
3192 this is a tradeoff worth making.
3194 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3195 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3197 2010-12-20 Eric Seidel <eric@webkit.org>
3199 Reviewed by Adam Barth.
3201 commit-queue wrongly rejects patches when it can't update itself
3202 https://bugs.webkit.org/show_bug.cgi?id=46636
3204 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3205 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3206 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3208 2010-12-20 Adam Barth <abarth@webkit.org>
3210 Move web sites to Websites directory
3211 https://bugs.webkit.org/show_bug.cgi?id=51323
3213 Update references to BugsSite to point to the new location.
3215 This patch was never officially reviewed (because it was too large to
3216 upload to bugs.webkit.org), but it was discussed on webkit-dev and Mark
3217 Rowe gave me the green light.
3219 * Scripts/old-run-webkit-tests:
3220 * Scripts/webkitpy/common/config/build.py:
3221 * Scripts/webkitpy/common/config/build_unittest.py:
3222 * Scripts/webkitpy/common/prettypatch.py:
3223 * Scripts/webkitpy/layout_tests/port/base.py:
3224 * Scripts/webkitpy/style/main.py:
3226 2010-12-20 Adrienne Walker <enne@google.com>
3228 Unreviewed. Adding myself to the list of committers.
3230 * webkitpy/common/config/committers.py:
3232 2010-12-20 Mark Rowe <mrowe@apple.com>
3234 Reviewed by Dan Bernstein.
3236 <rdar://problem/8757601> Don't install header files in to the Resources directory.
3238 * Scripts/check-for-inappropriate-files-in-framework: Don't allow .h files in the
3239 Resources directory.
3241 2010-12-20 Eric Seidel <eric@webkit.org>
3243 Reviewed by Adam Barth.
3245 commit-queue should include bot id when attaching failure diffs
3246 https://bugs.webkit.org/show_bug.cgi?id=51280
3248 This is a tiny change to include the bot id in the name of the attachment.
3249 Most of this diff is just changing the unit test expectations
3250 now that I hid the comment printing when the comment is None.
3252 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3253 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
3254 * Scripts/webkitpy/tool/commands/upload_unittest.py:
3255 * Scripts/webkitpy/tool/mocktool.py:
3257 2010-12-20 Jeff Miller <jeffm@apple.com>
3259 Reviewed by Dan Bernstein.
3261 Tools/vcbin/midl.exe needs to be rebuilt
3262 https://bugs.webkit.org/show_bug.cgi?id=51347
3264 * vcbin/midl.exe: Rebuilt.
3266 2010-12-20 David Levin <levin@chromium.org>
3268 Reviewed by Ariya Hidayat.
3270 .gitignore and webkit-tools-completion.sh have references to WebKitTools that should be Tools.
3271 https://bugs.webkit.org/show_bug.cgi?id=51343
3273 Follow up from the WebKitTools -> Tools rename.
3275 * Scripts/webkit-tools-completion.sh:
3277 2010-12-20 Cosmin Truta <ctruta@chromium.org>
3279 Reviewed by James Robinson.
3281 new-run-webkit-tests ignores trailing EOL differences in text tests
3282 https://bugs.webkit.org/show_bug.cgi?id=36983
3284 Changed the handling of new-line characters within new-run-webkit-tests
3285 to match old-run-webkit-tests. Differences in leading and trailing empty
3286 lines in text expectation files are no longer ignored.
3288 * Scripts/webkitpy/layout_tests/port/base.py:
3289 * Scripts/webkitpy/layout_tests/port/test.py:
3290 Added unit tests. Removed old duplicate unit test entries.
3291 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3293 2010-12-20 David Levin <levin@chromium.org>
3295 Reviewed by Shinichiro Hamaji.
3297 check-webkit-style should detect function declarations (and trivial functions).
3298 https://bugs.webkit.org/show_bug.cgi?id=51303
3300 * Scripts/webkitpy/style/checkers/cpp.py:
3301 (_FunctionState.begin): Add is_declaration and changed the line count
3302 start to begin at -1 (which will keep the results consistent, since
3303 the starting line number passed in is one less in this change).
3304 (detect_functions): changed function detection to now catch trivial
3305 functions and declarations.
3306 (check_pass_ptr_usage): Don't check for Pass*Ptr on the first line
3307 of the function as this may look at return values (when processing
3309 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3310 (FunctionDetectionTest.perform_function_detection): Basic mechanics
3311 of testing the function detection.
3312 (FunctionDetectionTest.test_basic_function_detection): Test a simple
3314 (FunctionDetectionTest.test_function_declaration_detection): Test a
3316 (FunctionDetectionTest.test_non_functions): A test case for a case
3317 that caused the code to fail due to the { being in quotes.
3318 (PassPtrTest.test_pass_ref_ptr_return_value): Added some more test
3319 cases to help catch false alarms for return values.
3320 (PassPtrTest.test_pass_ref_ptr_member_variable): Ensure that
3321 we don't get false alarms for member variables either.
3323 2010-12-20 Ryuan Choi <ryuan.choi@samsung.com>
3325 Reviewed by Antonio Gomes.
3327 [CMAKE] Rename WEBKITTOOLS_DIR to TOOLS_DIR
3328 https://bugs.webkit.org/show_bug.cgi?id=51319
3330 * CMakeListsEfl.txt:
3332 2010-12-18 Adam Barth <abarth@webkit.org>
3334 Reviewed by Sam Weinig.
3336 Move WebKitExamplePlugins to Examples
3337 https://bugs.webkit.org/show_bug.cgi?id=51291
3339 * Scripts/webkitpy/common/config/build.py:
3341 2010-12-17 Csaba Osztrogonác <ossy@webkit.org>
3343 Unreviewed Qt buildfix after r74301.
3345 Rename WebKitTools to Tools
3346 https://bugs.webkit.org/show_bug.cgi?id=49861
3348 * MiniBrowser/DerivedSources.pro:
3349 * MiniBrowser/qt/MiniBrowser.pro:
3351 2010-12-17 Dan Bernstein <mitz@apple.com>
3353 Reviewed by Simon Fraser.
3355 Rename WebKitTools to Tools
3356 https://bugs.webkit.org/show_bug.cgi?id=49861
3358 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3359 * CodeCoverage/README:
3360 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3361 (WebCore::DumpRenderTree::initializeFonts):
3362 * EWSTools/start-commit-queue.sh:
3363 * EWSTools/start-queue.sh:
3365 * MIDLWrapper/MIDLWrapper.cpp:
3367 * MiniBrowser/qt/MiniBrowser.pro:
3368 * Scripts/build-api-tests:
3369 * Scripts/build-dumprendertree:
3370 * Scripts/build-webkit:
3371 * Scripts/build-webkittestrunner:
3372 * Scripts/generate-coverage-data:
3373 * Scripts/old-run-webkit-tests:
3374 * Scripts/run-api-tests:
3375 * Scripts/run-iexploder-tests:
3376 * Scripts/run-javascriptcore-tests:
3377 * Scripts/run-mangleme-tests:
3378 * Scripts/run-sunspider:
3379 * Scripts/run-webkit-websocketserver:
3380 * Scripts/sunspider-compare-results:
3381 * Scripts/test-webkitperl:
3382 * Scripts/test-webkitpy:
3383 * Scripts/update-iexploder-cssproperties:
3384 * Scripts/update-webkit:
3385 * Scripts/update-webkit-localizable-strings:
3386 * Scripts/webkitdirs.pm:
3387 * Scripts/webkitpy/common/checkout/scm.py:
3388 * Scripts/webkitpy/common/checkout/scm_unittest.py:
3389 * Scripts/webkitpy/common/config/committervalidator.py:
3390 * Scripts/webkitpy/common/config/committervalidator_unittest.py:
3391 * Scripts/webkitpy/common/config/ports.py:
3392 * Scripts/webkitpy/common/config/ports_unittest.py:
3393 * Scripts/webkitpy/common/system/logutils_unittest.py:
3394 * Scripts/webkitpy/common/system/ospath_unittest.py:
3395 * Scripts/webkitpy/layout_tests/port/chromium.py:
3396 * Scripts/webkitpy/layout_tests/port/config.py:
3397 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
3398 * Scripts/webkitpy/layout_tests/port/http_server.py:
3399 * Scripts/webkitpy/layout_tests/port/test.py:
3400 * Scripts/webkitpy/style/checker.py:
3401 * Scripts/webkitpy/style/checker_unittest.py:
3402 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
3403 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3404 * Scripts/webkitpy/tool/steps/steps_unittest.py:
3405 * WebKitTestRunner/DerivedSources.pro:
3406 * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
3407 (WTR::activateFonts):
3408 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
3409 * wx/build/build_utils.py:
3411 2010-12-16 Antonio Gomes <agomes@rim.com>
3413 Reviewed by Martin Robinson.
3415 Settings::editingBehaviorType() incorrectly returns mac for the gtk build when running tests
3416 https://bugs.webkit.org/show_bug.cgi?id=51163
3418 Since GTK+'s default editing behavior was changed to UNIX in r70975 (see webkitwebsettings.cpp),
3419 GTK+'s DRT should also reset to UNIX after each test execution.
3421 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3422 (resetDefaultsToConsistentValues):
3424 2010-12-17 David Levin <levin@chromium.org>
3426 Reviewed by Eric Seidel.
3428 check-webkit-style should understand WTF #include guards
3429 https://bugs.webkit.org/show_bug.cgi?id=44911
3431 * Scripts/webkitpy/style/checkers/cpp.py:
3432 (get_header_guard_cpp_variable): modify to suggest the WTF style
3433 of header guard when appropriate.
3434 (check_for_header_guard): handle multiple return values from
3435 get_header_guard_cpp_variable
3436 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3437 (CppStyleTest.test_build_header_guard): Added tests for the WTF
3440 2010-12-16 David Levin <levin@chromium.org>
3442 Reviewed by Eric Seidel.
3444 test-webkitpy: unittest for the xml.py checker displays a decprecation warning.
3445 https://bugs.webkit.org/show_bug.cgi?id=51210
3447 The error only shows up when using python 2.6 or later.
3449 * Scripts/webkitpy/style/checkers/xml.py: Replace the usage of
3450 the decprecated field error,message with something equivalent.
3452 2010-12-16 Mihai Parparita <mihaip@chromium.org>
3454 Reviewed by Eric Seidel.
3456 Add --exit-after-n-failures/crashes to NRWT
3457 https://bugs.webkit.org/show_bug.cgi?id=51160
3459 Abort test run (in a similar way to how control-C is handled) when
3460 --exit-after-n-failures/crashes-or-timeouts are passed and we've reached
3461 that number of unexpected failures/crashes/timeouts.
3463 * Scripts/webkitpy/layout_tests/port/test.py:
3464 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3465 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3467 2010-12-16 David Levin <levin@chromium.org>
3469 Reviewed by Shinichiro Hamaji.
3471 check-webkit-style unit tests has some duplicate boilerplate code.
3472 https://bugs.webkit.org/show_bug.cgi?id=49519
3474 * Scripts/webkitpy/style/checkers/cpp.py:
3475 (update_include_state): Replaced the "io" parameter with the global
3476 configuration _unit_test_config. This allowed not calling into
3477 functions at a low level and also not plumbing through the injection
3478 information through many levels of code.
3479 (check_for_include_what_you_use): Ditto.
3480 (process_file_data): Added the ability to set up the unit test config
3481 to allow for injection.
3482 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3483 (ErrorCollector.__init__): Added support for having a filter for errors.
3484 (ErrorCollector.__call__): Ditto.
3485 (CppStyleTestBase.process_file_data): Added the ability to set unit_test_config.
3486 (CppStyleTestBase.perform_lint): Consolidated logic for the perform functions.
3487 (CppStyleTestBase.perform_single_line_lint): Replace specific calls to
3488 functions in the cpp.py with generic processing and a filter that
3489 indicates what errors should be kept.
3490 (CppStyleTestBase.perform_multi_line_lint): Ditto.
3491 (CppStyleTestBase.perform_language_rules_check): Ditto.
3492 (CppStyleTestBase.perform_function_lengths_check): Ditto.
3493 (CppStyleTestBase.perform_pass_ptr_check): Ditto.
3494 (CppStyleTestBase.perform_include_what_you_use): Ditto.
3495 (CppStyleTest.test_multi_line_comments): Added another
3496 error message which applies to the test case.
3497 (CppStyleTest.test_spacing_for_binary_ops): Fixed test
3498 to not have config.h, since it is processed as a header file.
3499 (CppStyleTest.test_static_or_global_stlstrings): Fixed variable name
3500 style and indentation in checked code.
3501 (OrderOfIncludesTest.test_check_preprocessor_in_include_section):
3503 (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error):
3506 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
3508 Unreviewed, rolling out r74136.
3509 http://trac.webkit.org/changeset/74136
3510 https://bugs.webkit.org/show_bug.cgi?id=51135
3512 r74136 breaks chromium canary bots because some tests are not
3513 rebaselined correctly to resolve EOL differences (Requested by
3516 * Scripts/webkitpy/layout_tests/port/base.py:
3517 * Scripts/webkitpy/layout_tests/port/test.py:
3518 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3520 2010-12-15 Adam Roben <aroben@apple.com>
3522 Teach check-webkit-style to check .vcproj and .vsprops files for XML
3525 Fixes <http://webkit.org/b/51103> check-webkit-style should check for
3526 XML syntax errors in .vcproj/.vsprops files
3528 Reviewed by Dave Levin.
3530 * Scripts/webkitpy/style/checker.py: Added lists of file extensions
3531 that should be treated as XML and that should be allowed to contain
3532 carriage returns. (These lists happen to be identical currently.)
3533 (FileType): Added a new XML type.
3534 (CheckerDispatcher.should_check_and_strip_carriage_returns): Added.
3535 Just does a simple file extension check.
3536 (CheckerDispatcher._file_type): Added a case for XML files.
3537 (CheckerDispatcher._create_checker): Ditto. We use XMLChecker for XML
3539 (StyleProcessor.process): Ask the dispatcher whether we should pass the
3540 lines through the carriage checker.
3542 * Scripts/webkitpy/style/checker_unittest.py:
3543 (CheckerDispatcherCarriageReturnTest.test_should_check_and_strip_carriage_returns):
3544 Added. Checks a few file names to see if carriage returns are allowed
3546 (CheckerDispatcherDispatchTest.assert_checker_xml): Added. Similar to
3547 other assert_checker_* functions.
3548 (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
3549 test_*_paths functions.
3550 (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
3551 test_*_paths functions.
3552 (CheckerDispatcherDispatchTest.test_none_paths): Removed the vcproj
3553 file from this test case, as vcproj files now have a type.
3554 (StyleProcessor_CodeCoverageTest.MockDispatcher.should_check_and_strip_carriage_returns):
3555 Added. Similar to the other should_* functions.
3556 (StyleProcessor_CodeCoverageTest.test_process__carriage_returns_not_stripped):
3557 Added. Checks that carriage returns aren't checked for or stripped for
3560 * Scripts/webkitpy/style/checkers/xml.py: Added.
3561 (XMLChecker.__init__): Simple init method.
3562 (XMLChecker.check): Pass each line through the expat parser, and record
3563 a style error for any errors thrown by the parser.
3565 * Scripts/webkitpy/style/checkers/xml_unittest.py: Added.
3566 (XMLCheckerTest.assert_no_error): Checks that the given XML does not
3567 produce a style error.
3568 (XMLCheckerTest.assert_error): Checks that the given XML produces an
3569 error of the given category on the given line.
3570 (XMLCheckerTest.mock_handle_style_error): Does nothing. Used for
3571 checking that the XMLChecker constructor works properly.
3572 (XMLCheckerTest.test_conflict_marker): Tests that conflict markers
3573 cause a style error (see, e.g., r73887).
3574 (XMLCheckerTest.test_extra_closing_tag): Tests that extra closing tags
3575 cause a style error (see, e.g., r73773).
3576 (XMLCheckerTest.test_init): Tests that the XMLChecker constructor works
3578 (XMLCheckerTest.test_missing_closing_tag): Tests that missing closing
3579 tags cause a style error (see, e.g., r72795).
3580 (XMLCheckerTest.test_no_error): Tests that valid XML does not cause a
3583 2010-12-15 Lucas Forschler <lforschler@apple.com>
3585 Reviewed by Stephanie Lewis.
3587 https://bugs.webkit.org/show_bug.cgi?id=51117
3588 Add a new leopard test bot
3589 really really commit to trunk this time.
3591 * BuildSlaveSupport/build.webkit.org-config/config.json:
3593 2010-12-15 Sam Weinig <sam@webkit.org>
3595 Reviewed by Anders Carlsson.
3597 WebKit2: Can't add files to an <input type=file>
3598 https://bugs.webkit.org/show_bug.cgi?id=51087
3600 * MiniBrowser/mac/BrowserWindowController.m:
3602 (-[BrowserWindowController awakeFromNib]):
3603 Add simple implementation of runOpenPanel callback.
3605 * MiniBrowser/win/BrowserView.cpp:
3606 (BrowserView::create):
3607 * WebKitTestRunner/TestController.cpp:
3608 (WTR::createOtherPage):
3609 (WTR::TestController::initialize):
3610 Stub out runOpenPanel callback.
3612 2010-12-14 Eric Seidel <eric@webkit.org>
3614 Reviewed by Adam Barth.
3616 commit-queue should upload failure diffs when tests flake
3617 https://bugs.webkit.org/show_bug.cgi?id=51051
3619 To make this testable I needed to pipe FileSystem down onto tool.
3620 We've wanted it there for a long time anyway.
3622 This patch is kinda a big hack. But we don't have a nice
3623 way to read results.html files. I think this will need further
3624 revision before this code actually feels clean.
3626 As part of testing this change, I had to make MockBugzilla.create_bug
3627 actually return an id (like it should) which required updating
3628 a few other unit test results (for the better).
3630 The results_matching_keys change in layouttestresults/rebasline
3631 was an alternate path which I decided not to use in the end, but
3632 I left the change as it seemed an improvement.
3634 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
3635 * Scripts/webkitpy/common/net/layouttestresults.py:
3636 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3637 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
3638 * Scripts/webkitpy/tool/commands/queues.py:
3639 * Scripts/webkitpy/tool/commands/rebaseline.py:
3640 * Scripts/webkitpy/tool/main.py:
3641 * Scripts/webkitpy/tool/mocktool.py:
3643 2010-12-15 Cosmin Truta <ctruta@chromium.org>
3645 Reviewed by James Robinson.
3647 new-run-webkit-tests ignores trailing EOL differences in text tests
3648 https://bugs.webkit.org/show_bug.cgi?id=36983
3650 Changed the handling of new-line characters within new-run-webkit-tests
3651 to match old-run-webkit-tests. Differences in leading and trailing empty
3652 lines in text expectation files are no longer ignored.
3654 * Scripts/webkitpy/layout_tests/port/base.py:
3655 * Scripts/webkitpy/layout_tests/port/test.py:
3656 Added unit tests. Removed old duplicate unit test entries.
3657 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
3659 2010-12-15 Ojan Vafai <ojan@chromium.org>
3661 Reviewed by Adam Barth.
3663 make status-bubble white-space:nowrap so we can measure it's width without wrapping
3664 https://bugs.webkit.org/show_bug.cgi?id=51149
3666 * QueueStatusServer/templates/statusbubble.html:
3668 2010-12-15 Ojan Vafai <ojan@chromium.org>
3670 Reviewed by Adam Barth.
3672 have the statusbubble postMessage it's metrics so that embedders can properly size the iframe
3673 https://bugs.webkit.org/show_bug.cgi?id=51125
3675 * QueueStatusServer/templates/statusbubble.html:
3677 2010-12-15 Darin Adler <darin@apple.com>
3679 * Scripts/webkitpy/common/net/buildbot: Added property svn:ignore.
3681 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
3683 Unreviewed, rolling out r74117.
3684 http://trac.webkit.org/changeset/74117
3685 https://bugs.webkit.org/show_bug.cgi?id=51113
3687 This broke the GTK1 build. (Requested by mrobinson on
3690 * Scripts/webkitdirs.pm:
3692 2010-12-15 Amruth Raj <amruthraj@motorola.com> and Ravi Kasibhatla <ravi.kasibhatla@motorola.com>
3694 Reviewed by Martin Robinson.
3696 Change generate-forwarding-headers.pl for GTK port usage
3697 (https://bugs.webkit.org/show_bug.cgi?id=37369)
3699 * Scripts/webkitdirs.pm: Added changes to build webkit2 for GTK port using build-webkit script.
3701 2010-12-14 Kent Tamura <tkent@chromium.org>
3703 Reviewed by Jian Li.
3705 [DRT/Chromium] Remove another unnecessary error message
3706 https://bugs.webkit.org/show_bug.cgi?id=51083
3708 * DumpRenderTree/chromium/WebViewHost.cpp:
3709 (WebViewHost::didInvalidateRect):
3711 2010-12-14 Lucas Forschler <lforschler@apple.com>
3713 Reviewed by Stephanie Lewis.
3715 Add a new Leopard Debug Test WK2 Bot
3717 * BuildSlaveSupport/build.webkit.org-config/config.json:
3719 2010-12-14 Ojan Vafai <ojan@chromium.org>
3721 Fix python unittests after http://trac.webkit.org/changeset/74070.
3723 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
3725 2010-12-14 Kent Tamura <tkent@chromium.org>
3727 Reviewed by Jian Li.
3729 [DRT/Chromium] Remove a unnecessary error message
3730 https://bugs.webkit.org/show_bug.cgi?id=51069
3732 * DumpRenderTree/chromium/WebViewHost.cpp:
3733 (WebViewHost::paintInvalidatedRegion):
3735 2010-12-14 Benjamin Kalman <kalman@chromium.org>
3737 Reviewed by Ojan Vafai.
3739 Using BUG/BUGWK in test_expectations is error prone, should use BUGCR/BUGWK
3740 https://bugs.webkit.org/show_bug.cgi?id=48926
3742 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
3743 Add presubmit check that BUG isn't used, either BUGCR/BUGWK/BUGV8_.
3745 2010-12-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3747 Reviewed by Eric Seidel.
3749 [Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
3750 https://bugs.webkit.org/show_bug.cgi?id=50231
3752 Guard CONFIG+=link_pkgconfig with !symbian.
3754 * DumpRenderTree/qt/DumpRenderTree.pro:
3755 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
3756 * WebKitTestRunner/qt/WebKitTestRunner.pro:
3758 2010-12-14 Philippe Normand <pnormand@igalia.com>
3760 Reviewed by Ojan Vafai.
3762 [new-run-webkit-tests] expectations parsing is slow
3763 https://bugs.webkit.org/show_bug.cgi?id=50635
3765 Avoid expensive iteration of all the tests when checking if a test