cbff3227e2e937553cd919a3302b1e6d4791fe97
[WebKit-https.git] / WebKitTools / ChangeLog
1 2006-06-20  Timothy Hatcher  <timothy@apple.com>
2
3         Reviewed by Eric.
4
5         Builds Drosera and a launcher to include with the nightly.
6
7         * BuildSlaveSupport/build-launcher-app:
8         * BuildSlaveSupport/build-launcher-dmg:
9         * Drosera/Drosera.xcodeproj/project.pbxproj:
10         * Drosera/Info.plist:
11         * Drosera/LauncherInfo.plist: Added.
12         * Drosera/launcher.m: Added.
13         (displayErrorAndQuit):
14         (checkMacOSXVersion):
15         (myExecve):
16         (main):
17         * Scripts/build-drosera
18         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19         * WebKitLauncher/main.m:
20         (main):
21
22 2006-06-20  Timothy Hatcher  <timothy@apple.com>
23
24         Reviewed by Darin.
25         
26         Adds a JavaScript debugger, called Drosera. Named after
27         a genus of bug eating plants.
28
29         * Drosera/DebuggerApplication.h: Added.
30         * Drosera/DebuggerApplication.m: Added.
31         (-[DebuggerApplication applicationDidFinishLaunching:]):
32         (-[DebuggerApplication serverLoaded:]):
33         (-[DebuggerApplication serverUnloaded:]):
34         (-[DebuggerApplication awakeFromNib]):
35         (-[DebuggerApplication showAttachPanel:]):
36         (-[DebuggerApplication attach:]):
37         (-[DebuggerApplication numberOfRowsInTableView:]):
38         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
39         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
40         (-[DebuggerApplication tableViewSelectionDidChange:]):
41         * Drosera/DebuggerDocument.h: Added.
42         * Drosera/DebuggerDocument.m: Added.
43         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
44         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
45         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
46         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
47         (-[DebuggerDocument initWithServerName:]):
48         (-[DebuggerDocument windowWillClose:]):
49         (-[DebuggerDocument dealloc]):
50         (-[DebuggerDocument isPaused]):
51         (-[DebuggerDocument pause]):
52         (-[DebuggerDocument resume]):
53         (-[DebuggerDocument step]):
54         (-[DebuggerDocument windowNibName]):
55         (-[DebuggerDocument windowDidLoad]):
56         (-[DebuggerDocument switchToServerNamed:]):
57         (-[DebuggerDocument applicationTerminating:]):
58         (-[DebuggerDocument serverConnectionDidDie:]):
59         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
60         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
61         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
62         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
63         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
64         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
65         * Drosera/Drosera.pch: Added.
66         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
67         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
68         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
69         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
70         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
71         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
72         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
73         * Drosera/Images/breakPoint.tif: Added.
74         * Drosera/Images/breakPointDisabled.tif: Added.
75         * Drosera/Images/continue.tif: Added.
76         * Drosera/Images/finishFunction.tif: Added.
77         * Drosera/Images/glossyFooterFill.tif: Added.
78         * Drosera/Images/glossyHeader.png: Added.
79         * Drosera/Images/gradientBackground.png: Added.
80         * Drosera/Images/gutter.png: Added.
81         * Drosera/Images/navLeftDisabled.png: Added.
82         * Drosera/Images/navLeftNormal.png: Added.
83         * Drosera/Images/navLeftPressed.png: Added.
84         * Drosera/Images/navRightDisabled.png: Added.
85         * Drosera/Images/navRightNormal.png: Added.
86         * Drosera/Images/navRightPressed.png: Added.
87         * Drosera/Images/pause.tif: Added.
88         * Drosera/Images/popUpArrows.png: Added.
89         * Drosera/Images/programCounter.tif: Added.
90         * Drosera/Images/programCounterBreakPoint.tif: Added.
91         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
92         * Drosera/Images/run.tif: Added.
93         * Drosera/Images/splitterBar.tif: Added.
94         * Drosera/Images/splitterDimple.tif: Added.
95         * Drosera/Images/step.tif: Added.
96         * Drosera/Images/stepOver.tif: Added.
97         * Drosera/Images/stop.tif: Added.
98         * Drosera/Images/toolbarBackground.png: Added.
99         * Drosera/Info.plist: Added.
100         * Drosera/debugger.css: Added.
101         * Drosera/debugger.html: Added.
102         * Drosera/debugger.js: Added.
103         * Drosera/main.m: Added.
104         (main):
105         * Drosera/viewer.css: Added.
106         * Drosera/viewer.html: Added.
107
108 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
109
110         Reviewed by darin.
111
112         http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
113         Teach svn-apply and svn-unapply to use full path names
114
115         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
116         * Scripts/svn-unapply: Ditto.
117
118 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
119
120         Reviewed by ggaren.
121
122         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
123           DumpRenderTree should be able to keep URL history during runs
124
125         Test: LayoutTests/fast/history/clicked-link-is-visited.html
126
127         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
128         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
129         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
130         it is currently nil since keepWebHistory() might be called more than once incidentally
131         for the same test.
132         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
133         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
134
135 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
136
137         Reviewed by darin.
138
139         http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
140         Make prepare-ChangeLog faster
141
142         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
143         then save the diff output for reuse.  Keep a status variable if changes are made to
144         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
145         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
146         for no changed files closer to the beginning of the program.
147
148 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
149
150         Reviewed and landed by ap.
151
152         - make DumpRenderTree build
153
154         * DumpRenderTree/DumpRenderTree.m:
155         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
156         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
157         (-[LayoutTestController setWindowIsKey:]): Ditto.
158         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
159
160 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
161
162         Reviewed by Darin, landed by Geoff.
163
164         http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
165         Use pathcmp() when sorting paths in svn-create-patch
166
167         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
168         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
169         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
170         switch and printUsage() subroutine.
171
172 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
173
174         Reviewed by darin.
175
176         http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
177         Teach svn-create-patch to sort its output
178
179         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
180         by text files first, then by binary files.
181
182 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
183
184         Reviewed by darin.
185
186         http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
187         Teach svn-create-patch and friends to work with binary files
188
189         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
190         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
191         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
192
193 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
194
195         Reviewed by Maciej.
196
197         http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
198         Performance improvement for svn-create-patch
199
200         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
201
202 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
203
204         Reviewed by darin.
205
206         http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
207         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
208
209         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
210         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
211
212 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
213
214         Reviewed by hyatt.
215         
216         Switch Spinneret to new hosting mechanism
217
218         * Spinneret/Spinneret.sln:
219         * Spinneret/Spinneret/Spinneret.cpp:
220         (SpinneretWebHost::updateAddressBar):
221         (SpinneretWebHost::QueryInterface):
222         (SpinneretWebHost::AddRef):
223         (SpinneretWebHost::Release):
224         (resizeSubViews):
225         (_tWinMain):
226         (WndProc):
227         (MyEditProc):
228         (About):
229         (loadURL):
230         * Spinneret/Spinneret/Spinneret.h:
231         (SpinneretWebHost::didStartProvisionalLoadForFrame):
232         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
233         (SpinneretWebHost::didFailProvisionalLoadWithError):
234         (SpinneretWebHost::didCommitLoadForFrame):
235         (SpinneretWebHost::didReceiveTitle):
236         (SpinneretWebHost::didReceiveIcon):
237         (SpinneretWebHost::didFinishLoadForFrame):
238         (SpinneretWebHost::didFailLoadWithError):
239         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
240         (SpinneretWebHost::willPerformClientRedirectToURL):
241         (SpinneretWebHost::didCancelClientRedirectForFrame):
242         (SpinneretWebHost::willCloseFrame):
243         (SpinneretWebHost::windowScriptObjectAvailable):
244         * Spinneret/Spinneret/Spinneret.vcproj:
245
246 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
247
248         Reviewed by darin.
249         
250         Updated build script
251
252         * Scripts/build-webkit:
253
254 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
255
256         Reviewed by Darin.
257
258         * DumpRenderTree/DumpRenderTree.m:
259         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
260         (-[LayoutTestController clearBackForwardList]):
261         Add clearBackForwardList function to layoutTestController
262         
263 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
264
265         Reviewed by Darin.
266
267         http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
268         slow-utf8-text layout test case failing (no longer deterministic?)
269         
270         * DumpRenderTree/DumpRenderTree.m:
271         (dump):
272         Dump as text when the response MIME type is text/plain
273
274 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
275
276         Build fixes/tweaks
277
278         * Spinneret/Spinneret.sln:
279         * Spinneret/Spinneret/Spinneret.vcproj:
280
281 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
282
283         Reviewed by mjs.
284         
285         Added 'GCController' to DRT to support garbage collection layout tests.
286         
287         GCController.collect() and GCController.collectOnAlternateThread() do
288         what you would expect. The latter takes a boolean argument sepcifying
289         whether to wait for garbage collection to finish before continuing to
290         execute script.
291
292         * DumpRenderTree/DumpRenderTree.m:
293         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
294         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
295         * DumpRenderTree/GCController.h: Added.
296         * DumpRenderTree/GCController.mm: Added.
297         (+[GCController isSelectorExcludedFromWebScript:]):
298         (+[GCController webScriptNameForSelector:]):
299         (-[GCController collect]):
300         (-[GCController collectOnAlternateThread:]):
301
302 2006-05-23  John Sullivan  <sullivan@apple.com>
303
304         Reviewed by Maciej.
305
306         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
307         Newer Xcode removed some obsolete cruft
308         
309         * DumpRenderTree/TextInputController.m:
310         (-[TextInputController textInput]):
311         added (id) cast to make newer compiler happy
312
313 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
314
315         Reviewed by adele.
316         
317         Fix build.
318
319         * Spinneret/Spinneret.sln:
320
321 2006-05-18  Darin Adler  <darin@apple.com>
322
323         - try to fix no-SVG, no-XPATH build, again
324
325         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
326
327 2006-05-18  Darin Adler  <darin@apple.com>
328
329         - try to fix no-SVG, no-XPATH build
330
331         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
332         since the former is what's used in the WebCore project now.
333
334 2006-05-17  Darin Adler  <darin@apple.com>
335
336         * Scripts/do-webcore-rename: Some more future renames.
337
338 2006-05-16  Adele Peterson  <adele@apple.com>
339
340         Reviewed by Hyatt.
341
342         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
343         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
344
345 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
346
347         * Scripts/install-unix-extras: Changed to be executable and removed
348         text in the file generated by "svn diff".
349         * Scripts/regenerate-makefiles: Ditto.
350
351 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
352
353         Reviewed by Darin, landed by ap.
354
355         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
356           Bakefiles (and generated Makefiles) for wx and gdk ports
357
358         * Scripts/install-unix-extras: Added.
359         * Scripts/regenerate-makefiles: Added.
360
361 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
362
363         Reviewed by Maciej.
364
365         Fix registry usage from perl script.  Turns out libwin32's
366         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
367         
368         * Scripts/install-win-extras:
369
370 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
371
372         Fix Windows build.
373         Add load ended callback.
374         
375         Reviewed by kevin.
376
377         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
378         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
379         * Spinneret/Spinneret/Spinneret.cpp: 
380         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
381         (_tWinMain): Load built-in test content here instead of in lower-level code.
382         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
383
384 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
385
386         Reviewed by Anders.
387
388         * Scripts/extract-localizable-strings: Update for correct names of log macros.
389
390 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
391
392         Reviewed by Maciej.
393         
394         * Scripts/check-dom-results:
395         Add XPath to the list of results.
396
397 2006-05-08  Darin Adler  <darin@apple.com>
398
399         * Scripts/do-webcore-rename: Add another rename.
400
401 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
402
403         Reviewed by eric.
404
405         Spinneret now links against the new separate lib.
406         
407         * Spinneret/Spinneret.sln:
408         * Spinneret/Spinneret/Spinneret.cpp:
409         (SpinneretWebHost::updateLocationBar):
410         (_tWinMain):
411         * Spinneret/Spinneret/Spinneret.h:
412         * Spinneret/Spinneret/Spinneret.vcproj:
413         * Spinneret/Spinneret/WebFrame.cpp: Removed.
414         * Spinneret/Spinneret/WebFrame.h: Removed.
415         * Spinneret/Spinneret/WebView.cpp: Removed.
416         * Spinneret/Spinneret/WebView.h: Removed.
417
418 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
419
420         Reviewed by kdecker
421
422         Modify error reporting registry keys to disable Dr. Watson.
423         This allows Javascript test cases to complete without blocking UI.
424         
425         * Scripts/install-win-extras:
426          - Use Perl Win32 registry functions to disable blocking UI
427         
428
429 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
430
431         Reviewed by eric.
432         
433         Turned off C++ exceptions, fixed memory leaks
434
435         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
436         * Spinneret/Spinneret.sln:
437         * Spinneret/Spinneret/Spinneret.cpp:
438         (_tWinMain):
439         * Spinneret/Spinneret/Spinneret.vcproj:
440         * Spinneret/Spinneret/WebFrame.cpp:
441         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
442         (WebKit::WebFrame::WebFrame):
443         (WebKit::WebFrame::~WebFrame):
444         (WebKit::WebFrame::impl):
445         * Spinneret/Spinneret/WebFrame.h:
446         * Spinneret/Spinneret/WebView.cpp:
447         * Spinneret/Spinneret/stdafx.h:
448
449 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
450
451         Reviewed by Darin.
452
453         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
454           DumpRenderTree should reset the URL cache
455
456         * DumpRenderTree/DumpRenderTree.m:
457         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
458
459 2006-04-28  Eric Seidel  <eseidel@apple.com>
460
461         Reviewed by andersca.
462
463         * Scripts/do-webcore-rename: rename KCanvasContainer too
464         * Scripts/run-webkit-tests: output total time
465
466 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
467
468         Reviewed by hyatt.  Landed by eseidel.
469
470         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
471           Enable detection of excessive repainting with DumpRenderTree
472
473         * DumpRenderTree/DumpRenderTree.m:
474         (-[LayoutTestController display]):
475
476 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
477
478         Reviewed by Darin.
479
480         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
481           DumpRenderTree needs a way to force painting (to allow invalidation tests)
482
483         * DumpRenderTree/DumpRenderTree.m:
484         (dump): If display() has been called during the test, grab the pixels from
485         the view, after letting it repaint invalidated rects.
486         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
487         (-[LayoutTestController display]): Added. Calls -display on the view
488         and changes the subsequent behavior of dump().
489         (dumpRenderTree):
490
491 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
492
493         Reviewed by Maciej.
494
495         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
496           Update iExploder to 1.3.2
497
498         Test case numbers are not compatible with iExploder 1.2.
499
500         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
501
502         * iExploder/CHANGELOG.txt: Added.
503         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
504         * iExploder/README.txt: Added some performance hints.
505
506         * iExploder/htdocs/config.rb: Added.
507         * iExploder/htdocs/cssproperties.in:
508         * iExploder/htdocs/cssvalues.in:
509         * iExploder/htdocs/htmlattrs.in:
510         * iExploder/htdocs/htmltags.in:
511         * iExploder/htdocs/iexploder.cgi:
512          - Updated to support the latest HTML & CSS tags, properties, and values from both
513            the WebKit and Mozilla CVS tree
514          - cssproperties.in cleanup
515          - Modularized the code a little bit.
516          - Fix subtest bug that was causing last 5 tags to be missed
517          - new subtest algorithm to deal better with larger tag counts
518          - default HTML_MAX_TAGS increased from 32 to 96
519
520         * iExploder/htdocs/index.html: Updated version to 1.3.2.
521         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
522         alternative to our run-iexploder-tests.
523         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
524         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
525         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
526
527 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
528
529         - commit Scripts/run-mangleme-tests (missed it the previous time).
530
531 2006-04-18  Darin Adler  <darin@apple.com>
532
533         - attempt to fix Windows buildbot
534
535         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
536         We need a better long-term solution for this.
537
538 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
539
540         Reviewed by Darin.
541
542         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
543           Integrate mangleme test script.
544
545         Works in a similar way to run-iexploder-tests.
546
547         * Scripts/run-mangleme-tests: Added.
548         * mangleme: Added.
549         * mangleme/Makefile: Added.
550         * mangleme/README: Added.
551         * mangleme/mangle.cgi.c: Added.
552         * mangleme/remangle.cgi.c: Added.
553         * mangleme/tags.h: Added.
554
555 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
556
557         Reviewed by Darin.
558
559         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
560           An easier way to save iExploder tests.
561
562         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
563
564 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
565
566         Reviewed by Darin.
567
568         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
569           Integrate iExploder test script.
570
571         This script generates artificially mangled HTML documents, to test that the browser
572         doesn't crash when handling ill-formed code.
573         
574         How to use:
575          run-iexploder-tests             Open an interactive test page in Safari+ToT.
576          run-iexploder-tests nnnnn       Open test #nnnnn.
577
578         Command line options:
579          --guard-malloc (-g)              Use Guard Malloc.
580          --port=nnnn                      Run Apache on port nnnn (default is 8000).
581
582         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
583         (thus, Apache is still running), e.g.:
584          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
585
586         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
587
588         * Scripts/run-iexploder-tests: Added.
589         * iExploder: Added.
590         * iExploder/LICENSE.txt: Added.
591         * iExploder/README.txt: Added.
592         * iExploder/htdocs: Added.
593         * iExploder/htdocs/cssproperties.in: Added.
594         * iExploder/htdocs/cssvalues.in: Added.
595         * iExploder/htdocs/htmlattrs.in: Added.
596         * iExploder/htdocs/htmltags.in: Added.
597         * iExploder/htdocs/htmlvalues.in: Added.
598         * iExploder/htdocs/iexploder.cgi: Added.
599         * iExploder/htdocs/index.html: Added.
600         * iExploder/tools: Added.
601         * iExploder/tools/lasthit.rb: Added.
602         * iExploder/tools/osx_last_crash.rb: Added.
603
604 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
605
606         Reviewed by Darin.
607
608         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
609           Restore color profile after a crash
610
611         * DumpRenderTree/DumpRenderTree.m:
612         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
613         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
614         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
615         and this code may change significantly.
616
617         (main): Install crashHandler.
618
619         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
620         (CFStringGetCStringPtr should NEVER EVER be used!).
621
622 2006-04-15  Darin Adler  <darin@apple.com>
623
624         Reviewed by Eric.
625
626         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
627         Seems xmlsoft.org's HTTP no longer has what we need.
628
629 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
630
631         Rubber-stamped by Darin.
632
633         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
634           upload-disk-image stage on buildslaves fail with "No space left on device"
635
636         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
637           'hdiutil create'.   This creates the initial disk image based on the size of
638           the source folder, and copies the contents to the new disk image.  The file
639           extension on the temporary uncompressed disk image has also been altered from
640           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
641           the extension is not ".dmg".
642
643 2006-04-12  Eric Seidel  <eseidel@apple.com>
644
645         Reviewed by Tim H.
646
647         * Scripts/update-webkit: Make this return non-zero when svn fails.
648
649 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
650
651         Reviewed by Darin.
652
653         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
654           Make HTTP tests using Perl use .pl extension
655
656         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
657           removed support for .text. Reduced the number of places that explicitly list supported
658           extensions. Some of the changes come from bug 8121, the patch for which got landed only
659           partially.
660
661 2006-04-06  Darin Adler  <darin@apple.com>
662
663         Changes requested by Mark Rowe.
664
665         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
666         trash at the end of the file.
667         * BuildSlaveSupport/build-launcher-dmg: Ditto.
668
669         * WebKitLauncher/main.m: Removed trash at end of file.
670
671         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
672         to make name match.
673
674 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
675
676         Reviewed by Darin, landed by Maciej.
677
678         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
679           and bundles the WebKit frameworks inside it.
680         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
681           containing WebKit.app.
682         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
683         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
684           number of the SVN working copy.
685         * WebKitLauncher: Added.
686         * WebKitLauncher/Info.plist: Added.
687         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
688         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
689         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
690           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
691           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
692           the nightly launcher.
693         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
694           It sets up the environment to have Safari use the bundled frameworks
695           and load the WebKitNightlyEnabler dylib before exec'ing Safari
696         * WebKitLauncher/start.html: Added.
697         * WebKitLauncher/webkit.icns: Added.
698
699 2006-04-05  Darin Adler  <darin@apple.com>
700
701         Reviewed by Maciej.
702
703         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
704         are allowed to have global initializers.
705
706 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
707
708         Reviewed by OMG BETH
709
710         * Scripts/run-testkjs:
711         - pipe STDERR to /dev/null by default; new --verbose option overrides
712         this behavior
713         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
714         - output run command in a format that can be copied and pasted into the
715         terminal to run manually
716
717 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
718
719         Reviewed by harrison
720         
721         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
722         A drag and drop in DumpRenderTree copies the source, instead of cutting it
723         
724         Tell the source that the drag is over after the drag is performed, not before.
725
726         * DumpRenderTree/EventSendingController.m:
727         (-[EventSendingController mouseUp]):
728
729 2006-04-01  Darin Adler  <darin@apple.com>
730
731         Reviewed by Justin.
732
733         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
734         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
735         elements in that array are not strings.
736
737 2006-03-31  Darin Adler  <darin@apple.com>
738
739         Reviewed by John Sullivan.
740
741         - added a "--reset-results" option to run-webkit-tests so you can reset
742           the results without first deleting expected results
743         - <rdar://problem/4185878> add scroll position to dumpRenderTree
744
745         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
746         more logical. Moved all the subroutines to the end of the file. Added a
747         "--force" option.
748
749         * DumpRenderTree/DumpRenderTree.m:
750         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
751         to generate new output for all tests it runs.
752         (dump): Dump the scroll position if it's non-zero. Always dump the image when
753         the --dump-all-pixels option is passed. Also tightened up the image dumping
754         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
755         with code to save and restore the context.
756
757         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
758         * DumpRenderTree/EventSendingController.m: Added now-needed include.
759
760 2006-03-30  Tim Omernick  <timo@apple.com>
761
762         Reviewed by NOBODY (just fixing copyrights)
763
764         * DumpRenderTree/ObjCPlugin.h:
765         Fixed copyright.
766         * DumpRenderTree/ObjCPlugin.m: ditto
767         * DumpRenderTree/ObjCPluginFunction.h: ditto
768         * DumpRenderTree/ObjCPluginFunction.m: ditto
769
770 2006-03-30  Tim Omernick  <timo@apple.com>
771
772         Reviewed by Geoff.
773
774         * DumpRenderTree/DumpRenderTree.m:
775         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
776         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
777         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
778         exposed to JS as a callable object.
779
780         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
781         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
782
783         * DumpRenderTree/ObjCPlugin.h: Added.
784         * DumpRenderTree/ObjCPlugin.m: Added.
785         * DumpRenderTree/ObjCPluginFunction.h: Added.
786         * DumpRenderTree/ObjCPluginFunction.m: Added.
787
788         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
789         Added a new method, "removeDefaultMethod", which removes the default method from the
790         plugin object's class.  The effect is that the plugin object is mutated from a callable
791         function to a simple object.
792         (pluginInvoke):
793         Handle "removeDefaultMethod".
794         (pluginInvokeDefault):
795         Made the default method actually do something (return 1).
796
797 2006-03-30  Eric Seidel  <eseidel@apple.com>
798
799         Reviewed by ggaren.
800
801         Remove WebFrame::viewImpl(), setMainFrame on page.
802
803         * Spinneret/Spinneret/WebFrame.cpp:
804         (WebKit::WebFrame::WebFrame):
805         * Spinneret/Spinneret/WebFrame.h:
806         * Spinneret/Spinneret/WebView.cpp:
807         (WebKit::WebView::mouseMoved):
808         (WebKit::WebView::mouseDown):
809         (WebKit::WebView::mouseUp):
810         (WebKit::WebView::mouseDoubleClick):
811         (WebKit::WebViewWndProc):
812
813 2006-03-30  Eric Seidel  <eseidel@apple.com>
814
815         Reviewed by hyatt.
816
817         Fix html editing input & basic form submission.
818
819         * Spinneret/Spinneret/WebFrame.cpp:
820         (WebKit::WebFrame::submitForm):
821         (WebKit::WebFrame::loadURL):
822         * Spinneret/Spinneret/WebFrame.h:
823         * Spinneret/Spinneret/WebView.cpp:
824         (WebKit::WebView::keyPress):
825         (WebKit::WebViewWndProc):
826
827 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
828
829         Reviewed by darin
830
831         <rdar://problem/4402375>
832         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
833
834         Added an option to draw the selectionRect.
835
836         * DumpRenderTree/DumpRenderTree.m:
837         (dump):
838         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
839         (-[LayoutTestController dumpSelectionRect]):
840         (dumpRenderTree):
841         
842 2006-03-29  Darin Adler  <darin@apple.com>
843
844         Reviewed by Tim Hatcher.
845
846         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
847
848         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
849
850 2006-03-28  Eric Seidel  <eseidel@apple.com>
851
852         Reviewed by darin.
853
854         * Scripts/check-for-global-initializers: remove svg exceptions.
855
856 2006-03-28  Timothy Hatcher  <timothy@apple.com>
857
858         Reviewed by Darin.
859
860         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
861
862         * Scripts/check-for-global-initializers:
863
864 2006-03-28  Timothy Hatcher  <timothy@apple.com>
865
866         Build fix. Turn off uninitialized warnings for the first block of code.
867
868         * Scripts/check-for-global-initializers:
869
870 2006-03-28  Darin Adler  <darin@apple.com>
871
872         Reviewed by Geoff.
873
874         * Scripts/check-for-global-initializers: Added.
875
876 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
877
878         Reviewed by darin.  Landed by eseidel.
879
880         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
881           Add repaint testing support to run-webkit-tests
882
883         * DumpRenderTree/DumpRenderTree.m:
884         (main): Added --repaint and --horizontal-sweep options.
885         (dump): Repaint line-by-line or column-by-column when the appropriate option
886         is selected.
887         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
888         and repaintSweepHorizontally() methods to layoutTestController.
889         (-[LayoutTestController testRepaint]):
890         (-[LayoutTestController repaintSweepHorizontally]):
891         (dumpRenderTree):
892         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
893         to force these settings on tests that do not ask for them.
894
895 2006-03-24  Eric Seidel  <eseidel@apple.com>
896
897         Reviewed by mjs.
898
899         Build fix.
900
901         * Spinneret/Spinneret/WebFrame.cpp:
902         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
903
904 2006-03-21  Beth Dakin  <bdakin@apple.com>
905
906         Reviewed by Maciej
907
908         Add support for keyDown() to DumpRenderTree.
909
910         * DumpRenderTree/DumpRenderTree.m:
911         (main): Set the preference for tabbing to links.
912         * DumpRenderTree/EventSendingController.m:
913         (+[EventSendingController isSelectorExcludedFromWebScript:]):
914         (+[EventSendingController webScriptNameForSelector:]):
915         (-[EventSendingController keyDown:withModifiers:]):
916
917 2006-03-20  Eric Seidel  <eseidel@apple.com>
918
919         Reviewed by hyatt.
920
921         Fix win32 build.
922
923         * Spinneret/Spinneret/Spinneret.vcproj:
924         * Spinneret/Spinneret/WebFrame.h:
925         * Spinneret/Spinneret/WebView.cpp:
926         (WebKit::WebView::mouseMoved):
927         (WebKit::WebView::mouseDown):
928         (WebKit::WebView::mouseUp):
929         (WebKit::WebView::mouseDoubleClick):
930         (WebKit::WebView::keyPress):
931         (WebKit::WebViewWndProc):
932
933 2006-03-19  Darin Adler  <darin@apple.com>
934
935         Reviewed by Anders.
936
937         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
938         we can test it in layout tests. We don't really need tests that run with
939         pop-up blocking off at the moment. If we do some day, we can add some
940         API for turning it off in the layout test controller.
941
942         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
943         don't ignore the leak; it should no longer show up.
944
945 2006-03-17  Anders Carlsson  <andersca@mac.com>
946
947         Reviewed by Eric.
948         
949         * Scripts/install-win-extras:
950         Fetch "Program Files" location from the environment.
951         
952 2006-03-17  Eric Seidel  <eseidel@apple.com>
953
954         Reviewed by ggaren.
955
956         Fix Spinneret to pass Events as const & not as pointers.
957
958         * Spinneret/Spinneret/WebView.cpp:
959         (WebKit::WebView::mouseMoved):
960         (WebKit::WebView::mouseDown):
961         (WebKit::WebView::mouseUp):
962         (WebKit::WebView::mouseDoubleClick):
963         (WebKit::WebView::keyPress):
964
965 2006-03-17  Eric Seidel  <eseidel@apple.com>
966
967         Reviewed by justing.
968
969         Add support for basic HTML editing.
970
971         * Spinneret/Spinneret/WebView.cpp:
972         (WebKit::WebView::WebView):
973         (WebKit::WebView::keyPress):
974
975 2006-03-17  Eric Seidel  <eseidel@apple.com>
976
977         Rubber-stamped by ggaren.
978
979         Break DumpRenderTree.m up into several files to make the code more readable.
980
981         * DumpRenderTree/DumpRenderTree.h: Added.
982         * DumpRenderTree/DumpRenderTree.m:
983         (doneLoading): new accessor function for "done" global.
984         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
985         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
986         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
987         * DumpRenderTree/EditingDelegate.h: Added.
988         * DumpRenderTree/EditingDelegate.m: Added.
989         (-[EditingDelegate webViewDidChangeSelection:]):
990         * DumpRenderTree/EventSendingController.h: Added.
991         * DumpRenderTree/EventSendingController.m: Added.
992
993 2006-03-16  Eric Seidel  <eseidel@apple.com>
994
995         Reviewed by darin.
996
997         Add resize, scroll event support.
998
999         * Spinneret/Spinneret/WebView.cpp:
1000         (WebKit::WebView::mouseMoved):
1001         (WebKit::WebView::mouseDown):
1002         (WebKit::WebView::mouseUp):
1003         (WebKit::WebView::mouseDoubleClick):
1004         (WebKit::WebView::keyPress):
1005         (WebKit::WebViewWndProc):
1006         * Spinneret/Spinneret/WebView.h:
1007
1008 2006-03-16  Eric Seidel  <eseidel@apple.com>
1009
1010         Reviewed by darin.
1011
1012         Make build-webkit print correctly to stdout on windows.
1013
1014         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1015
1016 2006-03-15  Eric Seidel  <eseidel@apple.com>
1017
1018         Reviewed by mjs.
1019
1020         Fix eventSender.mouseClick() to update lastClick timestamp.
1021
1022         * DumpRenderTree/DumpRenderTree.m:
1023         (-[EventSendingController mouseClick]):
1024
1025 2006-03-15  Darin Adler  <darin@apple.com>
1026
1027         Reviewed by Maciej.
1028
1029         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1030         that had a lowercase "i" in it so this builds on case-sensitive
1031         file systems.
1032
1033 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
1034
1035         Reviewed by Eric.
1036
1037         Added run-testkjs and compare-timing-files scripts, to support super
1038         accurate JS iBench.
1039
1040         * Scripts/compare-timing-files: Added.
1041         * Scripts/run-testkjs: Added.
1042
1043 2006-03-14  Eric Seidel  <eseidel@apple.com>
1044
1045         Reviewed by mjs.
1046
1047         Make the URL bar relinquish focus on page load.
1048
1049         * Spinneret/Spinneret/Spinneret.cpp:
1050         (MyEditProc):
1051
1052 2006-03-14  Eric Seidel  <eseidel@apple.com>
1053
1054         Reviewed by mjs.
1055
1056         Fix WebView to allow KeyFocus.
1057         Add handling of space and shift-space for scrolling.
1058
1059         * Spinneret/Spinneret/WebView.cpp:
1060         (WebKit::scrollMessageForKey):
1061         (WebKit::WebViewWndProc):
1062
1063 2006-03-10  Eric Seidel  <eseidel@apple.com>
1064
1065         Reviewed by hyatt.
1066
1067         Add scrolling support into Spinneret.
1068
1069         * Spinneret/Spinneret/WebFrame.cpp:
1070         (WebKit::WebFrame::paint):
1071         * Spinneret/Spinneret/WebView.cpp:
1072         (WebKit::WebView::createWebView):
1073         (WebKit::calculateScrollDelta):
1074         (WebKit::scrollMessageForKey):
1075         (WebKit::WebViewWndProc):
1076
1077 2006-03-13  Eric Seidel  <eseidel@apple.com>
1078
1079         Reviewed by mjs.
1080
1081         Fix checksum generation on Intel machines.
1082         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1083         give a small speed boost now that it uses a shared buffer.
1084
1085         * DumpRenderTree/DumpRenderTree.m:
1086         (main):
1087         (dump):
1088         (md5HashStringForBitmap):
1089         * DumpRenderTree/ImageDiff.m:
1090         (computePercentageDifferent):
1091
1092 2006-03-13  Darin Adler  <darin@apple.com>
1093
1094         Reviewed by Tim Hatcher.
1095
1096         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1097         have it named httpd-1.3 instead.
1098
1099 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
1100
1101         Fix proposed by Mitz Pettel, reviewed by Darin.
1102
1103         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1104           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1105
1106         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1107         (sequences of slashes are equivalent to a single slash in POSIX paths, but not 
1108         in URLs).
1109
1110 2006-03-09  Darin Adler  <darin@apple.com>
1111
1112         Reviewed by John Sullivan.
1113
1114         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1115           memory leak in the plug-in tests
1116
1117         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1118         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1119         (NPP_SetWindow): Remove unneeded code to store the window pointer.
1120
1121         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1122         Moved the browser global in here since it's declared in this file's header.
1123         Changed the code to set up the pluginClass structure to not use function
1124         pointer casts. Those are dangerous because they can hide many types of mismatch.
1125         And indeed when I did this I discovered that many functions were missing their
1126         boolean return values or had parameter declarations with the wrong types.
1127         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1128         clarity. Added boolean return value: return true when successful and false when not.
1129         (pluginSetProperty): Added boolean return value, return false since we have no
1130         properties we can set.
1131         (pluginInvoke): Added boolean return value. Return true when successful and false
1132         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1133         return value from calling the browser. Changed code to put the strings in malloc
1134         buffers instead of relying on GCC's extension that allows variable-sized arrays
1135         on the stack.
1136         (pluginInvokeDefault): Added boolean return value, return false since we have no
1137         default function to call.
1138         (pluginInvalidate): Added missing parameter. Removed comment.
1139         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1140         to cast the result of malloc.
1141         (pluginDeallocate): Removed uneeded cast.
1142
1143         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1144         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1145         that match NPObject's fields. Removed unused NPWindow pointer.
1146
1147 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1148
1149         Test: fast/events/event-sender-mouse-click.html
1150
1151         Reviewed by Darin.
1152
1153         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1154           DRT hangs when doing eventSender.mouseDown on native widgets
1155
1156         * DumpRenderTree/DumpRenderTree.m:
1157         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1158         (-[EventSendingController mouseClick]): Simulates a click in a native
1159         widget by queueing a mouseUp before sending the mouseDown, so that
1160         the widget's mouse tracking event loop doesn't hang indefinitely.
1161
1162 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
1163
1164         Reviewed by Eric.
1165
1166         - make link clicks work by handling link click requests
1167         from WebCore
1168
1169         * Spinneret/Spinneret/Spinneret.cpp:
1170         (updateLocationBar):
1171         * Spinneret/Spinneret/Spinneret.h:
1172         * Spinneret/Spinneret/WebFrame.cpp:
1173         (WebKit::WebFrame::WebFrame):
1174         (WebKit::WebFrame::openURL):
1175         (WebKit::WebFrame::loadURL):
1176         * Spinneret/Spinneret/WebFrame.h:
1177
1178 2006-03-08  Eric Seidel  <eseidel@apple.com>
1179
1180         Reviewed by mjs.
1181
1182         Focus URL bar on Spinneret launch, remove border from WebView.
1183         Stop WebFrame from deleting the job (prevent crash).
1184
1185         * Spinneret/Spinneret/Spinneret.cpp:
1186         (_tWinMain):
1187         * Spinneret/Spinneret/WebFrame.cpp:
1188         (WebKit::WebFrame::receivedAllData):
1189         (WebKit::WebFrame::paint):
1190         * Spinneret/Spinneret/WebView.cpp:
1191         (WebKit::WebView::createWebView):
1192
1193 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
1194
1195         Reviewed by Darin.
1196
1197         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1198         (pluginInvoke): Added a method to test getURL.
1199
1200 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
1201
1202         Reviewed by Eric.
1203
1204         - load URLs, not file paths, in Spinneret
1205
1206         * Spinneret/Spinneret/Spinneret.cpp:
1207         (MyEditProc):
1208         * Spinneret/Spinneret/Spinneret.vcproj:
1209         * Spinneret/Spinneret/WebFrame.cpp:
1210         (WebKit::WebFrame::loadURL):
1211         (WebKit::WebFrame::receivedData):
1212         (WebKit::WebFrame::receivedAllData):
1213         * Spinneret/Spinneret/WebFrame.h:
1214         * Spinneret/Spinneret/WebView.cpp:
1215         (WebKit::WebView::WebView):
1216
1217 2006-03-08  Darin Adler  <darin@apple.com>
1218
1219         Reviewed by Eric.
1220
1221         - fixed AppleScript layout test results to not be endian-dependent
1222           (Hyatt complained to me about this one)
1223
1224         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1225         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1226         (which are endian-dependent).
1227
1228 2006-03-07  Darin Adler  <darin@apple.com>
1229
1230         Reviewed by Anders.
1231
1232         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1233           unwanted output while running layout tests
1234
1235         * DumpRenderTree/DumpRenderTree.m:
1236         (checkedMalloc): Added.
1237         (checkedRealloc): Added.
1238         (makeLargeMallocFailSilently): Added.
1239         (main): Call makeLargeMallocFailSilently.
1240
1241 2006-03-06  Darin Adler  <darin@apple.com>
1242
1243         * Scripts/do-webcore-rename: Add some more planned renaming.
1244
1245 2006-03-06  Eric Seidel  <eseidel@apple.com>
1246
1247         Reviewed by hyatt.
1248
1249         * Spinneret/Spinneret/WebFrame.cpp:
1250         (WebKit::WebFrame::paint): force layout before painting
1251
1252 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
1253
1254         Reviewed by darin
1255         
1256         Sent the windowNumber when sending events.
1257         Added leapForward so that we don't have to spend time waiting
1258         in layout tests that do mouse operations that require delays.
1259
1260         * DumpRenderTree/DumpRenderTree.m:
1261         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1262         (+[EventSendingController webScriptNameForSelector:]):
1263         (-[EventSendingController currentEventTime]):
1264         (-[EventSendingController leapForward:]):
1265         (-[EventSendingController mouseDown]):
1266         (-[EventSendingController mouseUp]):
1267         (-[EventSendingController mouseMoveToX:Y:]):
1268
1269 2006-03-05  Darin Adler  <darin@apple.com>
1270
1271         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1272         Script now works (after landing my two pending patches).
1273
1274 2006-03-05  Darin Adler  <darin@apple.com>
1275
1276         - check in a script to do a "big" rename in WebCore
1277           (can be run whenever we're ready to do it)
1278
1279         * Scripts/do-webcore-rename: Added.
1280
1281 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1282
1283         Reviewed by Eric.
1284
1285         * Spinneret/Spinneret/WebFrame.cpp:
1286         (WebKit::WebFrame::loadFilePath): Close file when done.
1287
1288 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1289
1290         Reviewed by Darin, landed by ap.
1291
1292         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1293           Mouse moved events do not work in DumpRenderTree
1294
1295         Test: fast/events/event-sender-mouse-moved.html
1296
1297         * DumpRenderTree/DumpRenderTree.m:
1298         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1299
1300 2006-03-04  Eric Seidel  <eseidel@apple.com>
1301
1302         Reviewed by hyatt.
1303
1304         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1305         Disable background erase to avoid tearing.
1306         Fix potential memory smasher from extra long urls. 
1307
1308         * Spinneret/Spinneret/Spinneret.cpp:
1309         (MyRegisterClass):
1310         * Spinneret/Spinneret/Spinneret.vcproj:
1311         * Spinneret/Spinneret/WebFrame.cpp:
1312         (WebKit::WebFrame::loadFilePath):
1313         (WebKit::WebFrame::paint):
1314         * Spinneret/Spinneret/WebView.cpp:
1315         (WebKit::registerWebViewWithInstance):
1316
1317 2006-03-04  Eric Seidel  <eseidel@apple.com>
1318
1319         Reviewed by ggaren.
1320
1321         Hang WebView pointer off of HWND (gets rid of global hack).
1322         Remove MessageBox displayed on url change.
1323
1324         * Spinneret/Spinneret/Spinneret.cpp:
1325         (WndProc):
1326         (MyEditProc):
1327         * Spinneret/Spinneret/WebView.cpp:
1328         (WebKit::registerWebViewWithInstance):
1329         (WebKit::WebView::createWebView):
1330         (WebKit::WebViewWndProc):
1331
1332 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
1333
1334         Reviewed by Eric.
1335
1336         Automatically kill httpd if it appears to be already running.
1337
1338         * Scripts/run-webkit-tests: 
1339
1340 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
1341
1342         Reviewed by Eric.
1343
1344         * Spinneret/Spinneret/WebFrame.cpp:
1345         (WebKit::WebFrame::loadFilePath): Improved local file loading.
1346
1347 2006-03-03  Eric Seidel  <eseidel@apple.com>
1348
1349         Reviewed by hyatt.
1350
1351         A few more fixes to make run-webkit-tests really work on win32.
1352
1353         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1354         (localFileTest):
1355         * Scripts/run-webkit-tests:
1356
1357 2006-03-03  Eric Seidel  <eseidel@apple.com>
1358
1359         Reviewed by darin.
1360
1361         Make run-webkit-tests work on win32.
1362
1363         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1364         (localFileTest):
1365         (dumpRenderTreeMain):
1366         (dumpRenderTreeToStdOut):
1367         (serializeToStdOut):
1368         (main):
1369         * Scripts/run-webkit-tests:
1370         * Scripts/webkitdirs.pm:
1371         * Spinneret/Spinneret/WebView.cpp:
1372         (WebKit::WebView::WebView):
1373
1374 2006-03-03  Eric Seidel  <eseidel@apple.com>
1375
1376         Reviewed by mjs.
1377
1378         Add WebFrame class (to hold Frame and FrameView).
1379         Add Location bar support to Spinneret.
1380
1381         * Spinneret/Spinneret/Spinneret.cpp:
1382         (resizeSubViews):
1383         (_tWinMain):
1384         (WndProc):
1385         (MyEditProc):
1386         * Spinneret/Spinneret/Spinneret.vcproj:
1387         * Spinneret/Spinneret/WebFrame.cpp: Added.
1388         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1389         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1390         (WebKit::WebFrame::WebFrame):
1391         (WebKit::WebFrame::loadFilePath):
1392         (WebKit::WebFrame::loadHTMLString):
1393         (WebKit::WebFrame::paint):
1394         (WebKit::WebFrame::impl):
1395         (WebKit::WebFrame::viewImpl):
1396         * Spinneret/Spinneret/WebFrame.h: Added.
1397         * Spinneret/Spinneret/WebView.cpp:
1398         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1399         (WebKit::WebView::WebView):
1400         (WebKit::WebView::windowHandle):
1401         (WebKit::WebView::mainFrame):
1402         (WebKit::WebView::mouseMoved):
1403         (WebKit::WebView::mouseDown):
1404         (WebKit::WebView::mouseUp):
1405         (WebKit::WebView::mouseDoubleClick):
1406         (WebKit::WebViewWndProc):
1407         * Spinneret/Spinneret/WebView.h:
1408
1409 2006-03-02  Eric Seidel  <eseidel@apple.com>
1410
1411         Reviewed by ggaren.
1412
1413         * Spinneret/Spinneret/WebView.cpp:
1414         (WebKit::registerWebViewWithInstance):
1415         (WebKit::WebView::WebView):
1416         (WebKit::WebView::mouseMoved):
1417         (WebKit::WebView::mouseDown):
1418         (WebKit::WebView::mouseUp):
1419         (WebKit::WebView::mouseDoubleClick):
1420         (WebKit::WebViewWndProc):
1421         * Spinneret/Spinneret/WebView.h:
1422
1423 2006-03-01  Eric Seidel  <eseidel@apple.com>
1424
1425         Reviewed by andersca.
1426
1427         Make spinneret take advantage of the new GraphicsContextCairo.
1428
1429         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1430         (main): updated to match style guidelines.
1431         * Spinneret/Spinneret/Spinneret.cpp:
1432         (_tWinMain):
1433         * Spinneret/Spinneret/WebView.cpp:
1434         (WebKit::registerWebViewWithInstance):
1435         (WebKit::WebView::WebView):
1436         (WebKit::WebView::~WebView):
1437         (WebKit::WebView::drawRect):
1438         (WebKit::WndProc):
1439         * Spinneret/Spinneret/WebView.h:
1440
1441 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
1442
1443         Reviewed by darin
1444         
1445         Give the events that eventSender sends a unique eventNumber
1446
1447         * DumpRenderTree/DumpRenderTree.m:
1448         (-[EventSendingController mouseDown]):
1449         (-[EventSendingController mouseUp]):
1450         (-[EventSendingController mouseMoveToX:Y:]):
1451
1452 2006-03-01  Eric Seidel  <eseidel@apple.com>
1453
1454         Reviewed by hyatt.
1455
1456         Add a stub win32 application to test WebCore drawing on windows.
1457
1458         * Spinneret: Added.
1459         * Spinneret/Spinneret: Added.
1460         * Spinneret/Spinneret.sln: Added.
1461         * Spinneret/Spinneret/Resource.h: Added.
1462         * Spinneret/Spinneret/Spinneret.cpp: Added.
1463         (_tWinMain):
1464         (MyRegisterClass):
1465         (InitInstance):
1466         (WndProc):
1467         (About):
1468         * Spinneret/Spinneret/Spinneret.h: Added.
1469         * Spinneret/Spinneret/Spinneret.ico: Added.
1470         * Spinneret/Spinneret/Spinneret.rc: Added.
1471         * Spinneret/Spinneret/Spinneret.vcproj: Added.
1472         * Spinneret/Spinneret/WebView.cpp: Added.
1473         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1474         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1475         (WebKit::registerWebViewWithInstance):
1476         (WebKit::WebView::createWebView):
1477         (WebKit::WebView::WebView):
1478         (WebKit::WebView::~WebView):
1479         (WebKit::WebView::drawRect):
1480         (WebKit::WebView::windowHandle):
1481         (WebKit::WndProc):
1482         * Spinneret/Spinneret/WebView.h: Added.
1483         * Spinneret/Spinneret/small.ico: Added.
1484         * Spinneret/Spinneret/stdafx.cpp: Added.
1485         * Spinneret/Spinneret/stdafx.h: Added.
1486
1487 2006-02-28  Eric Seidel  <eseidel@apple.com>
1488
1489         Reviewed by mjs.
1490
1491         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1492         (main): add ability to dump render tree and read from a local file.
1493
1494 2006-02-27  Eric Seidel  <eseidel@apple.com>
1495
1496         Reviewed by darin.
1497
1498         * Scripts/install-win-extras: fix dll permissions & download zlib too.
1499
1500 2006-02-27  Eric Seidel  <eseidel@apple.com>
1501
1502         Reviewed by ggaren.
1503
1504         Test new KConfig -> PlugInInfoStore change.
1505         http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1506
1507         * DumpRenderTree/DumpRenderTree.m:
1508         (main): load test netscape plugin
1509         * Scripts/run-webkit-tests: style update
1510
1511 2006-02-24  Eric Seidel  <eseidel@apple.com>
1512
1513         Reviewed by mjs.
1514
1515         Make DumpRenderTree link against icu.
1516
1517         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1518
1519 2006-02-24  Eric Seidel  <eseidel@apple.com>
1520
1521         Reviewed by mjs.
1522
1523         Make DumpRenderTree link against libxml, etc.
1524
1525         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1526
1527 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1528
1529         Reviewed and landed by Anders.
1530         
1531         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1532         getting called from the run loop, making the view render each test and thus slowing
1533         down the tests.
1534
1535         * DumpRenderTree/DumpRenderTree.m:
1536         (main): Set the offscreen window to not autodisplay.
1537
1538 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1539
1540         Reviewed by Darin.
1541
1542         - Turn http tests back on by default.
1543         - Wait for Apache to actually start serving requests.
1544         - Get user id from a built-in variable rather than an external command; 
1545         don't pass the group. 
1546
1547         * Scripts/run-webkit-tests: 
1548
1549 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1550
1551         Suggested by Mitz Pettel, reviewed by Darin.
1552
1553         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1554         can run CGIs even if the permissions are 700 or 600.
1555
1556 2006-02-23  Darin Adler  <darin@apple.com>
1557
1558         Collaborating with Alexey.
1559
1560         - turn off http tests by default until we figure out how to get them
1561           to run even when permissions on CGI files are 700 instead of 755
1562
1563         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1564
1565 2006-02-23  Eric Seidel  <eseidel@apple.com>
1566
1567         Add *.user to ignore list.
1568
1569 2006-02-23  Eric Seidel  <eseidel@apple.com>
1570
1571         Remove binary file which shouldn't have been commited (and add to ignore list).
1572
1573         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1574         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1575
1576 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1577
1578         Reviewed by Eric.
1579
1580         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1581
1582 2006-02-22  Eric Seidel  <eseidel@apple.com>
1583
1584         Reviewed by Tim Hatcher.
1585
1586         Fix install-win-extras to not try to re-install setx if installed.
1587
1588         * Scripts/install-win-extras:
1589
1590 2006-02-22  Eric Seidel  <eseidel@apple.com>
1591
1592         One more file possibly missing from previous commit?
1593
1594         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1595         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1596
1597 2006-02-22  Eric Seidel  <eseidel@apple.com>
1598
1599         Reviewed by justing.
1600
1601         Files missing from previous commit.
1602
1603         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1604         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1605
1606 2006-02-22  Eric Seidel  <eseidel@apple.com>
1607
1608         Rubber-stamped by justing.
1609
1610         Corrected path for DumpRenderTree.intermediate files
1611
1612         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1613
1614 2006-02-22  Eric Seidel  <eseidel@apple.com>
1615
1616         Reviewed by justing.
1617
1618         Fixed build-dumprendertree to exit with correct error codes.
1619
1620         * Scripts/build-dumprendertree:
1621
1622 2006-02-22  Eric Seidel  <eseidel@apple.com>
1623
1624         Reviewed by justing.
1625
1626         Update build scripts to generalize building on Win32, and allow
1627         building of DumpRenderTree on Win32 from build-dumprendertree.
1628
1629         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1630         (main):
1631         * Scripts/build-dumprendertree:
1632         * Scripts/build-webkit:
1633         * Scripts/webkitdirs.pm:
1634
1635 2006-02-22  Eric Seidel  <eseidel@apple.com>
1636
1637         Reviewed by hyatt.
1638
1639         * DumpRenderTree/DumpRenderTree.vcproj: Added.
1640         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1641         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1642         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1643         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1644         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1645         (_tmain):
1646         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1647         * Scripts/build-webkit: make build-webkit cleanup after itself
1648
1649 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1650
1651         Reviewed by Darin.
1652
1653         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1654           Some minor fixes to http tests.
1655
1656         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1657
1658 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
1659
1660         Reviewed by Darin.
1661
1662         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1663           Would like to use locally installed Apache for testing.
1664
1665         Added two run-webkit-tests options:
1666           --http (--nohttp)  - whether to launch Apache (defaults to yes);
1667           --port - which port to listen on (defaults to 8000).
1668
1669         Tests in LayoutTests/http are not run directly, and Apache is used instead.
1670         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1671         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1672
1673         Also added support for .shtml and .text files. Text files give an empty 
1674         *-expected.txt, but a correct image.
1675
1676         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1677
1678         * Scripts/run-webkit-tests:
1679
1680 2006-02-21  Darin Adler  <darin@apple.com>
1681
1682         Suggested by Mark Rowe.
1683
1684         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1685         reporting leak counts.
1686
1687 2006-02-18  Maciej Stachowiak <mjs@apple.com>
1688
1689         Reviewed by Darin.
1690
1691         - Added install-win-extras script which installs some extra 
1692         programs and libraries, and does Windows first-time setup.
1693
1694         * Scripts/build-webkit: Add a newline between build results.
1695         * Scripts/install-win-extras: Added.
1696
1697 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1698
1699         Reviewed by Darin.
1700
1701         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1702           DumpRenderTree should be able to load files via HTTP
1703
1704         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1705         Handle tests starting with "http://" as real URLs, not file system paths.
1706
1707 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1708
1709         Reviewed by Maciej.
1710
1711         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1712           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1713
1714         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1715
1716 2006-02-18  Darin Adler  <darin@apple.com>
1717
1718         * Scripts/commit-log-editor: Added.
1719
1720 2006-02-17  Eric Seidel  <eseidel@apple.com>
1721
1722         Reviewed by hyatt.
1723
1724         Make Win32 have the same default "WebKitBuild" directory behavior.
1725
1726         * Scripts/build-webkit:
1727         * Scripts/webkitdirs.pm:
1728
1729 2006-02-17  Eric Seidel  <eseidel@apple.com>
1730
1731         Reviewed by Beth.
1732
1733         * Scripts/build-webkit: make win32 actually report errors
1734
1735 2006-02-17  Eric Seidel  <eseidel@apple.com>
1736
1737         Reviewed by adele.
1738
1739         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1740
1741 2006-02-17  Eric Seidel  <eseidel@apple.com>
1742
1743         Reviewed by adele.
1744
1745         * Scripts/run-webkit-tests: Ignore flash leaks
1746
1747 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
1748
1749         Reviewed by darin
1750         
1751         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1752         Add drag and drop support to DumpRenderTree
1753         
1754         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1755         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
1756
1757         * DumpRenderTree/DumpRenderTree.m:
1758         (main):
1759         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1760         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1761         (-[WaitUntilDoneDelegate webViewFocus:]):
1762         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1763         (+[LayoutTestController webScriptNameForSelector:]):
1764         (-[LayoutTestController setWindowIsKey:]):
1765         (-[LayoutTestController setMainFrameIsFirstResponder:]):
1766         (-[EventSendingController init]):
1767         (-[EventSendingController mouseDown]):
1768         (-[EventSendingController mouseUp]):
1769         (-[EventSendingController mouseMoveToX:Y:]):
1770         (dumpRenderTree):
1771         (-[DumpRenderTreeWindow isKeyWindow]):
1772         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1773         (-[DumpRenderTreeDraggingInfo dealloc]):
1774         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1775         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1776         (-[DumpRenderTreeDraggingInfo draggingLocation]):
1777         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1778         (-[DumpRenderTreeDraggingInfo draggedImage]):
1779         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1780         (-[DumpRenderTreeDraggingInfo draggingSource]):
1781         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1782         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1783         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1784         * DumpRenderTree/TextInputController.m:
1785         (-[TextInputController firstRectForCharactersFrom:length:]):
1786         (-[TextInputController characterIndexForPointX:Y:]):
1787         
1788 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
1789
1790         Reviewed by Eric.
1791
1792         * DumpRenderTree/DumpRenderTree.m:
1793         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
1794         Added a dummy method for the sake of LayoutTests/plugins/
1795         undefined-property-crash.html. (It tests a crash due to fallback 
1796         object use. WebCore won't create a fallback object if the method is 
1797         not defined.)
1798
1799 2006-02-14  Eric Seidel  <eseidel@apple.com>
1800
1801         Reviewed by adele.
1802
1803         * Scripts/run-webkit-tests: added --results-directory (-o) option
1804
1805 2006-02-09  Eric Seidel  <eseidel@apple.com>
1806
1807         Rubber-stamped by mjs.
1808
1809         Renamed split-class to split-file-by-class.
1810
1811         * Scripts/build-webkit: Updated copyright.
1812         * Scripts/split-class: Removed.
1813         * Scripts/split-file-by-class: Added.
1814
1815 2006-02-08  Eric Seidel  <eseidel@apple.com>
1816
1817         Rubber-stamped by mjs.
1818
1819         Adding new script for splitting multi-class files.
1820         Also adding supporting perl module with space removing heuristics.
1821
1822         * Scripts/SpacingHeuristics.pm: Added.
1823         * Scripts/build-drawtest: updated copyright header
1824         * Scripts/split-class: Added.
1825
1826 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
1827
1828         Reviewed by thatcher
1829         
1830         Changes to test fix for:
1831         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1832         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1833
1834         * DumpRenderTree/DumpRenderTree.m:
1835         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1836         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1837         (+[LayoutTestController webScriptNameForSelector:]):
1838         (-[LayoutTestController setWindowHasFocus:]):
1839         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1840
1841 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
1842
1843         Reviewed by Timothy.
1844
1845         Support automated testing of AppleScript "do JavaScript" command
1846         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1847
1848         * DumpRenderTree/AppleScriptController.h: Added.
1849         * DumpRenderTree/AppleScriptController.m: Added.
1850         * DumpRenderTree/DumpRenderTree.m:
1851         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1852         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1853
1854 2006-02-06  Eric Seidel  <eseidel@apple.com>
1855
1856         Reviewed by hyatt.
1857
1858         Fix build-webkit for use on win32 (unblocks buildbot usage).
1859         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1860
1861         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1862         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1863
1864 2006-02-06  Eric Seidel  <eseidel@apple.com>
1865
1866         Rubber-stamped by darin & mjs.
1867
1868         Added new support directory for build slave scripts.
1869         Committing the first script, for use by the PLT's build slave.
1870         This script is used to kick of the PLT (Page Load Test) slave.
1871
1872         * BuildSlaveSupport: Added.
1873         * BuildSlaveSupport/run-performance-tests: Added.
1874
1875 2006-02-06  Eric Seidel  <eseidel@apple.com>
1876
1877         Rubber-stamped by darin.
1878
1879         Adding setSourceDir for scripts stored in non-standard locations.
1880
1881         * Scripts/webkitdirs.pm:
1882
1883 2006-02-04  Darin Adler  <darin@apple.com>
1884
1885         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1886         Configuration files that say Development or Deployment in them.
1887
1888 2006-02-04  Darin Adler  <darin@apple.com>
1889
1890         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1891         wrapper already in the directory.
1892         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1893         these haven't been working at all.
1894         * Scripts/svn-unapply: Ditto.
1895
1896 2006-02-03  Timothy Hatcher  <timothy@apple.com>
1897
1898         Reviewed by Justin.
1899
1900         Renamed configuration names to Debug, Release and Production.
1901
1902         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1903         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1904         * Scripts/set-webkit-configuration:
1905         * Scripts/webkitdirs.pm:
1906
1907 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
1908
1909         Reviewed by thatcher
1910         
1911         Enabled spell checking for layout tests.
1912         
1913         * DumpRenderTree/DumpRenderTree.m:
1914         (main):
1915
1916 2006-01-29  Darin Adler  <darin@apple.com>
1917
1918         * Scripts/svn-apply: Added comments about things we should do to improve.
1919         * Scripts/svn-create-patch: Ditto.
1920         * Scripts/svn-unapply: Ditto.
1921
1922 2006-01-28  Darin Adler  <darin@apple.com>
1923
1924         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1925         already there, even if the checksum is correct.
1926
1927 2006-01-27  Eric Seidel  <eseidel@apple.com>
1928
1929         Reviewed by adele.
1930
1931         * Scripts/run-webkit-tests: make new tests use absolute urls
1932
1933 2006-01-27  Eric Seidel  <eseidel@apple.com>
1934
1935         Reviewed by mjs.
1936
1937         make run-webkit-tests output total leaks count
1938
1939         * Scripts/run-webkit-tests:
1940
1941 2006-01-27  Eric Seidel  <eseidel@apple.com>
1942
1943         Reviewed by mjs.
1944
1945         run-webkit-test --leaks crashes (malloc logging runs out of memory)
1946         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
1947
1948         * Scripts/run-webkit-tests: fix --leaks to not crash
1949
1950 2006-01-26  Eric Seidel  <eseidel@apple.com>
1951
1952         Reviewed by darin.
1953
1954         run-webkit-tests should produce a self-contained results directory
1955         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
1956
1957         * Scripts/run-webkit-tests: copy failing items to results dir.
1958
1959 2006-01-23  Darin Adler  <darin@apple.com>
1960
1961          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
1962            need script to update localizable strings file in WebKit
1963
1964         * Scripts/update-webkit-localizable-strings: Added.
1965
1966 2006-01-23  Darin Adler  <darin@apple.com>
1967
1968         - added a couple of scripts -- more about these two soon
1969
1970         * Scripts/extract-localizable-strings: Added.
1971         * Scripts/merge-changelog: Added.
1972
1973 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
1974
1975         Reviewed by Anders.
1976         
1977         Build fix.  build-webkit dies with "invalid build action: (empty string)"
1978
1979         * Scripts/build-webkit:
1980         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
1981
1982 2006-01-22  Eric Seidel  <eseidel@apple.com>
1983
1984         Reviewed by anders.
1985
1986         Fix --no-svg option to use XCode flags instead of gcc flags.
1987
1988         * Scripts/build-webkit:
1989
1990 2006-01-22  Eric Seidel  <eseidel@apple.com>
1991
1992         Reviewed by anders.
1993
1994         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
1995
1996         * Scripts/build-webkit:
1997
1998 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
1999
2000         Reviewed by eseidel.
2001
2002         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2003         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2004
2005         * Scripts/build-drawtest: Changed bareword 'true' to 1.
2006         * Scripts/run-drawtest: Changed bareword 'true' to 1.
2007
2008 2006-01-19  Darin Adler  <darin@apple.com>
2009
2010         * Scripts/report-include-statistics: Added a new script.
2011
2012 2006-01-19  Timothy Hatcher  <timothy@apple.com>
2013
2014         * Scripts/build-webkit: include JavaScriptGlue in the build
2015
2016 2006-01-19  Darin Adler  <darin@apple.com>
2017
2018         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2019         spaces in it by using the form of open that treats each argument as a string
2020         rather than backtick syntax for reading the output of the nm tool.
2021
2022 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
2023
2024         Reviewed by Darin.
2025         
2026         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2027         detect if there are any new tests
2028
2029         * Scripts/prepare-ChangeLog:
2030
2031 2006-01-12  Darin Adler  <darin@apple.com>
2032
2033         - removed some of the cvs-specific scripts -- not needed for this project any more
2034
2035         * Scripts/cvs-abandon: Removed.
2036         * Scripts/cvs-apply: Removed.
2037         * Scripts/cvs-create-patch: Removed.
2038         * Scripts/cvs-unapply: Removed.
2039
2040 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
2041
2042         Reviewed by eseidel.  Committed by eseidel.
2043
2044         - run-webkit-tests always launches Safari when tests fail
2045         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2046
2047         * Scripts/run-webkit-tests:
2048         Add a command-line flag to prevent Safari being launched to display failed
2049         tests.  Always exit with non-zero status when tests have failed.
2050
2051 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
2052
2053         Reviewed by eseidel.  Committed by eseidel.
2054
2055         - build-webkit should exit with non-zero status when build fails
2056         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2057
2058         * Scripts/build-webkit:
2059         Use correct bits of subprocess exit code when passing back through
2060         as build-webkit's exit code.
2061
2062 2006-01-10  Eric Seidel  <eseidel@apple.com>
2063
2064         Restored corrupted nibs from TOT CVS.
2065
2066         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2067         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2068         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2069         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2070         * DrawTest/English.lproj/Inspector.nib: Replaced.
2071         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2072         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2073         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2074         * DrawTest/English.lproj/MainMenu.nib: Replaced.
2075         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2076         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2077         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2078         * DrawTest/English.lproj/TestViewer.nib: Replaced.
2079         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2080         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2081         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2082
2083 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
2084
2085         Reviewed by eseidel.  Committed by eseidel.
2086
2087         DrawTestView now subclasses WebView instead of DrawView.
2088
2089         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2090         * DrawTest/DrawTestDocument.h:
2091         * DrawTest/DrawTestDocument.m:
2092         (-[DrawTestDocument dealloc]):
2093         (-[DrawTestDocument readFromFile:ofType:]):
2094         (-[DrawTestDocument windowControllerDidLoadNib:]):
2095         (-[DrawTestDocument dumpSVGToConsole:]):
2096         (-[DrawTestDocument openSourceForSelection:]):
2097         (-[DrawTestDocument dataRepresentationOfType:]):
2098         * DrawTest/DrawTestToolbarController.h:
2099         * DrawTest/DrawTestToolbarController.m:
2100         (-[DrawTestToolbarController initWithDrawView:]):
2101         (-[DrawTestToolbarController clickedToolbarItem:]):
2102         (-[DrawTestToolbarController validateToolbarItem:]):
2103         * DrawTest/DrawTestView.h:
2104         * DrawTest/DrawTestView.m:
2105         (-[DrawTestView initWithFrame:]):
2106         (-[DrawTestView setDocument:]):
2107         * DrawTest/SVGTest.h:
2108         * DrawTest/SVGTest.m:
2109         (+[SVGTest sharedDrawView]):
2110         (-[SVGTest generateCompositeIfNecessary]):
2111         * DrawTest/TestController.h:
2112         * DrawTest/TestController.m:
2113         (-[TestController awakeFromNib]):
2114         (-[TestController setSelectedTest:]):
2115         (-[TestController openTestViewerForSelection:]):
2116         (-[TestController toggleViewersScaleRule:]):
2117         * DrawTest/TestViewerSplitView.m:
2118         (-[TestViewerSplitView drawRect:]):
2119
2120 2006-01-10  Anders Carlsson  <andersca@mac.com>
2121
2122         Reviewed by Timothy.
2123
2124         * DumpRenderTree/DumpRenderTree.m:
2125         (main): Set the default language to "en", so language tests will work.
2126
2127 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
2128
2129         Reviewed by Eric.
2130         
2131         - script to generate HTML wrappers for JS tests
2132         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2133
2134         * Scripts/make-js-test-wrappers: Added.
2135
2136 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
2137
2138         Reviewed by Eric.
2139
2140         * Scripts/svn-create-patch: Fix to work when passed directory names.
2141
2142 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
2143
2144         Reviewed by Eric.
2145
2146         - Added back/forward navigation support to DumpRenderTree. Hopefully we
2147         can start writing automated loader tests now. I have one in the works.
2148
2149         * DumpRenderTree/DumpRenderTree.m:
2150         (main): Construct global navigationController on entry, destroy on exit.
2151         Set frame to nil on exit too, to match all the other global objects. 
2152         (Probably academic, since the process is exiting, anyway.)
2153         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2154         navigationController, in case it wants to kick off a load.
2155         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2156         the navigationController to scripting.
2157
2158         New class, should be straightforward:
2159
2160         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2161         * DumpRenderTree/NavigationController.h: Added.
2162         * DumpRenderTree/NavigationController.m: Added.
2163
2164         (+[NavigationController isSelectorExcludedFromWebScript:]):
2165         (+[NavigationController webScriptNameForSelector:]):
2166         (-[NavigationController setPendingScript:]):
2167         (-[NavigationController setPendingRequest:]):
2168         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2169         (-[NavigationController webView:didFinishLoadForFrame:]):
2170         (-[NavigationController dealloc]):
2171
2172 2006-01-08  Timothy Hatcher  <timothy@apple.com>
2173
2174         Removed this script, no longer needs with the Subversion switch.
2175
2176         * checkout: Removed.
2177
2178 2006-01-08  Timothy Hatcher  <timothy@apple.com>
2179
2180         Removes some stray tabs.
2181
2182         * Scripts/update-webkit:
2183
2184 2005-01-07  Eric Seidel  <eseidel@apple.com>
2185
2186         Reviewed by darin.
2187
2188         build-webkit should pass on build arguments from command line
2189         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2190
2191         * Scripts/build-webkit:
2192
2193 2006-01-07  Eric Seidel  <eseidel@apple.com>
2194
2195         Reviewed by mjs & xenon.
2196
2197         * Scripts/update-webkit: support Internal updates as well
2198
2199 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
2200
2201         Temporarily rolling out plugin support from DumpRenderTree because it
2202         caused lots of layout test regressions.
2203
2204         * DumpRenderTree/DumpRenderTree.m:
2205         (main): Remove invisible window added to support plugins.
2206
2207 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
2208
2209         Reviewed by darin.
2210
2211         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2212         Add plugin support to DumpRenderTree
2213
2214         Also wrote first test plugin.
2215
2216         * DumpRenderTree/DumpRenderTree.m:
2217         (main):
2218         (1) Put the WebView in an invisible window, because PlugIns are
2219         optimized not to load if there's no parent window.
2220         (2) Tell WebKit to load any PlugIns in the directory from which we 
2221         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
2222         and they'll load automagically during layout testing, but they won't be
2223         added to the user's system, hosing apps like Safari.
2224
2225         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2226         test PlugIn to project.
2227
2228         PlugIn added to project:
2229
2230         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2231         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2232         (getPluginClass):
2233         (initializeIdentifiers):
2234         (pluginHasProperty):
2235         (pluginHasMethod):
2236         (pluginGetProperty):
2237         (pluginSetProperty):
2238         (pluginInvoke):
2239         (pluginInvokeDefault):
2240         (pluginInvalidate):
2241         (pluginAllocate):
2242         (pluginDeallocate):
2243         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2244         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2245         (NP_Initialize):
2246         (NP_GetEntryPoints):
2247         (NP_Shutdown):
2248         (NPP_New):
2249         (NPP_Destroy):
2250         (NPP_SetWindow):
2251         (NPP_NewStream):
2252         (NPP_DestroyStream):
2253         (NPP_WriteReady):
2254         (NPP_Write):
2255         (NPP_StreamAsFile):
2256         (NPP_Print):
2257         (NPP_HandleEvent):
2258         (NPP_URLNotify):
2259         (NPP_GetValue):
2260         (NPP_SetValue):
2261
2262 2006-01-04  Timothy Hatcher  <timothy@apple.com>
2263
2264         Reviewed by Darin.
2265         Created by Eric.
2266         Tweaked and tested by me.
2267
2268         New scripts to work with Subversion when the switch happens.
2269         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2270
2271         * Scripts/svn-apply: Added.
2272         * Scripts/svn-create-patch: Added.
2273         * Scripts/svn-unapply: Added.
2274
2275 2005-12-30  Eric Seidel  <eseidel@apple.com>
2276
2277         Reviewed by mjs.
2278
2279         Move WebView width/height logic into DumpRenderTree to support
2280         running the W3C SVG 1.1 tests along side other tests.  The W3C
2281         SVG 1.1 tests require a 480x360 view.
2282
2283         * DumpRenderTree/DumpRenderTree.m:
2284         (main): don't accept width/height
2285         (dump): override width/height for SVG/W3C
2286         * Scripts/run-webkit-tests: don't pass width/height
2287
2288 2005-12-30  Eric Seidel  <eseidel@apple.com>
2289
2290         No review, only removing dead code.
2291
2292         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2293         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2294
2295 2005-12-30  Eric Seidel  <eseidel@apple.com>
2296
2297         Reviewed by darin.
2298
2299         DumpRenderTree should set a consistent color profile while running
2300         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2301
2302         Creates consistent colormatched renderings on every test machine
2303         using the only way possible with Tiger APIs: by setting the
2304         system color profile on the test machine for the duration of the
2305         tests.  This will (unfortunately) cause colors to change while
2306         running DumpRenderTree.  This can also cause "permanent" color
2307         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2308         This is far from ideal, but it's be best way we've found to deal
2309         with the issue for now.
2310
2311         * DumpRenderTree/DumpRenderTree.m:
2312         (restoreColorSpace):
2313         (setDefaultColorProfileToRGB):
2314         (main):
2315
2316 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
2317
2318         Reviewed by Darin Adler.
2319
2320         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2321           cvs-create-patch --include produces incorrect paths
2322
2323         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2324
2325 2005-12-19  Eric Seidel  <eseidel@apple.com>
2326
2327         Reviewed by darin.
2328
2329         * Scripts/run-webkit-tests: stop /etc/catalog warnings
2330
2331 2005-12-19  Darin Adler  <darin@apple.com>
2332
2333         Reviewed by Eric Seidel.
2334
2335         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2336           WebKit needs to use a local pasteboard during testing
2337
2338         * DumpRenderTree/DumpRenderTree.m:
2339         (main): Call poseAs to substitute our NSPasteboard class for the default one.
2340         Create a local pasteboard (really a global one with a unique name) and release
2341         it when exiting from the function so we don't leave it in the pasteboard server.
2342         (dumpRenderTree): Added an autorelease pool around one small bit of code that
2343         ddn't have one. Fixed a leak in an unlikely error case.
2344         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2345         of this method to return our local pasteboard.
2346
2347 2005-12-15  Eric Seidel  <eseidel@apple.com>
2348
2349         Reviewed by Tim Hatcher.
2350
2351         * Scripts/build-webkit: --svg is now default!
2352
2353 2005-12-15  Eric Seidel  <eseidel@apple.com>
2354
2355         Reviewed by mjs.
2356
2357         Don't run svg test automatically if +SVG is built (yet).
2358
2359         * Scripts/run-webkit-tests:
2360
2361 2005-12-15  Darin Adler  <darin@apple.com>
2362
2363         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2364         support is not compiled in. Report the 10 slowest tests if "--slowest" is
2365         passed on the command line.
2366
2367 2005-12-06  John Sullivan  <sullivan@apple.com>
2368
2369         Reviewed by Darin Adler.
2370
2371         * Scripts/prepare-ChangeLog:
2372         Remove special-case handling for nib files. This avoided trouble with cvs diff
2373         when we were using wrappers for nib files. Now that we aren't using wrappers,
2374         there's no reason to avoid adding the modified nib files to the file list that
2375         gets diffed.
2376
2377 2005-12-05  Eric Seidel  <eseidel@apple.com>
2378
2379         Reviewed by mjs.
2380
2381         Script updates for SVG files move (remove references to SVGSupport)
2382
2383         * Scripts/build-webkit: remove SVGSupport
2384         * Scripts/run-webkit-tests: Resources -> resources for --svg
2385         * Scripts/update-webkit: remove SVGSupport
2386
2387 2005-12-05  Eric Seidel  <eseidel@apple.com>
2388
2389         Reviewed mjs.
2390
2391         * checkout: remove --svg support, SVG is now checked out by default
2392
2393 2005-11-29  Eric Seidel  <eseidel@apple.com>
2394
2395         Reviewed by darin.
2396
2397         Update scripts to run SVG tests automatically (w/o --svg) if
2398         WebCore is built with SVG support.
2399
2400         * Scripts/build-drawtest: SVG support required
2401         * Scripts/build-dumpkcanvastree: Removed.
2402         * Scripts/run-drawtest: SVG support required to run
2403         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2404         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2405
2406 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
2407
2408         Reviewed by Darin. Committed by Maciej.
2409
2410         - fixed "DumpRenderTree should test for Ahem before doing anything else"
2411         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2412
2413         * DumpRenderTree/DumpRenderTree.m:
2414         (main):
2415
2416 2005-11-28  Eric Seidel  <eseidel@apple.com>
2417
2418         Reviewed by sullivan and GGAREN.
2419
2420         Minor additions to make error messages more clear from cvs-apply.
2421
2422         * Scripts/cvs-apply: make errors more clear
2423
2424 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
2425
2426         Reviewed and committed by Maciej.
2427
2428         - fixed cvs-create-patch --include produces incorrect paths
2429         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2430
2431         * Scripts/cvs-create-patch: produce proper paths for new files.
2432
2433 2005-11-21  Eric Seidel  <eseidel@apple.com>
2434
2435         Reviewed by hyatt.
2436
2437         Some simple fixes to the build/test scripts now that SVG uses the
2438         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
2439         or symlinks for KDOM.
2440
2441         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2442         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2443         * Scripts/run-webkit-tests: now runs SVG tests using DRT
2444         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
2445         * checkout: no longer symlink kdom
2446
2447 2005-11-10  Eric Seidel  <eseidel@apple.com>
2448
2449         Reviewed by ggaren.
2450
2451         * Scripts/build-webkit: Pass through options to xcodebuild
2452
2453 2005-11-07  Darin Adler  <darin@apple.com>
2454
2455         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2456
2457 2005-11-03  John Sullivan  <sullivan@apple.com>
2458
2459         Reviewed by Darin.
2460
2461         * Scripts/run-safari:
2462         changed message to say "Starting Safari" instead of odd "Start Safari"
2463         * Scripts/run-webkit-tests:
2464         changed the way we pass the file parameter to use -NSOpen rather than relying on
2465         unlabeled arguments being treated as files. This was failing on some machines that 
2466         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2467
2468 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
2469
2470         Patch by Alexey Proskuryakov.
2471
2472         Reviewed by Maciej.
2473         
2474         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2475         TextInputController should support attributed strings
2476
2477         * DumpRenderTree/TextInputController.m:
2478         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2479         (+[NSMutableAttributedString webScriptNameForSelector:]):
2480         (-[NSMutableAttributedString getLength]):
2481         (-[NSMutableAttributedString attributeNamesAtIndex:]):
2482         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2483         (-[NSMutableAttributedString addAttribute:value:]):
2484         (-[NSMutableAttributedString addAttribute:value:from:length:]):
2485         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2486         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2487         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2488         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2489         (+[TextInputController isSelectorExcludedFromWebScript:]):
2490         (+[TextInputController webScriptNameForSelector:]):
2491         (-[TextInputController insertText:]):
2492         (-[TextInputController attributedSubstringFrom:length:]):
2493         (-[TextInputController attributedStringWithString:]):
2494
2495 2005-10-11  Eric Seidel  <eseidel@apple.com>
2496
2497         Reviewed by hyatt.
2498
2499         Checks for leaks in ImageDiff too.
2500
2501         * Scripts/run-webkit-tests:
2502
2503 2005-10-09  Darin Adler  <darin@apple.com>
2504
2505         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2506         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2507         * Scripts/cvs-unapply: Ditto.
2508         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2509
2510 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
2511
2512         Reviewed, rearranged and landed by Darin.
2513
2514         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2515           Need a way to automatically test for regressions in NSTextInput implementation
2516
2517         * DumpRenderTree/DumpRenderTree.m:
2518         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2519         Create a text input controller and put it in a property of the window object.
2520
2521         * DumpRenderTree/TextInputController.h: Added.
2522         * DumpRenderTree/TextInputController.m: Added.
2523         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2524
2525 2005-10-06  Darin Adler  <darin@apple.com>
2526
2527         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2528         are controlled by cvs, or when changes cross multiple repositories.
2529         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2530
2531 2005-10-03  Eric Seidel  <eseidel@apple.com>
2532
2533         Reviewed by mjs.
2534
2535         Make mouseDown and mouseUp force layout before acting.
2536         This is used by a new test case for 4233558.
2537
2538         * DumpRenderTree/DumpRenderTree.m:
2539         (-[EventSendingController mouseDown]): force layout
2540         (-[EventSendingController mouseUp]): force layout
2541
2542 2005-09-30  Eric Seidel  <eseidel@apple.com>
2543
2544         Reviewed by xenon.
2545
2546         Updated all the scripts for the move:
2547         WebCore/layout-tests -> LayoutTests
2548
2549         * Scripts/check-dom-results:
2550         * Scripts/prepare-ChangeLog: 
2551         * Scripts/run-webkit-tests:
2552         * Scripts/update-webkit: added --no-tests
2553         * checkout: added --no-tests
2554
2555 2005-09-28  Darin Adler  <darin@apple.com>
2556
2557         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2558           pixel test should run even if render trees differ
2559
2560         * Scripts/run-webkit-tests: Don't check if the text dump matches.
2561
2562 2005-09-27  Eric Seidel  <eseidel@apple.com>
2563
2564         No review needed, SVG build fix only.
2565
2566         * DumpKCanvasTree/DumpKCanvasTree.m:
2567         Missed one in my previous checkin.
2568         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2569
2570 2005-09-26  Eric Seidel  <eseidel@apple.com>
2571
2572         No review needed, SVG build fix only.
2573
2574         * DrawTest/DrawTestDocument.m:
2575         * DrawTest/DrawTestToolbarController.m:
2576         * DrawTest/DrawTestView.h:
2577         * DrawTest/DrawTestView.m:
2578         * DrawTest/SVGTest.m:
2579         * DrawTest/TestController.m:
2580         Updated for WebCore+SVG -> WebCore rename.
2581         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2582
2583 2005-09-26  Eric Seidel  <eseidel@apple.com>
2584
2585         Reviewed by hyatt.
2586
2587         * DumpRenderTree/DumpRenderTree.m:
2588         (dump): updated error message
2589         * Scripts/check-dom-results: now includes xhtml
2590         Tool updates for xhtml.
2591         http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2592
2593 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
2594
2595         Reviewed by Maciej.
2596         Landed by Darin.
2597
2598         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2599         "Would like to simulate human interaction with webview"
2600
2601         * DumpRenderTree/DumpRenderTree.m:
2602         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2603         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2604         (+[EventSendingController webScriptNameForSelector:]):
2605         (-[EventSendingController init]):
2606         (-[EventSendingController mouseDown]):
2607         (-[EventSendingController mouseUp]):
2608         (-[EventSendingController mouseMoveToX:Y:]):
2609         Add eventSender javascript object, that sends fake mouse events to the webview.
2610
2611         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2612         link with Carbon.framework
2613
2614 2005-09-22  Eric Seidel  <eseidel@apple.com>
2615
2616         Reviewed by mjs.
2617
2618         Update tools for WebCore+SVG -> WebCore rename.
2619         Also fold several SVG specific tools into their original
2620         WebCore counterparts.
2621         http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2622
2623         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2624         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2625         * Scripts/build-drawtest:
2626         * Scripts/build-dumpkcanvastree:
2627         * Scripts/build-webcore-svg: Removed.
2628         * Scripts/build-webkit: added --svg option
2629         * Scripts/run-drawtest:
2630         * Scripts/run-webkit-tests:
2631         * Scripts/webkitdirs.pm: various additions.
2632         * checkout: added --svg option
2633         * checkout-svg: Removed.
2634
2635 2005-09-19  Eric Seidel  <eseidel@apple.com>
2636
2637         Reviewed by darin.
2638
2639         * Scripts/run-webkit-tests: added --guard-malloc option
2640         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2641
2642 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
2643
2644         Reviewed by geoff
2645         
2646         Removed a script that is only used by apple internal developers
2647
2648         * Scripts/update-webkitsysteminterface: Removed.
2649
2650 2005-09-16  Adele Peterson  <adele@apple.com>
2651
2652         Reviewed by Maciej.
2653
2654         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2655
2656 2005-09-14  Darin Adler  <darin@apple.com>
2657
2658         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2659           dumpAsText doesn't work with XHTML documents
2660
2661         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2662         rather than of the body element. This works with typical XHTML documents. We can probably
2663         do something even better in the long run, but this fixes the immediate issue.
2664
2665         - separate tweak
2666
2667         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2668         run-safari instead of just using "open", which often runs another copy of Safari instead.
2669
2670 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
2671
2672         Reviewed, tweaked, and landed by Darin.
2673
2674         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2675           .Mac prefpane crashes when Safari using CVS WebKit is running
2676
2677         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2678         * Scripts/run-webkit-app: Ditto.
2679
2680 2005-09-11  Darin Adler  <darin@apple.com>
2681
2682         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2683
2684 2005-09-11  Darin Adler  <darin@apple.com>
2685
2686         Reviewed by Eric.
2687
2688         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2689         two ways: 1) puts all files in a directory before any files in a subdirectory, and
2690         2) sort file names with numeric digits in them in a logical way, so test-33 will come
2691         before test-3.
2692
2693 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
2694
2695         Reviewed by darin
2696
2697         * Scripts/update-webkitsysteminterface: Added.
2698         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2699
2700 2005-09-01  John Sullivan  <sullivan@apple.com>
2701
2702         * Scripts/run-webkit-tests:
2703         Excluded a known system leak to reduce noise; added comments about which leaks
2704         are being excluded.
2705
2706 2005-09-01  Tim Omernick  <tomernick@apple.com>
2707
2708         Change made by Darin, reviewed by John and myself.
2709
2710         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2711
2712         * Scripts/prepare-ChangeLog:
2713
2714 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
2715
2716         Reviewed by Darin.
2717
2718         - set color variant and font settings to a consistent value.
2719         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2720
2721         * DumpRenderTree/DumpRenderTree.m:
2722         (main):
2723
2724 2005-08-30  Eric Seidel  <eseidel@apple.com>
2725
2726         Reviewed by mjs.
2727
2728         * Scripts/build-svg2png: Removed.
2729         * svg2png/ImageDiff.h: Removed.
2730         * svg2png/ImageDiff.m: Removed.
2731         * svg2png/svg2png.m: Removed.
2732         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2733         * svg2png/svg2png_Prefix.pch: Removed.
2734         svg2png is no longer needed.
2735
2736 2005-08-30  Darin Adler  <darin@apple.com>
2737
2738         * Scripts/check-dom-results: Special case 100% to say something nice.
2739         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2740         applying the patch (need a better name).
2741         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2742
2743 2005-08-30  Darin Adler  <darin@apple.com>
2744
2745         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2746
2747 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
2748
2749         Reviewed by Darin.
2750
2751         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2752         (some pixel tests fail when AA settings are changed)
2753
2754         * DumpRenderTree/DumpRenderTree.m:
2755         (main): set AA settings to the default values
2756
2757 2005-08-29  Darin Adler  <darin@apple.com>
2758
2759         Reviewed by John Sullivan.
2760
2761         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2762         executable -- much slower but can help pinpoint leaks. Changed formatting of some
2763         messages too.
2764
2765 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
2766
2767         Reviewed by Eric.
2768
2769         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2770         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2771
2772         * DumpRenderTree/DumpRenderTree.m:
2773         (main): set scrollbar arrow setting to a consistent value
2774
2775 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
2776
2777         Reviewed and landed by Darin.
2778
2779         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2780           output of update-webkit is too verbose
2781
2782         * Scripts/update-webkit:
2783         Added option --quiet (-q) to decrease the amount of output.
2784
2785 2005-08-27  Darin Adler  <darin@apple.com>
2786
2787         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2788           cvs-create-patch --include-unknowns should ignore hidden files
2789
2790         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2791
2792 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
2793
2794         Reviewed, tweaked, and landed by Darin.
2795
2796         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2797           update-webkit doesn't notice when you have SVGSupport and update properly
2798
2799         * Scripts/update-webkit: Build SVGSupport directory if it's present.
2800
2801 2005-08-25  Anders Carlsson  <andersca@mac.com>
2802
2803         Reviewed and landed by Darin.
2804
2805         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2806           layout test machinery can't handle tests with applets that have code attributes
2807
2808         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2809
2810 2005-08-24  Darin Adler  <darin@apple.com>
2811
2812         Reviewed by Maciej.
2813
2814         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2815           DumpRenderTree --pixel-tests crash
2816         - landed some other small changes I had sitting in my tree
2817
2818         * DumpRenderTree/DumpRenderTree.m:
2819         (main): Don't bother saving and restoring the preferences. Not sure
2820         why this was ever done since the preferences are specific to DumpRenderTree.
2821         Clear delegates before releasing the WebView, because you can't count on the
2822         order of object deallocation.
2823         (dumpRenderTree): Fix code that releases a string before storing it in a
2824         global variable.
2825
2826         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2827         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2828
2829 2005-08-23  Eric Seidel  <eseidel@apple.com>
2830
2831         Reviewed by mjs.
2832
2833         * Scripts/run-webkit-tests:
2834         Made --leaks option more readable by printing to a file.
2835         http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2836
2837 2005-08-22  Eric Seidel  <eseidel@apple.com>
2838         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2839
2840         Reviewed by darin.
2841
2842         * Scripts/run-webkit-tests: hides "expected actual diffs" links
2843         when they are not needed (for pixel-only failures)
2844         http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2845
2846 2005-08-22  Eric Seidel  <eseidel@apple.com>
2847
2848         Reviewed by darin.
2849
2850         * Scripts/run-webkit-tests: Added the ability to display more than
2851         just two images as part of the image-diff "slideshow".
2852         Added display of "-w3c.png" baseline images for SVG.
2853         http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2854
2855 2005-08-20  Eric Seidel  <eseidel@apple.com>
2856
2857         * Scripts/run-webkit-tests:
2858         "build" fix after committing incorrect version.
2859
2860 2005-08-20  Eric Seidel  <eseidel@apple.com>
2861
2862         Reviewed by darin.
2863
2864         * DumpRenderTree/DumpRenderTree.m:
2865         (main): cleans up delegates
2866         (dumpRenderTree): closes CFString/CFURL leak
2867         * Scripts/run-webkit-tests:
2868         Adds --leaks option to run-webkit-tests
2869         http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2870
2871 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
2872
2873         Reviewed by Darin.
2874
2875         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2876         new files to be included in the patch even without "cvs add".
2877
2878 2005-08-19  Darin Adler  <darin@apple.com>
2879
2880         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2881         non-cvs-generated patches. Anders has been creating these, so it's bad that
2882         the script can't handle them.
2883         * Scripts/cvs-unapply: Ditto.
2884
2885 2005-08-18  Darin Adler  <darin@apple.com>
2886
2887         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2888         "." in them -- based on complaint by someone here at Apple.
2889
2890 2005-08-18  Eric Seidel  <eseidel@apple.com>
2891
2892         Reviewed by mjs.
2893
2894         * Scripts/run-webkit-tests:
2895         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2896
2897 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2898
2899         - add file that I forgot in the last checkin 
2900
2901         * DumpRenderTree/ImageDiff.m: Added.
2902         (main):
2903         (getImageFromStdin):
2904         (compareImages):
2905         (getDifferenceBitmap):
2906         (computePercentageDifferent):
2907
2908 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2909
2910         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2911         somewhat by me, and also tweaked by me a little bit.
2912
2913         - better support for pixel-dumping
2914         - use checksums of the images so the tests are fast
2915         - change output format to make the tests run faster
2916         - don't dump pixel results for tests that dump as text
2917
2918         * DumpKCanvasTree/DumpKCanvasTree.m:
2919         (main):
2920         (dumpRenderTree):
2921         (md5HashStringForBitmap):
2922         (dumpPixelTests):
2923         (constrainSizeToMaximum):
2924         (getBitmapImageRepForSVGDocument):
2925         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2926         * DumpRenderTree/DumpRenderTree.m:
2927         (main):
2928         (dump):
2929         (dumpRenderTree):
2930         (md5HashStringForBitmap):
2931         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2932         * Scripts/run-webkit-tests:
2933
2934 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2935
2936         Reviewed by Darin.
2937
2938         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2939
2940         * DumpRenderTree/DumpRenderTree.m:
2941         (main):
2942
2943 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
2944
2945         Reviewed and landed by Darin.
2946
2947         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
2948           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
2949
2950         * Scripts/run-safari: Pass arguments through to Safari on command line.
2951         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2952
2953 2005-08-11  Eric Seidel  <eseidel@apple.com>
2954         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2955
2956         Reviewed by eseidel.
2957
2958         * DrawTest/TestController.m:
2959         (-[TestController imagePathForSVGPath:]):
2960         Fixed support for using TextViewer with the layout-tests.
2961         http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2962
2963 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
2964
2965         At Least Roughly Glanced At by Anders.
2966
2967         - fix change with totally breaks the layout tests.
2968
2969         * DumpRenderTree/DumpRenderTree.m:
2970         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
2971         load, to avoid dumping twice accidentally.
2972
2973 2005-08-10  Eric Seidel  <eseidel@apple.com>
2974         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
2975
2976         Reviewed by darin.
2977
2978         * DumpRenderTree/DumpRenderTree.m:
2979         Added support for rendering to a PNG file.
2980         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2981
2982 2005-08-07  Eric Seidel  <eseidel@apple.com>
2983
2984         Reviewed by darin.
2985
2986         * Scripts/run-webkit-tests: added --svg option
2987         * Scripts/run-webkit-tests-svg: Removed.
2988         http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2989
2990 2005-08-07  Eric Seidel  <eseidel@apple.com>
2991         Changes by Ben La Monica <ben.lamonica@gmail.com>
2992
2993         Reviewed by darin.
2994
2995         * svg2png/ImageDiff.h: Added.
2996         * svg2png/ImageDiff.m: Added.
2997         (getDifferenceBitmap):
2998         (computePercentageDifferent):
2999         (saveAnimatedGIFToFile):
3000         * svg2png/svg2png.m:
3001         (usage): added several new options
3002         (getBitmapForSVG): added NSBitmapImageRep generation
3003         (main): various argument changes.
3004         * svg2png/svg2png.xcodeproj/project.pbxproj:
3005         Several additions to provide image differencing functionality.
3006         http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3007
3008 2005-08-07  Eric Seidel  <eseidel@apple.com>
3009
3010         Reviewed by darin.
3011
3012         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3013         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3014         Adding the first SVG layout tests:
3015         http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3016
3017 2005-08-07  Darin Adler  <darin@apple.com>
3018
3019         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3020
3021 2005-08-06  Eric Seidel  <eseidel@apple.com>
3022
3023         Reviewed by darin.
3024
3025         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3026         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3027         * Scripts/build-dumpkcanvastree: Added.
3028         * Scripts/run-webkit-tests-svg: Added.
3029         Adds a DumpRenderTree-like tool for SVG which allows us to do
3030         text-based layout regression testing.  This (like most of the
3031         SVG specific stuff) is temporary and will be replaced by
3032         DumpRenderTree once the DOMs and RenderTrees merge.
3033         http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3034
3035 2005-08-06  Eric Seidel  <eseidel@apple.com>
3036
3037         Reviewed by darin.
3038
3039         * DrawTest/DrawTestView.m:
3040         (-[DrawTestView toggleFilterSupport:]): missing negation.
3041         One half of fix for toggling filter support.
3042         http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3043
3044 2005-08-04  Eric Seidel  <eseidel@apple.com>
3045
3046         Reviewed by darin.
3047
3048         * Scripts/build-drawtest:
3049         * Scripts/build-dumprendertree:
3050         * Scripts/build-svg2png:
3051         * Scripts/build-webcore-svg:
3052         * Scripts/build-webkit:
3053         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3054         Added checkRequiredSystemConfig and made all the build-* scripts
3055         use it to print a pretty warning when trying to compile on an
3056         unsupported system (less than 10.4, Xcode 2.1).
3057         http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3058
3059 2005-08-04  Darin Adler  <darin@apple.com>
3060
3061         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3062         the dead. It was removed by accident when someone was trying to work on the branch.
3063
3064 2005-07-31  Darin Adler  <darin@apple.com>
3065
3066         - a little tools cleanup
3067
3068         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3069         project as a whole. Removed unused Default configuration.
3070
3071         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3072
3073 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
3074
3075         Reviewed and landed by Darin Adler.
3076
3077         Add logging of editing delegate calls for regression checking.
3078
3079         * DumpRenderTree/DumpRenderTree.m:
3080         (main):
3081           setup editing delegate
3082
3083         (-[DOMNode dumpPath]):
3084         (-[DOMRange dump]):
3085           utility for editing delegate logging
3086
3087         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3088         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3089         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3090         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3091         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3092         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3093         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3094         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3095         (-[EditingDelegate webViewDidBeginEditing:]):
3096         (-[EditingDelegate webViewDidChange:]):
3097         (-[EditingDelegate webViewDidEndEditing:]):
3098         (-[EditingDelegate webViewDidChangeTypingStyle:]):
3099           log corresponding editing delegate methods
3100
3101         (-[EditingDelegate webViewDidChangeSelection:]):
3102           log selection except when clearing selection after end of test (uses existing "done" flag)
3103
3104         (dumpRenderTree):
3105           added clearing of selection after test
3106
3107 2005-07-31  Eric Seidel  <eseidel@apple.com>
3108
3109         Reviewed by hyatt.
3110
3111         * Scripts/build-drawtest: Added.
3112         * Scripts/build-svg2png: Added.
3113         * Scripts/build-webcore-svg: Added.
3114         * Scripts/run-drawtest: Added.
3115         * Scripts/webkitdirs.pm: added checkSVGFrameworks
3116         Made it much easier to build WebCore+SVG.
3117         http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3118
3119 2005-07-29  Eric Seidel  <eseidel@apple.com>
3120
3121         Reviewed by vicki.
3122
3123         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3124         Build fix.  Removed bad path.
3125
3126 2005-07-29  Eric Seidel  <eseidel@apple.com>
3127
3128         Reviewed by sullivan.
3129
3130         * DrawTest/AppDelegate.h: Added.
3131         * DrawTest/AppDelegate.m: Added.
3132         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3133         * DrawTest/DrawTestDocument.h: Added.
3134         * DrawTest/DrawTestDocument.m: Added.
3135         * DrawTest/DrawTestInspectorController.h: Added.
3136         * DrawTest/DrawTestInspectorController.m: Added.
3137         * DrawTest/DrawTestToolbarController.h: Added.
3138         * DrawTest/DrawTestToolbarController.m: Added.
3139         * DrawTest/DrawTestView.h: Added.
3140         * DrawTest/DrawTestView.m: Added.
3141         * DrawTest/DrawTest_Prefix.pch: Added.
3142         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3143         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3144         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3145         * DrawTest/English.lproj/InfoPlist.strings: Added.
3146         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3147         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3148         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3149         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3150         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3151         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3152         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3153         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3154         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3155         * DrawTest/Info.plist: Added.
3156         * DrawTest/SVGTest.h: Added.
3157         * DrawTest/SVGTest.m: Added.
3158         * DrawTest/ScalingImageView.h: Added.
3159         * DrawTest/ScalingImageView.m: Added.
3160         * DrawTest/TestController.h: Added.
3161         * DrawTest/TestController.m: Added.
3162         * DrawTest/TestViewerSplitView.h: Added.
3163         * DrawTest/TestViewerSplitView.m: Added.
3164         * DrawTest/main.m: Added.
3165         Adding simple cocoa app for testing SVG rendering, interaction.
3166         http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3167
3168 2005-07-28  Eric Seidel  <eseidel@apple.com>
3169
3170         Reviewed by ggaren.
3171
3172         * svg2png/svg2png.m: Added.
3173         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3174         * svg2png/svg2png_Prefix.pch: Added.
3175         Added a simple test tool which dumps a PNG from an SVG using
3176         WebCore+SVG's SVG rendering support.
3177         http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3178
3179 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
3180
3181         Reviewed by Darin.
3182
3183         - new script to review the DOM layout test results and see where we stand
3184         on actual success and failure
3185
3186         * Scripts/check-dom-results: Added.
3187
3188 2005-07-25  Darin Adler  <darin@apple.com>
3189
3190         * Scripts/webkitdirs.pm: Check in missing line of code.
3191
3192 2005-07-25  Darin Adler  <darin@apple.com>
3193
3194         - fixed problem that was causing JavaScriptCore test to fail
3195           (except for people who had set DYLD_FRAMEWORK_PATH)
3196
3197         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3198         Add code to parse configuration parameter so you can pass --deployment if you like.
3199         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3200
3201         * Scripts/update-javascriptcore-test-results: Add license header.
3202
3203         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3204         from @ARGV. This lets us use this option in commands that take other options and
3205         pass them along to a subsequent tool.
3206
3207 2005-07-25  Darin Adler  <darin@apple.com>
3208
3209         Reviewed by Geoff Garen.
3210
3211         - Fixed run-safari and gdb-safari to use the Safari application in the build results
3212           directory, if any, falling back to the one in the Applications directory otherwise.
3213           Does no harm for open source contributors who don't build Safari, and helps out the
3214           Safari team, since we do build Safari.
3215
3216         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3217         variable, and if that's not present, looks in either the build results directory or
3218         /Applications; factors code that was in both scripts before into a shared function.
3219         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3220         now in Xcode 2.1 format and incompatible with older versions of Xcode.
3221
3222         * Scripts/gdb-safari: Use safariPath.
3223         * Scripts/run-safari: Use safariPath.
3224
3225 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
3226
3227         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3228         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3229         
3230         Moved Tools/Scripts/update-mozilla-js-test-results to 
3231         WebKitTools/Scripts/update-javascriptcore-test-results.
3232         
3233         Reviewed by darin.
3234
3235         * Scripts/run-javascriptcore-tests: Added.
3236
3237 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3238
3239         Reviewed by Darin.
3240
3241         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3242
3243 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3244
3245         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3246
3247 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3248
3249         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3250
3251 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3252
3253         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3254
3255 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3256
3257         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3258
3259 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3260
3261         * Scripts/build-webkit:
3262
3263 2005-07-12  Eric Seidel  <eseidel@apple.com>
3264
3265         Reviewed by mjs.
3266
3267         * checkout-svg: Fixed error with symlink creation.
3268
3269 2005-07-12  Eric Seidel  <eseidel@apple.com>
3270
3271         Reviewed by mjs.
3272
3273         * checkout-svg: Added.
3274         Script to check out WebCore+SVG
3275
3276 2005-06-30  Darin Adler  <darin@apple.com>
3277
3278         Changes based on input from Michael Kahl.
3279
3280         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3281         specify different style of "diff".
3282         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3283         determineConfigurationProductDir works in all cases.
3284
3285 2005-06-29  Darin Adler  <darin@apple.com>
3286
3287         - fixed bug which would result in multiple unwanted dumps in a single layout test
3288
3289         * DumpRenderTree/DumpRenderTree.m:
3290         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3291         "readyToDump" flag.
3292         (-[LayoutTestController waitUntilDone]): Update for name change.
3293         (-[LayoutTestController notifyDone]): Dump only if ready.
3294         (dumpRenderTree): Set up new boolean and update for name change.
3295
3296 2005-06-29  Darin Adler  <darin@apple.com>
3297
3298         Changes by Timothy Hatcher.
3299         Reviewed by me.
3300
3301         * Scripts/run-webkit-app: Added script to open an arbritrary application with
3302         a CVS built WebKit. Example: ./run-webkit-app Colloquy
3303
3304         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3305         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3306         * Scripts/run-safari: Ditto.
3307
3308 2005-06-26  Darin Adler  <darin@apple.com>
3309
3310         * Scripts/build-dumprendertree: Pass -project option so that having a second
3311         copy of the project (like the one Xcode 2.1 offers to make for you) that's
3312         out of date won't screw you up.
3313         * Scripts/build-webkit: Ditto.
3314
3315 2005-06-23  Darin Adler  <darin@apple.com>
3316
3317         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3318
3319 2005-06-23  Darin Adler  <darin@apple.com>
3320
3321         Changes based on input from Michael Kahl.
3322
3323         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3324         directory passed in.
3325
3326         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3327         getcwd() in the code to find the base product dir. Added code to handle unusual
3328         base product directory values that use SRCROOT.
3329
3330 2005-06-22  Darin Adler  <darin@apple.com>
3331
3332         Change by Anders Carlsson.
3333
3334         - added support for dumping title changes
3335
3336         * DumpRenderTree/DumpRenderTree.m:
3337         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3338         if requested by JavaScript.
3339         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3340         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3341         (dumpRenderTree): Start flag as NO.
3342
3343 2005-06-20  Darin Adler  <darin@apple.com>
3344
3345         Reviewed by Justin Garcia.
3346
3347         * Scripts/run-webkit-tests: Report number of tests when they succeed.
3348
3349 2005-06-18  Darin Adler  <darin@apple.com>
3350
3351         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3352         in the hope of making the tool use less memory and run faster.
3353
3354 2005-06-18  Darin Adler  <darin@apple.com>
3355
3356         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3357         * Scripts/cvs-unapply: Ditto.
3358
3359 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
3360
3361         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3362         benefit of all WebKit hackerdom
3363
3364         * Scripts/prepare-ChangeLog: Added.
3365
3366 2005-06-16  Darin Adler  <darin@apple.com>
3367
3368         - recent changes to XcodeOptions made it depend on the current directory
3369           The intent was to have the WebKitBuild directory be next to WebKitTools,
3370           not inside the various build directories. Workaround for now is to call
3371           XcodeOptions when the directory is set to the WebKit directory.
3372
3373         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3374         at the start of the script.
3375         * Scripts/build-webkit: Ditto.
3376
3377 2005-06-15  Darin Adler  <darin@apple.com>
3378
3379         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3380
3381 2005-06-14  Darin Adler  <darin@apple.com>
3382
3383         Changes by Anders Carlsson.
3384         Reviewed by me.
3385
3386         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3387           Add gdb-safari script to launch Safari under gdb
3388
3389         * Scripts/gdb-safari: Added.
3390
3391 2005-06-12  Darin Adler  <darin@apple.com>
3392
3393         Changes by Stuart Morgan.
3394         Reviewed by me.
3395
3396         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3397         * Scripts/cvs-apply: Ditto.
3398         * Scripts/cvs-create-patch: Ditto.
3399         * Scripts/cvs-unapply: Ditto.
3400         * Scripts/run-webkit-tests: Ditto.
3401         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3402
3403 2005-06-12  Darin Adler  <darin@apple.com>
3404
3405         * Scripts/cvs-apply: Handle case of an empty patch better.
3406         * Scripts/cvs-unapply: Ditto.
3407
3408 2005-06-12  Darin Adler  <darin@apple.com>
3409
3410         Changes by Michael Gaiman.
3411         Reviewed by me.
3412
3413         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3414           WebKit no longer builds after configuration supporting build changes
3415
3416         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3417
3418 2005-06-12  Darin Adler  <darin@apple.com>
3419
3420         * Scripts/update-webkit: Make this script work when called from any directory.
3421
3422 2005-06-12  Darin Adler  <darin@apple.com>
3423
3424         Reviewed by Maciej.
3425         Includes changes by Stuart Morgan as well as my own.
3426
3427         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3428         symrootXcodeOptions to set the -buildstyle option.
3429         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3430         The new --development option does the same thing.
3431         * Scripts/run-safari: Ditto.
3432         * Scripts/run-webkit-tests: Ditto.
3433         * Scripts/update-webkit: Ditto.
3434         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3435
3436         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3437         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3438         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3439         product directory. Read the default configuration from a file, overridable by a passed-in command-line
3440         option.
3441
3442 2005-06-11  Darin Adler  <darin@apple.com>
3443
3444         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3445         to execute the cvs diff commands.
3446
3447 2005-06-11  Darin Adler  <darin@apple.com>
3448
3449         - added first cuts at some cvs scripts
3450
3451             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3452             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3453             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3454             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3455
3456           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3457
3458         * Scripts/cvs-abandon: Added.
3459         * Scripts/cvs-apply: Added.
3460         * Scripts/cvs-create-patch: Added.
3461         * Scripts/cvs-unapply: Added.
3462
3463 2005-06-09  Darin Adler  <darin@apple.com>
3464
3465         Reviewed by Maciej.
3466
3467         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3468           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3469
3470         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3471         for Foundation.framework. How was it ever wrong?
3472
3473         - finally, I tested making the default build directory work; it works now
3474
3475         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3476         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3477         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3478         * Scripts/build-dumprendertree: Ditto.
3479
3480 2005-06-09  Darin Adler  <darin@apple.com>
3481
3482         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3483         work. Someone should try building without setting the Xcode build product directory now,
3484         and let me know if it works.
3485
3486 2005-06-08  Darin Adler  <darin@apple.com>
3487
3488         - quick fix to try to get build scripts working again
3489
3490         * Scripts/build-dumprendertree: Add FindBin.
3491         * Scripts/build-webkit: Ditto.
3492         * Scripts/run-safari: Ditto.
3493         * Scripts/run-webkit-tests: Ditto.
3494         * Scripts/update-webkit: Ditto.
3495
3496 2005-06-08  Darin Adler  <darin@apple.com>
3497
3498         Reviewed by Maciej.
3499
3500         - some build script enhancements
3501
3502         * Scripts/build-dumprendertree: Changed to use webkitdirs.
3503         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3504         they are newer.
3505         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3506         before Deplyment in that case.
3507         * Scripts/run-webkit-tests: Changed to use webkitdirs.
3508         * Scripts/update-webkit: Changed to use webkitdirs.
3509
3510         * Scripts/webkitdirs.pm: Added.
3511
3512 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
3513
3514         Code change by Toby Peterson <toby@opendarwin.org>
3515         Reviewed by me.
3516
3517         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3518         get confused because build-webkit now makes even 2.0 build directories look
3519         like 2.1.
3520
3521 2005-06-07  Darin Adler  <darin@apple.com>
3522
3523         Reviewed by Adele Peterson.
3524
3525         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3526         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3527         so we can run tests with Xcode 2.1.
3528
3529 2005-06-07  Darin Adler  <darin@apple.com>
3530
3531         Reviewed by Adele Peterson.
3532
3533         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3534         layout-tests directory to include additional sets of tests.
3535
3536 2005-06-07  Darin Adler  <darin@apple.com>
3537
3538         * checkout: Added license.
3539         * Scripts/build-dumprendertree: Ditto.
3540         * Scripts/run-webkit-tests: Ditto.
3541         * Scripts/update-webkit: Ditto.
3542
3543 2005-06-07  Darin Adler  <darin@apple.com>
3544
3545         Change by Toby Peterson <toby@opendarwin.org>.
3546         Reviewed by me.
3547
3548         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3549         * Scripts/run-safari: Ditto.
3550
3551 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3552
3553         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3554
3555 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3556
3557         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3558
3559 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3560
3561         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3562
3563 2005-06-05  Darin Adler  <darin@apple.com>
3564
3565         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3566         * Scripts/build-dumprendertree: Added.
3567         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3568         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3569
3570 2005-06-05  Darin Adler  <darin@apple.com>
3571
3572         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
3573
3574 2005-06-05  Darin Adler  <darin@apple.com>
3575
3576         - add run-webkit-tests script; not working yet but the pieces are there
3577
3578         * Scripts/run-webkit-tests: Added.
3579
3580         * DumpRenderTree/DumpRenderTree.m: Added.
3581         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
3582         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
3583         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
3584
3585 2005-06-05  Darin Adler  <darin@apple.com>
3586
3587         - created module, first cut at Web Kit Open Source Project scripts
3588
3589         * ChangeLog: Added.
3590         * Scripts/build-webkit: Added.
3591         * Scripts/run-safari: Added.
3592         * Scripts/update-webkit: Added.
3593         * checkout: Added.
3594
3595 === creation of WebKitTools module ===