1 2007-12-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3 Rubber stamped by Sam Weinig.
5 Fix a typo. It is contains and not containts
7 * loader/FrameLoader.cpp:
9 2007-12-03 Alp Toker <alp@atoker.com>
11 Add another missing DEPENDPATH.
13 Noticed when fixing the build.
17 2007-12-03 Adam Roben <aroben@apple.com>
19 Speculative Windows build fix
21 * plugins/win/PluginViewWin.cpp:
24 2007-12-03 Geoffrey Garen <ggaren@apple.com>
26 Build fix: added symbols to the right .exp file.
30 2007-12-02 Geoffrey Garen <ggaren@apple.com>
32 Reviewed by Eric Seidel.
34 Updated to match the JavaScriptCore change to move virtual methods from
35 Interpreter to JSGlobalObject.
37 Moved virtual ScriptInterpreter functions to Window.
39 2007-12-02 Darin Adler <darin@apple.com>
43 - fix <rdar://problem/5601995> Hang/crash on http://ebay-uk.custhelp.com/
45 There were two problems here:
47 1) Incorrect HTMLCollection behavior led to us trying to insert a
48 new row inside an existing row instead of next to it. The fix for
49 this is to make HTMLCollection work better for table-related
52 2) HTMLTableRowElement::insertCell would return a bad pointer if
53 the insertion failed. The code should have failed, but not crashed,
54 so it's worth fixing that too.
56 While fixing the HTMLCollection issues, I did some clean-up of that
57 class and its derived classes.
59 Test: fast/dom/HTMLTableElement/rows.html
60 Test: fast/dom/HTMLTableElement/tBodies.html
61 Test: fast/dom/HTMLTableRowElement/cells.html
62 Test: fast/dom/HTMLTableRowElement/insertCell.html
63 Test: fast/dom/HTMLTableSectionElement/rows.html
65 * bindings/js/JSHTMLCollectionCustom.cpp:
66 (WebCore::toJS): Updated because collectionType() was renamed to type().
68 * html/HTMLCollection.cpp:
69 (WebCore::HTMLCollection::HTMLCollection): Updated for data member name
70 changes. Also added a protected constructor for use by derived classes
71 that pass in a CollectionInfo.
72 (WebCore::HTMLCollection::CollectionInfo::copyCacheMap): Moved out of
74 (WebCore::isTableSection): Added.
75 (WebCore::HTMLCollection::itemAfter): Renamed from traverseNextItem,
76 because the old name was grammatically incorrect and thus a bit confusing.
77 Changed to operate on Element* instead of Node*, and use 0 to start
78 rather than passing in the base node (required since the base node can be
79 a document, which is not an element). Generalized the code that made
80 NodeChildren not descend into deeper descendants so it can be used for
81 TRCells, TSectionRows, TableTBodies, and TableRows. Reformatted the
82 switch statement and got rid of the "found" boolean since we can just
83 return when we find something. Got rid of the default case, and instead
84 listed all the enum values. Also changed to use a for loop for clarity.
85 (WebCore::HTMLCollection::calcLength): Updated for itemAfter changes.
86 (WebCore::HTMLCollection::item): Ditto.
87 (WebCore::HTMLCollection::nextItem): Ditto.
88 (WebCore::HTMLCollection::checkForNameMatch): Updated to take an Element
89 instead of a Node pointer.
90 (WebCore::HTMLCollection::namedItem): More of the same.
91 (WebCore::HTMLCollection::updateNameCache): Ditto.
92 (WebCore::HTMLCollection::namedItems): Ditto.
93 (WebCore::HTMLCollection::nextNamedItem): Ditto.
94 (WebCore::HTMLCollection::tags): Ditto.
96 * html/HTMLCollection.h: Added a type FormElements, so that the
97 HTMLFormCollection would not have a type of DocImages, which is what
98 it previously did. Changed the base parameter to be a PassRefPtr to
99 make it clear we take ownership of it. Added a comment explaining
100 why we should change the name CollectionInfo. Made a lot more members
101 private instead of protected. Renamed traverseNextItem to itemAfter.
102 Changed most functions to take Element* instead of Node*.
104 * html/HTMLFormCollection.cpp:
105 (WebCore::HTMLFormCollection::formCollectionInfo): Added.
106 (WebCore::HTMLFormCollection::HTMLFormCollection): Updated to pass
107 collection info into the base class.
108 (WebCore::HTMLFormCollection::calcLength): Updated to use base() so we
109 don't need to get at m_base directly.
110 (WebCore::HTMLFormCollection::item): Same, but for info().
111 (WebCore::HTMLFormCollection::getNamedItem): Removed unused first
113 (WebCore::HTMLFormCollection::getNamedFormItem): Got rid of unneeded
114 checks that the base is still an element and still a form, since that's
116 (WebCore::HTMLFormCollection::nextItem): Use info().
117 (WebCore::HTMLFormCollection::nextNamedItemInternal): Node instead of
118 Element, some name changes.
119 (WebCore::HTMLFormCollection::namedItem): Update for changes elsewhere.
120 (WebCore::HTMLFormCollection::nextNamedItem): Ditto, also rewrote loop
122 (WebCore::HTMLFormCollection::updateNameCache): More of the same.
124 * html/HTMLFormCollection.h: Changed constructor to take an
125 HTMLFormElement, using a PassRefPtr to communicate transfer of
126 ownership. Made everything private instead of protected. Removed
127 unneeded override of firstItem. Made getNamedItem and
128 nextNamedItemInternal non-virtual. Removed unused first argument of
129 getNamedItem. Added declaration of formCollectionInfo.
131 * html/HTMLNameCollection.cpp:
132 (WebCore::HTMLNameCollection::HTMLNameCollection): Updated to pass
133 collection info into the base class.
134 (WebCore::HTMLNameCollection::itemAfter): Reformatted a bit and
135 changed into a for loop.
137 * html/HTMLNameCollection.h: Updated for name changes. Made function
138 private instead of public. Used PassRefPtr in constructor.
140 * html/HTMLOptionsCollection.cpp:
141 (WebCore::HTMLOptionsCollection::HTMLOptionsCollection): Updated to
142 pass collection info into the base class.
143 (WebCore::HTMLOptionsCollection::add): Updated for public/private
144 changes in the base class.
145 (WebCore::HTMLOptionsCollection::selectedIndex): Ditto.
146 (WebCore::HTMLOptionsCollection::setSelectedIndex): Ditto.
147 (WebCore::HTMLOptionsCollection::setLength): Ditto.
149 * html/HTMLOptionsCollection.h: Changed constructor parameter to be a
152 * html/HTMLTableRowElement.cpp:
153 (WebCore::HTMLTableRowElement::insertCell): Changed code to use RefPtr
154 and PassRefPtr since this creates a new object. This alone fixed the
155 crash. Also cleaned up logic a bit to be more readable.
157 * html/HTMLTableRowElement.h: Changed insertCell to return a PassRefPtr.
158 Also reordered functions a bit to make things a little more logical and
159 removed the unused ncols data member.
161 * html/HTMLTableSectionElement.cpp:
162 (WebCore::HTMLTableSectionElement::rows): Pass TSectionRows, not
163 TableRows. This mistake was harmless before because TableRows and
164 TSectionRows were handled identically inside HTMLCollection, but that is
165 no longer the case with this fix.
167 * bindings/scripts/CodeGeneratorJS.pm: Add an include to cope with the
168 fact that HTMLOptionsCollection no longer includes HTMLOptionElement.
169 I don't think this really should be a special case -- might be worth
170 returning later to see if this can be optimized.
172 2007-12-02 Nikolas Zimmermann <zimmermann@kde.org>
176 RenderSVGViewportContainer sets wrong width/height.
177 Share code with RenderSVGContainer in a central calcBounds() function.
180 - svg/custom/use-css-events.svg (http://bugs.webkit.org/show_bug.cgi?id=15403)
181 - svg/custom/deep-dynamic-updates.svg
182 - svg/custom/use-clipped-hit.svg
183 - svg/custom/image-clipped-hit.svg
185 * rendering/RenderSVGContainer.cpp:
186 (WebCore::RenderSVGContainer::layout):
187 (WebCore::RenderSVGContainer::calcBounds):
188 * rendering/RenderSVGContainer.h:
189 * rendering/RenderSVGViewportContainer.cpp:
190 (WebCore::RenderSVGViewportContainer::layout):
192 2007-12-02 Brady Eidson <beidson@apple.com>
196 databaseChanged notifications were being sent out on the database thread - they need to be on the main thread
197 like all other notifications we send out!
199 * platform/SecurityOriginData.cpp:
200 (WebCore::SecurityOriginData::copy): Add a deep copy method, for when an object thread hops
201 * platform/SecurityOriginData.h:
203 * storage/DatabaseTracker.cpp:
204 (WebCore::notificationMutex):
205 (WebCore::notificationQueue):
206 (WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged): Add the origin/name pair to a queue
207 (WebCore::DatabaseTracker::scheduleForNotification): Schedule to deliver this queue of notifications
209 (WebCore::DatabaseTracker::notifyDatabasesChanged): Deliver all notifications in the queue
210 * storage/DatabaseTracker.h:
212 * storage/SQLTransaction.cpp:
213 (WebCore::SQLTransaction::postflightAndCommit): scheduleNotifyDatabaseChanged() instead of "notify now!"
214 (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto
216 2007-12-02 Rob Buis <buis@kde.org>
220 http://bugs.webkit.org/show_bug.cgi?id=16002
221 Load SVG (and other) UA StyleSheets dynamically when needed
223 Load svg sheet when needed.
225 * css/CSSStyleSelector.cpp:
226 (WebCore::screenEval):
227 (WebCore::printEval):
228 (WebCore::CSSStyleSelector::CSSStyleSelector):
229 (WebCore::CSSStyleSelector::loadDefaultStyle):
230 (WebCore::CSSStyleSelector::styleForElement):
231 (WebCore::CSSRuleSet::addRulesFromSheet):
233 2007-12-02 Mark Rowe <mrowe@apple.com>
235 Try and fix the Windows build.
237 * plugins/win/PluginViewWin.cpp:
238 (WebCore::PluginViewWin::bindingInstance):
240 2007-12-02 Nikolas Zimmermann <zimmermann@kde.org>
242 Rubber stamped by Eric.
244 Move platform/graphics/svg to graphics/svg as discussed on webkit-dev.
245 Updated all project files.
248 * WebCore.vcproj/WebCore.vcproj:
249 * WebCore.xcodeproj/project.pbxproj:
250 * platform/graphics/svg: Removed.
251 * platform/graphics/svg/SVGImage.cpp: Removed.
252 * platform/graphics/svg/SVGImage.h: Removed.
253 * platform/graphics/svg/SVGImageEmptyClients.h: Removed.
254 * platform/graphics/svg/SVGPaintServer.cpp: Removed.
255 * platform/graphics/svg/SVGPaintServer.h: Removed.
256 * platform/graphics/svg/SVGPaintServerGradient.cpp: Removed.
257 * platform/graphics/svg/SVGPaintServerGradient.h: Removed.
258 * platform/graphics/svg/SVGPaintServerLinearGradient.cpp: Removed.
259 * platform/graphics/svg/SVGPaintServerLinearGradient.h: Removed.
260 * platform/graphics/svg/SVGPaintServerPattern.cpp: Removed.
261 * platform/graphics/svg/SVGPaintServerPattern.h: Removed.
262 * platform/graphics/svg/SVGPaintServerRadialGradient.cpp: Removed.
263 * platform/graphics/svg/SVGPaintServerRadialGradient.h: Removed.
264 * platform/graphics/svg/SVGPaintServerSolid.cpp: Removed.
265 * platform/graphics/svg/SVGPaintServerSolid.h: Removed.
266 * platform/graphics/svg/SVGResource.cpp: Removed.
267 * platform/graphics/svg/SVGResource.h: Removed.
268 * platform/graphics/svg/SVGResourceClipper.cpp: Removed.
269 * platform/graphics/svg/SVGResourceClipper.h: Removed.
270 * platform/graphics/svg/SVGResourceFilter.cpp: Removed.
271 * platform/graphics/svg/SVGResourceFilter.h: Removed.
272 * platform/graphics/svg/SVGResourceListener.h: Removed.
273 * platform/graphics/svg/SVGResourceMarker.cpp: Removed.
274 * platform/graphics/svg/SVGResourceMarker.h: Removed.
275 * platform/graphics/svg/SVGResourceMasker.cpp: Removed.
276 * platform/graphics/svg/SVGResourceMasker.h: Removed.
277 * platform/graphics/svg/cairo: Removed.
278 * platform/graphics/svg/cairo/RenderPathCairo.cpp: Removed.
279 * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp: Removed.
280 * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp: Removed.
281 * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp: Removed.
282 * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp: Removed.
283 * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp: Removed.
284 * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp: Removed.
285 * platform/graphics/svg/cg: Removed.
286 * platform/graphics/svg/cg/CgSupport.cpp: Removed.
287 * platform/graphics/svg/cg/CgSupport.h: Removed.
288 * platform/graphics/svg/cg/RenderPathCg.cpp: Removed.
289 * platform/graphics/svg/cg/SVGPaintServerCg.cpp: Removed.
290 * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: Removed.
291 * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp: Removed.
292 * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp: Removed.
293 * platform/graphics/svg/cg/SVGResourceClipperCg.cpp: Removed.
294 * platform/graphics/svg/cg/SVGResourceFilterCg.cpp: Removed.
295 * platform/graphics/svg/cg/SVGResourceFilterCg.mm: Removed.
296 * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp: Removed.
297 * platform/graphics/svg/cg/SVGResourceMaskerCg.mm: Removed.
298 * platform/graphics/svg/filters: Removed.
299 * platform/graphics/svg/filters/SVGDistantLightSource.h: Removed.
300 * platform/graphics/svg/filters/SVGFEBlend.cpp: Removed.
301 * platform/graphics/svg/filters/SVGFEBlend.h: Removed.
302 * platform/graphics/svg/filters/SVGFEColorMatrix.cpp: Removed.
303 * platform/graphics/svg/filters/SVGFEColorMatrix.h: Removed.
304 * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp: Removed.
305 * platform/graphics/svg/filters/SVGFEComponentTransfer.h: Removed.
306 * platform/graphics/svg/filters/SVGFEComposite.cpp: Removed.
307 * platform/graphics/svg/filters/SVGFEComposite.h: Removed.
308 * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp: Removed.
309 * platform/graphics/svg/filters/SVGFEConvolveMatrix.h: Removed.
310 * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp: Removed.
311 * platform/graphics/svg/filters/SVGFEDiffuseLighting.h: Removed.
312 * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp: Removed.
313 * platform/graphics/svg/filters/SVGFEDisplacementMap.h: Removed.
314 * platform/graphics/svg/filters/SVGFEFlood.cpp: Removed.
315 * platform/graphics/svg/filters/SVGFEFlood.h: Removed.
316 * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp: Removed.
317 * platform/graphics/svg/filters/SVGFEGaussianBlur.h: Removed.
318 * platform/graphics/svg/filters/SVGFEImage.cpp: Removed.
319 * platform/graphics/svg/filters/SVGFEImage.h: Removed.
320 * platform/graphics/svg/filters/SVGFEMerge.cpp: Removed.
321 * platform/graphics/svg/filters/SVGFEMerge.h: Removed.
322 * platform/graphics/svg/filters/SVGFEMorphology.cpp: Removed.
323 * platform/graphics/svg/filters/SVGFEMorphology.h: Removed.
324 * platform/graphics/svg/filters/SVGFEOffset.cpp: Removed.
325 * platform/graphics/svg/filters/SVGFEOffset.h: Removed.
326 * platform/graphics/svg/filters/SVGFESpecularLighting.cpp: Removed.
327 * platform/graphics/svg/filters/SVGFESpecularLighting.h: Removed.
328 * platform/graphics/svg/filters/SVGFETile.h: Removed.
329 * platform/graphics/svg/filters/SVGFETurbulence.cpp: Removed.
330 * platform/graphics/svg/filters/SVGFETurbulence.h: Removed.
331 * platform/graphics/svg/filters/SVGFilterEffect.cpp: Removed.
332 * platform/graphics/svg/filters/SVGFilterEffect.h: Removed.
333 * platform/graphics/svg/filters/SVGLightSource.cpp: Removed.
334 * platform/graphics/svg/filters/SVGLightSource.h: Removed.
335 * platform/graphics/svg/filters/SVGPointLightSource.h: Removed.
336 * platform/graphics/svg/filters/SVGSpotLightSource.h: Removed.
337 * platform/graphics/svg/filters/cg: Removed.
338 * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm: Removed.
339 * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm: Removed.
340 * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm: Removed.
341 * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm: Removed.
342 * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm: Removed.
343 * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm: Removed.
344 * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm: Removed.
345 * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm: Removed.
346 * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h: Removed.
347 * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm: Removed.
348 * platform/graphics/svg/filters/cg/SVGFEImageCg.mm: Removed.
349 * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm: Removed.
350 * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm: Removed.
351 * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm: Removed.
352 * platform/graphics/svg/filters/cg/SVGFETileCg.mm: Removed.
353 * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm: Removed.
354 * platform/graphics/svg/filters/cg/WKArithmeticFilter.cikernel: Removed.
355 * platform/graphics/svg/filters/cg/WKArithmeticFilter.h: Removed.
356 * platform/graphics/svg/filters/cg/WKArithmeticFilter.m: Removed.
357 * platform/graphics/svg/filters/cg/WKComponentMergeFilter.cikernel: Removed.
358 * platform/graphics/svg/filters/cg/WKComponentMergeFilter.h: Removed.
359 * platform/graphics/svg/filters/cg/WKComponentMergeFilter.m: Removed.
360 * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.cikernel: Removed.
361 * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.h: Removed.
362 * platform/graphics/svg/filters/cg/WKDiffuseLightingFilter.m: Removed.
363 * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.cikernel: Removed.
364 * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.h: Removed.
365 * platform/graphics/svg/filters/cg/WKDiscreteTransferFilter.m: Removed.
366 * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.cikernel: Removed.
367 * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.h: Removed.
368 * platform/graphics/svg/filters/cg/WKDisplacementMapFilter.m: Removed.
369 * platform/graphics/svg/filters/cg/WKDistantLightFilter.cikernel: Removed.
370 * platform/graphics/svg/filters/cg/WKDistantLightFilter.h: Removed.
371 * platform/graphics/svg/filters/cg/WKDistantLightFilter.m: Removed.
372 * platform/graphics/svg/filters/cg/WKGammaTransferFilter.cikernel: Removed.
373 * platform/graphics/svg/filters/cg/WKGammaTransferFilter.h: Removed.
374 * platform/graphics/svg/filters/cg/WKGammaTransferFilter.m: Removed.
375 * platform/graphics/svg/filters/cg/WKIdentityTransferFilter.h: Removed.
376 * platform/graphics/svg/filters/cg/WKIdentityTransferFilter.m: Removed.
377 * platform/graphics/svg/filters/cg/WKLinearTransferFilter.cikernel: Removed.
378 * platform/graphics/svg/filters/cg/WKLinearTransferFilter.h: Removed.
379 * platform/graphics/svg/filters/cg/WKLinearTransferFilter.m: Removed.
380 * platform/graphics/svg/filters/cg/WKNormalMapFilter.cikernel: Removed.
381 * platform/graphics/svg/filters/cg/WKNormalMapFilter.h: Removed.
382 * platform/graphics/svg/filters/cg/WKNormalMapFilter.m: Removed.
383 * platform/graphics/svg/filters/cg/WKPointLightFilter.cikernel: Removed.
384 * platform/graphics/svg/filters/cg/WKPointLightFilter.h: Removed.
385 * platform/graphics/svg/filters/cg/WKPointLightFilter.m: Removed.
386 * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.cikernel: Removed.
387 * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.h: Removed.
388 * platform/graphics/svg/filters/cg/WKSpecularLightingFilter.m: Removed.
389 * platform/graphics/svg/filters/cg/WKSpotLightFilter.cikernel: Removed.
390 * platform/graphics/svg/filters/cg/WKSpotLightFilter.h: Removed.
391 * platform/graphics/svg/filters/cg/WKSpotLightFilter.m: Removed.
392 * platform/graphics/svg/filters/cg/WKTableTransferFilter.cikernel: Removed.
393 * platform/graphics/svg/filters/cg/WKTableTransferFilter.h: Removed.
394 * platform/graphics/svg/filters/cg/WKTableTransferFilter.m: Removed.
395 * platform/graphics/svg/mac: Removed.
396 * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.h: Removed.
397 * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.mm: Removed.
398 * platform/graphics/svg/qt: Removed.
399 * platform/graphics/svg/qt/RenderPathQt.cpp: Removed.
400 * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp: Removed.
401 * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp: Removed.
402 * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp: Removed.
403 * platform/graphics/svg/qt/SVGPaintServerQt.cpp: Removed.
404 * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp: Removed.
405 * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp: Removed.
406 * platform/graphics/svg/qt/SVGResourceClipperQt.cpp: Removed.
407 * platform/graphics/svg/qt/SVGResourceFilterQt.cpp: Removed.
408 * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp: Removed.
409 * svg/graphics: Copied from platform/graphics/svg.
411 2007-12-02 Nikolas Zimmermann <zimmermann@kde.org>
415 Fix IDL lookup in subdirectories. Missing 'my' prefix for the 'thisDir' variable.
416 When entering subdirectories the 'thisDir' variable got altered - see snippet:
418 THISDIR: WebCore/page FOUND FILE: FrameView.h (endCondition: 0)
420 -> ENTER: WebCore/page/gtk (THIS DIR: WebCore/page)
422 <- LEAVE: WebCore/page/gtk (THIS DIR: WebCore/page/gtk)
423 THISDIR: WebCore/page/gtk FOUND FILE: History.cpp (endCondition: 0)
425 'History.cpp' is located in WebCore/page not WebCore/page/gtk.
427 * bindings/scripts/CodeGenerator.pm:
429 2007-12-01 Alp Toker <alp@atoker.com>
431 Reviewed by Adam Roben.
433 Add the newly introduced webkit.h convenience header.
437 2007-12-01 Antti Koivisto <antti@apple.com>
441 - Fix crash when removing a loading media element from the tree.
442 - Follow the spec by invoking pause() when element is removed from the tree instead of unloading.
444 Tests: http/tests/media/remove-while-loading.html
445 media/remove-from-document.html
447 * html/HTMLMediaElement.cpp:
448 (WebCore::HTMLMediaElement::removedFromDocument):
450 2007-12-01 Geoffrey Garen <ggaren@apple.com>
452 Reviewed by Beth Dakin.
454 Restored the test string in this test.
456 * manual-tests/window-open-features-parsing.html:
458 2007-11-30 Geoffrey Garen <ggaren@apple.com>
460 Reviewed by Beth Dakin.
462 Modified WebCore to follow the new JSGlobalObject/Interpreter ownership
463 rules in JavaScriptCore.
465 * bindings/js/kjs_binding.cpp:
466 * bindings/js/kjs_binding.h: Removed stale, unused
467 interpreterForGlobalObject().
469 * bindings/js/kjs_proxy.cpp: Changed to store a global object, rather
471 (WebCore::KJSProxy::finishedWithEvent): Need to NULL check
472 m_globalObject here because we no longer unnecessarily instantiate it.
474 * bindings/js/kjs_window.cpp:
475 (KJS::ScheduledAction::execute):
476 * bindings/js/kjs_window.h: Removed redundant and less efficient
477 interpreter() function -- global objects have direct access to their
480 Changed these functions to pass around JSGlobalObjects instead of
484 (WebCore::Frame::bindingRootObject):
485 (WebCore::Frame::createRootObject):
487 * page/mac/WebCoreFrameBridge.mm:
490 2007-12-01 Darin Adler <darin@apple.com>
494 - fix problem tracked by these bugs:
495 http://bugs.webkit.org/show_bug.cgi?id=16097
496 <rdar://problem/5619305> Safari crashes during load of LexisNexis search results
497 <rdar://problem/5510779> CrashTracer: [USER] 25 crashes in Safari at
498 WebCore::DocumentLoader::isLoadingMultipartContent const
500 * loader/ImageDocument.cpp:
501 (WebCore::ImageDocument::createDocumentStructure): Create an ImageDocumentElement
502 instead of an HTMLImageElement.
503 (WebCore::ImageDocument::scale): Added a null check for m_imageElement.
504 (WebCore::ImageDocument::resizeImageToFit): Ditto.
505 (WebCore::ImageDocument::restoreImageSize): Ditto.
506 (WebCore::ImageDocument::imageFitsInWindow): Ditto.
507 (WebCore::ImageDocument::windowSizeChanged): Ditto.
508 (WebCore::ImageDocumentElement::~ImageDocumentElement): Call
509 disconnectImageElement so m_imageElement will be set to 0
510 if we're still connected to the document.
511 (WebCore::ImageDocumentElement::willMoveToNewOwnerDocument): Ditto.
513 * loader/ImageDocument.h: Changed image element type to be
514 ImageDocumentElement instead of HTMLImageElement. Also added
515 a disconnectImageElement function that sets m_imageElement to 0.
517 2007-12-01 Darin Adler <darin@apple.com>
519 - remove the empty directories
522 * ksvg2/css: Removed.
523 * ksvg2/events: Removed.
524 * ksvg2/misc: Removed.
525 * ksvg2/scripts: Removed.
527 2007-12-01 Julien Chaffraix <julien.chaffraix@gmail.com>
529 Bug 16189: XMLHttpRequest::setRequestHeader() should not set certain headers
531 Reviewed by Darin Adler.
533 * xml/XMLHttpRequest.cpp:
534 (WebCore::canSetRequestHeader):
536 Test: http/tests/xmlhttprequest/set-dangerous-headers.html
538 2007-12-01 Rahul Abrol <ra5ul@comcast.net>
540 Reviewed by Adam Roben.
542 http://bugs.webkit.org/show_bug.cgi?id=16128
543 Ignore resizable=no for window.open().
545 * bindings/js/kjs_window.cpp:
546 (KJS::setWindowFeature):
547 (KJS::parseWindowFeatures):
548 * manual-tests/window-open-features-parsing.html:
550 2007-12-01 Dan Bernstein <mitz@apple.com>
552 Reviewed by Darin Adler.
554 - fix <rdar://problem/5619240> REGRESSION (Leopard-r28069): Reproducible crash with a Mootools-based calendar picker (jump to null in FrameView::layout)
556 Test: fast/dynamic/subtree-common-root.html
558 * page/FrameView.cpp:
559 (WebCore::FrameView::layoutRoot): Added a parameter to let this method
560 return the layout root for a pending layout as well.
561 (WebCore::FrameView::scheduleRelayoutOfSubtree): Pass the new root
562 to markContainingBlocksForLayout(). Otherwise,
563 markContainingBlocksForLayout() could mark past the new root, if it had
564 previously been marked as having a normal child needing layout and then
565 was reached via a positioned child.
567 * rendering/RenderBox.cpp:
568 (WebCore::RenderBox::calcWidth):
569 * rendering/RenderObject.cpp:
570 (WebCore::RenderObject::~RenderObject): Fixed the ASSERT so that
571 it would really catch deletion of the layout root.
572 (WebCore::RenderObject::markContainingBlocksForLayout): Added the
573 newRoot parameter, which tells this method where to stop marking.
574 * rendering/RenderObject.h:
576 2007-12-01 Dan Bernstein <mitz@apple.com>
578 Reviewed by Darin Adler.
580 - fold FontStyle into TextRun
582 * WebCore.xcodeproj/project.pbxproj:
583 * platform/graphics/Font.cpp:
584 (WebCore::WidthIterator::WidthIterator):
585 (WebCore::WidthIterator::advance):
586 (WebCore::Font::width):
587 (WebCore::Font::drawSimpleText):
588 (WebCore::Font::drawGlyphBuffer):
589 (WebCore::Font::drawText):
590 (WebCore::Font::floatWidth):
591 (WebCore::Font::floatWidthForSimpleText):
592 (WebCore::Font::selectionRectForText):
593 (WebCore::Font::selectionRectForSimpleText):
594 (WebCore::Font::offsetForPosition):
595 (WebCore::Font::offsetForPositionForSimpleText):
596 * platform/graphics/Font.h:
597 (WebCore::TextRun::TextRun):
598 (WebCore::TextRun::setText):
599 (WebCore::TextRun::allowTabs):
600 (WebCore::TextRun::xPos):
601 (WebCore::TextRun::padding):
602 (WebCore::TextRun::rtl):
603 (WebCore::TextRun::ltr):
604 (WebCore::TextRun::directionalOverride):
605 (WebCore::TextRun::applyRunRounding):
606 (WebCore::TextRun::applyWordRounding):
607 (WebCore::TextRun::spacingDisabled):
608 (WebCore::TextRun::disableSpacing):
609 (WebCore::TextRun::disableRoundingHacks):
610 (WebCore::TextRun::setRTL):
611 (WebCore::TextRun::setDirectionalOverride):
612 * platform/graphics/FontStyle.h: Removed.
613 * platform/graphics/GraphicsContext.cpp:
614 (WebCore::GraphicsContext::drawText):
615 (WebCore::GraphicsContext::drawBidiText):
616 (WebCore::GraphicsContext::drawHighlightForText):
617 * platform/graphics/GraphicsContext.h:
618 * platform/graphics/StringTruncator.cpp:
619 (WebCore::stringWidth):
620 * platform/graphics/gtk/FontGtk.cpp:
621 (WebCore::Font::drawComplexText):
622 (WebCore::Font::floatWidthForComplexText):
623 (WebCore::Font::offsetForPositionForComplexText):
624 (WebCore::Font::selectionRectForComplexText):
625 * platform/graphics/mac/FontMac.mm:
626 (WebCore::ATSULayoutParameters::ATSULayoutParameters):
627 (WebCore::addDirectionalOverride):
628 (WebCore::overrideLayoutOperation):
629 (WebCore::ATSULayoutParameters::initialize):
630 (WebCore::Font::selectionRectForComplexText):
631 (WebCore::Font::drawComplexText):
632 (WebCore::Font::floatWidthForComplexText):
633 (WebCore::Font::offsetForPositionForComplexText):
634 * platform/graphics/qt/FontQt.cpp:
635 (WebCore::generateComponents):
636 (WebCore::Font::drawText):
637 (WebCore::Font::width):
638 (WebCore::Font::offsetForPosition):
639 (WebCore::cursorToX):
640 (WebCore::Font::selectionRectForText):
641 * platform/graphics/win/FontWin.cpp:
642 (WebCore::Font::selectionRectForComplexText):
643 (WebCore::Font::drawComplexText):
644 (WebCore::Font::floatWidthForComplexText):
645 (WebCore::Font::offsetForPositionForComplexText):
646 * platform/graphics/wx/FontWx.cpp:
647 (WebCore::Font::selectionRectForComplexText):
648 (WebCore::Font::drawComplexText):
649 (WebCore::Font::floatWidthForComplexText):
650 (WebCore::Font::offsetForPositionForComplexText):
651 * platform/mac/WebCoreTextRenderer.mm:
652 (WebCoreDrawTextAtPoint):
653 (WebCoreTextFloatWidth):
654 * platform/win/PopupMenuWin.cpp:
655 (WebCore::PopupMenu::paint):
656 * platform/win/UniscribeController.cpp:
657 (WebCore::UniscribeController::UniscribeController):
658 (WebCore::UniscribeController::offsetForPosition):
659 (WebCore::UniscribeController::advance):
660 (WebCore::UniscribeController::itemizeShapeAndPlace):
661 (WebCore::UniscribeController::resetControlAndState):
662 (WebCore::UniscribeController::shapeAndPlaceItem):
663 * platform/win/UniscribeController.h:
664 * platform/win/WebCoreTextRenderer.cpp:
665 (WebCore::doDrawTextAtPoint):
666 * rendering/EllipsisBox.cpp:
667 (WebCore::EllipsisBox::paint):
668 * rendering/InlineTextBox.cpp:
669 (WebCore::InlineTextBox::selectionRect):
670 (WebCore::InlineTextBox::paint):
671 (WebCore::InlineTextBox::paintSelection):
672 (WebCore::InlineTextBox::paintCompositionBackground):
673 (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
674 (WebCore::InlineTextBox::paintTextMatchMarker):
675 (WebCore::InlineTextBox::offsetForPosition):
676 (WebCore::InlineTextBox::positionForOffset):
677 * rendering/RenderFileUploadControl.cpp:
678 (WebCore::RenderFileUploadControl::paintObject):
679 (WebCore::RenderFileUploadControl::calcPrefWidths):
680 * rendering/RenderImage.cpp:
681 * rendering/RenderListBox.cpp:
682 (WebCore::RenderListBox::updateFromElement):
683 (WebCore::RenderListBox::paintItemForeground):
684 * rendering/RenderMenuList.cpp:
685 (WebCore::RenderMenuList::updateOptionsWidth):
686 * rendering/RenderText.cpp:
687 (WebCore::RenderText::widthFromCache):
688 (WebCore::RenderText::calcPrefWidths):
689 (WebCore::RenderText::width):
690 * rendering/RenderText.h:
691 (WebCore::RenderText::allowTabs):
692 * rendering/RenderTextControl.cpp:
693 (WebCore::RenderTextControl::calcPrefWidths):
694 * rendering/SVGInlineTextBox.cpp:
695 (WebCore::SVGInlineTextBox::calculateGlyphWidth):
696 (WebCore::SVGInlineTextBox::paintCharacters):
697 (WebCore::SVGInlineTextBox::paintSelection):
698 * rendering/SVGRootInlineBox.cpp:
699 (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
700 (WebCore::cummulatedWidthOfInlineBoxCharacterRange):
701 (WebCore::svgTextRunForInlineTextBox):
702 * rendering/SVGRootInlineBox.h:
704 2007-12-01 Adam Treat <treat@kde.org>
708 * Don't hide symbols when in Debug mode
709 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
713 2007-11-30 Alp Toker <alp@atoker.com>
715 Reviewed by Adam Roben.
717 http://bugs.webkit.org/show_bug.cgi?id=15691
718 [GTK] Public API does not follow GTK+ conventions
720 Refactor the WebKit/GTK+ public API. Changes:
721 WebKitPage -> WebKitWebView
722 WebKitFrame -> WebKitWebFrame
724 Public API source and header names have been updated to mirror the API
727 The API is now kept in WebKit/gtk/WebView to match other ports in the
728 same class such as Mac and Win.
732 2007-11-30 Anders Carlsson <andersca@apple.com>
734 Add platform/text project group.
736 * WebCore.vcproj/WebCore.vcproj:
738 2007-11-30 Anders Carlsson <andersca@apple.com>
740 Remove extra </Filter> tag which prevented the vcproj from being parsed correctly.
742 * WebCore.vcproj/WebCore.vcproj:
744 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
746 Not reviewed. Try to fix qt/gtk build.
750 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
752 Rubber stamped by Eric.
754 Final integration of ksvg2 in WebKit. Moving ksvg2/ to svg/ and killing all it's subdirectories,
755 by moving the files into approriate locations (css, rendering, ...) - as dicsussed on the
756 mailing list and on IRC with David/Darin & Eric.
758 Updated all build files - though I can't guarantee it builds on non-mac. Need buildbot to verify.
760 * DerivedSources.make:
762 * WebCore.vcproj/WebCore.vcproj:
763 * WebCore.xcodeproj/project.pbxproj:
764 * bindings/js/JSSVGLazyEventListener.cpp: Copied from ksvg2/events/JSSVGLazyEventListener.cpp.
765 * bindings/js/JSSVGLazyEventListener.h: Copied from ksvg2/events/JSSVGLazyEventListener.h.
766 * css/SVGCSSComputedStyleDeclaration.cpp: Copied from ksvg2/css/SVGCSSComputedStyleDeclaration.cpp.
767 * css/SVGCSSParser.cpp: Copied from ksvg2/css/SVGCSSParser.cpp.
768 * css/SVGCSSPropertyNames.in: Copied from ksvg2/css/SVGCSSPropertyNames.in.
769 * css/SVGCSSStyleSelector.cpp: Copied from ksvg2/css/SVGCSSStyleSelector.cpp.
770 * css/SVGCSSValueKeywords.in: Copied from ksvg2/css/SVGCSSValueKeywords.in.
771 * dom/make_names.pl: Copied from ksvg2/scripts/make_names.pl.
772 * ksvg2/css/SVGCSSComputedStyleDeclaration.cpp: Removed.
773 * ksvg2/css/SVGCSSParser.cpp: Removed.
774 * ksvg2/css/SVGCSSPropertyNames.in: Removed.
775 * ksvg2/css/SVGCSSStyleSelector.cpp: Removed.
776 * ksvg2/css/SVGCSSValueKeywords.in: Removed.
777 * ksvg2/css/SVGRenderStyle.cpp: Removed.
778 * ksvg2/css/SVGRenderStyle.h: Removed.
779 * ksvg2/css/SVGRenderStyleDefs.cpp: Removed.
780 * ksvg2/css/SVGRenderStyleDefs.h: Removed.
781 * ksvg2/events/JSSVGLazyEventListener.cpp: Removed.
782 * ksvg2/events/JSSVGLazyEventListener.h: Removed.
783 * ksvg2/events/SVGZoomEvent.cpp: Removed.
784 * ksvg2/events/SVGZoomEvent.h: Removed.
785 * ksvg2/events/SVGZoomEvent.idl: Removed.
786 * ksvg2/misc/PointerEventsHitRules.cpp: Removed.
787 * ksvg2/misc/PointerEventsHitRules.h: Removed.
788 * ksvg2/misc/SVGDocumentExtensions.cpp: Removed.
789 * ksvg2/misc/SVGDocumentExtensions.h: Removed.
790 * ksvg2/misc/SVGImageLoader.cpp: Removed.
791 * ksvg2/misc/SVGImageLoader.h: Removed.
792 * ksvg2/misc/SVGTimer.cpp: Removed.
793 * ksvg2/misc/SVGTimer.h: Removed.
794 * ksvg2/misc/TimeScheduler.cpp: Removed.
795 * ksvg2/misc/TimeScheduler.h: Removed.
796 * ksvg2/misc/xlinkattrs.in: Removed.
797 * ksvg2/scripts/make_names.pl: Removed.
798 * ksvg2/svg: Removed.
799 * ksvg2/svg/ColorDistance.cpp: Removed.
800 * ksvg2/svg/ColorDistance.h: Removed.
801 * ksvg2/svg/GradientAttributes.h: Removed.
802 * ksvg2/svg/LinearGradientAttributes.h: Removed.
803 * ksvg2/svg/PatternAttributes.h: Removed.
804 * ksvg2/svg/RadialGradientAttributes.h: Removed.
805 * ksvg2/svg/SVGAElement.cpp: Removed.
806 * ksvg2/svg/SVGAElement.h: Removed.
807 * ksvg2/svg/SVGAElement.idl: Removed.
808 * ksvg2/svg/SVGAngle.cpp: Removed.
809 * ksvg2/svg/SVGAngle.h: Removed.
810 * ksvg2/svg/SVGAngle.idl: Removed.
811 * ksvg2/svg/SVGAnimateColorElement.cpp: Removed.
812 * ksvg2/svg/SVGAnimateColorElement.h: Removed.
813 * ksvg2/svg/SVGAnimateColorElement.idl: Removed.
814 * ksvg2/svg/SVGAnimateElement.cpp: Removed.
815 * ksvg2/svg/SVGAnimateElement.h: Removed.
816 * ksvg2/svg/SVGAnimateElement.idl: Removed.
817 * ksvg2/svg/SVGAnimateMotionElement.cpp: Removed.
818 * ksvg2/svg/SVGAnimateMotionElement.h: Removed.
819 * ksvg2/svg/SVGAnimateTransformElement.cpp: Removed.
820 * ksvg2/svg/SVGAnimateTransformElement.h: Removed.
821 * ksvg2/svg/SVGAnimateTransformElement.idl: Removed.
822 * ksvg2/svg/SVGAnimatedAngle.idl: Removed.
823 * ksvg2/svg/SVGAnimatedBoolean.idl: Removed.
824 * ksvg2/svg/SVGAnimatedEnumeration.idl: Removed.
825 * ksvg2/svg/SVGAnimatedInteger.idl: Removed.
826 * ksvg2/svg/SVGAnimatedLength.idl: Removed.
827 * ksvg2/svg/SVGAnimatedLengthList.idl: Removed.
828 * ksvg2/svg/SVGAnimatedNumber.idl: Removed.
829 * ksvg2/svg/SVGAnimatedNumberList.idl: Removed.
830 * ksvg2/svg/SVGAnimatedPathData.cpp: Removed.
831 * ksvg2/svg/SVGAnimatedPathData.h: Removed.
832 * ksvg2/svg/SVGAnimatedPathData.idl: Removed.
833 * ksvg2/svg/SVGAnimatedPoints.cpp: Removed.
834 * ksvg2/svg/SVGAnimatedPoints.h: Removed.
835 * ksvg2/svg/SVGAnimatedPoints.idl: Removed.
836 * ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl: Removed.
837 * ksvg2/svg/SVGAnimatedRect.idl: Removed.
838 * ksvg2/svg/SVGAnimatedString.idl: Removed.
839 * ksvg2/svg/SVGAnimatedTemplate.h: Removed.
840 * ksvg2/svg/SVGAnimatedTransformList.idl: Removed.
841 * ksvg2/svg/SVGAnimationElement.cpp: Removed.
842 * ksvg2/svg/SVGAnimationElement.h: Removed.
843 * ksvg2/svg/SVGAnimationElement.idl: Removed.
844 * ksvg2/svg/SVGCircleElement.cpp: Removed.
845 * ksvg2/svg/SVGCircleElement.h: Removed.
846 * ksvg2/svg/SVGCircleElement.idl: Removed.
847 * ksvg2/svg/SVGClipPathElement.cpp: Removed.
848 * ksvg2/svg/SVGClipPathElement.h: Removed.
849 * ksvg2/svg/SVGClipPathElement.idl: Removed.
850 * ksvg2/svg/SVGColor.cpp: Removed.
851 * ksvg2/svg/SVGColor.h: Removed.
852 * ksvg2/svg/SVGColor.idl: Removed.
853 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp: Removed.
854 * ksvg2/svg/SVGComponentTransferFunctionElement.h: Removed.
855 * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Removed.
856 * ksvg2/svg/SVGCursorElement.cpp: Removed.
857 * ksvg2/svg/SVGCursorElement.h: Removed.
858 * ksvg2/svg/SVGCursorElement.idl: Removed.
859 * ksvg2/svg/SVGDefinitionSrcElement.cpp: Removed.
860 * ksvg2/svg/SVGDefinitionSrcElement.h: Removed.
861 * ksvg2/svg/SVGDefinitionSrcElement.idl: Removed.
862 * ksvg2/svg/SVGDefsElement.cpp: Removed.
863 * ksvg2/svg/SVGDefsElement.h: Removed.
864 * ksvg2/svg/SVGDefsElement.idl: Removed.
865 * ksvg2/svg/SVGDescElement.cpp: Removed.
866 * ksvg2/svg/SVGDescElement.h: Removed.
867 * ksvg2/svg/SVGDescElement.idl: Removed.
868 * ksvg2/svg/SVGDocument.cpp: Removed.
869 * ksvg2/svg/SVGDocument.h: Removed.
870 * ksvg2/svg/SVGDocument.idl: Removed.
871 * ksvg2/svg/SVGElement.cpp: Removed.
872 * ksvg2/svg/SVGElement.h: Removed.
873 * ksvg2/svg/SVGElement.idl: Removed.
874 * ksvg2/svg/SVGElementInstance.cpp: Removed.
875 * ksvg2/svg/SVGElementInstance.h: Removed.
876 * ksvg2/svg/SVGElementInstance.idl: Removed.
877 * ksvg2/svg/SVGElementInstanceList.cpp: Removed.
878 * ksvg2/svg/SVGElementInstanceList.h: Removed.
879 * ksvg2/svg/SVGElementInstanceList.idl: Removed.
880 * ksvg2/svg/SVGEllipseElement.cpp: Removed.
881 * ksvg2/svg/SVGEllipseElement.h: Removed.
882 * ksvg2/svg/SVGEllipseElement.idl: Removed.
883 * ksvg2/svg/SVGException.h: Removed.
884 * ksvg2/svg/SVGException.idl: Removed.
885 * ksvg2/svg/SVGExternalResourcesRequired.cpp: Removed.
886 * ksvg2/svg/SVGExternalResourcesRequired.h: Removed.
887 * ksvg2/svg/SVGExternalResourcesRequired.idl: Removed.
888 * ksvg2/svg/SVGFEBlendElement.cpp: Removed.
889 * ksvg2/svg/SVGFEBlendElement.h: Removed.
890 * ksvg2/svg/SVGFEBlendElement.idl: Removed.
891 * ksvg2/svg/SVGFEColorMatrixElement.cpp: Removed.
892 * ksvg2/svg/SVGFEColorMatrixElement.h: Removed.
893 * ksvg2/svg/SVGFEColorMatrixElement.idl: Removed.
894 * ksvg2/svg/SVGFEComponentTransferElement.cpp: Removed.
895 * ksvg2/svg/SVGFEComponentTransferElement.h: Removed.
896 * ksvg2/svg/SVGFEComponentTransferElement.idl: Removed.
897 * ksvg2/svg/SVGFECompositeElement.cpp: Removed.
898 * ksvg2/svg/SVGFECompositeElement.h: Removed.
899 * ksvg2/svg/SVGFECompositeElement.idl: Removed.
900 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp: Removed.
901 * ksvg2/svg/SVGFEDiffuseLightingElement.h: Removed.
902 * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Removed.
903 * ksvg2/svg/SVGFEDisplacementMapElement.cpp: Removed.
904 * ksvg2/svg/SVGFEDisplacementMapElement.h: Removed.
905 * ksvg2/svg/SVGFEDisplacementMapElement.idl: Removed.
906 * ksvg2/svg/SVGFEDistantLightElement.cpp: Removed.
907 * ksvg2/svg/SVGFEDistantLightElement.h: Removed.
908 * ksvg2/svg/SVGFEDistantLightElement.idl: Removed.
909 * ksvg2/svg/SVGFEFloodElement.cpp: Removed.
910 * ksvg2/svg/SVGFEFloodElement.h: Removed.
911 * ksvg2/svg/SVGFEFloodElement.idl: Removed.
912 * ksvg2/svg/SVGFEFuncAElement.cpp: Removed.
913 * ksvg2/svg/SVGFEFuncAElement.h: Removed.
914 * ksvg2/svg/SVGFEFuncAElement.idl: Removed.
915 * ksvg2/svg/SVGFEFuncBElement.cpp: Removed.
916 * ksvg2/svg/SVGFEFuncBElement.h: Removed.
917 * ksvg2/svg/SVGFEFuncBElement.idl: Removed.
918 * ksvg2/svg/SVGFEFuncGElement.cpp: Removed.
919 * ksvg2/svg/SVGFEFuncGElement.h: Removed.
920 * ksvg2/svg/SVGFEFuncGElement.idl: Removed.
921 * ksvg2/svg/SVGFEFuncRElement.cpp: Removed.
922 * ksvg2/svg/SVGFEFuncRElement.h: Removed.
923 * ksvg2/svg/SVGFEFuncRElement.idl: Removed.
924 * ksvg2/svg/SVGFEGaussianBlurElement.cpp: Removed.
925 * ksvg2/svg/SVGFEGaussianBlurElement.h: Removed.
926 * ksvg2/svg/SVGFEGaussianBlurElement.idl: Removed.
927 * ksvg2/svg/SVGFEImageElement.cpp: Removed.
928 * ksvg2/svg/SVGFEImageElement.h: Removed.
929 * ksvg2/svg/SVGFEImageElement.idl: Removed.
930 * ksvg2/svg/SVGFELightElement.cpp: Removed.
931 * ksvg2/svg/SVGFELightElement.h: Removed.
932 * ksvg2/svg/SVGFEMergeElement.cpp: Removed.
933 * ksvg2/svg/SVGFEMergeElement.h: Removed.
934 * ksvg2/svg/SVGFEMergeElement.idl: Removed.
935 * ksvg2/svg/SVGFEMergeNodeElement.cpp: Removed.
936 * ksvg2/svg/SVGFEMergeNodeElement.h: Removed.
937 * ksvg2/svg/SVGFEMergeNodeElement.idl: Removed.
938 * ksvg2/svg/SVGFEOffsetElement.cpp: Removed.
939 * ksvg2/svg/SVGFEOffsetElement.h: Removed.
940 * ksvg2/svg/SVGFEOffsetElement.idl: Removed.
941 * ksvg2/svg/SVGFEPointLightElement.cpp: Removed.
942 * ksvg2/svg/SVGFEPointLightElement.h: Removed.
943 * ksvg2/svg/SVGFEPointLightElement.idl: Removed.
944 * ksvg2/svg/SVGFESpecularLightingElement.cpp: Removed.
945 * ksvg2/svg/SVGFESpecularLightingElement.h: Removed.
946 * ksvg2/svg/SVGFESpecularLightingElement.idl: Removed.
947 * ksvg2/svg/SVGFESpotLightElement.cpp: Removed.
948 * ksvg2/svg/SVGFESpotLightElement.h: Removed.
949 * ksvg2/svg/SVGFESpotLightElement.idl: Removed.
950 * ksvg2/svg/SVGFETileElement.cpp: Removed.
951 * ksvg2/svg/SVGFETileElement.h: Removed.
952 * ksvg2/svg/SVGFETileElement.idl: Removed.
953 * ksvg2/svg/SVGFETurbulenceElement.cpp: Removed.
954 * ksvg2/svg/SVGFETurbulenceElement.h: Removed.
955 * ksvg2/svg/SVGFETurbulenceElement.idl: Removed.
956 * ksvg2/svg/SVGFilterElement.cpp: Removed.
957 * ksvg2/svg/SVGFilterElement.h: Removed.
958 * ksvg2/svg/SVGFilterElement.idl: Removed.
959 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: Removed.
960 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: Removed.
961 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Removed.
962 * ksvg2/svg/SVGFitToViewBox.cpp: Removed.
963 * ksvg2/svg/SVGFitToViewBox.h: Removed.
964 * ksvg2/svg/SVGFitToViewBox.idl: Removed.
965 * ksvg2/svg/SVGFontFaceElement.cpp: Removed.
966 * ksvg2/svg/SVGFontFaceElement.h: Removed.
967 * ksvg2/svg/SVGFontFaceElement.idl: Removed.
968 * ksvg2/svg/SVGFontFaceFormatElement.cpp: Removed.
969 * ksvg2/svg/SVGFontFaceFormatElement.h: Removed.
970 * ksvg2/svg/SVGFontFaceFormatElement.idl: Removed.
971 * ksvg2/svg/SVGFontFaceNameElement.cpp: Removed.
972 * ksvg2/svg/SVGFontFaceNameElement.h: Removed.
973 * ksvg2/svg/SVGFontFaceNameElement.idl: Removed.
974 * ksvg2/svg/SVGFontFaceSrcElement.cpp: Removed.
975 * ksvg2/svg/SVGFontFaceSrcElement.h: Removed.
976 * ksvg2/svg/SVGFontFaceSrcElement.idl: Removed.
977 * ksvg2/svg/SVGFontFaceUriElement.cpp: Removed.
978 * ksvg2/svg/SVGFontFaceUriElement.h: Removed.
979 * ksvg2/svg/SVGFontFaceUriElement.idl: Removed.
980 * ksvg2/svg/SVGForeignObjectElement.cpp: Removed.
981 * ksvg2/svg/SVGForeignObjectElement.h: Removed.
982 * ksvg2/svg/SVGForeignObjectElement.idl: Removed.
983 * ksvg2/svg/SVGGElement.cpp: Removed.
984 * ksvg2/svg/SVGGElement.h: Removed.
985 * ksvg2/svg/SVGGElement.idl: Removed.
986 * ksvg2/svg/SVGGradientElement.cpp: Removed.
987 * ksvg2/svg/SVGGradientElement.h: Removed.
988 * ksvg2/svg/SVGGradientElement.idl: Removed.
989 * ksvg2/svg/SVGImageElement.cpp: Removed.
990 * ksvg2/svg/SVGImageElement.h: Removed.
991 * ksvg2/svg/SVGImageElement.idl: Removed.
992 * ksvg2/svg/SVGLangSpace.cpp: Removed.
993 * ksvg2/svg/SVGLangSpace.h: Removed.
994 * ksvg2/svg/SVGLangSpace.idl: Removed.
995 * ksvg2/svg/SVGLength.cpp: Removed.
996 * ksvg2/svg/SVGLength.h: Removed.
997 * ksvg2/svg/SVGLength.idl: Removed.
998 * ksvg2/svg/SVGLengthList.cpp: Removed.
999 * ksvg2/svg/SVGLengthList.h: Removed.
1000 * ksvg2/svg/SVGLengthList.idl: Removed.
1001 * ksvg2/svg/SVGLineElement.cpp: Removed.
1002 * ksvg2/svg/SVGLineElement.h: Removed.
1003 * ksvg2/svg/SVGLineElement.idl: Removed.
1004 * ksvg2/svg/SVGLinearGradientElement.cpp: Removed.
1005 * ksvg2/svg/SVGLinearGradientElement.h: Removed.
1006 * ksvg2/svg/SVGLinearGradientElement.idl: Removed.
1007 * ksvg2/svg/SVGList.h: Removed.
1008 * ksvg2/svg/SVGListTraits.h: Removed.
1009 * ksvg2/svg/SVGLocatable.cpp: Removed.
1010 * ksvg2/svg/SVGLocatable.h: Removed.
1011 * ksvg2/svg/SVGLocatable.idl: Removed.
1012 * ksvg2/svg/SVGMPathElement.cpp: Removed.
1013 * ksvg2/svg/SVGMPathElement.h: Removed.
1014 * ksvg2/svg/SVGMarkerElement.cpp: Removed.
1015 * ksvg2/svg/SVGMarkerElement.h: Removed.
1016 * ksvg2/svg/SVGMarkerElement.idl: Removed.
1017 * ksvg2/svg/SVGMaskElement.cpp: Removed.
1018 * ksvg2/svg/SVGMaskElement.h: Removed.
1019 * ksvg2/svg/SVGMaskElement.idl: Removed.
1020 * ksvg2/svg/SVGMatrix.idl: Removed.
1021 * ksvg2/svg/SVGMetadataElement.cpp: Removed.
1022 * ksvg2/svg/SVGMetadataElement.h: Removed.
1023 * ksvg2/svg/SVGMetadataElement.idl: Removed.
1024 * ksvg2/svg/SVGNumber.idl: Removed.
1025 * ksvg2/svg/SVGNumberList.cpp: Removed.
1026 * ksvg2/svg/SVGNumberList.h: Removed.
1027 * ksvg2/svg/SVGNumberList.idl: Removed.
1028 * ksvg2/svg/SVGPaint.cpp: Removed.
1029 * ksvg2/svg/SVGPaint.h: Removed.
1030 * ksvg2/svg/SVGPaint.idl: Removed.
1031 * ksvg2/svg/SVGParserUtilities.cpp: Removed.
1032 * ksvg2/svg/SVGParserUtilities.h: Removed.
1033 * ksvg2/svg/SVGPathElement.cpp: Removed.
1034 * ksvg2/svg/SVGPathElement.h: Removed.
1035 * ksvg2/svg/SVGPathElement.idl: Removed.
1036 * ksvg2/svg/SVGPathSeg.h: Removed.
1037 * ksvg2/svg/SVGPathSeg.idl: Removed.
1038 * ksvg2/svg/SVGPathSegArc.cpp: Removed.
1039 * ksvg2/svg/SVGPathSegArc.h: Removed.
1040 * ksvg2/svg/SVGPathSegArcAbs.idl: Removed.
1041 * ksvg2/svg/SVGPathSegArcRel.idl: Removed.
1042 * ksvg2/svg/SVGPathSegClosePath.cpp: Removed.
1043 * ksvg2/svg/SVGPathSegClosePath.h: Removed.
1044 * ksvg2/svg/SVGPathSegClosePath.idl: Removed.
1045 * ksvg2/svg/SVGPathSegCurvetoCubic.cpp: Removed.
1046 * ksvg2/svg/SVGPathSegCurvetoCubic.h: Removed.
1047 * ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl: Removed.
1048 * ksvg2/svg/SVGPathSegCurvetoCubicRel.idl: Removed.
1049 * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp: Removed.
1050 * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h: Removed.
1051 * ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: Removed.
1052 * ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl: Removed.
1053 * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp: Removed.
1054 * ksvg2/svg/SVGPathSegCurvetoQuadratic.h: Removed.
1055 * ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl: Removed.
1056 * ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl: Removed.
1057 * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp: Removed.
1058 * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h: Removed.
1059 * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: Removed.
1060 * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: Removed.
1061 * ksvg2/svg/SVGPathSegLineto.cpp: Removed.
1062 * ksvg2/svg/SVGPathSegLineto.h: Removed.
1063 * ksvg2/svg/SVGPathSegLinetoAbs.idl: Removed.
1064 * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp: Removed.
1065 * ksvg2/svg/SVGPathSegLinetoHorizontal.h: Removed.
1066 * ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl: Removed.
1067 * ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl: Removed.
1068 * ksvg2/svg/SVGPathSegLinetoRel.idl: Removed.
1069 * ksvg2/svg/SVGPathSegLinetoVertical.cpp: Removed.
1070 * ksvg2/svg/SVGPathSegLinetoVertical.h: Removed.
1071 * ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl: Removed.
1072 * ksvg2/svg/SVGPathSegLinetoVerticalRel.idl: Removed.
1073 * ksvg2/svg/SVGPathSegList.cpp: Removed.
1074 * ksvg2/svg/SVGPathSegList.h: Removed.
1075 * ksvg2/svg/SVGPathSegList.idl: Removed.
1076 * ksvg2/svg/SVGPathSegMoveto.cpp: Removed.
1077 * ksvg2/svg/SVGPathSegMoveto.h: Removed.
1078 * ksvg2/svg/SVGPathSegMovetoAbs.idl: Removed.
1079 * ksvg2/svg/SVGPathSegMovetoRel.idl: Removed.
1080 * ksvg2/svg/SVGPatternElement.cpp: Removed.
1081 * ksvg2/svg/SVGPatternElement.h: Removed.
1082 * ksvg2/svg/SVGPatternElement.idl: Removed.
1083 * ksvg2/svg/SVGPoint.idl: Removed.
1084 * ksvg2/svg/SVGPointList.cpp: Removed.
1085 * ksvg2/svg/SVGPointList.h: Removed.
1086 * ksvg2/svg/SVGPointList.idl: Removed.
1087 * ksvg2/svg/SVGPolyElement.cpp: Removed.
1088 * ksvg2/svg/SVGPolyElement.h: Removed.
1089 * ksvg2/svg/SVGPolygonElement.cpp: Removed.
1090 * ksvg2/svg/SVGPolygonElement.h: Removed.
1091 * ksvg2/svg/SVGPolygonElement.idl: Removed.
1092 * ksvg2/svg/SVGPolylineElement.cpp: Removed.
1093 * ksvg2/svg/SVGPolylineElement.h: Removed.
1094 * ksvg2/svg/SVGPolylineElement.idl: Removed.
1095 * ksvg2/svg/SVGPreserveAspectRatio.cpp: Removed.
1096 * ksvg2/svg/SVGPreserveAspectRatio.h: Removed.
1097 * ksvg2/svg/SVGPreserveAspectRatio.idl: Removed.
1098 * ksvg2/svg/SVGRadialGradientElement.cpp: Removed.
1099 * ksvg2/svg/SVGRadialGradientElement.h: Removed.
1100 * ksvg2/svg/SVGRadialGradientElement.idl: Removed.
1101 * ksvg2/svg/SVGRect.idl: Removed.
1102 * ksvg2/svg/SVGRectElement.cpp: Removed.
1103 * ksvg2/svg/SVGRectElement.h: Removed.
1104 * ksvg2/svg/SVGRectElement.idl: Removed.
1105 * ksvg2/svg/SVGRenderingIntent.h: Removed.
1106 * ksvg2/svg/SVGRenderingIntent.idl: Removed.
1107 * ksvg2/svg/SVGSVGElement.cpp: Removed.
1108 * ksvg2/svg/SVGSVGElement.h: Removed.
1109 * ksvg2/svg/SVGSVGElement.idl: Removed.
1110 * ksvg2/svg/SVGScriptElement.cpp: Removed.
1111 * ksvg2/svg/SVGScriptElement.h: Removed.
1112 * ksvg2/svg/SVGScriptElement.idl: Removed.
1113 * ksvg2/svg/SVGSetElement.cpp: Removed.
1114 * ksvg2/svg/SVGSetElement.h: Removed.
1115 * ksvg2/svg/SVGSetElement.idl: Removed.
1116 * ksvg2/svg/SVGStopElement.cpp: Removed.
1117 * ksvg2/svg/SVGStopElement.h: Removed.
1118 * ksvg2/svg/SVGStopElement.idl: Removed.
1119 * ksvg2/svg/SVGStringList.cpp: Removed.
1120 * ksvg2/svg/SVGStringList.h: Removed.
1121 * ksvg2/svg/SVGStringList.idl: Removed.
1122 * ksvg2/svg/SVGStylable.cpp: Removed.
1123 * ksvg2/svg/SVGStylable.h: Removed.
1124 * ksvg2/svg/SVGStylable.idl: Removed.
1125 * ksvg2/svg/SVGStyleElement.cpp: Removed.
1126 * ksvg2/svg/SVGStyleElement.h: Removed.
1127 * ksvg2/svg/SVGStyleElement.idl: Removed.
1128 * ksvg2/svg/SVGStyledElement.cpp: Removed.
1129 * ksvg2/svg/SVGStyledElement.h: Removed.
1130 * ksvg2/svg/SVGStyledLocatableElement.cpp: Removed.
1131 * ksvg2/svg/SVGStyledLocatableElement.h: Removed.
1132 * ksvg2/svg/SVGStyledTransformableElement.cpp: Removed.
1133 * ksvg2/svg/SVGStyledTransformableElement.h: Removed.
1134 * ksvg2/svg/SVGSwitchElement.cpp: Removed.
1135 * ksvg2/svg/SVGSwitchElement.h: Removed.
1136 * ksvg2/svg/SVGSwitchElement.idl: Removed.
1137 * ksvg2/svg/SVGSymbolElement.cpp: Removed.
1138 * ksvg2/svg/SVGSymbolElement.h: Removed.
1139 * ksvg2/svg/SVGSymbolElement.idl: Removed.
1140 * ksvg2/svg/SVGTRefElement.cpp: Removed.
1141 * ksvg2/svg/SVGTRefElement.h: Removed.
1142 * ksvg2/svg/SVGTRefElement.idl: Removed.
1143 * ksvg2/svg/SVGTSpanElement.cpp: Removed.
1144 * ksvg2/svg/SVGTSpanElement.h: Removed.
1145 * ksvg2/svg/SVGTSpanElement.idl: Removed.
1146 * ksvg2/svg/SVGTests.cpp: Removed.
1147 * ksvg2/svg/SVGTests.h: Removed.
1148 * ksvg2/svg/SVGTests.idl: Removed.
1149 * ksvg2/svg/SVGTextContentElement.cpp: Removed.
1150 * ksvg2/svg/SVGTextContentElement.h: Removed.
1151 * ksvg2/svg/SVGTextContentElement.idl: Removed.
1152 * ksvg2/svg/SVGTextElement.cpp: Removed.
1153 * ksvg2/svg/SVGTextElement.h: Removed.
1154 * ksvg2/svg/SVGTextElement.idl: Removed.
1155 * ksvg2/svg/SVGTextPathElement.cpp: Removed.
1156 * ksvg2/svg/SVGTextPathElement.h: Removed.
1157 * ksvg2/svg/SVGTextPathElement.idl: Removed.
1158 * ksvg2/svg/SVGTextPositioningElement.cpp: Removed.
1159 * ksvg2/svg/SVGTextPositioningElement.h: Removed.
1160 * ksvg2/svg/SVGTextPositioningElement.idl: Removed.
1161 * ksvg2/svg/SVGTitleElement.cpp: Removed.
1162 * ksvg2/svg/SVGTitleElement.h: Removed.
1163 * ksvg2/svg/SVGTitleElement.idl: Removed.
1164 * ksvg2/svg/SVGTransform.cpp: Removed.
1165 * ksvg2/svg/SVGTransform.h: Removed.
1166 * ksvg2/svg/SVGTransform.idl: Removed.
1167 * ksvg2/svg/SVGTransformDistance.cpp: Removed.
1168 * ksvg2/svg/SVGTransformDistance.h: Removed.
1169 * ksvg2/svg/SVGTransformList.cpp: Removed.
1170 * ksvg2/svg/SVGTransformList.h: Removed.
1171 * ksvg2/svg/SVGTransformList.idl: Removed.
1172 * ksvg2/svg/SVGTransformable.cpp: Removed.
1173 * ksvg2/svg/SVGTransformable.h: Removed.
1174 * ksvg2/svg/SVGTransformable.idl: Removed.
1175 * ksvg2/svg/SVGURIReference.cpp: Removed.
1176 * ksvg2/svg/SVGURIReference.h: Removed.
1177 * ksvg2/svg/SVGURIReference.idl: Removed.
1178 * ksvg2/svg/SVGUnitTypes.h: Removed.
1179 * ksvg2/svg/SVGUnitTypes.idl: Removed.
1180 * ksvg2/svg/SVGUseElement.cpp: Removed.
1181 * ksvg2/svg/SVGUseElement.h: Removed.
1182 * ksvg2/svg/SVGUseElement.idl: Removed.
1183 * ksvg2/svg/SVGViewElement.cpp: Removed.
1184 * ksvg2/svg/SVGViewElement.h: Removed.
1185 * ksvg2/svg/SVGViewElement.idl: Removed.
1186 * ksvg2/svg/SVGViewSpec.cpp: Removed.
1187 * ksvg2/svg/SVGViewSpec.h: Removed.
1188 * ksvg2/svg/SVGViewSpec.idl: Removed.
1189 * ksvg2/svg/SVGZoomAndPan.cpp: Removed.
1190 * ksvg2/svg/SVGZoomAndPan.h: Removed.
1191 * ksvg2/svg/SVGZoomAndPan.idl: Removed.
1192 * ksvg2/svg/svgattrs.in: Removed.
1193 * ksvg2/svg/svgtags.in: Removed.
1194 * rendering/PointerEventsHitRules.cpp: Copied from ksvg2/misc/PointerEventsHitRules.cpp.
1195 * rendering/PointerEventsHitRules.h: Copied from ksvg2/misc/PointerEventsHitRules.h.
1196 * rendering/SVGRenderStyle.cpp: Copied from ksvg2/css/SVGRenderStyle.cpp.
1197 * rendering/SVGRenderStyle.h: Copied from ksvg2/css/SVGRenderStyle.h.
1198 * rendering/SVGRenderStyleDefs.cpp: Copied from ksvg2/css/SVGRenderStyleDefs.cpp.
1199 * rendering/SVGRenderStyleDefs.h: Copied from ksvg2/css/SVGRenderStyleDefs.h.
1200 * svg: Copied from ksvg2/svg.
1201 * svg/SVGDocumentExtensions.cpp: Copied from ksvg2/misc/SVGDocumentExtensions.cpp.
1202 * svg/SVGDocumentExtensions.h: Copied from ksvg2/misc/SVGDocumentExtensions.h.
1203 * svg/SVGImageLoader.cpp: Copied from ksvg2/misc/SVGImageLoader.cpp.
1204 * svg/SVGImageLoader.h: Copied from ksvg2/misc/SVGImageLoader.h.
1205 * svg/SVGTimer.cpp: Copied from ksvg2/misc/SVGTimer.cpp.
1206 * svg/SVGTimer.h: Copied from ksvg2/misc/SVGTimer.h.
1207 * svg/SVGZoomEvent.cpp: Copied from ksvg2/events/SVGZoomEvent.cpp.
1208 * svg/SVGZoomEvent.h: Copied from ksvg2/events/SVGZoomEvent.h.
1209 * svg/SVGZoomEvent.idl: Copied from ksvg2/events/SVGZoomEvent.idl.
1210 * svg/TimeScheduler.cpp: Copied from ksvg2/misc/TimeScheduler.cpp.
1211 * svg/TimeScheduler.h: Copied from ksvg2/misc/TimeScheduler.h.
1212 * svg/xlinkattrs.in: Copied from ksvg2/misc/xlinkattrs.in.
1214 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1216 wx build fix. Add WebCore/platform/graphics/wx to includes.
1220 2007-11-30 Brady Eidson <beidson@apple.com>
1224 Further hookup of Database API
1225 With this change, any database operation that writes to the database (UPDATE, INSERT, CREATE, etc) will
1226 result in a didModifyDatabase notification when the transaction is successfully committed
1228 * storage/DatabaseAuthorizer.cpp: Global rename of "m_lastActionIncreasedSize" to "m_lastActionChangedDatabase"
1229 (WebCore::DatabaseAuthorizer::reset):
1230 (WebCore::DatabaseAuthorizer::createTable):
1231 (WebCore::DatabaseAuthorizer::allowAlterTable):
1232 (WebCore::DatabaseAuthorizer::createIndex):
1233 (WebCore::DatabaseAuthorizer::createTrigger):
1234 (WebCore::DatabaseAuthorizer::createVTable):
1235 (WebCore::DatabaseAuthorizer::allowInsert):
1236 (WebCore::DatabaseAuthorizer::allowUpdate):
1237 * storage/DatabaseAuthorizer.h:
1238 (WebCore::DatabaseAuthorizer::lastActionChangedDatabase):
1240 * storage/DatabaseTracker.cpp:
1241 (WebCore::DatabaseTracker::notifyDatabaseChanged): Added. Allow external entities (SQLTransaction) to be able
1242 to request a didModifyDatabase notification to the delegate
1243 * storage/DatabaseTracker.h:
1245 * storage/SQLTransaction.cpp: Added m_modifiedDatabase flag which tracks if any statement over the course of
1246 a transaction resulted in a change to the database.
1247 (WebCore::SQLTransaction::SQLTransaction):
1248 (WebCore::SQLTransaction::runCurrentStatement): Set m_modifiedDatabase to true if the authorizer reports a mutation
1250 (WebCore::SQLTransaction::postflightAndCommit): If the transaction successfully commits, call DatabaseTracker::notifyDatabaseChanged
1251 (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto
1252 * storage/SQLTransaction.h:
1254 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
1256 Rubber stamped by David.
1258 Next round of moves - platform reorganization.
1259 Move text/font/glyph related files from the individual port directories
1260 into platform/text/<port> or platform/graphics/<port>.
1262 * DerivedSources.make:
1264 * WebCore.vcproj/WebCore.vcproj:
1265 * WebCore.xcodeproj/project.pbxproj:
1266 * platform/cf/StringCF.cpp: Removed.
1267 * platform/cf/StringImplCF.cpp: Removed.
1268 * platform/graphics/gtk/FontCacheGtk.cpp: Copied from platform/gtk/FontCacheGtk.cpp.
1269 * platform/graphics/gtk/FontDataGtk.cpp: Copied from platform/gtk/FontDataGtk.cpp.
1270 * platform/graphics/gtk/FontGtk.cpp: Copied from platform/gtk/FontGtk.cpp.
1271 * platform/graphics/gtk/FontPlatformData.h: Copied from platform/gtk/FontPlatformData.h.
1272 * platform/graphics/gtk/FontPlatformDataGtk.cpp: Copied from platform/gtk/FontPlatformDataGtk.cpp.
1273 * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: Copied from platform/gtk/GlyphPageTreeNodeGtk.cpp.
1274 * platform/graphics/mac/FontCacheMac.mm: Copied from platform/mac/FontCacheMac.mm.
1275 * platform/graphics/mac/FontCustomPlatformData.cpp: Copied from platform/mac/FontCustomPlatformData.cpp.
1276 * platform/graphics/mac/FontCustomPlatformData.h: Copied from platform/mac/FontCustomPlatformData.h.
1277 * platform/graphics/mac/FontDataMac.mm: Copied from platform/mac/FontDataMac.mm.
1278 * platform/graphics/mac/FontMac.mm: Copied from platform/mac/FontMac.mm.
1279 * platform/graphics/mac/FontPlatformData.h: Copied from platform/mac/FontPlatformData.h.
1280 * platform/graphics/mac/FontPlatformDataMac.mm: Copied from platform/mac/FontPlatformDataMac.mm.
1281 * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: Copied from platform/mac/GlyphPageTreeNodeMac.cpp.
1282 * platform/graphics/qt/FontCacheQt.cpp: Copied from platform/qt/FontCacheQt.cpp.
1283 * platform/graphics/qt/FontCustomPlatformData.cpp: Copied from platform/qt/FontCustomPlatformData.cpp.
1284 * platform/graphics/qt/FontCustomPlatformData.h: Copied from platform/qt/FontCustomPlatformData.h.
1285 * platform/graphics/qt/FontDataQt.cpp: Copied from platform/qt/FontDataQt.cpp.
1286 * platform/graphics/qt/FontPlatformData.h: Copied from platform/qt/FontPlatformData.h.
1287 * platform/graphics/qt/FontQt.cpp: Copied from platform/qt/FontQt.cpp.
1288 * platform/graphics/qt/GlyphPageTreeNodeQt.cpp: Copied from platform/qt/GlyphPageTreeNodeQt.cpp.
1289 * platform/graphics/win/FontCacheWin.cpp: Copied from platform/win/FontCacheWin.cpp.
1290 * platform/graphics/win/FontCustomPlatformData.cpp: Copied from platform/win/FontCustomPlatformData.cpp.
1291 * platform/graphics/win/FontCustomPlatformData.h: Copied from platform/win/FontCustomPlatformData.h.
1292 * platform/graphics/win/FontDataWin.cpp: Copied from platform/win/FontDataWin.cpp.
1293 * platform/graphics/win/FontDatabase.cpp: Copied from platform/win/FontDatabase.cpp.
1294 * platform/graphics/win/FontDatabase.h: Copied from platform/win/FontDatabase.h.
1295 * platform/graphics/win/FontPlatformData.h: Copied from platform/win/FontPlatformData.h.
1296 * platform/graphics/win/FontPlatformDataWin.cpp: Copied from platform/win/FontPlatformDataWin.cpp.
1297 * platform/graphics/win/FontWin.cpp: Copied from platform/win/FontWin.cpp.
1298 * platform/graphics/win/GlyphPageTreeNodeWin.cpp: Copied from platform/win/GlyphPageTreeNodeWin.cpp.
1299 * platform/graphics/wx/FontCacheWx.cpp: Copied from platform/wx/FontCacheWx.cpp.
1300 * platform/graphics/wx/FontDataWx.cpp: Copied from platform/wx/FontDataWx.cpp.
1301 * platform/graphics/wx/FontPlatformData.h: Copied from platform/wx/FontPlatformData.h.
1302 * platform/graphics/wx/FontPlatformDataWx.cpp: Copied from platform/wx/FontPlatformDataWx.cpp.
1303 * platform/graphics/wx/FontWx.cpp: Copied from platform/wx/FontWx.cpp.
1304 * platform/graphics/wx/GlyphMapWx.cpp: Copied from platform/wx/GlyphMapWx.cpp.
1305 * platform/gtk/FontCacheGtk.cpp: Removed.
1306 * platform/gtk/FontDataGtk.cpp: Removed.
1307 * platform/gtk/FontGtk.cpp: Removed.
1308 * platform/gtk/FontPlatformData.h: Removed.
1309 * platform/gtk/FontPlatformDataGtk.cpp: Removed.
1310 * platform/gtk/GlyphPageTreeNodeGtk.cpp: Removed.
1311 * platform/gtk/TextBreakIteratorInternalICUGtk.cpp: Removed.
1312 * platform/mac/FontCacheMac.mm: Removed.
1313 * platform/mac/FontCustomPlatformData.cpp: Removed.
1314 * platform/mac/FontCustomPlatformData.h: Removed.
1315 * platform/mac/FontDataMac.mm: Removed.
1316 * platform/mac/FontMac.mm: Removed.
1317 * platform/mac/FontPlatformData.h: Removed.
1318 * platform/mac/FontPlatformDataMac.mm: Removed.
1319 * platform/mac/GlyphPageTreeNodeMac.cpp: Removed.
1320 * platform/mac/ShapeArabic.c: Removed.
1321 * platform/mac/ShapeArabic.h: Removed.
1322 * platform/mac/StringImplMac.mm: Removed.
1323 * platform/mac/StringMac.mm: Removed.
1324 * platform/mac/TextBoundaries.mm: Removed.
1325 * platform/mac/TextBreakIteratorInternalICUMac.mm: Removed.
1326 * platform/mac/TextCodecMac.cpp: Removed.
1327 * platform/mac/TextCodecMac.h: Removed.
1328 * platform/mac/character-sets.txt: Removed.
1329 * platform/mac/mac-encodings.txt: Removed.
1330 * platform/mac/make-charset-table.pl: Removed.
1331 * platform/qt/FontCacheQt.cpp: Removed.
1332 * platform/qt/FontCustomPlatformData.cpp: Removed.
1333 * platform/qt/FontCustomPlatformData.h: Removed.
1334 * platform/qt/FontDataQt.cpp: Removed.
1335 * platform/qt/FontPlatformData.h: Removed.
1336 * platform/qt/FontQt.cpp: Removed.
1337 * platform/qt/GlyphPageTreeNodeQt.cpp: Removed.
1338 * platform/qt/StringQt.cpp: Removed.
1339 * platform/qt/TextBoundaries.cpp: Removed.
1340 * platform/qt/TextBreakIteratorQt.cpp: Removed.
1341 * platform/qt/TextCodecQt.cpp: Removed.
1342 * platform/qt/TextCodecQt.h: Removed.
1343 * platform/symbian/StringImplSymbian.cpp: Removed.
1344 * platform/symbian/StringSymbian.cpp: Removed.
1345 * platform/text/cf: Added.
1346 * platform/text/cf/StringCF.cpp: Copied from platform/cf/StringCF.cpp.
1347 * platform/text/cf/StringImplCF.cpp: Copied from platform/cf/StringImplCF.cpp.
1348 * platform/text/gtk: Added.
1349 * platform/text/gtk/TextBreakIteratorInternalICUGtk.cpp: Copied from platform/gtk/TextBreakIteratorInternalICUGtk.cpp.
1350 * platform/text/mac/ShapeArabic.c: Copied from platform/mac/ShapeArabic.c.
1351 * platform/text/mac/ShapeArabic.h: Copied from platform/mac/ShapeArabic.h.
1352 * platform/text/mac/StringImplMac.mm: Copied from platform/mac/StringImplMac.mm.
1353 * platform/text/mac/StringMac.mm: Copied from platform/mac/StringMac.mm.
1354 * platform/text/mac/TextBoundaries.mm: Copied from platform/mac/TextBoundaries.mm.
1355 * platform/text/mac/TextBreakIteratorInternalICUMac.mm: Copied from platform/mac/TextBreakIteratorInternalICUMac.mm.
1356 * platform/text/mac/TextCodecMac.cpp: Copied from platform/mac/TextCodecMac.cpp.
1357 * platform/text/mac/TextCodecMac.h: Copied from platform/mac/TextCodecMac.h.
1358 * platform/text/mac/character-sets.txt: Copied from platform/mac/character-sets.txt.
1359 * platform/text/mac/mac-encodings.txt: Copied from platform/mac/mac-encodings.txt.
1360 * platform/text/mac/make-charset-table.pl: Copied from platform/mac/make-charset-table.pl.
1361 * platform/text/qt: Added.
1362 * platform/text/qt/StringQt.cpp: Copied from platform/qt/StringQt.cpp.
1363 * platform/text/qt/TextBoundaries.cpp: Copied from platform/qt/TextBoundaries.cpp.
1364 * platform/text/qt/TextBreakIteratorQt.cpp: Copied from platform/qt/TextBreakIteratorQt.cpp.
1365 * platform/text/qt/TextCodecQt.cpp: Copied from platform/qt/TextCodecQt.cpp.
1366 * platform/text/qt/TextCodecQt.h: Copied from platform/qt/TextCodecQt.h.
1367 * platform/text/symbian: Added.
1368 * platform/text/symbian/StringImplSymbian.cpp: Copied from platform/symbian/StringImplSymbian.cpp.
1369 * platform/text/symbian/StringSymbian.cpp: Copied from platform/symbian/StringSymbian.cpp.
1370 * platform/text/win: Added.
1371 * platform/text/win/TextBreakIteratorInternalICUWin.cpp: Copied from platform/win/TextBreakIteratorInternalICUWin.cpp.
1372 * platform/text/wx: Added.
1373 * platform/text/wx/StringWx.cpp: Copied from platform/wx/StringWx.cpp.
1374 * platform/win/FontCacheWin.cpp: Removed.
1375 * platform/win/FontCustomPlatformData.cpp: Removed.
1376 * platform/win/FontCustomPlatformData.h: Removed.
1377 * platform/win/FontDataWin.cpp: Removed.
1378 * platform/win/FontDatabase.cpp: Removed.
1379 * platform/win/FontDatabase.h: Removed.
1380 * platform/win/FontPlatformData.h: Removed.
1381 * platform/win/FontPlatformDataWin.cpp: Removed.
1382 * platform/win/FontWin.cpp: Removed.
1383 * platform/win/GlyphPageTreeNodeWin.cpp: Removed.
1384 * platform/win/TextBreakIteratorInternalICUWin.cpp: Removed.
1385 * platform/wx/FontCacheWx.cpp: Removed.
1386 * platform/wx/FontDataWx.cpp: Removed.
1387 * platform/wx/FontPlatformData.h: Removed.
1388 * platform/wx/FontPlatformDataWx.cpp: Removed.
1389 * platform/wx/FontWx.cpp: Removed.
1390 * platform/wx/GlyphMapWx.cpp: Removed.
1391 * platform/wx/StringWx.cpp: Removed.
1394 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1396 Build fix for wx port. Adding editing/RemoveFormatCommand.cpp
1398 * WebCoreSources.bkl:
1400 2007-11-30 Simon Hausmann <hausmann@webkit.org>
1402 Reviewed by Adam Roben.
1404 Fix the build with DATABASE=0.
1406 * page/Settings.cpp:
1407 (WebCore::Settings::setDefaultDatabaseOriginQuota):
1408 (WebCore::Settings::defaultDatabaseOriginQuota):
1410 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
1412 Rubber stamped by Darin.
1414 Fix misplaced file. The name "FontStyle" is not correct though - it probably
1415 needs yet another move - but this time inside platform/graphics - as soon
1416 as we agree on a better name.
1418 * WebCore.xcodeproj/project.pbxproj:
1419 * platform/graphics/FontStyle.h: Copied from platform/text/FontStyle.h.
1420 * platform/text/FontStyle.h: Removed.
1422 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
1426 Rename "FontStyle FontStyle(...)" to "FontStyle fontStyle(...)".
1427 I scripted a bit too much while doing the TextStyle -> FontStyle change.
1429 * platform/win/PopupMenuWin.cpp:
1430 (WebCore::PopupMenu::paint):
1431 * rendering/EllipsisBox.cpp:
1432 (WebCore::EllipsisBox::paint):
1433 * rendering/RenderFileUploadControl.cpp:
1434 (WebCore::RenderFileUploadControl::paintObject):
1435 * rendering/RenderListBox.cpp:
1436 (WebCore::RenderListBox::updateFromElement):
1437 (WebCore::RenderListBox::paintItemForeground):
1438 * rendering/RenderTextControl.cpp:
1439 (WebCore::RenderTextControl::setStyle):
1440 (WebCore::RenderTextControl::createInnerTextStyle):
1441 (WebCore::RenderTextControl::createSubtreeIfNeeded):
1442 * rendering/RenderTextControl.h:
1443 * rendering/SVGRootInlineBox.cpp:
1444 (WebCore::svgFontStyleForInlineTextBox):
1446 2007-11-30 Alp Toker <alp@atoker.com>
1448 GTK+ build fix following the recent text reorganization.
1452 2007-11-29 Jon Honeycutt <jhoneycutt@apple.com>
1456 Part of <rdar://problem/5506522> Seed: cannot type into text box in
1457 Facebook, don't see plugin content (Adobe Flash)
1459 * plugins/win/PluginViewWin.cpp:
1460 (WebCore::PluginViewWin::handleMouseEvent): Focus the plugin's parent
1463 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
1465 Not reviewed. Trying to fix gtk/qt/wx build. (I expected problems because of the moves)
1470 2007-11-30 Nikolas Zimmermann <zimmermann@kde.org>
1472 Rubber stamped by Brady.
1474 Started platform reorganization (platform/text addition).
1475 Moving string/text/font related classes into new places - as discussed on webkit-dev.
1477 In a follow-up commit I'll move classes out of platform/{mac,win,...} into
1478 platform/text/{mac,win,...}, and also do the ksvg2/ -> svg/ move.
1482 * WebCore.vcproj/WebCore.vcproj:
1483 * WebCore.xcodeproj/project.pbxproj:
1484 * WebCoreSources.bkl:
1485 * editing/ReplaceSelectionCommand.cpp:
1486 (WebCore::ReplacementFragment::insertFragmentForTestRendering):
1487 * platform/AtomicString.cpp: Removed.
1488 * platform/AtomicString.h: Removed.
1489 * platform/AtomicStringImpl.h: Removed.
1490 * platform/Base64.cpp: Removed.
1491 * platform/Base64.h: Removed.
1492 * platform/BidiContext.cpp: Removed.
1493 * platform/BidiContext.h: Removed.
1494 * platform/BidiResolver.h: Removed.
1495 * platform/CString.cpp: Removed.
1496 * platform/CString.h: Removed.
1497 * platform/CharacterNames.h: Removed.
1498 * platform/CharsetData.h: Removed.
1499 * platform/Font.cpp: Removed.
1500 * platform/Font.h: Removed.
1501 * platform/FontCache.cpp: Removed.
1502 * platform/FontCache.h: Removed.
1503 * platform/FontData.cpp: Removed.
1504 * platform/FontData.h: Removed.
1505 * platform/FontDescription.h: Removed.
1506 * platform/FontFallbackList.cpp: Removed.
1507 * platform/FontFallbackList.h: Removed.
1508 * platform/FontFamily.cpp: Removed.
1509 * platform/FontFamily.h: Removed.
1510 * platform/FontSelector.h: Removed.
1511 * platform/GlyphBuffer.h: Removed.
1512 * platform/GlyphPageTreeNode.cpp: Removed.
1513 * platform/GlyphPageTreeNode.h: Removed.
1514 * platform/GlyphWidthMap.cpp: Removed.
1515 * platform/GlyphWidthMap.h: Removed.
1516 * platform/PlatformString.h: Removed.
1517 * platform/RegularExpression.cpp: Removed.
1518 * platform/RegularExpression.h: Removed.
1519 * platform/SegmentedString.cpp: Removed.
1520 * platform/SegmentedString.h: Removed.
1521 * platform/String.cpp: Removed.
1522 * platform/StringHash.h: Removed.
1523 * platform/StringImpl.cpp: Removed.
1524 * platform/StringImpl.h: Removed.
1525 * platform/StringTruncator.cpp: Removed.
1526 * platform/StringTruncator.h: Removed.
1527 * platform/TextBoundaries.h: Removed.
1528 * platform/TextBoundariesICU.cpp: Removed.
1529 * platform/TextBreakIterator.h: Removed.
1530 * platform/TextBreakIteratorICU.cpp: Removed.
1531 * platform/TextBreakIteratorInternalICU.h: Removed.
1532 * platform/TextCodec.cpp: Removed.
1533 * platform/TextCodec.h: Removed.
1534 * platform/TextCodecICU.cpp: Removed.
1535 * platform/TextCodecICU.h: Removed.
1536 * platform/TextCodecLatin1.cpp: Removed.
1537 * platform/TextCodecLatin1.h: Removed.
1538 * platform/TextCodecUTF16.cpp: Removed.
1539 * platform/TextCodecUTF16.h: Removed.
1540 * platform/TextCodecUserDefined.cpp: Removed.
1541 * platform/TextCodecUserDefined.h: Removed.
1542 * platform/TextDecoder.cpp: Removed.
1543 * platform/TextDecoder.h: Removed.
1544 * platform/TextDirection.h: Removed.
1545 * platform/TextEncoding.cpp: Removed.
1546 * platform/TextEncoding.h: Removed.
1547 * platform/TextEncodingRegistry.cpp: Removed.
1548 * platform/TextEncodingRegistry.h: Removed.
1549 * platform/TextStream.cpp: Removed.
1550 * platform/TextStream.h: Removed.
1551 * platform/TextStyle.h: Removed.
1552 * platform/UnicodeRange.cpp: Removed.
1553 * platform/UnicodeRange.h: Removed.
1554 * platform/graphics/Font.cpp: Copied from platform/Font.cpp.
1555 (WebCore::WidthIterator::WidthIterator):
1556 (WebCore::Font::width):
1557 (WebCore::Font::drawSimpleText):
1558 (WebCore::Font::drawGlyphBuffer):
1559 (WebCore::Font::drawText):
1560 (WebCore::Font::floatWidth):
1561 (WebCore::Font::floatWidthForSimpleText):
1562 (WebCore::Font::selectionRectForText):
1563 (WebCore::Font::selectionRectForSimpleText):
1564 (WebCore::Font::offsetForPosition):
1565 (WebCore::Font::offsetForPositionForSimpleText):
1566 * platform/graphics/Font.h: Copied from platform/Font.h.
1567 * platform/graphics/FontCache.cpp: Copied from platform/FontCache.cpp.
1568 * platform/graphics/FontCache.h: Copied from platform/FontCache.h.
1569 * platform/graphics/FontData.cpp: Copied from platform/FontData.cpp.
1570 * platform/graphics/FontData.h: Copied from platform/FontData.h.
1571 * platform/graphics/FontDescription.h: Copied from platform/FontDescription.h.
1572 * platform/graphics/FontFallbackList.cpp: Copied from platform/FontFallbackList.cpp.
1573 * platform/graphics/FontFallbackList.h: Copied from platform/FontFallbackList.h.
1574 * platform/graphics/FontFamily.cpp: Copied from platform/FontFamily.cpp.
1575 * platform/graphics/FontFamily.h: Copied from platform/FontFamily.h.
1576 * platform/graphics/FontSelector.h: Copied from platform/FontSelector.h.
1577 * platform/graphics/GlyphBuffer.h: Copied from platform/GlyphBuffer.h.
1578 * platform/graphics/GlyphPageTreeNode.cpp: Copied from platform/GlyphPageTreeNode.cpp.
1579 * platform/graphics/GlyphPageTreeNode.h: Copied from platform/GlyphPageTreeNode.h.
1580 * platform/graphics/GlyphWidthMap.cpp: Copied from platform/GlyphWidthMap.cpp.
1581 * platform/graphics/GlyphWidthMap.h: Copied from platform/GlyphWidthMap.h.
1582 * platform/graphics/GraphicsContext.cpp:
1583 (WebCore::GraphicsContext::drawText):
1584 (WebCore::GraphicsContext::drawBidiText):
1585 (WebCore::GraphicsContext::drawHighlightForText):
1586 * platform/graphics/GraphicsContext.h:
1587 * platform/graphics/StringTruncator.cpp: Copied from platform/StringTruncator.cpp.
1588 (WebCore::stringWidth):
1589 * platform/graphics/StringTruncator.h: Copied from platform/StringTruncator.h.
1590 * platform/graphics/qt/GraphicsContextQt.cpp:
1591 * platform/gtk/FontGtk.cpp:
1592 (WebCore::Font::drawComplexText):
1593 (WebCore::Font::floatWidthForComplexText):
1594 (WebCore::Font::offsetForPositionForComplexText):
1595 (WebCore::Font::selectionRectForComplexText):
1596 * platform/mac/FontMac.mm:
1597 (WebCore::ATSULayoutParameters::ATSULayoutParameters):
1598 (WebCore::Font::selectionRectForComplexText):
1599 (WebCore::Font::drawComplexText):
1600 (WebCore::Font::floatWidthForComplexText):
1601 (WebCore::Font::offsetForPositionForComplexText):
1602 * platform/mac/WebCoreTextRenderer.mm:
1603 (WebCoreDrawTextAtPoint):
1604 (WebCoreTextFloatWidth):
1605 * platform/qt/FontQt.cpp:
1606 (WebCore::generateComponents):
1607 (WebCore::Font::drawText):
1608 (WebCore::Font::width):
1609 (WebCore::Font::floatWidth):
1610 (WebCore::Font::offsetForPosition):
1611 (WebCore::cursorToX):
1612 (WebCore::Font::selectionRectForText):
1613 * platform/text: Added.
1614 * platform/text/AtomicString.cpp: Copied from platform/AtomicString.cpp.
1615 * platform/text/AtomicString.h: Copied from platform/AtomicString.h.
1616 * platform/text/AtomicStringImpl.h: Copied from platform/AtomicStringImpl.h.
1617 * platform/text/Base64.cpp: Copied from platform/Base64.cpp.
1618 * platform/text/Base64.h: Copied from platform/Base64.h.
1619 * platform/text/BidiContext.cpp: Copied from platform/BidiContext.cpp.
1620 * platform/text/BidiContext.h: Copied from platform/BidiContext.h.
1621 * platform/text/BidiResolver.h: Copied from platform/BidiResolver.h.
1622 * platform/text/CString.cpp: Copied from platform/CString.cpp.
1623 * platform/text/CString.h: Copied from platform/CString.h.
1624 * platform/text/CharacterNames.h: Copied from platform/CharacterNames.h.
1625 * platform/text/FontStyle.h: Copied from platform/TextStyle.h.
1626 (WebCore::FontStyle::FontStyle):
1627 * platform/text/PlatformString.h: Copied from platform/PlatformString.h.
1628 * platform/text/RegularExpression.cpp: Copied from platform/RegularExpression.cpp.
1629 * platform/text/RegularExpression.h: Copied from platform/RegularExpression.h.
1630 * platform/text/SegmentedString.cpp: Copied from platform/SegmentedString.cpp.
1631 * platform/text/SegmentedString.h: Copied from platform/SegmentedString.h.
1632 * platform/text/String.cpp: Copied from platform/String.cpp.
1633 * platform/text/StringHash.h: Copied from platform/StringHash.h.
1634 * platform/text/StringImpl.cpp: Copied from platform/StringImpl.cpp.
1635 * platform/text/StringImpl.h: Copied from platform/StringImpl.h.
1636 * platform/text/TextBoundaries.h: Copied from platform/TextBoundaries.h.
1637 * platform/text/TextBoundariesICU.cpp: Copied from platform/TextBoundariesICU.cpp.
1638 (WebCore::findNextWordFromIndex):
1639 * platform/text/TextBreakIterator.h: Copied from platform/TextBreakIterator.h.
1640 * platform/text/TextBreakIteratorICU.cpp: Copied from platform/TextBreakIteratorICU.cpp.
1641 * platform/text/TextBreakIteratorInternalICU.h: Copied from platform/TextBreakIteratorInternalICU.h.
1642 * platform/text/TextCodec.cpp: Copied from platform/TextCodec.cpp.
1643 * platform/text/TextCodec.h: Copied from platform/TextCodec.h.
1644 * platform/text/TextCodecICU.cpp: Copied from platform/TextCodecICU.cpp.
1645 * platform/text/TextCodecICU.h: Copied from platform/TextCodecICU.h.
1646 * platform/text/TextCodecLatin1.cpp: Copied from platform/TextCodecLatin1.cpp.
1647 * platform/text/TextCodecLatin1.h: Copied from platform/TextCodecLatin1.h.
1648 * platform/text/TextCodecUTF16.cpp: Copied from platform/TextCodecUTF16.cpp.
1649 * platform/text/TextCodecUTF16.h: Copied from platform/TextCodecUTF16.h.
1650 * platform/text/TextCodecUserDefined.cpp: Copied from platform/TextCodecUserDefined.cpp.
1651 * platform/text/TextCodecUserDefined.h: Copied from platform/TextCodecUserDefined.h.
1652 * platform/text/TextDecoder.cpp: Copied from platform/TextDecoder.cpp.
1653 * platform/text/TextDecoder.h: Copied from platform/TextDecoder.h.
1654 * platform/text/TextDirection.h: Copied from platform/TextDirection.h.
1655 * platform/text/TextEncoding.cpp: Copied from platform/TextEncoding.cpp.
1656 * platform/text/TextEncoding.h: Copied from platform/TextEncoding.h.
1657 * platform/text/TextEncodingRegistry.cpp: Copied from platform/TextEncodingRegistry.cpp.
1658 * platform/text/TextEncodingRegistry.h: Copied from platform/TextEncodingRegistry.h.
1659 * platform/text/TextStream.cpp: Copied from platform/TextStream.cpp.
1660 * platform/text/TextStream.h: Copied from platform/TextStream.h.
1661 * platform/text/UnicodeRange.cpp: Copied from platform/UnicodeRange.cpp.
1662 * platform/text/UnicodeRange.h: Copied from platform/UnicodeRange.h.
1663 * platform/text/mac: Added.
1664 * platform/text/mac/CharsetData.h: Copied from platform/CharsetData.h.
1665 * platform/win/FontWin.cpp:
1666 (WebCore::Font::selectionRectForComplexText):
1667 (WebCore::Font::drawComplexText):
1668 (WebCore::Font::floatWidthForComplexText):
1669 (WebCore::Font::offsetForPositionForComplexText):
1670 * platform/win/PopupMenuWin.cpp:
1671 (WebCore::PopupMenu::paint):
1672 * platform/win/UniscribeController.cpp:
1673 (WebCore::UniscribeController::UniscribeController):
1674 * platform/win/UniscribeController.h:
1675 * platform/win/WebCoreTextRenderer.cpp:
1676 (WebCore::doDrawTextAtPoint):
1677 * platform/wx/FontWx.cpp:
1678 (WebCore::Font::selectionRectForComplexText):
1679 (WebCore::Font::drawComplexText):
1680 (WebCore::Font::floatWidthForComplexText):
1681 (WebCore::Font::offsetForPositionForComplexText):
1682 * rendering/EllipsisBox.cpp:
1683 (WebCore::EllipsisBox::paint):
1684 * rendering/InlineTextBox.cpp:
1685 (WebCore::InlineTextBox::selectionRect):
1686 (WebCore::InlineTextBox::paint):
1687 (WebCore::InlineTextBox::paintSelection):
1688 (WebCore::InlineTextBox::paintCompositionBackground):
1689 (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
1690 (WebCore::InlineTextBox::paintTextMatchMarker):
1691 (WebCore::InlineTextBox::offsetForPosition):
1692 (WebCore::InlineTextBox::positionForOffset):
1693 * rendering/RenderFileUploadControl.cpp:
1694 (WebCore::RenderFileUploadControl::paintObject):
1695 (WebCore::RenderFileUploadControl::calcPrefWidths):
1696 * rendering/RenderImage.cpp:
1697 * rendering/RenderListBox.cpp:
1698 (WebCore::RenderListBox::updateFromElement):
1699 (WebCore::RenderListBox::paintItemForeground):
1700 * rendering/RenderMenuList.cpp:
1701 (WebCore::RenderMenuList::updateOptionsWidth):
1702 * rendering/RenderText.cpp:
1703 (WebCore::RenderText::widthFromCache):
1704 (WebCore::RenderText::calcPrefWidths):
1705 (WebCore::RenderText::width):
1706 * rendering/RenderTextControl.cpp:
1707 (WebCore::RenderTextControl::setStyle):
1708 (WebCore::RenderTextControl::createInnerFontStyle):
1709 (WebCore::RenderTextControl::createSubtreeIfNeeded):
1710 (WebCore::RenderTextControl::calcPrefWidths):
1711 * rendering/RenderTextControl.h:
1712 * rendering/SVGInlineTextBox.cpp:
1713 (WebCore::SVGInlineTextBox::calculateGlyphWidth):
1714 (WebCore::SVGInlineTextBox::paintCharacters):
1715 (WebCore::SVGInlineTextBox::paintSelection):
1716 * rendering/SVGRootInlineBox.cpp:
1717 (WebCore::cummulatedWidthOfInlineBoxCharacterRange):
1718 (WebCore::svgFontStyleForInlineTextBox):
1719 * rendering/SVGRootInlineBox.h:
1721 2007-11-30 Adele Peterson <adele@apple.com>
1725 Fix for http://bugs.webkit.org/show_bug.cgi?id=16072
1726 <rdar://problem/5463821> REGRESSION: Mousemove event isn't fired when mouse moves over scrollbar with pressed button (16072)
1728 Test: fast/events/mousemove-after-drag-over-scrollbar.html
1730 * page/EventHandler.cpp:
1731 (WebCore::EventHandler::handleMouseMoveEvent): If the mouse is pressed, and we've moved over a new scrollbar, then we can clear m_lastScrollbarUnderMouse.
1732 We should only need to show the hover effect when the mouse isn't pressed.
1734 2007-11-29 Brady Eidson <beidson@apple.com>
1738 Part of <rdar://problem/5556377> - Need to accurately track and enforce database quota
1740 SQLite has the ability to enforce the page usage for databases. This gives us bulletproof
1741 enforcement of the database size limit with reasonable granularity (within 1023 bytes by
1742 default on OS X with SQLite 3.4.0)
1744 This also involved enhancing the ability to install/remove the authorizer to run the PRAGMA
1747 Note this patch does not actually use the new maximumSize() functionality of the
1748 SQLiteDatabase class - that can be reviewed/landed seperately
1750 * platform/sql/SQLiteDatabase.cpp:
1751 (WebCore::SQLiteDatabase::SQLiteDatabase):
1752 (WebCore::SQLiteDatabase::maximumSize): Return the current maximum size in bytes
1753 (WebCore::SQLiteDatabase::setMaximumSize): Based on m_pageSize, set the maximum page count
1754 to enforce the maximum size in bytes
1755 (WebCore::SQLiteDatabase::pageSize): Fetch m_pageSize if it hasn't been fetched, or return
1757 (WebCore::SQLiteDatabase::setAuthorizer): Use enableAuthorizer for the sqlite_* level
1759 (WebCore::SQLiteDatabase::enableAuthorizer): Install or remove the sqlite authorizer handler
1760 * platform/sql/SQLiteDatabase.h: Add the m_pageSize member so we only have to fetch it once
1762 2007-11-29 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1766 * Fix fast/events/mousedown_in_scrollbar.html
1767 * This test used to crash in PlatformScrollbarQt::mouse*Event due parent() returning 0.
1768 * Extend the current check that the scrollbar in the mev can be go away.
1769 This happens if we destroy a RenderLayer as the result of a click. In the
1770 case of Qt we can have this scrollbar in m_lastScrollbarUnderMouse. The RenderLayer
1771 is the ScrollbarClient, m_lastScrollbarUnderMouse is a RefPtr and keeps the
1772 last reference. When calling into this scrollbar the m_client pointer is a dangling pointer.
1773 We extend the check to set m_lastScrollbarUnderMouse back to zero when it was the
1774 scrollbar in the old mev and is gone in the new one.
1775 * This happens only on the Qt port because we send more/different move events.
1777 * page/EventHandler.cpp:
1778 (WebCore::EventHandler::handleMousePressEvent):
1780 2007-11-29 Antti Koivisto <antti@apple.com>
1784 Fix aspect ratio calculation of video.
1786 Video should always be treated as a replaced element in size calculation.
1788 Test: media/video-aspect-ratio.html
1790 * rendering/RenderBox.cpp:
1791 (WebCore::RenderBox::calcWidth):
1792 (WebCore::RenderBox::calcHeight):
1793 * rendering/RenderBox.h:
1794 (WebCore::RenderBox::shouldCalculateSizeAsReplaced):
1795 * rendering/RenderMedia.h:
1796 (WebCore::RenderMedia::shouldCalculateSizeAsReplaced):
1798 2007-11-29 Sam Weinig <sam@webkit.org>
1802 Additional fix for <rdar://problem/5592988> / http://bugs.webkit.org/show_bug.cgi?id=15936
1803 - More closely match IE's policy for frame navigation.
1805 * bindings/js/kjs_window.cpp:
1806 (KJS::WindowProtoFuncOpen::callAsFunction):
1807 * loader/FrameLoader.cpp:
1808 (WebCore::FrameLoader::shouldAllowNavigation):
1809 * page/FrameTree.cpp:
1810 (WebCore::FrameTree::top):
1813 2007-11-29 Dan Bernstein <mitz@apple.com>
1815 Reviewed by Adam Roben and John Sullivan.
1817 - make the recent searches popup extend only along the straight part of
1818 the search field (unless it needs to be wider).
1820 * platform/PopupMenuClient.h:
1821 Added clientInsetLeft() and clientInsetRight() for clients to
1822 specify desired horizontal insets for the menu.
1823 * platform/win/PopupMenuWin.cpp:
1824 (WebCore::PopupMenu::calculatePositionAndSize):
1825 (WebCore::PopupMenu::paint):
1826 * rendering/RenderMenuList.cpp:
1827 (WebCore::RenderMenuList::clientInsetLeft): Added. Returns 0.
1828 (WebCore::RenderMenuList::clientInsetRight): Ditto.
1829 * rendering/RenderMenuList.h:
1830 * rendering/RenderTextControl.cpp:
1831 (WebCore::RenderTextControl::clientInsetLeft): Added. Returns half the
1832 control's height, which is the radius of the cap on the left.
1833 (WebCore::RenderTextControl::clientInsetRight): Added.
1834 * rendering/RenderTextControl.h:
1836 2007-11-30 Alp Toker <alp@atoker.com>
1840 http://bugs.webkit.org/show_bug.cgi?id=16173
1843 Change license from BSD to LGPL.
1845 This is being done to encourage vendors to contribute their fixes back
1848 * platform/graphics/gtk/ColorGtk.cpp:
1849 * platform/graphics/gtk/IntPointGtk.cpp:
1850 * platform/graphics/gtk/IntRectGtk.cpp:
1851 * platform/graphics/svg/cairo/RenderPathCairo.cpp:
1852 * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp:
1853 * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp:
1854 * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp:
1855 * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp:
1856 * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp:
1857 * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp:
1858 * platform/gtk/Language.cpp:
1859 * platform/gtk/LoggingGtk.cpp:
1860 * platform/gtk/SoundGtk.cpp:
1861 * platform/gtk/SystemTimeGtk.cpp:
1862 * platform/gtk/TextBreakIteratorInternalICUGtk.cpp:
1864 2007-11-29 Darin Adler <darin@apple.com>
1868 - fix http://bugs.webkit.org/show_bug.cgi?id=16191
1869 REGRESSION: cannot tab to radio input after setting checked to false
1871 Test: fast/forms/input-radio-checked-tab.html
1873 * html/HTMLFormElement.cpp:
1874 (WebCore::HTMLFormElement::CheckedRadioButtons::addButton): Fix this code
1875 so that it doesn't call setChecked(false) until after the map has been updated.
1876 Otherwise, we can end up deallocating the map before manipulating it. As long
1877 as I was changing the function, I decided to make it do only a single hash
1880 * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::setChecked):
1881 Remove the button from the radio buttons set before changing the checked
1882 state. This matches the idiom used elsewhere and fixes the problem where
1883 setting checked to false would not remove it from the set.
1885 2007-11-29 Justin Garcia <justin.garcia@apple.com>
1887 Reviewed by Darin Adler.
1889 <rdar://problem/5620093> Brief hang when Safari caches page text of XML document
1891 * editing/TextIterator.cpp:
1892 (WebCore::TextIterator::representNodeOffsetZero): When we haven't been emitting any
1893 characters, shouldRepresentNodeOffsetZero() can create VisiblePositions, which is
1894 expensive. So, we perform the inexpensive checks on m_node to see if it necessitates
1895 emitting a character first and will early return before encountering
1896 shouldRepresentNodeOffsetZero()s worse case behavior.
1898 2007-11-29 Anders Carlsson <andersca@apple.com>
1902 Don't install event handlers or set the zoom cursor if auto-shrink has been disabled.
1904 * loader/ImageDocument.cpp:
1905 (WebCore::ImageDocument::createDocumentStructure):
1906 (WebCore::ImageDocument::imageChanged):
1908 2007-11-29 Beth Dakin <bdakin@apple.com>
1912 Fix for <rdar://problem/5620151> Disable JavaScript for SVG as
1913 image for <img> and CSS images
1915 * platform/graphics/svg/SVGImage.cpp:
1916 (WebCore::SVGImage::dataChanged): When we create the empty clients,
1917 explicitly disable JavaScript in the settings.
1919 2007-11-29 Brady Eidson <beidson@apple.com>
1923 Support for <rdar://problem/5556381> and <rdar://problem/5556379>
1925 The Database feature in the engine needs to support delegate calls for policy decisions and
1926 also provide notifications when origins and databases change their state.
1928 This patch also polishes off the missing features of the management API
1930 * page/Chrome.cpp: Implement the two UIDelegate methods
1931 (WebCore::Chrome::requestQuotaIncreaseForNewDatabase): Ask for more space to create a new database if it won't fit
1932 (WebCore::Chrome::requestQuotaIncreaseForDatabaseOperation): Ask for more space to complete an in-progress operation
1934 * page/ChromeClient.h:
1935 * platform/graphics/svg/SVGImageEmptyClients.h:
1936 (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForNewDatabase):
1937 (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForDatabaseOperation):
1939 * storage/Database.cpp:
1940 (WebCore::Database::openDatabase): Check to see if this database can be opened - the quota must be high
1941 enough and if it isn't, the UIDelegate should have a change to bump the quota.
1942 Also update the UI-relevant details (display name and estimated size) upon successful opening of the database
1944 * storage/DatabaseDetails.h: Remove the version parameter as it is a programatic detail of a
1945 site database and is not important to API clients
1946 (WebCore::DatabaseDetails::DatabaseDetails):
1947 (WebCore::DatabaseDetails::isValid):
1948 (WebCore::DatabaseDetails::name):
1950 * storage/DatabaseTracker.cpp:
1951 (WebCore::DatabaseTracker::openTrackerDatabase): Tweaked the schema here - there was a horrible bug with the old schema that would
1952 prevent you from having two databases of the same name from two different origins. Also simplify the origin-management schema
1953 (WebCore::DatabaseTracker::canEstablishDatabase): Added. Does some estimated size vs quota checks, and asks the UI delegate for
1954 more space if necessary
1955 (WebCore::DatabaseTracker::hasEntryForOrigin):
1956 (WebCore::DatabaseTracker::establishEntryForOrigin): Establishes a tracker entry for the given origin with the current default quota
1957 Also notifies the client of the new origin
1958 (WebCore::DatabaseTracker::setDatabaseDetails): Update the display name and estimated size for the given database
1959 (WebCore::DatabaseTracker::fullPathForDatabase): Tweak to add the ability to get the path without creating it - for management purposes
1960 (WebCore::DatabaseTracker::populateOrigins): Populate origins from the Origins table instead of the Databases table
1961 (WebCore::DatabaseTracker::origins):
1962 (WebCore::DatabaseTracker::detailsForNameAndOrigin): For API management
1963 (WebCore::DatabaseTracker::usageForDatabase):
1964 (WebCore::DatabaseTracker::usageForOrigin):
1965 (WebCore::DatabaseTracker::quotaForOrigin):
1966 (WebCore::DatabaseTracker::setQuota): Notify the client
1967 (WebCore::DatabaseTracker::addDatabase): Notify the client
1968 (WebCore::DatabaseTracker::deleteAllDatabases):
1969 (WebCore::DatabaseTracker::deleteDatabasesWithOrigin):
1970 (WebCore::DatabaseTracker::deleteDatabase):
1971 (WebCore::DatabaseTracker::deleteDatabaseFile):
1972 * storage/DatabaseTracker.h:
1974 2007-11-29 Dan Bernstein <mitz@apple.com>
1976 Reviewed by Beth Dakin and Darin Adler.
1978 - manual test for <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
1980 * manual-tests/context-click-unfocused-frame.html: Added.
1982 2007-11-28 Antti Koivisto <antti@apple.com>
1986 Fallback content inside media elements should not be rendered.
1988 Test: media/fallback.html
1990 * rendering/RenderMedia.h:
1991 (WebCore::RenderMedia::canHaveChildren):
1993 2007-11-28 Mark Rowe <mrowe@apple.com>
1997 * WebCore.vcproj/WebCore.vcproj:
1999 2007-11-28 Mark Rowe <mrowe@apple.com>
2005 2007-11-28 Antti Koivisto <antti@apple.com>
2009 Make QTMovieView fill color transparent. This behavior matches the specification
2010 (and allows nice alpha blended video).
2012 * platform/graphics/mac/MoviePrivateQTKit.mm:
2013 (WebCore::MoviePrivate::createQTMovieView):
2015 2007-11-28 Antti Koivisto <antti@apple.com>
2019 Test: media/video-controls.html
2021 <rdar://problem/5605668>
2022 Implement controls attribute for video element
2024 - Add RenderMedia and make RenderVideo its subclass. Controls code goes to RenderMedia while
2025 video specific (painting etc) code stays in RenderVideo. For example audio controls can be implemented
2026 later by just instantiating RenderMedia as renderer.
2027 - Make media renderer hierarchy inherit from RenderBlock instead of RenderReplaced so it can
2028 have child nodes (for controls).
2029 - Controls are implemented as a shadow DOM.
2030 - Current look is a placeholder. It is defined purely in CSS.
2031 - Some things like volume controls are not yet implemented.
2032 - Fade-in/out is done manually, CSS animations don't work well in shadow trees.
2034 * WebCore.xcodeproj/project.pbxproj:
2036 * html/HTMLMediaElement.cpp:
2037 (WebCore::HTMLMediaElement::attributeChanged):
2038 (WebCore::HTMLMediaElement::updateMovie):
2039 (WebCore::HTMLMediaElement::defaultEventHandler):
2040 * html/HTMLMediaElement.h:
2041 * rendering/RenderMedia.cpp: Added.
2042 (WebCore::MediaControlShadowRootElement::MediaControlShadowRootElement):
2043 (WebCore::MediaControlShadowRootElement::isShadowNode):
2044 (WebCore::MediaControlShadowRootElement::shadowParentNode):
2045 (WebCore::MediaControlInputElement::MediaControlInputElement):
2046 (WebCore::MediaControlInputElement::attachToParent):
2047 (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
2048 (WebCore::MediaControlPlayButtonElement::inPausedState):
2049 (WebCore::MediaControlPlayButtonElement::defaultEventHandler):
2050 (WebCore::MediaControlPlayButtonElement::update):
2051 (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
2052 (WebCore::MediaControlTimelineElement::defaultEventHandler):
2053 (WebCore::MediaControlTimelineElement::update):
2054 (WebCore::RenderMedia::RenderMedia):
2055 (WebCore::RenderMedia::~RenderMedia):
2056 (WebCore::RenderMedia::mediaElement):
2057 (WebCore::RenderMedia::movie):
2058 (WebCore::RenderMedia::setStyle):
2059 (WebCore::RenderMedia::createControlsShadowRoot):
2060 (WebCore::RenderMedia::createPanel):
2061 (WebCore::RenderMedia::createPlayButton):
2062 (WebCore::RenderMedia::createTimeline):
2063 (WebCore::RenderMedia::createTimeDisplay):
2064 (WebCore::RenderMedia::updateFromElement):
2065 (WebCore::RenderMedia::updateControls):
2066 (WebCore::RenderMedia::timeUpdateTimerFired):
2067 (WebCore::RenderMedia::updateTimeDisplay):
2068 (WebCore::RenderMedia::updateControlVisibility):
2069 (WebCore::RenderMedia::changeOpacity):
2070 (WebCore::RenderMedia::opacityAnimationTimerFired):
2071 (WebCore::RenderMedia::forwardEvent):
2072 * rendering/RenderMedia.h: Added.
2073 (WebCore::RenderMedia::renderName):
2074 (WebCore::RenderMedia::isMedia):
2075 (WebCore::RenderMedia::intrinsicSize):
2076 * rendering/RenderObject.h:
2077 (WebCore::RenderObject::isMedia):
2078 * rendering/RenderVideo.cpp:
2079 (WebCore::RenderVideo::RenderVideo):
2080 (WebCore::RenderVideo::videoSizeChanged):
2081 (WebCore::RenderVideo::paintObject):
2082 (WebCore::RenderVideo::layout):
2083 (WebCore::RenderVideo::updateFromElement):
2084 (WebCore::RenderVideo::calcAspectRatioWidth):
2085 (WebCore::RenderVideo::calcAspectRatioHeight):
2086 * rendering/RenderVideo.h:
2088 2007-11-28 Justin Garcia <justin.garcia@apple.com>
2090 Reviewed by Darin Adler.
2092 <rdar://problem/5573879> GMail Beta: Crash in when undoing Remove Formating
2094 In the new beta, Google has added some custom code on top of our RemoveFormat
2095 to work around a bug where fully selected lists aren't removed. This code corrupts
2096 the undo stack and causes crashes. This change fixes two problems with RemoveFormat
2097 so that Google doesn't have to have any custom code. After checking this in I'll
2098 work on bulletproofing the undo stack
2100 * WebCore.xcodeproj/project.pbxproj:
2101 * editing/CompositeEditCommand.cpp:
2102 (WebCore::CompositeEditCommand::insertLineBreak): Added this convenience method.
2103 (WebCore::CompositeEditCommand::inputText): Added code to select all inserted text, not
2104 just the last paragraph. Added code to support an input string with '\n's.
2105 * editing/CompositeEditCommand.h:
2106 * editing/Editor.cpp:
2107 (WebCore::Editor::removeFormattingAndStyle): Moved code to its own EditCommand.
2108 * editing/RemoveFormatCommand.cpp: Added. Moved code from removeFormattingAndStyle here.
2109 (WebCore::RemoveFormatCommand::RemoveFormatCommand):
2110 (WebCore::RemoveFormatCommand::doApply): Added code to remove fully selected lists.
2111 * editing/RemoveFormatCommand.h: Added.
2112 (WebCore::RemoveFormatCommand::editingAction):
2114 2007-11-28 Dan Bernstein <mitz@apple.com>
2116 Reviewed by Dave Hyatt.
2118 - fix <rdar://problem/5612459> CrashTracer: [REGRESSION] 61 crashes in Safari at com.apple.WebCore: WebCore::AutoTableLayout::layout + 2046
2120 Test: fast/table/empty-auto-column-zero-divide.html
2122 * rendering/AutoTableLayout.cpp:
2123 (WebCore::AutoTableLayout::recalcColumn):
2124 (WebCore::AutoTableLayout::fullRecalc):
2125 (WebCore::AutoTableLayout::calcEffectiveWidth):
2126 (WebCore::AutoTableLayout::layout): When distributing the remaining
2127 width among columns, skip those whose effective (rather than
2128 specified) width is auto and contain only empty cells.
2130 2007-11-28 Peter Kasting <zerodpx@gmail.com>
2132 Reviewed by Alp Toker.
2134 http://bugs.webkit.org/show_bug.cgi?id=16169
2135 GIF decoder needs to set hasAlpha() correctly on subsequent frames.
2137 This also removes the workaround for this problem in
2138 ImageSourceCairo.cpp.
2140 * platform/graphics/cairo/ImageSourceCairo.cpp:
2141 (WebCore::ImageSource::frameHasAlphaAtIndex):
2142 * platform/image-decoders/gif/GIFImageDecoder.cpp:
2143 (WebCore::GIFImageDecoder::initFrameBuffer):
2145 2007-11-28 Dan Bernstein <mitz@apple.com>
2147 Reviewed by Darin Adler and Adam Roben.
2149 - <rdar://problem/5057218> Reenable "recent searches" search field menu when menu is fully implemented
2151 * platform/win/SearchPopupMenuWin.cpp:
2152 (WebCore::SearchPopupMenu::enabled): Changed to return true.
2153 (WebCore::autosaveKey): Added. Returns a preferences key for the
2154 autosave name by prefixing it with "com.apple.WebKit.searchField:".
2155 (WebCore::SearchPopupMenu::saveRecentSearches): Implemented.
2156 (WebCore::SearchPopupMenu::loadRecentSearches): Implemented.
2158 2007-11-28 Alp Toker <alp@atoker.com>
2160 Reviewed by Mark Rowe.
2162 http://bugs.webkit.org/show_bug.cgi?id=15689
2163 [GTK] Background of loading images is always black
2165 frameHasAlphaAtIndex() exists only to allow optimization for cases we
2166 are certain the image can be blitted rather than composited.
2168 Thus we need to be conservative, returning false only when we are
2169 absolutely certain there is no need for composited copying, and true
2172 CG doesn't even bother with this optimization at all and always
2175 Patch includes a workaround for
2176 http://bugs.webkit.org/show_bug.cgi?id=16169
2177 GIF ImageDecoder hasAlpha() return value incorrect
2179 * platform/graphics/cairo/ImageSourceCairo.cpp:
2180 (WebCore::ImageSource::frameHasAlphaAtIndex):
2182 2007-11-27 Alp Toker <alp@atoker.com>
2184 Reviewed by Mark Rowe.
2186 Install the JavaScriptCore headers as part of the GTK+ port.
2190 2007-11-27 Beth Dakin <bdakin@apple.com>
2194 Fix for <rdar://problem/5616052> SVGs with width or height of 100%
2195 hang when used as a background-image (16164)
2197 * platform/graphics/svg/SVGImage.cpp:
2198 (WebCore::SVGImage::size): Use valueAsPercentage() for percents
2199 instead of valueInSpecifiedUnits(). valueInSpecifiedUnits()
2200 returns, for example, 50 for 50%, so multiplying percentages by the
2201 default size of 300 x 150 led to ridiculously huge dimensions for
2202 SVG images, and the subsequent hang.
2204 2007-11-27 Jon Honeycutt <jhoneycutt@apple.com>
2208 Set haveRegisteredWindowClass when we register the window class.
2210 * plugins/win/PluginViewWin.cpp:
2211 (WebCore::registerPluginView):
2213 2007-11-27 Timothy Hatcher <timothy@apple.com>
2215 Reviewed by Sam Weinig.
2217 Bug 16165: Dragging the inspector toolbar should move the window
2218 http://bugs.webkit.org/show_bug.cgi?id=16165
2220 * page/inspector/DocumentPanel.js: Call the new drag functions, and cleanup code.
2221 * page/inspector/inspector.css: Only make the toolbar transparent in detached mode.
2222 * page/inspector/inspector.js: Call the new drag functions, and cleanup code. Add
2223 toolbar drag functions that move the window.
2225 2007-11-27 Antti Koivisto <antti@apple.com>
2229 Small changes to make RenderSlider a bit more generic so it can be used in video controls.
2231 * html/HTMLInputElement.cpp:
2232 (WebCore::HTMLInputElement::defaultEventHandler): Fix coordinates with forwarded events.
2233 * rendering/RenderSlider.cpp:
2234 (WebCore::HTMLSliderThumbElement::defaultEventHandler): Fix coordinates with forwarded events.
2235 (WebCore::RenderSlider::setStyle):
2236 (WebCore::RenderSlider::createThumbStyle): Copy thumb left and top from the orginal style so position does not reset.
2237 (WebCore::RenderSlider::mouseEventIsInThumb): Make this work with forwarded events.
2238 * rendering/RenderSlider.h:
2240 2007-11-27 Antti Koivisto <antti@apple.com>
2244 - Don't use hasPseudoId() optimization for pseudo styles used in shadow trees. These styles
2245 generally exist when asked for so the optimization does not do much. This reverses the continuing
2246 growth of the _pseudoBits bitfield in RenderStyle.
2247 - Add some pseudo elements for media controls
2249 * css/CSSSelector.cpp:
2250 (WebCore::CSSSelector::extractPseudoType):
2251 * css/CSSSelector.h:
2252 (WebCore::CSSSelector::):
2253 * css/CSSStyleSelector.cpp:
2254 (WebCore::CSSStyleSelector::matchRulesForList):
2255 (WebCore::CSSStyleSelector::checkOneSelector):
2256 * rendering/RenderObject.cpp:
2257 (WebCore::RenderObject::getPseudoStyle):
2258 * rendering/RenderStyle.cpp:
2259 (WebCore::pseudoBit):
2260 (WebCore::RenderStyle::hasPseudoStyle):
2261 (WebCore::RenderStyle::setHasPseudoStyle):
2262 * rendering/RenderStyle.h:
2263 (WebCore::RenderStyle::):
2265 2007-11-27 Timothy Hatcher <timothy@apple.com>
2267 Reviewed by Kevin McCullough.
2269 Bug 16161: window.moveBy(0, 0) moves the window by -22px vertically
2270 http://bugs.webkit.org/show_bug.cgi?id=16161
2272 Removed the "Adjust the window rect to be in the coordinate space of
2273 the screen rect" step which was always adding (0,22) to the window
2274 position (on the main screen). Instead, account for screen X and Y
2275 in the bottom and right constrain step.
2277 Added more test cases to: fast/dom/Window/window-resize.html
2279 * bindings/js/kjs_window.cpp:
2280 (KJS::adjustWindowRect):
2282 2007-11-27 Timothy Hatcher <timothy@apple.com>
2284 Reviewed by Adam Roben.
2286 * page/inspector/inspector.css: Make the text in the Network
2287 panel legend more readable.
2289 2007-11-27 Timothy Hatcher <timothy@apple.com>
2291 Reviewed by Adam Roben.
2293 Don't call setNeedsReapplyStylesInAllFrames if the
2294 authorAndUserStylesEnabled setting didn't change.
2296 * page/Settings.cpp:
2297 (WebCore::Settings::setAuthorAndUserStylesEnabled):
2299 2007-11-27 Alp Toker <alp@atoker.com>
2301 Fix potential broken build due to a missing DEPENDPATH.
2305 2007-11-26 Timothy Hatcher <timothy@apple.com>
2307 Reviewed by Dave Hyatt.
2309 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
2311 * WebCore.base.exp: Add the Settings::setAuthorAndUserStylesEnabled symbol.
2312 * css/CSSStyleSelector.cpp:
2313 (WebCore::CSSStyleSelector::CSSStyleSelector): Add a new matchAuthorAndUserStyles parameter.
2314 (WebCore::CSSStyleSelector::styleForElement): Check m_matchAuthorAndUserStyles before
2315 matching user and author rules.
2316 (WebCore::CSSStyleSelector::pseudoStyleForElement): Ditto.
2317 (WebCore::CSSStyleSelector::styleRulesForElement): Ditto.
2318 * css/CSSStyleSelector.h: Add m_matchAuthorAndUserStyles and new constructor parameter.
2320 (WebCore::Document::Document): Pass Settings::authorAndUserStylesEnabled to the CSSStyleSelector.
2321 (WebCore::Document::recalcStyleSelector): Skip collecting the author stylesheets if
2322 Settings::authorAndUserStylesEnabled is false, and pass that to the CSSStyleSelector.
2323 * page/Settings.cpp:
2324 (WebCore::Settings::Settings): Initialize m_authorAndUserStylesEnabled to true.
2325 (WebCore::Settings::setAuthorAndUserStylesEnabled): Recalc style in all the frames
2326 when the setting changes.
2327 * page/Settings.h: Add m_authorAndUserStylesEnabled.
2328 (WebCore::Settings::authorAndUserStylesEnabled): Return m_authorAndUserStylesEnabled.
2330 2007-11-27 Alp Toker <alp@atoker.com>
2332 Reviewed by Mark Rowe.
2334 Based on changes by Mike Emmel.
2336 CURL HTTP backend local file fixes:
2338 Set a MIME type for local files based on the file extension.
2340 Remove any HTTP query part sent to a local file.
2342 * platform/network/curl/ResourceHandleManager.cpp:
2343 (WebCore::ResourceHandleManager::startJob):
2345 2007-11-26 Brady Eidson <beidson@apple.com>
2347 Reviewed by Mark Rowe
2349 Allow setting the default storage quota per database origin
2353 * page/Settings.cpp:
2354 (WebCore::Settings::setDefaultDatabaseOriginQuota):
2355 (WebCore::Settings::defaultDatabaseOriginQuota):
2358 * storage/DatabaseTracker.cpp:
2359 (WebCore::DatabaseTracker::DatabaseTracker):
2360 (WebCore::DatabaseTracker::setDefaultOriginQuota):
2361 (WebCore::DatabaseTracker::defaultOriginQuota):
2362 * storage/DatabaseTracker.h:
2364 2007-11-26 Peter Kasting <zerodpx@gmail.com>
2366 Reviewed by Alp Toker.
2368 http://bugs.webkit.org/show_bug.cgi?id=15974
2369 GIF decoding should respect frames' specified disposal methods.
2371 * platform/image-decoders/ImageDecoder.h:
2372 (WebCore::RGBA32Buffer::):
2373 (WebCore::RGBA32Buffer::RGBA32Buffer):
2374 (WebCore::RGBA32Buffer::disposalMethod):
2375 (WebCore::RGBA32Buffer::setDisposalMethod):
2376 * platform/image-decoders/gif/GIFImageDecoder.cpp:
2377 (WebCore::GIFImageDecoder::frameBufferAtIndex):
2378 (WebCore::GIFImageDecoder::initFrameBuffer):
2379 (WebCore::GIFImageDecoder::prepEmptyFrameBuffer):
2380 (WebCore::GIFImageDecoder::haveDecodedRow):
2381 (WebCore::GIFImageDecoder::frameComplete):
2382 * platform/image-decoders/gif/GIFImageDecoder.h:
2383 * platform/image-decoders/gif/GIFImageReader.cpp:
2384 (GIFImageReader::read):
2385 * platform/image-decoders/gif/GIFImageReader.h:
2386 (GIFFrameReader::GIFFrameReader):
2388 2007-11-26 Adam Roben <aroben@apple.com>
2390 Add a Color(CGColorRef) constructor
2394 * platform/graphics/Color.h:
2395 * platform/graphics/cg/ColorCG.cpp:
2396 (WebCore::Color::Color): Added.
2398 2007-11-26 Adele Peterson <adele@apple.com>
2402 Update to last change. Moved addPendingSheet call to within nil check for m_cachedSheet.
2405 (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
2407 2007-11-26 Adele Peterson <adele@apple.com>
2411 Fix for <rdar://problem/5591583> CrashTracer: [USER] 157 in Mail crashes at -[WebCoreFrameBridge reapplyStylesForDeviceType:]
2413 * page/Frame.cpp: Add nil checks since every other caller of requestCSSStyleSheet checks for nil.
2414 (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
2415 (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader):
2417 2007-11-26 Mark Rowe <mrowe@apple.com>
2421 * xml/XSLTUnicodeSort.cpp: Add another WTF_ATTRIBUTE_PRINTF.
2423 2007-11-26 Feng Qian <ian.eng.webkit@gmail.com>
2425 Reviewed and touched up by Sam Weinig.
2427 Fix for http://bugs.webkit.org/show_bug.cgi?id=16073
2429 Test: http/tests/security/xss-DENIED-invalid-domain-change.html
2432 (WebCore::Document::setDomain): Don't set the securityOrigin policy unless
2433 the set succeeds. Adds some early returns as well.
2435 2007-11-26 Steve Falkenburg <sfalken@apple.com>
2439 * WebCore.vcproj/WebCore.make:
2440 * WebCore.vcproj/migrate-idls.sh:
2442 2007-11-26 Sam Weinig <sam@webkit.org>
2444 Fix potential null-dereference.
2446 Reviewed by Adam Roben.
2448 * page/FrameTree.cpp:
2449 (WebCore::FrameTree::isDescendantOf):
2451 2007-11-26 Sam Weinig <sam@webkit.org>
2455 Fix for <rdar://problem/5592988>
2456 - Enforce tighter restrictions on what frames in other domains
2459 Tests: http/tests/security/frameNavigation/xss-ALLOWED-parent-navigation-change.html
2460 http/tests/security/frameNavigation/xss-ALLOWED-targeted-subframe-navigation-change.html
2462 * bindings/js/kjs_window.cpp:
2464 (KJS::Location::put):
2465 (KJS::LocationProtoFuncReplace::callAsFunction):
2466 (KJS::LocationProtoFuncAssign::callAsFunction):
2467 * loader/FrameLoader.cpp:
2468 (WebCore::FrameLoader::createWindow):
2469 (WebCore::FrameLoader::load):
2470 (WebCore::FrameLoader::shouldAllowNavigation): Move and update logic from canTarget().
2471 * loader/FrameLoader.h:
2472 * page/FrameTree.cpp:
2473 (WebCore::FrameTree::isDescendantOf): Make this O(1) in the case when both frames are not
2476 2007-11-26 Steve Falkenburg <sfalken@apple.com>
2480 * WebCore.vcproj/migrate-idls.sh:
2482 2007-11-26 Dan Bernstein <mitz@apple.com>
2484 Reviewed by Dave Hyatt.
2486 - fix <rdar://problem/5609337> Making a float shorter does not remove it from the floating object list of a nested block it intruded into
2488 Test: fast/dynamic/float-withdrawal-2.html
2490 * rendering/RenderBlock.cpp:
2491 (WebCore::RenderBlock::layoutBlockChildren): When a float may have
2492 been withdrawn from a child, mark all descendants if necessary and not
2495 2007-11-26 Steve Falkenburg <sfalken@apple.com>
2499 * WebCore.vcproj/MigrateIDLAndScripts: Copied from WebCore.vcproj/MigrateIDLAndScripts.make.
2500 * WebCore.vcproj/MigrateIDLAndScripts.make: Removed.
2501 * WebCore.vcproj/migrate-idls.sh:
2503 2007-11-26 Brady Eidson <beidson@apple.com>
2505 Reviewed by Anders (and typo lovingly found by Adam)
2507 Change Databases to be stored in a per-origin directory hierarchy - this will make
2508 storage quotas much easier to enforce
2510 * platform/SecurityOriginData.cpp:
2511 (WebCore::SecurityOriginData::SecurityOriginData): Parse string based on '_' instead of ':'
2512 (WebCore::SecurityOriginData::stringIdentifier): Change to use '_' as a separator instead of ':'.
2513 '_' still works due to not being allowed in domain names, but also is a valid filename character '
2514 on all filesystems we care about
2516 * storage/DatabaseTracker.cpp:
2517 (WebCore::DatabaseTracker::fullPathForDatabase): Create a per-origin directory hierarchy to categorize
2520 2007-11-26 Timothy Hatcher <timothy@apple.com>
2522 Reviewed by Adam Roben.
2524 Bug 16137: Web Inspector window on Leopard should have a unified toolbar and window title
2525 http://bugs.webkit.org/show_bug.cgi?id=16137
2527 On Leopard the toolbar background will be transparent, to allow the
2528 window background to show through the transparent WebView. The
2529 search results divs needed to move inside the "main" div, so they
2530 would be clipped and not show where the toolbar is.
2532 * page/InspectorController.cpp:
2533 (WebCore::platform): Return a string for which platform we are.
2534 (WebCore::InspectorController::windowScriptObjectAvailable):
2535 Define the platform function on the JavaScript class.
2536 * page/inspector/Panel.js: Add panels to the panels div.
2537 * page/inspector/inspector.css: On the Leopard platform make
2538 the toolbar background transparent so the window background shows.
2539 * page/inspector/inspector.html: Add a panels div and move search
2540 result divs inside the main div.
2541 * page/inspector/inspector.js: Tweak the resize code to acount for
2542 the search results divs moving inside the main div.
2544 2007-11-25 Rodney Dawes <dobey@wayofthemonkey.com>
2546 Reviewed by Maciej Stachowiak.
2548 Remove the unneeded CFNETWORK #ifdefs.
2550 * loader/NetscapePlugInStreamLoader.h:
2552 2007-11-24 Laszlo Gombos <laszlo.gombos@gmail.com>
2554 Reviewed by Sam Weinig.
2556 Add printf format attribute to several functions. Use the the new WTF_ATTRIBUTE_PRINTF define.
2558 * dom/XMLTokenizer.cpp:
2559 * dom/XMLTokenizer.h:
2560 * platform/DeprecatedString.h:
2561 * platform/PlatformString.h:
2563 2007-11-25 Dan Bernstein <mitz@apple.com>
2565 Reviewed by Adam Roben.
2567 - fix off-center error images
2569 Covered by many pixel tests with missing images
2571 * rendering/RenderImage.cpp:
2572 (WebCore::RenderImage::paint): Account for the 1 pixel outline when
2573 positioning the error image.
2575 2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
2577 wx build fix. Fix filename case for case-sensitive filesystems.
2579 * WebCoreSources.bkl:
2581 2007-11-22 Nikolas Zimmermann <zimmermann@kde.org>
2583 Reviewed by Adam Roben.
2585 Fixes: http://bugs.webkit.org/show_bug.cgi?id=15564
2587 Fix problems with hidden glyphs. They were taken into account for quite
2588 some operations (hit testing, length calulcations etc..) except painting.
2589 Especially fixes boundaries of <textPath> (see using Web Inspector) if
2590 text-anchor isn't equal to 'start'.
2593 svg/text/textPathBoundsBug.svg
2595 Fixed testcase: (all showed text selection problems on text paths)
2596 svg/batik/text/textGlyphOrientationHorizontal.svg
2597 svg/batik/text/textOnPath.svg
2598 svg/batik/text/textOnPath3.svg
2599 svg/batik/text/verticalTextOnPath.svg
2600 svg/text/text-align-04-b.svg
2601 svg/W3C-SVG-1.1/text-align-04-b.svg
2603 * rendering/SVGCharacterLayoutInfo.cpp:
2604 (WebCore::SVGChar::isHidden):
2605 * rendering/SVGCharacterLayoutInfo.h:
2606 (WebCore::SVGCharOnPath::SVGCharOnPath):
2607 * rendering/SVGInlineTextBox.cpp:
2608 (WebCore::SVGInlineTextBoxClosestCharacterToPositionWalker::chunkPortionCallback):
2609 (WebCore::SVGInlineTextBoxSelectionRectWalker::chunkPortionCallback):
2610 * rendering/SVGRootInlineBox.cpp:
2611 (WebCore::topLeftPositionOfCharacterRange):
2612 (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
2613 (WebCore::cummulatedWidthOrHeightOfTextChunk):
2614 (WebCore::applyTextAnchorToTextChunk):
2615 (WebCore::applyTextLengthCorrectionToTextChunk):
2616 (WebCore::SVGRootInlineBox::layoutInlineBoxes):
2617 (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
2618 (WebCore::SVGRootInlineBox::buildTextChunks):
2620 2007-11-25 Alexey Proskuryakov <ap@webkit.org>
2624 http://bugs.webkit.org/show_bug.cgi?id=15919
2625 XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end
2627 Test: fast/xsl/extra-lf-at-end.html
2629 * xml/XSLTProcessor.cpp:
2630 (WebCore::writeToVector): Changed to use Vector to avoid slow String::apend().
2631 (WebCore::saveResultToString): Remove trailing line feed if present.
2633 2007-11-24 Mark Rowe <mrowe@apple.com>
2635 Reviewed by Tim Hatcher.
2637 Fix <rdar://problem/5432686> 333MB RPRVT seems to leak @ www.43folders.com (1hr plug-in stream).
2638 http://bugs.webkit.org/show_bug.cgi?id=13705
2640 Don't buffer the entire stream contents in memory in the ResourceLoader.
2642 * loader/mac/NetscapePlugInStreamLoaderMac.mm:
2643 (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
2644 (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
2645 * loader/mac/WebPlugInStreamLoaderDelegate.h:
2647 2007-11-23 Adam Roben <aroben@apple.com>
2649 Get rid of WebCoreSystemInterface on Windows
2651 The one function defined in that file is now in WebKitSystemInterface.
2655 * WebCore.vcproj/WebCore.vcproj: Removed
2656 WebCoreSystemInterface.{cpp,h}.
2657 * platform/graphics/cg/ImageCG.cpp: Made #include of
2658 WebCoreSystemInterface.h Mac-only.
2659 * platform/win/GraphicsContextWin.cpp: Ditto.
2660 * platform/win/WebCoreSystemInterface.cpp: Removed.
2661 * platform/win/WebCoreSystemInterface.h: Removed.
2663 2007-11-24 Adam Roben <aroben@apple.com>
2665 Replace uses of %@ with %s in the inspector
2667 Rubberstamped by Tim.
2669 * English.lproj/InspectorLocalizedStrings.js: Changed %@ to %s.
2670 * page/inspector/DatabasePanel.js: Ditto.
2671 * page/inspector/StylesSidebarPane.js: Ditto.
2672 * page/inspector/inspector.js: Ditto.
2673 * page/inspector/utilities.js:
2674 (String.vsprintf): Removed @ as a format specifier.
2676 2007-11-24 Adam Roben <aroben@apple.com>
2680 Turn off the change made in r27984 on Windows for now.
2682 * xml/XSLTProcessor.cpp:
2683 (WebCore::XSLTProcessor::transformToString):
2684 * xml/XSLTUnicodeSort.cpp:
2686 2007-11-24 Timothy Hatcher <timothy@apple.com>
2688 Reviewed by Adam Roben.
2690 Bug 16121: Web Inspector needs helper functions that pass a 'this' object to
2691 addEventListener and setTimeout
2692 http://bugs.webkit.org/show_bug.cgi?id=16121
2694 Add Function.prototype.bind. This helper will return a wrapper function
2695 that will call the original function with the supplied arguments
2696 and using the supplied 'this' object.
2698 * page/inspector/Database.js: Remove a use of setTimeout by
2699 inheriting some common functions from Resource.
2700 * page/inspector/DatabasePanel.js: Use the new bind function.
2701 * page/inspector/ConsolePanel.js: Ditto.
2702 * page/inspector/DocumentPanel.js: Ditto.
2703 * page/inspector/NetworkPanel.js: Ditto.
2704 * page/inspector/PropertiesSection.js: Ditto.
2705 * page/inspector/Resource.js: Ditto.
2706 * page/inspector/SidebarPane.js: Ditto.
2707 * page/inspector/inspector.html: Moved Database.js after Resource.js,
2708 now that Database.js uses it.
2709 * page/inspector/inspector.js: Use the new bind function. Also
2710 removed a setTimeout used for the localized strings code. There is
2711 now a load event listener added to the localized strings script
2712 element that will call WebInspector.loaded.
2713 * page/inspector/utilities.js: Add Function.prototype.bind.
2715 2007-11-24 Timothy Hatcher <timothy@apple.com>
2717 Reviewed by Adam Roben.
2719 Bug 16112: Some Web Inspector UI elements use offsetWidth and offsetHeight before the stylesheet loads
2720 http://bugs.webkit.org/show_bug.cgi?id=16112
2722 In the places where we use offsetWidth and offsetHeight before
2723 the stylesheet loads there is now a check. If the body's
2724 offsetWidth is not greater than zero, then set a timeout
2725 to do the updates requiring the stylesheet later.
2727 The three places this happened:
2728 - DOM tree selection highlight would show up at the wrong height
2729 when using Inspect Element to open the inspector.
2730 - DOM tree breadcrumbs would not collapse when using Inspect Element
2731 to open the inspector.
2732 - Network Timeline divider lines would not show when opening directly
2735 * page/inspector/DocumentPanel.js: Check if the stylesheet loaded.
2736 * page/inspector/NetworkPanel.js: Ditto.
2737 * page/inspector/inspector.html: Include the stylesheet before
2738 any scripts, this will help get it loaded sooner.
2740 2007-11-24 Kevin Ollivier <kevino@theolliviers.com>
2742 Add wx implementation for pathGetFilename
2744 Reviewed by David D. Kilzer.
2746 * html/HTMLFormElement.cpp:
2747 (WebCore::pathGetFilename):
2749 2007-11-23 Timothy Hatcher <timothy@apple.com>
2751 Reviewed by Adam Roben.
2753 Bug 16110: Clicking inside the resource headers in the network timeline collapses them
2754 http://bugs.webkit.org/show_bug.cgi?id=16110
2756 Toggle the resource headers only if the click happens on the
2757 resource row, not within the headers area.
2759 * WebCore.xcodeproj/project.pbxproj:
2760 * page/inspector/NetworkPanel.js:
2762 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
2764 Win build fixes. CURL needs winsock, so don't disable it, and
2765 include pthreads.h to get the threadsafe *_r functions.
2767 Reviewed by Adam Roben.
2770 * loader/FTPDirectoryDocument.cpp:
2771 * loader/FTPDirectoryParser.cpp:
2773 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
2775 wx build fix. Move wx settings to project build settings,
2776 remove some old settings that were masking a build problem,
2777 and fix include ordering to ensure proper config.h and
2778 unicode/utf8.h headers are used.
2783 2007-11-23 Simon Hausmann <hausmann@webkit.org>
2785 Reviewed by George Staikos <staikos@kde.org>.
2787 Another build fix specific to trunk (instead of the stable branch) to fix make clean (which the buildbots call).
2791 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2793 Not reviewed, trivial leak fix.
2795 Fix xsltUnicodeSortFunction() memory leaks.
2797 * xml/XSLTUnicodeSort.cpp:
2798 (WebCore::xsltUnicodeSortFunction):
2800 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2804 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2805 not closed (affects digg.com)
2807 Tests: fast/loader/meta-refresh-vs-open.html
2808 fast/loader/redirect-with-open-subframe-2.html
2809 fast/loader/redirect-with-open-subframe.html
2810 http/tests/loading/onload-vs-immediate-refresh.pl
2812 * loader/FrameLoader.cpp:
2813 (WebCore::FrameLoader::scheduleRedirection): Only check whether the load is complete for
2814 HTTP redirects - JavaScript-initiated ones are effective immediately.
2816 2007-11-23 Dan Bernstein <mitz@apple.com>
2818 Reviewed by Alexey Proskuryakov.
2820 - apply matrix transforms on the correct side of the transformation
2821 matrix (not on the side where the vector is multiplied).
2823 Test: fast/transforms/matrix-02.html
2825 * rendering/RenderStyle.h:
2826 (WebCore::MatrixTransformOperation::apply):
2828 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2832 http://bugs.webkit.org/show_bug.cgi?id=16077
2833 <rdar://problem/5609785> XSLT processor <xsl:sort> algorithm is incompatible with other
2834 browser implementations
2836 Test: fast/xsl/sort-unicode.xml
2838 * xml/XSLTProcessor.cpp:
2839 (WebCore::XSLTProcessor::transformToString): Set a custom sort function.
2841 * xml/XSLTUnicodeSort.cpp: Added.
2842 (init_xsltTransformError):
2843 (xsltTransformError):
2844 (WebCore::xsltUnicodeSortFunction):
2845 * xml/XSLTUnicodeSort.h: Added.
2846 ICU-based implementation of xsl:sort, using an example from libxslt distribution.
2847 Only minimal coding style fixes to ease synchronization with upstream in the future.
2849 * icu/unicode/ucol.h: Added.
2850 * icu/unicode/uset.h: Added.
2854 * WebCore.vcproj/WebCore.vcproj:
2855 * WebCore.xcodeproj/project.pbxproj:
2856 * WebCoreSources.bkl:
2857 Added XSLTUnicodeSort.cpp.
2859 2007-11-22 Alexey Proskuryakov <ap@webkit.org>
2863 http://bugs.webkit.org/show_bug.cgi?id=14977
2864 Hixie's DOM Core performance test shows insert >10x slower than append
2866 Each invocation of Element.childNodes[n] was creating and registering a new ChildNodeList,
2867 which persisted and listened to notifications until GC.
2869 A fix is to avoid registering child node lists for notifications - they don't need them, as
2870 they share a common cache in Node.
2873 (WebCore::Node::registerNodeList):
2874 (WebCore::Node::unregisterNodeList):
2875 (WebCore::Node::notifyLocalNodeListsAttributeChanged):
2876 (WebCore::Node::notifyLocalNodeListsChildrenChanged):
2878 (WebCore::NodeList::needsNotifications):
2880 2007-11-22 Dan Bernstein <mitz@apple.com>
2882 Reviewed by Antti Koivisto.
2884 - fix http://bugs.webkit.org/show_bug.cgi?id=15811
2885 WebKit plug-ins can re-enter WebKit under attach()
2886 <rdar://problem/5577978>
2888 Defer plug-in loading until after attach and recalcStyle using the
2889 post-attach callback mechanism. Netscape plug-ins are still loaded only
2892 * dom/ContainerNode.cpp:
2893 Made NodeCallbackQueue elements retain the Node because callbacks might
2894 delete nodes that are in the callback queue.
2895 (WebCore::ContainerNode::suspendPostAttachCallbacks): Added. Needed to
2896 prevent post-attach callbacks from being dispatched under recalcStyle().
2897 (WebCore::ContainerNode::resumePostAttachCallbacks): Ditto.
2898 (WebCore::ContainerNode::dispatchPostAttachCallbacks): Factored out from
2900 (WebCore::ContainerNode::attach):
2901 * dom/ContainerNode.h:
2903 (WebCore::Document::recalcStyle): Added calls to
2904 suspendPostAttachCallbacks() and resumePostAttachCallbacks().
2905 * html/HTMLEmbedElement.cpp:
2906 (WebCore::HTMLEmbedElement::HTMLEmbedElement):
2907 (WebCore::HTMLEmbedElement::attach): Changed to queue the widget update
2909 (WebCore::HTMLEmbedElement::updateWidget): Added. Called by the
2910 post-attach callback.
2911 * html/HTMLEmbedElement.h: Added an m_needWidgetUpdate member needed to
2912 prevent a double update if another plug-in's post-attach updateWidget()
2913 triggers a layout which updates the widget before this plug-in's
2914 post-attach callback is invoked.
2915 (WebCore::HTMLEmbedElement::setNeedWidgetUpdate): Added a setter for
2917 * html/HTMLObjectElement.cpp:
2918 (WebCore::HTMLObjectElement::attach): Changed to queue the widget update
2920 (WebCore::HTMLObjectElement::updateWidget): Added. Called by the
2921 post-attach callback.
2922 * html/HTMLObjectElement.h:
2923 (WebCore::HTMLObjectElement::setNeedWidgetUpdate): Added a setter for
2925 * html/HTMLPlugInElement.cpp:
2926 (WebCore::HTMLPlugInElement::updateWidgetCallback): Added.
2927 * html/HTMLPlugInElement.h:
2928 (WebCore::HTMLPlugInElement::updateWidget):
2929 * rendering/RenderPartObject.cpp:
2930 (WebCore::RenderPartObject::updateWidget): Added calls to
2931 setNeedWidgetUpdate(false) so that if this method is called from
2932 FrameView::layout() during post-attach dispatch of another plug-in,
2933 it will not be called again when this plug-in's post-attach callback
2935 * rendering/RenderPartObject.h:
2936 (WebCore::RenderPartObject::updateWidget) Renamed argument to match
2937 the method definition.
2939 2007-11-22 Timothy Hatcher <timothy@apple.com>
2941 Reviewed by Dan Bernstein.
2943 Fix the Element.hasStyleClass and Element.removeStyleClass helpers
2944 to not find and replace substrings, but whole class names at the
2945 beginning or end of the string or surrounded by whitespace.
2947 * page/inspector/utilities.js:
2949 2007-11-22 Timothy Hatcher <timothy@apple.com>
2951 Revert part of my r27935 change that made the Tip balloons
2952 animate with CSS transitions. The balloon was only opacity 0,
2953 so it would cause its row to highlight when hovering over
2956 * page/inspector/NetworkPanel.js:
2957 * page/inspector/inspector.css:
2959 2007-11-22 Dan Bernstein <mitz@apple.com>
2961 Reviewed by Maciej Stachowiak.
2963 - fix http://bugs.webkit.org/show_bug.cgi?id=15943
2964 -webkit-transform matrix does not work
2966 Test: fast/transforms/matrix-01.html
2968 Parse all six matrix entries as numbers.
2970 * css/CSSParser.cpp:
2971 (WebCore::TransformOperationInfo::TransformOperationInfo):
2972 (WebCore::CSSParser::parseTransform):
2973 * css/CSSStyleSelector.cpp:
2974 (WebCore::CSSStyleSelector::applyProperty):
2975 * rendering/RenderStyle.cpp:
2976 (WebCore::MatrixTransformOperation::blend):
2977 * rendering/RenderStyle.h:
2978 (WebCore::MatrixTransformOperation::MatrixTransformOperation):
2979 (WebCore::MatrixTransformOperation::apply):
2981 2007-11-22 Laszlo Gombos <laszlo.gombos@gmail.com>
2983 Reviewed by Alp Toker.
2985 Fix some compilation warnings. Do not reference undefined (platform) specific type (WebCore::CachedFont::m_fontData)
2987 * loader/CachedFont.cpp:
2988 (WebCore::CachedFont::~CachedFont):
2989 (WebCore::CachedFont::allReferencesRemoved):
2991 2007-11-22 Alp Toker <alp@atoker.com>
2993 Reviewed by Mark Rowe.
2997 Add a check to avoid crashing when the GraphicsContext is not
2998 associated with a GdkEventExpose. This was noticed when adding
2999 printing support but might be triggered in other situations too.
3001 * platform/gtk/WidgetGtk.cpp:
3002 (WebCore::Widget::paint):
3004 2007-11-22 Julien Chaffraix <julien.chaffraix@gmail.com>
3008 Bug 15530: XMLHttpRequest should not support certain methods
3010 Test: http/tests/xmlhttprequest/xmlhttprequest-forbidden-methods-exception.html
3012 * xml/XMLHttpRequest.cpp:
3013 (WebCore::XMLHttpRequest::open):
3015 2007-11-22 Simon Hausmann <hausmann@kde.org>
3019 For the build inside Qt include qbase.pri and don't duplicate what qbase.pri otherwise does (install targets, etc.)
3023 2007-11-22 Simon Hausmann <hausmann@kde.org>
3027 Don't set OBJECTS_DIR when building inside Qt
3031 2007-11-22 Simon Hausmann <hausmann@kde.org>
3035 Use ../generated as path for the generated sources for builds inside Qt
3039 2007-11-22 Simon Hausmann <hausmann@kde.org>
3043 Make the directory of where to put the generated sources configurable through the GENERATED_SOURCE_DIR variable
3047 2007-11-22 Simon Hausmann <hausmann@kde.org>
3051 Centralize the setup for all the extra compilers in a addExtraCompiler function.
3053 This allows adding a "generated_files" target that builds all generated files using "make generated_files".
3054 For the build inside Qt we do not generate actual rules for the extra compilers but instead
3055 do the variable substitution of compiler.output manually and add the generated sources to SOURCES.
3059 2007-11-21 Timothy Hatcher <timothy@apple.com>
3061 Reviewed by Eric Seidel.
3063 Show Fonts as Yellow in the network timeline.
3065 * page/inspector/NetworkPanel.js:
3066 * page/inspector/inspector.css:
3068 2007-11-21 Dan Bernstein <mitz@apple.com>
3070 Reviewed by Eric Seidel.
3072 - fix <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)
3074 Test: fast/repaint/subtree-root-skipped.html
3076 * page/FrameView.cpp:
3077 (WebCore::FrameViewPrivate::FrameViewPrivate): Initialize the layout
3079 (WebCore::FrameView::layoutRoot): Changed to return a RenderObject
3081 (WebCore::FrameView::layout): Changed for layout root being a renderer
3082 rather than a DOM node. Also replaced clearing the repaint rects
3083 set with asserting that it is empty if this is the top-level call to
3084 layout(). If it is not, the set may contain rects from enclosing
3085 layout() and those should not be removed.
3086 (WebCore::FrameView::scheduleRelayout): Changed for layout root being
3087 a renderer rather than a DOM node.
3088 (WebCore::isObjectAncestorContainerOf): Added this helper function that
3089 tests whether one object will be marked by calling
3090 markContainingBlocksForLayout() on the other.
3091 (WebCore::FrameView::scheduleRelayoutOfSubtree): Changed for layout
3092 root being a renderer rather than a DOM node. Changed the check if new
3093 and current layout roots are on the same path from the root to use
3094 the subgraph of the render tree defined by container()hood instead of
3095 the DOM tree and parenthood.
3097 * rendering/RenderBox.cpp:
3098 (WebCore::RenderBox::calcWidth): Changed for layout root being a
3099 renderer rather than a DOM node.
3100 * rendering/RenderObject.cpp:
3101 (WebCore::RenderObject::~RenderObject): Added an assertion that the
3102 object being deleted is not currently the layout root.
3103 (WebCore::RenderObject::scheduleRelayout): Changed for layout root being
3104 a renderer rather than a DOM node.
3106 2007-11-21 Mark Rowe <mrowe@apple.com>
3110 Fix WebCore to build without warnings under GCC 4.2.
3112 * Configurations/Base.xcconfig:
3113 * css/CSSRuleList.cpp:
3114 (WebCore::CSSRuleList::deleteRule):
3115 * css/CSSStyleSelector.cpp:
3116 (WebCore::CSSStyleSelector::locateSharedStyle):
3117 * html/HTMLParser.cpp:
3118 (WebCore::HTMLParser::allowNestedRedundantTag):
3119 * rendering/RenderBlock.cpp:
3120 (WebCore::RenderBlock::fillInlineSelectionGaps):
3121 (WebCore::RenderBlock::fillBlockSelectionGaps):
3122 * rendering/RenderLayer.cpp:
3123 (WebCore::RenderLayer::stackingContext):
3124 (WebCore::RenderLayer::enclosingPositionedAncestor):
3125 (WebCore::RenderLayer::transparentAncestor):
3126 * rendering/RenderStyle.cpp:
3127 (WebCore::BackgroundLayer::fillUnsetProperties):
3128 (WebCore::Transition::fillUnsetProperties):
3129 * rendering/RenderText.cpp:
3130 (WebCore::RenderText::containsOnlyWhitespace):
3131 * rendering/bidi.cpp:
3132 (WebCore::RenderBlock::determineStartPosition):
3134 2007-11-21 Alp Toker <alp@atoker.com>
3136 Reviewed by Mark Rowe.
3138 http://bugs.webkit.org/show_bug.cgi?id=16071
3139 Curl backend handles EINTR incorrectly
3141 Defer timers during select() to avoid interruption by timer signals.
3143 * platform/network/curl/ResourceHandleManager.cpp:
3144 (WebCore::ResourceHandleManager::downloadTimerCallback):
3146 2007-11-21 Mark Rowe <mrowe@apple.com>
3148 Reviewed by Tim Hatcher.
3150 Changes due to <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings
3152 Update format strings to use format specifiers that match the argument types.
3154 * loader/icon/IconDatabase.cpp:
3155 (WebCore::IconDatabase::performURLImport):
3156 (WebCore::IconDatabase::writeToDatabase):
3157 * platform/mac/TextCodecMac.cpp:
3158 (WebCore::TextCodecMac::decode):
3159 * storage/Database.cpp:
3160 (WebCore::Database::deliverAllPendingCallbacks):
3162 2007-11-21 Xan Lopez <xan@gnome.org>
3164 Reviewed by Alp Toker.
3166 Clarify scroll event processing with a comment.
3168 * platform/gtk/PlatformScrollBarGtk.cpp:
3169 (gtkScrollEventCallback):
3171 2007-11-21 Timothy Hatcher <timothy@apple.com>
3173 Reviewed by Adam Roben.
3175 Bug 16085: Web Inspector's Network Timeline graph code clean up and misc. fixes
3176 http://bugs.webkit.org/show_bug.cgi?id=16085
3179 - Refactor the drawing code as nested functions instead of global functions.
3180 - Compute the segment percentages only once per call to drawSummaryGraph.
3181 - Account for percentages that rounded down to total less-than 100%.
3182 - Draw the pill shadow better using the canvas shadow drawing properties.
3183 - Removes a couple canvas context saves and restores.
3185 * page/inspector/NetworkPanel.js:
3187 2007-11-21 Alexey Proskuryakov <ap@webkit.org>
3189 Reviewed by Adam Roben.
3191 http://bugs.webkit.org/show_bug.cgi?id=16056
3192 Unicode not being interpreted correctly in Web Inspector source view
3194 Cannot be tested automatically.
3196 * loader/CachedCSSStyleSheet.cpp:
3197 (WebCore::CachedCSSStyleSheet::encoding):
3198 * loader/CachedCSSStyleSheet.h:
3199 * loader/CachedResource.h:
3200 (WebCore::CachedResource::encoding):
3201 * loader/CachedScript.cpp:
3202 (WebCore::CachedScript::encoding):
3203 * loader/CachedScript.h:
3204 * loader/CachedXBLDocument.cpp:
3205 (WebCore::CachedXBLDocument::encoding):
3206 * loader/CachedXBLDocument.h:
3207 * loader/CachedXSLStyleSheet.cpp:
3208 (WebCore::CachedXSLStyleSheet::encoding):
3209 * loader/CachedXSLStyleSheet.h:
3210 Teach textual CachedResources to report their encodings.
3212 * page/InspectorController.cpp:
3213 (WebCore::addSourceToFrame):
3214 (WebCore::updateResourceResponse):
3215 Use the actual encoding - the network layer has little idea about it.
3217 2007-11-20 Mark Rowe <mrowe@apple.com>
3219 Reviewed by Maciej Stachowiak.
3221 Fix <rdar://problem/5609579> (DOMParser().parseFromString() freezes Safari when parsing large nodes with XML entities)
3222 http://bugs.webkit.org/show_bug.cgi?id=16076
3224 XMLTokenizer was calling CharacterData::appendData twice per entity in the fragment of XML being
3225 parsed (once for text before the entity, once for the entity itself). This triggered O(n^2) copying
3226 of the CharacterData's string due to resizing. We now prevent this happening by buffering all the
3227 content for a given Text node in the XMLTokenizer before sending it out to the node in a single go.
3229 * dom/XMLTokenizer.cpp:
3230 (WebCore::XMLTokenizer::characters): Append the characters to the buffer.
3231 (WebCore::XMLTokenizer::endDocument): Ensure the buffer is flushed when the document has ended.
3232 (WebCore::endDocumentHandler):
3233 (WebCore::XMLTokenizer::enterText):
3234 (WebCore::XMLTokenizer::exitText): Append the contents of the buffer to the node.
3235 (WebCore::XMLTokenizer::initializeParserContext): Add the endDocument handler.
3236 (WebCore::parseXMLDocumentFragment): Force endDocument to be called when parsing a fragment to ensure
3237 that the buffer gets flushed to the node.
3238 * dom/XMLTokenizer.h:
3240 2007-11-20 Timothy Hatcher <timothy@apple.com>
3242 Reviewed by Mark Rowe.
3244 Animate the status area and tip balloons in the Web Inspector
3245 with CSS animations.
3247 * page/inspector/NetworkPanel.js:
3248 * page/inspector/inspector.css:
3249 * page/inspector/inspector.js:
3251 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
3253 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
3254 it indiscriminately copies any headers inside JavaScriptCore,
3255 which includes Tiger ICU headers.
3258 Remove references to the WebCore/include dir generated by
3259 move-js-headers.sh, and also get headers from JavaScriptCore
3260 directly rather than from WebCore/ForwardingHeaders.
3262 2007-11-20 Alp Toker <alp@atoker.com>
3264 Reviewed by Mark Rowe.
3266 Avoid pointlessly mallocing and freeing this transform matrix.
3268 * platform/gtk/FontPlatformDataGtk.cpp:
3269 (WebCore::FontPlatformData::FontPlatformData):
3271 2007-11-20 Naiem Shaik <naiem.shaik@gmail.com>
3273 Reviewed by Alp Toker.
3275 http://bugs.webkit.org/show_bug.cgi?id=15763
3276 [GTK] Enter key does not take to the link highlighted.
3278 Add missing keycode cases.
3280 * platform/gtk/KeyEventGtk.cpp:
3281 (WebCore::keyIdentifierForGdkKeyCode):
3282 (WebCore::windowsKeyCodeForKeyEvent):
3283 (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
3285 2007-11-20 Mark Rowe <mrowe@apple.com>
3287 Reviewed by Sam Weinig.
3289 Fix http://bugs.webkit.org/show_bug.cgi?id=16074
3290 Bug 16074: execCommand("InsertHorizontalRule", false, "") results in id="" being inserted
3292 For consistency with InsertOrderedList and InsertUnorderedList a value parameter of "" should
3293 not result in an id being set.
3295 * editing/JSEditor.cpp: Don't set the id attribute if value is empty.
3297 2007-11-20 Dan Bernstein <mitz@apple.com>
3299 Reviewed by Adam Roben.
3301 - fix <rdar://problem/5090708> Textareas render broken-looking scrollbars when too short to show full scrollbar
3303 * platform/win/PlatformScrollBar.h:
3304 * platform/win/PlatformScrollBarSafari.cpp:
3305 Added the "hit inset" constants (representing how far the track eats
3307 (WebCore::PlatformScrollbar::paint): Changed to paint the buttons and
3308 the thumb only if they should be showing.
3309 (WebCore::PlatformScrollbar::hasButtons): Added. Returns whether the
3310 arrows should be drawn.
3311 (WebCore::PlatformScrollbar::hasThumb): Added. Returns whether the thumb
3313 (WebCore::PlatformScrollbar::forwardButtonRect):
3314 (WebCore::PlatformScrollbar::trackRect): Changed to return the entire
3315 bounds of the scrollbar if the scrollbar has no buttons.
3316 (WebCore::PlatformScrollbar::paintTrack): Changed to paint a disabled
3317 track along the entire scrollbar if it has not buttons.
3318 (WebCore::PlatformScrollbar::hitTest): Changed to hit test only the
3319 parts that the scrollbar has in its current dimensions.
3321 2007-11-20 Mark Rowe <mrowe@apple.com>
3323 Reviewed by Alp Toker.
3325 * config.h: Change #if to #ifdef to silence warnings on non-Apple platforms.
3327 2007-11-20 Simon Hausmann <hausmann@kde.org>
3329 Reviewed by Adam Treat <treat@kde.org>.
3331 Remove static linkage of QtWebKit against the ICO image format plugin.
3332 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
3335 * platform/graphics/qt/ImageDecoderQt.cpp:
3337 2007-11-20 David D. Kilzer <ddkilzer@webkit.org>
3339 no-svg build broken after r27278
3340 <http://bugs.webkit.org/show_bug.cgi?id=16061>
3344 * bindings/scripts/CodeGeneratorObjC.pm: Always generate DOMHTMLEmbedElementPrivate.h
3345 and DOMHTMLObjectElementPrivate.h for no-svg build.
3347 2007-11-20 Adam Treat <treat@kde.org>
3351 * Don't use so much heap memory.
3353 * platform/graphics/qt/ImageDecoderQt.cpp:
3354 * platform/graphics/qt/ImageDecoderQt.h:
3355 * platform/graphics/qt/ImageSourceQt.cpp:
3356 (WebCore::ImageSource::createFrameAtIndex):
3358 2007-11-20 Lars Knoll <lars@trolltech.com>
3362 Fix text break interators.
3364 The break iterators where trying to be smart about the input
3365 string and caching their results. Unfortunately a pointer/string length
3366 comparison is not good enough in all cases (since some input is stack based
3367 temp strings). Removed the caching but at the same time started to use a more
3368 efficient constructor of QTextBoundaryFinder that doesn't need to malloc for
3371 Fixes two test cases that test "text-transform: capitalize".
3373 * platform/qt/TextBreakIteratorQt.cpp:
3374 (WebCore::wordBreakIterator):
3375 (WebCore::characterBreakIterator):
3376 (WebCore::lineBreakIterator):
3377 (WebCore::sentenceBreakIterator):
3379 2007-11-20 Adam Treat <treat@kde.org>
3383 * Make gif animations work for instance.
3385 * platform/graphics/qt/ImageDecoderQt.cpp:
3386 (WebCore::ImageDecoderQt::reset):
3387 (WebCore::ImageDecoderQt::setData):
3388 (WebCore::ImageDecoderQt::frameCount):
3389 (WebCore::ImageDecoderQt::repetitionCount):
3390 * platform/graphics/qt/ImageDecoderQt.h:
3392 2007-11-20 Adam Treat <treat@kde.org>
3394 * Build in release mode
3396 * platform/NotImplemented.h:
3398 2007-11-20 Adam Treat <treat@kde.org>
3400 Reviewed by Simon and George.
3402 * Be quiet and allow suppression of NotImplemented calls at runtime.
3404 * platform/NotImplemented.h:
3406 2007-11-19 Doug Turner <dougt@meer.net>
3408 Reviewed by Alp Toker.
3410 http://bugs.webkit.org/show_bug.cgi?id=16054
3411 Crash when GlyphPage::fill is called with more than 256 bytes of data
3413 http://bugs.webkit.org/show_bug.cgi?id=14446
3414 [GDK] Crash on http://www.wikipedia.org/
3416 setGlyphDataForIndex() uses a fixed array of size 256 which we can't
3417 exceed. We need to return failure if the buffer has Unicode
3418 supplementary characters for now.
3420 This strategy matches the Win port, which also doesn't support this
3423 Add an assertion so nobody makes this mistake again.
3425 * platform/GlyphPageTreeNode.h:
3426 (WebCore::GlyphPage::setGlyphDataForIndex):
3427 * platform/gtk/GlyphPageTreeNodeGtk.cpp:
3428 (WebCore::GlyphPage::fill):
3430 2007-11-19 Doug Turner <dougt@meer.net>
3432 Reviewed by Timothy Hatcher.
3434 http://bugs.webkit.org/show_bug.cgi?id=16050
3435 sqlite3_prepare16_v2 build bustage.
3437 Using the correct SQLITE_VERSION_NUMBER around sqlite_prepare16_v2
3438 to fix build bustage.
3440 * platform/sql/SQLiteStatement.cpp:
3441 (WebCore::SQLiteStatement::prepare):
3443 2007-11-19 Mark Rowe <mrowe@apple.com>
3445 Build fix. Don't over-qualify the constructor name.
3447 * storage/DatabaseDetails.h:
3449 2007-11-19 Brady Eidson <beidson@apple.com>
3453 Stub out the WebCore parts of the WebKit API
3456 * WebCore.xcodeproj/project.pbxproj:
3458 * storage/DatabaseDetails.h: Added. Simple container for vitals on a specific database
3459 (WebCore::DatabaseDetails::DatabaseDetails::DatabaseDetails):
3460 (WebCore::DatabaseDetails::DatabaseDetails):
3461 (WebCore::DatabaseDetails::isValid):
3462 (WebCore::DatabaseDetails::name):
3463 (WebCore::DatabaseDetails::version):
3464 (WebCore::DatabaseDetails::displayName):
3465 (WebCore::DatabaseDetails::expectedUsage):
3466 (WebCore::DatabaseDetails::currentUsage):
3468 * storage/DatabaseTracker.cpp: Added various methods for API usage
3469 (WebCore::DatabaseTracker::detailsForNameAndOrigin):
3470 (WebCore::DatabaseTracker::usageForOrigin):
3471 (WebCore::DatabaseTracker::quotaForOrigin):
3472 (WebCore::DatabaseTracker::setQuota):
3473 * storage/DatabaseTracker.h:
3475 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
3479 * platform/graphics/wx/AffineTransformWx.cpp:
3480 (WebCore::AffineTransform::operator== ):
3481 m_transform is only available when using wxGraphicsContext.
3483 2007-11-19 Alp Toker <alp@atoker.com>
3485 Reviewed by Mark Rowe.
3489 Add a check to avoid crashing when the GraphicsContext is not
3490 associated with a GdkDrawable. This was noticed when adding printing
3491 support but might be triggered in other situations too.
3493 Do not render themes when painting is disabled. This is an
3494 optimisation for cases where GraphicsContext is used to calculate page
3495 dimensions etc. without actually rendering.
3497 * platform/graphics/cairo/GraphicsContextCairo.cpp:
3498 (WebCore::GraphicsContext::gdkDrawable):
3499 * platform/gtk/RenderThemeGtk.cpp:
3500 (WebCore::paintMozWidget):
3502 2007-11-13 Rahul Abrol <ra5ul@comcast.net>
3504 Reviewed by Tim Hatcher.
3506 http://bugs.webkit.org/show_bug.cgi?id=15977
3507 Resizing images preference now toggles default image state.
3509 * loader/ImageDocument.cpp:
3510 (WebCore::ImageDocument::ImageDocument):