| | 1 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
|---|
| | 2 | |
|---|
| | 3 | wx !USE(WXGC) build fix. This is necessary until we find a way to replace GDI with |
|---|
| | 4 | an alternative that performs reasonably well. (GDI+ is too slow in many cases.) |
|---|
| | 5 | |
|---|
| | 6 | * platform/graphics/AffineTransform.h: |
|---|
| | 7 | |
|---|
| | 8 | 2008-08-14 Eric Carlson <eric.carlson@apple.com> |
|---|
| | 9 | |
|---|
| | 10 | Reviewed by Adele. |
|---|
| | 11 | |
|---|
| | 12 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20388 |
|---|
| | 13 | <video> elements on Windows never becomes visible when a page is restored from the cache |
|---|
| | 14 | |
|---|
| | 15 | Always pass "set" calls down to MediaPlayerPrivate instead of only when the |
|---|
| | 16 | value is different from the cached value. Let the implementation decide when |
|---|
| | 17 | to avoid work because nothing has changed. |
|---|
| | 18 | |
|---|
| | 19 | * platform/graphics/MediaPlayer.cpp: |
|---|
| | 20 | (WebCore::MediaPlayer::setVolume): |
|---|
| | 21 | (WebCore::MediaPlayer::setRate): |
|---|
| | 22 | (WebCore::MediaPlayer::setRect): |
|---|
| | 23 | (WebCore::MediaPlayer::setVisible): |
|---|
| | 24 | |
|---|
| | 25 | 2008-08-14 Keishi Hattori <casey.hattori@gmail.com> |
|---|
| | 26 | |
|---|
| | 27 | Make Firebug command line API respect predefined variables. |
|---|
| | 28 | |
|---|
| | 29 | https://bugs.webkit.org/show_bug.cgi?id=20385 |
|---|
| | 30 | |
|---|
| | 31 | Reviewed by Tim Hatcher. |
|---|
| | 32 | |
|---|
| | 33 | * page/inspector/Console.js: |
|---|
| | 34 | |
|---|
| | 35 | 2008-08-14 Sam Weinig <sam@webkit.org> |
|---|
| | 36 | |
|---|
| | 37 | Reviewed by Geoffrey Garen and Timothy Hatcher. |
|---|
| | 38 | |
|---|
| | 39 | Allow programatically setting the HTMLTokenizers time delay and chunk size |
|---|
| | 40 | which are used for determining how aggressively we yield. |
|---|
| | 41 | |
|---|
| | 42 | * WebCore.base.exp: |
|---|
| | 43 | * html/HTMLTokenizer.cpp: |
|---|
| | 44 | (WebCore::HTMLTokenizer::begin): |
|---|
| | 45 | (WebCore::HTMLTokenizer::continueProcessing): |
|---|
| | 46 | * html/HTMLTokenizer.h: |
|---|
| | 47 | * page/Page.cpp: |
|---|
| | 48 | (WebCore::Page::Page): |
|---|
| | 49 | (WebCore::Page::setCustomHTMLTokenizerTimeDelay): |
|---|
| | 50 | (WebCore::Page::setCustomHTMLTokenizerChunkSize): |
|---|
| | 51 | * page/Page.h: |
|---|
| | 52 | (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): |
|---|
| | 53 | (WebCore::Page::customHTMLTokenizerTimeDelay): |
|---|
| | 54 | (WebCore::Page::hasCustomHTMLTokenizerChunkSize): |
|---|
| | 55 | (WebCore::Page::customHTMLTokenizerChunkSize): |
|---|
| | 56 | |
|---|
| | 57 | 2008-08-14 Eric Seidel <eric@webkit.org> |
|---|
| | 58 | |
|---|
| | 59 | Reviewed by Beth. |
|---|
| | 60 | |
|---|
| | 61 | Move us one step closer to cross-platform svg/graphics code |
|---|
| | 62 | |
|---|
| | 63 | * WebCore.xcodeproj/project.pbxproj: |
|---|
| | 64 | * html/CanvasStyle.cpp: |
|---|
| | 65 | * platform/graphics/Color.cpp: |
|---|
| | 66 | (WebCore::colorWithOverrideAlpha): |
|---|
| | 67 | * platform/graphics/Color.h: |
|---|
| | 68 | * svg/graphics/cg/CgSupport.cpp: |
|---|
| | 69 | (WebCore::applyStrokeStyleToContext): |
|---|
| | 70 | (WebCore::strokeBoundingBox): |
|---|
| | 71 | * svg/graphics/cg/SVGPaintServerSolidCg.cpp: |
|---|
| | 72 | (WebCore::SVGPaintServerSolid::setup): |
|---|
| | 73 | |
|---|
| | 74 | 2008-08-14 Eric Seidel <eric@webkit.org> |
|---|
| | 75 | |
|---|
| | 76 | Reviewed by Alexey. |
|---|
| | 77 | |
|---|
| | 78 | Remove un-need includes from HTMLCanvas and use the |
|---|
| | 79 | Gradient platform abstraction in one place in CanvasStyle |
|---|
| | 80 | |
|---|
| | 81 | * html/CanvasRenderingContext2D.cpp: |
|---|
| | 82 | (WebCore::CanvasRenderingContext2D::fillRect): |
|---|
| | 83 | * html/CanvasStyle.cpp: |
|---|
| | 84 | * html/HTMLCanvasElement.cpp: |
|---|
| | 85 | |
|---|
| | 86 | 2008-08-14 Eric Seidel <eric@webkit.org> |
|---|
| | 87 | |
|---|
| | 88 | Reviewed by Alexey. |
|---|
| | 89 | |
|---|
| | 90 | Clean up GlyphBuffer.h, removing more #ifdefs |
|---|
| | 91 | |
|---|
| | 92 | * platform/graphics/GlyphBuffer.h: |
|---|
| | 93 | (WebCore::GlyphBuffer::glyphAt): |
|---|
| | 94 | (WebCore::GlyphBuffer::advanceAt): |
|---|
| | 95 | (WebCore::GlyphBuffer::add): |
|---|
| | 96 | |
|---|
| | 97 | 2008-08-14 Eric Seidel <eric@webkit.org> |
|---|
| | 98 | |
|---|
| | 99 | Reviewed by Sam. |
|---|
| | 100 | |
|---|
| | 101 | Clean up AffineTransform.h, removing #ifdefs |
|---|
| | 102 | |
|---|
| | 103 | * platform/graphics/AffineTransform.h: |
|---|
| | 104 | * platform/graphics/cairo/AffineTransformCairo.cpp: |
|---|
| | 105 | * platform/graphics/cg/AffineTransformCG.cpp: |
|---|
| | 106 | * platform/graphics/qt/AffineTransformQt.cpp: |
|---|
| | 107 | * platform/graphics/wx/AffineTransformWx.cpp: |
|---|
| | 108 | |
|---|
| | 109 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
|---|
| | 110 | |
|---|
| | 111 | - fix non-CG builds by adding an ImageSource::frameSizeAtIndex() that returns size(). |
|---|
| | 112 | |
|---|
| | 113 | * platform/graphics/cairo/ImageSourceCairo.cpp: |
|---|
| | 114 | (WebCore::ImageSource::frameSizeAtIndex): |
|---|
| | 115 | * platform/graphics/qt/ImageSourceQt.cpp: |
|---|
| | 116 | (WebCore::ImageSource::frameSizeAtIndex): |
|---|
| | 117 | * platform/graphics/wx/ImageSourceWx.cpp: |
|---|
| | 118 | (WebCore::ImageSource::frameSizeAtIndex): |
|---|
| | 119 | |
|---|
| | 120 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
|---|
| | 121 | |
|---|
| | 122 | Reviewed by Brady Eidson. |
|---|
| | 123 | |
|---|
| | 124 | - fix <rdar://problem/5993323> REGRESSION (r34210): Apple.com favicon appears stretched/clipped |
|---|
| | 125 | |
|---|
| | 126 | * platform/graphics/BitmapImage.cpp: |
|---|
| | 127 | (WebCore::BitmapImage::BitmapImage): Added initialization of |
|---|
| | 128 | m_hasUniformFrameSize. |
|---|
| | 129 | (WebCore::BitmapImage::cacheFrame): Added code to get the size of the |
|---|
| | 130 | cached frame for use in decoded size computation and for setting |
|---|
| | 131 | m_hasUniformFrameSize. |
|---|
| | 132 | (WebCore::BitmapImage::currentFrameSize): Added. |
|---|
| | 133 | (WebCore::BitmapImage::dataChanged): Added code to reset |
|---|
| | 134 | m_hasUniformFrameSize. |
|---|
| | 135 | * platform/graphics/BitmapImage.h: Added currentFrameSize() and |
|---|
| | 136 | m_hasUniformFrameSize. |
|---|
| | 137 | * platform/graphics/ImageSource.h: Added frameSizeAtIndex(). |
|---|
| | 138 | * platform/graphics/cg/ImageCG.cpp: |
|---|
| | 139 | (WebCore::BitmapImage::draw): Changed to use currentFrameSize(). This |
|---|
| | 140 | fixes the bug, which resulted from assuming that the frame being drawn |
|---|
| | 141 | was the same size as the first frame. |
|---|
| | 142 | * platform/graphics/cg/ImageSourceCG.cpp: |
|---|
| | 143 | (WebCore::ImageSource::frameSizeAtIndex): Renamed size() to this and |
|---|
| | 144 | changed to get the size of the frame at the given index. |
|---|
| | 145 | (WebCore::ImageSource::size): Added. Returns frameSizeAtIndex(0). |
|---|
| | 146 | |
|---|
| | 147 | 2008-08-13 Simon Fraser <simon.fraser@apple.com> |
|---|
| | 148 | |
|---|
| | 149 | Reviewed by Eric Seidel |
|---|
| | 150 | |
|---|
| | 151 | Fix @font-face inside @media rule crash. |
|---|
| | 152 | https://bugs.webkit.org/show_bug.cgi?id=20367 |
|---|
| | 153 | |
|---|
| | 154 | Test: fast/css/font-face-in-media-rule.html |
|---|
| | 155 | |
|---|
| | 156 | * css/CSSStyleSelector.cpp: |
|---|
| | 157 | (WebCore::CSSRuleSet::addRulesFromSheet): |
|---|
| | 158 | |
|---|
| | 159 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
|---|
| | 160 | |
|---|
| | 161 | wx build fixes after recent changes to Canvas and Image classes. |
|---|
| | 162 | |
|---|
| | 163 | * platform/graphics/Pattern.h: |
|---|
| | 164 | * platform/graphics/wx/GradientWx.cpp: |
|---|
| | 165 | (WebCore::Gradient::fill): |
|---|
| | 166 | * platform/graphics/wx/GraphicsContextWx.cpp: |
|---|
| | 167 | (WebCore::GraphicsContext::applyFillPattern): |
|---|
| | 168 | (WebCore::GraphicsContext::applyStrokePattern): |
|---|
| | 169 | * platform/graphics/wx/ImageBufferWx.cpp: |
|---|
| | 170 | (WebCore::ImageBuffer::image): |
|---|
| | 171 | * platform/graphics/wx/ImageWx.cpp: |
|---|
| | 172 | (WebCore::Image::loadPlatformResource): |
|---|
| | 173 | |
|---|
| | 174 | 2008-08-14 Maxime Britto <britto@apple.com> |
|---|
| | 175 | |
|---|
| | 176 | Reviewed by Sam Weinig. |
|---|
| | 177 | |
|---|
| | 178 | rdar://6102511 |
|---|
| | 179 | When pan-scrolling, typing on the keyboard should either stop the pan scroll or be ignored |
|---|
| | 180 | IE and FF are both preventing the keyboard event to interact with the page while scrolling. |
|---|
| | 181 | Some differences exist between them concerning the kind of key which is pressed : |
|---|
| | 182 | IE7 : every key leads to a stop of the panning |
|---|
| | 183 | FF3 : the ESC and TAB keys leads to a stop, the other keys are inactive. |
|---|
| | 184 | For WebKit this patch is adopting the FF3 behavior except for the TAB key which is inactive too. |
|---|
| | 185 | |
|---|
| | 186 | * page/EventHandler.cpp: |
|---|
| | 187 | (WebCore::EventHandler::keyEvent): Verifies which key has been hit and decide either to stop the pan scroll or to swallow the key event. |
|---|
| | 188 | |
|---|
| | 189 | 2008-08-14 Christian Dywan <christian@twotoasts.de> |
|---|
| | 190 | |
|---|
| | 191 | Gtk+/ Cairo build fix, patch by Dirk Schulze. |
|---|
| | 192 | |
|---|
| | 193 | * html/CanvasStyle.cpp: |
|---|
| | 194 | * platform/graphics/cairo/PatternCairo.cpp: |
|---|
| | 195 | (WebCore::Pattern::createPlatformPattern): |
|---|
| | 196 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
|---|
| | 197 | |
|---|
| | 198 | 2008-08-14 Kevin McCullough <kmccullough@apple.com> |
|---|
| | 199 | |
|---|
| | 200 | Reviewed by Tim. |
|---|
| | 201 | |
|---|
| | 202 | <rdar://problem/6115819> Notify of profile in console |
|---|
| | 203 | |
|---|
| | 204 | * page/InspectorController.cpp: |
|---|
| | 205 | (WebCore::InspectorController::addProfile): |
|---|
| | 206 | (WebCore::InspectorController::addProfileMessageToConsole): Called by |
|---|
| | 207 | addProfile this is the function that adds a message to the console that |
|---|
| | 208 | a profile finished. |
|---|
| | 209 | * page/InspectorController.h: |
|---|
| | 210 | * page/JavaScriptProfile.cpp: Expose the profiler's unique ID to match |
|---|
| | 211 | the console log to the profile in the web inspector. |
|---|
| | 212 | (WebCore::getUniqueIdCallback): |
|---|
| | 213 | (WebCore::ProfileClass): |
|---|
| | 214 | * page/inspector/ProfilesPanel.js: Created a map of all the profiles by |
|---|
| | 215 | Id to bring up the requested profile. Also select and reveal the |
|---|
| | 216 | profile in the profile panel. And created displayTitleForProfileLink() |
|---|
| | 217 | which formats a title taking into account if it's user initiated or if |
|---|
| | 218 | there are multiples. Lasty, I put the user initiated profile in a |
|---|
| | 219 | variable. |
|---|
| | 220 | * page/inspector/inspector.js: Make the profile title be a clickable |
|---|
| | 221 | link that will take the user to the identified profile. Also expose |
|---|
| | 222 | the count of user initiated profiles so they can be displayed in the |
|---|
| | 223 | console with the correct count. |
|---|
| | 224 | |
|---|
| | 225 | 2008-08-14 Timothy Hatcher <timothy@apple.com> |
|---|
| | 226 | |
|---|
| | 227 | Avoid formating ConsoleMessages twice unless the message will be |
|---|
| | 228 | displayed in bubbles of a SourceFrame. |
|---|
| | 229 | |
|---|
| | 230 | Reviewed by Kevin McCullough. |
|---|
| | 231 | |
|---|
| | 232 | * page/inspector/Console.js: |
|---|
| | 233 | (WebInspector.ConsoleMessage): Only format the plain text message |
|---|
| | 234 | if the URL and line are valid and the level is error or warning. |
|---|
| | 235 | (WebInspector.ConsoleMessage.prototype.isErrorOrWarning): Added. |
|---|
| | 236 | Helper to test for error or warning level. |
|---|
| | 237 | * page/inspector/SourceFrame.js: |
|---|
| | 238 | (WebInspector.SourceFrame.prototype.addMessage): Don't add the |
|---|
| | 239 | message if there is no message or valid line or if the msg |
|---|
| | 240 | isn't an error or warning. |
|---|
| | 241 | |
|---|
| | 242 | 2008-08-14 Jan Michael Alonzo <jmalonzo@webkit.org> |
|---|
| | 243 | |
|---|
| | 244 | partial Gtk build fix, not reviewed |
|---|
| | 245 | |
|---|
| | 246 | * platform/graphics/cairo/PatternCairo.cpp: |
|---|
| | 247 | |
|---|
| | 248 | 2008-08-13 Sam Weinig <sam@webkit.org> |
|---|
| | 249 | |
|---|
| | 250 | Reviewed by Anders Carlson. |
|---|
| | 251 | |
|---|
| | 252 | Fix style issue. |
|---|
| | 253 | |
|---|
| | 254 | * html/HTMLMediaElement.cpp: |
|---|
| | 255 | (WebCore::HTMLMediaElement::pickMedia): |
|---|
| | 256 | |
|---|
| | 257 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
|---|
| | 258 | |
|---|
| | 259 | Build fix for Cairo, not reviewed. (exposed by gtk build slave) |
|---|
| | 260 | Continue Erics build fixes, after the Image cleanup. |
|---|
| | 261 | |
|---|
| | 262 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
|---|
| | 263 | (WebCore::ImageBuffer::image): |
|---|
| | 264 | |
|---|
| | 265 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
|---|
| | 266 | |
|---|
| | 267 | Build fix for Qt, not reviewed. |
|---|
| | 268 | Don't declare eventuallyMarkAsParserCreated in a block wrapped by !USE_QXMLSTREAM. |
|---|
| | 269 | |
|---|
| | 270 | * dom/XMLTokenizer.cpp: |
|---|
| | 271 | (WebCore::eventuallyMarkAsParserCreated): Was erre |
|---|
| | 272 | |
|---|
| | 273 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
|---|
| | 274 | |
|---|
| | 275 | Build fix, not reviewed. |
|---|
| | 276 | Add ScriptElement.cpp to Gtk build. |
|---|
| | 277 | |
|---|
| | 278 | * GNUmakefile.am: |
|---|
| | 279 | |
|---|
| | 280 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
|---|
| | 281 | |
|---|
| | 282 | Reviewed by Eric. |
|---|
| | 283 | |
|---|
| | 284 | Fixes: https://bugs.webkit.org/show_bug.cgi?id=20372 |
|---|
| | 285 | |
|---|
| | 286 | Refactor HTMLScriptElement's code into a common base class: ScriptElement. |
|---|
| | 287 | SVGScriptElement will be converted to use ScriptElement in a follow-up patch. |
|---|
| | 288 | |
|---|
| | 289 | This resolves code duplications and allows us to completly replace the old |
|---|
| | 290 | SVGScriptElement (which doesn't use CachedScript, no dynamic injected scripts etc..) |
|---|
| | 291 | |
|---|
| | 292 | As ScriptElement, doesn't actually inherit from Element, we may want to rename |
|---|
| | 293 | it, though StyleElement uses the same naming convention, so I left it as is for now. |
|---|
| | 294 | Eventually we'll rename both files in future. |
|---|
| | 295 | |
|---|
| | 296 | No functional changes yet, as SVGScriptElement doesn't yet use the new base class. |
|---|
| | 297 | |
|---|
| | 298 | * WebCore.pro: Add new ScriptElement.cpp to build. |
|---|
| | 299 | * WebCore.vcproj/WebCore.vcproj: Ditto. |
|---|
| | 300 | * WebCore.xcodeproj/project.pbxproj: Ditto. |
|---|
| | 301 | * WebCoreSources.bkl: Dutto. |
|---|
| | 302 | * dom/ScriptElement.cpp: Added. 1:1 based on HTMLScriptElement |
|---|
| | 303 | (WebCore::ScriptElement::insertedIntoDocument): |
|---|
| | 304 | (WebCore::ScriptElement::removedFromDocument): |
|---|
| | 305 | (WebCore::ScriptElement::childrenChanged): |
|---|
| | 306 | (WebCore::ScriptElement::finishParsingChildren): |
|---|
| | 307 | (WebCore::ScriptElement::handleSourceAttribute): |
|---|
| | 308 | (WebCore::isSupportedJavaScriptLanguage): |
|---|
| | 309 | (WebCore::ScriptElementData::ScriptElementData): |
|---|
| | 310 | (WebCore::ScriptElementData::~ScriptElementData): |
|---|
| | 311 | (WebCore::ScriptElementData::requestScript): |
|---|
| | 312 | (WebCore::ScriptElementData::evaluateScript): |
|---|
| | 313 | (WebCore::ScriptElementData::stopLoadRequest): |
|---|
| | 314 | (WebCore::ScriptElementData::notifyFinished): |
|---|
| | 315 | (WebCore::ScriptElementData::ignoresLoadRequest): |
|---|
| | 316 | (WebCore::ScriptElementData::shouldExecuteAsJavaScript): |
|---|
| | 317 | (WebCore::ScriptElementData::scriptCharset): |
|---|
| | 318 | (WebCore::ScriptElementData::scriptContent): |
|---|
| | 319 | * dom/ScriptElement.h: Added. |
|---|
| | 320 | (WebCore::ScriptElement::ScriptElement): |
|---|
| | 321 | (WebCore::ScriptElement::~ScriptElement): |
|---|
| | 322 | (WebCore::ScriptElementData::element): |
|---|
| | 323 | (WebCore::ScriptElementData::createdByParser): |
|---|
| | 324 | (WebCore::ScriptElementData::setCreatedByParser): |
|---|
| | 325 | * dom/XMLTokenizer.cpp: |
|---|
| | 326 | (WebCore::isScriptElement): |
|---|
| | 327 | (WebCore::castToScriptElement): |
|---|
| | 328 | (WebCore::eventuallyMarkAsParserCreated): |
|---|
| | 329 | (WebCore::XMLTokenizer::startElementNs): |
|---|
| | 330 | (WebCore::XMLTokenizer::endElementNs): |
|---|
| | 331 | (WebCore::createXHTMLParserErrorHeader): |
|---|
| | 332 | (WebCore::XMLTokenizer::insertErrorMessageBlock): |
|---|
| | 333 | * html/HTMLScriptElement.cpp: Refactored code, pushed most code down to ScriptElement. |
|---|
| | 334 | (WebCore::HTMLScriptElement::HTMLScriptElement): |
|---|
| | 335 | (WebCore::HTMLScriptElement::~HTMLScriptElement): |
|---|
| | 336 | (WebCore::HTMLScriptElement::isURLAttribute): |
|---|
| | 337 | (WebCore::HTMLScriptElement::setCreatedByParser): |
|---|
| | 338 | (WebCore::HTMLScriptElement::shouldExecuteAsJavaScript): |
|---|
| | 339 | (WebCore::HTMLScriptElement::childrenChanged): |
|---|
| | 340 | (WebCore::HTMLScriptElement::parseMappedAttribute): |
|---|
| | 341 | (WebCore::HTMLScriptElement::finishParsingChildren): |
|---|
| | 342 | (WebCore::HTMLScriptElement::insertedIntoDocument): |
|---|
| | 343 | (WebCore::HTMLScriptElement::removedFromDocument): |
|---|
| | 344 | (WebCore::HTMLScriptElement::text): |
|---|
| | 345 | (WebCore::HTMLScriptElement::setText): |
|---|
| | 346 | (WebCore::HTMLScriptElement::setHtmlFor): |
|---|
| | 347 | (WebCore::HTMLScriptElement::setEvent): |
|---|
| | 348 | (WebCore::HTMLScriptElement::charset): |
|---|
| | 349 | (WebCore::HTMLScriptElement::src): |
|---|
| | 350 | (WebCore::HTMLScriptElement::type): |
|---|
| | 351 | (WebCore::HTMLScriptElement::scriptCharset): |
|---|
| | 352 | (WebCore::HTMLScriptElement::scriptContent): |
|---|
| | 353 | (WebCore::HTMLScriptElement::sourceAttributeValue): |
|---|
| | 354 | (WebCore::HTMLScriptElement::charsetAttributeValue): |
|---|
| | 355 | (WebCore::HTMLScriptElement::typeAttributeValue): |
|---|
| | 356 | (WebCore::HTMLScriptElement::languageAttributeValue): |
|---|
| | 357 | (WebCore::HTMLScriptElement::dispatchLoadEvent): |
|---|
| | 358 | (WebCore::HTMLScriptElement::dispatchErrorEvent): |
|---|
| | 359 | * html/HTMLScriptElement.h: |
|---|
| | 360 | * svg/SVGScriptElement.cpp: Inherit from ScriptElement, don't actually use it yet. |
|---|
| | 361 | * svg/SVGScriptElement.cpp: |
|---|
| | 362 | (WebCore::SVGScriptElement::SVGScriptElement): |
|---|
| | 363 | (WebCore::SVGScriptElement::scriptContent): |
|---|
| | 364 | (WebCore::SVGScriptElement::sourceAttributeValue): |
|---|
| | 365 | (WebCore::SVGScriptElement::charsetAttributeValue): |
|---|
| | 366 | (WebCore::SVGScriptElement::typeAttributeValue): |
|---|
| | 367 | (WebCore::SVGScriptElement::languageAttributeValue): |
|---|
| | 368 | (WebCore::SVGScriptElement::dispatchLoadEvent): |
|---|
| | 369 | (WebCore::SVGScriptElement::dispatchErrorEvent): |
|---|
| | 370 | * svg/SVGScriptElement.h: |
|---|
| | 371 | (WebCore::SVGScriptElement::setCreatedByParser): |
|---|
| | 372 | |
|---|
| | 373 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 374 | |
|---|
| | 375 | Attempt to fix the Gtk build, no review. |
|---|
| | 376 | |
|---|
| | 377 | I removed the bogus GraphicsContext::translatePoint() hack for Gtk in the process. |
|---|
| | 378 | |
|---|
| | 379 | * platform/graphics/GraphicsContext.h: |
|---|
| | 380 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
|---|
| | 381 | * platform/graphics/qt/GradientQt.cpp: |
|---|
| | 382 | * platform/graphics/qt/GraphicsContextQt.cpp: |
|---|
| | 383 | * platform/gtk/RenderThemeGtk.cpp: |
|---|
| | 384 | (WebCore::paintMozWidget): |
|---|
| | 385 | |
|---|
| | 386 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 387 | |
|---|
| | 388 | Yet another attempt to fix the Qt build, no review. |
|---|
| | 389 | |
|---|
| | 390 | * platform/graphics/qt/GradientQt.cpp: |
|---|
| | 391 | * platform/graphics/qt/GraphicsContextQt.cpp: |
|---|
| | 392 | (WebCore::GraphicsContext::applyStrokePattern): |
|---|
| | 393 | (WebCore::GraphicsContext::applyFillPattern): |
|---|
| | 394 | |
|---|
| | 395 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 396 | |
|---|
| | 397 | Attempt to fix the Windows build, no review. |
|---|
| | 398 | |
|---|
| | 399 | * platform/win/CursorWin.cpp: |
|---|
| | 400 | (WebCore::loadCursorByName): |
|---|
| | 401 | * platform/win/ScrollViewWin.cpp: |
|---|
| | 402 | (WebCore::ScrollView::paint): |
|---|
| | 403 | |
|---|
| | 404 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 405 | |
|---|
| | 406 | Attempt to fix the Windows build, no review. |
|---|
| | 407 | |
|---|
| | 408 | * platform/win/CursorWin.cpp: |
|---|
| | 409 | (WebCore::loadCursorByName): |
|---|
| | 410 | * platform/win/ScrollViewWin.cpp: |
|---|
| | 411 | (WebCore::ScrollView::paint): |
|---|
| | 412 | |
|---|
| | 413 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 414 | |
|---|
| | 415 | Attempt to fix the Qt build, no review. |
|---|
| | 416 | |
|---|
| | 417 | * platform/graphics/qt/ImageBufferQt.cpp: |
|---|
| | 418 | (WebCore::ImageBuffer::image): |
|---|
| | 419 | |
|---|
| | 420 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 421 | |
|---|
| | 422 | Attempt to fix the Windows build, no review. |
|---|
| | 423 | |
|---|
| | 424 | * platform/graphics/win/ImageWin.cpp: |
|---|
| | 425 | (WebCore::Image::loadPlatformResource): |
|---|
| | 426 | * plugins/win/PluginViewWin.cpp: |
|---|
| | 427 | (WebCore::PluginView::paintMissingPluginIcon): |
|---|
| | 428 | |
|---|
| | 429 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 430 | |
|---|
| | 431 | Another attempt to fix the Qt build, no review. |
|---|
| | 432 | |
|---|
| | 433 | * platform/graphics/qt/ImageQt.cpp: |
|---|
| | 434 | * platform/graphics/qt/StillImageQt.h: |
|---|
| | 435 | |
|---|
| | 436 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 437 | |
|---|
| | 438 | No review, build fix only. |
|---|
| | 439 | |
|---|
| | 440 | Fix mac build, due to change in new code since my patch was written. |
|---|
| | 441 | |
|---|
| | 442 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
|---|
| | 443 | (WebCore::SVGResourceMasker::applyMask): |
|---|
| | 444 | |
|---|
| | 445 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 446 | |
|---|
| | 447 | Build fix only, no review. |
|---|
| | 448 | |
|---|
| | 449 | Attempt to fix the Qt build. |
|---|
| | 450 | |
|---|
| | 451 | * platform/graphics/qt/ImageBufferQt.cpp: |
|---|
| | 452 | * platform/graphics/qt/StillImageQt.h: |
|---|
| | 453 | (WebCore::StillImage::create): |
|---|
| | 454 | (WebCore::StillImage::destroyDecodedData): |
|---|
| | 455 | (WebCore::StillImage::decodedSize): |
|---|
| | 456 | |
|---|
| | 457 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 458 | |
|---|
| | 459 | Build fix only, no review. |
|---|
| | 460 | |
|---|
| | 461 | Attempt to fix the Qt build. |
|---|
| | 462 | |
|---|
| | 463 | * html/CanvasStyle.cpp: |
|---|
| | 464 | (WebCore::CanvasStyle::applyStrokeColor): |
|---|
| | 465 | (WebCore::CanvasStyle::applyFillColor): |
|---|
| | 466 | |
|---|
| | 467 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 468 | |
|---|
| | 469 | Reviewed by Sam. |
|---|
| | 470 | |
|---|
| | 471 | Match HTML5 spec by throwing INVALID_STATE_ERR when |
|---|
| | 472 | createPattern is called and the HTMLImageElement is not |
|---|
| | 473 | yet done loading the image (!isComplete) |
|---|
| | 474 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
|---|
| | 475 | |
|---|
| | 476 | Test: http/misc/canvas-pattern-from-incremental-image.html |
|---|
| | 477 | |
|---|
| | 478 | * html/CanvasRenderingContext2D.cpp: |
|---|
| | 479 | (WebCore::CanvasRenderingContext2D::createPattern): |
|---|
| | 480 | |
|---|
| | 481 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 482 | |
|---|
| | 483 | Reviewed by Niko. |
|---|
| | 484 | |
|---|
| | 485 | Split out a Pattern class from CanvasPattern |
|---|
| | 486 | and remove all the Pattern-related #ifdefs |
|---|
| | 487 | (This will break non-mac platforms! I will fix them.) |
|---|
| | 488 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
|---|
| | 489 | |
|---|
| | 490 | * GNUmakefile.am: |
|---|
| | 491 | * WebCore.pro: |
|---|
| | 492 | * WebCore.vcproj/WebCore.vcproj: |
|---|
| | 493 | * WebCore.xcodeproj/project.pbxproj: |
|---|
| | 494 | * WebCoreSources.bkl: |
|---|
| | 495 | * html/CanvasPattern.cpp: |
|---|
| | 496 | (WebCore::CanvasPattern::parseRepetitionType): |
|---|
| | 497 | (WebCore::CanvasPattern::CanvasPattern): |
|---|
| | 498 | * html/CanvasPattern.h: |
|---|
| | 499 | (WebCore::CanvasPattern::create): |
|---|
| | 500 | (WebCore::CanvasPattern::pattern): |
|---|
| | 501 | (WebCore::CanvasPattern::originClean): |
|---|
| | 502 | * html/CanvasRenderingContext2D.cpp: |
|---|
| | 503 | (WebCore::CanvasRenderingContext2D::createPattern): |
|---|
| | 504 | (WebCore::CanvasRenderingContext2D::applyStrokePattern): |
|---|
| | 505 | (WebCore::CanvasRenderingContext2D::applyFillPattern): |
|---|
| | 506 | * html/CanvasRenderingContext2D.h: |
|---|
| | 507 | * html/HTMLCanvasElement.cpp: |
|---|
| | 508 | * html/HTMLCanvasElement.h: |
|---|
| | 509 | * loader/FrameLoader.cpp: |
|---|
| | 510 | (WebCore::FrameLoader::createHistoryItem): |
|---|
| | 511 | * platform/graphics/GraphicsContext.h: |
|---|
| | 512 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
|---|
| | 513 | (WebCore::GraphicsContext::applyStrokePattern): |
|---|
| | 514 | (WebCore::GraphicsContext::applyFillPattern): |
|---|
| | 515 | * platform/graphics/cg/GraphicsContextCG.cpp: |
|---|
| | 516 | (WebCore::GraphicsContext::clipToImageBuffer): |
|---|
| | 517 | (WebCore::GraphicsContext::applyStrokePattern): |
|---|
| | 518 | (WebCore::GraphicsContext::applyFillPattern): |
|---|
| | 519 | |
|---|
| | 520 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 521 | |
|---|
| | 522 | Reviewed by Niko. |
|---|
| | 523 | |
|---|
| | 524 | Make Images RefCounted (and clean up callers) |
|---|
| | 525 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
|---|
| | 526 | |
|---|
| | 527 | * editing/DeleteButtonController.cpp: |
|---|
| | 528 | (WebCore::DeleteButtonController::createDeletionUI): |
|---|
| | 529 | * loader/CachedImage.cpp: |
|---|
| | 530 | (WebCore::CachedImage::CachedImage): |
|---|
| | 531 | (WebCore::brokenImage): |
|---|
| | 532 | (WebCore::nullImage): |
|---|
| | 533 | (WebCore::CachedImage::image): |
|---|
| | 534 | (WebCore::CachedImage::notifyObservers): |
|---|
| | 535 | (WebCore::CachedImage::createImage): |
|---|
| | 536 | * loader/CachedImage.h: |
|---|
| | 537 | * loader/icon/IconRecord.cpp: |
|---|
| | 538 | (WebCore::IconRecord::setImageData): |
|---|
| | 539 | (WebCore::IconRecord::loadImageFromResource): |
|---|
| | 540 | * loader/icon/IconRecord.h: |
|---|
| | 541 | * platform/graphics/BitmapImage.h: |
|---|
| | 542 | (WebCore::BitmapImage::create): |
|---|
| | 543 | * platform/graphics/GeneratedImage.h: |
|---|
| | 544 | * platform/graphics/Gradient.cpp: |
|---|
| | 545 | * platform/graphics/Gradient.h: |
|---|
| | 546 | * platform/graphics/Image.cpp: |
|---|
| | 547 | (WebCore::Image::nullImage): |
|---|
| | 548 | * platform/graphics/Image.h: |
|---|
| | 549 | * platform/graphics/ImageBuffer.h: |
|---|
| | 550 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
|---|
| | 551 | (WebCore::ImageBuffer::image): |
|---|
| | 552 | * platform/graphics/cg/ImageBufferCG.cpp: |
|---|
| | 553 | (WebCore::ImageBuffer::image): |
|---|
| | 554 | (WebCore::ImageBuffer::getImageData): |
|---|
| | 555 | (WebCore::ImageBuffer::putImageData): |
|---|
| | 556 | * platform/graphics/cg/PDFDocumentImage.h: |
|---|
| | 557 | (WebCore::PDFDocumentImage::create): |
|---|
| | 558 | (WebCore::PDFDocumentImage::destroyDecodedData): |
|---|
| | 559 | (WebCore::PDFDocumentImage::decodedSize): |
|---|
| | 560 | * platform/graphics/gtk/ImageGtk.cpp: |
|---|
| | 561 | (WebCore::Image::loadPlatformResource): |
|---|
| | 562 | * platform/graphics/mac/ImageMac.mm: |
|---|
| | 563 | (WebCore::Image::loadPlatformResource): |
|---|
| | 564 | * rendering/RenderImage.cpp: |
|---|
| | 565 | * rendering/RenderLayer.cpp: |
|---|
| | 566 | (WebCore::RenderLayer::paintOverflowControls): |
|---|
| | 567 | * svg/graphics/SVGImage.cpp: |
|---|
| | 568 | (WebCore::SVGImage::nativeImageForCurrentFrame): |
|---|
| | 569 | * svg/graphics/SVGImage.h: |
|---|
| | 570 | (WebCore::SVGImage::create): |
|---|
| | 571 | (WebCore::SVGImage::destroyDecodedData): |
|---|
| | 572 | (WebCore::SVGImage::decodedSize): |
|---|
| | 573 | (WebCore::SVGImage::frameAtIndex): |
|---|
| | 574 | * svg/graphics/cairo/SVGPaintServerPatternCairo.cpp: |
|---|
| | 575 | (WebCore::SVGPaintServerPattern::setup): |
|---|
| | 576 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
|---|
| | 577 | (WebCore::SVGResourceMasker::applyMask): |
|---|
| | 578 | * svg/graphics/cg/SVGPaintServerPatternCg.cpp: |
|---|
| | 579 | (WebCore::patternCallback): |
|---|
| | 580 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
|---|
| | 581 | (WebCore::SVGResourceMasker::applyMask): |
|---|
| | 582 | |
|---|
| | 583 | 2008-08-13 Eric Seidel <eric@webkit.org> |
|---|
| | 584 | |
|---|
| | 585 | Reviewed by Niko. |
|---|
| | 586 | |
|---|
| | 587 | Remove #ifdefs from CanvasStyle by using platform/Color.h |
|---|
| | 588 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
|---|
| | 589 | |
|---|
| | 590 | There are some down-sides to this commit. |
|---|
| | 591 | This commit limits us to 255 levels of grey for calls like: |
|---|
| | 592 | context.setStrokeStyle(.37, 1.0) |
|---|
| | 593 | previously CG might have used up to 32bits to store the grey level |
|---|
| | 594 | Since setStrokeStyle is not part of HTML5, I don't suspect the web will notice. |
|---|
| | 595 | |
|---|
| | 596 | Likewise, setStrokeStyle/setFillStyle calls which used float colors are now limited |
|---|
| | 597 | to RGBA32 (like all the rest of colors in WebCore), thus: |
|---|
| | 598 | context.setStrokStyle(.37, .24, .456, .99) will now have the same precision as: |
|---|
| | 599 | context.strokeStyle = "rgba(.37, .24, .456, .99)", which is to say RGBA32 |
|---|
| | 600 | |
|---|
| | 601 | If this is a problem for Dashboard, we can either roll out this commit |
|---|
| | 602 | or add a beefier Color abstraction, which can be used internally by GraphicsContext |
|---|
| | 603 | when keeping state, and then GraphicsContext can grow some additional set* routines |
|---|
| | 604 | for setting the a grey/float/whatever fill and stroke. |
|---|
| | 605 | |
|---|
| | 606 | * html/CanvasRenderingContext2D.cpp: |
|---|
| | 607 | (WebCore::CanvasRenderingContext2D::setFillStyle): |
|---|
| | 608 | * html/CanvasStyle.cpp: |
|---|
| | 609 | (WebCore::CanvasStyle::CanvasStyle): |
|---|
| | 610 | (WebCore::colorWithOverrideAlpha): |
|---|
| | 611 | (WebCore::CanvasStyle::applyStrokeColor): |
|---|
| | 612 | (WebCore::CanvasStyle::applyFillColor): |
|---|
| | 613 | * html/CanvasStyle.h: |
|---|
| | 614 | * platform/graphics/Color.cpp: |
|---|
| | 615 | (WebCore::colorFloatToRGBAByte): |
|---|
| | 616 | (WebCore::makeRGBA32FromFloats): |
|---|
| | 617 | * platform/graphics/Color.h: |
|---|
| | 618 | |
|---|
| | 619 | 2008-08-13 Eric Carlson <eric.carlson@apple.com> |
|---|
| | 620 | |
|---|
| | 621 | Reviewed by Adele Peterson. |
|---|
| | 622 | |
|---|
| | 623 | Fix for <rdar://problem/6137931> |
|---|
| | 624 | https://bugs.webkit.org/show_bug.cgi?id=20360 |
|---|
| | 625 | Remove all parameters from the MIME type before checking with the MIME type registry |
|---|
| | 626 | |
|---|
| | 627 | Tests: media/video-source-type-params.html |
|---|
| | 628 | |
|---|
| | 629 | * html/HTMLMediaElement.cpp: |
|---|
| | 630 | (WebCore::HTMLMediaElement::pickMedia): only pass the portion before the first ';' |
|---|
| | 631 | to isSupportedMediaMIMEType() |
|---|
| | 632 | |
|---|
| | 633 | 2008-08-13 Beth Dakin <bdakin@apple.com> |
|---|
| | 634 | |
|---|
| | 635 | Reviewed by Sam Weinig. |
|---|
| | 636 | |
|---|
| | 637 | Fix for <rdar://problem/6141345> |
|---|
| | 638 | |
|---|
| | 639 | This patch refines findString and markAllMatchesForText functions' |
|---|
| | 640 | interactions with disconnected frames. They no longer rely on |
|---|
| | 641 | knowing where a range is relative to the visible region and work |
|---|
| | 642 | with disconnected frames that contain frames. |
|---|
| | 643 | |
|---|
| | 644 | * editing/Editor.cpp: |
|---|
| | 645 | (WebCore::Editor::insideVisibleArea): Now returns a bool instead of |
|---|
| | 646 | the visiblity enum. |
|---|
| | 647 | (WebCore::Editor::firstVisibleRange): This now returns the very |
|---|
| | 648 | first visible range in the document. It's no longer dependent on |
|---|
| | 649 | searching forward. |
|---|
| | 650 | (WebCore::Editor::lastVisibleRange): This now returns the very last |
|---|
| | 651 | visible range in the document. It's no longer dependent on |
|---|
| | 652 | searching backwards. |
|---|
| | 653 | (WebCore::Editor::nextVisibleRange): This returns the next visible |
|---|
| | 654 | range in the appropriate direction from the current range. |
|---|
| | 655 | * editing/Editor.h: |
|---|
| | 656 | * page/Frame.cpp: |
|---|
| | 657 | (WebCore::Frame::findString): |
|---|
| | 658 | (WebCore::Frame::markAllMatchesForText): |
|---|
| | 659 | |
|---|
| | 660 | 2008-08-13 Kevin Ollivier <kevino@theolliviers.com> |
|---|
| | 661 | |
|---|
| | 662 | wx build fix for case-sensitive platforms, like Linux. |
|---|
| | 663 | |
|---|
| | 664 | * WebCoreSources.bkl: |
|---|
| | 665 | |
|---|
| | 666 | 2008-08-13 Marco Barisione <marco.barisione@collabora.co.uk> |
|---|
| | 667 | |
|---|
| | 668 | Reviewed by Holger Freyther. |
|---|
| | 669 | |
|---|
| | 670 | http://bugs.webkit.org/show_bug.cgi?id=16881 |
|---|
| | 671 | [GTK] PlatformScreenGtk is unimplemented |
|---|
| | 672 | |
|---|
| | 673 | Original patch by Christian Dywan. |
|---|
| | 674 | |
|---|
| | 675 | * platform/gtk/PlatformScreenGtk.cpp: |
|---|
| | 676 | (WebCore::screenDepth): |
|---|
| | 677 | (WebCore::screenDepthPerComponent): |
|---|
| | 678 | (WebCore::screenIsMonochrome): |
|---|
| | 679 | (WebCore::screenRect): |
|---|
| | 680 | (WebCore::screenAvailableRect): |
|---|
| | 681 | |
|---|
| | 682 | 2008-08-13 Jan Michael Alonzo <jmalonzo@webkit.org> |
|---|
| | 683 | |
|---|
| | 684 | Reviewed by Holger Freyther. |
|---|
| | 685 | |
|---|
| | 686 | http://bugs.webkit.org/show_bug.cgi?id=20318 |
|---|
| | 687 | SharedTimerGtk should use G_PRIORITY_DEFAULT_IDLE for g_idle_add |
|---|
| | 688 | |
|---|
| | 689 | g_idle_add is the same as g_idle_add_full with a priority of |
|---|
| | 690 | G_PRIORITY_DEFAULT_IDLE, so we can safely use that. |
|---|
| | 691 | |
|---|
| | 692 | * platform/gtk/SharedTimerGtk.cpp: |
|---|
| | 693 | (WebCore::setSharedTimerFireTime): |
|---|
| | 694 | |
|---|
| | 695 | 2008-08-13 Timothy Hatcher <timothy@apple.com> |
|---|
| | 696 | |
|---|
| | 697 | Changed the InspectorController so it can be notified when the |
|---|
| | 698 | attached state of the Inspector changes in WebKit. |
|---|
| | 699 | |
|---|
| | 700 | Reviewed by Kevin McCullough. |
|---|
| | 701 | |
|---|
| | 702 | * WebCore.base.exp: Updated the symbol for setWindowVisible. |
|---|
| | 703 | * page/InspectorController.cpp: |
|---|
| | 704 | (WebCore::InspectorController::setWindowVisible): Added an attached argument, |
|---|
| | 705 | that defaults to false.Call setAttachedWindow with the attached argument. |
|---|
| | 706 | (WebCore::InspectorController::setAttachedWindow): Call the script version |
|---|
| | 707 | of setAttachedWindow. |
|---|
| | 708 | * page/InspectorController.h: |
|---|
| | 709 | * page/inspector/inspector.js: |
|---|
| | 710 | (WebInspector.setAttachedWindow): Set the attached property. |
|---|
| | 711 | |
|---|
| | 712 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
|---|
| | 713 | |
|---|
| | 714 | Added a close button to the Inspector's toolbar when docked. |
|---|
| | 715 | |
|---|
| | 716 | https://bugs.webkit.org/show_bug.cgi?id=14270 |
|---|
| | 717 | |
|---|
| | 718 | Reviewed by Kevin McCullough. |
|---|
| | 719 | |
|---|
| | 720 | * page/InspectorController.cpp: |
|---|
| | 721 | (WebCore::closeWindow): Call InspectorController::closeWindow. |
|---|
| | 722 | (WebCore::InspectorController::windowScriptObjectAvailable): |
|---|
| | 723 | Added closeWindow to the script class. |
|---|
| | 724 | * page/InspectorController.h: |
|---|
| | 725 | * page/inspector/Images/closeButtons.png: Added. |
|---|
| | 726 | * page/inspector/inspector.css: Added and changed styles. |
|---|
| | 727 | * page/inspector/inspector.html: Added the close button. |
|---|
| | 728 | * page/inspector/inspector.js: |
|---|
| | 729 | (WebInspector.loaded): Added click event listener to the close button. |
|---|
| | 730 | (WebInspector.close): Call InspectorController.closeWindow. |
|---|
| | 731 | |
|---|
| | 732 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
|---|
| | 733 | |
|---|
| | 734 | Make the docked Web Inspector resizable. This is the cross platform |
|---|
| | 735 | portion of the code. Each InspectorClient needs to implement the |
|---|
| | 736 | real resize code. |
|---|
| | 737 | |
|---|
| | 738 | https://bugs.webkit.org/show_bug.cgi?id=14282 |
|---|
| | 739 | |
|---|
| | 740 | Reviewed by Kevin McCullough. |
|---|
| | 741 | |
|---|
| | 742 | * loader/EmptyClients.h: Added an empty setAttachedWindowHeight. |
|---|
| | 743 | * page/InspectorClient.h: Added setAttachedWindowHeight. |
|---|
| | 744 | * page/InspectorController.cpp: |
|---|
| | 745 | (WebCore::setAttachedWindowHeight): Call setAttachedWindowHeight |
|---|
| | 746 | on the InspectorController. |
|---|
| | 747 | (WebCore::InspectorController::setAttachedWindowHeight): Call |
|---|
| | 748 | setAttachedWindowHeight on the client. |
|---|
| | 749 | (WebCore::InspectorController::windowScriptObjectAvailable): |
|---|
| | 750 | Added setAttachedWindowHeight to the script class. |
|---|
| | 751 | * page/InspectorController.h: |
|---|
| | 752 | * page/inspector/inspector.css: Make the cursor on the toolbar be |
|---|
| | 753 | row-resize when docked. |
|---|
| | 754 | * page/inspector/inspector.js: |
|---|
| | 755 | (WebInspector.loaded): Always add the toolbarDragStart event listener. |
|---|
| | 756 | (WebInspector.toolbarDragStart): Return early if we are not attached |
|---|
| | 757 | and not on Leopard. Call WebInspector.elementDragStart. |
|---|
| | 758 | (WebInspector.toolbarDragEnd): Call WebInspector.elementDragEnd. |
|---|
| | 759 | (WebInspector.toolbarDrag): When attached call setAttachedWindowHeight, |
|---|
| | 760 | otherwise call moveByUnrestricted. |
|---|
| | 761 | |
|---|
| | 762 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|---|
| | 763 | |
|---|
| | 764 | Reviewed by Holger. |
|---|
| | 765 | |
|---|
| | 766 | Initialize m_zoomsTextOnly in the Settings constructor. |
|---|
| | 767 | |
|---|
| | 768 | * page/Settings.cpp: |
|---|
| | 769 | (WebCore::Settings::Settings): |
|---|
| | 770 | |
|---|
| | 771 | 2008-08-13 Brad Hughes <bhughes@trolltech.com> |
|---|
| | 772 | |
|---|
| | 773 | Reviewed by Simon. |
|---|
| | 774 | |
|---|
| | 775 | Fix compiling of QtWebKit in release mode with the Intel C++ Compiler for Linux |
|---|
| | 776 | |
|---|
| | 777 | The latest upgrade of the intel compiler allows us to compile all of |
|---|
| | 778 | Qt with optimizations enabled (yay!). |
|---|
| | 779 | |
|---|
| | 780 | * WebCore.pro: |
|---|
| | 781 | |
|---|
| | 782 | 2008-08-13 Prasanth Ullattil <prasanth.ullattil@trolltech.com> |
|---|
| | 783 | |
|---|
| | 784 | Reviewed by Simon. |
|---|
| | 785 | |
|---|
| | 786 | Fix QtWebKit not displaying content on 403 HTTP responses |
|---|
| | 787 | |
|---|
| | 788 | Just like with 404 responses also display content with 403, as |
|---|
| | 789 | used by http://audiio.ejamming.proteus-tech.com/audiio/profile/original_signup/ |
|---|
| | 790 | |
|---|
| | 791 | * platform/network/qt/QNetworkReplyHandler.cpp: |
|---|
| | 792 | (WebCore::QNetworkReplyHandler::finish): |
|---|
| | 793 | |
|---|
| | 794 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|---|
| | 795 | |
|---|
| | 796 | Reviewed by Holger. |
|---|
| | 797 | |
|---|
| | 798 | Qt part of https://bugs.webkit.org/show_bug.cgi?id=18994 |
|---|
| | 799 | |
|---|
| | 800 | Make the formatting of String::format() locale independent through the use of QString::vsprintf. |
|---|
| | 801 | |
|---|
| | 802 | * platform/text/String.cpp: |
|---|
| | 803 | (WebCore::String::format): |
|---|
| | 804 | |
|---|
| | 805 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|---|
| | 806 | |
|---|
| | 807 | Reviewed by Lars. |
|---|
| | 808 | |
|---|
| | 809 | Fix QWebFrame::setHtml() not setting the new contents immediately. |
|---|
| | 810 | |
|---|
| | 811 | Added a setter to the DocumentLoader to toggle the deferred loading of the main |
|---|
| | 812 | resource when it comes from substitute data. |
|---|
| | 813 | |
|---|
| | 814 | Disable deferred loading of the main resource when we have valid substitute data, |
|---|
| | 815 | as used by QWebFrame::setHtml. |
|---|
| | 816 | |
|---|
| | 817 | * loader/DocumentLoader.h: |
|---|
| | 818 | |
|---|