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