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