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