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