LayoutTests:
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-02-10  Brady Eidson <beidson@apple.com>
2
3         Reviewed by Maciej
4
5         <rdar://problem/4965133> WebKit sends file:// url referrers
6
7         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
8           on local files, but have an httpd for remote resources
9
10 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
11
12         Reviewed by Beth Dakin.
13         
14         Ignore another false leak report.
15
16         * Scripts/run-webkit-tests:
17
18 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
19
20         Reviewed by Kevin McCullough.
21
22         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
23         already exists, to avoid confusing error message.
24         
25         Also, remove /tmp/LayoutTests after running so unsupecting fools don't 
26         try to rm -rf it, only later to discover that they have completely hosed 
27         their machines.
28
29 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
30
31         Reviewed by Adam Roben.
32
33         Linux/gdk build fixes.
34
35         * GdkLauncher/main.cpp: Add -exit-after-loading and
36         -dump-render-tree as debugging aid.
37         (strEq):
38         (main):
39
40 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
41
42         Minor fixup based on Maciej's review last night.
43         
44         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
45         and do a little math to make it work.
46
47 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
48
49         Reviewed by Adam Roben..
50
51         Linux/gdk build fixes.
52
53         * GdkLauncher/gdklauncher.bkl:
54
55 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
56
57         Reviewed by
58
59         - Fix layout test failures.
60
61         * Scripts/run-webkit-tests:
62
63 2007-02-08  Darin Adler  <darin@apple.com>
64
65         Reviewed by Anders.
66
67         * Scripts/check-for-global-initializers: For speed, only check files that
68         have been modified since the last time we linked. For tidiness, capture
69         stderr from nm, and prevent "nm: no name list" messages from going out.
70
71 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
72
73         Reviewed by Maciej Stachowiak, Adam Roben.
74         
75         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
76         arbitrary number n.
77         
78         Plus some renames:
79             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
80             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
81             - tool => dumpTool (to match abstraction elsewhere)
82             - httpdOpen => isHttpdOpen (to match style guidelines)
83         
84         Plus a few logic fixups:
85             - Don't check isDumpToolOpen when we know we've called openDumpTool().
86             - Use a single code path to decide when to shut down dumpTool and
87               when to check for leaks, since the operations are coincidental. 
88             - Use a single code path for running the leaks tool, since the only 
89               thing that varies between configurations is the output file name.
90             - Increment $count after each test finishes, instead of at the end
91               of the loop, to help with comparing to the length of the array
92               and %-ing by n.
93             - Use a more robust test inside the loop to determine if we need to
94               close dumpTool, instead of copying the closing code outside the loop.
95         
96         Layout tests pass.
97
98         * Scripts/run-webkit-tests:
99
100 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
101
102         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
103         
104         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
105         catch all reports of them, not just those inside pthread_create.
106         
107         Also, use "\\" instead of "\" because we need the actual \ to get into the
108         regexp string if it's going to do any escaping. (Oops!)
109
110         * Scripts/run-webkit-tests:
111
112 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
113
114         Reviewed by Bethany P. Dakin.
115         
116         The 's' is optional when the leaks tool reports 'leaks'.
117         
118         * Scripts/run-leaks:
119
120 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
121
122         Reviewed by Bethany P. Dakin.
123         
124         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
125
126         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
127
128 2007-02-06  David Smith  <catfish.man@gmail.com>
129
130         Reviewed by Darin.
131
132         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
133         [Drosera] Console history fixups
134
135         * Drosera/console.js: assorted cleanups and fixes
136
137 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
138
139         Reviewed by Darin Adler.
140         
141         New script that allows you to ignore leaks by regular expression.
142
143         * Scripts/run-leaks: Added.
144
145 2007-02-03  Sam Weinig  <sam@webkit.org>
146
147         Reviewed by Mark.
148
149         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
150         Drosera doesn't handle CR ( carriage returns ) well
151
152         - Normalize all the line endings.
153
154         * Drosera/debugger.js:
155
156 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
157
158         Reviewed by Darin Adler.
159
160         Added some more known leaks to the leaks ignore list.
161
162         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
163         hate itself so much?
164         * Scripts/run-webkit-tests:
165
166 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
167
168         Even better build fix than the last.
169
170         * ChangeLog:
171         * DumpRenderTree/DumpRenderTree.m:
172         (shouldIgnoreWebCoreNodeLeaks):
173
174 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
175
176         Fixed build. Added work-around for GCC bug.
177
178         * DumpRenderTree/DumpRenderTree.m:
179         (shouldIgnoreWebCoreNodeLeaks):
180
181 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
182
183         Reviewed by Maciej Stachowiak.
184         
185         Added support for selectively ignoring WebCore::Node leaks during layout
186         tests, so that we can ignore known leaks in other components.
187
188         * DumpRenderTree/DumpRenderTree.m:
189         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
190         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
191         confuse anyone else? 
192         (runTest):
193
194 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
195
196         Reviewed by Darin.
197
198         * DumpRenderTree/UIDelegate.m:
199         (-[UIDelegate webView:addMessageToConsole:]):
200         Dump console messages.
201
202 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
203
204         * DumpRenderTree/ResourceLoadDelegate.m:
205         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
206         Use an NSString here so we can guarantee that -description always returns the same value.
207
208 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
209
210         Reviewed by Darin Adler.
211
212         Added Selection::toRange to the leaks -exclude list, since it comes up
213         as a false positive (Radar 4967949).
214         
215         Also added RangeCounter to the global initializer exclude list. I added
216         a RangeCounter since leaks won't detect all Range leaks anymore.
217
218         * Scripts/check-for-global-initializers:
219         * Scripts/run-webkit-tests:
220
221 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
222
223         * DumpRenderTree/ResourceLoadDelegate.m:
224         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
225         Don't try to create an identifier if resource loads shouldn't be dumped.
226
227 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
228
229         Reviewed by Geoff.
230
231         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
232         rely on resources being delivered in the same order which might not always be true. However, it works good
233         enough for the simple webarchive tests I want to do right now.
234         
235         * DumpRenderTree/DumpRenderTree.h:
236         * DumpRenderTree/DumpRenderTree.m:
237         (dumpRenderTree):
238         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
239         (-[LayoutTestController dumpResourceLoadCallbacks]):
240         (runTest):
241         
242         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
243         * DumpRenderTree/ResourceLoadDelegate.h: Added.
244         * DumpRenderTree/ResourceLoadDelegate.m: Added.
245         Add new resource load delegate.
246         
247 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
248
249         Backing out the CFRunLoopRunSpecific exclude command because it was overly
250         broad. We'll either need to work around this leak in DRT, or do some
251         custom grep-based leak ignoring.
252
253         * Scripts/run-webkit-tests:
254
255 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
256
257         Reviewed by Beth Dakin.
258
259         Filed some more Radars in other components, added some more leaks to the
260         exclusion list.
261
262         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
263         CFRunLoopRunSpecific, and NSSpellChecker.
264
265 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
266
267         Reviewed by Darin.
268
269         http://bugs.webkit.org/show_bug.cgi?id=11882
270         Need a way to regression test .webarchive output files
271
272         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
273         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
274         to normalize URLs to remove path where WebKit was checked out.  Also converts
275         WebDataResource properties from data to string if the corresponding
276         WebResourceMIMEType property starts with "text/" or equals
277         "application/x-javascript".
278
279         * DumpRenderTree/DumpRenderTree.m:
280         (convertWebResourceDataToString): Added.
281         (normalizeWebResourceURL): Added.
282         (normalizeWebResourceResponse): Added.
283         (serializeWebArchiveToXML): Added.
284         (dump):
285         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
286         (-[LayoutTestController dumpAsWebArchive]): Added.
287         (runTest):
288
289 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
290
291         Reviewed by Mark Rowe.
292
293         http://bugs.webkit.org/show_bug.cgi?id=12470
294         svn-create-patch creates duplicate patches for files within an added/modified directory
295
296         * Scripts/svn-create-patch:
297         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
298
299 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
300
301         Reviewed by Maciej Stachowiak.
302
303         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
304         
305         No more mollycoddling for you, FastMalloc.o!
306         
307         * Scripts/check-for-global-initializers:
308
309 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
310
311         Reviewed by Maciej.
312         
313         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
314         Image data in from RTFD clipboard data thrown away
315         
316         - This method is needed because NSArrays are bridged to JS Arrays,
317           which in turn are bridged back to WebScriptObjects when passed from
318           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
319
320         * DumpRenderTree/DumpRenderTree.m:
321         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
322
323 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
324
325         Reviewed by Maciej Stachowiak.
326         
327         Added support for test for <rdar://problem/4608404> WebScriptObject's 
328         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
329         
330         * DumpRenderTree/DumpRenderTree.m:
331         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
332         (+[LayoutTestController webScriptNameForSelector:]):
333         (-[LayoutTestController storeWebScriptObject:]):
334         (-[LayoutTestController accessStoredWebScriptObject]):
335         (-[LayoutTestController dealloc]):
336
337 2007-01-26  Lars Knoll <lars@trolltech.com>
338
339         Reviewed by Zack
340
341         Small hack to ensure that our top level frame actually has the
342         correct size. Unfortunately this means I'll have to regenerate 
343         all test cases :/
344
345         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
346         (WebCore::DumpRenderTree::DumpRenderTree):
347
348 2007-01-25  Lars Knoll <lars@trolltech.com>
349
350         Reviewed by Darin and Zack
351         
352         Move the test results for Qt into a directory of it's own
353         (WebKit/LayoutTestResults/qt). Leave the Mac results where
354         they are for now and share the text only results between 
355         Mac and Qt.
356
357         Add support for a LayoutTestResults/platform/Skipped file
358         to run-webkit-tests to be able to ignore certain tests
359
360         Remove the old tests-skipped.txt from Qts DumpRenderTree
361         implementation. 
362
363         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
364         (WebCore::DumpRenderTree::DumpRenderTree):
365         (WebCore::DumpRenderTree::open):
366         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
367         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
368         * Scripts/run-webkit-tests:
369
370 2007-01-24  Darin Adler  <darin@apple.com>
371
372         Reviewed by Oliver.
373
374         - fix crash seen in layout tests
375
376         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
377         Add back the line of code that sets savedMouseEvents to nil. I thought it was
378         a field of the EventSendingController, but it's actually a global.
379
380 2007-01-24  Darin Adler  <darin@apple.com>
381
382         Reviewed by Maciej.
383
384         - changed dragMode to be a property instead of a function
385
386         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
387         * DumpRenderTree/EventSendingController.m:
388         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
389         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
390         (-[EventSendingController init]): Updated for name change.
391         (-[EventSendingController leapForward:]): Ditto.
392         (-[EventSendingController mouseUp]): Ditto.
393         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
394
395 2007-01-24  Darin Adler  <darin@apple.com>
396
397         Reviewed by Maciej.
398
399         - made the deferral of mouse events until drag completes conditional
400           it's needed for drag testing, and harmful for selection testing
401
402         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
403         * DumpRenderTree/EventSendingController.m:
404         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
405         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
406         and remove unneeded clearKillRing name.
407         (-[EventSendingController init]): Initialize inDragMode to true.
408         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
409         not be asserting things that are dependent on the test content!
410         (-[EventSendingController leapForward:]): Only queue events in drag mode.
411         (-[EventSendingController setDragMode:]): Added.
412         (-[EventSendingController mouseDown]): Removed overzealous assertion.
413         (-[EventSendingController mouseUp]): Removed overzealous assertions.
414         Only queue events in drag mode.
415         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
416
417 2007-01-24  Lars Knoll <lars@trolltech.com>
418
419         Reviewed by Zack
420
421         Add a signal handler, always dump immediately if we get an
422         error during a page load and raise the timeout to 5 seconds
423         (as we get a lot less such failures now)
424
425         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
426         (WebCore::DumpRenderTree::DumpRenderTree):
427         (WebCore::DumpRenderTree::maybeDump):
428         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
429         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
430         (LayoutTestController::waitUntilDone):
431         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
432         (crashHandler):
433         (main):
434         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
435
436 2007-01-22  Darin Adler  <darin@apple.com>
437
438         Reviewed by Mitz.
439
440         - a couple tiny tweaks to make --reset-results work better
441
442         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
443         Don't make a separate "new" entry while generating results when --reset-results
444         is specified since new results are the norm in that case.
445
446 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
447
448         Reviewed by Darin.
449
450         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
451
452         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
453
454         * DumpRenderTree/GCController.h:
455         * DumpRenderTree/GCController.mm:
456         (+[GCController isSelectorExcludedFromWebScript:]):
457         (-[GCController getJSObjectCount]):
458
459 2007-01-20  Mark Rowe  <mrowe@apple.com>
460
461         Reviewed by Maciej.
462
463         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
464         catch single regressions, and don't generate tests results for new tests.
465
466 2007-01-20  Adam Roben  <aroben@apple.com>
467
468         Rubberstamped by Maciej.
469
470         * Scripts/run-webkit-tests: Change the default behavior back to
471         generating results for new tests (this can be disabled with
472         --no-new-test-results)
473
474 2007-01-19  Lars Knoll <lars@trolltech.com>
475
476         Reviewed by Adam Roben.
477
478         run-webkit-tests does now not generate new results by default anymore. 
479         You'll have to pass the --new-tests flag to it to force it to do so.
480
481         This is required to make it possible to have tests running on multiple 
482         platforms peacefully together.
483
484         * Scripts/run-webkit-tests:
485
486 2007-01-18  Darin Adler  <darin@apple.com>
487
488         Reviewed by John Sullivan.
489
490         * Scripts/run-webkit-tests: Fix handling of configuration so it
491         does the right thing when no explicit configuration is passed in.
492         The old code assumed that the result of setConfiguration() was the
493         configuration, but it's undefined when no configuration is
494         explicitly passed in. The correct function to use is
495         configuration(), and I also streamlined the code.
496
497 2007-01-17  Lars Knoll <lars@trolltech.com>
498
499         Fix my last commit to actually work in all cases.
500
501         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
502         (WebCore::DumpRenderTree::readStdin):
503
504 2007-01-17  Lars Knoll <lars@trolltech.com>
505
506         Reviewed by Maciej
507
508         Make sure DumpRenderTree exits when run-webkit-tests
509         is done.
510
511         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
512         (WebCore::DumpRenderTree::readStdin):
513
514 2007-01-17  Lars Knoll <lars@trolltech.com>
515
516         Reviewed by Zack
517
518         Small fixes in DumpRenderTree, so we don't by
519         accident dump twice for the same test.
520
521         Exclude one more test as it currently causes DumpRenderTree to
522         hang forever.
523
524         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
525         (WebCore::DumpRenderTree::readStdin):
526         (WebCore::DumpRenderTree::dump):
527         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
528         (LayoutTestController::notifyDone):
529         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
530
531 2007-01-17  Lars Knoll <lars@trolltech.com>
532
533         Reviewed by Zack
534
535         Add a message handler to DumpRenderTree that will
536         suppress all debug output coming from qDebug() statements.
537         Like this we can get rid of all the noise coming
538         from the notImplemented() macro when running the
539         layout tests. You can get it back by adding -v to
540         DumpRenderTree's command line.
541
542         Changed run-webkit-tests slightly, so we by default
543         don't fail anymore when our output differs from what
544         is generated on the Mac. Added a --strict option, so
545         that we can still see this cases and fix them one by one.
546
547         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
548         (messageHandler):
549         (main):
550         * Scripts/run-webkit-tests:
551
552 2007-01-16  Lars Knoll <lars@trolltech.com>
553
554         Reviewed by Zack
555
556         Use the new public API for the Qt build, and don't rely on
557         WebKit internals anymore.
558
559         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
560         (WebCore::DumpRenderTree::DumpRenderTree):
561         (WebCore::DumpRenderTree::~DumpRenderTree):
562         (WebCore::DumpRenderTree::open):
563         (WebCore::DumpRenderTree::readStdin):
564         (WebCore::DumpRenderTree::initJSObjects):
565         (WebCore::DumpRenderTree::dump):
566         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
567         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
568         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
569         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
570         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
571         (LayoutTestController::notifyDone):
572         (LayoutTestController::timerEvent):
573         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
574         (main):
575         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
576
577 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
578
579         Reviewed by mjs
580
581         <rdar://problem/4810960>
582         Gmail Editor: window.focus() called on keyDown (9640)
583
584         * DumpRenderTree/EventSendingController.m: Send the keyDown event
585         to the firstResponder, not the event's locationInWindow.  A
586         key press's locationInWindow is meaningless and just a dummy 
587         coordinate.
588
589 2007-01-15  Eric Seidel  <eric@webkit.org>
590
591         Reviewed by bdash.
592         
593         Add a script to keep our header guards squeaky clean.
594
595         * Scripts/clean-header-guards: Added.
596
597 2007-01-15  Lars Knoll <lars@trolltech.com>
598
599         Reviewed by Zack
600
601         Fix a few smaller issues in here, and update
602         our list of skipped tests.
603
604         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
605         (WebCore::DumpRenderTree::DumpRenderTree):
606         (WebCore::DumpRenderTree::readStdin):
607         (WebCore::DumpRenderTree::dump):
608         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
609         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
610         (LayoutTestController::LayoutTestController):
611         (LayoutTestController::reset):
612         (LayoutTestController::waitUntilDone):
613         (LayoutTestController::notifyDone):
614         (LayoutTestController::dumpEditingCallbacks):
615         (LayoutTestController::timerEvent):
616         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
617         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
618
619 2007-01-14  Mark Rowe  <mrowe@apple.com>
620
621         Reviewed by Adam.
622
623         <rdar://problem/4908909> Need to create Leopard nightly build
624
625         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK.  The disk images don't mount pre-10.4 so we aren't losing anything here.
626         * WebKitLauncher/WebKitNightlyEnabler.m:
627         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
628         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
629         (enableWebKitNightlyBehaviour):
630         * WebKitLauncher/main.m:
631         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
632         * Drosera/launcher.m:
633         (main): Ditto
634
635 2007-01-12  Lars Knoll <lars@trolltech.com>
636
637         Reviewed by Zack
638
639         Get DumpRenderTree to work again for the Qt build.
640
641         Make run-webkit-tests a little less verbose when testing
642         Qt, and add an option to run DumpRenderTree inside valgrind
643         (useful for debugging)
644
645         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
646         (WebCore::DumpRenderTree::DumpRenderTree):
647         (WebCore::DumpRenderTree::~DumpRenderTree):
648         (WebCore::DumpRenderTree::open):
649         (WebCore::DumpRenderTree::dump):
650         (WebCore::DumpRenderTree::maybeDump):
651         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
652         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
653         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
654         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
655         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
656         * Scripts/run-webkit-tests:
657
658 2007-01-12  Zack Rusin  <zack@kde.org>
659
660         Add WEBKIT_FULLBUILD env variable to get the
661         build do a make clean before make to cleanout the
662         stale depenendencies (for buildbot mainly).
663
664         * Scripts/webkitdirs.pm:
665
666 2007-01-11  Mitz Pettel  <mitz@webkit.org>
667
668         Reviewed by Hyatt.
669
670         - http://bugs.webkit.org/show_bug.cgi?id=10249
671           Temporarily disable tests that are causing kernel panics
672
673         Changed the ImageDiff tool not to use CoreImage filters.
674
675         * DumpRenderTree/ImageDiff.m:
676         (main):
677         (createImageFromStdin):
678         (compareImages):
679         (getDifferenceBitmap):
680
681 2007-01-11  Lars Knoll <lars@trolltech.com>
682
683         Fix compilation
684
685         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
686
687 2007-01-11  Lars Knoll <lars@trolltech.com>
688
689         Reviewed by Darin.
690
691         Adjust to loader changes.
692
693         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
694         (WebCore::DumpRenderTree::DumpRenderTree):
695
696 2007-01-06  George Staikos  <staikos@kde.org>
697
698         This doesn't build on all unix platforms!
699
700         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
701
702 2007-01-05  Zack Rusin  <zack@kde.org>
703
704         Reviewed by Simon.
705
706         Fix the undefined warnings and try to detect
707         the DISPLAY properly.
708
709         * Scripts/run-webkit-tests:
710
711 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
712
713         Reviewed by Mark Rowe.
714
715         Speed up svn-create-patch for copied and moved files.
716
717         * Scripts/svn-create-patch:
718         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
719         so svn pulls original from local disk.
720
721 2007-01-04  Lars Knoll <lars@trolltech.com>
722
723         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
724               Link with RPATH to (hopefully) get the automatic tests working.
725
726 2007-01-03  Mark Rowe  <bdash@webkit.org>
727
728         Reviewed by Anders.
729
730         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
731
732 2007-01-02  Zack Rusin  <zack@kde.org>
733
734         Make it work after javascriptcore/bindings changes.
735
736         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
737         (WebCore::DumpRenderTree::initJSObjects):
738         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
739
740 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
741
742         Reviewed by Darin.
743
744         http://bugs.webkit.org/show_bug.cgi?id=12023
745         svn-create-patch and friends should handle moved/copied files
746
747         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
748         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
749         (findMimeType($)): Added.
750         (findModificationTime($)): Added.
751         (findSourceFileAndRevision($)): Added.
752         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
753         (isBinaryMimeType($)): Added.
754         (manufacturePatchForAdditionWithHistory($$)): Added.
755         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
756
757 2006-12-29  Eric Seidel  <eric@webkit.org>
758
759         Reviewed by olliej.
760
761         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
762
763         * DumpRenderTree/DumpRenderTree.m:
764         (dumpRenderTree): clear WebCore cache before exiting
765
766 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
767
768         Reviewed by NOBODY (build fix).
769
770         Reverted last commit until WebResourceData issue is fixed.
771
772         http://bugs.webkit.org/show_bug.cgi?id=11882
773         Need a way to regression test .webarchive output files
774
775         * DumpRenderTree/DumpRenderTree.m:
776         (serializeWebArchiveToXML): Removed.
777         (dump):
778         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
779         (-[LayoutTestController dumpAsWebArchive]): Removed.
780         (runTest):
781
782 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
783
784         Reviewed by Darin.
785
786         http://bugs.webkit.org/show_bug.cgi?id=11882
787         Need a way to regression test .webarchive output files
788
789         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
790         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
791         where WebKit was checked out.
792
793         * DumpRenderTree/DumpRenderTree.m:
794         (serializeWebArchiveToXML): Added.
795         (dump):
796         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
797         (-[LayoutTestController dumpAsWebArchive]): Added.
798         (runTest):
799
800 2006-12-28  George Staikos  <staikos@kde.org>
801
802         Reviewed by Olliej.
803
804         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
805
806 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
807
808         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
809
810         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
811         
812         No behavior change. Layout tests pass.
813
814         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
815         doneLoading() accessor function. This matches the rest of DRT's exports and 
816         makes it easier to search for clients who check (!done).
817
818         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
819         it would cover both code paths for calling runTest().
820
821         (dumpRenderTree): "doneLoading()" => "done"
822         (dump): ditto
823         * DumpRenderTree/EditingDelegate.m: ditto
824         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
825         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
826         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
827         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
828         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
829         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
830         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
831         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
832         (-[EditingDelegate webViewDidBeginEditing:]): ditto
833         (-[EditingDelegate webViewDidChange:]): ditto
834         (-[EditingDelegate webViewDidEndEditing:]): ditto
835         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
836         (-[EditingDelegate webViewDidChangeSelection:]): ditto
837         * DumpRenderTree/UIDelegate.m: ditto
838         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
839
840 2006-12-26  Eric Seidel  <eric@webkit.org>
841
842         Reviewed by bradee-oh.
843         
844         Add very simple run-pageloadtest script for running SVG page load test.
845
846         * Scripts/run-pageloadtest: Added.
847
848 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
849
850         Reviewed by Eric Seidel.
851
852         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari 
853         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
854         
855         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
856
857 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
858
859         Reviewed by Maciej Stachowiak.
860         
861         Added --threaded support to run-webkit-tests and DumpRenderTree.
862         
863         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
864         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore 
865         interface. This is useful for tracking down bugs you might see on a system
866         configured to use a PAC file.
867         
868         Ironically, I can proudly state that very few layout tests pass.
869
870         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
871         for starting and stopping it.
872         (runJavaScriptThread): helper function
873         (startJavaScriptThread): helper function
874         (stopJavaScriptThread): helper function
875
876         (dumpRenderTree): Added --threaded command line argument.
877         * Scripts/run-webkit-tests: ditto
878
879 2006-12-22  Mark Rowe  <bdash@webkit.org>
880
881         Reviewed by Brady.
882
883         Fix for <rdar://problem/4265976>
884         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
885
886         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
887
888 2006-12-21  Mark Rowe  <bdash@webkit.org>
889
890         Reviewed by Tim Hatcher.
891
892         http://bugs.webkit.org/show_bug.cgi?id=11922
893         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
894
895         * Drosera/DebuggerDocument.m:
896         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
897         ensure that the properties are being retrieved from the correct scope object.
898
899 2006-12-21  Lars Knoll <lars@trolltech.com>
900
901         Reviewed by Zack
902
903         Add support for the layoutTestController JavaScript object
904         to be able to get textOnly dumps.
905         Added a Qt specific hack to always get the same fonts (the ones
906         added in this submit) and the same dpi when running the layout tests.
907         Modified the run-webkit-tests script to also do a comparison to the 
908         Mac generated outputs (by stripping out positioning information).
909
910         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
911         (WebCore::DumpRenderTree::DumpRenderTree):
912         (WebCore::DumpRenderTree::open):
913         (WebCore::DumpRenderTree::resetJSObjects):
914         (WebCore::DumpRenderTree::initJSObjects):
915         (WebCore::DumpRenderTree::dump):
916         (WebCore::DumpRenderTree::checkLoaded):
917         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
918         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
919         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
920         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
921         (WebCore::DumpRenderTreeClient::partClearedInBegin):
922         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
923         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
924         (QX11Info::appDpiY):
925         (QX11Info::appDpiX):
926         (qt_x11ft_convert_pattern):
927         (LayoutTestController::LayoutTestController):
928         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
929         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
930         (LayoutTestController::shouldDumpAsText):
931         (LayoutTestController::shouldWaitUntilDone):
932         (LayoutTestController::reset):
933         (LayoutTestController::dumpAsText):
934         (LayoutTestController::waitUntilDone):
935         (LayoutTestController::notifyDone):
936         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
937         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
938         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
939         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
940         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
941         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
942         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
943         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
944         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
945         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
946         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
947         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
948         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
949         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
950         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
951         * Scripts/run-webkit-tests:
952
953 2006-12-21  Mark Rowe  <bdash@webkit.org>
954
955         Reviewed by Geoff.
956
957         http://bugs.webkit.org/show_bug.cgi?id=11888
958         Bug 11888: REGRESSION (r18320): Web Inspector panes broken
959
960         * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
961
962 2006-12-18  Geoffrey Garen  <ggaren@apple.com>
963
964         Reviewed by Beth Dakin.
965
966         Updated EventSender to be able to send mouse up events outside the WebView.
967         This is a minor tweak to a hackish implementation. The real solution
968         should be to use NSApplication's event sending model instead of rolling
969         our own, but I don't have time for that right now.
970         
971         * DumpRenderTree/EventSendingController.m:
972         (-[EventSendingController mouseUp]): 
973
974 2006-12-15  Marvin Decker  <marv.decker@gmail.com>
975
976         Reviewed by Darin and Alexey.
977
978         Fix the Windows build, move various Client implementations out of
979         WebCore and into WebKit.
980
981         * Spinneret/Spinneret.sln:
982
983 2006-12-14  Timothy Hatcher  <timothy@apple.com>
984
985         Reviewed by Brady.
986
987         * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
988
989 2006-12-13  Zack Rusin  <zack@kde.org>
990
991         Reviewed by rwlbuis
992
993         Use the qmake build by default with Qt - it's the one that works
994         currently.
995
996         * Scripts/build-webkit:
997         * Scripts/webkitdirs.pm:
998
999 2006-12-10  Lars Knoll <lars@trolltech.com>
1000
1001         Reviewed by Zack
1002
1003         Some more fixes to the dumprendertree application.
1004         Fix the run-webkit-tests script for Qt.
1005
1006         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1007         (WebCore::DumpRenderTree::open):
1008         (WebCore::DumpRenderTree::readStdin):
1009         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1010         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
1011         * Scripts/run-webkit-tests:
1012         * Scripts/webkitdirs.pm:
1013
1014 2006-12-10  Rob Buis  <buis@kde.org>
1015
1016         Reviewed by Darin.
1017
1018         * DumpRenderTree/DumpRenderTree.m:
1019         (dump):
1020
1021 2006-12-10  Lars Knoll <lars@trolltech.com>
1022
1023         Reviewed by Zack
1024
1025         Get the DumpRenderTree app to compile again
1026
1027         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1028         (WebCore::DumpRenderTree::DumpRenderTree):
1029         (WebCore::DumpRenderTree::open):
1030         (WebCore::DumpRenderTree::readStdin):
1031         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
1032         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
1033         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
1034         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
1035         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1036         (main):
1037
1038 2006-12-09  George Staikos  <staikos@kde.org>
1039
1040         Reviewed by Zack.
1041
1042         Repair QMake build on OS X.
1043
1044         * Scripts/build-webkit:
1045
1046 2006-12-09  Zack Rusin  <zack@kde.org>
1047
1048         Fixing small mistakes in the build scripts for
1049         the qmake builds.
1050
1051         * Scripts/build-webkit:
1052         * Scripts/webkitdirs.pm:
1053
1054 2006-12-09  Simon Hausmann  <hausmann@kde.org>
1055
1056         Reviewed by hyatt.
1057
1058         Add support for a QMake build using build-webkit --qmake
1059
1060         * Scripts/build-webkit:
1061         * Scripts/webkitdirs.pm:
1062
1063 2006-12-09  George Staikos  <staikos@kde.org>
1064
1065         Reviewed by Zack.
1066
1067         Remove reference to Unity.
1068
1069         * Scripts/webkitdirs.pm:
1070
1071 2006-12-08  Zack Rusin  <zack@kde.org>
1072
1073         Reviewed by Maciej.
1074
1075         Fix the compile after recent API changes.
1076
1077         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1078         (WebCore::DumpRenderTree::DumpRenderTree):
1079         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1080         (main):
1081
1082 2006-12-08  George Staikos  <staikos@kde.org>
1083
1084         Reviewed by Maciej.
1085
1086         Build Qt webkit on non-linux, and prefer it if $QTDIR is set
1087
1088         * Scripts/build-webkit:
1089         * Scripts/webkitdirs.pm:
1090
1091 2006-12-06  Steve Falkenburg  <sfalken@apple.com>
1092
1093         Support C strings for localization
1094
1095         * Scripts/extract-localizable-strings:
1096
1097 2006-12-04  Steve Falkenburg  <sfalken@apple.com>
1098
1099         Reviewed by Darin.
1100         
1101         Make extract-localizable-strings compatible with cpp file extensions.
1102
1103         * Scripts/extract-localizable-strings:
1104
1105 2006-11-21  Darin Adler  <darin@apple.com>
1106
1107         Reviewed by Maciej.
1108
1109         - a couple changes to reduce the chance of false positives on the leakbot
1110
1111         * DumpRenderTree/DumpRenderTree.m:
1112         (dumpRenderTree): Move the main function into a separate function so we can run
1113         a final garbage collect afterward without any stray values on the stack. Replaced
1114         the old way of closing down a WebView (setting the delegates to nil) with the new
1115         way (calling the close method), which does a more complete job of shutting
1116         everything down without waiting for the WebView object to be deallocated.
1117         (main): Put auto-release pool here and added an explicit call to garbage collect.
1118         With a separate function, we greatly reduce the chance that a stray address on the
1119         stack will keep an object alive.
1120
1121         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
1122         because I don't have what it takes to fight the power.
1123
1124 2006-11-17  Zack Rusin  <zack@kde.org>
1125
1126         Reviewed by Mitz. Landed by Niko.
1127
1128         Fixing compilation.
1129
1130         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1131         (WebCore::DumpRenderTree::DumpRenderTree): Adding
1132         ContextMenuClient to the constructor
1133
1134 2006-11-12  Mark Rowe  <bdash@webkit.org>
1135
1136         Reviewed by Mitz.
1137
1138         Clean up of GdkLauncher bakefile.
1139
1140         * GdkLauncher/gdklauncher.bkl:
1141
1142 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
1143
1144         Reviewed and landed by Anders.
1145
1146         Make DRT work again on Qt/Linux.
1147
1148         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1149         (WebCore::DumpRenderTree::DumpRenderTree):
1150
1151 2006-11-10  Zack Rusin  <zack@kde.org>
1152
1153         Reviewed and landed by Anders.
1154
1155         Adjusting to the recent loader changes, making it compile
1156         and work.
1157
1158         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1159         (WebCore::DumpRenderTree::DumpRenderTree):
1160         (WebCore::DumpRenderTree::checkLoaded):
1161         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1162
1163 2006-11-10  Zack Rusin  <zack@kde.org>
1164
1165         Reviewed by Anders.
1166
1167         Making the Qt code work after refactorings in WebCore.
1168
1169         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1170         (WebCore::DumpRenderTree::DumpRenderTree):
1171         (WebCore::DumpRenderTree::checkLoaded):
1172         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1173
1174 2006-11-08  Darin Adler  <darin@apple.com>
1175
1176         Reviewed by Anders.
1177
1178         - same change as below, only tested this time
1179
1180         * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
1181         mode off. I think we need to do this because WebPreferences saves things
1182         for us automatically. It would be good to turn that off for DumpRenderTree,
1183         but for now lets handle this like the other preferences (set it explicitly
1184         each time).
1185
1186 2006-11-08  Darin Adler  <darin@apple.com>
1187
1188         Reviewed by Anders.
1189
1190         * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
1191         "tab to links" mode. No current tests depend on this, and there's a new
1192         test I want to land that depends on the default setting.
1193
1194 2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1195
1196         Reviewed by Maciej.
1197
1198         Linux\gdk build fixes.
1199
1200         * GdkLauncher/main.cpp:
1201         (LauncherFrameGdk::LauncherFrameGdk):
1202         (main):
1203
1204 2006-11-06  Alexey Proskuryakov  <ap@nypop.com>
1205
1206         Build fix, approved in principle by Tim H.
1207
1208         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1209         Disable deprecated warnings for main.c (TestNetscapePlugin),
1210         as it now uses QuickDraw to convert mouse event coordinates.
1211
1212 2006-11-05  Timothy Hatcher  <timothy@apple.com>
1213
1214         Reviewed by Maciej.
1215
1216         Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
1217         http://bugs.webkit.org/show_bug.cgi?id=11525
1218
1219         * Drosera/debugger.js: imporved the function name code
1220
1221 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
1222
1223         Reviewed by Maciej.
1224
1225         Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
1226         being attributed to the next test.
1227
1228         * DumpRenderTree/EditingDelegate.m:
1229         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1230         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1231         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1232         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1233         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1234         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1235         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1236         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1237         (-[EditingDelegate webViewDidBeginEditing:]):
1238         (-[EditingDelegate webViewDidChange:]):
1239         (-[EditingDelegate webViewDidEndEditing:]):
1240         (-[EditingDelegate webViewDidChangeTypingStyle:]):
1241         (-[EditingDelegate webViewDidChangeSelection:]):
1242         * DumpRenderTree/UIDelegate.m:
1243         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
1244
1245 2006-11-06  Mark Rowe  <bdash@webkit.org>
1246
1247         Reviewed by Alexey.
1248
1249         Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
1250
1251         * Scripts/run-webkit-tests: import the POSIX module.
1252
1253 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
1254
1255         Reviewed by Maciej.
1256
1257         Test for http://bugs.webkit.org/show_bug.cgi?id=11517
1258         REGRESSION: Flash clicks/interactivity not working properly
1259
1260         Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
1261
1262         <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
1263         <script>
1264             plg.eventLoggingEnabled = true;
1265             // use eventSender to simulate events...
1266         </script>
1267
1268         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1269         (pluginGetProperty):
1270         (pluginSetProperty):
1271         (pluginAllocate):
1272         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1273         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1274         (NPP_HandleEvent):
1275
1276 2006-11-04  David Smith  <catfish.man@gmail.com>
1277
1278         Reviewed by Tim H.
1279
1280         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
1281         Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
1282
1283         * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
1284
1285 2006-11-04  David Smith  <catfish.man@gmail.com>
1286
1287         Reviewed by Tim H.
1288
1289         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
1290         Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
1291
1292         * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
1293
1294 2006-11-04  David Smith  <catfish.man@gmail.com>
1295
1296         Reviewed by Tim H.
1297
1298         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
1299         Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
1300
1301         * Drosera/debugger.js: blur() the function popup when we're done with it.
1302
1303 2006-11-04  Mark Rowe  <bdash@webkit.org>
1304
1305         Reviewed by Darin.
1306
1307         Fix use of uninitialized value in pattern match.
1308
1309         * Scripts/webkitdirs.pm:
1310
1311 2006-11-04  Darin Adler  <darin@apple.com>
1312
1313         Reviewed by Tim Hatcher.
1314
1315         * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
1316
1317 2006-11-03  David Smith  <catfish.man@gmail.com>
1318
1319         Reviewed by Tim H.
1320
1321         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
1322         Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
1323
1324         * Drosera/DebuggerApplication.m:
1325         (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
1326
1327 2006-11-03  Vladimir Olexa  <vladimir.olexa@gmail.com>
1328
1329         Reviewed by Tim H.
1330
1331         Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
1332         Bug 9596: [Drosera] add a function popup to the source pane
1333
1334         * Drosera/debugger.css: Added styles for function popup
1335         * Drosera/debugger.html: Added function popup button and select
1336         * Drosera/debugger.js: Added function popup functionality
1337
1338 2006-11-03  Michael Emmel  <mike.emmel@gmail.com>
1339
1340         Reviewed by Maciej.
1341         
1342         http://bugs.webkit.org/show_bug.cgi?id=9671
1343
1344         * Scripts/wkstyle:
1345         Adds astyle sed script formats according to most of the style guidelines. 
1346
1347 2006-11-03  Alexey Proskuryakov  <ap@nypop.com>
1348
1349         Reviewed by Adele.
1350
1351         http://bugs.webkit.org/show_bug.cgi?id=7323
1352         REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
1353
1354         When dragging, do not send EventSendingController's events immediately. Dragging 
1355         is supposed to be modal, so we need to perform it from within the delegate, without
1356         returning to JS to make the next mouse movement.
1357
1358         When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
1359
1360         * DumpRenderTree/EventSendingController.h:
1361         * DumpRenderTree/EventSendingController.m:
1362         (-[EventSendingController dealloc]):
1363         (-[EventSendingController leapForward:]):
1364         (-[EventSendingController mouseDown]):
1365         (-[EventSendingController mouseUp]):
1366         (-[EventSendingController mouseMoveToX:Y:]):
1367         (+[EventSendingController saveEvent:]):
1368         (+[EventSendingController replaySavedEvents]):
1369         * DumpRenderTree/UIDelegate.m:
1370         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1371
1372 2006-11-02  Geoffrey Garen  <ggaren@apple.com>
1373
1374         Reviewed by Justin Garcia.
1375         
1376         Made dumping of editing callbacks opt-in, so that editing spew doesn't 
1377         cloud non-editing tests.
1378
1379         * DumpRenderTree/DumpRenderTree.m:
1380         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1381         (-[LayoutTestController shouldDumpEditingCallbacks]):
1382         (runTest):
1383         * DumpRenderTree/EditingDelegate.m:
1384         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1385         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1386         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1387         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1388         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1389         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1390         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1391         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1392         (-[EditingDelegate webViewDidBeginEditing:]):
1393         (-[EditingDelegate webViewDidChange:]):
1394         (-[EditingDelegate webViewDidEndEditing:]):
1395         (-[EditingDelegate webViewDidChangeTypingStyle:]):
1396         (-[EditingDelegate webViewDidChangeSelection:]):
1397
1398 2006-11-02  Alexey Proskuryakov  <ap@nypop.com>
1399
1400         Reviewed by Maciej, landed by Anders.
1401
1402         - http://bugs.webkit.org/show_bug.cgi?id=7802
1403           devenv.com not available in VC++ Express installations
1404
1405         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
1406         * Scripts/install-win-extras: Make setx.exe actually run.
1407
1408 2006-11-01  Stephanie Lewis  <slewis@apple.com>
1409
1410         Reviewed by Kevin.
1411         
1412         Fixed bug where additional arguments got fed to xcode and jsdriver.pl
1413         Since testkjs is being built before the tests are run, we don't need 
1414         to build it with webkit.
1415         
1416         Fixes bugs
1417         http://bugs.webkit.org/show_bug.cgi?id=11462
1418         http://bugs.webkit.org/show_bug.cgi?id=6168
1419
1420         * Scripts/build-webkit:
1421         * Scripts/run-javascriptcore-tests:
1422
1423 2006-11-01  Brady Eidson  <beidson@apple.com>
1424
1425         Reviewed by Tim Hatcher
1426
1427         Added accessor to get the source directory for use in client scripts
1428
1429         * Scripts/webkitdirs.pm:
1430
1431 2006-11-01  Mark Rowe  <bdash@webkit.org>
1432
1433         Reviewed by Mitz.
1434
1435         Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
1436
1437         * Spinneret/Spinneret/Spinneret.cpp:
1438         (_tWinMain):
1439         * WebKitLauncher/WebKitNightlyEnabler.m:
1440         (cleanUpAfterOurselves):
1441
1442 2006-10-31  Mark Rowe  <bdash@webkit.org>
1443
1444         Reviewed by Stephanie.
1445
1446         Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
1447
1448         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
1449         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
1450
1451 2006-10-31  Darin Adler  <darin@apple.com>
1452
1453         * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
1454         pasteboard, allocate any number of local pasteboards.
1455         (main): Allocate the dictionary of pasteboards.
1456         (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
1457         given a name.
1458         (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
1459         explicitly elsewhere.
1460         (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
1461         to the selector rather than calling unconditionally.
1462
1463 2006-10-30  Darin Adler  <darin@apple.com>
1464
1465         - fixed build
1466
1467         * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
1468         Don't use CFPasteboard.
1469
1470 2006-10-30  Vladimir Olexa  <vladimir.olexa@gmail.com>
1471
1472         Reviewed by Tim H.
1473
1474         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
1475
1476         * Drosera/debugger.js: ParsedURL() object now recognizes local files
1477
1478 2006-10-30  Darin Adler  <darin@apple.com>
1479
1480         Reviewed by Tim Hatcher.
1481
1482         * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
1483         This should make our buildbot tests no longer need a pasteboard server.
1484
1485 2006-10-30  Geoffrey Garen  <ggaren@apple.com>
1486
1487         Reviewed by Beth.
1488         
1489         Reorganized project file into Delegates and Controllers groups, and split 
1490         UIDelegate stuff into a UIDelegate class.
1491         
1492         A little birdy told me that I might end up adding some UIDelegate methods
1493         to DRT soon.
1494
1495         * DumpRenderTree/DumpRenderTree.m:
1496         (main):
1497         (runTest):
1498         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1499
1500 2006-10-31  Nikolas Zimmermann  <zimmermann@kde.org>
1501
1502         Reviewed by Oliver.
1503
1504         Add new platform/graphics include directory.
1505
1506         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
1507
1508 2006-10-30  Timothy Hatcher  <timothy@apple.com>
1509
1510         Reviewed by Stephanie.
1511
1512         Add a special case for the Internal makefiles, so it can find the OepnSource.
1513
1514         * Scripts/webkitdirs.pm:
1515
1516 2006-10-30  Stephanie Lewis  <slewis@apple.com>
1517
1518         Reviewed by Darin.
1519         
1520         Change Makefiles to return non-zero when module make fails.
1521         Fix bug where if xcode options are not set, modules can build in the
1522         wrong directory.
1523
1524         * Makefile:
1525         * Scripts/webkitdirs.pm:
1526
1527 2006-10-30  Matt Lilek  <pewtermoose@gmail.com>
1528
1529         Reviewed by Tim H.
1530
1531         Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
1532         [Drosera] The Console toolbar button should bring the console window to the front.
1533
1534         The console now gets focus when its activated but already open.  Command + L also
1535         now activates/focuses the console.
1536
1537         * Drosera/English.lproj/MainMenu.nib/classes.nib:
1538         * Drosera/English.lproj/MainMenu.nib/info.nib:
1539         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
1540         * Drosera/debugger.js:
1541
1542 2006-10-29  Darin Adler  <darin@apple.com>
1543
1544         * Scripts/do-file-rename: Renames done, ready for the next round.
1545         * Scripts/do-webcore-rename: Ditto.
1546
1547 2006-10-29  Darin Adler  <darin@apple.com>
1548
1549         * Scripts/do-file-rename: And again.
1550
1551 2006-10-29  Darin Adler  <darin@apple.com>
1552
1553         * Scripts/do-webcore-rename: Tweaked plans for renaming again.
1554
1555 2006-10-29  Darin Adler  <darin@apple.com>
1556
1557         Reviewed by Mitz.
1558
1559         * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
1560         Added. Does nothing, which prevents a beep.
1561
1562         * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
1563
1564 2006-10-27  Brady Eidson  <beidson@apple.com>
1565
1566         Rubber stamped by Tim Hatcher
1567
1568         Added "make universal" to build universal binaries
1569
1570         * Makefile:
1571         * Makefile.shared:
1572
1573 2006-10-26  Sam Weinig  <sam.weinig@gmail.com>
1574
1575         Reviewed by Geoff.
1576
1577         Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
1578         REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
1579         ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
1580
1581         * DumpRenderTree/EventSendingController.m:
1582         (-[EventSendingController mouseMoveToX:Y:]):
1583
1584 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
1585
1586         Reviewed by Darin.
1587
1588         Fix Qt/Linux build.
1589
1590         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1591         (WebCore::DumpRenderTree::open):
1592
1593 2006-10-24  Stephanie Lewis  <slewis@apple.com>
1594
1595         Reviewed by Maciej.
1596
1597         - Changed run-javascriptcore tests to build testkjs before running.
1598
1599         * Scripts/run-javascriptcore-tests:
1600
1601 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
1602
1603         Reviewed by Maciej.
1604
1605         Fix Qt/Linux build.
1606
1607         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
1608         - Fix CMakeLists.txt to include platform/network.
1609
1610         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
1611
1612 2006-10-24  David Smith  <catfish.man@gmail.com>
1613
1614         Reviewed by Tim H.
1615
1616         Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
1617         http://bugs.webkit.org/show_bug.cgi?id=11382
1618
1619         * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
1620
1621 2006-10-21  Darin Adler  <darin@apple.com>
1622
1623         * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
1624         This was still using "symroots" so it almost never worked!
1625
1626 2006-10-21  Darin Adler  <darin@apple.com>
1627
1628         * Makefile: Build DumpRenderTree too.
1629         * Scripts/do-webcore-rename: Removed bogus comment.
1630
1631 2006-10-20  David Smith  <catfish.man@gmail.com>
1632
1633         Reviewed by Tim H.
1634
1635         Bug 11367: Inline Breakpoint Editor Improvements: Act III
1636         http://bugs.webkit.org/show_bug.cgi?id=11367
1637
1638         Major breakpoint editor changes:
1639         * Breakpoints can now either pause or log to console
1640         * Code cleanup through use of XPath and converting breakpoints to objects
1641         * Breakpoints now track how many times they've been reached
1642         * UI tweaks
1643         * The breakpoint editor now saves changes as they're entered
1644         * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
1645         * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
1646
1647         * Drosera/DebuggerDocument.m:
1648         (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
1649         * Drosera/Drosera.xcodeproj/project.pbxproj:
1650         * Drosera/Images/close.tif: Added.
1651         * Drosera/Images/close_active.tif: Added.
1652         * Drosera/Images/close_hover.tif: Added.
1653         * Drosera/breakpointEditor.html: Added.
1654         * Drosera/console.js: Added a way to append messages from outside the console window.
1655         * Drosera/debugger.js:
1656         * Drosera/viewer.css:
1657         * Drosera/viewer.html:
1658
1659 2006-10-18  David Smith  <catfish.man@gmail.com>
1660
1661         Reviewed by Tim H.
1662
1663         Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
1664
1665         * Drosera/DebuggerDocument.m:
1666         (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
1667         * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
1668         * Drosera/debugger.js:
1669
1670 2006-10-18  Timothy Hatcher  <timothy@apple.com>
1671
1672         Reviewed by Anders.
1673
1674         Bug 10851: Crash with Drosera
1675         http://bugs.webkit.org/show_bug.cgi?id=10851
1676
1677         This crash results in an assert in debug builds.
1678
1679         assert(implementsCall());
1680
1681         The __drosera_introspection propery was not callable. Now we just assign
1682         this.__drosera_introspection in the evaluateWebScript call.
1683         This change also removes one DO message.
1684
1685         * Drosera/DebuggerDocument.m:
1686         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1687
1688 2006-10-18  Mark Rowe  <bdash@webkit.org>
1689
1690         Reviewed by Tim H.
1691
1692         http://bugs.webkit.org/show_bug.cgi?id=11304
1693         Bug 11304: Drosera fails to link as universal binary on PowerPC machine
1694
1695         * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
1696         when they are not part of the WebKit umbrella framework.
1697
1698 2006-10-18  Adam Roben  <aroben@apple.com>
1699
1700         fixo el buildo II: Release's Pride.
1701
1702         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1703
1704 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
1705
1706         fixo el buildo.
1707         
1708         Work around #import of <PDFKit/PDFView.h>.
1709
1710         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1711
1712 2006-10-18  David Smith  <catfish.man@gmail.com>
1713
1714         Reviewed by Tim H.
1715
1716         Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
1717
1718         * Drosera/Drosera.xcodeproj/project.pbxproj:
1719         * Drosera/Images/breakpointeditor.png: Added.
1720         * Drosera/breakpointEditor.css: Removed.
1721         * Drosera/breakpointEditor.html: Removed.
1722         * Drosera/breakpointEditor.js: Removed.
1723         * Drosera/debugger.js:
1724         * Drosera/viewer.css:
1725
1726 2006-10-18  David Harrison  <harrison@apple.com>
1727
1728         Reviewed by Tim H.
1729
1730         Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
1731         http://bugs.webkit.org/show_bug.cgi?id=11341
1732
1733         Link editing behavior became a preference. DumpRenderTree needs to specify the
1734         non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
1735
1736         * DumpRenderTree/DumpRenderTree.m:
1737         (main):
1738
1739 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1740
1741         Reviewed by Anders.
1742
1743         Make compiler not complain about unused gk. SpinneretWebHost was not setting
1744         initial refcount upon creation, so it is completely bogus.
1745
1746         * GdkLauncher/main.cpp:
1747         (main):
1748         * Spinneret/Spinneret/Spinneret.h:
1749         (SpinneretWebHost::SpinneretWebHost):
1750
1751 2006-10-15  Nikolas Zimmermann  <zimmermann@kde.org>
1752
1753         Reviewed by Oliver.
1754
1755         Add another hanging test, to the "to be skipped" list.
1756
1757         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
1758
1759 2006-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
1760
1761         Reviewed by Anders.
1762
1763         Some fixes to get the Qt BuildSlave to run the LayoutTests.
1764
1765         * Scripts/build-dumprendertree: No need to call cmake again.
1766         * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
1767
1768 2006-10-13  Nikolas Zimmermann  <zimmermann@kde.org>
1769
1770         Reviewed by Eric.
1771
1772         Force --no-http on Qt/Linux.
1773
1774         * Scripts/run-webkit-tests:
1775
1776 2006-10-13  Kevin McCullough  <KMcCullough@apple.com>
1777
1778         Reviewed by Adam.
1779
1780         Gets JavaScripCore tests running on windows.
1781
1782         * Scripts/run-javascriptcore-tests:
1783         * Scripts/webkitdirs.pm:
1784
1785 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
1786
1787         Reviewed by Maciej.
1788
1789         Exclude some tests which crash or hang from Qt/Linux DRT.
1790         These are known to fail, and will be fixed at some point :-)
1791
1792         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1793         (WebCore::DumpRenderTree::DumpRenderTree):
1794         (WebCore::DumpRenderTree::open):
1795         (WebCore::DumpRenderTree::readStdin):
1796         (WebCore::DumpRenderTree::readSkipFile):
1797         (WebCore::DumpRenderTree::checkLoaded):
1798         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1799         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
1800
1801 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
1802
1803         Reviewed by Maciej.
1804
1805         Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
1806
1807         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
1808         (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
1809         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
1810
1811 2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1812
1813         Reviewed by Maciej.
1814
1815         Also regenerate GdkLauncher makefiles, since not doing that might
1816         lead to mismatch between WebCore and GdkLauncher compiler settings.
1817
1818         * Scripts/regenerate-makefiles:
1819
1820 2006-10-10  David Smith  <catfish.man@gmail.com>
1821
1822         Reviewed by Tim H.
1823
1824         Bug 11246: Minor Drosera code cleanup
1825         http://bugs.webkit.org/show_bug.cgi?id=11246
1826
1827         * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
1828
1829 2006-10-10  Vladimir Olexa  <vladimir.olexa@gmail.com>
1830
1831         Reviewed by Tim H.
1832
1833         Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778 
1834
1835         * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
1836         * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
1837         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
1838         * Drosera/Images/SourceArrowOpen.png: Added.
1839         * Drosera/Images/fileIcon.jpg: Added.
1840         * Drosera/Images/siteCollapsed.tif: Added.
1841         * Drosera/Images/siteExpanded.tif: Added.
1842         * Drosera/Images/siteIcon.tif: Added.
1843         * Drosera/debugger.css: Added File Browser styles
1844         * Drosera/debugger.html: Added File Browser UI
1845         * Drosera/debugger.js: Added File Browser functionality
1846
1847 2006-10-10  Darin Adler  <darin@apple.com>
1848
1849         * Scripts/do-file-rename: Added.
1850
1851 2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
1852
1853         Reviewed by Geoff.
1854
1855         Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
1856         a page. This allows automatic testing via e.g. valgrind.
1857
1858         * GdkLauncher/gdklauncher.bkl:
1859         * GdkLauncher/main.cpp:
1860         (LauncherFrameGdk::LauncherFrameGdk):
1861         (LauncherFrameGdk::setExitAfterLoading):
1862         (LauncherFrameGdk::handledOnloadEvents):
1863         (handle_event):
1864         (main):
1865
1866 2006-10-06  David Smith  <catfish.man@gmail.com>
1867
1868         Reviewed by Timothy.
1869
1870         Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
1871
1872         * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
1873         * Drosera/breakpointEditor.css: Added.
1874         * Drosera/breakpointEditor.html: Added.
1875         * Drosera/breakpointEditor.js: Added.
1876         * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
1877
1878 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
1879
1880         Reviewed by Tim H.
1881
1882         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
1883
1884         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1885         (WebCore::DumpRenderTree::DumpRenderTree):
1886
1887 2006-10-05  Oliver Hunt  <ohunt@apple.com>
1888
1889         Reviewed by Anders.
1890
1891         * Scripts/run-webkit-tests:
1892         Fix pixel tests.
1893
1894 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
1895
1896         Reviewed by Darin.
1897
1898         * Scripts/run-webkit-tests:
1899         Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test 
1900         results should be.
1901
1902 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
1903
1904         Reviewed and landed by ap.
1905
1906         Cmake: make it possible to install the libraries after having built using 'build-webkit'.
1907         Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
1908
1909         * Scripts/webkitdirs.pm:
1910
1911 2006-10-04  Mark Rowe  <bdash@webkit.org>
1912
1913         Reviewed by Stephanie.
1914
1915         Switch the Qt buildbot to the standard set of build steps.
1916         Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
1917         see if any regressions were spotted, and fail the test if so.
1918
1919         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: 
1920         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1921         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1922
1923 2006-10-04  Timothy Hatcher  <timothy@apple.com>
1924
1925         Reviewed by Mitz Pettel!
1926
1927         Bug 10708: [Drosera] Make the console input plaintext-only
1928         http://bugs.webkit.org/show_bug.cgi?id=10708
1929
1930         Change the console input -webkit-user-modify property to
1931         read-write-plaintext-only.
1932
1933         * Drosera/console.css:
1934
1935 2006-10-04  David Smith  <catfish.man@gmail.com>
1936
1937         Reviewed by Tim H.
1938
1939         Bug 10473: [Drosera] Overlapping text in JavaScript Console
1940         http://bugs.webkit.org/show_bug.cgi?id=10473
1941
1942         Using min-height instead of height to avoid overlapping text.
1943
1944         * Drosera/console.css:
1945
1946 2006-10-04  David Smith  <catfish.man@gmail.com>
1947
1948         Reviewed by Tim H.
1949
1950         Added a bash-style command history.
1951
1952         * Drosera/console.js:
1953
1954 2006-10-03  Anders Carlsson  <acarlsson@apple.com>
1955
1956         Reviewed by Adam and Brady.
1957
1958         * DumpRenderTree/DumpRenderTree.m:
1959         (main):
1960         Update URL to Ahem.ttf
1961
1962 2006-10-03  Darin Adler  <darin@apple.com>
1963
1964         * Scripts/commit-log-editor: Added missing "close" call. Oops!
1965
1966 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
1967
1968         Reviewed by eseidel.  Landed by eseidel.
1969
1970         Offer a way for BuildBot to not colorize the cmake output, when building
1971         with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
1972
1973         Default is colorize output, though only Qt platform handles this for now.
1974
1975         * Scripts/build-dumprendertree:
1976         * Scripts/build-webkit:
1977         * Scripts/webkitdirs.pm:
1978
1979 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
1980
1981         Reviewed by eseidel.  Landed by eseidel.
1982
1983         Make all important scripts work with Qt/Linux.
1984
1985         You can safely use this now:
1986         set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
1987
1988         * Scripts/build-dumprendertree:
1989         * Scripts/run-javascriptcore-tests:
1990         * Scripts/run-webkit-tests:
1991         * Scripts/webkitdirs.pm:
1992
1993 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
1994
1995         Reviewed by Eric.
1996
1997         build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
1998
1999         * Scripts/webkitdirs.pm:
2000
2001 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
2002
2003         Reviewed/landed by Adam.
2004
2005         Proper build-webkit support for Qt/Linux.
2006
2007         Compilation process is similar to OSX now, aka.
2008         the build directory is RootCheckoutDir/WebKitBuild now.
2009
2010         * Scripts/build-webkit: Recognize Qt.
2011         * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
2012
2013 2006-10-01  Mark Rowe  <opendarwin.org@bdash.net.nz>
2014
2015         Reviewed by Maciej.
2016
2017         Add QT build slave to Buildbot.
2018
2019         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
2020         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
2021         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming.  Use the IRC bot in #webkit-build instead.
2022         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
2023
2024 2006-09-28  David Harrison  <harrison@apple.com>
2025
2026         Suggested by Darin.
2027         
2028         Moved an extern declaration from inside a method to the top of the file.
2029
2030         * DumpRenderTree/EventSendingController.m:
2031         (-[EventSendingController clearKillRing]):
2032
2033 2006-09-28  David Harrison  <harrison@apple.com>
2034
2035         Reviewed by Justin.
2036         
2037         Add clearKillRing so we can test emacs support with empty kill ring.
2038
2039         * DumpRenderTree/EventSendingController.m:
2040         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2041         (+[EventSendingController webScriptNameForSelector:]):
2042         (-[EventSendingController clearKillRing]):
2043
2044 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
2045
2046         Reviewed by Maciej, landed by Brady
2047
2048         Fix URL bar updating.
2049
2050         * Spinneret/Spinneret/Spinneret.h:
2051         (SpinneretWebHost::didStartProvisionalLoadForFrame):
2052         (SpinneretWebHost::didCommitLoadForFrame):
2053         (SpinneretWebHost::didFinishLoadForFrame):
2054
2055 2006-09-23  Sam Weinig  <sam.weinig@gmail.com>
2056
2057         Reviewed by Eric.
2058
2059         Build Fix.
2060
2061         * DumpRenderTree/EventSendingController.m:
2062         (-[EventSendingController enableDOMUIEventLogging:]):
2063
2064 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
2065
2066         Reviewed by darin
2067
2068         * Scripts/do-webcore-rename:
2069
2070 2006-09-21  Timothy Hatcher  <timothy@apple.com>
2071
2072         Reviewed by Adam.
2073
2074         Bug 10923: Frame scroll layout test failures on the buildbot
2075         http://bugs.webkit.org/show_bug.cgi?id=10923
2076         
2077         Added a new method that will toggle on the recursive dump of
2078         child frame scroll positions.
2079  
2080         * DumpRenderTree/DumpRenderTree.m:
2081         (dumpFrameScrollPosition):
2082         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2083         (-[LayoutTestController dumpChildFrameScrollPositions]):
2084
2085 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2086
2087         Reviewed by eseidel.  Landed by eseidel.
2088         
2089         Detect that close button was pressed and exit cleanly.
2090
2091         * GdkLauncher/main.cpp:
2092         (handle_event):
2093         (main):
2094
2095 2006-09-17  Adam Roben  <aroben@apple.com>
2096
2097         Reviewed by hyatt, sfalken.
2098
2099         Get DumpRenderTree compiling and limping along on Windows.
2100
2101         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2102         (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
2103         (main): Add NULL argument to Page constructor.
2104         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
2105         * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
2106
2107 2006-09-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
2108
2109         Reviewed by Brady.
2110
2111         http://bugs.webkit.org/show_bug.cgi?id=10635
2112         Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
2113
2114         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
2115         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
2116         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot.  Always do clean SVG builds.
2117
2118 2006-09-09  Sam Weinig  <sam.weinig@gmail.com>
2119
2120         Reviewed by Eric.
2121
2122         Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
2123         Even More Objective-C DOM auto-generation cleanup
2124
2125         - Change to use new, more Objectice-C'ish version of
2126           DOMKeyboardEvent's initKeyboardEvent.  Fixes an error with
2127           regression test for fast/events/dblclick-addEventListener.html.
2128
2129         * DumpRenderTree/EventSendingController.m:
2130         (-[EventSendingController fireKeyboardEventsToElement:]):
2131
2132 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
2133
2134         Reviewed by Tim H.
2135
2136         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
2137         Move QtLauncher down to WebKitQt.
2138
2139         * QtLauncher/CMakeLists.txt: Removed.
2140         * QtLauncher/main.cpp: Removed.
2141
2142 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
2143
2144         Reviewed by Darin.
2145
2146         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
2147         Adjust DumpRenderTree to the FrameQtClient changes.
2148
2149         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
2150         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2151         (WebCore::DumpRenderTree::DumpRenderTree):
2152         (WebCore::DumpRenderTree::~DumpRenderTree):
2153         (WebCore::DumpRenderTree::frame):
2154         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2155         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
2156         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
2157         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
2158         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
2159
2160 2006-09-03  Darin Adler  <darin@apple.com>
2161
2162         * Scripts/do-webcore-rename: More renaming plans.
2163
2164 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
2165
2166         Reviewed by Tim H.
2167
2168         http://bugs.webkit.org/show_bug.cgi?id=10693
2169         Convert JavaScript arrays to AppleScript lists
2170
2171         * DumpRenderTree/AppleScriptController.m:
2172         (convertAEDescToObject):
2173         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
2174
2175 2006-08-31  Darin Adler  <darin@apple.com>
2176
2177         * Scripts/do-webcore-rename: Prepare for another round of renaming.
2178
2179 2006-08-29  Dan Waylonis  <waylonis@google.com>
2180
2181         Reviewed by ggaren.
2182
2183         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
2184         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2185         * DumpRenderTree/ObjCPlugin.m:
2186         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
2187         (+[ObjCPlugin webScriptNameForSelector:]):
2188         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
2189
2190 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
2191
2192         Reviewed by Tim H.
2193
2194         Commit KDE related tweaks, to be able to
2195         differentiate between a Qt-only or a KDE build.
2196
2197         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
2198         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
2199
2200 2006-08-29  Darin Adler  <darin@apple.com>
2201
2202         Reviewed by Tim Hatcher.
2203
2204         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
2205         to work around what seems to be a bug in some versions of gdb.
2206
2207 2006-08-16  Tim Omernick  <timo@apple.com>
2208
2209         Reviewed by John Sullivan.
2210
2211         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
2212         <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
2213         in Firefox
2214
2215         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2216         (NPP_GetValue):
2217         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
2218         are expected to be retained by the plug-in, and released by the caller.
2219
2220 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
2221
2222         Reviewed by Tim Hatcher.
2223         
2224         Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
2225
2226         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2227         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
2228         Qt's DumpRenderTree.
2229
2230       * Scripts/run-webkit-tests:
2231         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
2232
2233 2006-08-28  Darin Adler  <darin@apple.com>
2234
2235         Reviewed by Tim Hatcher.
2236
2237         * Scripts/build-drosera: Fix behavior when there are multiple options.
2238
2239 2006-08-27  Timothy Hatcher  <timothy@apple.com>
2240
2241         Reviewed by Anders.
2242
2243         Drosera will be built when you type make.
2244
2245         * Drosera/Makefile: Added.
2246         * Makefile: Added.
2247         * Makefile.shared: Added.
2248
2249 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
2250
2251         Forgot to add these.
2252         
2253         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
2254         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
2255         (WebCore::DumpRenderTree::DumpRenderTree):
2256         (WebCore::DumpRenderTree::~DumpRenderTree):
2257         (WebCore::DumpRenderTree::open):
2258         (WebCore::DumpRenderTree::readStdin):
2259         (WebCore::DumpRenderTree::checkLoaded):
2260         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
2261         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
2262         (main):
2263
2264 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>
2265
2266         Reviewed by Eric, landed by Anders.
2267
2268         Add DumpRenderTree support for Qt/Linux.
2269
2270         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
2271         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
2272         (WebCore::DumpRenderTree::DumpRenderTree):
2273         (WebCore::DumpRenderTree::~DumpRenderTree):
2274         (WebCore::DumpRenderTree::open):
2275         (WebCore::DumpRenderTree::readStdin):
2276         (WebCore::DumpRenderTree::checkLoaded):
2277         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
2278         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
2279         (main):
2280         * Scripts/build-dumprendertree:
2281         * Scripts/run-webkit-tests:
2282         * Scripts/webkitdirs.pm:
2283
2284 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
2285
2286         Reviewed by Eric. Landed by rwlbuis.
2287
2288         Add QtLauncher (was testunity before), which provides a
2289         standalone "browser" to test the Qt platform stuff.
2290
2291         * QtLauncher/CMakeLists.txt: Added.
2292         * QtLauncher/main.cpp: Added.
2293         (main):
2294
2295 2006-08-22  Trey Matteson  <trey@usa.net>
2296
2297         Reviewed by ggaren.
2298
2299         Added support for a new set of browser navigation tests.  The main feature
2300         is the ability for a test to queue up a set of future actions that will
2301         happen after that first page is loaded.  This is used to simulate a sequence
2302         of user actions such as filling out forms, loading additional pages or
2303         going back.  In addition we can now dump out the state of the back/forward
2304         list, and the scroll position is dumped if not at 0,0.
2305
2306         * DumpRenderTree/DumpRenderTree.m:
2307         (main):  Init new state
2308         (compareHistoryItems):  New utility to support sorting.
2309         (dumpHistoryItem):  Write out a WebHistoryItem and kids.
2310         (dumpFrameScrollPosition):  Write out the scroll position.
2311         (dump):  Optionally write b/f list or scroll position.
2312         (-[WaitUntilDoneDelegate processWork:]):  Perform queued work.
2313         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
2314         Kick off any queued actions.  Fixed for the case of loads started in
2315         a subframe instead of the root frame.
2316         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
2317         Grab the topmost frame that is being loaded.  Do this as early as possible,
2318         instead of in didCommitLoadForFrame.
2319         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2320         Noting a load has started now happens in previous method.
2321         (+[LayoutTestController isSelectorExcludedFromWebScript:]):  Boilerplate
2322         (+[LayoutTestController webScriptNameForSelector:]):  Boilerplate
2323         (-[LayoutTestController notifyDone]):  readyToDump var is subsumed by
2324         topFrameLoading
2325         (-[LayoutTestController dumpBackForwardList]):  New impl, just set a bit.
2326         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2327         Add new work to the queue.
2328         (-[LayoutTestController _doLoad:target:]):  Do a queued load.
2329         (-[LayoutTestController _doBackOrForwardNav:]):  Do a queued back/forward.
2330         (-[LayoutTestController scheduleBackNav:]):  Ways for scripts to queue actions
2331         (-[LayoutTestController scheduleForwardNav:]):
2332         (-[LayoutTestController scheduleReload]):
2333         (-[LayoutTestController scheduleScript:]):
2334         (-[LayoutTestController scheduleLoad:target:]):
2335         (runTest):  Clear new state for each test.  Renamed from "dumpRenderTree"
2336         since it's not one of the functions that does any dumping.
2337
2338 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
2339
2340         Reviewed by Darin.
2341
2342         - added a function to create a few DOMKeyboardEvents and dispatch
2343           them to a specified HTML element
2344           http://bugs.webkit.org/show_bug.cgi?id=9736
2345
2346         * DumpRenderTree/EventSendingController.m:
2347         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2348         (+[EventSendingController webScriptNameForSelector:]):
2349         (-[EventSendingController fireKeyboardEventsToElement:]):
2350
2351 2006-08-15  Duncan Wilcox  <duncan@mclink.it>
2352
2353         Reviewed and tweaked by Darin.
2354
2355         - added DumpRenderTree support so editing delegate can be made to refuse edits
2356           to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
2357
2358         * DumpRenderTree/DumpRenderTree.m:
2359         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
2360         to the list of methods.
2361         (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
2362         without the colon, for the JavaScript name.
2363         (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
2364         delegate.
2365         (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
2366
2367         * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
2368         setter methods to the class.
2369         * DumpRenderTree/EditingDelegate.m:
2370         (-[EditingDelegate init]): Initialize acceptsEditing to YES.
2371         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
2372         return the value of acceptsEditing.
2373         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
2374         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
2375         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
2376         (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
2377         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2378         Ditto.
2379         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
2380         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
2381         (-[EditingDelegate setAcceptsEditing:]): Added.
2382
2383 2006-08-03  Mark Rowe  <opendarwin.org@bdash.net.nz>
2384
2385         Reviewed by Darin.
2386
2387         Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
2388         http://bugs.webkit.org/show_bug.cgi?id=10224
2389
2390         * Drosera/Drosera.xcodeproj/project.pbxproj:
2391         * Drosera/LauncherInfo.plist:
2392
2393 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2394
2395         - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
2396           when a test performs an unsuccessful drag and drop operation.
2397
2398         * DumpRenderTree/EventSendingController.m:
2399         (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
2400         drag operation for the mouse release is NSDragOperationNone.
2401
2402 2006-08-02  Timothy Hatcher  <timothy@apple.com>
2403
2404         Reviewed by Darin.
2405
2406         Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
2407         http://bugs.webkit.org/show_bug.cgi?id=9632
2408
2409         Do not change the file source when normalizing the line endings.
2410         We use this file source to compare against new versions of the source
2411         as it comes in, so we can skip re-syntax highlighting if they are the same.
2412         The problem is apparent on yahoo.com since they have mixed line endings and
2413         once we normalize them the source will always be different. This was
2414         compounded by the fact that yahoo has around 40 inline scripts. Each
2415         inline script causes us to check if the main document has more loaded,
2416         that is when we compare the source strings. Since they are always different
2417         we would syntax highlight yahoo.com 40 times! We do check source length before
2418         doing a more expensive string comparison, but the lengths were the same.
2419
2420         * Drosera/debugger.js:
2421
2422 2006-08-02  Niels Leenheer  <niels.leenheer@gmail.com>
2423
2424         Reviewed by Timothy.
2425
2426         Bug 9931: [Drosera] Needs a cool icon
2427         http://bugs.webkit.org/show_bug.cgi?id=9931
2428
2429         * Drosera/Drosera.icns: Added.
2430         * Drosera/Drosera.xcodeproj/project.pbxproj:
2431         * Drosera/Info.plist:
2432
2433 2006-08-01  Darin Adler  <darin@apple.com>
2434
2435         - fix a bug in my recent change where the mouse position at the end of
2436           the last test would affect the results of the next test
2437
2438         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
2439
2440 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
2441
2442         Reviewed by Maciej.
2443
2444         http://bugs.webkit.org/show_bug.cgi?id=10182
2445         Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
2446
2447         * Drosera/console.js: String.indexOf returns -1 when the string is not found.
2448         Correct the logic to not reload local variable list unless an '=' character is in the expression.
2449
2450 2006-07-31  Darin Adler  <darin@apple.com>
2451
2452         Reviewed by Maciej.
2453
2454         - fix http://bugs.webkit.org/show_bug.cgi?id=10171
2455           REGRESSION: failing layout test: fast/events/objc-event-api.html
2456
2457         * DumpRenderTree/DumpRenderTree.m:
2458         (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
2459         location in flipped coordinates, since those are the coordinates that we use.
2460         (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
2461         inside WebHTMLView.
2462
2463         * DumpRenderTree/EventSendingController.m:
2464         (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
2465         (-[EventSendingController init]): Removed, since the whole thing was a no-op.
2466         (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
2467         probably worked OK, but this is needed to be correct.
2468         (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
2469         code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
2470         position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
2471         dump the screenY as-is.
2472
2473 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
2474
2475         Reviewed by Darin.
2476
2477         http://bugs.webkit.org/show_bug.cgi?id=10178
2478         Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
2479
2480         * Drosera/debugger.js:  Keep a stack that contains the source file and line number references for outer
2481         frames.  Use this stack to determine which file and line to highlight when a stack frame is selected.
2482
2483 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
2484
2485         Reviewed by Darin.
2486
2487         http://bugs.webkit.org/show_bug.cgi?id=10175
2488         Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
2489
2490         * Drosera/DebuggerDocument.m:
2491         (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
2492
2493 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
2494
2495         Reviewed by Darin.
2496
2497         http://bugs.webkit.org/show_bug.cgi?id=10167
2498         Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
2499
2500         * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
2501         in keyDown handler.
2502
2503 2006-07-30  Mark Rowe  <opendarwin.org@bdash.net.nz>
2504
2505         Reviewed by Maciej.
2506
2507         Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
2508         http://bugs.webkit.org/show_bug.cgi?id=9686
2509
2510         * Drosera/DebuggerDocument.m:
2511         (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
2512         ensure that the server does not try and notify us of events related to the resumption.
2513         (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
2514         call through to JavaScript.
2515         * Drosera/debugger.js: Pause debugger when exception is raised.
2516
2517 2006-07-29  Mike Emmel  <mike.emmel@gmail.com>
2518
2519         Reviewed by Darin.
2520
2521         - fixes for Linux build
2522
2523         * GdkLauncher/mk: Added call to bakefile_gen before calling make.
2524         * GdkLauncher/gdklauncher.bkl: Tweak comment.
2525
2526 2006-07-24  Dan Waylonis  <waylonis@google.com>
2527
2528         Reviewed and tweaked a bit by Darin.
2529
2530         * DumpRenderTree/ObjCPlugin.m:
2531         (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
2532         (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
2533         "echo:" so it's nice to call from JavaScript.
2534         (-[ObjCPlugin echo:]): Just returns the same object -- can be used
2535         to test a round trip through Objective-C types.
2536
2537 2006-07-24  Alexey Proskuryakov  <ap@nypop.com>
2538
2539         Reviewed by Darin.
2540
2541         Fix http://bugs.webkit.org/show_bug.cgi?id=10060
2542         Improve iExploder results parsing
2543
2544         * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results 
2545         in random mode, too.
2546
2547 2006-07-18  David Kilzer  <ddkilzer@kilzer.net>
2548
2549         Reviewed by Timothy.
2550
2551         - fix http://bugs.webkit.org/show_bug.cgi?id=9964
2552           Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
2553
2554         * Scripts/prepare-ChangeLog: Added --[no-]update switch.
2555
2556 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
2557
2558         Reviewed by Darin.
2559
2560         * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
2561         Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
2562         * GdkLauncher/mk:
2563         Removed "Property changes" that snuck in as part of the "apply patch" process.
2564
2565 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
2566
2567         Reviewed by Darin.
2568
2569         - fix http://bugs.webkit.org/show_bug.cgi?id=9875
2570           Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
2571
2572         * Scripts/svn-apply:
2573         (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
2574         (checksum): Added.
2575         (patch): Use patch(1) for non-binary additions and deletions.
2576         * Scripts/svn-unapply:
2577         (checksum): Added.
2578         (patch): Use patch(1) for reverting non-binary additions and deletions.
2579         (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
2580
2581 2006-07-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
2582
2583         Reviewed by Timothy.
2584
2585         Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
2586         http://bugs.webkit.org/show_bug.cgi?id=9889
2587
2588         * Drosera/debugger.js:  Track whether we paused during the execution of willLeaveFrame.  If
2589         so, have stepOut pause on the next call to willExecuteStatement rather than second.
2590
2591 2006-07-12  David Kilzer  <ddkilzer@kilzer.net>
2592
2593         Reviewed by Darin.
2594
2595         - fix http://bugs.webkit.org/show_bug.cgi?id=9848
2596           Teach svn-create-patch and friends to fix ChangeLog patches
2597
2598         * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
2599         * Scripts/svn-create-patch: Ditto.
2600         * Scripts/svn-unapply: Ditto.
2601
2602 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
2603
2604         Reviewed by ggaren.
2605
2606         Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
2607         http://bugs.webkit.org/show_bug.cgi?id=9869
2608
2609         * Drosera/DebuggerDocument.m:
2610         (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
2611
2612 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
2613
2614         Reviewed by ggaren.
2615
2616         Bug 9863: Drosera needs to show something at launch
2617         http://bugs.webkit.org/show_bug.cgi?id=9863
2618
2619         * Drosera/DebuggerApplication.m:
2620         (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
2621
2622 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
2623
2624         Reviewed by Timothy.
2625         
2626         Lets Drosera build universal for the nightlies. Right now it is not
2627         possible to build a universal binary on a PPC machine because of a
2628         conflict with the universal SDK.
2629
2630         * BuildSlaveSupport/build-launcher-app:
2631         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2632
2633 2006-07-11  Alexey Proskuryakov  <ap@nypop.com>
2634
2635         Reviewed by Tim O.
2636
2637         - test for http://bugs.webkit.org/show_bug.cgi?id=7808
2638         Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
2639
2640         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2641         (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
2642         should open a new stream and deliver the data to the current instance.
2643
2644 2006-07-11  Timothy Hatcher  <timothy@apple.com>
2645
2646         Reviewed by Darin.
2647
2648         Bug 9598: [Drosera] add a JavaScript evaluator console
2649         http://bugs.webkit.org/show_bug.cgi?id=9598
2650
2651         * Drosera/DebuggerApplication.h:
2652         * Drosera/DebuggerApplication.m:
2653         (-[DebuggerApplication knownServers]):
2654         * Drosera/DebuggerDocument.h:
2655         * Drosera/DebuggerDocument.m:
2656         (-[WebScriptObject evaluateScript:inCallFrame:]):
2657         (-[WebScriptObject showConsole:]):
2658         (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
2659         (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
2660         (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
2661         (-[WebScriptObject webView:createWebViewWithRequest:]):
2662         (-[WebScriptObject webViewShow:]):
2663         (-[WebScriptObject webViewAreToolbarsVisible:]):
2664         (-[WebScriptObject webView:setToolbarsVisible:]):
2665         (-[WebScriptObject webView:setResizable:]):
2666         (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
2667         (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
2668         (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
2669         (-[WebScriptObject webView:windowScriptObjectAvailable:]):
2670         (-[WebScriptObject webView:didFinishLoadForFrame:]):
2671         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
2672         * Drosera/Drosera.xcodeproj/project.pbxproj:
2673         * Drosera/Images/console.png: Added.
2674         * Drosera/console.css: Added.
2675         * Drosera/console.html: Added.
2676         * Drosera/console.js: Added.
2677
2678 2006-07-11  Timothy Hatcher  <timothy@apple.com>
2679
2680         Reviewed by a tired Geoff.
2681
2682         Bug 9597: [Drosera] hook up the variables table to show stack variables
2683         http://bugs.webkit.org/show_bug.cgi?id=9597
2684
2685         * Drosera/DebuggerDocument.m:
2686         (-[WebScriptObject isSelectorExcludedFromWebScript:]):
2687         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
2688         (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
2689         (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
2690         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
2691         (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
2692         (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2693         (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2694         (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2695         (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2696         * Drosera/debugger.css:
2697         * Drosera/debugger.html:
2698         * Drosera/debugger.js:
2699
2700 2006-07-10  Tim Omernick  <timo@apple.com>
2701
2702         Reviewed by Beth Dakin.
2703
2704         <http://bugs.webkit.org/show_bug.cgi?id=9844>:
2705         Add DOM access test to DumpRenderTree's Netscape plug-in
2706
2707         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2708         (testDOMAccess):
2709         (pluginInvoke):
2710
2711 2006-07-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
2712
2713         Reviewed by Darin.
2714
2715         - http://bugs.webkit.org/show_bug.cgi?id=9839
2716           Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
2717
2718         Now track three states: initializing, running, and closed.  If we are launched and the previous
2719         state was initializing then we likely just experienced a crash on launch.
2720
2721         * WebKitLauncher/WebKitNightlyEnabler.m:
2722         (myApplicationWillFinishLaunching): Improve wording of dialog.  Update to set new running state.
2723         (myApplicationWillTerminate): Update to use new states.
2724         (cleanUpAfterOurselves): Display alert if previous state was initializing.  Set state as
2725         initializing as early as practical.
2726         (symbol_lookup): Bring code up to speed with formatting guidelines.
2727         (GDSymbolLookup): Ditto.
2728
2729 2006-07-10  Darin Adler  <darin@apple.com>
2730
2731         - try to fix Windows build
2732
2733         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2734         Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
2735
2736 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
2737
2738         Build fix. Reviewed by NOBODY.
2739
2740         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
2741           devenv.com not available in VC++ Express installations
2742
2743         * Scripts/webkitdirs.pm: Backed out previous change.
2744
2745 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
2746
2747         Reviewed by Darin.
2748
2749         - http://bugs.webkit.org/show_bug.cgi?id=9693
2750           svn-apply should set ChangeLog date correctly when applying patches
2751
2752         * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
2753         before applying the patch.
2754         * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
2755
2756 2006-07-09  Darin Adler  <darin@apple.com>
2757
2758         * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
2759
2760 2006-07-09  Darin Adler  <darin@apple.com>
2761
2762         * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
2763
2764 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
2765
2766         Reviewed by NOBODY (build fix).
2767
2768         - http://bugs.webkit.org/show_bug.cgi?id=7802
2769           devenv.com not available in VC++ Express installations
2770
2771         * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
2772         work again.  Add VC++ Express check as the fallback.
2773
2774 2006-07-09  Bjoern Graf  <bjoern.graf@gmail.com>
2775
2776         Reviewed by Timothy Hatcher.
2777
2778         - http://bugs.webkit.org/show_bug.cgi?id=7802
2779           devenv.com not available in VC++ Express installations
2780
2781         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2782
2783 2006-07-09  Joost de Valk  <jdevalk@opendarwin.org>
2784
2785         Reviewed by Eric.
2786
2787         Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
2788         Patch by coldwinter@katamail.com.
2789
2790         In the congratulations message, "capatibilies" should be "capabilities".
2791
2792         * Scripts/build-webkit: 
2793
2794 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
2795
2796         Reviewed by Timothy Hatcher.
2797
2798         - http://bugs.webkit.org/show_bug.cgi?id=9794
2799           Teach run-webkit-tests how to ignore tests with performance improvements
2800
2801         * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
2802         feature, and minor clean up.
2803
2804 2006-07-08  Darin Adler  <darin@apple.com>
2805
2806         Reviewed by Geoff (well, half of it at least).
2807
2808         - http://bugs.webkit.org/show_bug.cgi?id=9788
2809           storage leaks in Objective-C tests
2810
2811         * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
2812         * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
2813         Add a release to fix a storage leak.
2814
2815 2006-07-08  Darin Adler  <darin@apple.com>
2816
2817         * Scripts/do-webcore-rename: A few more.
2818
2819 2006-07-08  Darin Adler  <darin@apple.com>
2820
2821         * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
2822
2823 2006-07-04  Maciej Stachowiak  <mjs@apple.com>
2824
2825         Reviewed by Darin.
2826         
2827         http://bugs.webkit.org/show_bug.cgi?id=9734
2828         - add support for dumping non-HTML as text - in this case use textContent
2829         instead of innerText
2830
2831         * DumpRenderTree/DumpRenderTree.m:
2832         (dump):
2833
2834 2006-07-02  Timothy Hatcher  <timothy@apple.com>
2835
2836         Reviewed by Eric.
2837
2838         Bug 9631: [Drosera] Add "Step Over" and "Step Out"
2839         http://bugs.webkit.org/show_bug.cgi?id=9631
2840         
2841         Adds step over and step out. Along with a little code cleanup
2842         that was minor enough to piggyback on this fix.
2843
2844         * Drosera/DebuggerDocument.h:
2845         * Drosera/DebuggerDocument.m:
2846         (-[DebuggerDocument stepOver:]):
2847         (-[DebuggerDocument stepOut:]):
2848         (-[DebuggerDocument windowDidLoad]):
2849         (-[DebuggerDocument windowWillClose:]):
2850         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
2851         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
2852         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
2853         (-[DebuggerDocument validateUserInterfaceItem:]):
2854         * Drosera/Drosera.xcodeproj/project.pbxproj:
2855         * Drosera/debugger.html:
2856         * Drosera/debugger.js:
2857         * Drosera/viewer.css:
2858
2859 2006-07-02  Timothy Hatcher  <timothy@apple.com>
2860
2861         Reviewed by Eric.
2862
2863         Bug 9628: [Drosera] Split Views acting oddly
2864         http://bugs.webkit.org/show_bug.cgi?id=9628
2865         
2866         Only update the last X or Y coordinate if the new
2867         size was not constrained. Also adds the resize cursor to
2868         the body during the drag incase there is a constrained 
2869         over drag off of the resizer element.
2870
2871         * Drosera/debugger.js:
2872
2873 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
2874
2875         Reviewed by Alexey Proskuryakov.
2876
2877         Bug 9692: Warning about Safari extensions on every launch is obnoxious
2878         http://bugs.webkit.org/show_bug.cgi?id=9692
2879
2880         * WebKitLauncher/WebKitNightlyEnabler.m:
2881         (myApplicationWillTerminate): Note that we are exiting cleanly.
2882         (cleanUpAfterOurselves): Install bundle load tracking only if we failed
2883          to exit cleanly on our last invocation.  This doesn't play nicely with
2884          multiple concurrent instances of WebKit.app so it can be disabled via
2885          defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
2886
2887 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
2888
2889         Reviewed by Alexey Proskuryakov.
2890
2891         Bug 9654: Refresh Loop when accessing feed URLs
2892         http://bugs.webkit.org/show_bug.cgi?id=9654
2893
2894         * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
2895
2896 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
2897
2898         Reviewed by Timothy Hatcher.
2899
2900         Bug 9689: Nightly builds should warn a user about potential problems when using
2901         "Safari extensions"
2902         http://bugs.webkit.org/show_bug.cgi?id=9689
2903
2904         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2905         * WebKitLauncher/WebKitNightlyEnabler.m:
2906         (myBundleDidLoad): Keep track of if any bundles that are loaded.
2907         (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
2908         (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
2909         NSApplicationWillFinishLaunchingNotification notifications so that we can
2910         track bundle loads and notify the user at launch completion.
2911
2912 2006-06-30  Mike Emmel  <mike.emmel@gmail.com>
2913
2914         Reviewed by Darin.
2915
2916         - first check-in of a Gdk shell for testing WebKit
2917
2918         * GdkLauncher: Added.
2919
2920 2006-06-29  Timothy Hatcher  <timothy@apple.com>
2921
2922         Reviewed by Darin.
2923
2924         Need to call window close so WebView tears-down completly.
2925
2926         * DumpRenderTree/DumpRenderTree.m:
2927         (main): call [window close]
2928
2929 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
2930
2931         Reviewed by Darin.
2932
2933         Bug 9615: Buildbot configuration should be in SVN repository
2934         http://bugs.webkit.org/show_bug.cgi?id=9615
2935
2936         Import BuildBot configuration files as used by build.webkit.org.
2937         auth.py has been stubbed out so that slave passwords are not disclosed.
2938
2939         * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
2940         * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
2941         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
2942         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
2943         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
2944         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
2945         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
2946         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
2947         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
2948         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
2949         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
2950         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
2951
2952 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
2953
2954         Reviewed by Darin.
2955
2956         Bug 9614: Nightly builds should notify user if a newer build is available
2957         http://bugs.webkit.org/show_bug.cgi?id=9614
2958
2959         * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
2960         * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
2961         script so it can keep track of the latest revision.
2962         * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
2963         * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
2964         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2965         * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
2966         the nightly start page.
2967
2968 2006-06-26  Jonas Witt  <jonas.witt@gmail.com>
2969
2970         Reviewed by Darin.
2971
2972         Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
2973         http://bugs.webkit.org/show_bug.cgi?id=9579
2974
2975         Report screenY values as (height of zero screen - screenY)
2976
2977         * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
2978
2979 2006-06-25  Timothy Hatcher  <timothy@apple.com>
2980
2981         Reviewed by Geoff.
2982
2983         Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
2984         http://bugs.webkit.org/show_bug.cgi?id=9591
2985         
2986         Makes breakpoints dragable. If dragged off the gutter they are deleted.
2987
2988         * Drosera/debugger.js:
2989         * Drosera/viewer.css:
2990
2991 2006-06-25  Timothy Hatcher  <timothy@apple.com>
2992
2993         Reviewed by Darin.
2994         
2995         Bug 9568: assertion failure in Safari after quitting Drosera
2996         http://bugs.webkit.org/show_bug.cgi?id=9568
2997
2998         Call switchToServerNamed:nil and not removeLister to make sure
2999         the server object is set to nil to prevent further removeListener calls.
3000
3001         * Drosera/DebuggerDocument.m:
3002         (-[DebuggerDocument applicationTerminating:]):
3003
3004 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
3005
3006         Reviewed by Darin.
3007
3008         * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
3009         that the directory is not empty instead of reading in every single file and directory first,
3010         then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
3011         defined.
3012
3013 2006-06-25  Darin Adler  <darin@apple.com>
3014
3015         * Scripts/svn-apply: Tweak comments.
3016         * Scripts/svn-create-patch: Ditto.
3017         * Scripts/svn-unapply: Ditto.
3018
3019 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
3020
3021         Formatting fix per Bug 9571 Comment #2.  Reviewed by NOBODY.
3022
3023         http://bugs.webkit.org/show_bug.cgi?id=9571#c2
3024
3025         * Scripts/svn-apply: Formatting fix.
3026
3027 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
3028
3029         Reviewed by Darin.
3030
3031         http://bugs.webkit.org/show_bug.cgi?id=9571
3032         Teach svn-apply and svn-unapply to handle directory adds and removes better
3033
3034         * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
3035         * Scripts/svn-unapply: Handle undoing both directory adds and removes.
3036
3037 2006-06-25  Timothy Hatcher  <timothy@apple.com>
3038
3039         Reviewed by Darin.
3040
3041         Bug 9574: Drosera should show inline scripts within the original HTML
3042         http://bugs.webkit.org/show_bug.cgi?id=9574
3043
3044         Refactor the JavaScript code to have a distinction between files
3045         and scripts. Show the script in the context of the HTML file if
3046         it's URL is the same as the frame's main resource. At the time of
3047         the disParseScript callback the main resource might not be completely
3048         loaded, but Drosera needs to show whatever we have at the time. Once
3049         the main resource is finished, update the file source and reload the file.
3050
3051         * Drosera/DebuggerDocument.m:
3052         (-[DebuggerDocument pause]):
3053         (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
3054         (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3055         (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
3056         * Drosera/debugger.css:
3057         * Drosera/debugger.js:
3058
3059 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
3060
3061         Reviewed by Darin.
3062
3063         http://bugs.webkit.org/show_bug.cgi?id=9570
3064         Teach prepare-ChangeLog to operate on a list of files or directories
3065
3066         * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
3067         * Scripts/svn-create-patch: Code refactoring.
3068
3069 2006-06-24  James G. Speth  <speth@end.com>
3070
3071         Reviewed by Darin.
3072
3073         - http://bugs.webkit.org/show_bug.cgi?id=8843
3074           add a way to build Objective-C test cases in HTML
3075
3076         Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
3077         allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do 
3078         pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
3079         objects, etc... )
3080
3081         * DumpRenderTree/ObjCPlugin.h:
3082         * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
3083         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
3084         (+[ObjCPlugin webScriptNameForSelector:]):
3085         (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
3086         (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
3087         (+[NSObject allowsScriptsFullAccess]):
3088         (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
3089         (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
3090         (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
3091         (+[JSObjC webScriptNameForSelector:]):
3092         (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
3093         (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
3094         (-[JSObjC log:]): access to NSLog function
3095         (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
3096         (-[JSObjC classOfObject:]):
3097         (-[JSObjC classNameOfObject:]):
3098
3099 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
3100
3101         Reviewed by Timothy.
3102
3103         * DrawTest/Info.plist: Added copyright statement.
3104         * Drosera/Info.plist: Ditto.
3105         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
3106         * WebKitLauncher/Info.plist: Ditto.
3107
3108 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
3109
3110         Build fix. Reviewed by NOBODY.
3111
3112         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
3113           devenv.com not available in VC++ Express installations
3114
3115         * Scripts/webkitdirs.pm: Backed out previous change.
3116
3117 2006-06-24  Bjoern Graf  <bjoern.graf@gmail.com>
3118
3119         Reviewed by Maciej.
3120
3121         - http://bugs.webkit.org/show_bug.cgi?id=7802
3122           devenv.com not available in VC++ Express installations
3123
3124         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
3125
3126 2006-06-24  Alexey Proskuryakov  <ap@nypop.com>
3127
3128         Reviewed by Darin.
3129
3130         - http://bugs.webkit.org/show_bug.cgi?id=9564
3131           A bunch of fixes to run-webkit-httpd
3132
3133         - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
3134           127.0.0.1. Useful for testing with WinIE running on another machine;
3135         - don't call checkFrameworks() - we do not need a built WebKit here;
3136         - changed tabs to spaces;
3137         - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
3138           interactive mode, they were a hassle when testing with several browsers, as one
3139           had to wait for connection to expire);
3140         - remove httpd.pid when done, so that Apache doesn't complain next time.
3141
3142         * Scripts/run-webkit-httpd:
3143
3144 2006-06-24  Jonas Witt <jonas.witt@gmail.com>
3145
3146         Reviewed by ggaren, landed by ap.
3147
3148         - http://bugs.webkit.org/show_bug.cgi?id=9181
3149           Complete DOMUIEvent Obj-C API to reflect UIEvent
3150
3151         Add function to enable logging of all events of one DOM node to stdout.
3152
3153         * DumpRenderTree/EventSendingController.h:
3154         * DumpRenderTree/EventSendingController.m:
3155         (+[EventSendingController initialize]):
3156         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3157         (+[EventSendingController webScriptNameForSelector:]):
3158         (-[EventSendingController enableDOMUIEventLogging:]):
3159         (-[EventSendingController handleEvent:]):
3160
3161 2006-06-23  Kevin Decker         <kdecker@apple.com>
3162
3163         Reviewed by Tim Hatcher.
3164
3165         - Made column headers in Drosera resizable.
3166
3167 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
3168
3169         Reviewed by ggaren.
3170
3171         - see http://bugs.webkit.org/show_bug.cgi?id=9539
3172         Another case error preventing build
3173
3174         * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
3175
3176 2006-06-22  Timothy Hatcher  <timothy@apple.com>
3177
3178         Reviewed by Eric.
3179
3180         Adds a native toolbar to Drosera to be a good citizen.
3181         Adds a Debug menu with key-commands for Continue, Pause and Step Into.
3182         Fixes a dragging bug from an earlier fix to the divider code.
3183         Fixes some poor indenting in debugger.js.
3184
3185         * Drosera/DebuggerDocument.h:
3186         * Drosera/DebuggerDocument.m:
3187         (-[DebuggerDocument stepInto]):
3188         (-[DebuggerDocument pause:]):
3189         (-[DebuggerDocument resume:]):
3190         (-[DebuggerDocument stepInto:]):
3191         (-[DebuggerDocument windowDidLoad]):
3192         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
3193         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
3194         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
3195         (-[DebuggerDocument validateUserInterfaceItem:]):
3196         * Drosera/English.lproj/MainMenu.nib/classes.nib:
3197         * Drosera/English.lproj/MainMenu.nib/info.nib:
3198         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
3199         * Drosera/debugger.css:
3200         * Drosera/debugger.html:
3201         * Drosera/debugger.js:
3202         * Drosera/viewer.html:
3203
3204 2006-06-22  Kevin Decker         <kdecker@apple.com>
3205
3206         Reviewed by Anders.
3207
3208         - Added pressed column header image.
3209         - Made column headers behave more like Xcode.
3210
3211 2006-06-22  Timothy Hatcher  <timothy@apple.com>
3212
3213         Reviewed by Kevin Decker.
3214
3215         Code clean up. Adds the stackframe and makes only the body
3216         of the tables scrollable keeping the header visible.
3217         Shows the current function stack when paused or stepping.
3218
3219         * Drosera/DebuggerApplication.m:
3220         (-[DebuggerApplication awakeFromNib]):
3221         (-[DebuggerApplication numberOfRowsInTableView:]):
3222         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
3223         * Drosera/DebuggerDocument.h:
3224         * Drosera/DebuggerDocument.m:
3225         (-[DebuggerDocument dealloc]):
3226         (-[DebuggerDocument currentFrame]):
3227         (-[DebuggerDocument currentFrameFunctionName]):
3228         (-[DebuggerDocument currentFunctionStack]):
3229         (-[DebuggerDocument log:]):
3230         (-[DebuggerDocument windowWillClose:]):
3231         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3232         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3233         * Drosera/Drosera.xcodeproj/project.pbxproj:
3234         * Drosera/debugger.css:
3235         * Drosera/debugger.html:
3236         * Drosera/debugger.js:
3237
3238 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
3239
3240         Reviewed by Anders.
3241
3242         Teach run-webkit-httpd to properly look for webkitdirs.pm.
3243
3244         * Scripts/run-webkit-httpd:
3245
3246 2006-06-22  Kevin Decker         <kdecker@apple.com>
3247
3248         Reviewed by Tim Hatcher.
3249
3250         - More progress toward Javascript Debugger. 
3251         - Added some new images to the project. 
3252
3253 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
3254
3255         Reviewed by Anders.
3256
3257         - http://bugs.webkit.org/show_bug.cgi?id=9516
3258           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
3259
3260         * Scripts/run-webkit-httpd: Added.
3261
3262 2006-06-20  Timothy Hatcher  <timothy@apple.com>
3263
3264         Reviewed by Eric.
3265
3266         Builds Drosera and a launcher to include with the nightly.
3267
3268         * BuildSlaveSupport/build-launcher-app:
3269         * BuildSlaveSupport/build-launcher-dmg:
3270         * Drosera/Drosera.xcodeproj/project.pbxproj:
3271         * Drosera/Info.plist:
3272         * Drosera/LauncherInfo.plist: Added.
3273         * Drosera/launcher.m: Added.
3274         (displayErrorAndQuit):
3275         (checkMacOSXVersion):
3276         (myExecve):
3277         (main):
3278         * Scripts/build-drosera
3279         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3280         * WebKitLauncher/main.m:
3281         (main):
3282
3283 2006-06-20  Timothy Hatcher  <timothy@apple.com>
3284
3285         Reviewed by Darin.
3286         
3287         Adds a JavaScript debugger, called Drosera. Named after
3288         a genus of bug eating plants.
3289
3290         * Drosera/DebuggerApplication.h: Added.
3291         * Drosera/DebuggerApplication.m: Added.
3292         (-[DebuggerApplication applicationDidFinishLaunching:]):
3293         (-[DebuggerApplication serverLoaded:]):
3294         (-[DebuggerApplication serverUnloaded:]):
3295         (-[DebuggerApplication awakeFromNib]):
3296         (-[DebuggerApplication showAttachPanel:]):
3297         (-[DebuggerApplication attach:]):
3298         (-[DebuggerApplication numberOfRowsInTableView:]):
3299         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
3300         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
3301         (-[DebuggerApplication tableViewSelectionDidChange:]):
3302         * Drosera/DebuggerDocument.h: Added.
3303         * Drosera/DebuggerDocument.m: Added.
3304         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
3305         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
3306         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
3307         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
3308         (-[DebuggerDocument initWithServerName:]):
3309         (-[DebuggerDocument windowWillClose:]):
3310         (-[DebuggerDocument dealloc]):
3311         (-[DebuggerDocument isPaused]):
3312         (-[DebuggerDocument pause]):
3313         (-[DebuggerDocument resume]):
3314         (-[DebuggerDocument step]):
3315         (-[DebuggerDocument windowNibName]):
3316         (-[DebuggerDocument windowDidLoad]):
3317         (-[DebuggerDocument switchToServerNamed:]):
3318         (-[DebuggerDocument applicationTerminating:]):
3319         (-[DebuggerDocument serverConnectionDidDie:]):
3320         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
3321         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
3322         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
3323         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3324         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3325         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3326         * Drosera/Drosera.pch: Added.
3327         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
3328         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
3329         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
3330         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
3331         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
3332         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
3333         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3334         * Drosera/Images/breakPoint.tif: Added.
3335         * Drosera/Images/breakPointDisabled.tif: Added.
3336         * Drosera/Images/continue.tif: Added.
3337         * Drosera/Images/finishFunction.tif: Added.
3338         * Drosera/Images/glossyFooterFill.tif: Added.
3339         * Drosera/Images/glossyHeader.png: Added.
3340         * Drosera/Images/gradientBackground.png: Added.
3341         * Drosera/Images/gutter.png: Added.
3342         * Drosera/Images/navLeftDisabled.png: Added.
3343         * Drosera/Images/navLeftNormal.png: Added.
3344         * Drosera/Images/navLeftPressed.png: Added.
3345         * Drosera/Images/navRightDisabled.png: Added.
3346         * Drosera/Images/navRightNormal.png: Added.
3347         * Drosera/Images/navRightPressed.png: Added.
3348         * Drosera/Images/pause.tif: Added.
3349         * Drosera/Images/popUpArrows.png: Added.
3350         * Drosera/Images/programCounter.tif: Added.
3351         * Drosera/Images/programCounterBreakPoint.tif: Added.
3352         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
3353         * Drosera/Images/run.tif: Added.
3354         * Drosera/Images/splitterBar.tif: Added.
3355         * Drosera/Images/splitterDimple.tif: Added.
3356         * Drosera/Images/step.tif: Added.
3357         * Drosera/Images/stepOver.tif: Added.
3358         * Drosera/Images/stop.tif: Added.
3359         * Drosera/Images/toolbarBackground.png: Added.
3360         * Drosera/Info.plist: Added.
3361         * Drosera/debugger.css: Added.
3362         * Drosera/debugger.html: Added.
3363         * Drosera/debugger.js: Added.
3364         * Drosera/main.m: Added.
3365         (main):
3366         * Drosera/viewer.css: Added.
3367         * Drosera/viewer.html: Added.
3368
3369 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
3370
3371         Reviewed by darin.
3372
3373         http://bugs.webkit.org/show_bug.cgi?id=9485
3374         Teach svn-apply and svn-unapply to use full path names
3375
3376         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
3377         * Scripts/svn-unapply: Ditto.
3378
3379 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
3380
3381         Reviewed by ggaren.
3382
3383         - http://bugs.webkit.org/show_bug.cgi?id=9150
3384           DumpRenderTree should be able to keep URL history during runs
3385
3386         Test: LayoutTests/fast/history/clicked-link-is-visited.html
3387
3388         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
3389         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
3390         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
3391         it is currently nil since keepWebHistory() might be called more than once incidentally
3392         for the same test.
3393         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
3394         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
3395
3396 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
3397
3398         Reviewed by darin.
3399
3400         http://bugs.webkit.org/show_bug.cgi?id=9395
3401         Make prepare-ChangeLog faster
3402
3403         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
3404         then save the diff output for reuse.  Keep a status variable if changes are made to
3405         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
3406         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
3407         for no changed files closer to the beginning of the program.
3408
3409 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
3410
3411         Reviewed and landed by ap.
3412
3413         - make DumpRenderTree build
3414
3415         * DumpRenderTree/DumpRenderTree.m:
3416         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
3417         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
3418         (-[LayoutTestController setWindowIsKey:]): Ditto.
3419         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
3420
3421 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
3422
3423         Reviewed by Darin, landed by Geoff.
3424
3425         http://bugs.webkit.org/show_bug.cgi?id=9350
3426         Use pathcmp() when sorting paths in svn-create-patch
3427
3428         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
3429         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
3430         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
3431         switch and printUsage() subroutine.
3432
3433 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
3434
3435         Reviewed by darin.
3436
3437         http://bugs.webkit.org/show_bug.cgi?id=9322
3438         Teach svn-create-patch to sort its output
3439
3440         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
3441         by text files first, then by binary files.
3442
3443 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
3444
3445         Reviewed by darin.
3446
3447         http://bugs.webkit.org/show_bug.cgi?id=9299
3448         Teach svn-create-patch and friends to work with binary files
3449
3450         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
3451         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
3452         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
3453
3454 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
3455
3456         Reviewed by Maciej.
3457
3458         http://bugs.webkit.org/show_bug.cgi?id=9296
3459         Performance improvement for svn-create-patch
3460
3461         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
3462
3463 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
3464
3465         Reviewed by darin.
3466
3467         http://bugs.webkit.org/show_bug.cgi?id=9290
3468         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
3469
3470         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
3471         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
3472
3473 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
3474
3475         Reviewed by hyatt.
3476         
3477         Switch Spinneret to new hosting mechanism
3478
3479         * Spinneret/Spinneret.sln:
3480         * Spinneret/Spinneret/Spinneret.cpp:
3481         (SpinneretWebHost::updateAddressBar):
3482         (SpinneretWebHost::QueryInterface):
3483         (SpinneretWebHost::AddRef):
3484         (SpinneretWebHost::Release):
3485         (resizeSubViews):
3486         (_tWinMain):
3487         (WndProc):
3488         (MyEditProc):
3489         (About):
3490         (loadURL):
3491         * Spinneret/Spinneret/Spinneret.h:
3492         (SpinneretWebHost::didStartProvisionalLoadForFrame):
3493         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
3494         (SpinneretWebHost::didFailProvisionalLoadWithError):
3495         (SpinneretWebHost::didCommitLoadForFrame):
3496         (SpinneretWebHost::didReceiveTitle):
3497         (SpinneretWebHost::didReceiveIcon):
3498         (SpinneretWebHost::didFinishLoadForFrame):
3499         (SpinneretWebHost::didFailLoadWithError):
3500         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
3501         (SpinneretWebHost::willPerformClientRedirectToURL):
3502         (SpinneretWebHost::didCancelClientRedirectForFrame):
3503         (SpinneretWebHost::willCloseFrame):
3504         (SpinneretWebHost::windowScriptObjectAvailable):
3505         * Spinneret/Spinneret/Spinneret.vcproj:
3506
3507 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
3508
3509         Reviewed by darin.
3510         
3511         Updated build script
3512
3513         * Scripts/build-webkit:
3514
3515 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
3516
3517         Reviewed by Darin.
3518
3519         * DumpRenderTree/DumpRenderTree.m:
3520         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3521         (-[LayoutTestController clearBackForwardList]):
3522         Add clearBackForwardList function to layoutTestController
3523         
3524 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
3525
3526         Reviewed by Darin.
3527
3528         http://bugs.webkit.org/show_bug.cgi?id=8996
3529         slow-utf8-text layout test case failing (no longer deterministic?)
3530         
3531         * DumpRenderTree/DumpRenderTree.m:
3532         (dump):
3533         Dump as text when the response MIME type is text/plain
3534
3535 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
3536
3537         Build fixes/tweaks
3538
3539         * Spinneret/Spinneret.sln:
3540         * Spinneret/Spinneret/Spinneret.vcproj:
3541
3542 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
3543
3544         Reviewed by mjs.
3545         
3546         Added 'GCController' to DRT to support garbage collection layout tests.
3547         
3548         GCController.collect() and GCController.collectOnAlternateThread() do
3549         what you would expect. The latter takes a boolean argument sepcifying
3550         whether to wait for garbage collection to finish before continuing to
3551         execute script.
3552
3553         * DumpRenderTree/DumpRenderTree.m:
3554         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3555         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3556         * DumpRenderTree/GCController.h: Added.
3557         * DumpRenderTree/GCController.mm: Added.
3558         (+[GCController isSelectorExcludedFromWebScript:]):
3559         (+[GCController webScriptNameForSelector:]):
3560         (-[GCController collect]):
3561         (-[GCController collectOnAlternateThread:]):
3562
3563 2006-05-23  John Sullivan  <sullivan@apple.com>
3564
3565         Reviewed by Maciej.
3566
3567         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3568         Newer Xcode removed some obsolete cruft
3569         
3570         * DumpRenderTree/TextInputController.m:
3571         (-[TextInputController textInput]):
3572         added (id) cast to make newer compiler happy
3573
3574 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
3575
3576         Reviewed by adele.
3577         
3578         Fix build.
3579
3580         * Spinneret/Spinneret.sln:
3581
3582 2006-05-18  Darin Adler  <darin@apple.com>
3583
3584         - try to fix no-SVG, no-XPATH build, again
3585
3586         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
3587
3588 2006-05-18  Darin Adler  <darin@apple.com>
3589
3590         - try to fix no-SVG, no-XPATH build
3591
3592         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
3593         since the former is what's used in the WebCore project now.
3594
3595 2006-05-17  Darin Adler  <darin@apple.com>
3596
3597         * Scripts/do-webcore-rename: Some more future renames.
3598
3599 2006-05-16  Adele Peterson  <adele@apple.com>
3600
3601         Reviewed by Hyatt.
3602
3603         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
3604         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
3605
3606 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>