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