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