e4f17ea25dc5f16bb695c02822b1c853acd71249
[WebKit-https.git] / WebCore / ChangeLog
1 2007-12-06  Adam Roben  <aroben@apple.com>
2
3         Fix <rdar://5108390> Feed title is too low in blue banner
4
5         Way back in r23069 we started applying the same font ascent hack that
6         Mac WebKit applies to Helvetica, Times, and Courier. We did this so
7         that those fonts would match the Mac metrics when we run the
8         regression tests. However, this hack was applying to Arial on Windows
9         when a site would specify the Helvetica font face because Windows will
10         alias the font names. Instead of removing the hack entirely, we
11         turn it off by default but provide some SPI so that DumpRenderTree can
12         turn it on.
13
14         Reviewed by Hyatt.
15
16         All tests pass.
17
18         * platform/graphics/FontData.h: Add a new static method to turn on the
19         hack on Windows only.
20         * platform/graphics/win/FontDataWin.cpp:
21         (WebCore::FontData::setShouldApplyMacAscentHack): Added.
22         (WebCore::FontData::platformInit): Only perform the hack if
23         shouldApplyMacAscentHack is true.
24
25 2007-12-06  Geoffrey Garen  <ggaren@apple.com>
26
27         Reviewed by Sam Weinig.
28
29         Fixed http://bugs.webkit.org/show_bug.cgi?id=16328
30         REGRESSION (r28470): Crash expanding a GMail conversation
31         
32         * page/Frame.cpp:
33         (WebCore::Frame::scriptProxy): Only return 0 if JS seems disabled *and*
34         we haven't created the proxy yet. If we've created the proxy already, a
35         script may be in the midst of execution, even though we've lost our
36         settings object. During execution, scripts assume they have free access
37         to the proxy.
38
39 2007-12-06  Adele Peterson  <adele@apple.com>
40
41         Reviewed by Oliver.
42
43         Fix for <rdar://problem/5631356> Toggling display property on video causes controls to get lost
44
45         * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::attach): Call updateFromElement.
46         * html/HTMLMediaElement.h:
47
48 2007-12-05  Antti Koivisto  <antti@apple.com>
49
50         Reviewed by Oliver.
51
52         Rename
53
54         Movie -> MediaPlayer
55         MoviePrivate -> MediaPlayerPrivate
56         
57         Movie is QuickTime terminology and clashes with its C API.
58
59         * WebCore.xcodeproj/project.pbxproj:
60         * html/HTMLMediaElement.cpp:
61         (WebCore::HTMLMediaElement::HTMLMediaElement):
62         (WebCore::HTMLMediaElement::~HTMLMediaElement):
63         (WebCore::HTMLMediaElement::initAndDispatchProgressEvent):
64         (WebCore::HTMLMediaElement::bufferingRate):
65         (WebCore::HTMLMediaElement::load):
66         (WebCore::HTMLMediaElement::mediaPlayerNetworkStateChanged):
67         (WebCore::HTMLMediaElement::mediaPlayerReadyStateChanged):
68         (WebCore::HTMLMediaElement::setReadyState):
69         (WebCore::HTMLMediaElement::progressEventTimerFired):
70         (WebCore::HTMLMediaElement::seek):
71         (WebCore::HTMLMediaElement::currentTime):
72         (WebCore::HTMLMediaElement::duration):
73         (WebCore::HTMLMediaElement::playbackRate):
74         (WebCore::HTMLMediaElement::setPlaybackRate):
75         (WebCore::HTMLMediaElement::play):
76         (WebCore::HTMLMediaElement::pause):
77         (WebCore::HTMLMediaElement::setVolume):
78         (WebCore::HTMLMediaElement::setMuted):
79         (WebCore::HTMLMediaElement::pickMedia):
80         (WebCore::HTMLMediaElement::checkIfSeekNeeded):
81         (WebCore::HTMLMediaElement::mediaPlayerVolumeChanged):
82         (WebCore::HTMLMediaElement::mediaPlayerTimeChanged):
83         (WebCore::HTMLMediaElement::mediaPlayerCuePointReached):
84         (WebCore::HTMLMediaElement::addCuePoint):
85         (WebCore::HTMLMediaElement::buffered):
86         (WebCore::HTMLMediaElement::seekable):
87         (WebCore::HTMLMediaElement::effectiveStart):
88         (WebCore::HTMLMediaElement::effectiveEnd):
89         (WebCore::HTMLMediaElement::effectiveLoopStart):
90         (WebCore::HTMLMediaElement::effectiveLoopEnd):
91         (WebCore::HTMLMediaElement::updateMediaPlayer):
92         (WebCore::HTMLMediaElement::willSaveToCache):
93         * html/HTMLMediaElement.h:
94         (WebCore::HTMLMediaElement::player):
95         * html/HTMLVideoElement.cpp:
96         (WebCore::HTMLVideoElement::videoWidth):
97         (WebCore::HTMLVideoElement::videoHeight):
98         * platform/MIMETypeRegistry.cpp:
99         (WebCore::initialiseSupportedMediaMIMETypes):
100         (WebCore::MIMETypeRegistry::isSupportedMediaMIMEType):
101         (WebCore::MIMETypeRegistry::getSupportedMediaMIMETypes):
102         * platform/MIMETypeRegistry.h:
103         * platform/graphics/MediaPlayer.cpp: Copied from WebCore/platform/graphics/Movie.cpp.
104         (WebCore::MediaPlayer::MediaPlayer):
105         (WebCore::MediaPlayer::~MediaPlayer):
106         (WebCore::MediaPlayer::load):
107         (WebCore::MediaPlayer::cancelLoad):
108         (WebCore::MediaPlayer::play):
109         (WebCore::MediaPlayer::pause):
110         (WebCore::MediaPlayer::duration):
111         (WebCore::MediaPlayer::currentTime):
112         (WebCore::MediaPlayer::seek):
113         (WebCore::MediaPlayer::paused):
114         (WebCore::MediaPlayer::seeking):
115         (WebCore::MediaPlayer::naturalSize):
116         (WebCore::MediaPlayer::hasVideo):
117         (WebCore::MediaPlayer::networkState):
118         (WebCore::MediaPlayer::readyState):
119         (WebCore::MediaPlayer::volume):
120         (WebCore::MediaPlayer::setVolume):
121         (WebCore::MediaPlayer::rate):
122         (WebCore::MediaPlayer::setRate):
123         (WebCore::MediaPlayer::muted):
124         (WebCore::MediaPlayer::setMuted):
125         (WebCore::MediaPlayer::dataRate):
126         (WebCore::MediaPlayer::setEndTime):
127         (WebCore::MediaPlayer::addCuePoint):
128         (WebCore::MediaPlayer::removeCuePoint):
129         (WebCore::MediaPlayer::clearCuePoints):
130         (WebCore::MediaPlayer::maxTimeBuffered):
131         (WebCore::MediaPlayer::maxTimeSeekable):
132         (WebCore::MediaPlayer::bytesLoaded):
133         (WebCore::MediaPlayer::totalBytesKnown):
134         (WebCore::MediaPlayer::totalBytes):
135         (WebCore::MediaPlayer::setRect):
136         (WebCore::MediaPlayer::visible):
137         (WebCore::MediaPlayer::setVisible):
138         (WebCore::MediaPlayer::paint):
139         (WebCore::MediaPlayer::getSupportedTypes):
140         (WebCore::MediaPlayer::networkStateChanged):
141         (WebCore::MediaPlayer::readyStateChanged):
142         (WebCore::MediaPlayer::volumeChanged):
143         (WebCore::MediaPlayer::timeChanged):
144         (WebCore::MediaPlayer::cuePointReached):
145         * platform/graphics/MediaPlayer.h: Copied from WebCore/platform/graphics/Movie.h.
146         (WebCore::MediaPlayerClient::~MediaPlayerClient):
147         (WebCore::MediaPlayerClient::mediaPlayerNetworkStateChanged):
148         (WebCore::MediaPlayerClient::mediaPlayerReadyStateChanged):
149         (WebCore::MediaPlayerClient::mediaPlayerVolumeChanged):
150         (WebCore::MediaPlayerClient::mediaPlayerTimeChanged):
151         (WebCore::MediaPlayerClient::mediaPlayerCuePointReached):
152         * platform/graphics/Movie.cpp: Removed.
153         * platform/graphics/Movie.h: Removed.
154         * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: Copied from WebCore/platform/graphics/gtk/MoviePrivateGStreamer.cpp.
155         (WebCore::mediaPlayerPrivateErrorCallback):
156         (WebCore::mediaPlayerPrivateEOSCallback):
157         (WebCore::mediaPlayerPrivateStateCallback):
158         (WebCore::mediaPlayerPrivateBufferingCallback):
159         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
160         (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
161         (WebCore::MediaPlayerPrivate::load):
162         (WebCore::MediaPlayerPrivate::play):
163         (WebCore::MediaPlayerPrivate::pause):
164         (WebCore::MediaPlayerPrivate::duration):
165         (WebCore::MediaPlayerPrivate::currentTime):
166         (WebCore::MediaPlayerPrivate::seek):
167         (WebCore::MediaPlayerPrivate::setEndTime):
168         (WebCore::MediaPlayerPrivate::addCuePoint):
169         (WebCore::MediaPlayerPrivate::removeCuePoint):
170         (WebCore::MediaPlayerPrivate::clearCuePoints):
171         (WebCore::MediaPlayerPrivate::startCuePointTimerIfNeeded):
172         (WebCore::MediaPlayerPrivate::cancelSeek):
173         (WebCore::MediaPlayerPrivate::cuePointTimerFired):
174         (WebCore::MediaPlayerPrivate::paused):
175         (WebCore::MediaPlayerPrivate::seeking):
176         (WebCore::MediaPlayerPrivate::naturalSize):
177         (WebCore::MediaPlayerPrivate::hasVideo):
178         (WebCore::MediaPlayerPrivate::setVolume):
179         (WebCore::MediaPlayerPrivate::setMuted):
180         (WebCore::MediaPlayerPrivate::setRate):
181         (WebCore::MediaPlayerPrivate::dataRate):
182         (WebCore::MediaPlayerPrivate::networkState):
183         (WebCore::MediaPlayerPrivate::readyState):
184         (WebCore::MediaPlayerPrivate::maxTimeBuffered):
185         (WebCore::MediaPlayerPrivate::maxTimeSeekable):
186         (WebCore::MediaPlayerPrivate::maxTimeLoaded):
187         (WebCore::MediaPlayerPrivate::bytesLoaded):
188         (WebCore::MediaPlayerPrivate::totalBytesKnown):
189         (WebCore::MediaPlayerPrivate::totalBytes):
190         (WebCore::MediaPlayerPrivate::cancelLoad):
191         (WebCore::MediaPlayerPrivate::updateStates):
192         (WebCore::MediaPlayerPrivate::loadStateChanged):
193         (WebCore::MediaPlayerPrivate::rateChanged):
194         (WebCore::MediaPlayerPrivate::sizeChanged):
195         (WebCore::MediaPlayerPrivate::timeChanged):
196         (WebCore::MediaPlayerPrivate::volumeChanged):
197         (WebCore::MediaPlayerPrivate::didEnd):
198         (WebCore::MediaPlayerPrivate::loadingFailed):
199         (WebCore::MediaPlayerPrivate::setRect):
200         (WebCore::MediaPlayerPrivate::setVisible):
201         (WebCore::MediaPlayerPrivate::paint):
202         (WebCore::MediaPlayerPrivate::getSupportedTypes):
203         (WebCore::MediaPlayerPrivate::createGSTPlayBin):
204         * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h: Copied from WebCore/platform/graphics/gtk/MoviePrivateGStreamer.h.
205         * platform/graphics/gtk/MoviePrivateGStreamer.cpp: Removed.
206         * platform/graphics/gtk/MoviePrivateGStreamer.h: Removed.
207         * platform/graphics/mac/MediaPlayerPrivateQTKit.h: Copied from WebCore/platform/graphics/mac/MoviePrivateQTKit.h.
208         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: Copied from WebCore/platform/graphics/mac/MoviePrivateQTKit.mm.
209         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
210         (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
211         (WebCore::MediaPlayerPrivate::createQTMovie):
212         (WebCore::MediaPlayerPrivate::createQTMovieView):
213         (WebCore::MediaPlayerPrivate::createQTTime):
214         (WebCore::MediaPlayerPrivate::load):
215         (WebCore::MediaPlayerPrivate::play):
216         (WebCore::MediaPlayerPrivate::pause):
217         (WebCore::MediaPlayerPrivate::duration):
218         (WebCore::MediaPlayerPrivate::currentTime):
219         (WebCore::MediaPlayerPrivate::seek):
220         (WebCore::MediaPlayerPrivate::doSeek):
221         (WebCore::MediaPlayerPrivate::cancelSeek):
222         (WebCore::MediaPlayerPrivate::seekTimerFired):
223         (WebCore::MediaPlayerPrivate::setEndTime):
224         (WebCore::MediaPlayerPrivate::addCuePoint):
225         (WebCore::MediaPlayerPrivate::removeCuePoint):
226         (WebCore::MediaPlayerPrivate::clearCuePoints):
227         (WebCore::MediaPlayerPrivate::startCuePointTimerIfNeeded):
228         (WebCore::MediaPlayerPrivate::cuePointTimerFired):
229         (WebCore::MediaPlayerPrivate::paused):
230         (WebCore::MediaPlayerPrivate::seeking):
231         (WebCore::MediaPlayerPrivate::naturalSize):
232         (WebCore::MediaPlayerPrivate::hasVideo):
233         (WebCore::MediaPlayerPrivate::setVolume):
234         (WebCore::MediaPlayerPrivate::setMuted):
235         (WebCore::MediaPlayerPrivate::setRate):
236         (WebCore::MediaPlayerPrivate::dataRate):
237         (WebCore::MediaPlayerPrivate::networkState):
238         (WebCore::MediaPlayerPrivate::readyState):
239         (WebCore::MediaPlayerPrivate::maxTimeBuffered):
240         (WebCore::MediaPlayerPrivate::maxTimeSeekable):
241         (WebCore::MediaPlayerPrivate::maxTimeLoaded):
242         (WebCore::MediaPlayerPrivate::bytesLoaded):
243         (WebCore::MediaPlayerPrivate::totalBytesKnown):
244         (WebCore::MediaPlayerPrivate::totalBytes):
245         (WebCore::MediaPlayerPrivate::cancelLoad):
246         (WebCore::MediaPlayerPrivate::updateStates):
247         (WebCore::MediaPlayerPrivate::loadStateChanged):
248         (WebCore::MediaPlayerPrivate::rateChanged):
249         (WebCore::MediaPlayerPrivate::sizeChanged):
250         (WebCore::MediaPlayerPrivate::timeChanged):
251         (WebCore::MediaPlayerPrivate::volumeChanged):
252         (WebCore::MediaPlayerPrivate::didEnd):
253         (WebCore::MediaPlayerPrivate::setRect):
254         (WebCore::MediaPlayerPrivate::setVisible):
255         (WebCore::MediaPlayerPrivate::paint):
256         (WebCore::MediaPlayerPrivate::getSupportedTypes):
257         (-[WebCoreMovieObserver initWithCallback:WebCore::]):
258         * platform/graphics/mac/MoviePrivateQTKit.h: Removed.
259         * platform/graphics/mac/MoviePrivateQTKit.mm: Removed.
260         * rendering/RenderMedia.cpp:
261         (WebCore::RenderMedia::player):
262         * rendering/RenderMedia.h:
263         * rendering/RenderVideo.cpp:
264         (WebCore::RenderVideo::RenderVideo):
265         (WebCore::RenderVideo::~RenderVideo):
266         (WebCore::RenderVideo::videoSizeChanged):
267         (WebCore::RenderVideo::paintReplaced):
268         (WebCore::RenderVideo::layout):
269         (WebCore::RenderVideo::updateFromElement):
270         (WebCore::RenderVideo::updatePlayer):
271         * rendering/RenderVideo.h:
272
273 2007-12-06  Geoffrey Garen  <ggaren@apple.com>
274
275         Build fix: access global object directly.
276
277         * plugins/win/PluginViewWin.cpp:
278         (WebCore::PluginViewWin::bindingInstance):
279
280 2007-12-06  Mark Rowe  <mrowe@apple.com>
281
282         Reviewed by Eric.
283
284         Fix bug spotted by GCC 4.2.
285
286         * bindings/js/kjs_window.cpp:
287         (KJS::allowPopUp): Remove extraneous semicolon that completely changed the meaning of allowPopUp.
288
289 2007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
290
291         Reviewed by Alp Toker.
292
293         http://bugs.webkit.org/show_bug.cgi?id=16173
294         Licensing change
295
296         Change license from BSD to LGPL.
297
298         * platform/gtk/FileSystemGtk.cpp:
299
300 2007-12-05  Rob Buis  <buis@kde.org>
301
302         Reviewed by Mitz.
303
304         http://bugs.webkit.org/show_bug.cgi?id=15289
305         WebKit does not respect clip paths of a 0x0 rect
306
307         Make empty clip paths clip the whole referencing graphic.
308
309         * svg/SVGClipPathElement.cpp:
310         (WebCore::SVGClipPathElement::canvasResource):
311         * svg/graphics/SVGResourceClipper.h:
312         (WebCore::ClipDataList::isEmpty):
313
314 2007-12-05  Darin Adler  <darin@apple.com>
315
316         Reviewed by Maciej.
317
318         - fix http://bugs.webkit.org/show_bug.cgi?id=16266
319           <rdar://problem/5625279> REGRESSION: crash loading CNN.com at
320           Interpreter::createObjectsForGlobalObjectProperties()
321
322         I don't know how to reproduce this in a test.
323
324         * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::mark):
325         Call JSEventTargetNode::mark instead of DOMObject::mark. There's no difference
326         right now, but it's best to call your base class, not your base's base.
327
328         * bindings/js/kjs_events.h: Removed unneeded virtual from the
329         JSUnprotectedEventListener::mark() function; it neither derives from or is
330         derived from anyone else with a mark() function so there's no need for virtual.
331
332         * bindings/js/kjs_window.cpp: (KJS::Window::mark): Call JSGlobalObject::mark,
333         not JSObject::mark. This is the actual bug fix.
334
335 2007-12-05  Pierre-Luc Beaudoin  <pierre-luc.beaudoin@collabora.co.uk>
336
337         http://bugs.webkit.org/show_bug.cgi?id=16145
338         [gtk] Implement media support in GTK backend
339
340         Reviewed by Alp Toker.
341
342         Remove old comments, fix variable names, match WebKit coding style.
343
344         * platform/graphics/gtk/MoviePrivateGStreamer.cpp:
345         (WebCore::moviePrivateEOSCallback):
346         (WebCore::MoviePrivate::MoviePrivate):
347         (WebCore::MoviePrivate::load):
348         (WebCore::MoviePrivate::play):
349         (WebCore::MoviePrivate::pause):
350         (WebCore::MoviePrivate::currentTime):
351         (WebCore::MoviePrivate::seek):
352         (WebCore::MoviePrivate::cancelSeek):
353         (WebCore::MoviePrivate::seeking):
354         (WebCore::MoviePrivate::naturalSize):
355         (WebCore::MoviePrivate::setVolume):
356         (WebCore::MoviePrivate::setMuted):
357         (WebCore::MoviePrivate::maxTimeBuffered):
358         (WebCore::MoviePrivate::bytesLoaded):
359         (WebCore::MoviePrivate::totalBytesKnown):
360         (WebCore::MoviePrivate::totalBytes):
361         (WebCore::MoviePrivate::updateStates):
362         (WebCore::MoviePrivate::didEnd):
363         (WebCore::MoviePrivate::paint):
364         (WebCore::MoviePrivate::createGSTPlayBin):
365         * platform/graphics/gtk/MoviePrivateGStreamer.h:
366
367 2007-12-05  Mark Rowe  <mrowe@apple.com>
368
369         Speculative wx build fix.  Add PlugInInfoStore::pluginNameForMIMEType to the temporary link stubs.
370
371         * platform/wx/TemporaryLinkStubs.cpp:
372
373 2007-12-05  Alp Toker  <alp@atoker.com>
374
375         Rubber stamped by Mark Rowe.
376
377         Remove DEPENDPATH on the generated sources directory. This causes
378         trouble and is no longer necessary following the glib-genmarshal
379         generator split.
380
381         * WebCore.pro:
382
383 2007-12-04  Geoffrey Garen  <ggaren@apple.com>
384
385         Reviewed by Darin Adler.
386
387         Third step in refactoring JSGlobalObject: Moved data members and data
388         member access from Interpreter to JSGlobalObject. Changed Interpreter
389         member functions to static functions. Same for the subclass, 
390         ScriptInterpreter.
391         
392         This is a big change, but it's mostly code motion and renaming.
393         
394 2007-12-05  Darin Adler  <darin@apple.com>
395
396         "Reviewed" by Geoff.
397
398         * loader/FrameLoader.cpp:
399         (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Removed assertion.
400         (WebCore::FrameLoader::dispatchDidCommitLoad): This one too.
401         The assertions are firing like crazy. Not sure why yet.
402
403 2007-12-05  Darin Adler  <darin@apple.com>
404
405         Reviewed by Adam Roben.
406
407         - fix http://bugs.webkit.org/show_bug.cgi?id=16306
408           Assertion failed in WebCore/loader/FrameLoader.cpp:4642
409
410         * loader/FrameLoader.cpp:
411         (WebCore::FrameLoader::dispatchDidCommitLoad): Check m_creatingInitialEmptyDocument
412         and don't deliver the client call in that case.
413
414 2007-12-05  Mark Rowe  <mrowe@apple.com>
415
416         Reviewed by Kevin Decker.
417
418         Fix 64-bit debug build.
419
420         * platform/text/mac/TextCodecMac.cpp:
421         (WebCore::TextCodecMac::decode): OSStatus is a long for 32-bit but int on 64-bit,
422         so we need to cast it to be able to use a single format specifier on both.
423
424 2007-12-05  Kevin Decker  <kdecker@apple.com>
425
426         Reviewed by Hyatt.
427
428         <rdar://problem/5613106> Acordex: REGRESSION (Tiger-Leopard): plug-ins can no longer take over TIFF images (affects uspto.gov)
429        
430         * loader/FrameLoader.cpp:
431         (WebCore::FrameLoader::shouldUsePlugin): Allow plug-ins (with the exception of QuickTime) to
432         takeover TIFF once again.
433         
434 2007-12-05  Luca Bruno  <lethalman88@gmail.com>
435
436         Reviewed by Alp Toker.
437
438         http://bugs.webkit.org/show_bug.cgi?id=16290
439         [GTK] Pasting clipboard in rich text.
440
441         * platform/gtk/PasteboardGtk.cpp:
442         (Pasteboard::documentFragment): Implement rich text paste support.
443
444 2007-12-05  Adele Peterson  <adele@apple.com>
445
446         Reviewed by Hyatt.
447
448         Reverting fix for <rdar://problem/5499918> REGRESSION: insertion point in input field with custom border cuts holes in focus ring interior edges
449
450         We need to just fix the underlying focus ring repaint problem.
451
452         * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setStyle):
453
454 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
455
456         Reviewed by Darin.
457
458         - <rdar://5621435>
459         - Security Fix. Instead of having it off by default, WebKit now must
460         explicitly turn off local-resource restriction when needed for backwards
461         compatibility reasons.
462
463         * loader/FrameLoader.cpp:
464
465 2007-12-05  Adam Roben  <aroben@apple.com>
466
467         Set the menu item identifier for all menu items
468
469         This allows WebKit clients to distinguish between submenus in the
470         context menu.
471
472         Reviewed by Darin.
473
474         No test possible.
475
476         * platform/win/ContextMenuItemWin.cpp:
477         (WebCore::ContextMenuItem::ContextMenuItem):
478
479 2007-12-05  Dan Bernstein  <mitz@apple.com>
480
481         Reviewed by Darin Adler.
482
483         - WebCore part of fixing <rdar://problem/5111082> Flash popup video ad doesn't close when clicked at http://www.firestonecompleteautocare.com/
484
485         * manual-tests/nested-plug-ins.html: Added.
486         * manual-tests/resources/nested-plug-ins-inner-frame.html: Added.
487         * manual-tests/resources/nested-plug-ins-outer-frame.html: Added.
488         * platform/ScrollView.h:
489         * platform/Widget.h:
490         (WebCore::Widget::attachToWindow): Added. Tells the widget that it is connected
491         via visible ScrollViews to the root ScrollView of the WebView.
492         (WebCore::Widget::detachFromWindow): Added. Tells the widget that it is no longer
493         connected via visible ScrollViews to the root ScrollView of the WebView.
494         * platform/win/ScrollViewWin.cpp:
495         (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate): Added
496         m_visible and m_attachedToWindow members.
497         (WebCore::ScrollView::attachToWindow): Added. Attaches all children if this
498         view is visible.
499         (WebCore::ScrollView::detachFromWindow): Added. Detaches all children if this
500         view is visible (otherwise they would be detached already).
501         (WebCore::ScrollView::show): Added. Attaches all children if this view
502         is attached.
503         (WebCore::ScrollView::hide): Added. Detaches all children if this view
504         is attached (otherwise they would be detached already).
505         (WebCore::ScrollView::isAttachedToWindow): Added.
506         * platform/win/WidgetWin.cpp:
507         (WebCore::Widget::setParent): Added calls to attachToWindow() and detachFromWindow()
508         depending on whether the parent is set and attached or not.
509         * plugins/win/PluginViewWin.cpp:
510         (WebCore::PluginViewWin::setFocus):
511         (WebCore::PluginViewWin::show): Changed to show the plug-in only if
512         this view is attached.
513         (WebCore::PluginViewWin::hide): Changed to hide the plug-in only if this
514         view is attached (otherwise it would be hidden already).
515         (WebCore::PluginViewWin::attachToWindow): Added. Shows the plug-in if this view
516         is visible.
517         (WebCore::PluginViewWin::detachFromWindow): Added. Hides the plug-in if this view
518         is visible (otherwise it would be hidden already).
519         (WebCore::PluginViewWin::PluginViewWin):
520         * plugins/win/PluginViewWin.h: Added m_attachedToWindow member.
521
522 2007-12-04  Alp Toker  <alp@atoker.com>
523
524         Potential GTK+ build fix for the glib-genmarshal issue.
525
526         Split the glib-genmarshal qmake generator in two; one for the source
527         file, another for the header.
528
529         * WebCore.pro:
530
531 2007-12-04  Alp Toker  <alp@atoker.com>
532
533         GTK+ build fix.
534
535         * platform/PlugInInfoStore.h:
536
537 2007-12-04  Kevin Decker  <kdecker@apple.com>
538
539         Reviewed by Anders.
540
541         <rdar://problem/5629125> PluginInfoStore needs the ability to return the name of a plug-in for a given MIME type
542
543         * page/mac/WebCoreViewFactory.h: Added pluginNameForMIMEType: method.
544         * platform/PlugInInfoStore.h:
545         * platform/gtk/TemporaryLinkStubs.cpp: Added stub version of pluginNameForMIMEType.
546         (PlugInInfoStore::pluginNameForMIMEType):
547         * platform/mac/PlugInInfoStoreMac.mm:
548         (WebCore::PlugInInfoStore::pluginNameForMIMEType): Added.
549         * platform/qt/PlugInInfoStoreQt.cpp: 
550         (WebCore::PlugInInfoStore::pluginNameForMIMEType): Added stub version of pluginNameForMIMEType.
551         * plugins/win/PlugInInfoStoreWin.cpp: 
552         (WebCore::PlugInInfoStore::pluginNameForMIMEType): Added stub version of pluginNameForMIMEType.
553
554 2007-12-04  Adele Peterson  <adele@apple.com>
555
556         Reviewed by Darin.
557
558         Fix for <rdar://problem/5499918> REGRESSION: insertion point in input field with custom border cuts holes in focus ring interior edges
559
560         * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setStyle):
561         Adjust outline-offset so it doesn't extend beyond the border to interfere with typing
562
563 2007-12-04  Anders Carlsson  <andersca@apple.com>
564
565         Reviewed by Jon.
566
567         Always call NPP_NewStream, NPP_DestroyStream and NPP_URLNotify for JavaScript
568         result streams, even if the JavaScript expression threw an exception or returned undefined.
569         This matches what Firefox does.
570         
571         * plugins/win/PluginStreamWin.cpp:
572         (WebCore::PluginStreamWin::sendJavaScriptStream):
573         Handle the result string being null, and set the correct NPReason if it is.
574         
575         * plugins/win/PluginViewWin.cpp:
576         (WebCore::PluginViewWin::performRequest):
577         Always send the JavaScript stream, regardless of the result could be converted to a string or not.
578
579 2007-12-04  Adele Peterson  <adele@apple.com>
580
581         Reviewed by Hyatt.
582
583         Fix for <rdar://problem/5622464> controls should show up for audio element
584
585         * css/html4.css: Added styles for audio controls.  This will need to be refined, since we may want a different look for audio controls.
586         * html/HTMLMediaElement.cpp:
587         (WebCore::HTMLMediaElement::attributeChanged): When the controls attribute changes detach and reattach if necessary. 
588         (WebCore::HTMLMediaElement::rendererIsNeeded): Added.
589         (WebCore::HTMLMediaElement::createRenderer): Added.  Uses RenderMedia.
590         * html/HTMLMediaElement.h:
591         * rendering/RenderMedia.cpp: (WebCore::RenderMedia::RenderMedia): Added constructor that doesn't take intrinsic size.
592         * rendering/RenderMedia.h:
593
594 2007-12-04  Anders Carlsson  <andersca@apple.com>
595
596         Reviewed by Sam.
597
598         Add isSafeScript(const JSGlobalObject*) so we won't get the JSGlobalObject
599         implementation, which always returns true(!).
600         
601         * bindings/js/kjs_window.cpp:
602         (KJS::Window::isSafeScript):
603         Make the static isSafeScript method take two JSGlobalObjects.
604         
605         * bindings/js/kjs_window.h:
606         (KJS::Window::isSafeScript):
607         Implement isSafeScript and have it call the static method.
608
609 2007-11-27  Adam Roben  <aroben@apple.com>
610
611         Make the implementation of Frame::setNeedsReapplyStyles cross-platform
612
613         Reviewed by Hyatt.
614
615         No change in functionality.
616
617         * page/Frame.cpp:
618         (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
619         FrameView so that FrameView::layout will be called, which ends up
620         calling reapplyStyles.
621         (WebCore::Frame::needsReapplyStyles): Added.
622         (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
623         (WebCore::FramePrivate::FramePrivate):
624         * page/Frame.h:
625         * page/FramePrivate.h: Added new boolean member.
626         * page/FrameView.cpp:
627         (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
628         (WebCore::FrameView::needsLayout): Say that we need layout if the
629         Frame needs styles reapplied.
630         * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
631         * page/mac/WebCoreFrameBridge.mm:
632         (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
633         rename.
634
635         * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
636         * page/gtk/FrameGtk.cpp: Ditto.
637         * page/mac/FrameMac.mm: Ditto.
638         * page/qt/FrameQt.cpp: Ditto.
639         * platform/wx/TemporaryLinkStubs.cpp: Ditto.
640
641 2007-12-04  Antti Koivisto  <antti@apple.com>
642
643         Reviewed by Adele.
644
645         Pass intrinsic size to the base class.
646
647         * rendering/RenderMedia.cpp:
648         (WebCore::RenderMedia::RenderMedia):
649
650 2007-12-04  Adele Peterson  <adele@apple.com>
651
652         Reviewed by Darin.
653
654         Fix for <rdar://problem/5578209> REGRESSION: Crash in WebCore::DeprecatedValueListImpl::Private::copyList when going back on zoomerang.com/survey
655
656         * loader/FrameLoader.cpp: (WebCore::FrameLoader::scheduleHistoryNavigation):
657           When the new url is exactly the same as the old url, don't treat it like a fragment navigation, since its going to cause a reload.
658
659 2007-12-04  Darin Adler  <darin@apple.com>
660
661         Reviewed by Kevin Decker.
662
663         - added an assertion for a situation that leads to a Safari assertion:
664           a commit that is not followed by a load completion
665
666         - removed some unneeded FrameLoader stuff -- maybe some day we'll get this
667           class cut down to size
668
669         * loader/FrameLoader.cpp:
670         (WebCore::FrameLoader::FrameLoader): Added boolean for assertion.
671         (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Added code to assert
672         that we already sent a commit before sending a complete.
673         (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy): Call
674         client directly instead of indirecting through a function.
675         (WebCore::FrameLoader::loadItem): Ditto.
676         (WebCore::FrameLoader::goToItem): Ditto.
677         (WebCore::FrameLoader::addHistoryForCurrentLocation): Get the private browsing
678         state from Settings instead of FrameLoaderClient. Also call client directly
679         instead of indirecting through a function.
680         (WebCore::FrameLoader::updateHistoryForReload): Call client directly instead
681         of indirecting through a function.
682         (WebCore::FrameLoader::dispatchDidCommitLoad): Added code to assert
683         that we did not yet send a commit and set the flag that will be used to check
684         that we don't do this twice in a row without an intervening completion call.
685
686         * loader/FrameLoader.h: Added a boolean for the assertion. Removed six
687         now-unneeded functions.
688
689         * loader/FrameLoaderClient.h: Removed now-unneeded privateBrowsingEnabled function.
690
691         * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::willCacheResponse): Get
692         the private browsing state from Settings instead of FrameLoaderClient.
693
694         * svg/graphics/SVGImageEmptyClients.h: Removed obsolete privateBrowsingEnabled.
695
696 2007-12-03  Antti Koivisto  <antti@apple.com>
697
698         Reviewed by Adele.
699         
700         Fix <rdar://problem/5624802> 
701         Controller displays outside of <video> element when width and height aren't specified 
702
703         - Explicitly adjust size of the controls tree root.
704         - Switch RenderMedia base class back to RenderReplaced. It is easier to manage the shadow tree
705           by hand. This also allows better code sharing with other replaced element classes.
706         - Move duplicated layout and painting code from subclasses up to RenderReplaced.
707
708         Test: media/video-controls-rendering.html
709
710         * rendering/RenderHTMLCanvas.cpp:
711         (WebCore::RenderHTMLCanvas::paintReplaced):
712         * rendering/RenderHTMLCanvas.h:
713             Share code.
714         * rendering/RenderImage.cpp:
715         (WebCore::RenderImage::paintReplaced):
716         (WebCore::RenderImage::minimumReplacedHeight):
717         * rendering/RenderImage.h:
718             Share code.
719         * rendering/RenderMedia.cpp:
720         (WebCore::RenderMediaControlShadowRoot::RenderMediaControlShadowRoot):
721         (WebCore::RenderMediaControlShadowRoot::setParent):
722             Add a subclass just to get through encapsulation to use setParent().
723         (WebCore::MediaControlShadowRootElement::MediaControlShadowRootElement):
724             Move initialization to the constructor.
725         (WebCore::RenderMedia::RenderMedia):
726         (WebCore::RenderMedia::~RenderMedia):
727         (WebCore::RenderMedia::layout):
728             Resize and layout the controller root by hand.
729         (WebCore::RenderMedia::firstChild):
730         (WebCore::RenderMedia::lastChild):
731         (WebCore::RenderMedia::removeChild):
732             Support one child renderer for controls.
733         (WebCore::RenderMedia::createControlsShadowRoot):
734         * rendering/RenderMedia.h:
735         (WebCore::RenderMedia::isMedia):
736             Switch base class to RenderReplaced, delete the now unnecessary stuff.
737         * rendering/RenderReplaced.cpp:
738         (WebCore::RenderReplaced::layout):
739         (WebCore::RenderReplaced::paint):
740         * rendering/RenderReplaced.h:
741         (WebCore::RenderReplaced::minimumReplacedHeight):
742         (WebCore::RenderReplaced::paintReplaced):
743             Share code.
744         * rendering/RenderVideo.cpp:
745         (WebCore::RenderVideo::videoSizeChanged):
746             Simplify, just request relayout.
747         (WebCore::RenderVideo::paintReplaced):
748         (WebCore::RenderVideo::layout):
749         * rendering/RenderVideo.h:
750             Share code.
751
752 2007-12-04  Michael Natterer  <mitch@imendio.com>
753
754         Reviewed by Alp Toker.
755
756         * WebCore.pro: fix build of webkit-marshal by building the
757         functions into a separate .cpp file instead of including them in
758         the header. This way we can use the marshallers from more than one
759         file without using bad hacks.
760
761         Add the generated sources directory to DEPENDPATH.
762
763 2007-12-04  Pierre-Luc Beaudoin  <pierre-luc.beaudoin@collabora.co.uk>
764
765         Reviewed by Alp Toker.
766
767         http://bugs.webkit.org/show_bug.cgi?id=16145
768         [gtk] Implement media support in GTK backend
769
770         This implements the media tags of HTML5 on the GTK+ port based on the 
771         Mac port. Media tests pass although some tests required a small modifications: 
772         As per the HTML5 spec, the loading of the clip should start only after 
773         all script are done.  But in the case of the tests, the loading starts 
774         before some callbacks get registered.  This has been discussed with 
775         Antti Koivisto, and the tests should be updated.
776
777         There is only one known issue: one time in 10 tries, loading a buffered 
778         clip will never end buffering.  The buffering will stall at 97% for no 
779         apparent reasons.  Reloading the page usually works around the problem.
780         On the GStreamer side, some codecs don't return correct values, therefore
781         they make the tests fail.  For instance H.264 will make the video-end 
782         test fail.  This should be fixed in GStreamer 0.10.15.
783
784         This version displays video in a pop up window.  A place holder is drawn
785         on the page where the video should appear.
786
787         By default, it is turned off in WebCore.pro until GStreamer/X
788         detection issues are sorted out.
789
790         * WebCore.pro:
791         Disable video for now
792         * platform/Logging.cpp:
793         (WebCore::):
794         * platform/Logging.h:
795         Added a logging level for Media stuff
796         * platform/graphics/Movie.cpp:
797         * platform/graphics/gtk/MoviePrivateGStreamer.cpp: Added.
798         (WebCore::moviePrivateErrorCallback):
799         (WebCore::moviePrivateEOSCallback):
800         (WebCore::moviePrivateStateCallback):
801         (WebCore::moviePrivateBufferingCallback):
802         (WebCore::moviePrivateWindowIDCallback):
803         (WebCore::MoviePrivate::MoviePrivate):
804         (WebCore::MoviePrivate::~MoviePrivate):
805         (WebCore::MoviePrivate::load):
806         (WebCore::MoviePrivate::play):
807         (WebCore::MoviePrivate::pause):
808         (WebCore::MoviePrivate::duration):
809         (WebCore::MoviePrivate::currentTime):
810         (WebCore::MoviePrivate::seek):
811         (WebCore::MoviePrivate::setEndTime):
812         (WebCore::MoviePrivate::addCuePoint):
813         (WebCore::MoviePrivate::removeCuePoint):
814         (WebCore::MoviePrivate::clearCuePoints):
815         (WebCore::MoviePrivate::startCuePointTimerIfNeeded):
816         (WebCore::MoviePrivate::cancelSeek):
817         (WebCore::MoviePrivate::cuePointTimerFired):
818         (WebCore::MoviePrivate::paused):
819         (WebCore::MoviePrivate::seeking):
820         (WebCore::MoviePrivate::naturalSize):
821         (WebCore::MoviePrivate::hasVideo):
822         (WebCore::MoviePrivate::setVolume):
823         (WebCore::MoviePrivate::setMuted):
824         (WebCore::MoviePrivate::setRate):
825         (WebCore::MoviePrivate::dataRate):
826         (WebCore::MoviePrivate::networkState):
827         (WebCore::MoviePrivate::readyState):
828         (WebCore::MoviePrivate::maxTimeBuffered):
829         (WebCore::MoviePrivate::maxTimeSeekable):
830         (WebCore::MoviePrivate::maxTimeLoaded):
831         (WebCore::MoviePrivate::bytesLoaded):
832         (WebCore::MoviePrivate::totalBytesKnown):
833         (WebCore::MoviePrivate::totalBytes):
834         (WebCore::MoviePrivate::cancelLoad):
835         (WebCore::MoviePrivate::updateStates):
836         (WebCore::MoviePrivate::loadStateChanged):
837         (WebCore::MoviePrivate::rateChanged):
838         (WebCore::MoviePrivate::sizeChanged):
839         (WebCore::MoviePrivate::timeChanged):
840         (WebCore::MoviePrivate::volumeChanged):
841         (WebCore::MoviePrivate::didEnd):
842         (WebCore::MoviePrivate::loadingFailed):
843         (WebCore::MoviePrivate::setRect):
844         (WebCore::MoviePrivate::setVisible):
845         (WebCore::MoviePrivate::paint):
846         (WebCore::MoviePrivate::getSupportedTypes):
847         (WebCore::MoviePrivate::createGSTPlayBin):
848         * platform/graphics/gtk/MoviePrivateGStreamer.h: Added.
849
850 2007-12-04  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
851
852         Reviewed by Simon.
853
854         * Implement the InspectorClient for the Qt port
855         * It does not support highlighting of nodes yet
856         * Use QRC to open the internal page. The important thing is the
857         '/' in the URL to make WebCore::Document::completeURL behave the
858         way we want.
859         * To make the InspectorClient work we will have to mark qrc as secure.
860
861         * WebCore.pro:
862         * loader/FrameLoader.cpp:
863         (WebCore::localSchemes):
864         * page/inspector/WebKit.qrc: Added.
865
866 2007-12-04  Alp Toker  <alp@atoker.com>
867
868         Rubber stamped by Mark Rowe.
869
870         Remove two unused variables to silence warnings.
871
872         * html/CanvasRenderingContext2D.cpp:
873         (WebCore::CanvasRenderingContext2D::fill):
874         (WebCore::CanvasRenderingContext2D::stroke):
875
876 2007-12-03  Dan Bernstein  <mitz@apple.com>
877
878         Reviewed by Darin Adler.
879
880         - fix <rdar://problem/5134044> fast/frames/frame-src-attribute.html fails on Windows
881
882         * platform/win/ScrollViewWin.cpp:
883         (WebCore::ScrollView::visibleWidth): Do not return negative values.
884         (WebCore::ScrollView::visibleHeight): Ditto.
885
886 2007-12-03  Dan Bernstein  <mitz@apple.com>
887
888         Reviewed by Dave Hyatt.
889
890         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
891
892         Test: fast/events/resize-subframe.html
893
894         * page/FrameView.cpp:
895         (WebCore::FrameViewPrivate::FrameViewPrivate): Added a timer used when
896         deferring tasks that need to be done after layout.
897         (WebCore::FrameViewPrivate::reset):
898         (WebCore::FrameView::~FrameView):
899         (WebCore::FrameView::layout): Moved the updating of widget positions,
900         loading plug-ins and sending events queued up during layout into
901         performPostLayoutTasks(). performPostLayoutTasks() is called after
902         layout unless the layout was triggered by a previous layout's post-
903         layout tasks. In the latter case, performPostLayoutTasks() is scheduled
904         to run later.
905         (WebCore::FrameView::performPostLayoutTasks): Performs work that needs
906         to be done after layout but which can result in arbitrary code
907         execution and therefore may re-invalidate the layout. This includes
908         updating widget positions, loading plug-ins, and dispatching layout-
909         related DOM events (scroll, overflow and resize).
910         (WebCore::FrameView::postLayoutTimerFired):
911         (WebCore::FrameView::dispatchScheduledEvents):
912         * page/FrameView.h:
913         * page/mac/WebCoreFrameBridge.h:
914         * page/mac/WebCoreFrameBridge.mm: Removed -sendResizeEvent since this
915         is handled by FrameView now.
916
917 2007-12-03  Rob Buis  <buis@kde.org>
918
919         Reviewed by Darin.
920
921         http://bugs.webkit.org/show_bug.cgi?id=15767
922         Text decorations do not respect "visibility" property
923
924         Only paint decorations if visibility is "visible".
925
926         * rendering/SVGInlineTextBox.cpp:
927         (WebCore::SVGInlineTextBox::paintDecoration):
928
929 2007-12-03  Steve Falkenburg  <sfalken@apple.com>
930
931         Fix build.
932
933         * WebCore.vcproj/WebCore.vcproj:
934
935 2007-12-03  Nikolas Zimmermann  <zimmermann@kde.org>
936
937         Reviewed by David.
938
939         Fixes: http://bugs.webkit.org/show_bug.cgi?id=15645
940         Don't allow selectors to interfere with the SVG shadow tree (<use> internal non-exposed tree).
941
942         * css/CSSStyleSelector.cpp:
943         (WebCore::CSSStyleSelector::checkSelector):
944
945 2007-12-03  Dan Bernstein  <mitz@apple.com>
946
947         Reviewed by Adam Roben.
948
949         - fix <rdar://problem/5538651> REGRESSSION: domfuzz: null deref in WebCore::Document::canReplaceChild
950
951         Test: fast/dom/Document/replaceChild-null-oldChild.html
952
953         * dom/Document.cpp:
954         (WebCore::Document::canReplaceChild):
955
956 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
957
958         Reviewed by Simon.
959
960         * Avoid crashes by making sure everything is layouted before
961         we start painting. This avoids a crash in Widget::invalidateRect
962         because QPainter::begin would fail
963         * The QWebFrame::layout() methods and calls are left untouched because
964         this would be an API decision.
965         
966
967         WARNING: NO TEST CASES ADDED OR CHANGED
968
969         * page/FrameView.cpp:
970         (WebCore::FrameView::updateControlTints):
971         * page/FrameView.h:
972         * platform/ScrollView.h:
973         * platform/qt/ScrollViewQt.cpp:
974         (WebCore::ScrollView::children):
975
976 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
977
978         Reviewed by Simon.
979
980         * Implement GraphicsContext::fillRoundedRect similiar to the
981         CoreGraphics implementation only addPath is not called this
982         seems to be only needed for CoreGraphics.
983         
984
985         WARNING: NO TEST CASES ADDED OR CHANGED
986
987         * platform/graphics/qt/GraphicsContextQt.cpp:
988         (WebCore::GraphicsContext::fillRoundedRect):
989
990 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
991
992         Reviewed by Simon.
993
994         * Coding Style fixes
995         
996
997         WARNING: NO TEST CASES ADDED OR CHANGED
998
999         * platform/qt/ScrollViewQt.cpp:
1000         (WebCore::ScrollView::addChild):
1001         (WebCore::ScrollView::removeChild):
1002
1003 2007-12-03  Alp Toker  <alp@atoker.com>
1004
1005         Reviewed by Mark Rowe.
1006
1007         Don't delete the decoder if it's already been created. The one we have
1008         is fine.
1009
1010         Cairo image cleanups. Nothing substantial.
1011
1012         Notify ImageObservers where appropriate.
1013
1014         * platform/graphics/cairo/ImageCairo.cpp:
1015         (WebCore::BitmapImage::draw):
1016         (WebCore::Image::drawPattern):
1017         * platform/graphics/cairo/ImageSourceCairo.cpp:
1018         (WebCore::ImageSource::setData):
1019         * platform/graphics/gtk/ImageGtk.cpp:
1020
1021 2007-12-03  Simon Hausmann  <hausmann@webkit.org>
1022
1023         Reviewed by Lars.
1024
1025         Fixed crash when rendering form elements with Qt 4.4
1026
1027         QPainter::device() is not guaranteed to return a QWidget, so do the safe "cast" with the
1028         help of QPaintDevice::devType().
1029         Also fall back to the QApplication::style() if we don't have a widget.
1030
1031         * platform/qt/RenderThemeQt.cpp:
1032         (WebCore::RenderThemeQt::paintButton):
1033         (WebCore::RenderThemeQt::paintTextField):
1034         (WebCore::RenderThemeQt::paintMenuList):
1035         (WebCore::RenderThemeQt::getStylePainterAndWidgetFromPaintInfo):
1036
1037 2007-12-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1038
1039         Reviewed by Sam Weinig.
1040
1041         * Add FrameLoader::shouldTreatSchemeAsLocal which is similar to
1042         shouldTreatURLAsLocal.
1043         * Make use of FrameLoader::shouldTreatSchemeAsLocal in SecurityOrigin
1044         and do not hardcode "file". This is needed for the WebKit/qt port to make
1045         the Web Inspector work as it using the qrc protocol instead of file.
1046
1047
1048         * loader/FrameLoader.cpp:
1049         (WebCore::FrameLoader::shouldTreatSchemeAsLocal):
1050         * loader/FrameLoader.h:
1051         * platform/SecurityOrigin.cpp:
1052         (WebCore::SecurityOrigin::isSecureTransitionTo):
1053
1054 2007-12-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1055
1056         Rubber stamped by Sam Weinig.
1057
1058         Only add applewebdata to the localSchemes when building for the
1059         mac. This is in preparation of adding qrc for the Qt port there
1060         as well and http://bugs.webkit.org/show_bug.cgi?id=15938.
1061
1062         According to Anders applewebdata is not used on the win port.
1063
1064         * loader/FrameLoader.cpp:
1065         (WebCore::localSchemes):
1066
1067 2007-12-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1068
1069         Rubber stamped by Sam Weinig.
1070
1071         Fix a typo. It is contains and not containts
1072
1073         * loader/FrameLoader.cpp:
1074
1075 2007-12-03  Alp Toker  <alp@atoker.com>
1076
1077         Add another missing DEPENDPATH.
1078
1079         Noticed when fixing the build.
1080
1081         * WebCore.pro:
1082
1083 2007-12-03  Adam Roben  <aroben@apple.com>
1084
1085         Speculative Windows build fix
1086
1087         * plugins/win/PluginViewWin.cpp:
1088         (WebCore::getString):
1089
1090 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
1091
1092         Build fix: added symbols to the right .exp file.
1093
1094         * WebCore.base.exp:
1095
1096 2007-12-02  Geoffrey Garen  <ggaren@apple.com>
1097
1098         Reviewed by Eric Seidel.
1099
1100         Updated to match the JavaScriptCore change to move virtual methods from
1101         Interpreter to JSGlobalObject.
1102         
1103         Moved virtual ScriptInterpreter functions to Window.
1104
1105 2007-12-02  Darin Adler  <darin@apple.com>
1106
1107         Reviewed by Mitz.
1108
1109         - fix <rdar://problem/5601995> Hang/crash on http://ebay-uk.custhelp.com/
1110
1111         There were two problems here:
1112
1113             1) Incorrect HTMLCollection behavior led to us trying to insert a
1114                new row inside an existing row instead of next to it. The fix for
1115                this is to make HTMLCollection work better for table-related
1116                collections.
1117
1118             2) HTMLTableRowElement::insertCell would return a bad pointer if
1119                the insertion failed. The code should have failed, but not crashed,
1120                so it's worth fixing that too.
1121
1122         While fixing the HTMLCollection issues, I did some clean-up of that
1123         class and its derived classes.
1124
1125         Test: fast/dom/HTMLTableElement/rows.html
1126         Test: fast/dom/HTMLTableElement/tBodies.html
1127         Test: fast/dom/HTMLTableRowElement/cells.html
1128         Test: fast/dom/HTMLTableRowElement/insertCell.html
1129         Test: fast/dom/HTMLTableSectionElement/rows.html
1130
1131         * bindings/js/JSHTMLCollectionCustom.cpp:
1132         (WebCore::toJS): Updated because collectionType() was renamed to type().
1133
1134         * html/HTMLCollection.cpp:
1135         (WebCore::HTMLCollection::HTMLCollection): Updated for data member name
1136         changes. Also added a protected constructor for use by derived classes
1137         that pass in a CollectionInfo.
1138         (WebCore::HTMLCollection::CollectionInfo::copyCacheMap): Moved out of
1139         the header.
1140         (WebCore::isTableSection): Added.
1141         (WebCore::HTMLCollection::itemAfter): Renamed from traverseNextItem,
1142         because the old name was grammatically incorrect and thus a bit confusing.
1143         Changed to operate on Element* instead of Node*, and use 0 to start
1144         rather than passing in the base node (required since the base node can be
1145         a document, which is not an element). Generalized the code that made
1146         NodeChildren not descend into deeper descendants so it can be used for
1147         TRCells, TSectionRows, TableTBodies, and TableRows. Reformatted the
1148         switch statement and got rid of the "found" boolean since we can just
1149         return when we find something. Got rid of the default case, and instead
1150         listed all the enum values. Also changed to use a for loop for clarity.
1151         (WebCore::HTMLCollection::calcLength): Updated for itemAfter changes.
1152         (WebCore::HTMLCollection::item): Ditto.
1153         (WebCore::HTMLCollection::nextItem): Ditto.
1154         (WebCore::HTMLCollection::checkForNameMatch): Updated to take an Element
1155         instead of a Node pointer.
1156         (WebCore::HTMLCollection::namedItem): More of the same.
1157         (WebCore::HTMLCollection::updateNameCache): Ditto.
1158         (WebCore::HTMLCollection::namedItems): Ditto.
1159         (WebCore::HTMLCollection::nextNamedItem): Ditto.
1160         (WebCore::HTMLCollection::tags): Ditto.
1161
1162         * html/HTMLCollection.h: Added a type FormElements, so that the
1163         HTMLFormCollection would not have a type of DocImages, which is what
1164         it previously did. Changed the base parameter to be a PassRefPtr to
1165         make it clear we take ownership of it. Added a comment explaining
1166         why we should change the name CollectionInfo. Made a lot more members
1167         private instead of protected. Renamed traverseNextItem to itemAfter.
1168         Changed most functions to take Element* instead of Node*.
1169
1170         * html/HTMLFormCollection.cpp:
1171         (WebCore::HTMLFormCollection::formCollectionInfo): Added.
1172         (WebCore::HTMLFormCollection::HTMLFormCollection): Updated to pass
1173         collection info into the base class.
1174         (WebCore::HTMLFormCollection::calcLength): Updated to use base() so we
1175         don't need to get at m_base directly.
1176         (WebCore::HTMLFormCollection::item): Same, but for info().
1177         (WebCore::HTMLFormCollection::getNamedItem): Removed unused first
1178         argument.
1179         (WebCore::HTMLFormCollection::getNamedFormItem): Got rid of unneeded
1180         checks that the base is still an element and still a form, since that's
1181         guaranteed.
1182         (WebCore::HTMLFormCollection::nextItem): Use info().
1183         (WebCore::HTMLFormCollection::nextNamedItemInternal): Node instead of
1184         Element, some name changes.
1185         (WebCore::HTMLFormCollection::namedItem): Update for changes elsewhere.
1186         (WebCore::HTMLFormCollection::nextNamedItem): Ditto, also rewrote loop
1187         to be much simpler.
1188         (WebCore::HTMLFormCollection::updateNameCache): More of the same.
1189
1190         * html/HTMLFormCollection.h: Changed constructor to take an
1191         HTMLFormElement, using a PassRefPtr to communicate transfer of
1192         ownership. Made everything private instead of protected. Removed
1193         unneeded override of firstItem. Made getNamedItem and
1194         nextNamedItemInternal non-virtual. Removed unused first argument of
1195         getNamedItem. Added declaration of formCollectionInfo.
1196
1197         * html/HTMLNameCollection.cpp:
1198         (WebCore::HTMLNameCollection::HTMLNameCollection): Updated to pass
1199         collection info into the base class.
1200         (WebCore::HTMLNameCollection::itemAfter): Reformatted a bit and
1201         changed into a for loop.
1202
1203         * html/HTMLNameCollection.h: Updated for name changes. Made function
1204         private instead of public. Used PassRefPtr in constructor.
1205
1206         * html/HTMLOptionsCollection.cpp:
1207         (WebCore::HTMLOptionsCollection::HTMLOptionsCollection): Updated to
1208         pass collection info into the base class.
1209         (WebCore::HTMLOptionsCollection::add): Updated for public/private
1210         changes in the base class.
1211         (WebCore::HTMLOptionsCollection::selectedIndex): Ditto.
1212         (WebCore::HTMLOptionsCollection::setSelectedIndex): Ditto.
1213         (WebCore::HTMLOptionsCollection::setLength): Ditto.
1214
1215         * html/HTMLOptionsCollection.h: Changed constructor parameter to be a
1216         PassRefPtr.
1217
1218         * html/HTMLTableRowElement.cpp:
1219         (WebCore::HTMLTableRowElement::insertCell): Changed code to use RefPtr
1220         and PassRefPtr since this creates a new object. This alone fixed the
1221         crash. Also cleaned up logic a bit to be more readable.
1222
1223         * html/HTMLTableRowElement.h: Changed insertCell to return a PassRefPtr.
1224         Also reordered functions a bit to make things a little more logical and
1225         removed the unused ncols data member.
1226
1227         * html/HTMLTableSectionElement.cpp:
1228         (WebCore::HTMLTableSectionElement::rows): Pass TSectionRows, not
1229         TableRows. This mistake was harmless before because TableRows and
1230         TSectionRows were handled identically inside HTMLCollection, but that is
1231         no longer the case with this fix.
1232
1233         * bindings/scripts/CodeGeneratorJS.pm: Add an include to cope with the
1234         fact that HTMLOptionsCollection no longer includes HTMLOptionElement.
1235         I don't think this really should be a special case -- might be worth
1236         returning later to see if this can be optimized.
1237
1238 2007-12-02  Nikolas Zimmermann  <zimmermann@kde.org>
1239
1240         Reviewed by Adam.
1241
1242         RenderSVGViewportContainer sets wrong width/height.
1243         Share code with RenderSVGContainer in a central calcBounds() function.
1244
1245         Fixes:
1246         - svg/custom/use-css-events.svg (http://bugs.webkit.org/show_bug.cgi?id=15403)
1247         - svg/custom/deep-dynamic-updates.svg
1248         - svg/custom/use-clipped-hit.svg
1249         - svg/custom/image-clipped-hit.svg
1250
1251         * rendering/RenderSVGContainer.cpp:
1252         (WebCore::RenderSVGContainer::layout):
1253         (WebCore::RenderSVGContainer::calcBounds):
1254         * rendering/RenderSVGContainer.h:
1255         * rendering/RenderSVGViewportContainer.cpp:
1256         (WebCore::RenderSVGViewportContainer::layout):
1257
1258 2007-12-02  Brady Eidson <beidson@apple.com>
1259
1260         Reviewed by Darin
1261
1262         databaseChanged notifications were being sent out on the database thread - they need to be on the main thread
1263         like all other notifications we send out!
1264
1265         * platform/SecurityOriginData.cpp:
1266         (WebCore::SecurityOriginData::copy): Add a deep copy method, for when an object thread hops
1267         * platform/SecurityOriginData.h:
1268
1269         * storage/DatabaseTracker.cpp:
1270         (WebCore::notificationMutex):
1271         (WebCore::notificationQueue):
1272         (WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged): Add the origin/name pair to a queue
1273         (WebCore::DatabaseTracker::scheduleForNotification): Schedule to deliver this queue of notifications
1274           on the main thread
1275         (WebCore::DatabaseTracker::notifyDatabasesChanged): Deliver all notifications in the queue
1276         * storage/DatabaseTracker.h:
1277
1278         * storage/SQLTransaction.cpp:
1279         (WebCore::SQLTransaction::postflightAndCommit): scheduleNotifyDatabaseChanged() instead of "notify now!"
1280         (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto
1281
1282 2007-12-02  Rob Buis  <buis@kde.org>
1283
1284         Reviewed by Darin.
1285
1286         http://bugs.webkit.org/show_bug.cgi?id=16002
1287         Load SVG (and other) UA StyleSheets dynamically when needed
1288
1289         Load svg sheet when needed.
1290
1291         * css/CSSStyleSelector.cpp:
1292         (WebCore::screenEval):
1293         (WebCore::printEval):
1294         (WebCore::CSSStyleSelector::CSSStyleSelector):
1295         (WebCore::CSSStyleSelector::loadDefaultStyle):
1296         (WebCore::CSSStyleSelector::styleForElement):
1297         (WebCore::CSSRuleSet::addRulesFromSheet):
1298
1299 2007-12-02  Mark Rowe  <mrowe@apple.com>
1300
1301         Try and fix the Windows build.
1302
1303         * plugins/win/PluginViewWin.cpp:
1304         (WebCore::PluginViewWin::bindingInstance):
1305
1306 2007-12-02  Nikolas Zimmermann  <zimmermann@kde.org>
1307
1308         Rubber stamped by Eric.
1309
1310         Move platform/graphics/svg to graphics/svg as discussed on webkit-dev.
1311         Updated all project files.
1312
1313         * WebCore.pro:
1314         * WebCore.vcproj/WebCore.vcproj:
1315         * WebCore.xcodeproj/project.pbxproj:
1316         * platform/graphics/svg: Removed.
1317         * platform/graphics/svg/SVGImage.cpp: Removed.
1318         * platform/graphics/svg/SVGImage.h: Removed.
1319         * platform/graphics/svg/SVGImageEmptyClients.h: Removed.
1320         * platform/graphics/svg/SVGPaintServer.cpp: Removed.
1321         * platform/graphics/svg/SVGPaintServer.h: Removed.
1322         * platform/graphics/svg/SVGPaintServerGradient.cpp: Removed.
1323         * platform/graphics/svg/SVGPaintServerGradient.h: Removed.
1324         * platform/graphics/svg/SVGPaintServerLinearGradient.cpp: Removed.
1325         * platform/graphics/svg/SVGPaintServerLinearGradient.h: Removed.
1326         * platform/graphics/svg/SVGPaintServerPattern.cpp: Removed.
1327         * platform/graphics/svg/SVGPaintServerPattern.h: Removed.
1328         * platform/graphics/svg/SVGPaintServerRadialGradient.cpp: Removed.
1329         * platform/graphics/svg/SVGPaintServerRadialGradient.h: Removed.
1330         * platform/graphics/svg/SVGPaintServerSolid.cpp: Removed.
1331         * platform/graphics/svg/SVGPaintServerSolid.h: Removed.
1332         * platform/graphics/svg/SVGResource.cpp: Removed.
1333         * platform/graphics/svg/SVGResource.h: Removed.
1334         * platform/graphics/svg/SVGResourceClipper.cpp: Removed.
1335         * platform/graphics/svg/SVGResourceClipper.h: Removed.
1336         * platform/graphics/svg/SVGResourceFilter.cpp: Removed.
1337         * platform/graphics/svg/SVGResourceFilter.h: Removed.
1338         * platform/graphics/svg/SVGResourceListener.h: Removed.
1339         * platform/graphics/svg/SVGResourceMarker.cpp: Removed.
1340         * platform/graphics/svg/SVGResourceMarker.h: Removed.
1341         * platform/graphics/svg/SVGResourceMasker.cpp: Removed.
1342         * platform/graphics/svg/SVGResourceMasker.h: Removed.
1343         * platform/graphics/svg/cairo: Removed.
1344         * platform/graphics/svg/cairo/RenderPathCairo.cpp: Removed.
1345         * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp: Removed.
1346         * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp: Removed.
1347         * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp: Removed.
1348         * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp: Removed.
1349         * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp: Removed.
1350         * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp: Removed.
1351         * platform/graphics/svg/cg: Removed.
1352         * platform/graphics/svg/cg/CgSupport.cpp: Removed.
1353         * platform/graphics/svg/cg/CgSupport.h: Removed.
1354         * platform/graphics/svg/cg/RenderPathCg.cpp: Removed.
1355         * platform/graphics/svg/cg/SVGPaintServerCg.cpp: Removed.
1356         * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: Removed.
1357         * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp: Removed.
1358         * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp: Removed.
1359         * platform/graphics/svg/cg/SVGResourceClipperCg.cpp: Removed.
1360         * platform/graphics/svg/cg/SVGResourceFilterCg.cpp: Removed.
1361         * platform/graphics/svg/cg/SVGResourceFilterCg.mm: Removed.
1362         * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp: Removed.
1363         * platform/graphics/svg/cg/SVGResourceMaskerCg.mm: Removed.
1364         * platform/graphics/svg/filters: Removed.
1365         * platform/graphics/svg/filters/SVGDistantLightSource.h: Removed.
1366         * platform/graphics/svg/filters/SVGFEBlend.cpp: Removed.
1367         * platform/graphics/svg/filters/SVGFEBlend.h: Removed.
1368         * platform/graphics/svg/filters/SVGFEColorMatrix.cpp: Removed.
1369         * platform/graphics/svg/filters/SVGFEColorMatrix.h: Removed.
1370         * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp: Removed.
1371         * platform/graphics/svg/filters/SVGFEComponentTransfer.h: Removed.
1372         * platform/graphics/svg/filters/SVGFEComposite.cpp: Removed.
1373         * platform/graphics/svg/filters/SVGFEComposite.h: Removed.
1374         * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp: Removed.
1375         * platform/graphics/svg/filters/SVGFEConvolveMatrix.h: Removed.
1376         * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp: Removed.
1377         * platform/graphics/svg/filters/SVGFEDiffuseLighting.h: Removed.
1378         * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp: Removed.
1379         * platform/graphics/svg/filters/SVGFEDisplacementMap.h: Removed.
1380         * platform/graphics/svg/filters/SVGFEFlood.cpp: Removed.
1381         * platform/graphics/svg/filters/SVGFEFlood.h: Removed.
1382         * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp: Removed.
1383         * platform/graphics/svg/filters/SVGFEGaussianBlur.h: Removed.
1384         * platform/graphics/svg/filters/SVGFEImage.cpp: Removed.
1385         * platform/graphics/svg/filters/SVGFEImage.h: Removed.
1386         * platform/graphics/svg/filters/SVGFEMerge.cpp: Removed.
1387         * platform/graphics/svg/filters/SVGFEMerge.h: Removed.
1388         * platform/graphics/svg/filters/SVGFEMorphology.cpp: Removed.
1389         * platform/graphics/svg/filters/SVGFEMorphology.h: Removed.
1390         * platform/graphics/svg/filters/SVGFEOffset.cpp: Removed.
1391         * platform/graphics/svg/filters/SVGFEOffset.h: Removed.
1392         * platform/graphics/svg/filters/SVGFESpecularLighting.cpp: Removed.
1393         * platform/graphics/svg/filters/SVGFESpecularLighting.h: Removed.
1394         * platform/graphics/svg/filters/SVGFETile.h: Removed.
1395         * platform/graphics/svg/filters/SVGFETurbulence.cpp: Removed.
1396         * platform/graphics/svg/filters/SVGFETurbulence.h: Removed.
1397         * platform/graphics/svg/filters/SVGFilterEffect.cpp: Removed.
1398         * platform/graphics/svg/filters/SVGFilterEffect.h: Removed.
1399         * platform/graphics/svg/filters/SVGLightSource.cpp: Removed.
1400         * platform/graphics/svg/filters/SVGLightSource.h: Removed.
1401         * platform/graphics/svg/filters/SVGPointLightSource.h: Removed.
1402         * platform/graphics/svg/filters/SVGSpotLightSource.h: Removed.
1403         * platform/graphics/svg/filters/cg: Removed.
1404         * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm: Removed.
1405         * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm: Removed.
1406         * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm: Removed.
1407         * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm: Removed.
1408         * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm: Removed.
1409         * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm: Removed.
1410         * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm: Removed.
1411         * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm: Removed.
1412         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h: Removed.
1413         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm: Removed.
1414         * platform/graphics/svg/filters/cg/SVGFEImageCg.mm: Removed.
1415         * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm: Removed.
1416         * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm: Removed.
1417         * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm: Removed.
1418         * platform/graphics/svg/filters/cg/SVGFETileCg.mm: Removed.
1419         * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm: Removed.
1420         * platform/graphics/svg/filters/cg/WKArithmeticFilter.cikernel: Removed.
1421         * platform/graphics/svg/filters/cg/WKArithmeticFilter.h: Removed.
1422         * platform/graphics/svg/filters/cg/WKArithmeticFilter.m: Removed.
1423         * platform/graphics/svg/filters/cg/WKComponentMergeFilter.cikernel: Removed.
1424         * platform/graphics/svg/filters/cg/WKComponentMergeFilter.h: Removed.
1425         * platform/graphics/svg/filters/cg/WKComponentMergeFilter.m: Removed.
1426         * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.cikernel: Removed.
1427         * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.h: Removed.
1428         * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.m: Removed.
1429         * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.cikernel: Removed.
1430         * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.h: Removed.
1431         * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.m: Removed.
1432         * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.cikernel: Removed.
1433         * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.h: Removed.
1434         * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.m: Removed.
1435         * platform/graphics/svg/filters/cg/WKDistantLightFilter.cikernel: Removed.
1436         * platform/graphics/svg/filters/cg/WKDistantLightFilter.h: Removed.
1437         * platform/graphics/svg/filters/cg/WKDistantLightFilter.m: Removed.
1438         * platform/graphics/svg/filters/cg/WKGammaTransferFilter.cikernel: Removed.
1439         * platform/graphics/svg/filters/cg/WKGammaTransferFilter.h: Removed.
1440         * platform/graphics/svg/filters/cg/WKGammaTransferFilter.m: Removed.
1441         * platform/graphics/svg/filters/cg/WKIdentityTransferFilter.h: Removed.
1442         * platform/graphics/svg/filters/cg/WKIdentityTransferFilter.m: Removed.
1443         * platform/graphics/svg/filters/cg/WKLinearTransferFilter.cikernel: Removed.
1444         * platform/graphics/svg/filters/cg/WKLinearTransferFilter.h: Removed.
1445         * platform/graphics/svg/filters/cg/WKLinearTransferFilter.m: Removed.
1446         * platform/graphics/svg/filters/cg/WKNormalMapFilter.cikernel: Removed.
1447         * platform/graphics/svg/filters/cg/WKNormalMapFilter.h: Removed.
1448         * platform/graphics/svg/filters/cg/WKNormalMapFilter.m: Removed.
1449         * platform/graphics/svg/filters/cg/WKPointLightFilter.cikernel: Removed.
1450         * platform/graphics/svg/filters/cg/WKPointLightFilter.h: Removed.
1451         * platform/graphics/svg/filters/cg/WKPointLightFilter.m: Removed.
1452         * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.cikernel: Removed.
1453         * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.h: Removed.
1454         * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.m: Removed.
1455         * platform/graphics/svg/filters/cg/WKSpotLightFilter.cikernel: Removed.
1456         * platform/graphics/svg/filters/cg/WKSpotLightFilter.h: Removed.
1457         * platform/graphics/svg/filters/cg/WKSpotLightFilter.m: Removed.
1458         * platform/graphics/svg/filters/cg/WKTableTransferFilter.cikernel: Removed.
1459         * platform/graphics/svg/filters/cg/WKTableTransferFilter.h: Removed.
1460         * platform/graphics/svg/filters/cg/WKTableTransferFilter.m: Removed.
1461         * platform/graphics/svg/mac: Removed.
1462         * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.h: Removed.
1463         * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.mm: Removed.
1464         * platform/graphics/svg/qt: Removed.
1465         * platform/graphics/svg/qt/RenderPathQt.cpp: Removed.
1466         * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp: Removed.
1467         * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp: Removed.
1468         * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp: Removed.
1469         * platform/graphics/svg/qt/SVGPaintServerQt.cpp: Removed.
1470         * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp: Removed.
1471         * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp: Removed.
1472         * platform/graphics/svg/qt/SVGResourceClipperQt.cpp: Removed.
1473         * platform/graphics/svg/qt/SVGResourceFilterQt.cpp: Removed.
1474         * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp: Removed.
1475         * svg/graphics: Copied from platform/graphics/svg.
1476
1477 2007-12-02  Nikolas Zimmermann  <zimmermann@kde.org>
1478
1479         Reviewed by Maciej.
1480
1481         Fix IDL lookup in subdirectories. Missing 'my' prefix for the 'thisDir' variable.
1482         When entering subdirectories the 'thisDir' variable got altered - see snippet:
1483
1484         THISDIR: WebCore/page FOUND FILE: FrameView.h (endCondition: 0)
1485         ..
1486         -> ENTER: WebCore/page/gtk (THIS DIR: WebCore/page)
1487         ...
1488         <- LEAVE: WebCore/page/gtk (THIS DIR: WebCore/page/gtk)
1489         THISDIR: WebCore/page/gtk FOUND FILE: History.cpp (endCondition: 0)
1490
1491         'History.cpp' is located in WebCore/page not WebCore/page/gtk.
1492
1493         * bindings/scripts/CodeGenerator.pm:
1494
1495 2007-12-01  Alp Toker  <alp@atoker.com>
1496
1497         Reviewed by Adam Roben.
1498
1499         Add the newly introduced webkit.h convenience header.
1500
1501         * WebCore.pro:
1502
1503 2007-12-01  Antti Koivisto  <antti@apple.com>
1504
1505         Reviewed by Adam.
1506         
1507         - Fix crash when removing a loading media element from the tree.
1508         - Follow the spec by invoking pause() when element is removed from the tree instead of unloading.
1509
1510         Tests: http/tests/media/remove-while-loading.html
1511                media/remove-from-document.html
1512
1513         * html/HTMLMediaElement.cpp:
1514         (WebCore::HTMLMediaElement::removedFromDocument):
1515
1516 2007-12-01  Geoffrey Garen  <ggaren@apple.com>
1517
1518         Reviewed by Beth Dakin.
1519
1520         Restored the test string in this test.
1521
1522         * manual-tests/window-open-features-parsing.html:
1523
1524 2007-11-30  Geoffrey Garen  <ggaren@apple.com>
1525
1526         Reviewed by Beth Dakin.
1527         
1528         Modified WebCore to follow the new JSGlobalObject/Interpreter ownership
1529         rules in JavaScriptCore.
1530
1531         * bindings/js/kjs_binding.cpp:
1532         * bindings/js/kjs_binding.h: Removed stale, unused 
1533         interpreterForGlobalObject().
1534
1535         * bindings/js/kjs_proxy.cpp: Changed to store a global object, rather
1536         than an interpreter.
1537         (WebCore::KJSProxy::finishedWithEvent): Need to NULL check 
1538         m_globalObject here because we no longer unnecessarily instantiate it.
1539
1540         * bindings/js/kjs_window.cpp:
1541         (KJS::ScheduledAction::execute):
1542         * bindings/js/kjs_window.h: Removed redundant and less efficient 
1543         interpreter() function -- global objects have direct access to their
1544         interpreters now.
1545
1546         Changed these functions to pass around JSGlobalObjects instead of 
1547         Interpreters:
1548
1549         * page/Frame.cpp:
1550         (WebCore::Frame::bindingRootObject):
1551         (WebCore::Frame::createRootObject):
1552         * page/Frame.h:
1553         * page/mac/WebCoreFrameBridge.mm:
1554         (createRootObject):
1555
1556 2007-12-01  Darin Adler  <darin@apple.com>
1557
1558         Reviewed by Mitz.
1559
1560         - fix problem tracked by these bugs:
1561           http://bugs.webkit.org/show_bug.cgi?id=16097
1562           <rdar://problem/5619305> Safari crashes during load of LexisNexis search results
1563           <rdar://problem/5510779> CrashTracer: [USER] 25 crashes in Safari at
1564           WebCore::DocumentLoader::isLoadingMultipartContent const
1565
1566         * loader/ImageDocument.cpp:
1567         (WebCore::ImageDocument::createDocumentStructure): Create an ImageDocumentElement
1568         instead of an HTMLImageElement.
1569         (WebCore::ImageDocument::scale): Added a null check for m_imageElement.
1570         (WebCore::ImageDocument::resizeImageToFit): Ditto.
1571         (WebCore::ImageDocument::restoreImageSize): Ditto.
1572         (WebCore::ImageDocument::imageFitsInWindow): Ditto.
1573         (WebCore::ImageDocument::windowSizeChanged): Ditto.
1574         (WebCore::ImageDocumentElement::~ImageDocumentElement): Call
1575         disconnectImageElement so m_imageElement will be set to 0
1576          if we're still connected to the document.
1577         (WebCore::ImageDocumentElement::willMoveToNewOwnerDocument): Ditto.
1578
1579         * loader/ImageDocument.h: Changed image element type to be
1580         ImageDocumentElement instead of HTMLImageElement. Also added
1581         a disconnectImageElement function that sets m_imageElement to 0.
1582
1583 2007-12-01  Darin Adler  <darin@apple.com>
1584
1585         - remove the empty directories
1586
1587         * ksvg2: Removed.
1588         * ksvg2/css: Removed.
1589         * ksvg2/events: Removed.
1590         * ksvg2/misc: Removed.
1591         * ksvg2/scripts: Removed.
1592
1593 2007-12-01  Julien Chaffraix  <julien.chaffraix@gmail.com>
1594
1595         Bug 16189: XMLHttpRequest::setRequestHeader() should not set certain headers
1596
1597         Reviewed by Darin Adler.
1598
1599         * xml/XMLHttpRequest.cpp:
1600         (WebCore::canSetRequestHeader):
1601
1602         Test: http/tests/xmlhttprequest/set-dangerous-headers.html
1603
1604 2007-12-01  Rahul Abrol  <ra5ul@comcast.net>
1605
1606         Reviewed by Adam Roben.
1607
1608         http://bugs.webkit.org/show_bug.cgi?id=16128
1609         Ignore resizable=no for window.open().
1610
1611         * bindings/js/kjs_window.cpp:
1612         (KJS::setWindowFeature):
1613         (KJS::parseWindowFeatures):
1614         * manual-tests/window-open-features-parsing.html:
1615
1616 2007-12-01  Dan Bernstein  <mitz@apple.com>
1617
1618         Reviewed by Darin Adler.
1619
1620         - fix <rdar://problem/5619240> REGRESSION (Leopard-r28069): Reproducible crash with a Mootools-based calendar picker (jump to null in FrameView::layout)
1621
1622         Test: fast/dynamic/subtree-common-root.html
1623
1624         * page/FrameView.cpp:
1625         (WebCore::FrameView::layoutRoot): Added a parameter to let this method
1626         return the layout root for a pending layout as well.
1627         (WebCore::FrameView::scheduleRelayoutOfSubtree): Pass the new root
1628         to markContainingBlocksForLayout(). Otherwise,
1629         markContainingBlocksForLayout() could mark past the new root, if it had
1630         previously been marked as having a normal child needing layout and then
1631         was reached via a positioned child.
1632         * page/FrameView.h:
1633         * rendering/RenderBox.cpp:
1634         (WebCore::RenderBox::calcWidth):
1635         * rendering/RenderObject.cpp:
1636         (WebCore::RenderObject::~RenderObject): Fixed the ASSERT so that
1637         it would really catch deletion of the layout root.
1638         (WebCore::RenderObject::markContainingBlocksForLayout): Added the
1639         newRoot parameter, which tells this method where to stop marking.
1640         * rendering/RenderObject.h:
1641
1642 2007-12-01  Dan Bernstein  <mitz@apple.com>
1643
1644         Reviewed by Darin Adler.
1645
1646         - fold FontStyle into TextRun
1647
1648         * WebCore.xcodeproj/project.pbxproj:
1649         * platform/graphics/Font.cpp:
1650         (WebCore::WidthIterator::WidthIterator):
1651         (WebCore::WidthIterator::advance):
1652         (WebCore::Font::width):
1653         (WebCore::Font::drawSimpleText):
1654         (WebCore::Font::drawGlyphBuffer):
1655         (WebCore::Font::drawText):
1656         (WebCore::Font::floatWidth):
1657         (WebCore::Font::floatWidthForSimpleText):
1658         (WebCore::Font::selectionRectForText):
1659         (WebCore::Font::selectionRectForSimpleText):
1660         (WebCore::Font::offsetForPosition):
1661         (WebCore::Font::offsetForPositionForSimpleText):
1662         * platform/graphics/Font.h:
1663         (WebCore::TextRun::TextRun):
1664         (WebCore::TextRun::setText):
1665         (WebCore::TextRun::allowTabs):
1666         (WebCore::TextRun::xPos):
1667         (WebCore::TextRun::padding):
1668         (WebCore::TextRun::rtl):
1669         (WebCore::TextRun::ltr):
1670         (WebCore::TextRun::directionalOverride):
1671         (WebCore::TextRun::applyRunRounding):
1672         (WebCore::TextRun::applyWordRounding):
1673         (WebCore::TextRun::spacingDisabled):
1674         (WebCore::TextRun::disableSpacing):
1675         (WebCore::TextRun::disableRoundingHacks):
1676         (WebCore::TextRun::setRTL):
1677         (WebCore::TextRun::setDirectionalOverride):
1678         * platform/graphics/FontStyle.h: Removed.
1679         * platform/graphics/GraphicsContext.cpp:
1680         (WebCore::GraphicsContext::drawText):
1681         (WebCore::GraphicsContext::drawBidiText):
1682         (WebCore::GraphicsContext::drawHighlightForText):
1683         * platform/graphics/GraphicsContext.h:
1684         * platform/graphics/StringTruncator.cpp:
1685         (WebCore::stringWidth):
1686         * platform/graphics/gtk/FontGtk.cpp:
1687         (WebCore::Font::drawComplexText):
1688         (WebCore::Font::floatWidthForComplexText):
1689         (WebCore::Font::offsetForPositionForComplexText):
1690         (WebCore::Font::selectionRectForComplexText):
1691         * platform/graphics/mac/FontMac.mm:
1692         (WebCore::ATSULayoutParameters::ATSULayoutParameters):
1693         (WebCore::addDirectionalOverride):
1694         (WebCore::overrideLayoutOperation):
1695         (WebCore::ATSULayoutParameters::initialize):
1696         (WebCore::Font::selectionRectForComplexText):
1697         (WebCore::Font::drawComplexText):
1698         (WebCore::Font::floatWidthForComplexText):
1699         (WebCore::Font::offsetForPositionForComplexText):
1700         * platform/graphics/qt/FontQt.cpp:
1701         (WebCore::generateComponents):
1702         (WebCore::Font::drawText):
1703         (WebCore::Font::width):
1704         (WebCore::Font::offsetForPosition):
1705         (WebCore::cursorToX):
1706         (WebCore::Font::selectionRectForText):
1707         * platform/graphics/win/FontWin.cpp:
1708         (WebCore::Font::selectionRectForComplexText):
1709         (WebCore::Font::drawComplexText):
1710         (WebCore::Font::floatWidthForComplexText):
1711         (WebCore::Font::offsetForPositionForComplexText):
1712         * platform/graphics/wx/FontWx.cpp:
1713         (WebCore::Font::selectionRectForComplexText):
1714         (WebCore::Font::drawComplexText):
1715         (WebCore::Font::floatWidthForComplexText):
1716         (WebCore::Font::offsetForPositionForComplexText):
1717         * platform/mac/WebCoreTextRenderer.mm:
1718         (WebCoreDrawTextAtPoint):
1719         (WebCoreTextFloatWidth):
1720         * platform/win/PopupMenuWin.cpp:
1721         (WebCore::PopupMenu::paint):
1722         * platform/win/UniscribeController.cpp:
1723         (WebCore::UniscribeController::UniscribeController):
1724         (WebCore::UniscribeController::offsetForPosition):
1725         (WebCore::UniscribeController::advance):
1726         (WebCore::UniscribeController::itemizeShapeAndPlace):
1727         (WebCore::UniscribeController::resetControlAndState):
1728         (WebCore::UniscribeController::shapeAndPlaceItem):
1729         * platform/win/UniscribeController.h:
1730         * platform/win/WebCoreTextRenderer.cpp:
1731         (WebCore::doDrawTextAtPoint):
1732         * rendering/EllipsisBox.cpp:
1733         (WebCore::EllipsisBox::paint):
1734         * rendering/InlineTextBox.cpp:
1735         (WebCore::InlineTextBox::selectionRect):
1736         (WebCore::InlineTextBox::paint):
1737         (WebCore::InlineTextBox::paintSelection):
1738         (WebCore::InlineTextBox::paintCompositionBackground):
1739         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
1740         (WebCore::InlineTextBox::paintTextMatchMarker):
1741         (WebCore::InlineTextBox::offsetForPosition):
1742         (WebCore::InlineTextBox::positionForOffset):
1743         * rendering/RenderFileUploadControl.cpp:
1744         (WebCore::RenderFileUploadControl::paintObject):
1745         (WebCore::RenderFileUploadControl::calcPrefWidths):
1746         * rendering/RenderImage.cpp:
1747         * rendering/RenderListBox.cpp:
1748         (WebCore::RenderListBox::updateFromElement):
1749         (WebCore::RenderListBox::paintItemForeground):
1750         * rendering/RenderMenuList.cpp:
1751         (WebCore::RenderMenuList::updateOptionsWidth):
1752         * rendering/RenderText.cpp:
1753         (WebCore::RenderText::widthFromCache):
1754         (WebCore::RenderText::calcPrefWidths):
1755         (WebCore::RenderText::width):
1756         * rendering/RenderText.h:
1757         (WebCore::RenderText::allowTabs):
1758         * rendering/RenderTextControl.cpp:
1759         (WebCore::RenderTextControl::calcPrefWidths):
1760         * rendering/SVGInlineTextBox.cpp:
1761         (WebCore::SVGInlineTextBox::calculateGlyphWidth):
1762         (WebCore::SVGInlineTextBox::paintCharacters):
1763         (WebCore::SVGInlineTextBox::paintSelection):
1764         * rendering/SVGRootInlineBox.cpp:
1765         (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
1766         (WebCore::cummulatedWidthOfInlineBoxCharacterRange):
1767         (WebCore::svgTextRunForInlineTextBox):
1768         * rendering/SVGRootInlineBox.h:
1769
1770 2007-12-01  Adam Treat  <treat@kde.org>
1771
1772         Reviewed by Simon.
1773
1774         * Don't hide symbols when in Debug mode
1775         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
1776
1777         * WebCore.pro:
1778
1779 2007-11-30  Alp Toker  <alp@atoker.com>
1780
1781         Reviewed by Adam Roben.
1782
1783         http://bugs.webkit.org/show_bug.cgi?id=15691
1784         [GTK] Public API does not follow GTK+ conventions
1785
1786         Refactor the WebKit/GTK+ public API. Changes:
1787           WebKitPage -> WebKitWebView
1788           WebKitFrame -> WebKitWebFrame
1789
1790         Public API source and header names have been updated to mirror the API
1791         changes.
1792
1793         The API is now kept in WebKit/gtk/WebView to match other ports in the
1794         same class such as Mac and Win.
1795
1796         * WebCore.pro:
1797
1798 2007-11-30   Anders Carlsson  <andersca@apple.com>
1799
1800         Add platform/text project group.
1801         
1802         * WebCore.vcproj/WebCore.vcproj:
1803
1804 2007-11-30   Anders Carlsson  <andersca@apple.com>
1805
1806         Remove extra </Filter> tag which prevented the vcproj from being parsed correctly.
1807         
1808         * WebCore.vcproj/WebCore.vcproj:
1809
1810 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
1811
1812         Not reviewed. Try to fix qt/gtk build.
1813
1814         * WebCore.pro:
1815
1816 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
1817
1818         Rubber stamped by Eric.
1819
1820         Final integration of ksvg2 in WebKit. Moving ksvg2/ to svg/ and killing all it's subdirectories,
1821         by moving the files into approriate locations (css, rendering, ...) - as dicsussed on the
1822         mailing list and on IRC with David/Darin & Eric.
1823
1824         Updated all build files - though I can't guarantee it builds on non-mac. Need buildbot to verify.
1825
1826         * DerivedSources.make:
1827         * WebCore.pro:
1828         * WebCore.vcproj/WebCore.vcproj:
1829         * WebCore.xcodeproj/project.pbxproj:
1830         * bindings/js/JSSVGLazyEventListener.cpp: Copied from ksvg2/events/JSSVGLazyEventListener.cpp.
1831         * bindings/js/JSSVGLazyEventListener.h: Copied from ksvg2/events/JSSVGLazyEventListener.h.
1832         * css/SVGCSSComputedStyleDeclaration.cpp: Copied from ksvg2/css/SVGCSSComputedStyleDeclaration.cpp.
1833         * css/SVGCSSParser.cpp: Copied from ksvg2/css/SVGCSSParser.cpp.
1834         * css/SVGCSSPropertyNames.in: Copied from ksvg2/css/SVGCSSPropertyNames.in.
1835         * css/SVGCSSStyleSelector.cpp: Copied from ksvg2/css/SVGCSSStyleSelector.cpp.
1836         * css/SVGCSSValueKeywords.in: Copied from ksvg2/css/SVGCSSValueKeywords.in.
1837         * dom/make_names.pl: Copied from ksvg2/scripts/make_names.pl.
1838         * ksvg2/css/SVGCSSComputedStyleDeclaration.cpp: Removed.
1839         * ksvg2/css/SVGCSSParser.cpp: Removed.
1840         * ksvg2/css/SVGCSSPropertyNames.in: Removed.
1841         * ksvg2/css/SVGCSSStyleSelector.cpp: Removed.
1842         * ksvg2/css/SVGCSSValueKeywords.in: Removed.
1843         * ksvg2/css/SVGRenderStyle.cpp: Removed.
1844         * ksvg2/css/SVGRenderStyle.h: Removed.
1845         * ksvg2/css/SVGRenderStyleDefs.cpp: Removed.
1846         * ksvg2/css/SVGRenderStyleDefs.h: Removed.
1847         * ksvg2/events/JSSVGLazyEventListener.cpp: Removed.
1848         * ksvg2/events/JSSVGLazyEventListener.h: Removed.
1849         * ksvg2/events/SVGZoomEvent.cpp: Removed.
1850         * ksvg2/events/SVGZoomEvent.h: Removed.
1851         * ksvg2/events/SVGZoomEvent.idl: Removed.
1852         * ksvg2/misc/PointerEventsHitRules.cpp: Removed.
1853         * ksvg2/misc/PointerEventsHitRules.h: Removed.
1854         * ksvg2/misc/SVGDocumentExtensions.cpp: Removed.
1855         * ksvg2/misc/SVGDocumentExtensions.h: Removed.
1856         * ksvg2/misc/SVGImageLoader.cpp: Removed.
1857         * ksvg2/misc/SVGImageLoader.h: Removed.
1858         * ksvg2/misc/SVGTimer.cpp: Removed.
1859         * ksvg2/misc/SVGTimer.h: Removed.
1860         * ksvg2/misc/TimeScheduler.cpp: Removed.
1861         * ksvg2/misc/TimeScheduler.h: Removed.
1862         * ksvg2/misc/xlinkattrs.in: Removed.
1863         * ksvg2/scripts/make_names.pl: Removed.
1864         * ksvg2/svg: Removed.
1865         * ksvg2/svg/ColorDistance.cpp: Removed.
1866         * ksvg2/svg/ColorDistance.h: Removed.
1867         * ksvg2/svg/GradientAttributes.h: Removed.
1868         * ksvg2/svg/LinearGradientAttributes.h: Removed.
1869         * ksvg2/svg/PatternAttributes.h: Removed.
1870         * ksvg2/svg/RadialGradientAttributes.h: Removed.
1871         * ksvg2/svg/SVGAElement.cpp: Removed.
1872         * ksvg2/svg/SVGAElement.h: Removed.
1873         * ksvg2/svg/SVGAElement.idl: Removed.
1874         * ksvg2/svg/SVGAngle.cpp: Removed.
1875         * ksvg2/svg/SVGAngle.h: Removed.
1876         * ksvg2/svg/SVGAngle.idl: Removed.
1877         * ksvg2/svg/SVGAnimateColorElement.cpp: Removed.
1878         * ksvg2/svg/SVGAnimateColorElement.h: Removed.
1879         * ksvg2/svg/SVGAnimateColorElement.idl: Removed.
1880         * ksvg2/svg/SVGAnimateElement.cpp: Removed.
1881         * ksvg2/svg/SVGAnimateElement.h: Removed.
1882         * ksvg2/svg/SVGAnimateElement.idl: Removed.
1883         * ksvg2/svg/SVGAnimateMotionElement.cpp: Removed.
1884         * ksvg2/svg/SVGAnimateMotionElement.h: Removed.
1885         * ksvg2/svg/SVGAnimateTransformElement.cpp: Removed.
1886         * ksvg2/svg/SVGAnimateTransformElement.h: Removed.
1887         * ksvg2/svg/SVGAnimateTransformElement.idl: Removed.
1888         * ksvg2/svg/SVGAnimatedAngle.idl: Removed.
1889         * ksvg2/svg/SVGAnimatedBoolean.idl: Removed.
1890         * ksvg2/svg/SVGAnimatedEnumeration.idl: Removed.
1891         * ksvg2/svg/SVGAnimatedInteger.idl: Removed.
1892         * ksvg2/svg/SVGAnimatedLength.idl: Removed.
1893         * ksvg2/svg/SVGAnimatedLengthList.idl: Removed.
1894         * ksvg2/svg/SVGAnimatedNumber.idl: Removed.
1895         * ksvg2/svg/SVGAnimatedNumberList.idl: Removed.
1896         * ksvg2/svg/SVGAnimatedPathData.cpp: Removed.
1897         * ksvg2/svg/SVGAnimatedPathData.h: Removed.
1898         * ksvg2/svg/SVGAnimatedPathData.idl: Removed.
1899         * ksvg2/svg/SVGAnimatedPoints.cpp: Removed.
1900         * ksvg2/svg/SVGAnimatedPoints.h: Removed.
1901         * ksvg2/svg/SVGAnimatedPoints.idl: Removed.
1902         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl: Removed.
1903         * ksvg2/svg/SVGAnimatedRect.idl: Removed.
1904         * ksvg2/svg/SVGAnimatedString.idl: Removed.
1905         * ksvg2/svg/SVGAnimatedTemplate.h: Removed.
1906         * ksvg2/svg/SVGAnimatedTransformList.idl: Removed.
1907         * ksvg2/svg/SVGAnimationElement.cpp: Removed.
1908         * ksvg2/svg/SVGAnimationElement.h: Removed.
1909         * ksvg2/svg/SVGAnimationElement.idl: Removed.
1910         * ksvg2/svg/SVGCircleElement.cpp: Removed.
1911         * ksvg2/svg/SVGCircleElement.h: Removed.
1912         * ksvg2/svg/SVGCircleElement.idl: Removed.
1913         * ksvg2/svg/SVGClipPathElement.cpp: Removed.
1914         * ksvg2/svg/SVGClipPathElement.h: Removed.
1915         * ksvg2/svg/SVGClipPathElement.idl: Removed.
1916         * ksvg2/svg/SVGColor.cpp: Removed.
1917         * ksvg2/svg/SVGColor.h: Removed.
1918         * ksvg2/svg/SVGColor.idl: Removed.
1919         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp: Removed.
1920         * ksvg2/svg/SVGComponentTransferFunctionElement.h: Removed.
1921         * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Removed.
1922         * ksvg2/svg/SVGCursorElement.cpp: Removed.
1923         * ksvg2/svg/SVGCursorElement.h: Removed.
1924         * ksvg2/svg/SVGCursorElement.idl: Removed.
1925         * ksvg2/svg/SVGDefinitionSrcElement.cpp: Removed.
1926         * ksvg2/svg/SVGDefinitionSrcElement.h: Removed.
1927         * ksvg2/svg/SVGDefinitionSrcElement.idl: Removed.
1928         * ksvg2/svg/SVGDefsElement.cpp: Removed.
1929         * ksvg2/svg/SVGDefsElement.h: Removed.
1930         * ksvg2/svg/SVGDefsElement.idl: Removed.
1931         * ksvg2/svg/SVGDescElement.cpp: Removed.
1932         * ksvg2/svg/SVGDescElement.h: Removed.
1933         * ksvg2/svg/SVGDescElement.idl: Removed.
1934         * ksvg2/svg/SVGDocument.cpp: Removed.
1935         * ksvg2/svg/SVGDocument.h: Removed.
1936         * ksvg2/svg/SVGDocument.idl: Removed.
1937         * ksvg2/svg/SVGElement.cpp: Removed.
1938         * ksvg2/svg/SVGElement.h: Removed.
1939         * ksvg2/svg/SVGElement.idl: Removed.
1940         * ksvg2/svg/SVGElementInstance.cpp: Removed.
1941         * ksvg2/svg/SVGElementInstance.h: Removed.
1942         * ksvg2/svg/SVGElementInstance.idl: Removed.
1943         * ksvg2/svg/SVGElementInstanceList.cpp: Removed.
1944         * ksvg2/svg/SVGElementInstanceList.h: Removed.
1945         * ksvg2/svg/SVGElementInstanceList.idl: Removed.
1946         * ksvg2/svg/SVGEllipseElement.cpp: Removed.
1947         * ksvg2/svg/SVGEllipseElement.h: Removed.
1948         * ksvg2/svg/SVGEllipseElement.idl: Removed.
1949         * ksvg2/svg/SVGException.h: Removed.
1950         * ksvg2/svg/SVGException.idl: Removed.
1951         * ksvg2/svg/SVGExternalResourcesRequired.cpp: Removed.
1952         * ksvg2/svg/SVGExternalResourcesRequired.h: Removed.
1953         * ksvg2/svg/SVGExternalResourcesRequired.idl: Removed.
1954         * ksvg2/svg/SVGFEBlendElement.cpp: Removed.
1955         * ksvg2/svg/SVGFEBlendElement.h: Removed.
1956         * ksvg2/svg/SVGFEBlendElement.idl: Removed.
1957         * ksvg2/svg/SVGFEColorMatrixElement.cpp: Removed.
1958         * ksvg2/svg/SVGFEColorMatrixElement.h: Removed.
1959         * ksvg2/svg/SVGFEColorMatrixElement.idl: Removed.
1960         * ksvg2/svg/SVGFEComponentTransferElement.cpp: Removed.
1961         * ksvg2/svg/SVGFEComponentTransferElement.h: Removed.
1962         * ksvg2/svg/SVGFEComponentTransferElement.idl: Removed.
1963         * ksvg2/svg/SVGFECompositeElement.cpp: Removed.
1964         * ksvg2/svg/SVGFECompositeElement.h: Removed.
1965         * ksvg2/svg/SVGFECompositeElement.idl: Removed.
1966         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp: Removed.
1967         * ksvg2/svg/SVGFEDiffuseLightingElement.h: Removed.
1968         * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Removed.
1969         * ksvg2/svg/SVGFEDisplacementMapElement.cpp: Removed.
1970         * ksvg2/svg/SVGFEDisplacementMapElement.h: Removed.
1971         * ksvg2/svg/SVGFEDisplacementMapElement.idl: Removed.
1972         * ksvg2/svg/SVGFEDistantLightElement.cpp: Removed.
1973         * ksvg2/svg/SVGFEDistantLightElement.h: Removed.
1974         * ksvg2/svg/SVGFEDistantLightElement.idl: Removed.
1975         * ksvg2/svg/SVGFEFloodElement.cpp: Removed.
1976         * ksvg2/svg/SVGFEFloodElement.h: Removed.
1977         * ksvg2/svg/SVGFEFloodElement.idl: Removed.
1978         * ksvg2/svg/SVGFEFuncAElement.cpp: Removed.
1979         * ksvg2/svg/SVGFEFuncAElement.h: Removed.
1980         * ksvg2/svg/SVGFEFuncAElement.idl: Removed.
1981         * ksvg2/svg/SVGFEFuncBElement.cpp: Removed.
1982         * ksvg2/svg/SVGFEFuncBElement.h: Removed.
1983         * ksvg2/svg/SVGFEFuncBElement.idl: Removed.
1984         * ksvg2/svg/SVGFEFuncGElement.cpp: Removed.
1985         * ksvg2/svg/SVGFEFuncGElement.h: Removed.
1986         * ksvg2/svg/SVGFEFuncGElement.idl: Removed.
1987         * ksvg2/svg/SVGFEFuncRElement.cpp: Removed.
1988         * ksvg2/svg/SVGFEFuncRElement.h: Removed.
1989         * ksvg2/svg/SVGFEFuncRElement.idl: Removed.
1990         * ksvg2/svg/SVGFEGaussianBlurElement.cpp: Removed.
1991         * ksvg2/svg/SVGFEGaussianBlurElement.h: Removed.
1992         * ksvg2/svg/SVGFEGaussianBlurElement.idl: Removed.
1993         * ksvg2/svg/SVGFEImageElement.cpp: Removed.
1994         * ksvg2/svg/SVGFEImageElement.h: Removed.
1995         * ksvg2/svg/SVGFEImageElement.idl: Removed.
1996         * ksvg2/svg/SVGFELightElement.cpp: Removed.
1997         * ksvg2/svg/SVGFELightElement.h: Removed.
1998         * ksvg2/svg/SVGFEMergeElement.cpp: Removed.
1999         * ksvg2/svg/SVGFEMergeElement.h: Removed.
2000         * ksvg2/svg/SVGFEMergeElement.idl: Removed.
2001         * ksvg2/svg/SVGFEMergeNodeElement.cpp: Removed.
2002         * ksvg2/svg/SVGFEMergeNodeElement.h: Removed.
2003         * ksvg2/svg/SVGFEMergeNodeElement.idl: Removed.
2004         * ksvg2/svg/SVGFEOffsetElement.cpp: Removed.
2005         * ksvg2/svg/SVGFEOffsetElement.h: Removed.
2006         * ksvg2/svg/SVGFEOffsetElement.idl: Removed.
2007         * ksvg2/svg/SVGFEPointLightElement.cpp: Removed.
2008         * ksvg2/svg/SVGFEPointLightElement.h: Removed.
2009         * ksvg2/svg/SVGFEPointLightElement.idl: Removed.
2010         * ksvg2/svg/SVGFESpecularLightingElement.cpp: Removed.
2011         * ksvg2/svg/SVGFESpecularLightingElement.h: Removed.
2012         * ksvg2/svg/SVGFESpecularLightingElement.idl: Removed.
2013         * ksvg2/svg/SVGFESpotLightElement.cpp: Removed.
2014         * ksvg2/svg/SVGFESpotLightElement.h: Removed.
2015         * ksvg2/svg/SVGFESpotLightElement.idl: Removed.
2016         * ksvg2/svg/SVGFETileElement.cpp: Removed.
2017         * ksvg2/svg/SVGFETileElement.h: Removed.
2018         * ksvg2/svg/SVGFETileElement.idl: Removed.
2019         * ksvg2/svg/SVGFETurbulenceElement.cpp: Removed.
2020         * ksvg2/svg/SVGFETurbulenceElement.h: Removed.
2021         * ksvg2/svg/SVGFETurbulenceElement.idl: Removed.
2022         * ksvg2/svg/SVGFilterElement.cpp: Removed.
2023         * ksvg2/svg/SVGFilterElement.h: Removed.
2024         * ksvg2/svg/SVGFilterElement.idl: Removed.
2025         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: Removed.
2026         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: Removed.
2027         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Removed.
2028         * ksvg2/svg/SVGFitToViewBox.cpp: Removed.
2029         * ksvg2/svg/SVGFitToViewBox.h: Removed.
2030         * ksvg2/svg/SVGFitToViewBox.idl: Removed.
2031         * ksvg2/svg/SVGFontFaceElement.cpp: Removed.
2032         * ksvg2/svg/SVGFontFaceElement.h: Removed.
2033         * ksvg2/svg/SVGFontFaceElement.idl: Removed.
2034         * ksvg2/svg/SVGFontFaceFormatElement.cpp: Removed.
2035         * ksvg2/svg/SVGFontFaceFormatElement.h: Removed.
2036         * ksvg2/svg/SVGFontFaceFormatElement.idl: Removed.
2037         * ksvg2/svg/SVGFontFaceNameElement.cpp: Removed.
2038         * ksvg2/svg/SVGFontFaceNameElement.h: Removed.
2039         * ksvg2/svg/SVGFontFaceNameElement.idl: Removed.
2040         * ksvg2/svg/SVGFontFaceSrcElement.cpp: Removed.
2041         * ksvg2/svg/SVGFontFaceSrcElement.h: Removed.
2042         * ksvg2/svg/SVGFontFaceSrcElement.idl: Removed.
2043         * ksvg2/svg/SVGFontFaceUriElement.cpp: Removed.
2044         * ksvg2/svg/SVGFontFaceUriElement.h: Removed.
2045         * ksvg2/svg/SVGFontFaceUriElement.idl: Removed.
2046         * ksvg2/svg/SVGForeignObjectElement.cpp: Removed.
2047         * ksvg2/svg/SVGForeignObjectElement.h: Removed.
2048         * ksvg2/svg/SVGForeignObjectElement.idl: Removed.
2049         * ksvg2/svg/SVGGElement.cpp: Removed.
2050         * ksvg2/svg/SVGGElement.h: Removed.
2051         * ksvg2/svg/SVGGElement.idl: Removed.
2052         * ksvg2/svg/SVGGradientElement.cpp: Removed.
2053         * ksvg2/svg/SVGGradientElement.h: Removed.
2054         * ksvg2/svg/SVGGradientElement.idl: Removed.
2055         * ksvg2/svg/SVGImageElement.cpp: Removed.
2056         * ksvg2/svg/SVGImageElement.h: Removed.
2057         * ksvg2/svg/SVGImageElement.idl: Removed.
2058         * ksvg2/svg/SVGLangSpace.cpp: Removed.
2059         * ksvg2/svg/SVGLangSpace.h: Removed.
2060         * ksvg2/svg/SVGLangSpace.idl: Removed.
2061         * ksvg2/svg/SVGLength.cpp: Removed.
2062         * ksvg2/svg/SVGLength.h: Removed.
2063         * ksvg2/svg/SVGLength.idl: Removed.
2064         * ksvg2/svg/SVGLengthList.cpp: Removed.
2065         * ksvg2/svg/SVGLengthList.h: Removed.
2066         * ksvg2/svg/SVGLengthList.idl: Removed.
2067         * ksvg2/svg/SVGLineElement.cpp: Removed.
2068         * ksvg2/svg/SVGLineElement.h: Removed.
2069         * ksvg2/svg/SVGLineElement.idl: Removed.
2070         * ksvg2/svg/SVGLinearGradientElement.cpp: Removed.
2071         * ksvg2/svg/SVGLinearGradientElement.h: Removed.
2072         * ksvg2/svg/SVGLinearGradientElement.idl: Removed.
2073         * ksvg2/svg/SVGList.h: Removed.
2074         * ksvg2/svg/SVGListTraits.h: Removed.
2075         * ksvg2/svg/SVGLocatable.cpp: Removed.
2076         * ksvg2/svg/SVGLocatable.h: Removed.
2077         * ksvg2/svg/SVGLocatable.idl: Removed.
2078         * ksvg2/svg/SVGMPathElement.cpp: Removed.
2079         * ksvg2/svg/SVGMPathElement.h: Removed.
2080         * ksvg2/svg/SVGMarkerElement.cpp: Removed.
2081         * ksvg2/svg/SVGMarkerElement.h: Removed.
2082         * ksvg2/svg/SVGMarkerElement.idl: Removed.
2083         * ksvg2/svg/SVGMaskElement.cpp: Removed.
2084         * ksvg2/svg/SVGMaskElement.h: Removed.
2085         * ksvg2/svg/SVGMaskElement.idl: Removed.
2086         * ksvg2/svg/SVGMatrix.idl: Removed.
2087         * ksvg2/svg/SVGMetadataElement.cpp: Removed.
2088         * ksvg2/svg/SVGMetadataElement.h: Removed.
2089         * ksvg2/svg/SVGMetadataElement.idl: Removed.
2090         * ksvg2/svg/SVGNumber.idl: Removed.
2091         * ksvg2/svg/SVGNumberList.cpp: Removed.
2092         * ksvg2/svg/SVGNumberList.h: Removed.
2093         * ksvg2/svg/SVGNumberList.idl: Removed.
2094         * ksvg2/svg/SVGPaint.cpp: Removed.
2095         * ksvg2/svg/SVGPaint.h: Removed.
2096         * ksvg2/svg/SVGPaint.idl: Removed.
2097         * ksvg2/svg/SVGParserUtilities.cpp: Removed.
2098         * ksvg2/svg/SVGParserUtilities.h: Removed.
2099         * ksvg2/svg/SVGPathElement.cpp: Removed.
2100         * ksvg2/svg/SVGPathElement.h: Removed.
2101         * ksvg2/svg/SVGPathElement.idl: Removed.
2102         * ksvg2/svg/SVGPathSeg.h: Removed.
2103         * ksvg2/svg/SVGPathSeg.idl: Removed.
2104         * ksvg2/svg/SVGPathSegArc.cpp: Removed.
2105         * ksvg2/svg/SVGPathSegArc.h: Removed.
2106         * ksvg2/svg/SVGPathSegArcAbs.idl: Removed.
2107         * ksvg2/svg/SVGPathSegArcRel.idl: Removed.
2108         * ksvg2/svg/SVGPathSegClosePath.cpp: Removed.
2109         * ksvg2/svg/SVGPathSegClosePath.h: Removed.
2110         * ksvg2/svg/SVGPathSegClosePath.idl: Removed.
2111         * ksvg2/svg/SVGPathSegCurvetoCubic.cpp: Removed.
2112         * ksvg2/svg/SVGPathSegCurvetoCubic.h: Removed.
2113         * ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl: Removed.
2114         * ksvg2/svg/SVGPathSegCurvetoCubicRel.idl: Removed.
2115         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp: Removed.
2116         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h: Removed.
2117         * ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: Removed.
2118         * ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl: Removed.
2119         * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp: Removed.
2120         * ksvg2/svg/SVGPathSegCurvetoQuadratic.h: Removed.
2121         * ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl: Removed.
2122         * ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl: Removed.
2123         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp: Removed.
2124         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h: Removed.
2125         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: Removed.
2126         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: Removed.
2127         * ksvg2/svg/SVGPathSegLineto.cpp: Removed.
2128         * ksvg2/svg/SVGPathSegLineto.h: Removed.
2129         * ksvg2/svg/SVGPathSegLinetoAbs.idl: Removed.
2130         * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp: Removed.
2131         * ksvg2/svg/SVGPathSegLinetoHorizontal.h: Removed.
2132         * ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl: Removed.
2133         * ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl: Removed.
2134         * ksvg2/svg/SVGPathSegLinetoRel.idl: Removed.
2135         * ksvg2/svg/SVGPathSegLinetoVertical.cpp: Removed.
2136         * ksvg2/svg/SVGPathSegLinetoVertical.h: Removed.
2137         * ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl: Removed.
2138         * ksvg2/svg/SVGPathSegLinetoVerticalRel.idl: Removed.
2139         * ksvg2/svg/SVGPathSegList.cpp: Removed.
2140         * ksvg2/svg/SVGPathSegList.h: Removed.
2141         * ksvg2/svg/SVGPathSegList.idl: Removed.
2142         * ksvg2/svg/SVGPathSegMoveto.cpp: Removed.
2143         * ksvg2/svg/SVGPathSegMoveto.h: Removed.
2144         * ksvg2/svg/SVGPathSegMovetoAbs.idl: Removed.
2145         * ksvg2/svg/SVGPathSegMovetoRel.idl: Removed.
2146         * ksvg2/svg/SVGPatternElement.cpp: Removed.
2147         * ksvg2/svg/SVGPatternElement.h: Removed.
2148         * ksvg2/svg/SVGPatternElement.idl: Removed.
2149         * ksvg2/svg/SVGPoint.idl: Removed.
2150         * ksvg2/svg/SVGPointList.cpp: Removed.
2151         * ksvg2/svg/SVGPointList.h: Removed.
2152         * ksvg2/svg/SVGPointList.idl: Removed.
2153         * ksvg2/svg/SVGPolyElement.cpp: Removed.
2154         * ksvg2/svg/SVGPolyElement.h: Removed.
2155         * ksvg2/svg/SVGPolygonElement.cpp: Removed.
2156         * ksvg2/svg/SVGPolygonElement.h: Removed.
2157         * ksvg2/svg/SVGPolygonElement.idl: Removed.
2158         * ksvg2/svg/SVGPolylineElement.cpp: Removed.
2159         * ksvg2/svg/SVGPolylineElement.h: Removed.
2160         * ksvg2/svg/SVGPolylineElement.idl: Removed.
2161         * ksvg2/svg/SVGPreserveAspectRatio.cpp: Removed.
2162         * ksvg2/svg/SVGPreserveAspectRatio.h: Removed.
2163         * ksvg2/svg/SVGPreserveAspectRatio.idl: Removed.
2164         * ksvg2/svg/SVGRadialGradientElement.cpp: Removed.
2165         * ksvg2/svg/SVGRadialGradientElement.h: Removed.
2166         * ksvg2/svg/SVGRadialGradientElement.idl: Removed.
2167         * ksvg2/svg/SVGRect.idl: Removed.
2168         * ksvg2/svg/SVGRectElement.cpp: Removed.
2169         * ksvg2/svg/SVGRectElement.h: Removed.
2170         * ksvg2/svg/SVGRectElement.idl: Removed.
2171         * ksvg2/svg/SVGRenderingIntent.h: Removed.
2172         * ksvg2/svg/SVGRenderingIntent.idl: Removed.
2173         * ksvg2/svg/SVGSVGElement.cpp: Removed.
2174         * ksvg2/svg/SVGSVGElement.h: Removed.
2175         * ksvg2/svg/SVGSVGElement.idl: Removed.
2176         * ksvg2/svg/SVGScriptElement.cpp: Removed.
2177         * ksvg2/svg/SVGScriptElement.h: Removed.
2178         * ksvg2/svg/SVGScriptElement.idl: Removed.
2179         * ksvg2/svg/SVGSetElement.cpp: Removed.
2180         * ksvg2/svg/SVGSetElement.h: Removed.
2181         * ksvg2/svg/SVGSetElement.idl: Removed.
2182         * ksvg2/svg/SVGStopElement.cpp: Removed.
2183         * ksvg2/svg/SVGStopElement.h: Removed.
2184         * ksvg2/svg/SVGStopElement.idl: Removed.
2185         * ksvg2/svg/SVGStringList.cpp: Removed.
2186         * ksvg2/svg/SVGStringList.h: Removed.
2187         * ksvg2/svg/SVGStringList.idl: Removed.
2188         * ksvg2/svg/SVGStylable.cpp: Removed.
2189         * ksvg2/svg/SVGStylable.h: Removed.
2190         * ksvg2/svg/SVGStylable.idl: Removed.
2191         * ksvg2/svg/SVGStyleElement.cpp: Removed.
2192         * ksvg2/svg/SVGStyleElement.h: Removed.
2193         * ksvg2/svg/SVGStyleElement.idl: Removed.
2194         * ksvg2/svg/SVGStyledElement.cpp: Removed.
2195         * ksvg2/svg/SVGStyledElement.h: Removed.
2196         * ksvg2/svg/SVGStyledLocatableElement.cpp: Removed.
2197         * ksvg2/svg/SVGStyledLocatableElement.h: Removed.
2198         * ksvg2/svg/SVGStyledTransformableElement.cpp: Removed.
2199         * ksvg2/svg/SVGStyledTransformableElement.h: Removed.
2200         * ksvg2/svg/SVGSwitchElement.cpp: Removed.
2201         * ksvg2/svg/SVGSwitchElement.h: Removed.
2202         * ksvg2/svg/SVGSwitchElement.idl: Removed.
2203         * ksvg2/svg/SVGSymbolElement.cpp: Removed.
2204         * ksvg2/svg/SVGSymbolElement.h: Removed.
2205         * ksvg2/svg/SVGSymbolElement.idl: Removed.
2206         * ksvg2/svg/SVGTRefElement.cpp: Removed.
2207         * ksvg2/svg/SVGTRefElement.h: Removed.
2208         * ksvg2/svg/SVGTRefElement.idl: Removed.
2209         * ksvg2/svg/SVGTSpanElement.cpp: Removed.
2210         * ksvg2/svg/SVGTSpanElement.h: Removed.
2211         * ksvg2/svg/SVGTSpanElement.idl: Removed.
2212         * ksvg2/svg/SVGTests.cpp: Removed.
2213         * ksvg2/svg/SVGTests.h: Removed.
2214         * ksvg2/svg/SVGTests.idl: Removed.
2215         * ksvg2/svg/SVGTextContentElement.cpp: Removed.
2216         * ksvg2/svg/SVGTextContentElement.h: Removed.
2217         * ksvg2/svg/SVGTextContentElement.idl: Removed.
2218         * ksvg2/svg/SVGTextElement.cpp: Removed.
2219         * ksvg2/svg/SVGTextElement.h: Removed.
2220         * ksvg2/svg/SVGTextElement.idl: Removed.
2221         * ksvg2/svg/SVGTextPathElement.cpp: Removed.
2222         * ksvg2/svg/SVGTextPathElement.h: Removed.
2223         * ksvg2/svg/SVGTextPathElement.idl: Removed.
2224         * ksvg2/svg/SVGTextPositioningElement.cpp: Removed.
2225         * ksvg2/svg/SVGTextPositioningElement.h: Removed.
2226         * ksvg2/svg/SVGTextPositioningElement.idl: Removed.
2227         * ksvg2/svg/SVGTitleElement.cpp: Removed.
2228         * ksvg2/svg/SVGTitleElement.h: Removed.
2229         * ksvg2/svg/SVGTitleElement.idl: Removed.
2230         * ksvg2/svg/SVGTransform.cpp: Removed.
2231         * ksvg2/svg/SVGTransform.h: Removed.
2232         * ksvg2/svg/SVGTransform.idl: Removed.
2233         * ksvg2/svg/SVGTransformDistance.cpp: Removed.
2234         * ksvg2/svg/SVGTransformDistance.h: Removed.
2235         * ksvg2/svg/SVGTransformList.cpp: Removed.
2236         * ksvg2/svg/SVGTransformList.h: Removed.
2237         * ksvg2/svg/SVGTransformList.idl: Removed.
2238         * ksvg2/svg/SVGTransformable.cpp: Removed.
2239         * ksvg2/svg/SVGTransformable.h: Removed.
2240         * ksvg2/svg/SVGTransformable.idl: Removed.
2241         * ksvg2/svg/SVGURIReference.cpp: Removed.
2242         * ksvg2/svg/SVGURIReference.h: Removed.
2243         * ksvg2/svg/SVGURIReference.idl: Removed.
2244         * ksvg2/svg/SVGUnitTypes.h: Removed.
2245         * ksvg2/svg/SVGUnitTypes.idl: Removed.
2246         * ksvg2/svg/SVGUseElement.cpp: Removed.
2247         * ksvg2/svg/SVGUseElement.h: Removed.
2248         * ksvg2/svg/SVGUseElement.idl: Removed.
2249         * ksvg2/svg/SVGViewElement.cpp: Removed.
2250         * ksvg2/svg/SVGViewElement.h: Removed.
2251         * ksvg2/svg/SVGViewElement.idl: Removed.
2252         * ksvg2/svg/SVGViewSpec.cpp: Removed.
2253         * ksvg2/svg/SVGViewSpec.h: Removed.
2254         * ksvg2/svg/SVGViewSpec.idl: Removed.
2255         * ksvg2/svg/SVGZoomAndPan.cpp: Removed.
2256         * ksvg2/svg/SVGZoomAndPan.h: Removed.
2257         * ksvg2/svg/SVGZoomAndPan.idl: Removed.
2258         * ksvg2/svg/svgattrs.in: Removed.
2259         * ksvg2/svg/svgtags.in: Removed.
2260         * rendering/PointerEventsHitRules.cpp: Copied from ksvg2/misc/PointerEventsHitRules.cpp.
2261         * rendering/PointerEventsHitRules.h: Copied from ksvg2/misc/PointerEventsHitRules.h.
2262         * rendering/SVGRenderStyle.cpp: Copied from ksvg2/css/SVGRenderStyle.cpp.
2263         * rendering/SVGRenderStyle.h: Copied from ksvg2/css/SVGRenderStyle.h.
2264         * rendering/SVGRenderStyleDefs.cpp: Copied from ksvg2/css/SVGRenderStyleDefs.cpp.
2265         * rendering/SVGRenderStyleDefs.h: Copied from ksvg2/css/SVGRenderStyleDefs.h.
2266         * svg: Copied from ksvg2/svg.
2267         * svg/SVGDocumentExtensions.cpp: Copied from ksvg2/misc/SVGDocumentExtensions.cpp.
2268         * svg/SVGDocumentExtensions.h: Copied from ksvg2/misc/SVGDocumentExtensions.h.
2269         * svg/SVGImageLoader.cpp: Copied from ksvg2/misc/SVGImageLoader.cpp.
2270         * svg/SVGImageLoader.h: Copied from ksvg2/misc/SVGImageLoader.h.
2271         * svg/SVGTimer.cpp: Copied from ksvg2/misc/SVGTimer.cpp.
2272         * svg/SVGTimer.h: Copied from ksvg2/misc/SVGTimer.h.
2273         * svg/SVGZoomEvent.cpp: Copied from ksvg2/events/SVGZoomEvent.cpp.
2274         * svg/SVGZoomEvent.h: Copied from ksvg2/events/SVGZoomEvent.h.
2275         * svg/SVGZoomEvent.idl: Copied from ksvg2/events/SVGZoomEvent.idl.
2276         * svg/TimeScheduler.cpp: Copied from ksvg2/misc/TimeScheduler.cpp.
2277         * svg/TimeScheduler.h: Copied from ksvg2/misc/TimeScheduler.h.
2278         * svg/xlinkattrs.in: Copied from ksvg2/misc/xlinkattrs.in.
2279
2280 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
2281
2282         wx build fix. Add WebCore/platform/graphics/wx to includes.
2283
2284         * webcore-wx.bkl:
2285
2286 2007-11-30  Brady Eidson  <beidson@apple.com>
2287
2288         Reviewed by Geoff
2289
2290         Further hookup of Database API
2291         With this change, any database operation that writes to the database (UPDATE, INSERT, CREATE, etc) will
2292         result in a didModifyDatabase notification when the transaction is successfully committed
2293
2294         * storage/DatabaseAuthorizer.cpp: Global rename of "m_lastActionIncreasedSize" to "m_lastActionChangedDatabase"
2295         (WebCore::DatabaseAuthorizer::reset):
2296         (WebCore::DatabaseAuthorizer::createTable):
2297         (WebCore::DatabaseAuthorizer::allowAlterTable):
2298         (WebCore::DatabaseAuthorizer::createIndex):
2299         (WebCore::DatabaseAuthorizer::createTrigger):
2300         (WebCore::DatabaseAuthorizer::createVTable):
2301         (WebCore::DatabaseAuthorizer::allowInsert):
2302         (WebCore::DatabaseAuthorizer::allowUpdate):
2303         * storage/DatabaseAuthorizer.h:
2304         (WebCore::DatabaseAuthorizer::lastActionChangedDatabase):
2305
2306         * storage/DatabaseTracker.cpp:
2307         (WebCore::DatabaseTracker::notifyDatabaseChanged): Added.  Allow external entities (SQLTransaction) to be able
2308           to request a didModifyDatabase notification to the delegate
2309         * storage/DatabaseTracker.h:
2310
2311         * storage/SQLTransaction.cpp: Added m_modifiedDatabase flag which tracks if any statement over the course of 
2312           a transaction resulted in a change to the database.
2313         (WebCore::SQLTransaction::SQLTransaction):
2314         (WebCore::SQLTransaction::runCurrentStatement): Set m_modifiedDatabase to true if the authorizer reports a mutation
2315           statement occurred
2316         (WebCore::SQLTransaction::postflightAndCommit): If the transaction successfully commits, call DatabaseTracker::notifyDatabaseChanged
2317         (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto
2318         * storage/SQLTransaction.h:
2319
2320 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
2321
2322         Rubber stamped by David.
2323
2324         Next round of moves - platform reorganization.
2325         Move text/font/glyph related files from the individual port directories
2326         into platform/text/<port> or platform/graphics/<port>.
2327
2328         * DerivedSources.make:
2329         * WebCore.pro:
2330         * WebCore.vcproj/WebCore.vcproj:
2331         * WebCore.xcodeproj/project.pbxproj:
2332         * platform/cf/StringCF.cpp: Removed.
2333         * platform/cf/StringImplCF.cpp: Removed.
2334         * platform/graphics/gtk/FontCacheGtk.cpp: Copied from platform/gtk/FontCacheGtk.cpp.
2335         * platform/graphics/gtk/FontDataGtk.cpp: Copied from platform/gtk/FontDataGtk.cpp.
2336         * platform/graphics/gtk/FontGtk.cpp: Copied from platform/gtk/FontGtk.cpp.
2337         * platform/graphics/gtk/FontPlatformData.h: Copied from platform/gtk/FontPlatformData.h.
2338         * platform/graphics/gtk/FontPlatformDataGtk.cpp: Copied from platform/gtk/FontPlatformDataGtk.cpp.
2339         * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: Copied from platform/gtk/GlyphPageTreeNodeGtk.cpp.
2340         * platform/graphics/mac/FontCacheMac.mm: Copied from platform/mac/FontCacheMac.mm.
2341         * platform/graphics/mac/FontCustomPlatformData.cpp: Copied from platform/mac/FontCustomPlatformData.cpp.
2342         * platform/graphics/mac/FontCustomPlatformData.h: Copied from platform/mac/FontCustomPlatformData.h.
2343         * platform/graphics/mac/FontDataMac.mm: Copied from platform/mac/FontDataMac.mm.
2344         * platform/graphics/mac/FontMac.mm: Copied from platform/mac/FontMac.mm.
2345         * platform/graphics/mac/FontPlatformData.h: Copied from platform/mac/FontPlatformData.h.
2346         * platform/graphics/mac/FontPlatformDataMac.mm: Copied from platform/mac/FontPlatformDataMac.mm.
2347         * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: Copied from platform/mac/GlyphPageTreeNodeMac.cpp.
2348         * platform/graphics/qt/FontCacheQt.cpp: Copied from platform/qt/FontCacheQt.cpp.
2349         * platform/graphics/qt/FontCustomPlatformData.cpp: Copied from platform/qt/FontCustomPlatformData.cpp.
2350         * platform/graphics/qt/FontCustomPlatformData.h: Copied from platform/qt/FontCustomPlatformData.h.
2351         * platform/graphics/qt/FontDataQt.cpp: Copied from platform/qt/FontDataQt.cpp.
2352         * platform/graphics/qt/FontPlatformData.h: Copied from platform/qt/FontPlatformData.h.
2353         * platform/graphics/qt/FontQt.cpp: Copied from platform/qt/FontQt.cpp.
2354         * platform/graphics/qt/GlyphPageTreeNodeQt.cpp: Copied from platform/qt/GlyphPageTreeNodeQt.cpp.
2355         * platform/graphics/win/FontCacheWin.cpp: Copied from platform/win/FontCacheWin.cpp.
2356         * platform/graphics/win/FontCustomPlatformData.cpp: Copied from platform/win/FontCustomPlatformData.cpp.
2357         * platform/graphics/win/FontCustomPlatformData.h: Copied from platform/win/FontCustomPlatformData.h.
2358         * platform/graphics/win/FontDataWin.cpp: Copied from platform/win/FontDataWin.cpp.
2359         * platform/graphics/win/FontDatabase.cpp: Copied from platform/win/FontDatabase.cpp.
2360         * platform/graphics/win/FontDatabase.h: Copied from platform/win/FontDatabase.h.
2361         * platform/graphics/win/FontPlatformData.h: Copied from platform/win/FontPlatformData.h.
2362         * platform/graphics/win/FontPlatformDataWin.cpp: Copied from platform/win/FontPlatformDataWin.cpp.
2363         * platform/graphics/win/FontWin.cpp: Copied from platform/win/FontWin.cpp.
2364         * platform/graphics/win/GlyphPageTreeNodeWin.cpp: Copied from platform/win/GlyphPageTreeNodeWin.cpp.
2365         * platform/graphics/wx/FontCacheWx.cpp: Copied from platform/wx/FontCacheWx.cpp.
2366         * platform/graphics/wx/FontDataWx.cpp: Copied from platform/wx/FontDataWx.cpp.
2367         * platform/graphics/wx/FontPlatformData.h: Copied from platform/wx/FontPlatformData.h.
2368         * platform/graphics/wx/FontPlatformDataWx.cpp: Copied from platform/wx/FontPlatformDataWx.cpp.
2369         * platform/graphics/wx/FontWx.cpp: Copied from platform/wx/FontWx.cpp.
2370         * platform/graphics/wx/GlyphMapWx.cpp: Copied from platform/wx/GlyphMapWx.cpp.
2371         * platform/gtk/FontCacheGtk.cpp: Removed.
2372         * platform/gtk/FontDataGtk.cpp: Removed.
2373         * platform/gtk/FontGtk.cpp: Removed.
2374         * platform/gtk/FontPlatformData.h: Removed.
2375         * platform/gtk/FontPlatformDataGtk.cpp: Removed.
2376         * platform/gtk/GlyphPageTreeNodeGtk.cpp: Removed.
2377         * platform/gtk/TextBreakIteratorInternalICUGtk.cpp: Removed.
2378         * platform/mac/FontCacheMac.mm: Removed.
2379         * platform/mac/FontCustomPlatformData.cpp: Removed.
2380         * platform/mac/FontCustomPlatformData.h: Removed.
2381         * platform/mac/FontDataMac.mm: Removed.
2382         * platform/mac/FontMac.mm: Removed.
2383         * platform/mac/FontPlatformData.h: Removed.
2384         * platform/mac/FontPlatformDataMac.mm: Removed.
2385         * platform/mac/GlyphPageTreeNodeMac.cpp: Removed.
2386         * platform/mac/ShapeArabic.c: Removed.
2387         * platform/mac/ShapeArabic.h: Removed.
2388         * platform/mac/StringImplMac.mm: Removed.
2389         * platform/mac/StringMac.mm: Removed.
2390         * platform/mac/TextBoundaries.mm: Removed.
2391         * platform/mac/TextBreakIteratorInternalICUMac.mm: Removed.
2392         * platform/mac/TextCodecMac.cpp: Removed.
2393         * platform/mac/TextCodecMac.h: Removed.
2394         * platform/mac/character-sets.txt: Removed.
2395         * platform/mac/mac-encodings.txt: Removed.
2396         * platform/mac/make-charset-table.pl: Removed.
2397         * platform/qt/FontCacheQt.cpp: Removed.
2398         * platform/qt/FontCustomPlatformData.cpp: Removed.
2399         * platform/qt/FontCustomPlatformData.h: Removed.
2400         * platform/qt/FontDataQt.cpp: Removed.
2401         * platform/qt/FontPlatformData.h: Removed.
2402         * platform/qt/FontQt.cpp: Removed.
2403         * platform/qt/GlyphPageTreeNodeQt.cpp: Removed.
2404         * platform/qt/StringQt.cpp: Removed.
2405         * platform/qt/TextBoundaries.cpp: Removed.
2406         * platform/qt/TextBreakIteratorQt.cpp: Removed.
2407         * platform/qt/TextCodecQt.cpp: Removed.
2408         * platform/qt/TextCodecQt.h: Removed.
2409         * platform/symbian/StringImplSymbian.cpp: Removed.
2410         * platform/symbian/StringSymbian.cpp: Removed.
2411         * platform/text/cf: Added.
2412         * platform/text/cf/StringCF.cpp: Copied from platform/cf/StringCF.cpp.
2413         * platform/text/cf/StringImplCF.cpp: Copied from platform/cf/StringImplCF.cpp.
2414         * platform/text/gtk: Added.
2415         * platform/text/gtk/TextBreakIteratorInternalICUGtk.cpp: Copied from platform/gtk/TextBreakIteratorInternalICUGtk.cpp.
2416         * platform/text/mac/ShapeArabic.c: Copied from platform/mac/ShapeArabic.c.
2417         * platform/text/mac/ShapeArabic.h: Copied from platform/mac/ShapeArabic.h.
2418         * platform/text/mac/StringImplMac.mm: Copied from platform/mac/StringImplMac.mm.
2419         * platform/text/mac/StringMac.mm: Copied from platform/mac/StringMac.mm.
2420         * platform/text/mac/TextBoundaries.mm: Copied from platform/mac/TextBoundaries.mm.
2421         * platform/text/mac/TextBreakIteratorInternalICUMac.mm: Copied from platform/mac/TextBreakIteratorInternalICUMac.mm.
2422         * platform/text/mac/TextCodecMac.cpp: Copied from platform/mac/TextCodecMac.cpp.
2423         * platform/text/mac/TextCodecMac.h: Copied from platform/mac/TextCodecMac.h.
2424         * platform/text/mac/character-sets.txt: Copied from platform/mac/character-sets.txt.
2425         * platform/text/mac/mac-encodings.txt: Copied from platform/mac/mac-encodings.txt.
2426         * platform/text/mac/make-charset-table.pl: Copied from platform/mac/make-charset-table.pl.
2427         * platform/text/qt: Added.
2428         * platform/text/qt/StringQt.cpp: Copied from platform/qt/StringQt.cpp.
2429         * platform/text/qt/TextBoundaries.cpp: Copied from platform/qt/TextBoundaries.cpp.
2430         * platform/text/qt/TextBreakIteratorQt.cpp: Copied from platform/qt/TextBreakIteratorQt.cpp.
2431         * platform/text/qt/TextCodecQt.cpp: Copied from platform/qt/TextCodecQt.cpp.
2432         * platform/text/qt/TextCodecQt.h: Copied from platform/qt/TextCodecQt.h.
2433         * platform/text/symbian: Added.
2434         * platform/text/symbian/StringImplSymbian.cpp: Copied from platform/symbian/StringImplSymbian.cpp.
2435         * platform/text/symbian/StringSymbian.cpp: Copied from platform/symbian/StringSymbian.cpp.
2436         * platform/text/win: Added.
2437         * platform/text/win/TextBreakIteratorInternalICUWin.cpp: Copied from platform/win/TextBreakIteratorInternalICUWin.cpp.
2438         * platform/text/wx: Added.
2439         * platform/text/wx/StringWx.cpp: Copied from platform/wx/StringWx.cpp.
2440         * platform/win/FontCacheWin.cpp: Removed.
2441         * platform/win/FontCustomPlatformData.cpp: Removed.
2442         * platform/win/FontCustomPlatformData.h: Removed.
2443         * platform/win/FontDataWin.cpp: Removed.
2444         * platform/win/FontDatabase.cpp: Removed.
2445         * platform/win/FontDatabase.h: Removed.
2446         * platform/win/FontPlatformData.h: Removed.
2447         * platform/win/FontPlatformDataWin.cpp: Removed.
2448         * platform/win/FontWin.cpp: Removed.
2449         * platform/win/GlyphPageTreeNodeWin.cpp: Removed.
2450         * platform/win/TextBreakIteratorInternalICUWin.cpp: Removed.
2451         * platform/wx/FontCacheWx.cpp: Removed.
2452         * platform/wx/FontDataWx.cpp: Removed.
2453         * platform/wx/FontPlatformData.h: Removed.
2454         * platform/wx/FontPlatformDataWx.cpp: Removed.
2455         * platform/wx/FontWx.cpp: Removed.
2456         * platform/wx/GlyphMapWx.cpp: Removed.
2457         * platform/wx/StringWx.cpp: Removed.
2458         * webcore-wx.bkl:
2459
2460 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
2461
2462         Build fix for wx port. Adding editing/RemoveFormatCommand.cpp
2463
2464         * WebCoreSources.bkl:
2465
2466 2007-11-30  Simon Hausmann  <hausmann@webkit.org>
2467
2468         Reviewed by Adam Roben.
2469
2470         Fix the build with DATABASE=0.
2471
2472         * page/Settings.cpp:
2473         (WebCore::Settings::setDefaultDatabaseOriginQuota):
2474         (WebCore::Settings::defaultDatabaseOriginQuota):
2475
2476 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
2477
2478         Rubber stamped by Darin.
2479
2480         Fix misplaced file. The name "FontStyle" is not correct though - it probably
2481         needs yet another move - but this time inside platform/graphics - as soon
2482         as we agree on a better name.
2483
2484         * WebCore.xcodeproj/project.pbxproj:
2485         * platform/graphics/FontStyle.h: Copied from platform/text/FontStyle.h.
2486         * platform/text/FontStyle.h: Removed.
2487
2488 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
2489
2490         Reviewed by Sam.
2491
2492         Rename "FontStyle FontStyle(...)" to "FontStyle fontStyle(...)".
2493         I scripted a bit too much while doing the TextStyle -> FontStyle change.
2494
2495         * platform/win/PopupMenuWin.cpp:
2496         (WebCore::PopupMenu::paint):
2497         * rendering/EllipsisBox.cpp:
2498         (WebCore::EllipsisBox::paint):
2499         * rendering/RenderFileUploadControl.cpp:
2500         (WebCore::RenderFileUploadControl::paintObject):
2501         * rendering/RenderListBox.cpp:
2502         (WebCore::RenderListBox::updateFromElement):
2503         (WebCore::RenderListBox::paintItemForeground):
2504         * rendering/RenderTextControl.cpp:
2505         (WebCore::RenderTextControl::setStyle):
2506         (WebCore::RenderTextControl::createInnerTextStyle):
2507         (WebCore::RenderTextControl::createSubtreeIfNeeded):
2508         * rendering/RenderTextControl.h:
2509         * rendering/SVGRootInlineBox.cpp:
2510         (WebCore::svgFontStyleForInlineTextBox):
2511
2512 2007-11-30  Alp Toker  <alp@atoker.com>
2513
2514         GTK+ build fix following the recent text reorganization.
2515
2516         * WebCore.pro:
2517
2518 2007-11-29  Jon Honeycutt  <jhoneycutt@apple.com>
2519
2520         Reviewed by Adam.
2521
2522         Part of <rdar://problem/5506522> Seed: cannot type into text box in
2523         Facebook, don't see plugin content (Adobe Flash)
2524
2525         * plugins/win/PluginViewWin.cpp:
2526         (WebCore::PluginViewWin::handleMouseEvent): Focus the plugin's parent
2527         frame  
2528
2529 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
2530
2531         Not reviewed. Trying to fix gtk/qt/wx build. (I expected problems because of the moves)
2532
2533         * WebCore.pro:
2534         * webcore-base.bkl:
2535
2536 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
2537
2538         Rubber stamped by Brady.
2539
2540         Started platform reorganization (platform/text addition).
2541         Moving string/text/font related classes into new places - as discussed on webkit-dev.
2542
2543         In a follow-up commit I'll move classes out of platform/{mac,win,...} into
2544         platform/text/{mac,win,...}, and also do the ksvg2/ -> svg/ move.
2545
2546         * WebCore.order:
2547         * WebCore.pro:
2548         * WebCore.vcproj/WebCore.vcproj:
2549         * WebCore.xcodeproj/project.pbxproj:
2550         * WebCoreSources.bkl:
2551         * editing/ReplaceSelectionCommand.cpp:
2552         (WebCore::ReplacementFragment::insertFragmentForTestRendering):
2553         * platform/AtomicString.cpp: Removed.
2554         * platform/AtomicString.h: Removed.
2555         * platform/AtomicStringImpl.h: Removed.
2556         * platform/Base64.cpp: Removed.
2557         * platform/Base64.h: Removed.
2558         * platform/BidiContext.cpp: Removed.
2559         * platform/BidiContext.h: Removed.
2560         * platform/BidiResolver.h: Removed.
2561         * platform/CString.cpp: Removed.
2562         * platform/CString.h: Removed.
2563         * platform/CharacterNames.h: Removed.
2564         * platform/CharsetData.h: Removed.
2565         * platform/Font.cpp: Removed.
2566         * platform/Font.h: Removed.
2567         * platform/FontCache.cpp: Removed.
2568         * platform/FontCache.h: Removed.
2569         * platform/FontData.cpp: Removed.
2570         * platform/FontData.h: Removed.
2571         * platform/FontDescription.h: Removed.
2572         * platform/FontFallbackList.cpp: Removed.
2573         * platform/FontFallbackList.h: Removed.
2574         * platform/FontFamily.cpp: Removed.
2575         * platform/FontFamily.h: Removed.
2576         * platform/FontSelector.h: Removed.
2577         * platform/GlyphBuffer.h: Removed.
2578         * platform/GlyphPageTreeNode.cpp: Removed.
2579         * platform/GlyphPageTreeNode.h: Removed.
2580         * platform/GlyphWidthMap.cpp: Removed.
2581         * platform/GlyphWidthMap.h: Removed.
2582         * platform/PlatformString.h: Removed.
2583         * platform/RegularExpression.cpp: Removed.
2584         * platform/RegularExpression.h: Removed.
2585         * platform/SegmentedString.cpp: Removed.
2586         * platform/SegmentedString.h: Removed.
2587         * platform/String.cpp: Removed.
2588         * platform/StringHash.h: Removed.
2589         * platform/StringImpl.cpp: Removed.
2590         * platform/StringImpl.h: Removed.
2591         * platform/StringTruncator.cpp: Removed.
2592         * platform/StringTruncator.h: Removed.
2593         * platform/TextBoundaries.h: Removed.
2594         * platform/TextBoundariesICU.cpp: Removed.
2595         * platform/TextBreakIterator.h: Removed.
2596         * platform/TextBreakIteratorICU.cpp: Removed.
2597         * platform/TextBreakIteratorInternalICU.h: Removed.
2598         * platform/TextCodec.cpp: Removed.
2599         * platform/TextCodec.h: Removed.
2600         * platform/TextCodecICU.cpp: Removed.
2601         * platform/TextCodecICU.h: Removed.
2602         * platform/TextCodecLatin1.cpp: Removed.
2603         * platform/TextCodecLatin1.h: Removed.
2604         * platform/TextCodecUTF16.cpp: Removed.
2605         * platform/TextCodecUTF16.h: Removed.
2606         * platform/TextCodecUserDefined.cpp: Removed.
2607         * platform/TextCodecUserDefined.h: Removed.
2608         * platform/TextDecoder.cpp: Removed.
2609         * platform/TextDecoder.h: Removed.
2610         * platform/TextDirection.h: Removed.
2611         * platform/TextEncoding.cpp: Removed.
2612         * platform/TextEncoding.h: Removed.
2613         * platform/TextEncodingRegistry.cpp: Removed.
2614         * platform/TextEncodingRegistry.h: Removed.
2615         * platform/TextStream.cpp: Removed.
2616         * platform/TextStream.h: Removed.
2617         * platform/TextStyle.h: Removed.
2618         * platform/UnicodeRange.cpp: Removed.
2619         * platform/UnicodeRange.h: Removed.
2620         * platform/graphics/Font.cpp: Copied from platform/Font.cpp.
2621         (WebCore::WidthIterator::WidthIterator):
2622         (WebCore::Font::width):
2623         (WebCore::Font::drawSimpleText):
2624         (WebCore::Font::drawGlyphBuffer):
2625         (WebCore::Font::drawText):
2626         (WebCore::Font::floatWidth):
2627         (WebCore::Font::floatWidthForSimpleText):
2628         (WebCore::Font::selectionRectForText):
2629         (WebCore::Font::selectionRectForSimpleText):
2630         (WebCore::Font::offsetForPosition):
2631         (WebCore::Font::offsetForPositionForSimpleText):
2632         * platform/graphics/Font.h: Copied from platform/Font.h.
2633         * platform/graphics/FontCache.cpp: Copied from platform/FontCache.cpp.
2634         * platform/graphics/FontCache.h: Copied from platform/FontCache.h.
2635         * platform/graphics/FontData.cpp: Copied from platform/FontData.cpp.
2636         * platform/graphics/FontData.h: Copied from platform/FontData.h.
2637         * platform/graphics/FontDescription.h: Copied from platform/FontDescription.h.
2638         * platform/graphics/FontFallbackList.cpp: Copied from platform/FontFallbackList.cpp.
2639         * platform/graphics/FontFallbackList.h: Copied from platform/FontFallbackList.h.
2640         * platform/graphics/FontFamily.cpp: Copied from platform/FontFamily.cpp.
2641         * platform/graphics/FontFamily.h: Copied from platform/FontFamily.h.
2642         * platform/graphics/FontSelector.h: Copied from platform/FontSelector.h.
2643         * platform/graphics/GlyphBuffer.h: Copied from platform/GlyphBuffer.h.
2644         * platform/graphics/GlyphPageTreeNode.cpp: Copied from platform/GlyphPageTreeNode.cpp.
2645         * platform/graphics/GlyphPageTreeNode.h: Copied from platform/GlyphPageTreeNode.h.
2646         * platform/graphics/GlyphWidthMap.cpp: Copied from platform/GlyphWidthMap.cpp.
2647         * platform/graphics/GlyphWidthMap.h: Copied from platform/GlyphWidthMap.h.
2648         * platform/graphics/GraphicsContext.cpp:
2649         (WebCore::GraphicsContext::drawText):
2650         (WebCore::GraphicsContext::drawBidiText):
2651         (WebCore::GraphicsContext::drawHighlightForText):
2652         * platform/graphics/GraphicsContext.h:
2653         * platform/graphics/StringTruncator.cpp: Copied from platform/StringTruncator.cpp.
2654         (WebCore::stringWidth):
2655         * platform/graphics/StringTruncator.h: Copied from platform/StringTruncator.h.
2656         * platform/graphics/qt/GraphicsContextQt.cpp:
2657         * platform/gtk/FontGtk.cpp:
2658         (WebCore::Font::drawComplexText):
2659         (WebCore::Font::floatWidthForComplexText):
2660         (WebCore::Font::offsetForPositionForComplexText):
2661         (WebCore::Font::selectionRectForComplexText):
2662         * platform/mac/FontMac.mm:
2663         (WebCore::ATSULayoutParameters::ATSULayoutParameters):
2664         (WebCore::Font::selectionRectForComplexText):
2665         (WebCore::Font::drawComplexText):
2666         (WebCore::Font::floatWidthForComplexText):
2667         (WebCore::Font::offsetForPositionForComplexText):
2668         * platform/mac/WebCoreTextRenderer.mm:
2669         (WebCoreDrawTextAtPoint):
2670         (WebCoreTextFloatWidth):
2671         * platform/qt/FontQt.cpp:
2672         (WebCore::generateComponents):
2673         (WebCore::Font::drawText):
2674         (WebCore::Font::width):
2675         (WebCore::Font::floatWidth):
2676         (WebCore::Font::offsetForPosition):
2677         (WebCore::cursorToX):
2678         (WebCore::Font::selectionRectForText):
2679         * platform/text: Added.
2680         * platform/text/AtomicString.cpp: Copied from platform/AtomicString.cpp.
2681         * platform/text/AtomicString.h: Copied from platform/AtomicString.h.
2682         * platform/text/AtomicStringImpl.h: Copied from platform/AtomicStringImpl.h.
2683         * platform/text/Base64.cpp: Copied from platform/Base64.cpp.
2684         * platform/text/Base64.h: Copied from platform/Base64.h.
2685         * platform/text/BidiContext.cpp: Copied from platform/BidiContext.cpp.
2686         * platform/text/BidiContext.h: Copied from platform/BidiContext.h.
2687         * platform/text/BidiResolver.h: Copied from platform/BidiResolver.h.
2688         * platform/text/CString.cpp: Copied from platform/CString.cpp.
2689         * platform/text/CString.h: Copied from platform/CString.h.
2690         * platform/text/CharacterNames.h: Copied from platform/CharacterNames.h.
2691         * platform/text/FontStyle.h: Copied from platform/TextStyle.h.
2692         (WebCore::FontStyle::FontStyle):
2693         * platform/text/PlatformString.h: Copied from platform/PlatformString.h.
2694         * platform/text/RegularExpression.cpp: Copied from platform/RegularExpression.cpp.
2695         * platform/text/RegularExpression.h: Copied from platform/RegularExpression.h.
2696         * platform/text/SegmentedString.cpp: Copied from platform/SegmentedString.cpp.
2697         * platform/text/SegmentedString.h: Copied from platform/SegmentedString.h.
2698         * platform/text/String.cpp: Copied from platform/String.cpp.
2699         * platform/text/StringHash.h: Copied from platform/StringHash.h.
2700         * platform/text/StringImpl.cpp: Copied from platform/StringImpl.cpp.
2701         * platform/text/StringImpl.h: Copied from platform/StringImpl.h.
2702         * platform/text/TextBoundaries.h: Copied from platform/TextBoundaries.h.
2703         * platform/text/TextBoundariesICU.cpp: Copied from platform/TextBoundariesICU.cpp.
2704         (WebCore::findNextWordFromIndex):
2705         * platform/text/TextBreakIterator.h: Copied from platform/TextBreakIterator.h.
2706         * platform/text/TextBreakIteratorICU.cpp: Copied from platform/TextBreakIteratorICU.cpp.
2707         * platform/text/TextBreakIteratorInternalICU.h: Copied from platform/TextBreakIteratorInternalICU.h.
2708         * platform/text/TextCodec.cpp: Copied from platform/TextCodec.cpp.
2709         * platform/text/TextCodec.h: Copied from platform/TextCodec.h.
2710         * platform/text/TextCodecICU.cpp: Copied from platform/TextCodecICU.cpp.
2711         * platform/text/TextCodecICU.h: Copied from platform/TextCodecICU.h.
2712         * platform/text/TextCodecLatin1.cpp: Copied from platform/TextCodecLatin1.cpp.
2713         * platform/text/TextCodecLatin1.h: Copied from platform/TextCodecLatin1.h.
2714         * platform/text/TextCodecUTF16.cpp: Copied from platform/TextCodecUTF16.cpp.
2715         * platform/text/TextCodecUTF16.h: Copied from platform/TextCodecUTF16.h.
2716         * platform/text/TextCodecUserDefined.cpp: Copied from platform/TextCodecUserDefined.cpp.
2717         * platform/text/TextCodecUserDefined.h: Copied from platform/TextCodecUserDefined.h.
2718         * platform/text/TextDecoder.cpp: Copied from platform/TextDecoder.cpp.
2719         * platform/text/TextDecoder.h: Copied from platform/TextDecoder.h.
2720         * platform/text/TextDirection.h: Copied from platform/TextDirection.h.
2721         * platform/text/TextEncoding.cpp: Copied from platform/TextEncoding.cpp.
2722         * platform/text/TextEncoding.h: Copied from platform/TextEncoding.h.
2723         * platform/text/TextEncodingRegistry.cpp: Copied from platform/TextEncodingRegistry.cpp.
2724         * platform/text/TextEncodingRegistry.h: Copied from platform/TextEncodingRegistry.h.
2725         * platform/text/TextStream.cpp: Copied from platform/TextStream.cpp.
2726         * platform/text/TextStream.h: Copied from platform/TextStream.h.
2727         * platform/text/UnicodeRange.cpp: Copied from platform/UnicodeRange.cpp.
2728         * platform/text/UnicodeRange.h: Copied from platform/UnicodeRange.h.
2729         * platform/text/mac: Added.
2730         * platform/text/mac/CharsetData.h: Copied from platform/CharsetData.h.
2731         * platform/win/FontWin.cpp:
2732         (WebCore::Font::selectionRectForComplexText):
2733         (WebCore::Font::drawComplexText):
2734         (WebCore::Font::floatWidthForComplexText):
2735         (WebCore::Font::offsetForPositionForComplexText):
2736         * platform/win/PopupMenuWin.cpp:
2737         (WebCore::PopupMenu::paint):
2738         * platform/win/UniscribeController.cpp:
2739         (WebCore::UniscribeController::UniscribeController):
2740         * platform/win/UniscribeController.h:
2741         * platform/win/WebCoreTextRenderer.cpp:
2742         (WebCore::doDrawTextAtPoint):
2743         * platform/wx/FontWx.cpp:
2744         (WebCore::Font::selectionRectForComplexText):
2745         (WebCore::Font::drawComplexText):
2746         (WebCore::Font::floatWidthForComplexText):
2747         (WebCore::Font::offsetForPositionForComplexText):
2748         * rendering/EllipsisBox.cpp:
2749         (WebCore::EllipsisBox::paint):
2750         * rendering/InlineTextBox.cpp:
2751         (WebCore::InlineTextBox::selectionRect):
2752         (WebCore::InlineTextBox::paint):
2753         (WebCore::InlineTextBox::paintSelection):
2754         (WebCore::InlineTextBox::paintCompositionBackground):
2755         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
2756         (WebCore::InlineTextBox::paintTextMatchMarker):
2757         (WebCore::InlineTextBox::offsetForPosition):
2758         (WebCore::InlineTextBox::positionForOffset):
2759         * rendering/RenderFileUploadControl.cpp:
2760         (WebCore::RenderFileUploadControl::paintObject):
2761         (WebCore::RenderFileUploadControl::calcPrefWidths):
2762         * rendering/RenderImage.cpp:
2763         * rendering/RenderListBox.cpp:
2764         (WebCore::RenderListBox::updateFromElement):
2765         (WebCore::RenderListBox::paintItemForeground):
2766         * rendering/RenderMenuList.cpp:
2767         (WebCore::RenderMenuList::updateOptionsWidth):
2768         * rendering/RenderText.cpp:
2769         (WebCore::RenderText::widthFromCache):
2770         (WebCore::RenderText::calcPrefWidths):
2771         (WebCore::RenderText::width):
2772         * rendering/RenderTextControl.cpp:
2773         (WebCore::RenderTextControl::setStyle):
2774         (WebCore::RenderTextControl::createInnerFontStyle):
2775         (WebCore::RenderTextControl::createSubtreeIfNeeded):
2776         (WebCore::RenderTextControl::calcPrefWidths):
2777         * rendering/RenderTextControl.h:
2778         * rendering/SVGInlineTextBox.cpp:
2779         (WebCore::SVGInlineTextBox::calculateGlyphWidth):
2780         (WebCore::SVGInlineTextBox::paintCharacters):
2781         (WebCore::SVGInlineTextBox::paintSelection):
2782         * rendering/SVGRootInlineBox.cpp:
2783         (WebCore::cummulatedWidthOfInlineBoxCharacterRange):
2784         (WebCore::svgFontStyleForInlineTextBox):
2785         * rendering/SVGRootInlineBox.h:
2786
2787 2007-11-30  Adele Peterson  <adele@apple.com>
2788
2789         Reviewed by Darin.
2790
2791         Fix for http://bugs.webkit.org/show_bug.cgi?id=16072
2792         <rdar://problem/5463821> REGRESSION: Mousemove event isn't fired when mouse moves over scrollbar with pressed button (16072)
2793
2794         Test: fast/events/mousemove-after-drag-over-scrollbar.html
2795
2796         * page/EventHandler.cpp:
2797         (WebCore::EventHandler::handleMouseMoveEvent): If the mouse is pressed, and we've moved over a new scrollbar, then we can clear m_lastScrollbarUnderMouse.
2798          We should only need to show the hover effect when the mouse isn't pressed.
2799
2800 2007-11-29  Brady Eidson <beidson@apple.com>
2801
2802         Reviewed by Tim
2803
2804         Part of <rdar://problem/5556377> - Need to accurately track and enforce database quota
2805
2806         SQLite has the ability to enforce the page usage for databases.  This gives us bulletproof
2807         enforcement of the database size limit with reasonable granularity (within 1023 bytes by 
2808         default on OS X with SQLite 3.4.0)
2809
2810         This also involved enhancing the ability to install/remove the authorizer to run the PRAGMA
2811         statements involved
2812
2813         Note this patch does not actually use the new maximumSize() functionality of the 
2814         SQLiteDatabase class - that can be reviewed/landed seperately
2815         
2816         * platform/sql/SQLiteDatabase.cpp:
2817         (WebCore::SQLiteDatabase::SQLiteDatabase): 
2818         (WebCore::SQLiteDatabase::maximumSize): Return the current maximum size in bytes
2819         (WebCore::SQLiteDatabase::setMaximumSize): Based on m_pageSize, set the maximum page count
2820           to enforce the maximum size in bytes
2821         (WebCore::SQLiteDatabase::pageSize): Fetch m_pageSize if it hasn't been fetched, or return
2822           the cached value
2823         (WebCore::SQLiteDatabase::setAuthorizer): Use enableAuthorizer for the sqlite_* level 
2824           authorizer setup
2825         (WebCore::SQLiteDatabase::enableAuthorizer): Install or remove the sqlite authorizer handler
2826         * platform/sql/SQLiteDatabase.h: Add the m_pageSize member so we only have to fetch it once
2827
2828 2007-11-29  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2829
2830         Reviewed by Maciej.
2831
2832         * Fix fast/events/mousedown_in_scrollbar.html
2833         * This test used to crash in PlatformScrollbarQt::mouse*Event due parent() returning 0.
2834         * Extend the current check that the scrollbar in the mev can be go away.
2835         This happens if we destroy a RenderLayer as the result of a click. In the
2836         case of Qt we can have this scrollbar in m_lastScrollbarUnderMouse. The RenderLayer
2837         is the ScrollbarClient, m_lastScrollbarUnderMouse is a RefPtr and keeps the
2838         last reference. When calling into this scrollbar the m_client pointer is a dangling pointer.
2839         We extend the check to set m_lastScrollbarUnderMouse back to zero when it was the
2840         scrollbar in the old mev and is gone in the new one.
2841         * This happens only on the Qt port because we send more/different move events.
2842
2843         * page/EventHandler.cpp:
2844         (WebCore::EventHandler::handleMousePressEvent):
2845
2846 2007-11-29  Antti Koivisto  <antti@apple.com>
2847
2848         Reviewed by Mitz.
2849
2850         Fix aspect ratio calculation of video.
2851         
2852         Video should always be treated as a replaced element in size calculation.
2853         
2854         Test: media/video-aspect-ratio.html
2855
2856         * rendering/RenderBox.cpp:
2857         (WebCore::RenderBox::calcWidth):
2858         (WebCore::RenderBox::calcHeight):
2859         * rendering/RenderBox.h:
2860         (WebCore::RenderBox::shouldCalculateSizeAsReplaced):
2861         * rendering/RenderMedia.h:
2862         (WebCore::RenderMedia::shouldCalculateSizeAsReplaced):
2863
2864 2007-11-29  Sam Weinig  <sam@webkit.org>
2865
2866         Reviewed by Oliver.
2867
2868         Additional fix for <rdar://problem/5592988> / http://bugs.webkit.org/show_bug.cgi?id=15936
2869         - More closely match IE's policy for frame navigation.
2870
2871         * bindings/js/kjs_window.cpp:
2872         (KJS::WindowProtoFuncOpen::callAsFunction):
2873         * loader/FrameLoader.cpp:
2874         (WebCore::FrameLoader::shouldAllowNavigation):
2875         * page/FrameTree.cpp:
2876         (WebCore::FrameTree::top):
2877         * page/FrameTree.h:
2878
2879 2007-11-29  Dan Bernstein  <mitz@apple.com>
2880
2881         Reviewed by Adam Roben and John Sullivan.
2882
2883         - make the recent searches popup extend only along the straight part of
2884           the search field (unless it needs to be wider).
2885
2886         * platform/PopupMenuClient.h:
2887           Added clientInsetLeft() and clientInsetRight() for clients to
2888           specify desired horizontal insets for the menu.
2889         * platform/win/PopupMenuWin.cpp:
2890         (WebCore::PopupMenu::calculatePositionAndSize):
2891         (WebCore::PopupMenu::paint):
2892         * rendering/RenderMenuList.cpp:
2893         (WebCore::RenderMenuList::clientInsetLeft): Added. Returns 0.
2894         (WebCore::RenderMenuList::clientInsetRight): Ditto.
2895         * rendering/RenderMenuList.h:
2896         * rendering/RenderTextControl.cpp:
2897         (WebCore::RenderTextControl::clientInsetLeft): Added. Returns half the
2898         control's height, which is the radius of the cap on the left.
2899         (WebCore::RenderTextControl::clientInsetRight): Added.
2900         * rendering/RenderTextControl.h:
2901
2902 2007-11-30  Alp Toker  <alp@atoker.com>
2903
2904         Reviewed by Maciej.
2905
2906         http://bugs.webkit.org/show_bug.cgi?id=16173
2907         Licensing change
2908
2909         Change license from BSD to LGPL.
2910
2911         This is being done to encourage vendors to contribute their fixes back
2912         upstream.
2913
2914         * platform/graphics/gtk/ColorGtk.cpp:
2915         * platform/graphics/gtk/IntPointGtk.cpp:
2916         * platform/graphics/gtk/IntRectGtk.cpp:
2917         * platform/graphics/svg/cairo/RenderPathCairo.cpp:
2918         * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp:
2919         * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp:
2920         * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp:
2921         * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp:
2922         * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp:
2923         * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp:
2924         * platform/gtk/Language.cpp:
2925         * platform/gtk/LoggingGtk.cpp:
2926         * platform/gtk/SoundGtk.cpp:
2927         * platform/gtk/SystemTimeGtk.cpp:
2928         * platform/gtk/TextBreakIteratorInternalICUGtk.cpp:
2929
2930 2007-11-29  Darin Adler  <darin@apple.com>
2931
2932         Reviewed by Adele.
2933
2934         - fix http://bugs.webkit.org/show_bug.cgi?id=16191
2935           REGRESSION: cannot tab to radio input after setting checked to false
2936
2937         Test: fast/forms/input-radio-checked-tab.html
2938
2939         * html/HTMLFormElement.cpp:
2940         (WebCore::HTMLFormElement::CheckedRadioButtons::addButton): Fix this code
2941         so that it doesn't call setChecked(false) until after the map has been updated.
2942         Otherwise, we can end up deallocating the map before manipulating it. As long
2943         as I was changing the function, I decided to make it do only a single hash
2944         table lookup.
2945
2946         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::setChecked):
2947         Remove the button from the radio buttons set before changing the checked
2948         state. This matches the idiom used elsewhere and fixes the problem where
2949         setting checked to false would not remove it from the set.
2950
2951 2007-11-29  Justin Garcia  <justin.garcia@apple.com>
2952
2953         Reviewed by Darin Adler.
2954
2955         <rdar://problem/5620093> Brief hang when Safari caches page text of XML document
2956
2957         * editing/TextIterator.cpp:
2958         (WebCore::TextIterator::representNodeOffsetZero): When we haven't been emitting any 
2959         characters, shouldRepresentNodeOffsetZero() can create VisiblePositions, which is
2960         expensive.  So, we perform the inexpensive checks on m_node to see if it necessitates 
2961         emitting a character first and will early return before encountering 
2962         shouldRepresentNodeOffsetZero()s worse case behavior.
2963
2964 2007-11-29  Anders Carlsson  <andersca@apple.com>
2965
2966         Reviewed by Sam.
2967
2968         Don't install event handlers or set the zoom cursor if auto-shrink has been disabled.
2969
2970         * loader/ImageDocument.cpp:
2971         (WebCore::ImageDocument::createDocumentStructure):
2972         (WebCore::ImageDocument::imageChanged):
2973
2974 2007-11-29  Beth Dakin  <bdakin@apple.com>
2975
2976         Reviewed by Geoff.
2977
2978         Fix for <rdar://problem/5620151> Disable JavaScript for SVG as 
2979         image for <img> and CSS images
2980
2981         * platform/graphics/svg/SVGImage.cpp:
2982         (WebCore::SVGImage::dataChanged): When we create the empty clients, 
2983         explicitly disable JavaScript in the settings.
2984
2985 2007-11-29  Brady Eidson  <beidson@apple.com>
2986
2987         Reviewed by Anders
2988
2989         Support for <rdar://problem/5556381> and <rdar://problem/5556379>
2990
2991         The Database feature in the engine needs to support delegate calls for policy decisions and
2992         also provide notifications when origins and databases change their state.
2993
2994         This patch also polishes off the missing features of the management API
2995
2996         * page/Chrome.cpp: Implement the two UIDelegate methods
2997         (WebCore::Chrome::requestQuotaIncreaseForNewDatabase): Ask for more space to create a new database if it won't fit
2998         (WebCore::Chrome::requestQuotaIncreaseForDatabaseOperation): Ask for more space to complete an in-progress operation
2999         * page/Chrome.h:
3000         * page/ChromeClient.h:
3001         * platform/graphics/svg/SVGImageEmptyClients.h:
3002         (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForNewDatabase):
3003         (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForDatabaseOperation):
3004
3005         * storage/Database.cpp:
3006         (WebCore::Database::openDatabase): Check to see if this database can be opened - the quota must be high 
3007           enough and if it isn't, the UIDelegate should have a change to bump the quota.
3008           Also update the UI-relevant details (display name and estimated size) upon successful opening of the database
3009
3010         * storage/DatabaseDetails.h: Remove the version parameter as it is a programatic detail of a
3011           site database and is not important to API clients
3012         (WebCore::DatabaseDetails::DatabaseDetails):
3013         (WebCore::DatabaseDetails::isValid):
3014         (WebCore::DatabaseDetails::name):
3015
3016         * storage/DatabaseTracker.cpp:
3017         (WebCore::DatabaseTracker::openTrackerDatabase): Tweaked the schema here - there was a horrible bug with the old schema that would
3018           prevent you from having two databases of the same name from two different origins.  Also simplify the origin-management schema
3019         (WebCore::DatabaseTracker::canEstablishDatabase): Added.  Does some estimated size vs quota checks, and asks the UI delegate for 
3020           more space if necessary
3021         (WebCore::DatabaseTracker::hasEntryForOrigin):
3022         (WebCore::DatabaseTracker::establishEntryForOrigin): Establishes a tracker entry for the given origin with the current default quota
3023           Also notifies the client of the new origin
3024         (WebCore::DatabaseTracker::setDatabaseDetails): Update the display name and estimated size for the given database
3025         (WebCore::DatabaseTracker::fullPathForDatabase): Tweak to add the ability to get the path without creating it - for management purposes
3026         (WebCore::DatabaseTracker::populateOrigins): Populate origins from the Origins table instead of the Databases table
3027         (WebCore::DatabaseTracker::origins):
3028         (WebCore::DatabaseTracker::detailsForNameAndOrigin): For API management
3029         (WebCore::DatabaseTracker::usageForDatabase):
3030         (WebCore::DatabaseTracker::usageForOrigin):
3031         (WebCore::DatabaseTracker::quotaForOrigin):
3032         (WebCore::DatabaseTracker::setQuota): Notify the client
3033         (WebCore::DatabaseTracker::addDatabase): Notify the client 
3034         (WebCore::DatabaseTracker::deleteAllDatabases):
3035         (WebCore::DatabaseTracker::deleteDatabasesWithOrigin):
3036         (WebCore::DatabaseTracker::deleteDatabase):
3037         (WebCore::DatabaseTracker::deleteDatabaseFile):
3038         * storage/DatabaseTracker.h:
3039
3040 2007-11-29  Dan Bernstein  <mitz@apple.com>
3041
3042         Reviewed by Beth Dakin and Darin Adler.
3043
3044         - manual test for <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
3045
3046         * manual-tests/context-click-unfocused-frame.html: Added.
3047
3048 2007-11-28  Antti Koivisto  <antti@apple.com>
3049
3050         Reviewed by Geoff.
3051         
3052         Fallback content inside media elements should not be rendered.
3053
3054         Test: media/fallback.html
3055
3056         * rendering/RenderMedia.h:
3057         (WebCore::RenderMedia::canHaveChildren):
3058
3059 2007-11-28  Mark Rowe  <mrowe@apple.com>
3060
3061         Windows build fix.
3062
3063         * WebCore.vcproj/WebCore.vcproj:
3064
3065 2007-11-28  Mark Rowe  <mrowe@apple.com>
3066
3067         Gtk build fix.
3068
3069         * WebCore.pro:
3070
3071 2007-11-28  Antti Koivisto  <antti@apple.com>
3072
3073         Reviewed by Oliver.
3074
3075         Make QTMovieView fill color transparent. This behavior matches the specification
3076         (and allows nice alpha blended video).
3077
3078         * platform/graphics/mac/MoviePrivateQTKit.mm:
3079         (WebCore::MoviePrivate::createQTMovieView):
3080
3081 2007-11-28  Antti Koivisto  <antti@apple.com>
3082
3083         Reviewed by Darin.
3084
3085         Test: media/video-controls.html
3086         
3087         <rdar://problem/5605668>
3088         Implement controls attribute for video element
3089         
3090         - Add RenderMedia and make RenderVideo its subclass. Controls code goes to RenderMedia while
3091           video specific (painting etc) code stays in RenderVideo. For example audio controls can be implemented
3092           later by just instantiating RenderMedia as renderer.
3093         - Make media renderer hierarchy inherit from RenderBlock instead of RenderReplaced so it can 
3094           have child nodes (for controls).
3095         - Controls are implemented as a shadow DOM.
3096         - Current look is a placeholder. It is defined purely in CSS.
3097         - Some things like volume controls are not yet implemented.
3098         - Fade-in/out is done manually, CSS animations don't work well in shadow trees.
3099           
3100         * WebCore.xcodeproj/project.pbxproj:
3101         * css/html4.css:
3102         * html/HTMLMediaElement.cpp:
3103         (WebCore::HTMLMediaElement::attributeChanged):
3104         (WebCore::HTMLMediaElement::updateMovie):
3105         (WebCore::HTMLMediaElement::defaultEventHandler):
3106         * html/HTMLMediaElement.h:
3107         * rendering/RenderMedia.cpp: Added.
3108         (WebCore::MediaControlShadowRootElement::MediaControlShadowRootElement):
3109         (WebCore::MediaControlShadowRootElement::isShadowNode):
3110         (WebCore::MediaControlShadowRootElement::shadowParentNode):
3111         (WebCore::MediaControlInputElement::MediaControlInputElement):
3112         (WebCore::MediaControlInputElement::attachToParent):
3113         (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
3114         (WebCore::MediaControlPlayButtonElement::inPausedState):
3115         (WebCore::MediaControlPlayButtonElement::defaultEventHandler):
3116         (WebCore::MediaControlPlayButtonElement::update):
3117         (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
3118         (WebCore::MediaControlTimelineElement::defaultEventHandler):
3119         (WebCore::MediaControlTimelineElement::update):
3120         (WebCore::RenderMedia::RenderMedia):
3121         (WebCore::RenderMedia::~RenderMedia):
3122         (WebCore::RenderMedia::mediaElement):
3123         (WebCore::RenderMedia::movie):
3124         (WebCore::RenderMedia::setStyle):
3125         (WebCore::RenderMedia::createControlsShadowRoot):
3126         (WebCore::RenderMedia::createPanel):
3127         (WebCore::RenderMedia::createPlayButton):
3128         (WebCore::RenderMedia::createTimeline):
3129         (WebCore::RenderMedia::createTimeDisplay):
3130         (WebCore::RenderMedia::updateFromElement):
3131         (WebCore::RenderMedia::updateControls):
3132         (WebCore::RenderMedia::timeUpdateTimerFired):
3133         (WebCore::RenderMedia::updateTimeDisplay):
3134         (WebCore::RenderMedia::updateControlVisibility):
3135         (WebCore::RenderMedia::changeOpacity):
3136         (WebCore::RenderMedia::opacityAnimationTimerFired):
3137         (WebCore::RenderMedia::forwardEvent):
3138         * rendering/RenderMedia.h: Added.
3139         (WebCore::RenderMedia::renderName):
3140         (WebCore::RenderMedia::isMedia):
3141         (WebCore::RenderMedia::intrinsicSize):
3142         * rendering/RenderObject.h:
3143         (WebCore::RenderObject::isMedia):
3144         * rendering/RenderVideo.cpp:
3145         (WebCore::RenderVideo::RenderVideo):
3146         (WebCore::RenderVideo::videoSizeChanged):
3147         (WebCore::RenderVideo::paintObject):
3148         (WebCore::RenderVideo::layout):
3149         (WebCore::RenderVideo::updateFromElement):
3150         (WebCore::RenderVideo::calcAspectRatioWidth):
3151         (WebCore::RenderVideo::calcAspectRatioHeight):
3152         * rendering/RenderVideo.h:
3153
3154 2007-11-28  Justin Garcia  <justin.garcia@apple.com>
3155
3156         Reviewed by Darin Adler.
3157
3158         <rdar://problem/5573879> GMail Beta: Crash in when undoing Remove Formating
3159         
3160         In the new beta, Google has added some custom code on top of our RemoveFormat
3161         to work around a bug where fully selected lists aren't removed.  This code corrupts
3162         the undo stack and causes crashes.  This change fixes two problems with RemoveFormat
3163         so that Google doesn't have to have any custom code. After checking this in I'll 
3164         work on bulletproofing the undo stack
3165
3166         * WebCore.xcodeproj/project.pbxproj: 
3167         * editing/CompositeEditCommand.cpp:
3168         (WebCore::CompositeEditCommand::insertLineBreak): Added this convenience method.
3169         (WebCore::CompositeEditCommand::inputText): Added code to select all inserted text, not
3170         just the last paragraph.  Added code to support an input string with '\n's.
3171         * editing/CompositeEditCommand.h:
3172         * editing/Editor.cpp:
3173         (WebCore::Editor::removeFormattingAndStyle): Moved code to its own EditCommand.
3174         * editing/RemoveFormatCommand.cpp: Added. Moved code from removeFormattingAndStyle here.
3175         (WebCore::RemoveFormatCommand::RemoveFormatCommand):
3176         (WebCore::RemoveFormatCommand::doApply): Added code to remove fully selected lists.
3177         * editing/RemoveFormatCommand.h: Added.
3178         (WebCore::RemoveFormatCommand::editingAction):
3179
3180 2007-11-28  Dan Bernstein  <mitz@apple.com>
3181
3182         Reviewed by Dave Hyatt.
3183
3184         - fix <rdar://problem/5612459> CrashTracer: [REGRESSION] 61 crashes in Safari at com.apple.WebCore: WebCore::AutoTableLayout::layout + 2046
3185
3186         Test: fast/table/empty-auto-column-zero-divide.html
3187
3188         * rendering/AutoTableLayout.cpp:
3189         (WebCore::AutoTableLayout::recalcColumn):
3190         (WebCore::AutoTableLayout::fullRecalc):
3191         (WebCore::AutoTableLayout::calcEffectiveWidth):
3192         (WebCore::AutoTableLayout::layout): When distributing the remaining
3193         width among columns, skip those whose effective (rather than
3194         specified) width is auto and contain only empty cells.
3195
3196 2007-11-28  Peter Kasting  <zerodpx@gmail.com>
3197
3198         Reviewed by Alp Toker.
3199
3200         http://bugs.webkit.org/show_bug.cgi?id=16169
3201         GIF decoder needs to set hasAlpha() correctly on subsequent frames.
3202         
3203         This also removes the workaround for this problem in
3204         ImageSourceCairo.cpp.
3205
3206         * platform/graphics/cairo/ImageSourceCairo.cpp:
3207         (WebCore::ImageSource::frameHasAlphaAtIndex):
3208         * platform/image-decoders/gif/GIFImageDecoder.cpp:
3209         (WebCore::GIFImageDecoder::initFrameBuffer):
3210
3211 2007-11-28  Dan Bernstein  <mitz@apple.com>
3212
3213         Reviewed by Darin Adler and Adam Roben.
3214
3215         - <rdar://problem/5057218> Reenable "recent searches" search field menu when menu is fully implemented
3216
3217         * platform/win/SearchPopupMenuWin.cpp:
3218         (WebCore::SearchPopupMenu::enabled): Changed to return true.
3219         (WebCore::autosaveKey): Added. Returns a preferences key for the
3220         autosave name by prefixing it with "com.apple.WebKit.searchField:".
3221         (WebCore::SearchPopupMenu::saveRecentSearches): Implemented.
3222         (WebCore::SearchPopupMenu::loadRecentSearches): Implemented.
3223
3224 2007-11-28  Alp Toker  <alp@atoker.com>
3225
3226         Reviewed by Mark Rowe.
3227
3228         http://bugs.webkit.org/show_bug.cgi?id=15689
3229         [GTK] Background of loading images is always black
3230
3231         frameHasAlphaAtIndex() exists only to allow optimization for cases we
3232         are certain the image can be blitted rather than composited.
3233
3234         Thus we need to be conservative, returning false only when we are
3235         absolutely certain there is no need for composited copying, and true
3236         otherwise.
3237
3238         CG doesn't even bother with this optimization at all and always
3239         returns true.
3240
3241         Patch includes a workaround for
3242           http://bugs.webkit.org/show_bug.cgi?id=16169
3243           GIF ImageDecoder hasAlpha() return value incorrect
3244
3245         * platform/graphics/cairo/ImageSourceCairo.cpp:
3246         (WebCore::ImageSource::frameHasAlphaAtIndex):
3247
3248 2007-11-27  Alp Toker  <alp@atoker.com>
3249
3250         Reviewed by Mark Rowe.
3251
3252         Install the JavaScriptCore headers as part of the GTK+ port.
3253
3254         * WebCore.pro:
3255
3256 2007-11-27  Beth Dakin  <bdakin@apple.com>
3257
3258         Reviewed by Oliver.
3259
3260         Fix for <rdar://problem/5616052> SVGs with width or height of 100% 
3261         hang when used as a background-image (16164)
3262
3263         * platform/graphics/svg/SVGImage.cpp:
3264         (WebCore::SVGImage::size): Use valueAsPercentage() for percents 
3265         instead of valueInSpecifiedUnits(). valueInSpecifiedUnits() 
3266         returns, for example, 50 for 50%, so multiplying percentages by the 
3267         default size of 300 x 150 led to ridiculously huge dimensions for 
3268         SVG images, and the subsequent hang. 
3269
3270 2007-11-27  Jon Honeycutt  <jhoneycutt@apple.com>
3271
3272         Reviewed by Adam.
3273
3274         Set haveRegisteredWindowClass when we register the window class.
3275
3276         * plugins/win/PluginViewWin.cpp:
3277         (WebCore::registerPluginView):
3278
3279 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3280
3281         Reviewed by Sam Weinig.
3282
3283         Bug 16165: Dragging the inspector toolbar should move the window
3284         http://bugs.webkit.org/show_bug.cgi?id=16165
3285
3286         * page/inspector/DocumentPanel.js: Call the new drag functions, and cleanup code.
3287         * page/inspector/inspector.css: Only make the toolbar transparent in detached mode.
3288         * page/inspector/inspector.js: Call the new drag functions, and cleanup code. Add
3289           toolbar drag functions that move the window.
3290
3291 2007-11-27  Antti Koivisto  <antti@apple.com>
3292
3293         Reviewed by Mitz.
3294
3295         Small changes to make RenderSlider a bit more generic so it can be used in video controls.
3296
3297         * html/HTMLInputElement.cpp:
3298         (WebCore::HTMLInputElement::defaultEventHandler): Fix coordinates with forwarded events.
3299         * rendering/RenderSlider.cpp:
3300         (WebCore::HTMLSliderThumbElement::defaultEventHandler): Fix coordinates with forwarded events.
3301         (WebCore::RenderSlider::setStyle):
3302         (WebCore::RenderSlider::createThumbStyle): Copy thumb left and top from the orginal style so position does not reset.
3303         (WebCore::RenderSlider::mouseEventIsInThumb): Make this work with forwarded events.
3304         * rendering/RenderSlider.h:
3305
3306 2007-11-27  Antti Koivisto  <antti@apple.com>
3307
3308         Reviewed by Darin.
3309
3310         - Don't use hasPseudoId() optimization for pseudo styles used in shadow trees. These styles
3311           generally exist when asked for so the optimization does not do much. This reverses the continuing
3312           growth of the _pseudoBits bitfield in RenderStyle.
3313         - Add some pseudo elements for media controls
3314
3315         * css/CSSSelector.cpp:
3316         (WebCore::CSSSelector::extractPseudoType):
3317         * css/CSSSelector.h:
3318         (WebCore::CSSSelector::):
3319         * css/CSSStyleSelector.cpp:
3320         (WebCore::CSSStyleSelector::matchRulesForList):
3321         (WebCore::CSSStyleSelector::checkOneSelector):
3322         * rendering/RenderObject.cpp:
3323         (WebCore::RenderObject::getPseudoStyle):
3324         * rendering/RenderStyle.cpp:
3325         (WebCore::pseudoBit):
3326         (WebCore::RenderStyle::hasPseudoStyle):
3327         (WebCore::RenderStyle::setHasPseudoStyle):
3328         * rendering/RenderStyle.h:
3329         (WebCore::RenderStyle::):
3330
3331 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3332
3333         Reviewed by Kevin McCullough.
3334
3335         Bug 16161: window.moveBy(0, 0) moves the window by -22px vertically
3336         http://bugs.webkit.org/show_bug.cgi?id=16161
3337
3338         Removed the "Adjust the window rect to be in the coordinate space of
3339         the screen rect" step which was always adding (0,22) to the window
3340         position (on the main screen). Instead, account for screen X and Y
3341         in the bottom and right constrain step.
3342
3343         Added more test cases to: fast/dom/Window/window-resize.html
3344
3345         * bindings/js/kjs_window.cpp:
3346         (KJS::adjustWindowRect):
3347
3348 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3349
3350         Reviewed by Adam Roben.
3351
3352         * page/inspector/inspector.css: Make the text in the Network
3353         panel legend more readable.
3354
3355 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3356
3357         Reviewed by Adam Roben.
3358
3359         Don't call setNeedsReapplyStylesInAllFrames if the
3360         authorAndUserStylesEnabled setting didn't change.
3361
3362         * page/Settings.cpp:
3363         (WebCore::Settings::setAuthorAndUserStylesEnabled):
3364
3365 2007-11-27  Alp Toker  <alp@atoker.com>
3366
3367         Fix potential broken build due to a missing DEPENDPATH.
3368
3369         * WebCore.pro:
3370
3371 2007-11-26  Timothy Hatcher  <timothy@apple.com>
3372
3373         Reviewed by Dave Hyatt.
3374
3375         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
3376
3377         * WebCore.base.exp: Add the Settings::setAuthorAndUserStylesEnabled symbol.
3378         * css/CSSStyleSelector.cpp:
3379         (WebCore::CSSStyleSelector::CSSStyleSelector): Add a new matchAuthorAndUserStyles parameter.
3380         (WebCore::CSSStyleSelector::styleForElement): Check m_matchAuthorAndUserStyles before
3381         matching user and author rules.
3382         (WebCore::CSSStyleSelector::pseudoStyleForElement): Ditto.
3383         (WebCore::CSSStyleSelector::styleRulesForElement): Ditto.
3384         * css/CSSStyleSelector.h: Add m_matchAuthorAndUserStyles and new constructor parameter.
3385         * dom/Document.cpp:
3386         (WebCore::Document::Document): Pass Settings::authorAndUserStylesEnabled to the CSSStyleSelector.
3387         (WebCore::Document::recalcStyleSelector): Skip collecting the author stylesheets if
3388         Settings::authorAndUserStylesEnabled is false, and pass that to the CSSStyleSelector.
3389         * page/Settings.cpp:
3390         (WebCore::Settings::Settings): Initialize m_authorAndUserStylesEnabled to true.
3391         (WebCore::Settings::setAuthorAndUserStylesEnabled): Recalc style in all the frames
3392         when the setting changes.
3393         * page/Settings.h: Add m_authorAndUserStylesEnabled.
3394         (WebCore::Settings::authorAndUserStylesEnabled): Return m_authorAndUserStylesEnabled.
3395
3396 2007-11-27  Alp Toker  <alp@atoker.com>
3397
3398         Reviewed by Mark Rowe.
3399
3400         Based on changes by Mike Emmel.
3401
3402         CURL HTTP backend local file fixes:
3403
3404         Set a MIME type for local files based on the file extension.
3405
3406         Remove any HTTP query part sent to a local file.
3407
3408         * platform/network/curl/ResourceHandleManager.cpp:
3409         (WebCore::ResourceHandleManager::startJob):
3410
3411 2007-11-26  Brady Eidson  <beidson@apple.com>
3412
3413         Reviewed by Mark Rowe
3414
3415         Allow setting the default storage quota per database origin
3416
3417         * WebCore.base.exp:
3418
3419         * page/Settings.cpp:
3420         (WebCore::Settings::setDefaultDatabaseOriginQuota):
3421         (WebCore::Settings::defaultDatabaseOriginQuota):
3422         * page/Settings.h:
3423
3424         * storage/DatabaseTracker.cpp:
3425         (WebCore::DatabaseTracker::DatabaseTracker):
3426         (WebCore::DatabaseTracker::setDefaultOriginQuota):
3427         (WebCore::DatabaseTracker::defaultOriginQuota):
3428         * storage/DatabaseTracker.h:
3429
3430 2007-11-26  Peter Kasting  <zerodpx@gmail.com>
3431
3432         Reviewed by Alp Toker.
3433
3434         http://bugs.webkit.org/show_bug.cgi?id=15974
3435         GIF decoding should respect frames' specified disposal methods.
3436
3437         * platform/image-decoders/ImageDecoder.h:
3438         (WebCore::RGBA32Buffer::):
3439         (WebCore::RGBA32Buffer::RGBA32Buffer):
3440         (WebCore::RGBA32Buffer::disposalMethod):
3441         (WebCore::RGBA32Buffer::setDisposalMethod):
3442         * platform/image-decoders/gif/GIFImageDecoder.cpp:
3443         (WebCore::GIFImageDecoder::frameBufferAtIndex):
3444         (WebCore::GIFImageDecoder::initFrameBuffer):
3445         (WebCore::GIFImageDecoder::prepEmptyFrameBuffer):
3446         (WebCore::GIFImageDecoder::haveDecodedRow):
3447         (WebCore::GIFImageDecoder::frameComplete):
3448         * platform/image-decoders/gif/GIFImageDecoder.h:
3449         * platform/image-decoders/gif/GIFImageReader.cpp:
3450         (GIFImageReader::read):
3451         * platform/image-decoders/gif/GIFImageReader.h:
3452         (GIFFrameReader::GIFFrameReader):
3453
3454 2007-11-26  Adam Roben  <aroben@apple.com>
3455
3456         Add a Color(CGColorRef) constructor
3457
3458         Reviewed by Darin.
3459
3460         * platform/graphics/Color.h:
3461         * platform/graphics/cg/ColorCG.cpp:
3462         (WebCore::Color::Color): Added.
3463
3464 2007-11-26  Adele Peterson  <adele@apple.com>
3465
3466         Reviewed by Darin.
3467
3468         Update to last change.  Moved addPendingSheet call to within nil check for m_cachedSheet.
3469
3470         * page/Frame.cpp:
3471         (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
3472
3473 2007-11-26  Adele Peterson  <adele@apple.com>
3474
3475         Reviewed by Darin.
3476
3477         Fix for <rdar://problem/5591583> CrashTracer: [USER] 157 in Mail crashes at -[WebCoreFrameBridge reapplyStylesForDeviceType:]
3478
3479         * page/Frame.cpp: Add nil checks since every other caller of requestCSSStyleSheet checks for nil.
3480         (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
3481         (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader):
3482
3483 2007-11-26  Mark Rowe  <mrowe@apple.com>
3484
3485         GCC 4.2 build fix.
3486
3487         * xml/XSLTUnicodeSort.cpp: Add another WTF_ATTRIBUTE_PRINTF.
3488
3489 2007-11-26  Feng Qian <ian.eng.webkit@gmail.com>
3490
3491         Reviewed and touched up by Sam Weinig.
3492
3493         Fix for http://bugs.webkit.org/show_bug.cgi?id=16073
3494
3495         Test: http/tests/security/xss-DENIED-invalid-domain-change.html
3496
3497         * dom/Document.cpp:
3498         (WebCore::Document::setDomain): Don't set the securityOrigin policy unless
3499         the set succeeds.  Adds some early returns as well.
3500
3501 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
3502
3503         Build fix.
3504
3505         * WebCore.vcproj/WebCore.make:
3506         * WebCore.vcproj/migrate-idls.sh:
3507
3508 2007-11-26  Sam Weinig  <sam@webkit.org>
3509
3510         Fix potential null-dereference.
3511
3512         Reviewed by Adam Roben.
3513
3514         * page/FrameTree.cpp:
3515         (WebCore::FrameTree::isDescendantOf):
3516
3517 2007-11-26  Sam Weinig  <sam@webkit.org>
3518
3519         Reviewed by Darin.
3520
3521         Fix for <rdar://problem/5592988>
3522         - Enforce tighter restrictions on what frames in other domains
3523           can be navigated.
3524
3525         Tests: http/tests/security/frameNavigation/xss-ALLOWED-parent-navigation-change.html
3526                http/tests/security/frameNavigation/xss-ALLOWED-targeted-subframe-navigation-change.html
3527
3528         * bindings/js/kjs_window.cpp:
3529         (KJS::Window::put):
3530         (KJS::Location::put):
3531         (KJS::LocationProtoFuncReplace::callAsFunction):
3532         (KJS::LocationProtoFuncAssign::callAsFunction):
3533         * loader/FrameLoader.cpp:
3534         (WebCore::FrameLoader::createWindow):
3535         (WebCore::FrameLoader::load):
3536         (WebCore::FrameLoader::shouldAllowNavigation): Move and update logic from canTarget().
3537         * loader/FrameLoader.h:
3538         * page/FrameTree.cpp:
3539         (WebCore::FrameTree::isDescendantOf): Make this O(1) in the case when both frames are not
3540         in the same page.
3541
3542 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
3543
3544         Build fix.
3545
3546         * WebCore.vcproj/migrate-idls.sh:
3547
3548 2007-11-26  Dan Bernstein  <mitz@apple.com>
3549
3550         Reviewed by Dave Hyatt.
3551
3552         - fix <rdar://problem/5609337> Making a float shorter does not remove it from the floating object list of a nested block it intruded into
3553
3554         Test: fast/dynamic/float-withdrawal-2.html
3555
3556         * rendering/RenderBlock.cpp:
3557         (WebCore::RenderBlock::layoutBlockChildren): When a float may have
3558         been withdrawn from a child, mark all descendants if necessary and not
3559         just the child.
3560
3561 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
3562
3563         Build fix.
3564
3565         * WebCore.vcproj/MigrateIDLAndScripts: Copied from WebCore.vcproj/MigrateIDLAndScripts.make.
3566         * WebCore.vcproj/MigrateIDLAndScripts.make: Removed.
3567         * WebCore.vcproj/migrate-idls.sh:
3568
3569 2007-11-26  Brady Eidson  <beidson@apple.com>
3570
3571         Reviewed by Anders (and typo lovingly found by Adam)
3572
3573         Change Databases to be stored in a per-origin directory hierarchy - this will make
3574         storage quotas much easier to enforce
3575
3576         * platform/SecurityOriginData.cpp:
3577         (WebCore::SecurityOriginData::SecurityOriginData): Parse string based on '_' instead of ':'
3578         (WebCore::SecurityOriginData::stringIdentifier): Change to use '_' as a separator instead of ':'.  
3579           '_' still works due to not being allowed in domain names, but also is a valid filename character '
3580           on all filesystems we care about
3581
3582         * storage/DatabaseTracker.cpp:
3583         (WebCore::DatabaseTracker::fullPathForDatabase): Create a per-origin directory hierarchy to categorize
3584           databases by origin
3585
3586 2007-11-26  Timothy Hatcher  <timothy@apple.com>
3587
3588         Reviewed by Adam Roben.
3589
3590         Bug 16137: Web Inspector window on Leopard should have a unified toolbar and window title
3591         http://bugs.webkit.org/show_bug.cgi?id=16137
3592
3593         On Leopard the toolbar background will be transparent, to allow the
3594         window background to show through the transparent WebView. The 
3595         search results divs needed to move inside the "main" div, so they
3596         would be clipped and not show where the toolbar is.
3597
3598         * page/InspectorController.cpp:
3599         (WebCore::platform): Return a string for which platform we are.
3600         (WebCore::InspectorController::windowScriptObjectAvailable):
3601         Define the platform function on the JavaScript class.
3602         * page/inspector/Panel.js: Add panels to the panels div.
3603         * page/inspector/inspector.css: On the Leopard platform make
3604         the toolbar background transparent so the window background shows.
3605         * page/inspector/inspector.html: Add a panels div and move search
3606         result divs inside the main div.
3607         * page/inspector/inspector.js: Tweak the resize code to acount for
3608         the search results divs moving inside the main div.
3609
3610 2007-11-25  Rodney Dawes  <dobey@wayofthemonkey.com>
3611
3612         Reviewed by Maciej Stachowiak.
3613
3614         Remove the unneeded CFNETWORK #ifdefs.
3615
3616         * loader/NetscapePlugInStreamLoader.h:
3617
3618 2007-11-24  Laszlo Gombos  <laszlo.gombos@gmail.com>
3619
3620         Reviewed by Sam Weinig.
3621
3622         Add printf format attribute to several functions. Use the the new WTF_ATTRIBUTE_PRINTF define.
3623
3624         * dom/XMLTokenizer.cpp:
3625         * dom/XMLTokenizer.h:
3626         * platform/DeprecatedString.h:
3627         * platform/PlatformString.h:
3628
3629 2007-11-25  Dan Bernstein  <mitz@apple.com>
3630
3631         Reviewed by Adam Roben.
3632
3633         - fix off-center error images
3634
3635         Covered by many pixel tests with missing images
3636
3637         * rendering/RenderImage.cpp:
3638         (WebCore::RenderImage::paint): Account for the 1 pixel outline when
3639         positioning the error image.
3640
3641 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
3642
3643         wx build fix. Fix filename case for case-sensitive filesystems.
3644
3645         * WebCoreSources.bkl:
3646
3647 2007-11-22  Nikolas Zimmermann  <zimmermann@kde.org>
3648
3649         Reviewed by Adam Roben.
3650
3651         Fixes: http://bugs.webkit.org/show_bug.cgi?id=15564
3652
3653         Fix problems with hidden glyphs. They were taken into account for quite
3654         some operations (hit testing, length calulcations etc..) except painting.
3655         Especially fixes boundaries of <textPath> (see using Web Inspector) if
3656         text-anchor isn't equal to 'start'.
3657
3658         Added testcase:
3659         svg/text/textPathBoundsBug.svg
3660
3661         Fixed testcase: (all showed text selection problems on text paths)
3662         svg/batik/text/textGlyphOrientationHorizontal.svg
3663         svg/batik/text/textOnPath.svg
3664         svg/batik/text/textOnPath3.svg
3665         svg/batik/text/verticalTextOnPath.svg
3666         svg/text/text-align-04-b.svg
3667         svg/W3C-SVG-1.1/text-align-04-b.svg
3668
3669         * rendering/SVGCharacterLayoutInfo.cpp:
3670         (WebCore::SVGChar::isHidden):
3671         * rendering/SVGCharacterLayoutInfo.h:
3672         (WebCore::SVGCharOnPath::SVGCharOnPath):
3673         * rendering/SVGInlineTextBox.cpp:
3674         (WebCore::SVGInlineTextBoxClosestCharacterToPositionWalker::chunkPortionCallback):
3675         (WebCore::SVGInlineTextBoxSelectionRectWalker::chunkPortionCallback):
3676         * rendering/SVGRootInlineBox.cpp:
3677         (WebCore::topLeftPositionOfCharacterRange):
3678         (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
3679         (WebCore::cummulatedWidthOrHeightOfTextChunk):
3680         (WebCore::applyTextAnchorToTextChunk):
3681         (WebCore::applyTextLengthCorrectionToTextChunk):
3682         (WebCore::SVGRootInlineBox::layoutInlineBoxes):
3683         (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
3684         (WebCore::SVGRootInlineBox::buildTextChunks):
3685
3686 2007-11-25  Alexey Proskuryakov  <ap@webkit.org>
3687
3688         Reviewed by Maciej.
3689
3690         http://bugs.webkit.org/show_bug.cgi?id=15919
3691         XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end
3692
3693         Test: fast/xsl/extra-lf-at-end.html
3694
3695         * xml/XSLTProcessor.cpp:
3696         (WebCore::writeToVector): Changed to use Vector to avoid slow String::apend().
3697         (WebCore::saveResultToString): Remove trailing line feed if present.
3698
3699 2007-11-24  Mark Rowe  <mrowe@apple.com>
3700
3701         Reviewed by Tim Hatcher.
3702
3703         Fix <rdar://problem/5432686> 333MB RPRVT seems to leak @ www.43folders.com (1hr plug-in stream).
3704         http://bugs.webkit.org/show_bug.cgi?id=13705
3705
3706         Don't buffer the entire stream contents in memory in the ResourceLoader.
3707
3708         * loader/mac/NetscapePlugInStreamLoaderMac.mm:
3709         (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
3710         (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
3711         * loader/mac/WebPlugInStreamLoaderDelegate.h:
3712
3713 2007-11-23  Adam Roben  <aroben@apple.com>
3714
3715         Get rid of WebCoreSystemInterface on Windows
3716
3717         The one function defined in that file is now in WebKitSystemInterface.
3718
3719         Reviewed by Tim.
3720
3721         * WebCore.vcproj/WebCore.vcproj: Removed
3722         WebCoreSystemInterface.{cpp,h}.
3723         * platform/graphics/cg/ImageCG.cpp: Made #include of
3724         WebCoreSystemInterface.h Mac-only.
3725         * platform/win/GraphicsContextWin.cpp: Ditto.
3726         * platform/win/WebCoreSystemInterface.cpp: Removed.
3727         * platform/win/WebCoreSystemInterface.h: Removed.
3728
3729 2007-11-24  Adam Roben  <aroben@apple.com>
3730
3731         Replace uses of %@ with %s in the inspector
3732
3733         Rubberstamped by Tim.
3734
3735         * English.lproj/InspectorLocalizedStrings.js: Changed %@ to %s.
3736         * page/inspector/DatabasePanel.js: Ditto.
3737         * page/inspector/StylesSidebarPane.js: Ditto.
3738         * page/inspector/inspector.js: Ditto.
3739         * page/inspector/utilities.js:
3740         (String.vsprintf): Removed @ as a format specifier.
3741
3742 2007-11-24  Adam Roben  <aroben@apple.com>
3743
3744         Windows build fix
3745
3746         Turn off the change made in r27984 on Windows for now.
3747
3748         * xml/XSLTProcessor.cpp:
3749         (WebCore::XSLTProcessor::transformToString):
3750         * xml/XSLTUnicodeSort.cpp:
3751
3752 2007-11-24  Timothy Hatcher  <timothy@apple.com>
3753
3754         Reviewed by Adam Roben.
3755
3756         Bug 16121: Web Inspector needs helper functions that pass a 'this' object to
3757         addEventListener and setTimeout
3758         http://bugs.webkit.org/show_bug.cgi?id=16121
3759
3760         Add Function.prototype.bind. This helper will return a wrapper function
3761         that will call the original function with the supplied arguments
3762         and using the supplied 'this' object.
3763
3764         * page/inspector/Database.js: Remove a use of setTimeout by
3765           inheriting some common functions from Resource.
3766         * page/inspector/DatabasePanel.js: Use the new bind function.
3767         * page/inspector/ConsolePanel.js: Ditto.
3768         * page/inspector/DocumentPanel.js: Ditto.
3769         * page/inspector/NetworkPanel.js: Ditto.
3770         * page/inspector/PropertiesSection.js: Ditto.
3771         * page/inspector/Resource.js: Ditto.
3772         * page/inspector/SidebarPane.js: Ditto.
3773         * page/inspector/inspector.html: Moved Database.js after Resource.js,
3774           now that Database.js uses it.
3775         * page/inspector/inspector.js: Use the new bind function. Also
3776           removed a setTimeout used for the localized strings code. There is
3777           now a load event listener added to the localized strings script
3778           element that will call WebInspector.loaded.
3779         * page/inspector/utilities.js: Add Function.prototype.bind.
3780
3781 2007-11-24  Timothy Hatcher  <timothy@apple.com>
3782
3783         Reviewed by Adam Roben.
3784
3785         Bug 16112: Some Web Inspector UI elements use offsetWidth and offsetHeight before the stylesheet loads
3786         http://bugs.webkit.org/show_bug.cgi?id=16112
3787
3788         In the places where we use offsetWidth and offsetHeight before
3789         the stylesheet loads there is now a check. If the body's
3790         offsetWidth is not greater than zero, then set a timeout
3791         to do the updates requiring the stylesheet later.
3792
3793         The three places this happened:
3794         - DOM tree selection highlight would show up at the wrong height
3795           when using Inspect Element to open the inspector.
3796         - DOM tree breadcrumbs would not collapse when using Inspect Element
3797           to open the inspector.
3798         - Network Timeline divider lines would not show when opening directly
3799           into the timeline.
3800
3801         * page/inspector/DocumentPanel.js: Check if the stylesheet loaded.
3802         * page/inspector/NetworkPanel.js: Ditto.
3803         * page/inspector/inspector.html: Include the stylesheet before
3804           any scripts, this will help get it loaded sooner.
3805
3806 2007-11-24  Kevin Ollivier  <kevino@theolliviers.com>
3807
3808         Add wx implementation for pathGetFilename
3809
3810         Reviewed by David D. Kilzer.
3811
3812         * html/HTMLFormElement.cpp:
3813         (WebCore::pathGetFilename):
3814
3815 2007-11-23  Timothy Hatcher  <timothy@apple.com>
3816
3817         Reviewed by Adam Roben.
3818
3819         Bug 16110: Clicking inside the resource headers in the network timeline collapses them
3820         http://bugs.webkit.org/show_bug.cgi?id=16110
3821
3822         Toggle the resource headers only if the click happens on the
3823         resource row, not within the headers area.
3824
3825         * WebCore.xcodeproj/project.pbxproj:
3826         * page/inspector/NetworkPanel.js:
3827
3828 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
3829
3830         Win build fixes. CURL needs winsock, so don't disable it, and
3831         include pthreads.h to get the threadsafe *_r functions.
3832
3833         Reviewed by Adam Roben.
3834
3835         * config.h:
3836         * loader/FTPDirectoryDocument.cpp:
3837         * loader/FTPDirectoryParser.cpp:
3838
3839 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
3840
3841         wx build fix. Move wx settings to project build settings,
3842         remove some old settings that were masking a build problem,
3843         and fix include ordering to ensure proper config.h and
3844         unicode/utf8.h headers are used. 
3845
3846         * webcore-base.bkl:
3847         * webcore-wx.bkl:
3848
3849 2007-11-23  Simon Hausmann  <hausmann@webkit.org>
3850
3851         Reviewed by George Staikos <staikos@kde.org>.
3852
3853         Another build fix specific to trunk (instead of the stable branch) to fix make clean (which the buildbots call).
3854
3855         * WebCore.pro:
3856
3857 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
3858
3859         Not reviewed, trivial leak fix.
3860
3861         Fix xsltUnicodeSortFunction() memory leaks.
3862
3863         * xml/XSLTUnicodeSort.cpp:
3864         (WebCore::xsltUnicodeSortFunction):
3865
3866 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
3867
3868         Reviewed by Maciej.
3869
3870         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
3871         not closed (affects digg.com)
3872
3873         Tests: fast/loader/meta-refresh-vs-open.html
3874                fast/loader/redirect-with-open-subframe-2.html
3875                fast/loader/redirect-with-open-subframe.html
3876                http/tests/loading/onload-vs-immediate-refresh.pl
3877
3878         * loader/FrameLoader.cpp:
3879         (WebCore::FrameLoader::scheduleRedirection): Only check whether the load is complete for
3880         HTTP redirects - JavaScript-initiated ones are effective immediately.
3881
3882 2007-11-23  Dan Bernstein  <mitz@apple.com>
3883
3884         Reviewed by Alexey Proskuryakov.
3885
3886         - apply matrix transforms on the correct side of the transformation
3887           matrix (not on the side where the vector is multiplied).
3888
3889         Test: fast/transforms/matrix-02.html
3890
3891         * rendering/RenderStyle.h:
3892         (WebCore::MatrixTransformOperation::apply):
3893
3894 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
3895
3896         Reviewed by Maciej.
3897
3898         http://bugs.webkit.org/show_bug.cgi?id=16077
3899         <rdar://problem/5609785> XSLT processor <xsl:sort> algorithm is incompatible with other
3900         browser implementations
3901
3902         Test: fast/xsl/sort-unicode.xml
3903
3904         * xml/XSLTProcessor.cpp:
3905         (WebCore::XSLTProcessor::transformToString): Set a custom sort function.
3906
3907         * xml/XSLTUnicodeSort.cpp: Added.
3908         (init_xsltTransformError):
3909         (xsltTransformError):
3910         (WebCore::xsltUnicodeSortFunction):
3911         * xml/XSLTUnicodeSort.h: Added.
3912         ICU-based implementation of xsl:sort, using an example from libxslt distribution.
3913         Only minimal coding style fixes to ease synchronization with upstream in the future.
3914
3915         * icu/unicode/ucol.h: Added.
3916         * icu/unicode/uset.h: Added.
3917         Taken from ICU 3.2
3918
3919         * WebCore.pro:
3920         * WebCore.vcproj/WebCore.vcproj:
3921         * WebCore.xcodeproj/project.pbxproj:
3922         * WebCoreSources.bkl:
3923         Added XSLTUnicodeSort.cpp.
3924
3925 2007-11-22  Alexey Proskuryakov  <ap@webkit.org>
3926
3927         Reviewed by Maciej.
3928
3929         http://bugs.webkit.org/show_bug.cgi?id=14977
3930         Hixie's DOM Core performance test shows insert >10x slower than append
3931
3932         Each invocation of Element.childNodes[n] was creating and registering a new ChildNodeList,
3933         which persisted and listened to notifications until GC.
3934
3935         A fix is to avoid registering child node lists for notifications - they don't need them, as
3936         they share a common cache in Node.
3937
3938         * dom/Node.cpp:
3939         (WebCore::Node::registerNodeList):
3940         (WebCore::Node::unregisterNodeList):
3941         (WebCore::Node::notifyLocalNodeListsAttributeChanged):
3942         (WebCore::Node::notifyLocalNodeListsChildrenChanged):
3943         * dom/NodeList.h:
3944         (WebCore::NodeList::needsNotifications):
3945
3946 2007-11-22  Dan Bernstein  <mitz@apple.com>
3947
3948         Reviewed by Antti Koivisto.
3949
3950         - fix http://bugs.webkit.org/show_bug.cgi?id=15811
3951           WebKit plug-ins can re-enter WebKit under attach()
3952           <rdar://problem/5577978>
3953
3954         Defer plug-in loading until after attach and recalcStyle using the
3955         post-attach callback mechanism. Netscape plug-ins are still loaded only
3956         after layout.
3957
3958         * dom/ContainerNode.cpp:
3959         Made NodeCallbackQueue elements retain the Node because callbacks might
3960         delete nodes that are in the callback queue.
3961         (WebCore::ContainerNode::suspendPostAttachCallbacks): Added. Needed to
3962         prevent post-attach callbacks from being dispatched under recalcStyle().
3963         (WebCore::ContainerNode::resumePostAttachCallbacks): Ditto.
3964         (WebCore::ContainerNode::dispatchPostAttachCallbacks): Factored out from
3965         attach().
3966         (WebCore::ContainerNode::attach):
3967         * dom/ContainerNode.h:
3968         * dom/Document.cpp:
3969         (WebCore::Document::recalcStyle): Added calls to
3970         suspendPostAttachCallbacks() and resumePostAttachCallbacks().
3971         * html/HTMLEmbedElement.cpp:
3972         (WebCore::HTMLEmbedElement::HTMLEmbedElement):
3973         (WebCore::HTMLEmbedElement::attach): Changed to queue the widget update
3974         for post-attach.
3975         (WebCore::HTMLEmbedElement::updateWidget): Added. Called by the
3976         post-attach callback.
3977         * html/HTMLEmbedElement.h: Added an m_needWidgetUpdate member needed to
3978         prevent a double update if another plug-in's post-attach updateWidget()
3979         triggers a layout which updates the widget before this plug-in's
3980         post-attach callback is invoked.
3981         (WebCore::HTMLEmbedElement::setNeedWidgetUpdate): Added a setter for
3982         m_needWidgetUpdate.
3983         * html/HTMLObjectElement.cpp:
3984         (WebCore::HTMLObjectElement::attach): Changed to queue the widget update
3985         for post-attach.
3986         (WebCore::HTMLObjectElement::updateWidget): Added. Called by the
3987         post-attach callback.
3988         * html/HTMLObjectElement.h:
3989         (WebCore::HTMLObjectElement::setNeedWidgetUpdate): Added a setter for
3990         m_needWidgetUpdate.
3991         * html/HTMLPlugInElement.cpp:
3992         (WebCore::HTMLPlugInElement::updateWidgetCallback): Added.
3993         * html/HTMLPlugInElement.h:
3994         (WebCore::HTMLPlugInElement::updateWidget):
3995         * rendering/RenderPartObject.cpp:
3996         (WebCore::RenderPartObject::updateWidget): Added calls to
3997         setNeedWidgetUpdate(false) so that if this method is called from
3998         FrameView::layout() during post-attach dispatch of another plug-in,
3999         it will not be called again when this plug-in's post-attach callback
4000         is dispatched.
4001         * rendering/RenderPartObject.h:
4002         (WebCore::RenderPartObject::updateWidget) Renamed argument to match
4003         the method definition.
4004
4005 2007-11-22  Timothy Hatcher  <timothy@apple.com>
4006
4007         Reviewed by Dan Bernstein.
4008
4009         Fix the Element.hasStyleClass and Element.removeStyleClass helpers
4010         to not find and replace substrings, but whole class names at the
4011         beginning or end of the string or surrounded by whitespace.
4012
4013         * page/inspector/utilities.js:
4014
4015 2007-11-22  Timothy Hatcher  <timothy@apple.com>
4016
4017         Revert part of my r27935 change that made the Tip balloons
4018         animate with CSS transitions. The balloon was only opacity 0,
4019         so it would cause its row to highlight when hovering over
4020         another row.
4021
4022         * page/inspector/NetworkPanel.js:
4023         * page/inspector/inspector.css:
4024
4025 2007-11-22  Dan Bernstein  <mitz@apple.com>
4026
4027         Reviewed by Maciej Stachowiak.
4028
4029         - fix http://bugs.webkit.org/show_bug.cgi?id=15943
4030           -webkit-transform matrix does not work
4031
4032         Test: fast/transforms/matrix-01.html
4033
4034         Parse all six matrix entries as numbers.
4035
4036         * css/CSSParser.cpp:
4037         (WebCore::TransformOperationInfo::TransformOperationInfo):
4038         (WebCore::CSSParser::parseTransform):
4039         * css/CSSStyleSelector.cpp:
4040         (WebCore::CSSStyleSelector::applyProperty):
4041         * rendering/RenderStyle.cpp:
4042         (WebCore::MatrixTransformOperation::blend):
4043         * rendering/RenderStyle.h:
4044         (WebCore::MatrixTransformOperation::MatrixTransformOperation):
4045         (WebCore::MatrixTransformOperation::apply):
4046
4047 2007-11-22  Laszlo Gombos  <laszlo.gombos@gmail.com>
4048
4049         Reviewed by Alp Toker.
4050
4051         Fix some compilation warnings.  Do not reference undefined (platform) specific type (WebCore::CachedFont::m_fontData)
4052
4053         * loader/CachedFont.cpp:
4054         (WebCore::CachedFont::~CachedFont):
4055         (WebCore::CachedFont::allReferencesRemoved):
4056
4057 2007-11-22  Alp Toker  <alp@atoker.com>
4058
4059         Reviewed by Mark Rowe.
4060
4061         GTK+ drawing fix.
4062
4063         Add a check to avoid crashing when the GraphicsContext is not
4064         associated with a GdkEventExpose. This was noticed when adding
4065         printing support but might be triggered in other situations too.
4066
4067         * platform/gtk/WidgetGtk.cpp:
4068         (WebCore::Widget::paint):
4069
4070 2007-11-22  Julien Chaffraix  <julien.chaffraix@gmail.com>
4071
4072         Reviewed by Alexey.
4073
4074         Bug 15530: XMLHttpRequest should not support certain methods
4075
4076         Test: http/tests/xmlhttprequest/xmlhttprequest-forbidden-methods-exception.html
4077
4078         * xml/XMLHttpRequest.cpp:
4079         (WebCore::XMLHttpRequest::open):
4080
4081 2007-11-22  Simon Hausmann  <hausmann@kde.org>
4082
4083         Reviewed by George.
4084
4085         For the build inside Qt include qbase.pri and don't duplicate what qbase.pri otherwise does (install targets, etc.)
4086
4087         * WebCore.pro:
4088
4089 2007-11-22  Simon Hausmann  <hausmann@kde.org>
4090
4091         Reviewed by George.
4092
4093         Don't set OBJECTS_DIR when building inside Qt
4094
4095         * WebCore.pro:
4096
4097 2007-11-22  Simon Hausmann  <hausmann@kde.org>
4098
4099         Reviewed by George.
4100
4101         Use ../generated as path for the generated sources for builds inside Qt
4102
4103         * WebCore.pro:
4104
4105 2007-11-22  Simon Hausmann  <hausmann@kde.org>
4106
4107         Reviewed by George.
4108
4109         Make the directory of where to put the generated sources configurable through the GENERATED_SOURCE_DIR variable
4110
4111         * WebCore.pro:
4112
4113 2007-11-22  Simon Hausmann  <hausmann@kde.org>
4114
4115         Reviewed by George.
4116
4117         Centralize the setup for all the extra compilers in a addExtraCompiler function.
4118         
4119         This allows adding a "generated_files" target that builds all generated files using "make generated_files".
4120         For the build inside Qt we do not generate actual rules for the extra compilers but instead
4121         do the variable substitution of compiler.output manually and add the generated sources to SOURCES.
4122
4123         * WebCore.pro: