hausmann@webkit.org | bb4b914 | 2008-08-15 18:11:34 +0000 | [diff] [blame] | 1 | 2008-08-15 Håvard Wall <hwall@trolltech.com> |
| 2 | |
| 3 | Reviewed by Simon. |
| 4 | |
hausmann@webkit.org | 58144a7 | 2008-08-15 18:12:08 +0000 | [diff] [blame^] | 5 | Fixes: compile with QT_NO_CONTEXTMENU |
| 6 | |
| 7 | * platform/qt/PlatformMouseEventQt.cpp: |
| 8 | (WebCore::PlatformMouseEvent::PlatformMouseEvent): |
| 9 | * platform/qt/PlatformScrollBarQt.cpp: |
| 10 | (WebCore::PlatformScrollbar::handleMouseMoveEvent): |
| 11 | (WebCore::PlatformScrollbar::handleContextMenuEvent): |
| 12 | |
| 13 | 2008-08-15 Håvard Wall <hwall@trolltech.com> |
| 14 | |
| 15 | Reviewed by Simon. |
| 16 | |
hausmann@webkit.org | bb4b914 | 2008-08-15 18:11:34 +0000 | [diff] [blame] | 17 | Fixes: compile with QT_NO_WHEELEVENT |
| 18 | |
| 19 | * platform/qt/WheelEventQt.cpp: |
| 20 | (WebCore::PlatformWheelEvent::PlatformWheelEvent): |
| 21 | |
timothy@apple.com | 4889e61 | 2008-08-15 17:06:14 +0000 | [diff] [blame] | 22 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 23 | |
timothy@apple.com | d64639c | 2008-08-15 17:48:36 +0000 | [diff] [blame] | 24 | Fixed Bug 20210: Console groups are incorrect when closing and reopening the Inspector |
| 25 | |
| 26 | https://bugs.webkit.org/show_bug.cgi?id=20210 |
| 27 | |
| 28 | Reviewed by Tim Hatcher. |
| 29 | |
| 30 | * page/Console.cpp: |
| 31 | (WebCore::Console::group): |
| 32 | (WebCore::Console::groupEnd): |
| 33 | * page/Console.h: |
| 34 | (WebCore::): Removed GroupTitleMessageLevel. Added StartGroupMessaageLevel and EndGroupMessageLevel. |
| 35 | * page/InspectorController.cpp: |
| 36 | (WebCore::InspectorController::startGroup): Increments group level by |
| 37 | one and adds console message with StartGroupMessaageLevel. |
| 38 | (WebCore::InspectorController::endGroup): Decrements group level by one |
| 39 | and adds console message with EndGroupMessaageLevel. |
| 40 | * page/InspectorController.h: |
| 41 | * page/inspector/Console.js: |
| 42 | (WebInspector.Console.prototype.addMessage): Creates new ConsoleGroup |
| 43 | if the message is StartGroupMessaageLevel. |
| 44 | (WebInspector.ConsoleMessage.prototype.toMessageElement): |
| 45 | (WebInspector.ConsoleGroup.prototype.addMessage): |
| 46 | * page/inspector/inspector.js: |
| 47 | |
| 48 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 49 | |
timothy@apple.com | 7310b6a | 2008-08-15 17:35:22 +0000 | [diff] [blame] | 50 | Adds support for console.dir to the Inspector |
| 51 | |
| 52 | https://bugs.webkit.org/show_bug.cgi?id=19155 |
| 53 | |
| 54 | Reviewed by Tim Hatcher. |
| 55 | |
| 56 | * bindings/js/JSConsoleCustom.cpp: |
| 57 | (WebCore::JSConsole::dir): |
| 58 | * page/Console.cpp: |
| 59 | (WebCore::Console::dir): |
| 60 | * page/Console.h: Added ObjectMessageLevel. |
| 61 | * page/Console.idl: Added console.dir. |
| 62 | * page/inspector/Console.js: |
| 63 | (WebInspector.ConsoleMessage.prototypet.toMessageElement): Creates an |
| 64 | ObjectPropertiesSection if the MessageLevel is Object. |
| 65 | * page/inspector/ObjectPropertiesSection.js: "in" operator can't be |
| 66 | used on primitive data types. |
| 67 | * page/inspector/inspector.css: |
| 68 | |
| 69 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 70 | |
timothy@apple.com | 4889e61 | 2008-08-15 17:06:14 +0000 | [diff] [blame] | 71 | Adds support for clear() in the Inspector console. |
| 72 | |
| 73 | https://bugs.webkit.org/show_bug.cgi?id=19873 |
| 74 | |
| 75 | Reviewed by Tim Hatcher. |
| 76 | |
| 77 | * page/inspector/Console.js: |
| 78 | |
timothy@apple.com | 12c5b5d | 2008-08-15 17:02:44 +0000 | [diff] [blame] | 79 | 2008-08-15 Anthony Ricaud <rik24d@gmail.com> |
| 80 | |
| 81 | Cmd-F on Mac or Ctrl-F on other platforms now focus the search field. |
| 82 | |
| 83 | Platform distinction and modifier key matching adjusted |
| 84 | by Daniel Jalkut <jalkut@red-sweater.com> |
| 85 | |
| 86 | Bug 16313: text search (find) keybindings should work in the Web Inspector |
| 87 | https://bugs.webkit.org/show_bug.cgi?id=16313 |
| 88 | |
| 89 | Reviewed by Tim Hatcher. |
| 90 | |
| 91 | * page/inspector/inspector.js: Added a case for the F key |
| 92 | |
timothy@apple.com | a5ba439 | 2008-08-15 16:50:26 +0000 | [diff] [blame] | 93 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 94 | |
| 95 | Fix for error when the string doesn't contain a webkit-profile link. |
| 96 | |
| 97 | https://bugs.webkit.org/show_bug.cgi?id=20399 |
| 98 | |
| 99 | Reviewed by Tim Hatcher. |
| 100 | |
| 101 | * page/inspector/inspector.js: |
| 102 | |
timothy@apple.com | 895b265 | 2008-08-15 16:33:27 +0000 | [diff] [blame] | 103 | 2008-08-15 Timothy Hatcher <timothy@apple.com> |
| 104 | |
| 105 | Fixes two bugs where JavaScript could be executed from the page |
| 106 | while the debugger is paused. |
| 107 | |
| 108 | The first issue was JSLazyEventListener not checking the paused |
| 109 | state before parsing the code. |
| 110 | |
| 111 | The second issue was with the PageGroup version of |
| 112 | JavaScriptDebugServer::setJavaScriptPaused always passing false |
| 113 | to the Page version of JavaScriptDebugServer::setJavaScriptPaused, |
| 114 | and not the paused argument. |
| 115 | |
| 116 | https://bugs.webkit.org/show_bug.cgi?id=20284 |
| 117 | |
| 118 | Reviewed by Adam Roben. |
| 119 | |
| 120 | * bindings/js/JSEventListener.cpp: |
| 121 | (WebCore::JSLazyEventListener::parseCode): Check the paused |
| 122 | state of the ScriptController. Return early if paused. |
| 123 | * manual-tests/inspector/debugger-execution-while-paused.html: Added. |
| 124 | * page/JavaScriptDebugServer.cpp: |
| 125 | (WebCore::JavaScriptDebugServer::setJavaScriptPaused): |
| 126 | Pass the paused argument to the Page version of setJavaScriptPaused. |
| 127 | |
ap@webkit.org | be495d3 | 2008-08-15 07:43:48 +0000 | [diff] [blame] | 128 | 2008-08-15 Alexey Proskuryakov <ap@webkit.org> |
| 129 | |
| 130 | Reviewed by Geoff Garen. |
| 131 | |
| 132 | JSStringRef is created context-free, but can get linked to one via an identifier table, |
| 133 | breaking an implicit API contract. |
| 134 | |
| 135 | * page/InspectorController.cpp: |
| 136 | (WebCore::jsStringRef): |
| 137 | (WebCore::InspectorController::didParseSource): |
| 138 | (WebCore::InspectorController::failedToParseSource): |
| 139 | * page/JavaScriptProfile.cpp: |
| 140 | (WebCore::getTitleCallback): |
| 141 | Updated for JavaScriptCore changes. |
| 142 | |
kevino@webkit.org | 8fe09ff | 2008-08-15 05:10:57 +0000 | [diff] [blame] | 143 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
| 144 | |
| 145 | wx !USE(WXGC) build fix. This is necessary until we find a way to replace GDI with |
| 146 | an alternative that performs reasonably well. (GDI+ is too slow in many cases.) |
| 147 | |
| 148 | * platform/graphics/AffineTransform.h: |
| 149 | |
adele@apple.com | 2b2e2f8 | 2008-08-15 00:53:36 +0000 | [diff] [blame] | 150 | 2008-08-14 Eric Carlson <eric.carlson@apple.com> |
| 151 | |
| 152 | Reviewed by Adele. |
| 153 | |
| 154 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20388 |
| 155 | <video> elements on Windows never becomes visible when a page is restored from the cache |
| 156 | |
| 157 | Always pass "set" calls down to MediaPlayerPrivate instead of only when the |
| 158 | value is different from the cached value. Let the implementation decide when |
| 159 | to avoid work because nothing has changed. |
| 160 | |
| 161 | * platform/graphics/MediaPlayer.cpp: |
| 162 | (WebCore::MediaPlayer::setVolume): |
| 163 | (WebCore::MediaPlayer::setRate): |
| 164 | (WebCore::MediaPlayer::setRect): |
| 165 | (WebCore::MediaPlayer::setVisible): |
| 166 | |
timothy@apple.com | da810f4 | 2008-08-14 23:57:14 +0000 | [diff] [blame] | 167 | 2008-08-14 Keishi Hattori <casey.hattori@gmail.com> |
| 168 | |
| 169 | Make Firebug command line API respect predefined variables. |
| 170 | |
timothy@apple.com | 90751f0 | 2008-08-14 23:58:19 +0000 | [diff] [blame] | 171 | https://bugs.webkit.org/show_bug.cgi?id=20385 |
| 172 | |
timothy@apple.com | da810f4 | 2008-08-14 23:57:14 +0000 | [diff] [blame] | 173 | Reviewed by Tim Hatcher. |
| 174 | |
| 175 | * page/inspector/Console.js: |
| 176 | |
weinig@apple.com | 4b51d00 | 2008-08-14 23:33:22 +0000 | [diff] [blame] | 177 | 2008-08-14 Sam Weinig <sam@webkit.org> |
| 178 | |
| 179 | Reviewed by Geoffrey Garen and Timothy Hatcher. |
| 180 | |
| 181 | Allow programatically setting the HTMLTokenizers time delay and chunk size |
| 182 | which are used for determining how aggressively we yield. |
| 183 | |
| 184 | * WebCore.base.exp: |
| 185 | * html/HTMLTokenizer.cpp: |
| 186 | (WebCore::HTMLTokenizer::begin): |
| 187 | (WebCore::HTMLTokenizer::continueProcessing): |
| 188 | * html/HTMLTokenizer.h: |
| 189 | * page/Page.cpp: |
| 190 | (WebCore::Page::Page): |
| 191 | (WebCore::Page::setCustomHTMLTokenizerTimeDelay): |
| 192 | (WebCore::Page::setCustomHTMLTokenizerChunkSize): |
| 193 | * page/Page.h: |
| 194 | (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): |
| 195 | (WebCore::Page::customHTMLTokenizerTimeDelay): |
| 196 | (WebCore::Page::hasCustomHTMLTokenizerChunkSize): |
| 197 | (WebCore::Page::customHTMLTokenizerChunkSize): |
| 198 | |
eric@webkit.org | 89613d2 | 2008-08-14 23:19:17 +0000 | [diff] [blame] | 199 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 200 | |
eric@webkit.org | 7e897c3 | 2008-08-14 23:20:00 +0000 | [diff] [blame] | 201 | Reviewed by Beth. |
| 202 | |
| 203 | Move us one step closer to cross-platform svg/graphics code |
| 204 | |
| 205 | * WebCore.xcodeproj/project.pbxproj: |
| 206 | * html/CanvasStyle.cpp: |
| 207 | * platform/graphics/Color.cpp: |
| 208 | (WebCore::colorWithOverrideAlpha): |
| 209 | * platform/graphics/Color.h: |
| 210 | * svg/graphics/cg/CgSupport.cpp: |
| 211 | (WebCore::applyStrokeStyleToContext): |
| 212 | (WebCore::strokeBoundingBox): |
| 213 | * svg/graphics/cg/SVGPaintServerSolidCg.cpp: |
| 214 | (WebCore::SVGPaintServerSolid::setup): |
| 215 | |
| 216 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 217 | |
eric@webkit.org | 4f49065 | 2008-08-14 23:19:31 +0000 | [diff] [blame] | 218 | Reviewed by Alexey. |
| 219 | |
eric@webkit.org | 73fa9d1 | 2008-08-14 23:19:44 +0000 | [diff] [blame] | 220 | Remove un-need includes from HTMLCanvas and use the |
| 221 | Gradient platform abstraction in one place in CanvasStyle |
| 222 | |
| 223 | * html/CanvasRenderingContext2D.cpp: |
| 224 | (WebCore::CanvasRenderingContext2D::fillRect): |
| 225 | * html/CanvasStyle.cpp: |
| 226 | * html/HTMLCanvasElement.cpp: |
| 227 | |
| 228 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 229 | |
| 230 | Reviewed by Alexey. |
| 231 | |
eric@webkit.org | 4f49065 | 2008-08-14 23:19:31 +0000 | [diff] [blame] | 232 | Clean up GlyphBuffer.h, removing more #ifdefs |
| 233 | |
| 234 | * platform/graphics/GlyphBuffer.h: |
| 235 | (WebCore::GlyphBuffer::glyphAt): |
| 236 | (WebCore::GlyphBuffer::advanceAt): |
| 237 | (WebCore::GlyphBuffer::add): |
| 238 | |
| 239 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 240 | |
eric@webkit.org | 89613d2 | 2008-08-14 23:19:17 +0000 | [diff] [blame] | 241 | Reviewed by Sam. |
| 242 | |
| 243 | Clean up AffineTransform.h, removing #ifdefs |
| 244 | |
| 245 | * platform/graphics/AffineTransform.h: |
| 246 | * platform/graphics/cairo/AffineTransformCairo.cpp: |
| 247 | * platform/graphics/cg/AffineTransformCG.cpp: |
| 248 | * platform/graphics/qt/AffineTransformQt.cpp: |
| 249 | * platform/graphics/wx/AffineTransformWx.cpp: |
| 250 | |
mitz@apple.com | 551d625 | 2008-08-14 23:08:09 +0000 | [diff] [blame] | 251 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
| 252 | |
mitz@apple.com | 94c1a7d | 2008-08-14 23:12:34 +0000 | [diff] [blame] | 253 | - fix non-CG builds by adding an ImageSource::frameSizeAtIndex() that returns size(). |
| 254 | |
| 255 | * platform/graphics/cairo/ImageSourceCairo.cpp: |
| 256 | (WebCore::ImageSource::frameSizeAtIndex): |
| 257 | * platform/graphics/qt/ImageSourceQt.cpp: |
| 258 | (WebCore::ImageSource::frameSizeAtIndex): |
| 259 | * platform/graphics/wx/ImageSourceWx.cpp: |
| 260 | (WebCore::ImageSource::frameSizeAtIndex): |
| 261 | |
| 262 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
| 263 | |
mitz@apple.com | 551d625 | 2008-08-14 23:08:09 +0000 | [diff] [blame] | 264 | Reviewed by Brady Eidson. |
| 265 | |
| 266 | - fix <rdar://problem/5993323> REGRESSION (r34210): Apple.com favicon appears stretched/clipped |
| 267 | |
| 268 | * platform/graphics/BitmapImage.cpp: |
| 269 | (WebCore::BitmapImage::BitmapImage): Added initialization of |
| 270 | m_hasUniformFrameSize. |
| 271 | (WebCore::BitmapImage::cacheFrame): Added code to get the size of the |
| 272 | cached frame for use in decoded size computation and for setting |
| 273 | m_hasUniformFrameSize. |
| 274 | (WebCore::BitmapImage::currentFrameSize): Added. |
| 275 | (WebCore::BitmapImage::dataChanged): Added code to reset |
| 276 | m_hasUniformFrameSize. |
| 277 | * platform/graphics/BitmapImage.h: Added currentFrameSize() and |
| 278 | m_hasUniformFrameSize. |
| 279 | * platform/graphics/ImageSource.h: Added frameSizeAtIndex(). |
| 280 | * platform/graphics/cg/ImageCG.cpp: |
| 281 | (WebCore::BitmapImage::draw): Changed to use currentFrameSize(). This |
| 282 | fixes the bug, which resulted from assuming that the frame being drawn |
| 283 | was the same size as the first frame. |
| 284 | * platform/graphics/cg/ImageSourceCG.cpp: |
| 285 | (WebCore::ImageSource::frameSizeAtIndex): Renamed size() to this and |
| 286 | changed to get the size of the frame at the given index. |
| 287 | (WebCore::ImageSource::size): Added. Returns frameSizeAtIndex(0). |
| 288 | |
simon.fraser@apple.com | 50954e5 | 2008-08-14 23:04:41 +0000 | [diff] [blame] | 289 | 2008-08-13 Simon Fraser <simon.fraser@apple.com> |
| 290 | |
| 291 | Reviewed by Eric Seidel |
| 292 | |
| 293 | Fix @font-face inside @media rule crash. |
| 294 | https://bugs.webkit.org/show_bug.cgi?id=20367 |
| 295 | |
| 296 | Test: fast/css/font-face-in-media-rule.html |
| 297 | |
| 298 | * css/CSSStyleSelector.cpp: |
| 299 | (WebCore::CSSRuleSet::addRulesFromSheet): |
| 300 | |
kevino@webkit.org | 141c460 | 2008-08-14 22:52:55 +0000 | [diff] [blame] | 301 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
| 302 | |
| 303 | wx build fixes after recent changes to Canvas and Image classes. |
| 304 | |
| 305 | * platform/graphics/Pattern.h: |
| 306 | * platform/graphics/wx/GradientWx.cpp: |
| 307 | (WebCore::Gradient::fill): |
| 308 | * platform/graphics/wx/GraphicsContextWx.cpp: |
| 309 | (WebCore::GraphicsContext::applyFillPattern): |
| 310 | (WebCore::GraphicsContext::applyStrokePattern): |
| 311 | * platform/graphics/wx/ImageBufferWx.cpp: |
| 312 | (WebCore::ImageBuffer::image): |
| 313 | * platform/graphics/wx/ImageWx.cpp: |
| 314 | (WebCore::Image::loadPlatformResource): |
| 315 | |
britto@apple.com | d700866 | 2008-08-14 19:26:02 +0000 | [diff] [blame] | 316 | 2008-08-14 Maxime Britto <britto@apple.com> |
| 317 | |
| 318 | Reviewed by Sam Weinig. |
| 319 | |
| 320 | rdar://6102511 |
| 321 | When pan-scrolling, typing on the keyboard should either stop the pan scroll or be ignored |
| 322 | IE and FF are both preventing the keyboard event to interact with the page while scrolling. |
| 323 | Some differences exist between them concerning the kind of key which is pressed : |
| 324 | IE7 : every key leads to a stop of the panning |
| 325 | FF3 : the ESC and TAB keys leads to a stop, the other keys are inactive. |
| 326 | For WebKit this patch is adopting the FF3 behavior except for the TAB key which is inactive too. |
| 327 | |
| 328 | * page/EventHandler.cpp: |
| 329 | (WebCore::EventHandler::keyEvent): Verifies which key has been hit and decide either to stop the pan scroll or to swallow the key event. |
| 330 | |
christian@webkit.org | 0e20f32 | 2008-08-14 19:14:47 +0000 | [diff] [blame] | 331 | 2008-08-14 Christian Dywan <christian@twotoasts.de> |
| 332 | |
| 333 | Gtk+/ Cairo build fix, patch by Dirk Schulze. |
| 334 | |
| 335 | * html/CanvasStyle.cpp: |
| 336 | * platform/graphics/cairo/PatternCairo.cpp: |
| 337 | (WebCore::Pattern::createPlatformPattern): |
| 338 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
| 339 | |
kmccullough@apple.com | d2b50f1 | 2008-08-14 18:11:20 +0000 | [diff] [blame] | 340 | 2008-08-14 Kevin McCullough <kmccullough@apple.com> |
| 341 | |
| 342 | Reviewed by Tim. |
| 343 | |
| 344 | <rdar://problem/6115819> Notify of profile in console |
| 345 | |
| 346 | * page/InspectorController.cpp: |
| 347 | (WebCore::InspectorController::addProfile): |
| 348 | (WebCore::InspectorController::addProfileMessageToConsole): Called by |
| 349 | addProfile this is the function that adds a message to the console that |
| 350 | a profile finished. |
| 351 | * page/InspectorController.h: |
| 352 | * page/JavaScriptProfile.cpp: Expose the profiler's unique ID to match |
| 353 | the console log to the profile in the web inspector. |
| 354 | (WebCore::getUniqueIdCallback): |
| 355 | (WebCore::ProfileClass): |
| 356 | * page/inspector/ProfilesPanel.js: Created a map of all the profiles by |
| 357 | Id to bring up the requested profile. Also select and reveal the |
| 358 | profile in the profile panel. And created displayTitleForProfileLink() |
| 359 | which formats a title taking into account if it's user initiated or if |
| 360 | there are multiples. Lasty, I put the user initiated profile in a |
| 361 | variable. |
| 362 | * page/inspector/inspector.js: Make the profile title be a clickable |
| 363 | link that will take the user to the identified profile. Also expose |
| 364 | the count of user initiated profiles so they can be displayed in the |
| 365 | console with the correct count. |
| 366 | |
timothy@apple.com | cd7f0f3 | 2008-08-14 17:41:05 +0000 | [diff] [blame] | 367 | 2008-08-14 Timothy Hatcher <timothy@apple.com> |
| 368 | |
| 369 | Avoid formating ConsoleMessages twice unless the message will be |
| 370 | displayed in bubbles of a SourceFrame. |
| 371 | |
| 372 | Reviewed by Kevin McCullough. |
| 373 | |
| 374 | * page/inspector/Console.js: |
| 375 | (WebInspector.ConsoleMessage): Only format the plain text message |
| 376 | if the URL and line are valid and the level is error or warning. |
| 377 | (WebInspector.ConsoleMessage.prototype.isErrorOrWarning): Added. |
| 378 | Helper to test for error or warning level. |
| 379 | * page/inspector/SourceFrame.js: |
| 380 | (WebInspector.SourceFrame.prototype.addMessage): Don't add the |
| 381 | message if there is no message or valid line or if the msg |
| 382 | isn't an error or warning. |
| 383 | |
jmalonzo@webkit.org | b469bb7 | 2008-08-14 15:07:41 +0000 | [diff] [blame] | 384 | 2008-08-14 Jan Michael Alonzo <jmalonzo@webkit.org> |
| 385 | |
| 386 | partial Gtk build fix, not reviewed |
| 387 | |
| 388 | * platform/graphics/cairo/PatternCairo.cpp: |
| 389 | |
weinig@apple.com | 45e8314 | 2008-08-14 04:49:30 +0000 | [diff] [blame] | 390 | 2008-08-13 Sam Weinig <sam@webkit.org> |
| 391 | |
| 392 | Reviewed by Anders Carlson. |
| 393 | |
| 394 | Fix style issue. |
| 395 | |
| 396 | * html/HTMLMediaElement.cpp: |
| 397 | (WebCore::HTMLMediaElement::pickMedia): |
| 398 | |
zimmermann@webkit.org | 9ae47e9 | 2008-08-14 02:22:35 +0000 | [diff] [blame] | 399 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 400 | |
zimmermann@webkit.org | 7a2f53d | 2008-08-14 03:06:01 +0000 | [diff] [blame] | 401 | Build fix for Cairo, not reviewed. (exposed by gtk build slave) |
| 402 | Continue Erics build fixes, after the Image cleanup. |
| 403 | |
| 404 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
| 405 | (WebCore::ImageBuffer::image): |
| 406 | |
| 407 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 408 | |
zimmermann@webkit.org | 1ef5213 | 2008-08-14 02:38:16 +0000 | [diff] [blame] | 409 | Build fix for Qt, not reviewed. |
| 410 | Don't declare eventuallyMarkAsParserCreated in a block wrapped by !USE_QXMLSTREAM. |
| 411 | |
| 412 | * dom/XMLTokenizer.cpp: |
| 413 | (WebCore::eventuallyMarkAsParserCreated): Was erre |
| 414 | |
| 415 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 416 | |
zimmermann@webkit.org | 3e56056 | 2008-08-14 02:26:00 +0000 | [diff] [blame] | 417 | Build fix, not reviewed. |
| 418 | Add ScriptElement.cpp to Gtk build. |
| 419 | |
| 420 | * GNUmakefile.am: |
| 421 | |
| 422 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 423 | |
zimmermann@webkit.org | 9ae47e9 | 2008-08-14 02:22:35 +0000 | [diff] [blame] | 424 | Reviewed by Eric. |
| 425 | |
| 426 | Fixes: https://bugs.webkit.org/show_bug.cgi?id=20372 |
| 427 | |
| 428 | Refactor HTMLScriptElement's code into a common base class: ScriptElement. |
| 429 | SVGScriptElement will be converted to use ScriptElement in a follow-up patch. |
| 430 | |
| 431 | This resolves code duplications and allows us to completly replace the old |
| 432 | SVGScriptElement (which doesn't use CachedScript, no dynamic injected scripts etc..) |
| 433 | |
| 434 | As ScriptElement, doesn't actually inherit from Element, we may want to rename |
| 435 | it, though StyleElement uses the same naming convention, so I left it as is for now. |
| 436 | Eventually we'll rename both files in future. |
| 437 | |
| 438 | No functional changes yet, as SVGScriptElement doesn't yet use the new base class. |
| 439 | |
| 440 | * WebCore.pro: Add new ScriptElement.cpp to build. |
| 441 | * WebCore.vcproj/WebCore.vcproj: Ditto. |
| 442 | * WebCore.xcodeproj/project.pbxproj: Ditto. |
| 443 | * WebCoreSources.bkl: Dutto. |
| 444 | * dom/ScriptElement.cpp: Added. 1:1 based on HTMLScriptElement |
| 445 | (WebCore::ScriptElement::insertedIntoDocument): |
| 446 | (WebCore::ScriptElement::removedFromDocument): |
| 447 | (WebCore::ScriptElement::childrenChanged): |
| 448 | (WebCore::ScriptElement::finishParsingChildren): |
| 449 | (WebCore::ScriptElement::handleSourceAttribute): |
| 450 | (WebCore::isSupportedJavaScriptLanguage): |
| 451 | (WebCore::ScriptElementData::ScriptElementData): |
| 452 | (WebCore::ScriptElementData::~ScriptElementData): |
| 453 | (WebCore::ScriptElementData::requestScript): |
| 454 | (WebCore::ScriptElementData::evaluateScript): |
| 455 | (WebCore::ScriptElementData::stopLoadRequest): |
| 456 | (WebCore::ScriptElementData::notifyFinished): |
| 457 | (WebCore::ScriptElementData::ignoresLoadRequest): |
| 458 | (WebCore::ScriptElementData::shouldExecuteAsJavaScript): |
| 459 | (WebCore::ScriptElementData::scriptCharset): |
| 460 | (WebCore::ScriptElementData::scriptContent): |
| 461 | * dom/ScriptElement.h: Added. |
| 462 | (WebCore::ScriptElement::ScriptElement): |
| 463 | (WebCore::ScriptElement::~ScriptElement): |
| 464 | (WebCore::ScriptElementData::element): |
| 465 | (WebCore::ScriptElementData::createdByParser): |
| 466 | (WebCore::ScriptElementData::setCreatedByParser): |
| 467 | * dom/XMLTokenizer.cpp: |
| 468 | (WebCore::isScriptElement): |
| 469 | (WebCore::castToScriptElement): |
| 470 | (WebCore::eventuallyMarkAsParserCreated): |
| 471 | (WebCore::XMLTokenizer::startElementNs): |
| 472 | (WebCore::XMLTokenizer::endElementNs): |
| 473 | (WebCore::createXHTMLParserErrorHeader): |
| 474 | (WebCore::XMLTokenizer::insertErrorMessageBlock): |
| 475 | * html/HTMLScriptElement.cpp: Refactored code, pushed most code down to ScriptElement. |
| 476 | (WebCore::HTMLScriptElement::HTMLScriptElement): |
| 477 | (WebCore::HTMLScriptElement::~HTMLScriptElement): |
| 478 | (WebCore::HTMLScriptElement::isURLAttribute): |
| 479 | (WebCore::HTMLScriptElement::setCreatedByParser): |
| 480 | (WebCore::HTMLScriptElement::shouldExecuteAsJavaScript): |
| 481 | (WebCore::HTMLScriptElement::childrenChanged): |
| 482 | (WebCore::HTMLScriptElement::parseMappedAttribute): |
| 483 | (WebCore::HTMLScriptElement::finishParsingChildren): |
| 484 | (WebCore::HTMLScriptElement::insertedIntoDocument): |
| 485 | (WebCore::HTMLScriptElement::removedFromDocument): |
| 486 | (WebCore::HTMLScriptElement::text): |
| 487 | (WebCore::HTMLScriptElement::setText): |
| 488 | (WebCore::HTMLScriptElement::setHtmlFor): |
| 489 | (WebCore::HTMLScriptElement::setEvent): |
| 490 | (WebCore::HTMLScriptElement::charset): |
| 491 | (WebCore::HTMLScriptElement::src): |
| 492 | (WebCore::HTMLScriptElement::type): |
| 493 | (WebCore::HTMLScriptElement::scriptCharset): |
| 494 | (WebCore::HTMLScriptElement::scriptContent): |
| 495 | (WebCore::HTMLScriptElement::sourceAttributeValue): |
| 496 | (WebCore::HTMLScriptElement::charsetAttributeValue): |
| 497 | (WebCore::HTMLScriptElement::typeAttributeValue): |
| 498 | (WebCore::HTMLScriptElement::languageAttributeValue): |
| 499 | (WebCore::HTMLScriptElement::dispatchLoadEvent): |
| 500 | (WebCore::HTMLScriptElement::dispatchErrorEvent): |
| 501 | * html/HTMLScriptElement.h: |
| 502 | * svg/SVGScriptElement.cpp: Inherit from ScriptElement, don't actually use it yet. |
| 503 | * svg/SVGScriptElement.cpp: |
| 504 | (WebCore::SVGScriptElement::SVGScriptElement): |
| 505 | (WebCore::SVGScriptElement::scriptContent): |
| 506 | (WebCore::SVGScriptElement::sourceAttributeValue): |
| 507 | (WebCore::SVGScriptElement::charsetAttributeValue): |
| 508 | (WebCore::SVGScriptElement::typeAttributeValue): |
| 509 | (WebCore::SVGScriptElement::languageAttributeValue): |
| 510 | (WebCore::SVGScriptElement::dispatchLoadEvent): |
| 511 | (WebCore::SVGScriptElement::dispatchErrorEvent): |
| 512 | * svg/SVGScriptElement.h: |
| 513 | (WebCore::SVGScriptElement::setCreatedByParser): |
| 514 | |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 515 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 516 | |
eric@webkit.org | 3562c59 | 2008-08-14 02:17:29 +0000 | [diff] [blame] | 517 | Attempt to fix the Gtk build, no review. |
| 518 | |
| 519 | I removed the bogus GraphicsContext::translatePoint() hack for Gtk in the process. |
| 520 | |
| 521 | * platform/graphics/GraphicsContext.h: |
| 522 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 523 | * platform/graphics/qt/GradientQt.cpp: |
| 524 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 525 | * platform/gtk/RenderThemeGtk.cpp: |
| 526 | (WebCore::paintMozWidget): |
| 527 | |
| 528 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 529 | |
eric@webkit.org | 2ec4207 | 2008-08-14 02:03:09 +0000 | [diff] [blame] | 530 | Yet another attempt to fix the Qt build, no review. |
| 531 | |
| 532 | * platform/graphics/qt/GradientQt.cpp: |
| 533 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 534 | (WebCore::GraphicsContext::applyStrokePattern): |
| 535 | (WebCore::GraphicsContext::applyFillPattern): |
| 536 | |
| 537 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 538 | |
| 539 | Attempt to fix the Windows build, no review. |
| 540 | |
| 541 | * platform/win/CursorWin.cpp: |
| 542 | (WebCore::loadCursorByName): |
| 543 | * platform/win/ScrollViewWin.cpp: |
| 544 | (WebCore::ScrollView::paint): |
| 545 | |
| 546 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 547 | |
eric@webkit.org | 508c028 | 2008-08-14 01:29:34 +0000 | [diff] [blame] | 548 | Attempt to fix the Windows build, no review. |
| 549 | |
| 550 | * platform/win/CursorWin.cpp: |
| 551 | (WebCore::loadCursorByName): |
| 552 | * platform/win/ScrollViewWin.cpp: |
| 553 | (WebCore::ScrollView::paint): |
| 554 | |
| 555 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 556 | |
eric@webkit.org | 1bf70ab | 2008-08-14 01:24:15 +0000 | [diff] [blame] | 557 | Attempt to fix the Qt build, no review. |
| 558 | |
| 559 | * platform/graphics/qt/ImageBufferQt.cpp: |
| 560 | (WebCore::ImageBuffer::image): |
| 561 | |
| 562 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 563 | |
eric@webkit.org | f2d7c21 | 2008-08-14 01:21:34 +0000 | [diff] [blame] | 564 | Attempt to fix the Windows build, no review. |
| 565 | |
| 566 | * platform/graphics/win/ImageWin.cpp: |
| 567 | (WebCore::Image::loadPlatformResource): |
| 568 | * plugins/win/PluginViewWin.cpp: |
| 569 | (WebCore::PluginView::paintMissingPluginIcon): |
| 570 | |
| 571 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 572 | |
eric@webkit.org | ac3f666 | 2008-08-14 01:15:50 +0000 | [diff] [blame] | 573 | Another attempt to fix the Qt build, no review. |
| 574 | |
| 575 | * platform/graphics/qt/ImageQt.cpp: |
| 576 | * platform/graphics/qt/StillImageQt.h: |
| 577 | |
| 578 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 579 | |
eric@webkit.org | 31e0d81 | 2008-08-14 01:05:42 +0000 | [diff] [blame] | 580 | No review, build fix only. |
| 581 | |
| 582 | Fix mac build, due to change in new code since my patch was written. |
| 583 | |
| 584 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 585 | (WebCore::SVGResourceMasker::applyMask): |
| 586 | |
| 587 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 588 | |
eric@webkit.org | a20a003 | 2008-08-14 00:42:54 +0000 | [diff] [blame] | 589 | Build fix only, no review. |
| 590 | |
| 591 | Attempt to fix the Qt build. |
| 592 | |
eric@webkit.org | 923255c | 2008-08-14 00:59:20 +0000 | [diff] [blame] | 593 | * platform/graphics/qt/ImageBufferQt.cpp: |
| 594 | * platform/graphics/qt/StillImageQt.h: |
| 595 | (WebCore::StillImage::create): |
| 596 | (WebCore::StillImage::destroyDecodedData): |
| 597 | (WebCore::StillImage::decodedSize): |
| 598 | |
| 599 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 600 | |
| 601 | Build fix only, no review. |
| 602 | |
| 603 | Attempt to fix the Qt build. |
| 604 | |
eric@webkit.org | a20a003 | 2008-08-14 00:42:54 +0000 | [diff] [blame] | 605 | * html/CanvasStyle.cpp: |
| 606 | (WebCore::CanvasStyle::applyStrokeColor): |
| 607 | (WebCore::CanvasStyle::applyFillColor): |
| 608 | |
| 609 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 610 | |
eric@webkit.org | 4aca3be | 2008-08-14 00:30:04 +0000 | [diff] [blame] | 611 | Reviewed by Sam. |
| 612 | |
| 613 | Match HTML5 spec by throwing INVALID_STATE_ERR when |
| 614 | createPattern is called and the HTMLImageElement is not |
| 615 | yet done loading the image (!isComplete) |
| 616 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 617 | |
| 618 | Test: http/misc/canvas-pattern-from-incremental-image.html |
| 619 | |
| 620 | * html/CanvasRenderingContext2D.cpp: |
| 621 | (WebCore::CanvasRenderingContext2D::createPattern): |
| 622 | |
| 623 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 624 | |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 625 | Reviewed by Niko. |
| 626 | |
eric@webkit.org | f0124f6 | 2008-08-14 00:29:50 +0000 | [diff] [blame] | 627 | Split out a Pattern class from CanvasPattern |
| 628 | and remove all the Pattern-related #ifdefs |
| 629 | (This will break non-mac platforms! I will fix them.) |
| 630 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 631 | |
| 632 | * GNUmakefile.am: |
| 633 | * WebCore.pro: |
| 634 | * WebCore.vcproj/WebCore.vcproj: |
| 635 | * WebCore.xcodeproj/project.pbxproj: |
| 636 | * WebCoreSources.bkl: |
| 637 | * html/CanvasPattern.cpp: |
| 638 | (WebCore::CanvasPattern::parseRepetitionType): |
| 639 | (WebCore::CanvasPattern::CanvasPattern): |
| 640 | * html/CanvasPattern.h: |
| 641 | (WebCore::CanvasPattern::create): |
| 642 | (WebCore::CanvasPattern::pattern): |
| 643 | (WebCore::CanvasPattern::originClean): |
| 644 | * html/CanvasRenderingContext2D.cpp: |
| 645 | (WebCore::CanvasRenderingContext2D::createPattern): |
| 646 | (WebCore::CanvasRenderingContext2D::applyStrokePattern): |
| 647 | (WebCore::CanvasRenderingContext2D::applyFillPattern): |
| 648 | * html/CanvasRenderingContext2D.h: |
| 649 | * html/HTMLCanvasElement.cpp: |
| 650 | * html/HTMLCanvasElement.h: |
| 651 | * loader/FrameLoader.cpp: |
| 652 | (WebCore::FrameLoader::createHistoryItem): |
| 653 | * platform/graphics/GraphicsContext.h: |
| 654 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 655 | (WebCore::GraphicsContext::applyStrokePattern): |
| 656 | (WebCore::GraphicsContext::applyFillPattern): |
| 657 | * platform/graphics/cg/GraphicsContextCG.cpp: |
| 658 | (WebCore::GraphicsContext::clipToImageBuffer): |
| 659 | (WebCore::GraphicsContext::applyStrokePattern): |
| 660 | (WebCore::GraphicsContext::applyFillPattern): |
| 661 | |
| 662 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 663 | |
| 664 | Reviewed by Niko. |
| 665 | |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 666 | Make Images RefCounted (and clean up callers) |
| 667 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 668 | |
| 669 | * editing/DeleteButtonController.cpp: |
| 670 | (WebCore::DeleteButtonController::createDeletionUI): |
| 671 | * loader/CachedImage.cpp: |
| 672 | (WebCore::CachedImage::CachedImage): |
| 673 | (WebCore::brokenImage): |
| 674 | (WebCore::nullImage): |
| 675 | (WebCore::CachedImage::image): |
| 676 | (WebCore::CachedImage::notifyObservers): |
| 677 | (WebCore::CachedImage::createImage): |
| 678 | * loader/CachedImage.h: |
| 679 | * loader/icon/IconRecord.cpp: |
| 680 | (WebCore::IconRecord::setImageData): |
| 681 | (WebCore::IconRecord::loadImageFromResource): |
| 682 | * loader/icon/IconRecord.h: |
| 683 | * platform/graphics/BitmapImage.h: |
| 684 | (WebCore::BitmapImage::create): |
| 685 | * platform/graphics/GeneratedImage.h: |
| 686 | * platform/graphics/Gradient.cpp: |
| 687 | * platform/graphics/Gradient.h: |
| 688 | * platform/graphics/Image.cpp: |
| 689 | (WebCore::Image::nullImage): |
| 690 | * platform/graphics/Image.h: |
| 691 | * platform/graphics/ImageBuffer.h: |
| 692 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
| 693 | (WebCore::ImageBuffer::image): |
| 694 | * platform/graphics/cg/ImageBufferCG.cpp: |
| 695 | (WebCore::ImageBuffer::image): |
| 696 | (WebCore::ImageBuffer::getImageData): |
| 697 | (WebCore::ImageBuffer::putImageData): |
| 698 | * platform/graphics/cg/PDFDocumentImage.h: |
| 699 | (WebCore::PDFDocumentImage::create): |
| 700 | (WebCore::PDFDocumentImage::destroyDecodedData): |
| 701 | (WebCore::PDFDocumentImage::decodedSize): |
| 702 | * platform/graphics/gtk/ImageGtk.cpp: |
| 703 | (WebCore::Image::loadPlatformResource): |
| 704 | * platform/graphics/mac/ImageMac.mm: |
| 705 | (WebCore::Image::loadPlatformResource): |
| 706 | * rendering/RenderImage.cpp: |
| 707 | * rendering/RenderLayer.cpp: |
| 708 | (WebCore::RenderLayer::paintOverflowControls): |
| 709 | * svg/graphics/SVGImage.cpp: |
| 710 | (WebCore::SVGImage::nativeImageForCurrentFrame): |
| 711 | * svg/graphics/SVGImage.h: |
| 712 | (WebCore::SVGImage::create): |
| 713 | (WebCore::SVGImage::destroyDecodedData): |
| 714 | (WebCore::SVGImage::decodedSize): |
| 715 | (WebCore::SVGImage::frameAtIndex): |
| 716 | * svg/graphics/cairo/SVGPaintServerPatternCairo.cpp: |
| 717 | (WebCore::SVGPaintServerPattern::setup): |
| 718 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
| 719 | (WebCore::SVGResourceMasker::applyMask): |
| 720 | * svg/graphics/cg/SVGPaintServerPatternCg.cpp: |
| 721 | (WebCore::patternCallback): |
| 722 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 723 | (WebCore::SVGResourceMasker::applyMask): |
| 724 | |
| 725 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 726 | |
| 727 | Reviewed by Niko. |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 728 | |
| 729 | Remove #ifdefs from CanvasStyle by using platform/Color.h |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 730 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 731 | |
| 732 | There are some down-sides to this commit. |
| 733 | This commit limits us to 255 levels of grey for calls like: |
| 734 | context.setStrokeStyle(.37, 1.0) |
| 735 | previously CG might have used up to 32bits to store the grey level |
| 736 | Since setStrokeStyle is not part of HTML5, I don't suspect the web will notice. |
| 737 | |
| 738 | Likewise, setStrokeStyle/setFillStyle calls which used float colors are now limited |
| 739 | to RGBA32 (like all the rest of colors in WebCore), thus: |
| 740 | context.setStrokStyle(.37, .24, .456, .99) will now have the same precision as: |
| 741 | context.strokeStyle = "rgba(.37, .24, .456, .99)", which is to say RGBA32 |
| 742 | |
| 743 | If this is a problem for Dashboard, we can either roll out this commit |
| 744 | or add a beefier Color abstraction, which can be used internally by GraphicsContext |
| 745 | when keeping state, and then GraphicsContext can grow some additional set* routines |
| 746 | for setting the a grey/float/whatever fill and stroke. |
| 747 | |
| 748 | * html/CanvasRenderingContext2D.cpp: |
| 749 | (WebCore::CanvasRenderingContext2D::setFillStyle): |
| 750 | * html/CanvasStyle.cpp: |
| 751 | (WebCore::CanvasStyle::CanvasStyle): |
| 752 | (WebCore::colorWithOverrideAlpha): |
| 753 | (WebCore::CanvasStyle::applyStrokeColor): |
| 754 | (WebCore::CanvasStyle::applyFillColor): |
| 755 | * html/CanvasStyle.h: |
| 756 | * platform/graphics/Color.cpp: |
| 757 | (WebCore::colorFloatToRGBAByte): |
| 758 | (WebCore::makeRGBA32FromFloats): |
| 759 | * platform/graphics/Color.h: |
| 760 | |
adele@apple.com | 83e4482 | 2008-08-13 23:50:41 +0000 | [diff] [blame] | 761 | 2008-08-13 Eric Carlson <eric.carlson@apple.com> |
| 762 | |
| 763 | Reviewed by Adele Peterson. |
| 764 | |
| 765 | Fix for <rdar://problem/6137931> |
| 766 | https://bugs.webkit.org/show_bug.cgi?id=20360 |
| 767 | Remove all parameters from the MIME type before checking with the MIME type registry |
| 768 | |
| 769 | Tests: media/video-source-type-params.html |
| 770 | |
| 771 | * html/HTMLMediaElement.cpp: |
| 772 | (WebCore::HTMLMediaElement::pickMedia): only pass the portion before the first ';' |
| 773 | to isSupportedMediaMIMEType() |
| 774 | |
bdakin@apple.com | 7bc81bf | 2008-08-13 21:36:15 +0000 | [diff] [blame] | 775 | 2008-08-13 Beth Dakin <bdakin@apple.com> |
| 776 | |
| 777 | Reviewed by Sam Weinig. |
| 778 | |
| 779 | Fix for <rdar://problem/6141345> |
| 780 | |
| 781 | This patch refines findString and markAllMatchesForText functions' |
| 782 | interactions with disconnected frames. They no longer rely on |
| 783 | knowing where a range is relative to the visible region and work |
| 784 | with disconnected frames that contain frames. |
| 785 | |
| 786 | * editing/Editor.cpp: |
| 787 | (WebCore::Editor::insideVisibleArea): Now returns a bool instead of |
| 788 | the visiblity enum. |
| 789 | (WebCore::Editor::firstVisibleRange): This now returns the very |
| 790 | first visible range in the document. It's no longer dependent on |
| 791 | searching forward. |
| 792 | (WebCore::Editor::lastVisibleRange): This now returns the very last |
| 793 | visible range in the document. It's no longer dependent on |
| 794 | searching backwards. |
| 795 | (WebCore::Editor::nextVisibleRange): This returns the next visible |
| 796 | range in the appropriate direction from the current range. |
| 797 | * editing/Editor.h: |
| 798 | * page/Frame.cpp: |
| 799 | (WebCore::Frame::findString): |
| 800 | (WebCore::Frame::markAllMatchesForText): |
| 801 | |
kevino@webkit.org | ee5adc4 | 2008-08-13 20:07:16 +0000 | [diff] [blame] | 802 | 2008-08-13 Kevin Ollivier <kevino@theolliviers.com> |
| 803 | |
| 804 | wx build fix for case-sensitive platforms, like Linux. |
| 805 | |
| 806 | * WebCoreSources.bkl: |
| 807 | |
jmalonzo@webkit.org | 210145b | 2008-08-13 19:56:20 +0000 | [diff] [blame] | 808 | 2008-08-13 Marco Barisione <marco.barisione@collabora.co.uk> |
| 809 | |
| 810 | Reviewed by Holger Freyther. |
| 811 | |
| 812 | http://bugs.webkit.org/show_bug.cgi?id=16881 |
| 813 | [GTK] PlatformScreenGtk is unimplemented |
| 814 | |
| 815 | Original patch by Christian Dywan. |
| 816 | |
| 817 | * platform/gtk/PlatformScreenGtk.cpp: |
| 818 | (WebCore::screenDepth): |
| 819 | (WebCore::screenDepthPerComponent): |
| 820 | (WebCore::screenIsMonochrome): |
| 821 | (WebCore::screenRect): |
| 822 | (WebCore::screenAvailableRect): |
| 823 | |
jmalonzo@webkit.org | e469393 | 2008-08-13 19:42:08 +0000 | [diff] [blame] | 824 | 2008-08-13 Jan Michael Alonzo <jmalonzo@webkit.org> |
| 825 | |
| 826 | Reviewed by Holger Freyther. |
| 827 | |
| 828 | http://bugs.webkit.org/show_bug.cgi?id=20318 |
| 829 | SharedTimerGtk should use G_PRIORITY_DEFAULT_IDLE for g_idle_add |
| 830 | |
| 831 | g_idle_add is the same as g_idle_add_full with a priority of |
| 832 | G_PRIORITY_DEFAULT_IDLE, so we can safely use that. |
| 833 | |
| 834 | * platform/gtk/SharedTimerGtk.cpp: |
| 835 | (WebCore::setSharedTimerFireTime): |
| 836 | |
timothy@apple.com | f042660 | 2008-08-13 18:11:01 +0000 | [diff] [blame] | 837 | 2008-08-13 Timothy Hatcher <timothy@apple.com> |
| 838 | |
| 839 | Changed the InspectorController so it can be notified when the |
| 840 | attached state of the Inspector changes in WebKit. |
| 841 | |
| 842 | Reviewed by Kevin McCullough. |
| 843 | |
| 844 | * WebCore.base.exp: Updated the symbol for setWindowVisible. |
| 845 | * page/InspectorController.cpp: |
| 846 | (WebCore::InspectorController::setWindowVisible): Added an attached argument, |
| 847 | that defaults to false.Call setAttachedWindow with the attached argument. |
| 848 | (WebCore::InspectorController::setAttachedWindow): Call the script version |
| 849 | of setAttachedWindow. |
| 850 | * page/InspectorController.h: |
| 851 | * page/inspector/inspector.js: |
| 852 | (WebInspector.setAttachedWindow): Set the attached property. |
| 853 | |
timothy@apple.com | 9ea832b | 2008-08-13 18:10:36 +0000 | [diff] [blame] | 854 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
| 855 | |
timothy@apple.com | 72c92ae | 2008-08-13 18:10:45 +0000 | [diff] [blame] | 856 | Added a close button to the Inspector's toolbar when docked. |
| 857 | |
| 858 | https://bugs.webkit.org/show_bug.cgi?id=14270 |
| 859 | |
| 860 | Reviewed by Kevin McCullough. |
| 861 | |
| 862 | * page/InspectorController.cpp: |
| 863 | (WebCore::closeWindow): Call InspectorController::closeWindow. |
| 864 | (WebCore::InspectorController::windowScriptObjectAvailable): |
| 865 | Added closeWindow to the script class. |
| 866 | * page/InspectorController.h: |
| 867 | * page/inspector/Images/closeButtons.png: Added. |
| 868 | * page/inspector/inspector.css: Added and changed styles. |
| 869 | * page/inspector/inspector.html: Added the close button. |
| 870 | * page/inspector/inspector.js: |
| 871 | (WebInspector.loaded): Added click event listener to the close button. |
| 872 | (WebInspector.close): Call InspectorController.closeWindow. |
| 873 | |
| 874 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
| 875 | |
timothy@apple.com | 9ea832b | 2008-08-13 18:10:36 +0000 | [diff] [blame] | 876 | Make the docked Web Inspector resizable. This is the cross platform |
| 877 | portion of the code. Each InspectorClient needs to implement the |
| 878 | real resize code. |
| 879 | |
| 880 | https://bugs.webkit.org/show_bug.cgi?id=14282 |
| 881 | |
| 882 | Reviewed by Kevin McCullough. |
| 883 | |
| 884 | * loader/EmptyClients.h: Added an empty setAttachedWindowHeight. |
| 885 | * page/InspectorClient.h: Added setAttachedWindowHeight. |
| 886 | * page/InspectorController.cpp: |
| 887 | (WebCore::setAttachedWindowHeight): Call setAttachedWindowHeight |
| 888 | on the InspectorController. |
| 889 | (WebCore::InspectorController::setAttachedWindowHeight): Call |
| 890 | setAttachedWindowHeight on the client. |
| 891 | (WebCore::InspectorController::windowScriptObjectAvailable): |
| 892 | Added setAttachedWindowHeight to the script class. |
| 893 | * page/InspectorController.h: |
| 894 | * page/inspector/inspector.css: Make the cursor on the toolbar be |
| 895 | row-resize when docked. |
| 896 | * page/inspector/inspector.js: |
| 897 | (WebInspector.loaded): Always add the toolbarDragStart event listener. |
| 898 | (WebInspector.toolbarDragStart): Return early if we are not attached |
| 899 | and not on Leopard. Call WebInspector.elementDragStart. |
| 900 | (WebInspector.toolbarDragEnd): Call WebInspector.elementDragEnd. |
| 901 | (WebInspector.toolbarDrag): When attached call setAttachedWindowHeight, |
| 902 | otherwise call moveByUnrestricted. |
| 903 | |
hausmann@webkit.org | d34f1d2 | 2008-08-13 13:43:34 +0000 | [diff] [blame] | 904 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 905 | |
| 906 | Reviewed by Holger. |
| 907 | |
| 908 | Initialize m_zoomsTextOnly in the Settings constructor. |
| 909 | |
| 910 | * page/Settings.cpp: |
| 911 | (WebCore::Settings::Settings): |
| 912 | |
hausmann@webkit.org | 74586d6 | 2008-08-13 13:31:11 +0000 | [diff] [blame] | 913 | 2008-08-13 Brad Hughes <bhughes@trolltech.com> |
| 914 | |
| 915 | Reviewed by Simon. |
| 916 | |
| 917 | Fix compiling of QtWebKit in release mode with the Intel C++ Compiler for Linux |
| 918 | |
| 919 | The latest upgrade of the intel compiler allows us to compile all of |
| 920 | Qt with optimizations enabled (yay!). |
| 921 | |
| 922 | * WebCore.pro: |
| 923 | |
hausmann@webkit.org | 690b7fc | 2008-08-13 13:24:56 +0000 | [diff] [blame] | 924 | 2008-08-13 Prasanth Ullattil <prasanth.ullattil@trolltech.com> |
| 925 | |
| 926 | Reviewed by Simon. |
| 927 | |
| 928 | Fix QtWebKit not displaying content on 403 HTTP responses |
| 929 | |
| 930 | Just like with 404 responses also display content with 403, as |
| 931 | used by http://audiio.ejamming.proteus-tech.com/audiio/profile/original_signup/ |
| 932 | |
| 933 | * platform/network/qt/QNetworkReplyHandler.cpp: |
| 934 | (WebCore::QNetworkReplyHandler::finish): |
| 935 | |
hausmann@webkit.org | 88c4dc9 | 2008-08-13 12:02:00 +0000 | [diff] [blame] | 936 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 937 | |
hausmann@webkit.org | d2315e3 | 2008-08-13 13:16:15 +0000 | [diff] [blame] | 938 | Reviewed by Holger. |
| 939 | |
| 940 | Qt part of https://bugs.webkit.org/show_bug.cgi?id=18994 |
| 941 | |
| 942 | Make the formatting of String::format() locale independent through the use of QString::vsprintf. |
| 943 | |
| 944 | * platform/text/String.cpp: |
| 945 | (WebCore::String::format): |
| 946 | |
| 947 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 948 | |
hausmann@webkit.org | 88c4dc9 | 2008-08-13 12:02:00 +0000 | [diff] [blame] | 949 | Reviewed by Lars. |
| 950 | |
| 951 | Fix QWebFrame::setHtml() not setting the new contents immediately. |
| 952 | |
| 953 | Added a setter to the DocumentLoader to toggle the deferred loading of the main |
| 954 | resource when it comes from substitute data. |
| 955 | |
| 956 | Disable deferred loading of the main resource when we have valid substitute data, |
| 957 | as used by QWebFrame::setHtml. |
| 958 | |
| 959 | * loader/DocumentLoader.h: |
| 960 | |
mrowe@apple.com | 6aa36d1 | 2008-08-13 09:58:32 +0000 | [diff] [blame] | 961 | 2008-08-13 Mark Rowe <mrowe@apple.com> |
| 962 | |
| 963 | Speculative GTK build fix. |
| 964 | |
| 965 | * GNUmakefile.am: Add dependency info for JSSVGElementWrapperFactory.cpp. |
| 966 | |
hausmann@webkit.org | 298ce5f | 2008-08-13 09:11:23 +0000 | [diff] [blame] | 967 | 2008-08-13 Thiago Macieira <tjmaciei@trolltech.com> |
| 968 | |
| 969 | Reviewed by Simon. |
| 970 | |
| 971 | Fix encoding of [ and ] in the host part of the URL |
| 972 | |
| 973 | Until QUrl is fixed (making QUrl's tolerant parser more tolerant), we have to |
| 974 | add this workaround to the QUrl <> WebCore::KURL conversion operator so that it |
| 975 | doesn't encode [ and ] when they are found in the host part. That is, the |
| 976 | following URL: |
| 977 | http://[::1]/ |
| 978 | is valid and should not be reencoded to: |
| 979 | http://%5b::1%5d/ |
| 980 | |
| 981 | * platform/qt/KURLQt.cpp: |
| 982 | (WebCore::KURL::operator QUrl): |
| 983 | |
mitz@apple.com | e198b01 | 2008-08-12 21:49:07 +0000 | [diff] [blame] | 984 | 2008-08-12 Mihnea Ovidenie <mihnea@adobe.com> |
| 985 | |
| 986 | Fix for https://bugs.webkit.org/show_bug.cgi?id=19891 |
| 987 | Broken HTML object elements cause de-reference of pointer to freed memory. |
| 988 | If we fail to load an image for an object tag and we no longer believe the object tag points at |
| 989 | an image, then clear m_imageLoader in the HTMLObjectElement so that we attempt to render the |
| 990 | fall back content. |
| 991 | |
| 992 | Reviewed by Dave Hyatt and Alexey Proskuryakov. |
| 993 | |
| 994 | Test: http/tests/misc/object-image-error-with-onload.html |
| 995 | |
| 996 | * html/HTMLObjectElement.cpp: |
| 997 | (WebCore::HTMLObjectElement::renderFallbackContent): |
| 998 | * page/Frame.cpp: |
| 999 | (WebCore::Frame::Frame): |
| 1000 | |
zimmermann@webkit.org | 36a0251 | 2008-08-12 21:11:17 +0000 | [diff] [blame] | 1001 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 1002 | |
| 1003 | Reviewed by Dave. |
| 1004 | |
| 1005 | Fixes: https://bugs.webkit.org/show_bug.cgi?id=19798 |
| 1006 | Masks are translated, and the mask images are swapped on the y-axis. |
| 1007 | |
| 1008 | Turned out that http://trac.webkit.org/changeset/31830/trunk/WebCore/svg/graphics/cg/SVGResourceMaskerCg.mm |
| 1009 | is guilty. GraphicsContext::clipToImageBuffer() does some extra transformations that SVGResourcesMaskerCg does not want. |
| 1010 | |
| 1011 | Long term goal is to remove the SVGResource*/SVGPaintServer* classes anyway, so it's okay to duplicate |
| 1012 | the "clip to image buffer" functionality, in the CG specific SVGResourceMaskerCg class - as it was before. |
| 1013 | |
| 1014 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 1015 | (WebCore::SVGResourceMasker::applyMask): Changed back to use CG clipping again. |
| 1016 | |
mitz@apple.com | f8a9869 | 2008-08-12 17:04:42 +0000 | [diff] [blame] | 1017 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 1018 | |
mitz@apple.com | 1b7e844f | 2008-08-12 20:54:12 +0000 | [diff] [blame] | 1019 | - WebCore part of <rdar://problem/6121636> |
| 1020 | Make fast*alloc() abort() on failure and add "try" variants that |
| 1021 | return NULL on failure. |
| 1022 | |
| 1023 | Reviewed by Darin Adler. |
| 1024 | |
| 1025 | * platform/Arena.cpp: |
| 1026 | (WebCore::ArenaAllocate): Removed null checking of fastMalloc()'s |
| 1027 | result. |
| 1028 | * platform/graphics/cg/ImageBufferCG.cpp: |
| 1029 | (WebCore::ImageBuffer::create): Changed to use tryFastCalloc(). |
| 1030 | |
| 1031 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 1032 | |
mitz@apple.com | 1e09cd7 | 2008-08-12 18:27:58 +0000 | [diff] [blame] | 1033 | Reviewed by Darin Adler. |
| 1034 | |
| 1035 | - fix https://bugs.webkit.org/show_bug.cgi?id=19348 |
| 1036 | <rdar://problem/5978447> REGRESSION (r34193): Setting the size of a frame with javascript document.body.row no longer works |
| 1037 | |
| 1038 | Test: fast/frames/frameset-style-recalc.html |
| 1039 | |
| 1040 | * html/HTMLFrameSetElement.cpp: |
| 1041 | (WebCore::HTMLFrameSetElement::recalcStyle): Changed to call the base |
| 1042 | class implementation after marking for layout. |
| 1043 | |
| 1044 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 1045 | |
mitz@apple.com | f8a9869 | 2008-08-12 17:04:42 +0000 | [diff] [blame] | 1046 | Reviewed by John Sullivan. |
| 1047 | |
| 1048 | - move shouldUpdateWhenOffscreen from Settings to FrameView and rename it shouldUpdateWhileHidden |
| 1049 | |
| 1050 | * WebCore.base.exp: |
| 1051 | * page/FrameView.cpp: |
| 1052 | (WebCore::FrameViewPrivate::FrameViewPrivate): |
| 1053 | (WebCore::FrameView::shouldUpdateWhileHidden): |
| 1054 | (WebCore::FrameView::setShouldUpdateWhileHidden): |
| 1055 | * page/FrameView.h: |
| 1056 | * page/Settings.cpp: |
| 1057 | * page/Settings.h: |
| 1058 | |
aroben@apple.com | eeb8ebb | 2008-08-12 14:58:51 +0000 | [diff] [blame] | 1059 | 2008-08-12 Adam Roben <aroben@apple.com> |
| 1060 | |
| 1061 | Windows build fix |
| 1062 | |
| 1063 | * bindings/js/JSSVGPODTypeWrapper.h: Align |
| 1064 | JSSVGDynamicPODTypeWrapper's and JSSVGStaticPODTypeWrapperWithParent's |
| 1065 | members on 16-byte boundaries to avoid an alignment warning. |
| 1066 | |
zimmermann@webkit.org | e138811 | 2008-08-12 10:27:53 +0000 | [diff] [blame] | 1067 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 1068 | |
| 1069 | Reviewed by Oliver. |
| 1070 | |
zimmermann@webkit.org | 504f255 | 2008-08-12 10:35:09 +0000 | [diff] [blame] | 1071 | Add new dynamice-update layout tests covering SVGMarkerElement. |
| 1072 | Fix bug: SVGMarkerElement's SVG DOM function calls don't update rendering. |
| 1073 | Fix orientAngle/orientType confusion: "auto" orient should always return "0" as angle. |
| 1074 | |
| 1075 | Tests: svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr.html |
| 1076 | svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr.html |
| 1077 | svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr.html |
| 1078 | svg/dynamic-updates/SVGMarkerElement-dom-orient-attr.html |
| 1079 | svg/dynamic-updates/SVGMarkerElement-dom-refX-attr.html |
| 1080 | svg/dynamic-updates/SVGMarkerElement-dom-refY-attr.html |
| 1081 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop.html |
| 1082 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop.html |
| 1083 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop.html |
| 1084 | svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop.html |
| 1085 | svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop.html |
| 1086 | svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop.html |
| 1087 | svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop.html |
| 1088 | svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call.html |
| 1089 | svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call.html |
| 1090 | |
| 1091 | * svg/SVGMarkerElement.cpp: |
| 1092 | (WebCore::SVGMarkerElement::SVGMarkerElement): |
| 1093 | (WebCore::SVGMarkerElement::parseMappedAttribute): |
| 1094 | (WebCore::SVGMarkerElement::svgAttributeChanged): |
| 1095 | (WebCore::SVGMarkerElement::childrenChanged): |
| 1096 | (WebCore::SVGMarkerElement::setOrientToAuto): |
| 1097 | (WebCore::SVGMarkerElement::setOrientToAngle): |
| 1098 | (WebCore::SVGMarkerElement::canvasResource): |
| 1099 | |
| 1100 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 1101 | |
| 1102 | Reviewed by Oliver. |
| 1103 | |
zimmermann@webkit.org | e138811 | 2008-08-12 10:27:53 +0000 | [diff] [blame] | 1104 | Add new dynamic-update layout tests covering SVGImageElement. |
| 1105 | Fix bug: SVGImageElement doesn't react on 'preserveAspectRatio' changes. |
| 1106 | |
| 1107 | Tests: svg/dynamic-updates/SVGImageElement-dom-height-attr.html |
| 1108 | svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr.html |
| 1109 | svg/dynamic-updates/SVGImageElement-dom-width-attr.html |
| 1110 | svg/dynamic-updates/SVGImageElement-dom-x-attr.html |
| 1111 | svg/dynamic-updates/SVGImageElement-dom-y-attr.html |
| 1112 | svg/dynamic-updates/SVGImageElement-svgdom-height-prop.html |
| 1113 | svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop.html |
| 1114 | svg/dynamic-updates/SVGImageElement-svgdom-width-prop.html |
| 1115 | svg/dynamic-updates/SVGImageElement-svgdom-x-prop.html |
| 1116 | svg/dynamic-updates/SVGImageElement-svgdom-y-prop.html |
| 1117 | |
| 1118 | * svg/SVGImageElement.cpp: |
| 1119 | (WebCore::SVGImageElement::svgAttributeChanged): |
| 1120 | |
timothy@apple.com | 9311472 | 2008-08-12 04:20:25 +0000 | [diff] [blame] | 1121 | 2008-08-11 Anthony Ricaud <rik24d@gmail.com> |
| 1122 | |
timothy@apple.com | 2f2cde3 | 2008-08-12 04:28:16 +0000 | [diff] [blame] | 1123 | Changed Option/Alt-Up or Down in CSS editing when the value is |
| 1124 | near zero to jump to the next integer. |
| 1125 | |
| 1126 | Reviewed by Tim Hatcher. |
| 1127 | |
| 1128 | https://bugs.webkit.org/show_bug.cgi?id=20326 |
| 1129 | |
| 1130 | * page/inspector/StylesSidebarPane.js: |
| 1131 | |
| 1132 | 2008-08-11 Anthony Ricaud <rik24d@gmail.com> |
| 1133 | |
timothy@apple.com | 9311472 | 2008-08-12 04:20:25 +0000 | [diff] [blame] | 1134 | Changed the line highlight transition for an easier animation. |
| 1135 | |
| 1136 | Reviewed by Tim Hatcher. |
| 1137 | |
| 1138 | * page/inspector/SourceFrame.js: |
| 1139 | |
timothy@apple.com | 24a1485 | 2008-08-12 03:57:39 +0000 | [diff] [blame] | 1140 | 2008-08-11 Keishi Hattori <casey.hattori@gmail.com> |
| 1141 | |
| 1142 | Added support for some Firebug Command Line APIs. |
| 1143 | |
| 1144 | Reviewed by Tim Hatcher. |
| 1145 | |
| 1146 | https://bugs.webkit.org/show_bug.cgi?id=19867 |
| 1147 | https://bugs.webkit.org/show_bug.cgi?id=19868 |
| 1148 | https://bugs.webkit.org/show_bug.cgi?id=19869 |
| 1149 | https://bugs.webkit.org/show_bug.cgi?id=19875 |
| 1150 | https://bugs.webkit.org/show_bug.cgi?id=19876 |
| 1151 | https://bugs.webkit.org/show_bug.cgi?id=19880 |
| 1152 | |
| 1153 | * page/inspector/Console.js: |
| 1154 | (WebInspector.Console.prototype._evalInInspectedWindow): |
| 1155 | Create an object on the inspected window that holds the console |
| 1156 | command line API functions. This object is used in a with statement |
| 1157 | around the typed expression. |
| 1158 | |
zimmermann@webkit.org | 0350b6d | 2008-08-12 02:22:26 +0000 | [diff] [blame] | 1159 | 2008-08-11 Nikolas Zimmermann <zimmermann@kde.org> |
| 1160 | |
| 1161 | Reviewed by Antti. |
| 1162 | |
| 1163 | Fixes: http://bugs.webkit.org/show_bug.cgi?id=17736 |
| 1164 | |
| 1165 | JS wrapper objects around SVG POD types, that contain other SVG POD types with writable properties |
| 1166 | failed to update. Modification of the values were completly ignored (ie. transform.matrix.a = 50, didn't take any effect) |
| 1167 | |
| 1168 | Added tests: svg/custom/svg-modify-currentTranslate.html |
| 1169 | svg/custom/tearoffs-with-tearoffs.html |
| 1170 | svg/custom/immutable-properties.html |
| 1171 | |
| 1172 | Fixed tests: svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop.html |
| 1173 | |
| 1174 | * bindings/js/JSSVGPODTypeWrapper.h: |
| 1175 | (WebCore::JSSVGDynamicPODTypeWrapper::commitChange): |
| 1176 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::create): |
| 1177 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::commitChange): |
| 1178 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::JSSVGStaticPODTypeWrapperWithPODTypeParent): |
| 1179 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::create): |
| 1180 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::operator PODType): |
| 1181 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::commitChange): |
| 1182 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::JSSVGStaticPODTypeWrapperWithParent): |
| 1183 | * bindings/scripts/CodeGenerator.pm: |
| 1184 | * bindings/scripts/CodeGeneratorJS.pm: |
| 1185 | * svg/SVGSVGElement.idl: Add [Immutable] markers to SVG POD attributes, that contain POD types with writable attributes. |
| 1186 | * svg/SVGZoomEvent.idl: SVG specification explicitely demands these attributes to be readonly, even its content. |
| 1187 | |
beidson@apple.com | 0e772f7 | 2008-08-12 00:34:46 +0000 | [diff] [blame] | 1188 | 2008-08-11 Brady Eidson <beidson@apple.com> |
| 1189 | |
| 1190 | Reviewed by John and Anders |
| 1191 | |
| 1192 | Fix for <rdar://problem/6141797> |
| 1193 | |
| 1194 | When WebArchives were entirely a WebKit concept, there was a guarantee that a WebResource |
| 1195 | would never have nil data. |
| 1196 | |
| 1197 | When they were pushed down into WebCore, that guarantee was lost, subtly changing a few |
| 1198 | semantics with some WebKit applications. |
| 1199 | |
| 1200 | The guarantee was a good one and should be restored. |
| 1201 | |
| 1202 | Note that ApplicationCacheResource doesn't need any updates to follow this rule as it already |
| 1203 | creates an empty data object in the case of null data for its own purposes. |
| 1204 | |
| 1205 | * loader/SubstituteResource.h: |
| 1206 | (WebCore::SubstituteResource::SubstituteResource): ASSERT that the data is not null. This |
| 1207 | well help any future subclassers not make this mistake. |
| 1208 | |
| 1209 | * loader/archive/ArchiveResource.cpp: |
| 1210 | (WebCore::ArchiveResource::create): Return 0 if the data is null. |
| 1211 | |
simon.fraser@apple.com | e0d4479 | 2008-08-11 22:44:06 +0000 | [diff] [blame] | 1212 | 2008-08-11 Simon Fraser <simon.fraser@apple.com> |
| 1213 | |
| 1214 | Reviewed by Dave Hyatt |
| 1215 | |
| 1216 | https://bugs.webkit.org/show_bug.cgi?id=20328 |
| 1217 | Fix a problem when an 'all' transition transition with more than |
| 1218 | one property changing is interrupted, and did some AnimationController |
| 1219 | cleanup. |
| 1220 | |
| 1221 | Test: transitions/interrupted-all-transition.html |
| 1222 | |
| 1223 | * page/AnimationController.cpp: |
| 1224 | (WebCore::ImplicitAnimation::ImplicitAnimation): |
| 1225 | (WebCore::AnimationControllerPrivate::blendProperties): |
| 1226 | (WebCore::CompositeAnimation::updateTransitions): |
| 1227 | (WebCore::CompositeAnimation::cleanupFinishedAnimations): |
| 1228 | (WebCore::CompositeAnimation::setTransitionStartTime): |
| 1229 | (WebCore::CompositeAnimation::overrideImplicitAnimations): |
| 1230 | (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations): |
| 1231 | (WebCore::ImplicitAnimation::animate): |
| 1232 | (WebCore::ImplicitAnimation::onAnimationEnd): |
| 1233 | (WebCore::ImplicitAnimation::sendTransitionEvent): |
| 1234 | (WebCore::ImplicitAnimation::affectsProperty): |
| 1235 | (WebCore::KeyframeAnimation::endAnimation): |
| 1236 | (WebCore::KeyframeAnimation::onAnimationEnd): |
| 1237 | |
kmccullough@apple.com | 4a967c1 | 2008-08-11 20:45:19 +0000 | [diff] [blame] | 1238 | 2008-08-11 Kevin McCullough <kmccullough@apple.com> |
| 1239 | |
| 1240 | Reviewed by Tim. |
| 1241 | |
| 1242 | - Because console messages have group levels now, newly created messages |
| 1243 | that do not specify the level lose their message since the number of |
| 1244 | arguments is wrong. |
| 1245 | |
| 1246 | * page/inspector/Console.js: |
| 1247 | * page/inspector/Resource.js: |
| 1248 | |
alp@webkit.org | eeb5514 | 2008-08-11 19:52:14 +0000 | [diff] [blame] | 1249 | 2008-08-11 Alp Toker <alp@nuanti.com> |
| 1250 | |
| 1251 | Build fix. Add new files from r35666 (WebKitAnimationEvent). Also take |
| 1252 | the opportunity to sort the sources lists. |
| 1253 | |
| 1254 | * GNUmakefile.am: |
| 1255 | |
timothy@apple.com | 9fe09f8 | 2008-08-11 18:48:37 +0000 | [diff] [blame] | 1256 | 2008-08-11 Timothy Hatcher <timothy@apple.com> |
| 1257 | |
| 1258 | Speed up the the JavaScript syntax highlighter by generating |
| 1259 | the finders only once per script instead of per line. |
| 1260 | |
| 1261 | https://bugs.webkit.org/show_bug.cgi?id=20346 |
| 1262 | |
| 1263 | Reviewed by Adam Roben. |
| 1264 | |
| 1265 | * page/inspector/SourceFrame.js: |
| 1266 | (WebInspector.SourceFrame.prototype._syntaxHighlightJavascriptLine): |
| 1267 | Removed, factored into syntaxHighlightJavascript as an inline function. |
| 1268 | (WebInspector.SourceFrame.prototype.syntaxHighlightJavascript): |
| 1269 | Pulled in the _syntaxHighlightJavascriptLine so it will create a closure. |
| 1270 | Generate the finders before iterating the lines. |
| 1271 | |
aroben@apple.com | 957d2d3 | 2008-08-11 18:31:37 +0000 | [diff] [blame] | 1272 | 2008-08-11 Adam Roben <aroben@apple.com> |
| 1273 | |
| 1274 | Windows build fix |
| 1275 | |
| 1276 | * WebCore.vcproj/WebCore.vcproj: Added JSWebKitAnimationEvent.cpp and |
| 1277 | JSWebKitTransitionEvent.cpp to the project. Let VS reformat the file, |
| 1278 | too. |
| 1279 | |
mitz@apple.com | 3f0060f | 2008-08-11 18:04:46 +0000 | [diff] [blame] | 1280 | 2008-08-11 Dan Bernstein <mitz@apple.com> |
| 1281 | |
| 1282 | Reviewed by Darin Adler. |
| 1283 | |
| 1284 | - fix <rdar://problem/6131096> Reproducible crash in CounterNode::isReset under guard malloc |
| 1285 | |
| 1286 | Test: fast/css/counters/invalidate-cached-counter-node.html |
| 1287 | |
| 1288 | * rendering/RenderContainer.cpp: |
| 1289 | (WebCore::RenderContainer::invalidateCounters): Added. Invalidates all |
| 1290 | RenderCounters in :before and :after content. |
| 1291 | * rendering/RenderContainer.h: |
| 1292 | * rendering/RenderCounter.cpp: |
| 1293 | (WebCore::RenderCounter::isCounter): Renamed isRenderCounter() to this |
| 1294 | to match the RenderObject method. |
| 1295 | (WebCore::RenderCounter::invalidate): Added. Resets the cached |
| 1296 | CounterNode and invalidates the object's layout and preferred widths. |
| 1297 | (WebCore::destroyCounterNodeChildren): Added a call to |
| 1298 | invalidateCounters(). |
| 1299 | * rendering/RenderCounter.h: |
| 1300 | * rendering/RenderObject.h: |
| 1301 | (WebCore::RenderObject::invalidateCounters): |
| 1302 | |
dino@apple.com | 2af8c3a | 2008-08-11 17:24:36 +0000 | [diff] [blame] | 1303 | 2008-08-11 Dean Jackson <dino@apple.com> |
| 1304 | |
| 1305 | Implement CSS Animation and Transition Events |
| 1306 | https://bugs.webkit.org/show_bug.cgi?id=20337 |
| 1307 | |
| 1308 | Implement the events defined in the CSS Animations |
| 1309 | and Transitions specifications so code can react |
| 1310 | to animations and transitions. |
| 1311 | |
| 1312 | Reviewed by Tim Hatcher and Dave Hyatt. |
| 1313 | |
| 1314 | * DerivedSources.make: |
| 1315 | * GNUmakefile.am: |
| 1316 | * WebCore.pro: |
| 1317 | * WebCore.vcproj/WebCore.vcproj: |
| 1318 | * WebCore.xcodeproj/project.pbxproj: |
| 1319 | * WebCoreSources.bkl: |
| 1320 | Build configs for new files |
| 1321 | |
| 1322 | * bindings/js/JSDOMWindowBase.cpp: |
| 1323 | * bindings/js/JSDOMWindowBase.h: |
| 1324 | * bindings/js/JSEventCustom.cpp: |
| 1325 | * dom/Document.h: |
| 1326 | * dom/Event.cpp: |
| 1327 | * dom/Event.h: |
| 1328 | * dom/EventTarget.cpp: |
| 1329 | * dom/EventTargetNode.cpp: |
| 1330 | * dom/EventTargetNode.h: |
| 1331 | * html/HTMLElement.cpp: |
| 1332 | * page/AnimationController.cpp: |
| 1333 | do all the new event stuff |
| 1334 | |
| 1335 | * html/HTMLAttributeNames.in: |
| 1336 | the onwebkitanimation* and onwebkittransitionend attrs |
| 1337 | |
| 1338 | * dom/WebKitAnimationEvent.cpp: Added. |
| 1339 | * dom/WebKitAnimationEvent.h: Added. |
| 1340 | * dom/WebKitAnimationEvent.idl: Added. |
| 1341 | * dom/WebKitTransitionEvent.cpp: Added. |
| 1342 | * dom/WebKitTransitionEvent.h: Added. |
| 1343 | * dom/WebKitTransitionEvent.idl: Added. |
| 1344 | New files for the events |
| 1345 | |
| 1346 | * manual-tests/transition-events.html: Added. |
| 1347 | New testfile |
| 1348 | |
aroben@apple.com | 3eae862 | 2008-08-11 17:21:23 +0000 | [diff] [blame] | 1349 | 2008-08-11 Adam Roben <aroben@apple.com> |
| 1350 | |
| 1351 | Add a ForwardingHeader for wtf/NotFound.h |
| 1352 | |
| 1353 | Rubberstamped by Darin Adler. |
| 1354 | |
| 1355 | * ForwardingHeaders/wtf/NotFound.h: Added. |
| 1356 | |
timothy@apple.com | 2f5bdf0 | 2008-08-11 16:53:30 +0000 | [diff] [blame] | 1357 | 2008-08-11 Timothy Hatcher <timothy@apple.com> |
| 1358 | |
| 1359 | Fixes a bug where error bubbles in JavaScript resources would |
| 1360 | be clobbered by the syntax highlighter. |
| 1361 | |
| 1362 | https://bugs.webkit.org/show_bug.cgi?id=20345 |
| 1363 | |
| 1364 | Reviewed by Adam Roben. |
| 1365 | |
| 1366 | * manual-tests/inspector/resources/script-error.js: Added. |
| 1367 | * manual-tests/inspector/styled-error-bubbles-in-scripts.html: Added. |
| 1368 | * page/inspector/SourceFrame.js: |
| 1369 | (WebInspector.SourceFrame.prototype._addMessageToSource): |
| 1370 | Check the nodeType and not the nodeName, this is less fragile. |
| 1371 | (WebInspector.SourceFrame.prototype._syntaxHighlightJavascriptLine): |
| 1372 | Check if the lastChild is an error bubble, if so remove it before |
| 1373 | getting the line's textContent. Add the error bubble back at the end. |
| 1374 | |
mrowe@apple.com | 4ec50d0 | 2008-08-11 05:07:42 +0000 | [diff] [blame] | 1375 | == Rolled over to ChangeLog-2008-08-10 == |