ap@webkit.org | 879328b | 2008-09-02 16:16:06 +0000 | [diff] [blame^] | 1 | 2008-09-02 Alexey Proskuryakov <ap@webkit.org> |
| 2 | |
| 3 | Reviewed by Adam Roben. |
| 4 | |
| 5 | A little database quota management cleanup. |
| 6 | |
| 7 | * storage/OriginQuotaManager.cpp: |
| 8 | (WebCore::OriginQuotaManager::OriginQuotaManager): |
| 9 | (WebCore::OriginQuotaManager::lock): |
| 10 | (WebCore::OriginQuotaManager::unlock): |
| 11 | (WebCore::OriginQuotaManager::trackOrigin): |
| 12 | (WebCore::OriginQuotaManager::tracksOrigin): |
| 13 | (WebCore::OriginQuotaManager::addDatabase): |
| 14 | (WebCore::OriginQuotaManager::removeDatabase): |
| 15 | (WebCore::OriginQuotaManager::removeOrigin): |
| 16 | (WebCore::OriginQuotaManager::markDatabase): |
| 17 | (WebCore::OriginQuotaManager::diskUsage): |
| 18 | * storage/OriginQuotaManager.h: |
| 19 | Changed to assert that a lock is taken more directly and reliably. Removed comments about |
| 20 | main/background threads, as this is likely to stop being true with synchronous Database calls |
| 21 | being made on worker threads. |
| 22 | |
| 23 | * storage/OriginUsageRecord.cpp: |
| 24 | (WebCore::OriginUsageRecord::OriginUsageRecord): |
| 25 | (WebCore::OriginUsageRecord::addDatabase): |
| 26 | (WebCore::OriginUsageRecord::removeDatabase): |
| 27 | (WebCore::OriginUsageRecord::markDatabase): |
| 28 | (WebCore::OriginUsageRecord::diskUsage): |
| 29 | * storage/OriginUsageRecord.h: |
| 30 | (WebCore::OriginUsageRecord::DatabaseEntry::DatabaseEntry): |
| 31 | Don't use a magic value for unknown. It is totally unnecessary for DatabaseEntry, and |
| 32 | can be replaced with a single boolean for OriginUsageRecord. |
| 33 | Added assertions for string parameters being unshared. |
| 34 | |
| 35 | |
abarth@webkit.org | aea97a0 | 2008-09-02 04:26:15 +0000 | [diff] [blame] | 36 | 2008-09-01 Adam Barth <abarth@webkit.org> |
| 37 | |
| 38 | Reviewed by Sam Weinig. |
| 39 | |
| 40 | https://bugs.webkit.org/show_bug.cgi?id=19760 |
| 41 | |
| 42 | Make granting LoadLocalResources conditional on a policy. |
| 43 | |
| 44 | * WebCore.base.exp: |
| 45 | * dom/Document.cpp: |
| 46 | (WebCore::Document::initSecurityContext): |
| 47 | * loader/FrameLoader.cpp: |
| 48 | (WebCore::FrameLoader::setLocalLoadPolicy): |
| 49 | (WebCore::FrameLoader::restrictAccessToLocal): |
| 50 | * loader/FrameLoader.h: |
| 51 | (WebCore::FrameLoader::): |
| 52 | * platform/SecurityOrigin.cpp: |
| 53 | (WebCore::SecurityOrigin::grantLoadLocalResources): |
| 54 | * platform/SecurityOrigin.h: |
| 55 | |
dino@apple.com | 6e2db50 | 2008-09-01 23:05:28 +0000 | [diff] [blame] | 56 | 2008-09-01 Dean Jackson <dino@apple.com> |
| 57 | |
dino@apple.com | 59ca9f5 | 2008-09-01 23:34:13 +0000 | [diff] [blame] | 58 | Reviewed by Sam Weinig. |
| 59 | |
| 60 | https://bugs.webkit.org/show_bug.cgi?id=20571 |
| 61 | Make sure Window object can assign Animation/Transition event |
| 62 | listeners via attributes. |
| 63 | |
| 64 | Also added a bunch of transition event tests, although |
| 65 | only transition-end-event-window is directly relevant to this patch. |
| 66 | |
| 67 | (WebCore::JSDOMWindowBase::put): |
| 68 | |
| 69 | Tests: transitions/transition-end-event-all-properties.html |
| 70 | transitions/transition-end-event-attributes.html |
| 71 | transitions/transition-end-event-container.html |
| 72 | transitions/transition-end-event-left.html |
| 73 | transitions/transition-end-event-multiple-01.html |
| 74 | transitions/transition-end-event-multiple-02.html |
| 75 | transitions/transition-end-event-multiple-03.html |
| 76 | transitions/transition-end-event-multiple-04.html |
| 77 | transitions/transition-end-event-nested.html |
| 78 | transitions/transition-end-event-transform.html |
| 79 | transitions/transition-end-event-window.html |
| 80 | |
| 81 | 2008-09-01 Dean Jackson <dino@apple.com> |
| 82 | |
dino@apple.com | 6e2db50 | 2008-09-01 23:05:28 +0000 | [diff] [blame] | 83 | Reviewed by Sam Weinig |
| 84 | |
| 85 | Code styling cleanup. |
| 86 | |
| 87 | * bindings/js/JSDOMWindowBase.cpp: |
| 88 | (WebCore::JSDOMWindowBase::getValueProperty): |
| 89 | (WebCore::JSDOMWindowBase::put): |
| 90 | |
weinig@apple.com | 3412bb4 | 2008-09-01 21:22:54 +0000 | [diff] [blame] | 91 | 2008-09-01 Geoffrey Garen <ggaren@apple.com> |
| 92 | |
| 93 | Reviewed by Darin Adler. |
| 94 | |
| 95 | First cut at inline caching for access to vanilla JavaScript properties. |
| 96 | |
| 97 | Updated for JavaScriptCore changes. Mostly mechanical addition of StructureIDs |
| 98 | to WebCore classes, and PutPropertySlot& arguments to put functions. |
| 99 | |
| 100 | (WebCore::JSCSSStyleDeclaration::customPut): Be sure to play nice with |
| 101 | inline caching for global properties, so global assignment can be optimized. |
| 102 | |
| 103 | * ForwardingHeaders/kjs/StructureID.h: Added. |
| 104 | * bindings/js/JSDOMBinding.h: |
| 105 | (WebCore::DOMObject::DOMObject): |
| 106 | * bindings/js/JSDOMWindowBase.cpp: |
| 107 | (WebCore::JSDOMWindowBase::put): |
| 108 | * bindings/js/JSDOMWindowBase.h: |
| 109 | * bindings/js/JSDOMWindowCustom.h: |
| 110 | (WebCore::JSDOMWindow::customPut): |
| 111 | * bindings/js/JSDOMWindowShell.cpp: |
| 112 | (WebCore::JSDOMWindowShell::JSDOMWindowShell): |
| 113 | (WebCore::JSDOMWindowShell::put): |
| 114 | * bindings/js/JSDOMWindowShell.h: |
| 115 | * bindings/js/JSEventTargetBase.h: |
| 116 | (WebCore::JSEventTargetBase::put): |
| 117 | * bindings/js/JSEventTargetNode.h: |
| 118 | (WebCore::JSEventTargetNode::put): |
| 119 | * bindings/js/JSHTMLAppletElementCustom.cpp: |
| 120 | (WebCore::JSHTMLAppletElement::customPut): |
| 121 | * bindings/js/JSHTMLEmbedElementCustom.cpp: |
| 122 | (WebCore::JSHTMLEmbedElement::customPut): |
| 123 | * bindings/js/JSHTMLInputElementBase.cpp: |
| 124 | (WebCore::JSHTMLInputElementBase::put): |
| 125 | * bindings/js/JSHTMLInputElementBase.h: |
| 126 | * bindings/js/JSHTMLObjectElementCustom.cpp: |
| 127 | (WebCore::JSHTMLObjectElement::customPut): |
| 128 | * bindings/js/JSHistoryCustom.cpp: |
| 129 | (WebCore::JSHistory::customPut): |
| 130 | * bindings/js/JSInspectedObjectWrapper.cpp: |
| 131 | (WebCore::JSInspectedObjectWrapper::wrap): |
| 132 | (WebCore::JSInspectedObjectWrapper::JSInspectedObjectWrapper): |
| 133 | * bindings/js/JSInspectedObjectWrapper.h: |
| 134 | * bindings/js/JSInspectorCallbackWrapper.cpp: |
| 135 | (WebCore::JSInspectorCallbackWrapper::wrap): |
| 136 | (WebCore::JSInspectorCallbackWrapper::JSInspectorCallbackWrapper): |
| 137 | * bindings/js/JSInspectorCallbackWrapper.h: |
| 138 | * bindings/js/JSLocationCustom.cpp: |
| 139 | (WebCore::JSLocation::customPut): |
| 140 | * bindings/js/JSPluginElementFunctions.cpp: |
| 141 | (WebCore::runtimeObjectCustomPut): |
| 142 | * bindings/js/JSPluginElementFunctions.h: |
| 143 | * bindings/js/JSQuarantinedObjectWrapper.cpp: |
| 144 | (WebCore::JSQuarantinedObjectWrapper::JSQuarantinedObjectWrapper): |
| 145 | (WebCore::JSQuarantinedObjectWrapper::put): |
| 146 | * bindings/js/JSQuarantinedObjectWrapper.h: |
| 147 | * bindings/js/JSStorageCustom.cpp: |
| 148 | (WebCore::JSStorage::customPut): |
| 149 | * bindings/objc/WebScriptObject.mm: |
| 150 | (-[WebScriptObject setValue:forKey:]): |
| 151 | * bindings/scripts/CodeGeneratorJS.pm: |
| 152 | * bridge/NP_jsobject.cpp: |
| 153 | (_NPN_SetProperty): |
| 154 | * bridge/jni/jni_jsobject.mm: |
| 155 | (JavaJSObject::setMember): |
| 156 | * bridge/objc/objc_class.mm: |
| 157 | (KJS::Bindings::ObjcClass::fallbackObject): |
| 158 | * bridge/objc/objc_runtime.h: |
| 159 | * bridge/objc/objc_runtime.mm: |
| 160 | (ObjcFallbackObjectImp::ObjcFallbackObjectImp): |
| 161 | (ObjcFallbackObjectImp::put): |
| 162 | * bridge/runtime.cpp: |
| 163 | (KJS::Bindings::Instance::createRuntimeObject): |
| 164 | * bridge/runtime_array.cpp: |
| 165 | (RuntimeArray::put): |
| 166 | * bridge/runtime_array.h: |
| 167 | * bridge/runtime_object.cpp: |
| 168 | (RuntimeObjectImp::RuntimeObjectImp): |
| 169 | (RuntimeObjectImp::put): |
| 170 | * bridge/runtime_object.h: |
| 171 | |
jmalonzo@webkit.org | 1f770ba | 2008-09-01 12:43:34 +0000 | [diff] [blame] | 172 | 2008-09-01 Dirk Schulze <vbs85@gmx.de> |
| 173 | |
| 174 | Reviewed by Eric Seidel. |
| 175 | |
jmalonzo@webkit.org | 37f0788 | 2008-09-01 12:43:48 +0000 | [diff] [blame] | 176 | Fixed border-radius for Cairo. |
| 177 | |
| 178 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 179 | (WebCore::GraphicsContext::strokeArc): |
| 180 | |
| 181 | 2008-09-01 Dirk Schulze <vbs85@gmx.de> |
| 182 | |
| 183 | Reviewed by Eric Seidel. |
| 184 | |
jmalonzo@webkit.org | 1f770ba | 2008-09-01 12:43:34 +0000 | [diff] [blame] | 185 | Added canvas's globalAlpha to cairo. |
| 186 | |
| 187 | * platform/graphics/GraphicsContext.h: |
| 188 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 189 | (WebCore::GraphicsContext::fillPath): |
| 190 | (WebCore::GraphicsContext::strokePath): |
| 191 | (WebCore::GraphicsContext::setAlpha): |
| 192 | (WebCore::GraphicsContext::getAlpha): |
| 193 | * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: |
| 194 | (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): |
| 195 | * platform/graphics/cairo/ImageCairo.cpp: |
| 196 | (WebCore::BitmapImage::draw): |
| 197 | |
hausmann@webkit.org | ecd099d | 2008-08-31 13:13:28 +0000 | [diff] [blame] | 198 | 2008-08-31 Simon Hausmann <hausmann@webkit.org> |
| 199 | |
| 200 | Unreviewed Qt build fix. |
| 201 | |
| 202 | * WebCore.pro: Add TextControlInnerElements.cpp to SOURCES instead of |
| 203 | the .h file |
| 204 | |
darin@apple.com | e794585 | 2008-08-31 06:58:07 +0000 | [diff] [blame] | 205 | 2008-08-30 Darin Adler <darin@apple.com> |
| 206 | |
| 207 | Reviewed by Maciej. |
| 208 | |
| 209 | - adopt some new JavaScriptCore functions where appropriate |
| 210 | |
| 211 | * bindings/js/JSDOMWindowBase.cpp: |
| 212 | (WebCore::windowProtoFuncAToB): Adopted jsEmptyString. |
| 213 | (WebCore::windowProtoFuncBToA): Ditto. |
| 214 | * bindings/js/JSEventListener.cpp: |
| 215 | (WebCore::JSLazyEventListener::eventParameterName): Adopted |
| 216 | jsNontrivialString. |
| 217 | * bindings/js/JSSVGLazyEventListener.cpp: |
| 218 | (WebCore::JSSVGLazyEventListener::eventParameterName): Ditto. |
| 219 | |
beidson@apple.com | 21c821f | 2008-08-30 00:26:01 +0000 | [diff] [blame] | 220 | 2008-08-29 Brady Eidson <beidson@apple.com> |
| 221 | |
beidson@apple.com | e1bd603 | 2008-08-30 00:30:11 +0000 | [diff] [blame] | 222 | Reviewed by Anders' rubberstamp |
| 223 | |
| 224 | Style cleanup to match MediaTokenizer::writeRawData() |
| 225 | |
| 226 | * loader/PluginDocument.cpp: |
| 227 | (WebCore::PluginTokenizer::writeRawData): |
| 228 | |
| 229 | 2008-08-29 Brady Eidson <beidson@apple.com> |
| 230 | |
beidson@apple.com | 21c821f | 2008-08-30 00:26:01 +0000 | [diff] [blame] | 231 | Reviewed by Anders |
| 232 | |
| 233 | Fix regression I introducted in 35946 |
| 234 | Already covered by media/video-click-dlbclick-standalone.html |
| 235 | |
| 236 | * loader/MediaDocument.cpp: |
| 237 | (WebCore::MediaTokenizer::createDocumentStructure): Don't cancel the load here - too early! |
| 238 | (WebCore::MediaTokenizer::writeRawData): Call finish() here so onload() can be called. Also add |
| 239 | an ASSERT signifying that this method should only be called once, to more closely follow the |
| 240 | PluginDocument case. |
| 241 | |
bdakin@apple.com | 7ee298c | 2008-08-30 00:00:30 +0000 | [diff] [blame] | 242 | 2008-08-29 Beth Dakin <bdakin@apple.com> |
| 243 | |
| 244 | Reviewed by Sam Weinig. |
| 245 | |
| 246 | Fix for <rdar://problem/6181588> |
| 247 | |
| 248 | This patch makes hit testing take into account the new concept of a |
| 249 | disconnected frame, in which some of the content may not be |
| 250 | visible. The current hit testing mechanism starts at a target frame |
| 251 | and drills down for a HitTestResult. In some cases, drilling down |
| 252 | will find a non-visible result. When this happens, we need to try |
| 253 | again, starting at a higher level -- namely, starting at the main |
| 254 | frame. |
| 255 | |
| 256 | * editing/Editor.cpp: |
| 257 | (WebCore::Editor::insideVisibleArea): New function that tests if a |
| 258 | point is inside the visible area for a disconnected frame. |
| 259 | * editing/Editor.h: |
| 260 | * page/EventHandler.cpp: |
| 261 | (WebCore::EventHandler::hitTestResultAtPoint): |
| 262 | |
adele@apple.com | fb90306 | 2008-08-29 22:30:18 +0000 | [diff] [blame] | 263 | 2008-08-29 Adele Peterson <adele@apple.com> |
| 264 | |
| 265 | Reviewed by Adam Roben. |
| 266 | |
| 267 | Rename HTMLTextFieldInnerElement.h/.cpp to TextControlInnerElements.h/.cpp |
| 268 | |
| 269 | * GNUmakefile.am: |
| 270 | * WebCore.pro: |
| 271 | * WebCore.vcproj/WebCore.vcproj: |
| 272 | * WebCore.xcodeproj/project.pbxproj: |
| 273 | * WebCoreSources.bkl: |
| 274 | * html/HTMLTextFieldInnerElement.cpp: Removed. |
| 275 | * html/HTMLTextFieldInnerElement.h: Removed. |
| 276 | * rendering/RenderTextControl.cpp: |
| 277 | (WebCore::RenderTextControl::createSubtreeIfNeeded): |
| 278 | * rendering/RenderTextControl.h: |
| 279 | * rendering/TextControlInnerElements.cpp: Copied from html/HTMLTextFieldInnerElement.cpp. |
| 280 | (WebCore::TextControlInnerElement::TextControlInnerElement): |
| 281 | (WebCore::TextControlInnerTextElement::TextControlInnerTextElement): |
| 282 | (WebCore::TextControlInnerTextElement::defaultEventHandler): |
| 283 | (WebCore::SearchFieldResultsButtonElement::SearchFieldResultsButtonElement): |
| 284 | (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): |
| 285 | (WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement): |
| 286 | (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): |
| 287 | * rendering/TextControlInnerElements.h: Copied from html/HTMLTextFieldInnerElement.h. |
| 288 | |
eric@webkit.org | 298c65b | 2008-08-29 21:39:32 +0000 | [diff] [blame] | 289 | 2008-08-29 Eric Seidel <eric@webkit.org> |
| 290 | |
eric@webkit.org | 77837ce | 2008-08-29 21:40:07 +0000 | [diff] [blame] | 291 | Rubber-stamped by aroben. |
| 292 | |
| 293 | Add GraphicsContext.h include to GraphcisContextPrivate.h |
| 294 | |
| 295 | GraphicsContextPrivate uses StrokeStyle which is defined |
| 296 | in GraphicsContext.h but it doesn't include that header. |
| 297 | CoreGraphics build doesn't fail here due to the order |
| 298 | it happens to include files. |
| 299 | |
| 300 | * platform/graphics/GraphicsContextPrivate.h: |
| 301 | |
| 302 | 2008-08-29 Eric Seidel <eric@webkit.org> |
| 303 | |
eric@webkit.org | 298c65b | 2008-08-29 21:39:32 +0000 | [diff] [blame] | 304 | Reviewed by hyatt. |
| 305 | |
| 306 | Fix GeneratedImage to respect Image's refcounting |
| 307 | Fixing potential crashers (future if not current) |
| 308 | https://bugs.webkit.org/show_bug.cgi?id=20567 |
| 309 | |
| 310 | I don't know if it's possible to make the current code |
| 311 | crash, thus I've not made a test. |
| 312 | |
| 313 | * css/CSSGradientValue.cpp: |
| 314 | (WebCore::CSSGradientValue::image): |
| 315 | * css/CSSImageGeneratorValue.cpp: |
| 316 | (WebCore::CSSImageGeneratorValue::removeClient): |
| 317 | (WebCore::CSSImageGeneratorValue::getImage): |
| 318 | * css/CSSImageGeneratorValue.h: |
| 319 | * platform/graphics/GeneratedImage.h: |
| 320 | (WebCore::GeneratedImage::GeneratedImage): |
| 321 | * rendering/style/RenderStyle.cpp: |
| 322 | (WebCore::RenderStyle::setContent): |
| 323 | * rendering/style/RenderStyle.h: |
| 324 | |
eric.carlson@apple.com | ddeafd4 | 2008-08-29 20:07:19 +0000 | [diff] [blame] | 325 | 2008-08-29 Eric Carlson <eric.carlson@apple.com> |
| 326 | |
| 327 | Reviewed by Adele. |
| 328 | |
eric.carlson@apple.com | 850c77c | 2008-08-29 20:24:50 +0000 | [diff] [blame] | 329 | Fix for <rdar://problem/6093767> |
| 330 | https://bugs.webkit.org/show_bug.cgi?id=20526 |
| 331 | |
| 332 | Don't allow video to render until unsupported track types have been disabled. |
| 333 | |
| 334 | * platform/graphics/win/QTMovieWin.cpp: |
| 335 | (QTMovieWinPrivate::task): |
| 336 | (QTMovieWinPrivate::drawingComplete): |
| 337 | (QTMovieWinPrivate::clearGWorld): |
| 338 | |
| 339 | 2008-08-29 Eric Carlson <eric.carlson@apple.com> |
| 340 | |
| 341 | Reviewed by Adele. |
| 342 | |
eric.carlson@apple.com | ddeafd4 | 2008-08-29 20:07:19 +0000 | [diff] [blame] | 343 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20525 |
| 344 | <rdar://problem/6169301> |
| 345 | |
| 346 | Return the size of the movie data instead of 1000. |
| 347 | |
| 348 | Test: media/progress-event-total.html |
| 349 | |
| 350 | * platform/graphics/win/QTMovieWin.cpp: |
| 351 | (QTMovieWin::dataSize): |
| 352 | |
hausmann@webkit.org | 0367b58 | 2008-08-29 15:56:02 +0000 | [diff] [blame] | 353 | 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
| 354 | |
hausmann@webkit.org | fe7f2ac | 2008-08-29 15:57:44 +0000 | [diff] [blame] | 355 | Reviewed by Eric Seidel. |
| 356 | |
| 357 | [janitor/qt] Start replacing port specific getters with the generic native getter |
| 358 | To get the native presentation of an image we currently have platform |
| 359 | specific #ifdef's and a generic getter using NativeImagePtr. This patch |
| 360 | extends this to the ImageBuffer and updates the Qt platform to get rid |
| 361 | of the special #ifdefs. |
| 362 | |
| 363 | https://bugs.webkit.org/attachment.cgi?id=22861 |
| 364 | |
| 365 | * platform/graphics/BitmapImage.h: |
| 366 | * platform/graphics/Image.h: |
| 367 | * platform/graphics/qt/ImageQt.cpp: |
| 368 | * platform/graphics/qt/StillImageQt.cpp: |
| 369 | * platform/graphics/qt/StillImageQt.h: |
| 370 | * platform/qt/ClipboardQt.cpp: |
| 371 | (WebCore::ClipboardQt::createDragImage): |
| 372 | (WebCore::ClipboardQt::declareAndWriteDragImage): |
| 373 | * platform/qt/CursorQt.cpp: |
| 374 | * platform/qt/PasteboardQt.cpp: |
| 375 | (WebCore::Pasteboard::writeImage): |
| 376 | |
| 377 | 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
| 378 | |
hausmann@webkit.org | 0367b58 | 2008-08-29 15:56:02 +0000 | [diff] [blame] | 379 | Reviewed by Simon. |
| 380 | |
hausmann@webkit.org | b99266e | 2008-08-29 15:56:59 +0000 | [diff] [blame] | 381 | [svg/qt] Stop crashing... when no RenderPath/RenderObject is given... |
| 382 | |
| 383 | * svg/graphics/qt/SVGPaintServerQt.cpp: |
| 384 | (WebCore::SVGPaintServer::renderPath): |
| 385 | * svg/graphics/qt/SVGPaintServerSolidQt.cpp: |
| 386 | (WebCore::SVGPaintServerSolid::setup): |
| 387 | |
| 388 | 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
| 389 | |
| 390 | Reviewed by Simon. |
| 391 | |
hausmann@webkit.org | 0367b58 | 2008-08-29 15:56:02 +0000 | [diff] [blame] | 392 | [network/qt] Implement defering of loading ResourceHandle's |
| 393 | This is needed otherwise we end in an ASSERT in the MainResourceLoader. The |
| 394 | implementation is simply not forwarding anything to the |
| 395 | ResourceHandleClient until we are allowed to. This might lead to a deadlock |
| 396 | in Qt as we do not empty the QNetworkReply input buffer and wait until we |
| 397 | are allowed to read. If that happens we are forced to buffer the data |
| 398 | within QNetworkReplyHandler, for now this is not done. |
| 399 | |
| 400 | Manual test: |
| 401 | - Open http://acid3.acidtests.org |
| 402 | - Wait for the test to complete |
| 403 | - Click on the Reference Rendering link |
| 404 | - Be fast and see the results of acid3 |
| 405 | => assert |
| 406 | |
| 407 | * platform/network/qt/QNetworkReplyHandler.cpp: |
| 408 | (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): |
| 409 | (WebCore::QNetworkReplyHandler::setLoadMode): |
| 410 | (WebCore::QNetworkReplyHandler::finish): |
| 411 | (WebCore::QNetworkReplyHandler::sendResponseIfNeeded): |
| 412 | (WebCore::QNetworkReplyHandler::forwardData): |
| 413 | (WebCore::QNetworkReplyHandler::start): |
| 414 | (WebCore::QNetworkReplyHandler::resetState): |
| 415 | (WebCore::QNetworkReplyHandler::sendQueuedItems): |
| 416 | * platform/network/qt/QNetworkReplyHandler.h: |
| 417 | (WebCore::QNetworkReplyHandler::): |
| 418 | * platform/network/qt/ResourceHandleQt.cpp: |
| 419 | (WebCore::ResourceHandle::start): |
| 420 | (WebCore::ResourceHandle::loadResourceSynchronously): |
| 421 | (WebCore::ResourceHandle::setDefersLoading): |
| 422 | |
hausmann@webkit.org | 2f2621f | 2008-08-29 10:21:38 +0000 | [diff] [blame] | 423 | 2008-08-29 Simon Hausmann <hausmann@webkit.org> |
| 424 | |
hausmann@webkit.org | f586440 | 2008-08-29 12:35:59 +0000 | [diff] [blame] | 425 | Reviewed by Holger. |
| 426 | |
| 427 | Don't crash when drawing patterns with the HTML canvas. Patterns |
| 428 | remain unimplemented but at least they don't crash anymore. This is |
| 429 | done by changing the PlatformPatternPtr to be a brush for the Qt |
| 430 | platform. |
| 431 | |
| 432 | * platform/graphics/Pattern.h: |
| 433 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 434 | (WebCore::GraphicsContext::fillPath): |
| 435 | (WebCore::GraphicsContext::strokePath): |
| 436 | (WebCore::GraphicsContext::fillRect): |
| 437 | * platform/graphics/qt/PatternQt.cpp: |
| 438 | (WebCore::Pattern::createPlatformPattern): |
| 439 | |
| 440 | 2008-08-29 Simon Hausmann <hausmann@webkit.org> |
| 441 | |
hausmann@webkit.org | 2f2621f | 2008-08-29 10:21:38 +0000 | [diff] [blame] | 442 | Fix the Qt build, fontSelector() is not used by the Qt port yet |
| 443 | and we just return 0 in Font::fontSelector(). |
| 444 | |
| 445 | * platform/graphics/Font.h: |
| 446 | |
alp@webkit.org | 97d8c10 | 2008-08-29 05:09:39 +0000 | [diff] [blame] | 447 | 2008-08-28 Alp Toker <alp@nuanti.com> |
| 448 | |
| 449 | GTK+ dist/build fix. List newly added header files. |
| 450 | |
| 451 | * GNUmakefile.am: |
| 452 | |
simon.fraser@apple.com | 8f30d02 | 2008-08-28 23:04:18 +0000 | [diff] [blame] | 453 | 2008-08-28 Simon Fraser <simon.fraser@apple.com> |
| 454 | |
| 455 | Reviewed by Dave Hyatt |
| 456 | |
| 457 | Various WebKitCSSTransformValue-related fixes |
| 458 | https://bugs.webkit.org/show_bug.cgi?id=20562 |
| 459 | |
| 460 | Test: css3/transform-value-types.html |
| 461 | |
| 462 | * bindings/js/JSCSSValueCustom.cpp: |
| 463 | (WebCore::toJS): |
| 464 | * css/CSSValue.h: |
| 465 | * css/WebKitCSSTransformValue.cpp: |
| 466 | (WebCore::WebKitCSSTransformValue::cssText): |
| 467 | * css/WebKitCSSTransformValue.h: |
| 468 | (WebCore::WebKitCSSTransformValue::): |
| 469 | * css/WebKitCSSTransformValue.idl: |
| 470 | |
mitz@apple.com | d722235 | 2008-08-28 22:53:31 +0000 | [diff] [blame] | 471 | 2008-08-28 Dan Bernstein <mitz@apple.com> |
| 472 | |
| 473 | Reviewed by Steve Falkenburg. |
| 474 | |
| 475 | - do not let the "last chance" WM_TIMER trigger WebCore timers when they should be deferred |
| 476 | |
| 477 | * platform/win/SharedTimerWin.cpp: |
| 478 | (WebCore::TimerWindowWndProc): |
| 479 | |
hyatt@apple.com | 7d33523 | 2008-08-28 21:38:45 +0000 | [diff] [blame] | 480 | 2008-08-28 David Hyatt <hyatt@apple.com> |
| 481 | |
| 482 | RenderStyle cleanup. |
| 483 | |
| 484 | Break out StyleImage, StyleGeneratedImage, StyleCachedImage and NinePieceImage into separate files. |
| 485 | |
| 486 | Reviewed by Adam |
| 487 | |
| 488 | * css/CSSImageGeneratorValue.cpp: |
| 489 | * css/CSSImageValue.cpp: |
| 490 | * css/CSSStyleSelector.cpp: |
| 491 | * rendering/RenderImageGeneratedContent.cpp: |
| 492 | * rendering/style/NinePieceImage.cpp: Added. |
| 493 | * rendering/style/NinePieceImage.h: Added. |
| 494 | * rendering/style/RenderStyle.cpp: |
| 495 | (WebCore::FillLayer::operator==): |
| 496 | (WebCore::FillLayer::containsImage): |
| 497 | (WebCore::StyleInheritedData::operator==): |
| 498 | (WebCore::RenderStyle::contentDataEquivalent): |
| 499 | * rendering/style/RenderStyle.h: |
| 500 | * rendering/style/StyleCachedImage.cpp: Added. |
| 501 | * rendering/style/StyleCachedImage.h: Added. |
| 502 | * rendering/style/StyleGeneratedImage.cpp: Added. |
| 503 | * rendering/style/StyleGeneratedImage.h: Added. |
| 504 | * rendering/style/StyleImage.h: Added. |
| 505 | |
simon.fraser@apple.com | 28bad1a | 2008-08-28 21:29:21 +0000 | [diff] [blame] | 506 | 2008-08-28 Simon Fraser <simon.fraser@apple.com> |
| 507 | |
| 508 | Reviewed by Dave Hyatt |
| 509 | |
| 510 | Make all the 'isFoo()' methods on CSSValue const, |
| 511 | and fix the subclasses. |
| 512 | |
| 513 | https://bugs.webkit.org/show_bug.cgi?id=20561 |
| 514 | |
| 515 | * css/CSSTimingFunctionValue.h: |
| 516 | * css/CSSValue.h: |
| 517 | (WebCore::CSSValue::isFontValue): |
| 518 | (WebCore::CSSValue::isImageGeneratorValue): |
| 519 | (WebCore::CSSValue::isImageValue): |
| 520 | (WebCore::CSSValue::isImplicitInitialValue): |
| 521 | * css/CSSValueList.h: |
| 522 | * css/FontValue.h: |
| 523 | |
hyatt@apple.com | 550a95c | 2008-08-28 19:53:56 +0000 | [diff] [blame] | 524 | 2008-08-28 David Hyatt <hyatt@apple.com> |
| 525 | |
hyatt@apple.com | cb3eb81 | 2008-08-28 20:08:03 +0000 | [diff] [blame] | 526 | The great RenderStyle cleanup begins! |
| 527 | |
| 528 | Move LengthBox and LengthSize out of RenderStyle and into Length. |
| 529 | |
| 530 | Reviewed by Adam |
| 531 | |
| 532 | * rendering/Length.h: |
| 533 | (WebCore::): |
| 534 | (WebCore::Length::Length): |
| 535 | (WebCore::Length::operator==): |
| 536 | (WebCore::Length::operator!=): |
| 537 | (WebCore::Length::value): |
| 538 | (WebCore::Length::rawValue): |
| 539 | (WebCore::Length::percent): |
| 540 | (WebCore::Length::type): |
| 541 | (WebCore::Length::quirk): |
| 542 | (WebCore::Length::setValue): |
| 543 | (WebCore::Length::setRawValue): |
| 544 | (WebCore::Length::calcValue): |
| 545 | (WebCore::Length::calcMinValue): |
| 546 | (WebCore::Length::calcFloatValue): |
| 547 | (WebCore::Length::isUndefined): |
| 548 | (WebCore::Length::isZero): |
| 549 | (WebCore::Length::isPositive): |
| 550 | (WebCore::Length::isNegative): |
| 551 | (WebCore::Length::isAuto): |
| 552 | (WebCore::Length::isRelative): |
| 553 | (WebCore::Length::isPercent): |
| 554 | (WebCore::Length::isFixed): |
| 555 | (WebCore::Length::isStatic): |
| 556 | (WebCore::Length::isIntrinsicOrAuto): |
| 557 | (WebCore::Length::blend): |
| 558 | (WebCore::LengthBox::LengthBox): |
| 559 | (WebCore::LengthBox::operator=): |
| 560 | (WebCore::LengthBox::operator==): |
| 561 | (WebCore::LengthBox::operator!=): |
| 562 | (WebCore::LengthBox::nonZero): |
| 563 | (WebCore::LengthSize::LengthSize): |
| 564 | * rendering/style/RenderStyle.h: |
| 565 | |
| 566 | 2008-08-28 David Hyatt <hyatt@apple.com> |
| 567 | |
hyatt@apple.com | 550a95c | 2008-08-28 19:53:56 +0000 | [diff] [blame] | 568 | Reviewed by Darin |
| 569 | |
| 570 | https://bugs.webkit.org/show_bug.cgi?id=18091 |
| 571 | |
| 572 | font-size should be animatable using -webkit-transition. |
| 573 | |
| 574 | * page/AnimationController.cpp: |
| 575 | (WebCore::AnimationControllerPrivate::ensurePropertyMap): |
| 576 | * rendering/style/RenderStyle.h: |
| 577 | (WebCore::RenderStyle::setFontSize): |
| 578 | |
mitz@apple.com | 30923ad | 2008-08-28 17:45:47 +0000 | [diff] [blame] | 579 | 2008-08-28 Brad Garcia <bgarcia@google.com> |
| 580 | |
| 581 | Reviewed by Dan Bernstein. |
| 582 | |
| 583 | https://bugs.webkit.org/show_bug.cgi?id=20549 |
| 584 | Correctly determine when cursor is over a resizable border within |
| 585 | a nested frameset. |
| 586 | |
| 587 | * rendering/RenderFrameSet.cpp: |
| 588 | (WebCore::RenderFrameSet::canResizeRow): |
| 589 | (WebCore::RenderFrameSet::canResizeColumn): |
| 590 | |
simon.fraser@apple.com | ae77c41 | 2008-08-28 17:30:07 +0000 | [diff] [blame] | 591 | 2008-08-28 Simon Fraser <simon.fraser@apple.com> |
| 592 | |
| 593 | Reviewed by Eric Seidel |
| 594 | |
| 595 | Add RuleTypes to CSSRule.idl for keyframes and keyframe rules. |
| 596 | https://bugs.webkit.org/show_bug.cgi?id=20552 |
| 597 | |
| 598 | Test: animations/animation-css-rule-types.html |
| 599 | |
| 600 | * css/CSSRule.idl: |
| 601 | |
andersca@apple.com | 12399c3 | 2008-08-28 17:26:46 +0000 | [diff] [blame] | 602 | 2008-08-28 Anders Carlsson <andersca@apple.com> |
| 603 | |
| 604 | Reviewed by Kevin and Darin. |
| 605 | |
| 606 | <rdar://problem/6182541> |
| 607 | https://bugs.webkit.org/show_bug.cgi?id=20202 |
| 608 | Missing http status line from the http headers. |
| 609 | |
| 610 | Add a status line to the header string. |
| 611 | |
| 612 | * plugins/PluginStream.cpp: |
| 613 | (WebCore::PluginStream::startStream): |
| 614 | |
zecke@webkit.org | f1daa42 | 2008-08-28 15:56:01 +0000 | [diff] [blame] | 615 | 2008-08-28 Holger Hans Peter Freyther <zecke@selfish.org> |
| 616 | |
| 617 | Rubber-stamped by Darin Adler. |
| 618 | |
| 619 | https://bugs.webkit.org/show_bug.cgi?id=17261 |
| 620 | |
| 621 | Make it possible to theme the default Url icon and enable this for |
| 622 | the Qt port. To have a minimal usage of #ifdef in the code the setting |
| 623 | of the icon was moved to a new method which comes in two flavors. |
| 624 | |
| 625 | * loader/icon/IconDatabase.cpp: |
| 626 | (WebCore::loadDefaultIconRecord): Load or set the default icon |
| 627 | (WebCore::IconDatabase::defaultIcon): |
| 628 | |
zecke@webkit.org | 1887dc8 | 2008-08-28 15:03:21 +0000 | [diff] [blame] | 629 | 2008-08-28 Holger Hans Peter Freyther <zecke@selfish.org> |
| 630 | |
| 631 | Unreviewed compile fix |
| 632 | |
| 633 | * platform/graphics/qt/GraphicsContextQt.cpp: Remove redefinitions |
| 634 | |
aroben@apple.com | facf503 | 2008-08-28 13:34:01 +0000 | [diff] [blame] | 635 | 2008-08-28 Adam Roben <aroben@apple.com> |
| 636 | |
| 637 | Windows (and others?) build fix |
| 638 | |
| 639 | * page/Chrome.cpp: Added a missing #include. |
| 640 | (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): Fixed typo. |
| 641 | |
eric@webkit.org | 22794fd | 2008-08-28 12:04:40 +0000 | [diff] [blame] | 642 | 2008-08-27 Eric Seidel <eric@webkit.org> |
| 643 | |
| 644 | Reviewed by Oliver Hunt. |
| 645 | |
eric@webkit.org | 5f874e9 | 2008-08-28 12:04:55 +0000 | [diff] [blame] | 646 | Qt and Cairo support from krit (and blind stab @ wx compile support) |
| 647 | https://bugs.webkit.org/show_bug.cgi?id=20373 |
| 648 | |
| 649 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 650 | (WebCore::GraphicsContext::fillPath): |
| 651 | (WebCore::GraphicsContext::strokePath): |
| 652 | (WebCore::GraphicsContext::drawPath): |
| 653 | (WebCore::GraphicsContext::fillRect): |
| 654 | (WebCore::GraphicsContext::setPlatformFillColor): |
| 655 | (WebCore::GraphicsContext::setPlatformStrokeColor): |
| 656 | (WebCore::GraphicsContext::setPlatformStrokeStyle): |
| 657 | (WebCore::GraphicsContext::strokeRect): |
| 658 | (WebCore::GraphicsContext::setImageInterpolationQuality): |
| 659 | (WebCore::GraphicsContext::imageInterpolationQuality): |
| 660 | (WebCore::GraphicsContext::setPlatformFillPattern): |
| 661 | (WebCore::GraphicsContext::setPlatformStrokePattern): |
| 662 | (WebCore::GraphicsContext::setPlatformFillGradient): |
| 663 | (WebCore::GraphicsContext::setPlatformStrokeGradient): |
| 664 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 665 | (WebCore::GraphicsContext::fillPath): |
| 666 | (WebCore::GraphicsContext::strokePath): |
| 667 | (WebCore::GraphicsContext::fillRect): |
| 668 | (WebCore::GraphicsContext::strokeRect): |
| 669 | (WebCore::GraphicsContext::clipToImageBuffer): |
| 670 | (WebCore::GraphicsContext::setPlatformFillPattern): |
| 671 | (WebCore::GraphicsContext::setPlatformStrokePattern): |
| 672 | (WebCore::GraphicsContext::setPlatformFillGradient): |
| 673 | (WebCore::GraphicsContext::setPlatformStrokeGradient): |
| 674 | (WebCore::GraphicsContext::setImageInterpolationQuality): |
| 675 | (WebCore::GraphicsContext::imageInterpolationQuality): |
| 676 | * platform/graphics/wx/GraphicsContextWx.cpp: |
| 677 | (WebCore::GraphicsContext::clipToImageBuffer): |
| 678 | (WebCore::GraphicsContext::setImageInterpolationQuality): |
| 679 | (WebCore::GraphicsContext::imageInterpolationQuality): |
| 680 | (WebCore::GraphicsContext::fillPath): |
| 681 | (WebCore::GraphicsContext::strokePath): |
| 682 | (WebCore::GraphicsContext::drawPath): |
| 683 | (WebCore::GraphicsContext::fillRect): |
| 684 | (WebCore::GraphicsContext::setPlatformFillPattern): |
| 685 | (WebCore::GraphicsContext::setPlatformStrokePattern): |
| 686 | (WebCore::GraphicsContext::setPlatformFillGradient): |
| 687 | |
| 688 | 2008-08-27 Eric Seidel <eric@webkit.org> |
| 689 | |
| 690 | Reviewed by Oliver Hunt. |
| 691 | |
eric@webkit.org | 22794fd | 2008-08-28 12:04:40 +0000 | [diff] [blame] | 692 | Add stroke/fill Gradient and Pattern support to GraphicsContext and update <canvas> to use it. |
| 693 | https://bugs.webkit.org/show_bug.cgi?id=20373 |
| 694 | |
| 695 | Changed pattern() to canvasPattern() on CanvasStyle to match canvasGradient() |
| 696 | |
| 697 | Made Generator (aka Gradient) RefCounted so that GraphicsContext didn't |
| 698 | have to store large Gradient objects in the GraphicsContextState |
| 699 | |
| 700 | Made Pattern RefCounted for the same reason. |
| 701 | |
| 702 | Many updates to GraphicsContext to support easier drawing with |
| 703 | Patterns and Gradients. |
| 704 | |
| 705 | * WebCore.xcodeproj/project.pbxproj: Add pre-existing GraphicsContextPrivate.h |
| 706 | * bindings/js/JSCanvasRenderingContext2DCustom.cpp: |
| 707 | (WebCore::toJS): |
| 708 | * css/CSSGradientValue.cpp: |
| 709 | (WebCore::CSSGradientValue::createGradient): |
| 710 | * css/CSSGradientValue.h: |
| 711 | * html/CanvasGradient.cpp: |
| 712 | (WebCore::CanvasGradient::CanvasGradient): |
| 713 | * html/CanvasGradient.h: |
| 714 | (WebCore::CanvasGradient::gradient): |
| 715 | (WebCore::CanvasGradient::addColorStop): |
| 716 | (WebCore::CanvasGradient::getColor): |
| 717 | * html/CanvasPattern.cpp: |
| 718 | * html/CanvasPattern.h: |
| 719 | (WebCore::CanvasPattern::pattern): |
| 720 | (WebCore::CanvasPattern::originClean): |
| 721 | * html/CanvasRenderingContext2D.cpp: |
| 722 | (WebCore::CanvasRenderingContext2D::State::State): |
| 723 | (WebCore::CanvasRenderingContext2D::setStrokeStyle): |
| 724 | (WebCore::CanvasRenderingContext2D::setFillStyle): |
| 725 | (WebCore::CanvasRenderingContext2D::fill): |
| 726 | (WebCore::CanvasRenderingContext2D::stroke): |
| 727 | (WebCore::CanvasRenderingContext2D::fillRect): |
| 728 | (WebCore::CanvasRenderingContext2D::strokeRect): |
| 729 | * html/CanvasRenderingContext2D.h: |
| 730 | * html/CanvasStyle.cpp: |
| 731 | (WebCore::CanvasStyle::applyStrokeColor): |
| 732 | (WebCore::CanvasStyle::applyFillColor): |
| 733 | * html/CanvasStyle.h: |
| 734 | * platform/graphics/GeneratedImage.h: |
| 735 | (WebCore::GeneratedImage::GeneratedImage): |
| 736 | * platform/graphics/Generator.h: |
| 737 | * platform/graphics/Gradient.h: |
| 738 | (WebCore::Gradient::create): |
| 739 | * platform/graphics/GraphicsContext.cpp: |
| 740 | (WebCore::GraphicsContext::fillRule): |
| 741 | (WebCore::GraphicsContext::setFillRule): |
| 742 | (WebCore::GraphicsContext::setStrokePattern): |
| 743 | (WebCore::GraphicsContext::setFillPattern): |
| 744 | (WebCore::GraphicsContext::setStrokeGradient): |
| 745 | (WebCore::GraphicsContext::setFillGradient): |
| 746 | * platform/graphics/GraphicsContext.h: |
| 747 | * platform/graphics/GraphicsContextPrivate.h: |
| 748 | (WebCore::): |
| 749 | (WebCore::GraphicsContextState::GraphicsContextState): |
| 750 | * platform/graphics/GraphicsTypes.h: |
| 751 | * platform/graphics/Path.h: |
| 752 | * platform/graphics/Pattern.h: |
| 753 | (WebCore::Pattern::create): |
| 754 | (WebCore::Pattern::tileImage): |
| 755 | * platform/graphics/cg/GraphicsContextCG.cpp: |
| 756 | (WebCore::GraphicsContext::drawRect): |
| 757 | (WebCore::GraphicsContext::drawEllipse): |
| 758 | (WebCore::GraphicsContext::drawConvexPolygon): |
| 759 | (WebCore::calculateDrawingMode): |
| 760 | (WebCore::GraphicsContext::drawPath): |
| 761 | (WebCore::fillPathWithFillRule): |
| 762 | (WebCore::GraphicsContext::fillPath): |
| 763 | (WebCore::GraphicsContext::strokePath): |
| 764 | (WebCore::GraphicsContext::fillRect): |
| 765 | (WebCore::GraphicsContext::fillRoundedRect): |
| 766 | (WebCore::GraphicsContext::setPlatformStrokePattern): |
| 767 | (WebCore::GraphicsContext::setPlatformFillPattern): |
| 768 | (WebCore::GraphicsContext::setPlatformStrokeGradient): |
| 769 | (WebCore::GraphicsContext::setPlatformFillGradient): |
| 770 | |
eric@webkit.org | 70b099f | 2008-08-28 11:42:26 +0000 | [diff] [blame] | 771 | 2008-08-20 Eric Seidel <eric@webkit.org> |
| 772 | |
| 773 | Reviewed by Darin and Alexey. |
| 774 | |
| 775 | Close a leak of PausedTimeouts if the JavaScriptDebugServer was destroyed |
| 776 | with timeouts paused. |
| 777 | https://bugs.webkit.org/show_bug.cgi?id=20469 |
| 778 | |
| 779 | I attempted to clean up the memory management of PausedTimeouts, I'm not |
| 780 | sure the solution I came up with is "cleaner", but it's in some ways |
| 781 | "safer", since it no longer uses raw pointers and manual new/delete. |
| 782 | |
| 783 | This also now prevents CachedPage from needlessly creating Window |
| 784 | objects when caching pages which didn't already have one. :) |
| 785 | |
| 786 | I also made Chrome.cpp no longer depend on the JavaScript bindings |
| 787 | (aka JSDOMWindowBase.h), since there was no real reason for it to. |
| 788 | |
| 789 | * bindings/js/JSDOMWindowBase.cpp: |
| 790 | (WebCore::JSDOMWindowBase::pauseTimeouts): |
| 791 | (WebCore::JSDOMWindowBase::resumeTimeouts): |
| 792 | * bindings/js/JSDOMWindowBase.h: |
| 793 | * bindings/js/ScriptController.cpp: |
| 794 | (WebCore::ScriptController::pauseTimeouts): |
| 795 | (WebCore::ScriptController::resumeTimeouts): |
| 796 | * bindings/js/ScriptController.h: |
| 797 | * history/CachedPage.cpp: |
| 798 | (WebCore::CachedPage::CachedPage): |
| 799 | (WebCore::CachedPage::restore): |
| 800 | * page/Chrome.cpp: |
| 801 | (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): |
| 802 | (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer): |
| 803 | * page/JavaScriptDebugServer.cpp: |
| 804 | (WebCore::JavaScriptDebugServer::~JavaScriptDebugServer): |
| 805 | (WebCore::JavaScriptDebugServer::setJavaScriptPaused): |
| 806 | |
zecke@webkit.org | 7d0df9e | 2008-08-28 03:36:31 +0000 | [diff] [blame] | 807 | 2008-08-27 Holger Hans Peter Freyther <zecke@selfish.org> |
| 808 | |
| 809 | Unreviewed compile fix |
| 810 | |
| 811 | Add the stub for the Qt port. |
| 812 | |
| 813 | * WebCore.pro: |
| 814 | * page/qt/AccessibilityObjectQt.cpp: Added. |
| 815 | (WebCore::AccessibilityObject::accessibilityIgnoreAttachment): |
| 816 | |
zecke@webkit.org | ed5c2fe | 2008-08-28 02:15:20 +0000 | [diff] [blame] | 817 | 2008-08-27 Alp Toker <alp@nuanti.com> |
| 818 | |
| 819 | Reviewed by Eric. |
| 820 | |
| 821 | https://bugs.webkit.org/show_bug.cgi?id=20551 |
zecke@webkit.org | 8154088 | 2008-08-28 02:18:20 +0000 | [diff] [blame] | 822 | [GTK] search popup crash |
| 823 | |
| 824 | * platform/gtk/SearchPopupMenuGtk.cpp: |
| 825 | (WebCore::SearchPopupMenu::enabled): |
| 826 | Fix a search popup crasher by disabling the history popup since we |
| 827 | don't support this feature yet in the GTK+ port. |
| 828 | |
| 829 | 2008-08-27 Alp Toker <alp@nuanti.com> |
| 830 | |
| 831 | Reviewed by Eric. |
| 832 | |
| 833 | https://bugs.webkit.org/show_bug.cgi?id=20551 |
zecke@webkit.org | ed5c2fe | 2008-08-28 02:15:20 +0000 | [diff] [blame] | 834 | [GTK] curl crashers |
| 835 | |
| 836 | * platform/network/curl/ResourceHandleManager.cpp: |
| 837 | (WebCore::ResourceHandleManager::startScheduledJobs): |
| 838 | Remove the resource handle from the pending list before starting the |
| 839 | job, not afterwards. Fixes crashers in the test suite. |
| 840 | |
| 841 | Test: fast/dom/clientWidthAfterDocumentIsRemoved.html |
| 842 | Test: fast/encoding/char-encoding.html |
| 843 | |
eric@webkit.org | 712cb89 | 2008-08-28 00:26:15 +0000 | [diff] [blame] | 844 | 2008-08-27 Dirk Schulze <vbs85@gmx.de> |
| 845 | |
| 846 | Reviewed by eseidel. |
| 847 | |
| 848 | Fix canvas drawImage to support composite operations. |
| 849 | Composite had no effect on canvas elements like these: |
| 850 | http://philip.html5.org/tests/canvas/suite/tests/index.2d.composite.canvas.html |
| 851 | |
| 852 | [CAIRO] Canvas composite don't work on canvas-elements. |
| 853 | https://bugs.webkit.org/show_bug.cgi?id=20548 |
| 854 | |
| 855 | * html/CanvasRenderingContext2D.cpp: |
| 856 | (WebCore::CanvasRenderingContext2D::drawImage): pass the current composite operator to the drawImage call |
| 857 | |
eric@webkit.org | 75c83a0 | 2008-08-28 00:04:59 +0000 | [diff] [blame] | 858 | 2008-08-27 Mario Bensi <mbensi@pleyo.com> |
| 859 | |
| 860 | Reviewed by Eric Seidel. |
| 861 | |
| 862 | Fix the data content of an image with a base64. |
| 863 | |
| 864 | * platform/network/curl/ResourceHandleManager.cpp: |
| 865 | (WebCore::parseDataUrl): Remove the String and use only the data |
| 866 | Vector because the data.latin1().data() convert the data content and |
| 867 | the image test ( https://bugs.webkit.org/attachment.cgi?id=21726 ) is |
| 868 | not drawn correctly. |
| 869 | |
antti@apple.com | f66a86b | 2008-08-27 23:59:50 +0000 | [diff] [blame] | 870 | 2008-08-27 Antti Koivisto <antti@apple.com> |
| 871 | |
| 872 | Reviewed by Eric Seidel. |
| 873 | |
| 874 | Crash after OK in dialog box and reloading page in secure mode |
| 875 | https://bugs.webkit.org/show_bug.cgi?id=20493 |
| 876 | |
| 877 | The new run loop spawned by a modal dialog causes a timer in the loader to run |
| 878 | synchronously inside didFinishLoading() deleting "this" object. |
| 879 | |
| 880 | Defer all WebCore timers when a modal dialog is up. They are not |
| 881 | safe to execute. |
| 882 | |
| 883 | * page/Chrome.cpp: |
| 884 | (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): |
| 885 | (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer): |
| 886 | |
simon.fraser@apple.com | 7dbde25 | 2008-08-27 23:16:36 +0000 | [diff] [blame] | 887 | 2008-08-27 Chris Marrin <cmarrin@apple.com> |
| 888 | |
| 889 | Reviewed by Dave Hyatt |
| 890 | |
| 891 | Memory leaks when animating transforms |
| 892 | https://bugs.webkit.org/show_bug.cgi?id=20532 |
| 893 | |
| 894 | * rendering/style/RenderStyle.cpp: |
| 895 | (WebCore::ScaleTransformOperation::blend): |
| 896 | (WebCore::RotateTransformOperation::blend): |
| 897 | (WebCore::SkewTransformOperation::blend): |
| 898 | (WebCore::TranslateTransformOperation::blend): |
| 899 | (WebCore::MatrixTransformOperation::blend): |
| 900 | * rendering/style/RenderStyle.h: |
| 901 | |
timothy@apple.com | 79cb13a | 2008-08-27 22:03:24 +0000 | [diff] [blame] | 902 | 2008-08-27 Timothy Hatcher <timothy@apple.com> |
| 903 | |
| 904 | Add support for support for -webkit-appearance: default-button on the Mac platform. |
| 905 | |
| 906 | <rdar://problem/6173530> |
| 907 | |
| 908 | Reviewed by Dave Hyatt. |
| 909 | |
| 910 | * WebCore.base.exp: Export new symbols. |
| 911 | * platform/mac/WebCoreSystemInterface.h: Add wkAdvanceDefaultButtonPulseAnimation. |
| 912 | * platform/mac/WebCoreSystemInterface.mm: Ditto. |
| 913 | * rendering/RenderButton.cpp: |
| 914 | (WebCore::RenderButton::RenderButton): Remove #if PLATFORM(WIN). |
| 915 | (WebCore::RenderButton::setStyle): Ditto. |
| 916 | * rendering/RenderButton.h: Ditto. |
| 917 | * rendering/RenderThemeMac.mm: |
| 918 | (WebCore::RenderThemeMac::adjustRepaintRect): Add a case for DefaultButtonAppearance. |
| 919 | (WebCore::RenderThemeMac::setButtonCellState): Set the key equivalent to the return |
| 920 | key if the button is default, otherwise reset the key equivalent. |
| 921 | (WebCore::RenderThemeMac::paintButton): If the button is default call setDefaultButtonCell: |
| 922 | on the window, then wkAdvanceDefaultButtonPulseAnimation before painting. Restore |
| 923 | the window's previous default button cell when finished. |
| 924 | |
hyatt@apple.com | f0ec84d | 2008-08-27 21:18:15 +0000 | [diff] [blame] | 925 | 2008-08-26 David Hyatt <hyatt@apple.com> |
| 926 | |
| 927 | First cut at making form controls on OS X respect full page zoom. There are lots of bugs. |
| 928 | |
| 929 | Reviewed by weinig |
| 930 | |
| 931 | Added fast/forms/zoomed-controls.html |
| 932 | |
| 933 | * css/CSSStyleSelector.cpp: |
| 934 | (WebCore::addIntrinsicMargins): |
| 935 | * rendering/RenderSlider.cpp: |
| 936 | (WebCore::RenderSlider::calcPrefWidths): |
| 937 | * rendering/RenderThemeMac.h: |
| 938 | * rendering/RenderThemeMac.mm: |
| 939 | (WebCore::RenderThemeMac::adjustRepaintRect): |
| 940 | (WebCore::RenderThemeMac::inflateRect): |
| 941 | (WebCore::RenderThemeMac::baselinePosition): |
| 942 | (WebCore::RenderThemeMac::setControlSize): |
| 943 | (WebCore::RenderThemeMac::sizeForFont): |
| 944 | (WebCore::RenderThemeMac::sizeForSystemFont): |
| 945 | (WebCore::RenderThemeMac::setFontFromControlSize): |
| 946 | (WebCore::RenderThemeMac::paintCheckbox): |
| 947 | (WebCore::RenderThemeMac::setCheckboxCellState): |
| 948 | (WebCore::RenderThemeMac::paintRadio): |
| 949 | (WebCore::RenderThemeMac::setRadioCellState): |
| 950 | (WebCore::RenderThemeMac::setButtonPaddingFromControlSize): |
| 951 | (WebCore::RenderThemeMac::adjustButtonStyle): |
| 952 | (WebCore::RenderThemeMac::setButtonCellState): |
| 953 | (WebCore::RenderThemeMac::paintButton): |
| 954 | (WebCore::RenderThemeMac::paintMenuList): |
| 955 | (WebCore::RenderThemeMac::paintMenuListButton): |
| 956 | (WebCore::RenderThemeMac::popupInternalPaddingLeft): |
| 957 | (WebCore::RenderThemeMac::popupInternalPaddingRight): |
| 958 | (WebCore::RenderThemeMac::popupInternalPaddingTop): |
| 959 | (WebCore::RenderThemeMac::popupInternalPaddingBottom): |
| 960 | (WebCore::RenderThemeMac::setPopupButtonCellState): |
| 961 | (WebCore::RenderThemeMac::paintSliderTrack): |
| 962 | (WebCore::RenderThemeMac::paintSliderThumb): |
| 963 | (WebCore::RenderThemeMac::adjustSliderThumbSize): |
| 964 | (WebCore::RenderThemeMac::paintSearchField): |
| 965 | (WebCore::RenderThemeMac::adjustSearchFieldStyle): |
| 966 | (WebCore::RenderThemeMac::paintSearchFieldCancelButton): |
| 967 | (WebCore::RenderThemeMac::paintSearchFieldResultsButton): |
| 968 | |
beidson@apple.com | d079387 | 2008-08-27 19:59:55 +0000 | [diff] [blame] | 969 | 2008-08-27 Brady Eidson <beidson@apple.com> |
| 970 | |
| 971 | Reviewed by Anders |
| 972 | |
| 973 | <rdar://problem/6134133> - Crash when loading large movie as a standalone document |
| 974 | |
| 975 | We hand off these loads to Quicktime which manages and spools the data itself, but we also continued |
| 976 | to load and buffer the data for the movie in WebCore. With large media files, this results in blowing |
| 977 | away the virtual address space and a crash. |
| 978 | |
| 979 | * loader/EmptyClients.h: |
| 980 | (WebCore::EmptyFrameLoaderClient::pluginWillHandleLoadError): |
| 981 | * loader/FrameLoaderClient.h: Added client method to get platform specific error for |
| 982 | "plugin will handle load" |
| 983 | |
| 984 | * loader/MediaDocument.cpp: |
| 985 | (WebCore::MediaTokenizer::createDocumentStructure): Tell the MainResourceLoader to not buffer data, |
| 986 | and cancel the WebCore-managed load |
| 987 | (WebCore::MediaTokenizer::writeRawData): |
| 988 | (WebCore::MediaTokenizer::finish): |
| 989 | |
simon.fraser@apple.com | e74d671 | 2008-08-27 18:19:55 +0000 | [diff] [blame] | 990 | 2008-08-26 Simon Fraser <simon.fraser@apple.com> |
| 991 | |
| 992 | Reviewed by Eric Seidel |
| 993 | |
| 994 | Linear timing functions should have control points 0, 0, 1, 1. |
| 995 | https://bugs.webkit.org/show_bug.cgi?id=20535 |
| 996 | |
| 997 | * css/CSSStyleSelector.cpp: |
| 998 | (WebCore::CSSStyleSelector::mapAnimationTimingFunction): |
| 999 | * rendering/style/RenderStyle.h: |
| 1000 | |
aroben@apple.com | 8cfb6c6 | 2008-08-27 14:52:17 +0000 | [diff] [blame] | 1001 | 2008-08-27 Adam Roben <aroben@apple.com> |
| 1002 | |
| 1003 | Windows build fix |
| 1004 | |
| 1005 | * WebCore.vcproj/WebCore.vcproj: Fix file extension. |
| 1006 | |
cfleizach@apple.com | 33a556b | 2008-08-26 22:29:14 +0000 | [diff] [blame] | 1007 | 2008-08-26 chris fleizach <cfleizach@apple.com> |
| 1008 | |
cfleizach@apple.com | c6ebe3d | 2008-08-26 22:43:22 +0000 | [diff] [blame] | 1009 | Reviewed by Beth Dakin. |
| 1010 | |
cfleizach@apple.com | 2a505f4 | 2008-08-26 22:56:03 +0000 | [diff] [blame] | 1011 | <rdar://problem/6069462> REGRESSION: webkit is returning flash objects as AXUnknown |
| 1012 | |
| 1013 | Added platform-specific accessibilityIgnoreAttachment, which allows the platform |
| 1014 | to determine if an attachment is ignored through accessibility. Added equivalent |
| 1015 | methods in Gtk, Win and Mac |
| 1016 | |
| 1017 | Test: accessibility/plugin.html |
| 1018 | |
| 1019 | * GNUmakefile.am: |
| 1020 | * WebCore.vcproj/WebCore.vcproj: |
| 1021 | * WebCore.xcodeproj/project.pbxproj: |
| 1022 | * page/AccessibilityObject.h: |
| 1023 | * page/AccessibilityRenderObject.cpp: |
| 1024 | (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): |
| 1025 | * page/gtk/AccessibilityObjectAtk.cpp: Added. |
| 1026 | (WebCore::AccessibilityObject::accessibilityIgnoreAttachment): |
| 1027 | * page/mac/AccessibilityObjectMac.mm: Added. |
| 1028 | (WebCore::AccessibilityObject::accessibilityIgnoreAttachment): |
| 1029 | * page/mac/AccessibilityObjectWrapper.h: |
| 1030 | * page/win/AccessibilityObjectWin.cpp: Added. |
| 1031 | (WebCore::AccessibilityObject::accessibilityIgnoreAttachment): |
| 1032 | |
| 1033 | 2008-08-26 chris fleizach <cfleizach@apple.com> |
| 1034 | |
| 1035 | Reviewed by Beth Dakin. |
| 1036 | |
cfleizach@apple.com | c6ebe3d | 2008-08-26 22:43:22 +0000 | [diff] [blame] | 1037 | <rdar://problem/5817770> can't bring up contextual menu for embedded objects in WebText |
| 1038 | |
| 1039 | * page/mac/AccessibilityObjectWrapper.mm: |
| 1040 | (-[AccessibilityObjectWrapper accessibilityPerformShowMenuAction]): |
| 1041 | (-[AccessibilityObjectWrapper accessibilityShowContextMenu]): |
| 1042 | |
| 1043 | 2008-08-26 chris fleizach <cfleizach@apple.com> |
| 1044 | |
cfleizach@apple.com | 33a556b | 2008-08-26 22:29:14 +0000 | [diff] [blame] | 1045 | Reviewed by Darin Adler. |
| 1046 | |
| 1047 | <rdar://problem/6176924> CrashTracer: [USER] 4 crashes in Safari at com.apple.WebCore: WebCore::RenderTableSection::numColumns |
| 1048 | |
| 1049 | Tests: accessibility/table-notbody.html |
| 1050 | |
| 1051 | * page/AccessibilityTable.cpp: |
| 1052 | (WebCore::AccessibilityTable::isTableExposableThroughAccessibility): |
| 1053 | |
weinig@apple.com | 3370585 | 2008-08-26 19:51:28 +0000 | [diff] [blame] | 1054 | 2008-08-26 Sam Weinig <sam@webkit.org> |
| 1055 | |
weinig@apple.com | f6f553a | 2008-08-26 21:21:26 +0000 | [diff] [blame] | 1056 | Reviewed by Beth Dakin. |
| 1057 | |
| 1058 | Fix typo. |
| 1059 | |
| 1060 | * dom/DOMCoreException.h: |
| 1061 | |
| 1062 | 2008-08-26 Sam Weinig <sam@webkit.org> |
| 1063 | |
weinig@apple.com | 0f34f00 | 2008-08-26 19:56:54 +0000 | [diff] [blame] | 1064 | Reviewed by Oliver Hunt. |
| 1065 | |
| 1066 | Fix https://bugs.webkit.org/show_bug.cgi?id=20479 |
| 1067 | <rdar://problem/6167660> |
| 1068 | Take image redirects into account when tainting the canvas. |
| 1069 | |
| 1070 | Test: http/tests/security/canvas-remote-read-redirect-to-remote-image.html |
| 1071 | |
| 1072 | * html/CanvasRenderingContext2D.cpp: |
| 1073 | (WebCore::CanvasRenderingContext2D::drawImage): |
| 1074 | (WebCore::CanvasRenderingContext2D::drawImageFromRect): |
| 1075 | |
| 1076 | 2008-08-26 Sam Weinig <sam@webkit.org> |
| 1077 | |
weinig@apple.com | 3370585 | 2008-08-26 19:51:28 +0000 | [diff] [blame] | 1078 | Reviewed by Darin Adler. |
| 1079 | |
| 1080 | Change canvas tainting logic to ask the image if it contains |
| 1081 | any resources outside of its own origin. Since there is no |
| 1082 | way to determine if SVG images contain any resources outside its |
| 1083 | origin, we always assume it does. |
| 1084 | |
| 1085 | * html/CanvasRenderingContext2D.cpp: |
| 1086 | (WebCore::CanvasRenderingContext2D::drawImage): |
| 1087 | (WebCore::CanvasRenderingContext2D::drawImageFromRect): |
| 1088 | * platform/graphics/BitmapImage.h: |
| 1089 | (WebCore::BitmapImage::hasSingleSecurityOrigin): |
| 1090 | * platform/graphics/GeneratedImage.h: |
| 1091 | (WebCore::GeneratedImage::hasSingleSecurityOrigin): |
| 1092 | * platform/graphics/Image.h: |
| 1093 | (WebCore::Image::hasSingleSecurityOrigin): |
| 1094 | * platform/graphics/cg/PDFDocumentImage.h: |
| 1095 | (WebCore::PDFDocumentImage::hasSingleSecurityOrigin): |
| 1096 | * svg/graphics/SVGImage.h: |
| 1097 | |
britto@apple.com | 616ef6d | 2008-08-26 17:51:03 +0000 | [diff] [blame] | 1098 | 2008-08-26 Maxime Britto <britto@apple.com> |
| 1099 | |
| 1100 | Reviewed by Adele. |
| 1101 | |
| 1102 | <rdar://6159244> Pan-scrolling does not work on particular sites (starmagazine.com, nytimes.com) |
| 1103 | This patch fixes the issues and modify the behavior of the panscroll by allowing it to jump to a parent layer when it reaches the end of its scrollable area. |
| 1104 | This is matching the behavior of the mouse wheel when trying to scroll in a smaller layer of the page (div, textarea, ...) and when we reach the edge and keep scrolling then the whole page scrolls. |
| 1105 | |
| 1106 | * page/EventHandler.cpp: |
| 1107 | (WebCore::EventHandler::updateAutoscrollRenderer): if we switch to the parent layer to do the scroll we want to change the renderer for the panning |
| 1108 | * page/EventHandler.h: |
| 1109 | * rendering/RenderLayer.cpp: |
| 1110 | (WebCore::RenderLayer::panScrollFromPoint): now calls the scrollByRecursively method when it has computed the xDelta and yDelta |
| 1111 | (WebCore::RenderLayer::scrollByRecursively): try to scroll the current layer by the xDelta and yDelta provided, if it can't it ask its parent layer to do so. |
| 1112 | * rendering/RenderLayer.h: |
| 1113 | * rendering/RenderObject.cpp: |
| 1114 | (WebCore::RenderObject::canBeProgramaticallyScrolled): a RenderObject must have a RenderLayer to be programatically scrolled |
| 1115 | (WebCore::RenderObject::autoscroll): No need to check for the layer anymore since we verify it's present in the upmentionned method |
| 1116 | (WebCore::RenderObject::panScroll): No need to check for the layer anymore too. |
| 1117 | |
jchaffraix@webkit.org | e691539 | 2008-08-26 10:27:33 +0000 | [diff] [blame] | 1118 | 2008-08-25 Julien Chaffraix <jchaffraix@webkit.org> |
| 1119 | |
| 1120 | Reviewed by Darin. |
| 1121 | |
| 1122 | Bug 20247: setAttributeNode() does not work when attribute name has a capital letter in it |
| 1123 | https://bugs.webkit.org/show_bug.cgi?id=20247 |
| 1124 | |
| 1125 | <rdar://problem/6118218> |
| 1126 | |
| 1127 | Add a boolean parameter to getAttributeItem to choose between case sensitive and case insensitive |
| 1128 | check. This keeps the behaviour for setAttribute / hasAttribute (case sensitive) and getAttribute |
| 1129 | (case insensitive for HTML elements). |
| 1130 | |
| 1131 | Test: fast/dom/Element/getAttribute-check-case-sensitivity.html |
| 1132 | |
| 1133 | * dom/Element.cpp: |
| 1134 | (WebCore::Element::getAttribute): |
| 1135 | * dom/NamedAttrMap.cpp: |
| 1136 | (WebCore::NamedAttrMap::getNamedItem): |
| 1137 | (WebCore::NamedAttrMap::getAttributeItem): |
| 1138 | * dom/NamedAttrMap.h: |
| 1139 | |
weinig@apple.com | b4ce06e | 2008-08-26 01:52:51 +0000 | [diff] [blame] | 1140 | 2008-08-25 Sam Weinig <sam@webkit.org> |
| 1141 | |
weinig@apple.com | 8d3ea72 | 2008-08-26 04:19:07 +0000 | [diff] [blame] | 1142 | Reviewed by Oliver Hunt. |
| 1143 | |
| 1144 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20514 |
| 1145 | <rdar://problem/6174096> |
| 1146 | Treat SVG images as dirty when drawing to a canvas. |
| 1147 | |
| 1148 | Test: http/tests/security/canvas-remote-read-svg-image.html |
| 1149 | |
| 1150 | * html/CanvasRenderingContext2D.cpp: |
| 1151 | (WebCore::CanvasRenderingContext2D::drawImage): |
| 1152 | (WebCore::CanvasRenderingContext2D::drawImageFromRect): |
| 1153 | * platform/graphics/Image.h: |
| 1154 | (WebCore::Image::isSVGImage): |
| 1155 | * svg/graphics/SVGImage.h: |
| 1156 | (WebCore::SVGImage::isSVGImage): |
| 1157 | |
| 1158 | 2008-08-25 Sam Weinig <sam@webkit.org> |
| 1159 | |
weinig@apple.com | b4ce06e | 2008-08-26 01:52:51 +0000 | [diff] [blame] | 1160 | Reviewed by Mark Rowe. |
| 1161 | |
| 1162 | Fix https://bugs.webkit.org/show_bug.cgi?id=20377 |
| 1163 | Leak in XMLHttpRequest. |
| 1164 | |
| 1165 | * xml/XMLHttpRequest.cpp: |
| 1166 | (WebCore::XMLHttpRequest::makeCrossSiteAccessRequestWithPreflight): |
| 1167 | |
beidson@apple.com | 4642121 | 2008-08-25 21:48:56 +0000 | [diff] [blame] | 1168 | 2008-08-25 Brady Eidson <beidson@apple.com> |
| 1169 | |
| 1170 | Reviewed by Anders |
| 1171 | |
| 1172 | Speculative fix for <rdar://problem/6173217> |
| 1173 | |
| 1174 | Moves the "clearArchivedResources()" call to exactly where it used to be in the old version of WebArchive code. |
| 1175 | Also, adds a null check for m_documentLoader since DocumentLoader::stopLoading() can end up clearing it, rendering |
| 1176 | the first null check invalid. |
| 1177 | |
| 1178 | * loader/FrameLoader.cpp: |
| 1179 | (WebCore::FrameLoader::stopAllLoaders): |
| 1180 | |
| 1181 | |
kmccullough@apple.com | 7b85fbb | 2008-08-25 21:28:40 +0000 | [diff] [blame] | 1182 | 2008-08-25 Kevin McCullough <kmccullough@apple.com> |
| 1183 | |
| 1184 | Reviewed by Tim. |
| 1185 | |
| 1186 | <rdar://problem/6157711> Heavy/Tree view selector is not grayed out if |
| 1187 | there is no profile, can cause crash |
| 1188 | |
| 1189 | * page/inspector/ProfilesPanel.js: |
| 1190 | |
dino@apple.com | 1baeea6 | 2008-08-25 21:06:21 +0000 | [diff] [blame] | 1191 | 2008-08-25 Dean Jackson <dino@apple.com> |
| 1192 | |
| 1193 | Reviewed by Dave Hyatt |
| 1194 | |
| 1195 | Make sure 'inherit' is handled by transition property. |
| 1196 | https://bugs.webkit.org/show_bug.cgi?id=20513 |
| 1197 | |
| 1198 | Test: transitions/inherit.html |
| 1199 | Test: transitions/inherit-other-props.html |
| 1200 | |
| 1201 | * css/CSSStyleSelector.cpp: |
| 1202 | fix macro to check existence of list before getting size |
| 1203 | |
andersca@apple.com | 2866b830 | 2008-08-25 20:56:21 +0000 | [diff] [blame] | 1204 | 2008-08-25 Anders Carlsson <andersca@apple.com> |
| 1205 | |
| 1206 | Reviewed by Mark. |
| 1207 | |
| 1208 | <rdar://problem/6149787> crash @ com.apple.JavaScriptCore: WTF::callOnMainThread + 37. |
| 1209 | |
| 1210 | Initialize threading in the call to WebCoreObjCFinalizeOnMainThread. We currently assume |
| 1211 | (safely) that any class that needs finalization on the main thread will also need to be deallocated |
| 1212 | on the main thread, and calling initializeThreading from WebCoreObjCFinalizeOnMainThread instead of |
| 1213 | calling it from WebCoreObjCScheduleDeallocateOnMainThread seems safer. |
| 1214 | |
| 1215 | * platform/mac/WebCoreObjCExtras.c: |
| 1216 | (WebCoreObjCFinalizeOnMainThread): |
| 1217 | |
antti@apple.com | 60381cb | 2008-08-25 20:41:11 +0000 | [diff] [blame] | 1218 | 2008-08-25 Antti Koivisto <antti@apple.com> |
| 1219 | |
| 1220 | Reviewed by Dan Bernstein. |
| 1221 | |
| 1222 | Rename CachedResource::referenced() to CachedResource::hasClients() to |
| 1223 | match previous ref() -> addClient() rename. |
| 1224 | |
| 1225 | * loader/Cache.cpp: |
| 1226 | (WebCore::Cache::pruneLiveResources): |
| 1227 | (WebCore::Cache::pruneDeadResources): |
| 1228 | (WebCore::Cache::remove): |
| 1229 | (WebCore::Cache::getStatistics): |
| 1230 | (WebCore::Cache::dumpLRULists): |
| 1231 | * loader/CachedResource.cpp: |
| 1232 | (WebCore::CachedResource::addClient): |
| 1233 | (WebCore::CachedResource::removeClient): |
| 1234 | (WebCore::CachedResource::setDecodedSize): |
| 1235 | (WebCore::CachedResource::setEncodedSize): |
| 1236 | * loader/CachedResource.h: |
| 1237 | (WebCore::CachedResource::hasClients): |
| 1238 | (WebCore::CachedResource::canDelete): |
| 1239 | |
timothy@apple.com | 7d80924 | 2008-08-25 18:33:05 +0000 | [diff] [blame] | 1240 | 2008-08-25 Anthony Ricaud <rik24d@gmail.com> |
| 1241 | |
| 1242 | Add a missing Inspector localized string for "other". |
| 1243 | |
| 1244 | https://bugs.webkit.org/show_bug.cgi?id=20509 |
| 1245 | |
| 1246 | Reviewed by Tim Hatcher. |
| 1247 | |
| 1248 | * English.lproj/localizedStrings.js: |
| 1249 | |
kmccullough@apple.com | 560f5fe | 2008-08-25 18:18:01 +0000 | [diff] [blame] | 1250 | 2008-08-22 Kevin McCullough <kmccullough@apple.com> |
| 1251 | |
| 1252 | Reviewed by Geoff, Mark and Tim. |
| 1253 | |
| 1254 | <rdar://problem/6150623> JSProfiler: It would be nice if the profiles |
| 1255 | in the console said what file and line number they came from |
| 1256 | - Lay the foundation for getting line numbers and other data from the |
| 1257 | JavaScript engine. |
| 1258 | |
| 1259 | * ForwardingHeaders/VM: Added. |
| 1260 | * ForwardingHeaders/VM/Machine.h: Added. |
| 1261 | * page/Console.cpp: Gather the line number and file information when |
| 1262 | profileEnd has been called, but don't use it until didFinishProfiling is |
| 1263 | called. We won't need to wait once we remove the profiler "zombie" mode |
| 1264 | which this patch helps pave the foundation for. |
| 1265 | (WebCore::Console::Console): |
| 1266 | (WebCore::Console::profileEnd): |
| 1267 | (WebCore::Console::finishedProfiling): |
| 1268 | * page/Console.h: |
| 1269 | * page/InspectorController.cpp: Modify calls to |
| 1270 | addProfileMessageToConsole to satisfy the new arguments it takes. |
| 1271 | (WebCore::InspectorController::finishedProfiling): |
| 1272 | (WebCore::InspectorController::addProfile): |
| 1273 | (WebCore::InspectorController::addProfileMessageToConsole): |
| 1274 | (WebCore::InspectorController::finishedProfiling): |
| 1275 | * page/InspectorController.h: |
| 1276 | |
hausmann@webkit.org | f305df4 | 2008-08-25 10:06:53 +0000 | [diff] [blame] | 1277 | 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org> |
| 1278 | |
| 1279 | Reviewed by Simon. |
| 1280 | |
| 1281 | [inspector] Update the WebKit.qrc Qt resources file |
| 1282 | Catchup with the changes in the directory. |
| 1283 | |
| 1284 | * page/inspector/WebKit.qrc: |
| 1285 | |
hausmann@webkit.org | 5f13af3 | 2008-08-25 07:10:22 +0000 | [diff] [blame] | 1286 | 2008-08-25 Dirk Schulze <vbs85@gmx.de> |
| 1287 | |
| 1288 | Reviewed by Simon. |
| 1289 | |
| 1290 | Transformed the radian to degree, to get rotate() |
| 1291 | in canvas work as expected. |
| 1292 | |
| 1293 | [Qt] Canvas.rotate() doesn't work |
| 1294 | https://bugs.webkit.org/show_bug.cgi?id=20496 |
| 1295 | |
| 1296 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 1297 | (WebCore::GraphicsContext::rotate): |
| 1298 | |
sfalken@apple.com | 9d44286 | 2008-08-25 05:43:33 +0000 | [diff] [blame] | 1299 | 2008-08-24 Steve Falkenburg <sfalken@apple.com> |
| 1300 | |
| 1301 | Add a "last chance" WM_TIMER to the Windows shared timer. |
| 1302 | |
| 1303 | The last chance timer fires every 5 seconds to run any lost WM_TIMER based timers. |
| 1304 | Failure to fire a timer is fatal to the cross-platform Timer code, since it won't re-schedule |
| 1305 | timers if a timer with an earlier expiration is already pending. This results in no timers |
| 1306 | firing from that point on. |
| 1307 | |
| 1308 | We lose WM_TIMER messages occasionally (in the neighborhood of 1 per hour) probably due to a |
| 1309 | buggy window message hook. |
| 1310 | |
| 1311 | This timer will start when the first WM_TIMER is scheduled, and will |
| 1312 | fire every 5 seconds thereafter, causing any lost timers to be fired. |
| 1313 | |
| 1314 | Found this via one of its symptoms: leaking WebFrames. The fix prevents timers from stalling |
| 1315 | and prevents the WebFrame leak. |
| 1316 | |
| 1317 | Reviewed by Darin Adler, Geoff Garen. |
| 1318 | |
| 1319 | * platform/win/SharedTimerWin.cpp: |
| 1320 | (WebCore::): |
| 1321 | (WebCore::TimerWindowWndProc): |
| 1322 | (WebCore::setSharedTimerFireTime): |
| 1323 | |
mitz@apple.com | 771fb75 | 2008-08-25 03:22:44 +0000 | [diff] [blame] | 1324 | 2008-08-24 Dan Bernstein <mitz@apple.com> |
| 1325 | |
| 1326 | Reviewed by Darin Adler. |
| 1327 | |
| 1328 | - fix <rdar://problem/6065547> REGRESSION (r34879): "Subject" in unread emails in Yahoo mail is not shown in bold |
| 1329 | |
| 1330 | Test: fast/css/font-property-priority.html |
| 1331 | |
| 1332 | * css/CSSParser.cpp: |
| 1333 | (WebCore::CSSParser::parseValue): Changed to pass the 'important' flag |
| 1334 | to the font-property-parsing functions. |
| 1335 | (WebCore::CSSParser::parseFontStyle): Added an 'important' argument and |
| 1336 | changed to use it rather than the m_important member. |
| 1337 | (WebCore::CSSParser::parseFontVariant): Ditto. |
| 1338 | (WebCore::CSSParser::parseFontWeight): Ditto. |
| 1339 | * css/CSSParser.h: |
| 1340 | |
timothy@apple.com | 4cea263 | 2008-08-24 22:28:44 +0000 | [diff] [blame] | 1341 | 2008-08-24 Timothy Hatcher <timothy@apple.com> |
| 1342 | |
| 1343 | Fixes a bug where the Inspector's UI would not animate or |
| 1344 | fully function because JavaScript timeouts, intervals and |
| 1345 | CSS animation timers where not firing while paused at a |
| 1346 | a breakpoint in the inspected page. |
| 1347 | |
| 1348 | https://bugs.webkit.org/show_bug.cgi?id=20042 |
| 1349 | |
| 1350 | Reviewed by Darin Adler. |
| 1351 | |
| 1352 | Test: manual-tests/inspector/forzen-ui-while-paused.html |
| 1353 | |
| 1354 | * page/JavaScriptDebugServer.cpp: |
| 1355 | (WebCore::JavaScriptDebugServer::pauseIfNeeded): |
| 1356 | Add a call to TimerBase::fireTimersInNestedEventLoop before |
| 1357 | spinning the EventLoop. |
| 1358 | |
rwlbuis@webkit.org | 8a77244 | 2008-08-24 18:07:32 +0000 | [diff] [blame] | 1359 | 2008-08-24 Rob Buis <buis@kde.org> |
| 1360 | |
| 1361 | Reviewed by Sam Weinig. |
| 1362 | |
| 1363 | https://bugs.webkit.org/show_bug.cgi?id=20324 |
| 1364 | A change in SVG Glyph wont show up |
| 1365 | |
| 1366 | Invalidate the glyph cache when the d attribute is set. |
| 1367 | |
| 1368 | Test: svg/custom/glyph-setting-d-attribute.svg |
| 1369 | |
| 1370 | * svg/SVGGlyphElement.cpp: |
| 1371 | (WebCore::SVGGlyphElement::invalidateGlyphCache): |
| 1372 | (WebCore::SVGGlyphElement::parseMappedAttribute): |
| 1373 | (WebCore::SVGGlyphElement::insertedIntoDocument): |
| 1374 | (WebCore::SVGGlyphElement::removedFromDocument): |
| 1375 | * svg/SVGGlyphElement.h: |
| 1376 | |
mitz@apple.com | 5b2c3cc | 2008-08-24 09:18:39 +0000 | [diff] [blame] | 1377 | 2008-08-24 Dan Bernstein <mitz@apple.com> |
| 1378 | |
| 1379 | Reviewed by Sam Weinig. |
| 1380 | |
| 1381 | - fix https://bugs.webkit.org/show_bug.cgi?id=13864 |
| 1382 | <rdar://problem/5451470> REGRESSION: Uninitialized value in RenderBlock::calcInlinePrefWidths() |
| 1383 | |
| 1384 | * rendering/RenderText.cpp: |
| 1385 | (WebCore::RenderText::trimmedPrefWidths): Moved the assignment to |
| 1386 | beginWS and endWS before the early return to ensure that they are |
| 1387 | initialized in that case. |
| 1388 | |
cwzwarich@webkit.org | 53ddf17 | 2008-08-23 08:16:54 +0000 | [diff] [blame] | 1389 | 2008-08-23 Cameron Zwarich <cwzwarich@uwaterloo.ca> |
| 1390 | |
| 1391 | Rubber-stamped by Mark Rowe. |
| 1392 | |
| 1393 | Remove modelines. |
| 1394 | |
| 1395 | * WebCore.pro: |
| 1396 | * bridge/testbindings.cpp: |
| 1397 | * dom/DocPtr.h: |
| 1398 | * loader/SubstituteData.h: |
| 1399 | * page/Chrome.cpp: |
| 1400 | * page/Chrome.h: |
| 1401 | * page/ChromeClient.h: |
| 1402 | * page/Frame.h: |
| 1403 | * page/FrameLoadRequest.h: |
| 1404 | * page/FrameTree.cpp: |
| 1405 | * page/FrameTree.h: |
| 1406 | * page/Page.h: |
| 1407 | * page/mac/ChromeMac.mm: |
| 1408 | * platform/network/HTTPHeaderMap.h: |
| 1409 | * platform/network/ResourceErrorBase.cpp: |
| 1410 | * platform/network/ResourceErrorBase.h: |
| 1411 | * platform/network/ResourceHandleInternal.h: |
| 1412 | * platform/network/ResourceRequestBase.cpp: |
| 1413 | * platform/network/ResourceRequestBase.h: |
| 1414 | * platform/network/ResourceResponseBase.cpp: |
| 1415 | * platform/network/ResourceResponseBase.h: |
| 1416 | * platform/network/cf/ResourceError.h: |
| 1417 | * platform/network/cf/ResourceRequest.h: |
| 1418 | * platform/network/cf/ResourceRequestCFNet.h: |
| 1419 | * platform/network/cf/ResourceResponse.h: |
| 1420 | * platform/network/cf/ResourceResponseCFNet.h: |
| 1421 | * platform/network/curl/ResourceError.h: |
| 1422 | * platform/network/curl/ResourceRequest.h: |
| 1423 | * platform/network/curl/ResourceResponse.h: |
| 1424 | * platform/network/mac/ResourceError.h: |
| 1425 | * platform/network/mac/ResourceErrorMac.mm: |
| 1426 | * platform/network/mac/ResourceRequest.h: |
| 1427 | * platform/network/mac/ResourceRequestMac.mm: |
| 1428 | * platform/network/mac/ResourceResponse.h: |
| 1429 | * platform/network/mac/ResourceResponseMac.mm: |
| 1430 | * platform/network/qt/ResourceError.h: |
| 1431 | * platform/network/qt/ResourceRequest.h: |
| 1432 | * platform/network/qt/ResourceResponse.h: |
| 1433 | * platform/network/soup/CookieJarSoup.cpp: |
| 1434 | * platform/network/soup/ResourceError.h: |
| 1435 | * platform/network/soup/ResourceRequest.h: |
| 1436 | * platform/network/soup/ResourceResponse.h: |
| 1437 | |
mitz@apple.com | 57a2f48 | 2008-08-23 07:16:41 +0000 | [diff] [blame] | 1438 | 2008-08-23 Dan Bernstein <mitz@apple.com> |
| 1439 | |
| 1440 | Reviewed by Dave Hyatt. |
| 1441 | |
| 1442 | - fix <rdar://problem/6065143> Reflowed image in first line of table doesn't affect baseline |
| 1443 | |
| 1444 | Test: fast/table/vertical-align-baseline.html |
| 1445 | |
| 1446 | * rendering/RenderTable.cpp: |
| 1447 | (WebCore::RenderTable::getBaselineOfFirstLineBox): Added. Returns the |
| 1448 | baseline of the first table row, if there is one, -1 otherwise. |
| 1449 | * rendering/RenderTable.h: |
| 1450 | * rendering/RenderTableCell.cpp: |
| 1451 | (WebCore::RenderTableCell::baselinePosition): Changed to follow the |
| 1452 | CSS2.1 definition of the baseline of a table cell. |
| 1453 | * rendering/RenderTableSection.cpp: |
| 1454 | (WebCore::RenderTableSection::getBaselineOfFirstLineBox): Added. Returns |
| 1455 | the baseline of the first row in the section. |
| 1456 | * rendering/RenderTableSection.h: |
| 1457 | |
jhoneycutt@apple.com | 88af18d | 2008-08-22 23:44:32 +0000 | [diff] [blame] | 1458 | 2008-08-18 Jon Honeycutt <jhoneycutt@apple.com> |
| 1459 | |
| 1460 | Add SPI to make a Windows WebView transparent. |
| 1461 | |
| 1462 | Reviewed by Dan Bernstein. |
| 1463 | |
| 1464 | * platform/graphics/GraphicsContext.h: Add a parameter, hasAlpha, that |
| 1465 | determines whether the created context has an alpha channel. |
| 1466 | * platform/graphics/win/GraphicsContextCGWin.cpp: |
| 1467 | (WebCore::CGContextWithHDC): |
| 1468 | |
timothy@apple.com | b63d117 | 2008-08-22 18:39:42 +0000 | [diff] [blame] | 1469 | 2008-08-22 Timothy Hatcher <timothy@apple.com> |
| 1470 | |
timothy@apple.com | 964022d | 2008-08-22 20:35:20 +0000 | [diff] [blame] | 1471 | Rolls out r35834 because it caused a regression in the Inspector's |
| 1472 | Console where some expressions always threw a syntax error. |
| 1473 | |
| 1474 | https://bugs.webkit.org/show_bug.cgi?id=20487 |
| 1475 | |
| 1476 | * page/inspector/Console.js: |
| 1477 | (Console.prototype._evalInInspectedWindow): Removes parenthesis |
| 1478 | around the expression. |
| 1479 | |
| 1480 | 2008-08-22 Timothy Hatcher <timothy@apple.com> |
| 1481 | |
timothy@apple.com | 056d478 | 2008-08-22 18:39:52 +0000 | [diff] [blame] | 1482 | Makes getStyleProperty return a value for the overflow property |
| 1483 | when overflow-x and overflow-y are equal. |
| 1484 | |
| 1485 | https://bugs.webkit.org/show_bug.cgi?id=20485 |
| 1486 | |
| 1487 | Reviewed by Dan Bernstein. |
| 1488 | |
| 1489 | Test: fast/css/overflow-property.html |
| 1490 | |
| 1491 | * css/CSSMutableStyleDeclaration.cpp: |
| 1492 | (WebCore::CSSMutableStyleDeclaration::getPropertyValue): |
| 1493 | |
| 1494 | 2008-08-22 Timothy Hatcher <timothy@apple.com> |
| 1495 | |
timothy@apple.com | b63d117 | 2008-08-22 18:39:42 +0000 | [diff] [blame] | 1496 | Fixes a bug where while editing in the Inspector the |
| 1497 | sidebar scroll position would jump to the top. |
| 1498 | |
| 1499 | https://bugs.webkit.org/show_bug.cgi?id=20484 |
| 1500 | |
| 1501 | Reviewed by Darin Adler. |
| 1502 | |
| 1503 | * page/inspector/treeoutline.js: |
| 1504 | (TreeOutline._removeChildren): Remove the offsetTop call that |
| 1505 | was forcing a layout, since layout causes scroll positions |
| 1506 | to be clamped to the new scrollHeight/Width. Layout will happen |
| 1507 | normally when needed. |
| 1508 | |
kevino@webkit.org | 8271c84 | 2008-08-22 16:25:52 +0000 | [diff] [blame] | 1509 | 2008-08-22 Kevin Ollivier <kevino@theolliviers.com> |
| 1510 | |
| 1511 | wx build fix. Add AccessibilityTable sources. |
| 1512 | |
| 1513 | * WebCoreSources.bkl: |
| 1514 | |
mitz@apple.com | 9befc87 | 2008-08-22 06:29:33 +0000 | [diff] [blame] | 1515 | 2008-08-21 Dan Bernstein <mitz@apple.com> |
| 1516 | |
| 1517 | Reviewed by Jon Honeycutt and Alexey Proskuryakov. |
| 1518 | |
| 1519 | - fix <rdar://problem/6162701> WebKit should correct Geeza Pro's font metrics |
| 1520 | |
| 1521 | Test: platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html |
| 1522 | |
| 1523 | * platform/graphics/mac/SimpleFontDataMac.mm: |
| 1524 | (WebCore::SimpleFontData::platformInit): Add 8% to Geeza Pro's reported |
| 1525 | ascent and 100% to its reported descent. |
| 1526 | |
mrowe@apple.com | ac9b6a5 | 2008-08-22 02:07:54 +0000 | [diff] [blame] | 1527 | 2008-08-21 Kalle Vahlman <kalle.vahlman@movial.com> |
| 1528 | |
| 1529 | Reviewed by Darin Adler. |
| 1530 | |
mrowe@apple.com | 22eaa17 | 2008-08-22 02:10:15 +0000 | [diff] [blame] | 1531 | https://bugs.webkit.org/show_bug.cgi?id=20267 |
mrowe@apple.com | ac9b6a5 | 2008-08-22 02:07:54 +0000 | [diff] [blame] | 1532 | [GTK] Crash on some pages due to a plugin |
| 1533 | |
| 1534 | Fix handling of badly formatted and empty plugin mime descriptions |
| 1535 | |
| 1536 | * plugins/gtk/PluginPackageGtk.cpp: |
| 1537 | (WebCore::PluginPackage::fetchInfo): |
| 1538 | |
mrowe@apple.com | 798b343 | 2008-08-22 02:07:48 +0000 | [diff] [blame] | 1539 | 2008-08-21 Kevin Watters <kevinwatters@gmail.com> |
| 1540 | |
| 1541 | Reviewed by Darin Adler. |
| 1542 | |
| 1543 | Follow other ports (and IE) in ImageSourceWx.cpp never to return an |
| 1544 | animated GIF frame duration of less than 50ms. |
| 1545 | |
| 1546 | * platform/graphics/wx/ImageSourceWx.cpp: |
| 1547 | (WebCore::ImageSource::frameDurationAtIndex): |
| 1548 | |
britto@apple.com | 8ed7277 | 2008-08-22 00:39:39 +0000 | [diff] [blame] | 1549 | 2008-08-21 Maxime Britto <britto@apple.com> |
| 1550 | |
| 1551 | Reviewed by Kevin McCullough. |
| 1552 | |
| 1553 | Test: fast/events/autoscroll-nonscrollable-iframe-in-scrollable-div.html |
| 1554 | https://bugs.webkit.org/show_bug.cgi?id=20451 |
| 1555 | |
| 1556 | rdar://problem/6166435 Inspector doesn't auto scroll when selecting text (20451) |
| 1557 | When we climb up the rendering tree looking for a scrollable renderer, we need to be able to jump outside of an iframe. |
| 1558 | This way we can see if what is embedding the iframe can be scrolled even if the iframe content can't. |
| 1559 | |
| 1560 | * page/EventHandler.cpp: |
| 1561 | (WebCore::EventHandler::handleMouseDraggedEvent): when we reach the document node and it can't be scrolled we set the next parent as the document's owner element if it exists. |
| 1562 | |
| 1563 | (WebCore::EventHandler::handleMousePressEvent): ditto |
| 1564 | |
timothy@apple.com | 5d49219 | 2008-08-21 23:54:01 +0000 | [diff] [blame] | 1565 | 2008-08-21 Anthony Ricaud <rik24d@gmail.com> |
| 1566 | |
| 1567 | Small optimization for when the dividers in the Inspector's |
| 1568 | Resources panel are updated. |
| 1569 | |
| 1570 | Reviewed by Tim Hatcher. |
| 1571 | |
| 1572 | * page/inspector/ResourcesPanel.js: |
| 1573 | (WebInsector.ResourcesPanel.prototype._updateGraphDividersIfNeeded): |
| 1574 | Combind a for loop and clone the divider element. |
| 1575 | |
dino@apple.com | aa75e4c | 2008-08-21 23:35:23 +0000 | [diff] [blame] | 1576 | 2008-08-21 Chris Marrin <cmarrin@apple.com> |
| 1577 | |
| 1578 | Allow 0 (without units) for Time eg. duration |
| 1579 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20467 |
| 1580 | |
| 1581 | Reviewed by Dave Hyatt. |
| 1582 | |
| 1583 | Test: css1/units/zero-duration-without-units.html |
| 1584 | |
| 1585 | * css/CSSParser.cpp: |
| 1586 | (WebCore::CSSParser::validUnit): |
| 1587 | |
timothy@apple.com | 29c12d0 | 2008-08-21 20:12:47 +0000 | [diff] [blame] | 1588 | 2008-08-21 Timothy Hatcher <timothy@apple.com> |
| 1589 | |
timothy@apple.com | ca11cd8 | 2008-08-21 20:13:12 +0000 | [diff] [blame] | 1590 | Make deleting all text while editing a DOM attribute in |
| 1591 | the Inspector delete the attribute. This also fixes |
| 1592 | an exception that would happen before. |
| 1593 | |
| 1594 | https://bugs.webkit.org/show_bug.cgi?id=20472 |
| 1595 | |
| 1596 | Reviewed by Kevin McCullough. |
| 1597 | |
| 1598 | * page/inspector/ElementsPanel.js: |
| 1599 | (WebInspector.DOMNodeTreeElement.prototype._attributeEditingCommitted): |
| 1600 | Don't check for hasAttributes on the parseElement, continuing |
| 1601 | through the function will correctly remove the attribute. |
| 1602 | If the parseElement is null, call _editingCancelled not |
| 1603 | editingCancelled, this fixes an exception. |
| 1604 | |
| 1605 | 2008-08-21 Timothy Hatcher <timothy@apple.com> |
| 1606 | |
timothy@apple.com | de831cf | 2008-08-21 20:12:59 +0000 | [diff] [blame] | 1607 | Update the Inspector's Metrics pane when editing in |
| 1608 | the Styles pane. This makes sure the metrics shown |
| 1609 | always match what the Styles pane shows. |
| 1610 | |
| 1611 | https://bugs.webkit.org/show_bug.cgi?id=20470 |
| 1612 | |
| 1613 | Reviewed by Kevin McCullough. |
| 1614 | |
| 1615 | * page/inspector/ElementsPanel.js: |
| 1616 | (WebInspector.ElementsPanel): Add event listeners for |
| 1617 | the "style edited" and "style property toggled" events, |
| 1618 | so the Metrics pane is updated. |
| 1619 | (WebInspector.ElementsPanel.prototype._stylesPaneEdited): |
| 1620 | Update the Metrics pane. |
| 1621 | * page/inspector/StylesSidebarPane.js: |
| 1622 | (WebInspector.StylePropertyTreeElement.prototype.toggleEnabled): |
| 1623 | Dispatch the "style property toggled" event. |
| 1624 | (WebInspector.StylePropertyTreeElement.prototype.editingCancelled): |
| 1625 | Dispatch the "style edited" event when the CSS text is restored. |
| 1626 | (WebInspector.StylePropertyTreeElement.prototype.applyStyleText): |
| 1627 | Dispatch the "style edited" event. |
| 1628 | |
| 1629 | 2008-08-21 Timothy Hatcher <timothy@apple.com> |
| 1630 | |
timothy@apple.com | 29c12d0 | 2008-08-21 20:12:47 +0000 | [diff] [blame] | 1631 | Make the Inspector's Metrics sidebar pane editable. |
| 1632 | |
| 1633 | https://bugs.webkit.org/show_bug.cgi?id=17218 |
| 1634 | rdar://problem/5732818 |
| 1635 | |
| 1636 | Reviewed by Kevin McCullough. |
| 1637 | |
| 1638 | * page/inspector/ElementsPanel.js: |
| 1639 | (WebInspector.ElementsPanel): Add an event listener for |
| 1640 | the "metrics edited" event, so the Styles pane is updated. |
| 1641 | * page/inspector/MetricsSidebarPane.js: |
| 1642 | (WebInspector.MetricsSidebarPane.prototype.update): Remember the node |
| 1643 | so future updates work. Add a double click event listener for the |
| 1644 | metric values to start editing. |
| 1645 | (WebInspector.MetricsSidebarPane.prototype.startEditing): |
| 1646 | Call WebInspector.startEditing with some context. |
| 1647 | (WebInspector.MetricsSidebarPane.prototype.editingCancelled): |
| 1648 | (WebInspector.MetricsSidebarPane.prototype.editingCommitted): |
| 1649 | Set the user input on the elements inline style. Fire the |
| 1650 | "metrics edited" event. |
| 1651 | |
sfalken@apple.com | 7e6e539 | 2008-08-21 18:42:44 +0000 | [diff] [blame] | 1652 | 2008-08-21 Steve Falkenburg <sfalken@apple.com> |
| 1653 | |
| 1654 | Fix a race condition in Windows timer code. |
| 1655 | Timer function could end up being called with a 0 timer, leading to a Windows exception. |
| 1656 | |
| 1657 | Don't post a timer message if one is already pending. |
| 1658 | |
| 1659 | Reviewed by Ada Chan. |
| 1660 | |
| 1661 | * platform/win/SharedTimerWin.cpp: |
| 1662 | (WebCore::TimerWindowWndProc): |
| 1663 | (WebCore::clearTimer): |
| 1664 | (WebCore::queueTimerProc): |
| 1665 | (WebCore::setSharedTimerFireTime): |
| 1666 | |
timothy@apple.com | 8d15bcf | 2008-08-21 16:33:17 +0000 | [diff] [blame] | 1667 | 2008-08-21 Anthony Ricaud <rik24d@gmail.com> |
| 1668 | |
timothy@apple.com | 493212c7 | 2008-08-21 16:36:06 +0000 | [diff] [blame] | 1669 | After trying to add the expression, try again with quotes for |
| 1670 | easier edition. |
| 1671 | |
| 1672 | https://bugs.webkit.org/show_bug.cgi?id=20466 |
| 1673 | |
| 1674 | Reviewed by Tim Hatcher. |
| 1675 | |
| 1676 | * page/inspector/ObjectPropertiesSection.js: Added an |
| 1677 | evaluateExpression function. |
| 1678 | |
| 1679 | 2008-08-21 Anthony Ricaud <rik24d@gmail.com> |
| 1680 | |
timothy@apple.com | 8d15bcf | 2008-08-21 16:33:17 +0000 | [diff] [blame] | 1681 | Perform Inspector searches on search event to clear results when |
| 1682 | clicking the cross to empty it. Delete the lastQuery when the field |
| 1683 | is emptied in order to perform the search if exactly the same query |
| 1684 | is entered next. |
| 1685 | |
| 1686 | https://bugs.webkit.org/show_bug.cgi?id=20462 |
| 1687 | |
| 1688 | Reviewed by Tim Hatcher. |
| 1689 | |
| 1690 | * page/inspector/inspector.js: |
| 1691 | |
jmalonzo@webkit.org | dd47040 | 2008-08-21 11:22:51 +0000 | [diff] [blame] | 1692 | 2008-08-21 Marco Barisione <marco.barisione@collabora.co.uk> |
| 1693 | |
| 1694 | Reviewed by Mark Rowe. |
| 1695 | |
| 1696 | http://bugs.webkit.org/show_bug.cgi?id=19656 |
| 1697 | [SOUP] The gio code should call didFail() instead of |
| 1698 | didFinishLoading() in case of error |
| 1699 | |
| 1700 | In case of error call didFail() instead of didReceiveResponse() and |
| 1701 | didFinishLoading(). |
| 1702 | |
| 1703 | * platform/network/soup/ResourceHandleSoup.cpp: |
| 1704 | (WebCore::networkErrorForFile): |
| 1705 | (WebCore::readCallback): |
| 1706 | (WebCore::openCallback): |
| 1707 | (WebCore::queryInfoCallback): |
| 1708 | |
mrowe@apple.com | 72a95b1 | 2008-08-21 04:01:51 +0000 | [diff] [blame] | 1709 | 2008-08-20 Mark Rowe <mrowe@apple.com> |
| 1710 | |
mrowe@apple.com | 4e593f4 | 2008-08-21 06:52:42 +0000 | [diff] [blame] | 1711 | Reviewed by Jon Honeycutt. |
| 1712 | |
| 1713 | Fix build failure. |
| 1714 | |
| 1715 | * bridge/c/c_instance.cpp: |
| 1716 | (KJS::Bindings::CInstance::getPropertyNames): Declare count as uint32_t rather than unsigned |
| 1717 | as that is what NPEnumerationFunctionPtr is declared as accepting. |
| 1718 | |
| 1719 | 2008-08-20 Mark Rowe <mrowe@apple.com> |
| 1720 | |
mrowe@apple.com | 72a95b1 | 2008-08-21 04:01:51 +0000 | [diff] [blame] | 1721 | Reviewed by Dan Bernstein. |
| 1722 | |
| 1723 | Build fix. Handle kCGInterpolationMedium in switch statements if it is available. |
| 1724 | |
| 1725 | * platform/graphics/GraphicsContext.h: |
| 1726 | (WebCore::): |
| 1727 | * platform/graphics/cg/GraphicsContextCG.cpp: |
| 1728 | (WebCore::GraphicsContext::setImageInterpolationQuality): |
| 1729 | (WebCore::GraphicsContext::imageInterpolationQuality): |
| 1730 | |
mitz@apple.com | aa93879 | 2008-08-21 00:33:29 +0000 | [diff] [blame] | 1731 | 2008-08-20 Dan Bernstein <mitz@apple.com> |
| 1732 | |
| 1733 | Rubber-stamped by John Sullivan. |
| 1734 | |
| 1735 | - rename shouldUpdateWhileHidden to shouldUpdateWhileOffscreen and |
| 1736 | rename related methods and variables accordingly. |
| 1737 | |
| 1738 | * WebCore.base.exp: |
| 1739 | * page/FrameView.cpp: |
| 1740 | (WebCore::FrameViewPrivate::FrameViewPrivate): |
| 1741 | (WebCore::FrameView::shouldUpdateWhileOffscreen): |
| 1742 | (WebCore::FrameView::setShouldUpdateWhileOffscreen): |
| 1743 | * page/FrameView.h: |
| 1744 | * platform/ScrollView.h: |
| 1745 | * platform/mac/ScrollViewMac.mm: |
| 1746 | (WebCore::ScrollView::updateContents): |
| 1747 | |
beidson@apple.com | 2ace6b1 | 2008-08-21 00:13:12 +0000 | [diff] [blame] | 1748 | 2008-08-20 Brady Eidson <beidson@apple.com> |
| 1749 | |
| 1750 | Reviewed by Mitzpettel |
| 1751 | |
| 1752 | <rdar://problem/6163636> - Many images broken in Mail |
| 1753 | |
| 1754 | This can be traced back to the preload scanner. With that change, CachedResources are created a lot |
| 1755 | sooner than before and confuse the WebArchive machinery. |
| 1756 | |
| 1757 | When referencing WebArchive subresources directly through the WebKit API it is appropriate to ignore |
| 1758 | such CachedResources since they are placeholders and have not been submitted to the ResourceLoadDelegate |
| 1759 | machinery and nothing is known about where the data will eventually come from. |
| 1760 | |
| 1761 | * loader/DocumentLoader.cpp: |
| 1762 | (WebCore::DocumentLoader::subresource): Ignore a CachedResource if its preloadResult is |
| 1763 | CachedResource::PreloadReferenced. |
| 1764 | |
zecke@webkit.org | a8fa0e1 | 2008-08-20 22:50:39 +0000 | [diff] [blame] | 1765 | 2008-08-20 Holger Hans Peter Freyther <zecke@selfish.org> |
| 1766 | |
| 1767 | Unreviewed compile fix |
| 1768 | |
| 1769 | Catch up with the JSValue::type elimination. |
| 1770 | |
| 1771 | * bridge/qt/qt_instance.cpp: |
| 1772 | (KJS::Bindings::QtRuntimeObjectImp::construct): |
| 1773 | (KJS::Bindings::QtInstance::defaultValue): |
| 1774 | * bridge/qt/qt_runtime.cpp: |
| 1775 | (KJS::Bindings::QtRuntimeConnectionMethod::call): |
| 1776 | |
mrowe@apple.com | 2d74ec9 | 2008-08-20 22:15:53 +0000 | [diff] [blame] | 1777 | 2008-08-20 Chris Teague <chris.teague@gmail.com> |
| 1778 | |
| 1779 | Reviewed by Mark Rowe. |
| 1780 | |
| 1781 | Fix https://bugs.webkit.org/show_bug.cgi?id=20449 |
| 1782 | Bug 20449: Build fails if LOW_BANDWIDTH_DISPLAY is defined |
| 1783 | |
| 1784 | * ChangeLog: |
| 1785 | * loader/FrameLoader.cpp: |
| 1786 | (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady): |
| 1787 | |
simon.fraser@apple.com | be1d24c | 2008-08-20 21:57:22 +0000 | [diff] [blame] | 1788 | 2008-08-20 Simon Fraser <simon.fraser@apple.com> |
| 1789 | |
| 1790 | Reviewed by Dave Hyatt |
| 1791 | |
| 1792 | getComputedStyle() for webkitTransform should return a transform |
| 1793 | that does not have the transform origin baked into it. |
| 1794 | https://bugs.webkit.org/show_bug.cgi?id=20464 |
| 1795 | |
| 1796 | Test: fast/css/getComputedStyle-transform.html |
| 1797 | |
| 1798 | * css/CSSComputedStyleDeclaration.cpp: |
| 1799 | (WebCore::computedTransform): |
| 1800 | * rendering/style/RenderStyle.cpp: |
| 1801 | (WebCore::RenderStyle::applyTransform): |
| 1802 | * rendering/style/RenderStyle.h: |
| 1803 | |
andersca@apple.com | 021ce77 | 2008-08-20 21:04:12 +0000 | [diff] [blame] | 1804 | 2008-08-20 Josh Aas <joshmoz@gmail.com> |
| 1805 | |
| 1806 | Reviewed and landed by Anders. |
| 1807 | |
| 1808 | <rdar://problem/6163636> |
| 1809 | rename NPCocoaEvent's "event" struct to "data" (20446) |
| 1810 | |
| 1811 | * bridge/npapi.h: |
| 1812 | (_NPCocoaEvent::): |
| 1813 | |
bdakin@apple.com | 699d13d | 2008-08-20 20:46:28 +0000 | [diff] [blame] | 1814 | 2008-08-20 Beth Dakin <bdakin@apple.com> |
| 1815 | |
| 1816 | Reviewed by Darin. |
| 1817 | |
| 1818 | Fix for <rdar://problem/6145626> |
| 1819 | This patch fixes a number of remaining problems getting |
| 1820 | disconnected frames to work correctly with markAllMatchesForText() |
| 1821 | and findString(). Details inline. |
| 1822 | |
| 1823 | This was a static helper function in Frame, but this patch requires |
| 1824 | the same functionality in Editor, so I just added it as a function |
| 1825 | on Node. |
| 1826 | * dom/Node.cpp: |
| 1827 | (WebCore::Node::isInShadowTree): |
| 1828 | * dom/Node.h: |
| 1829 | |
| 1830 | * editing/Editor.cpp: |
| 1831 | (WebCore::Editor::insideVisibleArea): Returns false if |
| 1832 | excludeFromTextSearch() is true. |
| 1833 | |
| 1834 | In a normal (non-disconnected) frame, findString returns a range of |
| 1835 | the document node if the text is not found in the frame. I changed |
| 1836 | firstVisibleRange and lastVisibleRange to match that behavior when |
| 1837 | the text is not found |
| 1838 | (WebCore::Editor::firstVisibleRange): |
| 1839 | (WebCore::Editor::lastVisibleRange): |
| 1840 | |
| 1841 | Here are the bulk of the changes in the patch. A lot of text was |
| 1842 | not being found in disconnected frames because I failed to account |
| 1843 | for all of the possible problems associated with shadow trees. That |
| 1844 | is fixed here. |
| 1845 | (WebCore::Editor::nextVisibleRange): |
| 1846 | * editing/Editor.h: |
| 1847 | |
| 1848 | excludeFromTextSearch() is new. It allows a WebKit client to mark a |
| 1849 | frame as not-text-searchable through SPI. |
| 1850 | * WebCore.base.exp: |
| 1851 | * page/Frame.cpp: |
| 1852 | (WebCore::Frame::excludeFromTextSearch): |
| 1853 | (WebCore::Frame::setExcludeFromTextSearch): |
| 1854 | (WebCore::FramePrivate::FramePrivate): |
| 1855 | * page/Frame.h: |
| 1856 | * page/FramePrivate.h: |
| 1857 | |
| 1858 | (WebCore::Frame::findString): |
| 1859 | (WebCore::Frame::markAllMatchesForText): I kept running into an |
| 1860 | assertion failure in paining code because of the forced paint on |
| 1861 | empty visible rects. |
| 1862 | |
timothy@apple.com | 301befc | 2008-08-20 19:10:54 +0000 | [diff] [blame] | 1863 | 2008-08-20 Timothy Hatcher <timothy@apple.com> |
| 1864 | |
| 1865 | Adds a positon box to the Inspector's Metrics sidebar |
| 1866 | pane. When an element is not statically positioned, there |
| 1867 | is now a position box that show top, right, bottom and |
| 1868 | left computed values. |
| 1869 | |
| 1870 | Reviewed by Kevin McCullough. |
| 1871 | |
| 1872 | * English.lproj/localizedStrings.js: Updated the strings. |
| 1873 | * page/inspector/MetricsSidebarPane.js: |
| 1874 | (WebInspector.MetricsSidebarPane.prototype.update): |
| 1875 | Renamed the boxPartValue function to createBoxPartElement |
| 1876 | and made it create the entire element. Made it understand |
| 1877 | how to get position style properties. Don't use the figure dash |
| 1878 | when 0px is used for positions, since the 0 is meaningful there. |
| 1879 | Instead use the figure dash when a position is auto. |
| 1880 | * page/inspector/inspector.css: Added a new rule for position. |
| 1881 | |
cfleizach@apple.com | 2a5ecc0 | 2008-08-20 18:34:56 +0000 | [diff] [blame] | 1882 | 2008-08-20 chris fleizach <cfleizach@apple.com> |
| 1883 | |
| 1884 | Reviewed by Beth Dakin |
| 1885 | |
| 1886 | Qt build fix |
| 1887 | |
| 1888 | * WebCore.pro: |
| 1889 | |
mitz@apple.com | edaa904 | 2008-08-20 18:28:07 +0000 | [diff] [blame] | 1890 | 2008-08-20 Dan Bernstein <mitz@apple.com> |
| 1891 | |
| 1892 | Reviewed by Anders Carlsson. |
| 1893 | |
| 1894 | - avoid using a deprecated NSScroller method on Leopard |
| 1895 | |
| 1896 | * platform/mac/PlatformScrollBarMac.mm: |
| 1897 | (WebCore::PlatformScrollbar::updateThumbPosition): |
| 1898 | (WebCore::PlatformScrollbar::updateThumbProportion): |
| 1899 | |
jmalonzo@webkit.org | 6e0a308 | 2008-08-20 11:40:31 +0000 | [diff] [blame] | 1900 | 2008-08-20 Jan Michael Alonzo <jmalonzo@webkit.org> |
| 1901 | |
| 1902 | Reviewed by Oliver Hunt. |
| 1903 | |
| 1904 | Gtk build fix |
| 1905 | |
| 1906 | * GNUmakefile.am: |
| 1907 | * page/AccessibilityTable.cpp: Change nil to 0 |
| 1908 | (WebCore::AccessibilityTable::cellForColumnAndRow): |
| 1909 | |
ap@webkit.org | 01aff70 | 2008-08-20 07:23:06 +0000 | [diff] [blame] | 1910 | 2008-08-19 Alexey Proskuryakov <ap@webkit.org> |
| 1911 | |
| 1912 | Reviewed by Geoff Garen. |
| 1913 | |
| 1914 | Bring back shared JSGlobalData and implicit locking, because too many clients rely on it. |
| 1915 | |
| 1916 | * ForwardingHeaders/kjs/JSLock.h: Added. |
| 1917 | * WebCore.vcproj/WebCore.vcproj: |
| 1918 | * bindings/js/GCController.cpp: |
| 1919 | (WebCore::collect): |
| 1920 | (WebCore::GCController::gcTimerFired): |
| 1921 | (WebCore::GCController::garbageCollectNow): |
| 1922 | * bindings/js/JSCustomSQLStatementCallback.cpp: |
| 1923 | (WebCore::JSCustomSQLStatementCallback::handleEvent): |
| 1924 | * bindings/js/JSCustomSQLStatementErrorCallback.cpp: |
| 1925 | (WebCore::JSCustomSQLStatementErrorCallback::handleEvent): |
| 1926 | * bindings/js/JSCustomSQLTransactionCallback.cpp: |
| 1927 | (WebCore::JSCustomSQLTransactionCallback::handleEvent): |
| 1928 | * bindings/js/JSCustomSQLTransactionErrorCallback.cpp: |
| 1929 | (WebCore::JSCustomSQLTransactionErrorCallback::handleEvent): |
| 1930 | * bindings/js/JSCustomVoidCallback.cpp: |
| 1931 | (WebCore::JSCustomVoidCallback::handleEvent): |
| 1932 | * bindings/js/JSCustomXPathNSResolver.cpp: |
| 1933 | (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI): |
| 1934 | * bindings/js/JSDOMWindowBase.cpp: |
| 1935 | (WebCore::DOMWindowTimer::~DOMWindowTimer): |
| 1936 | (WebCore::JSDOMWindowBase::clear): |
| 1937 | (WebCore::JSDOMWindowBase::timerFired): |
| 1938 | * bindings/js/JSEventCustom.cpp: |
| 1939 | (WebCore::toJS): |
| 1940 | * bindings/js/JSEventListener.cpp: |
| 1941 | (WebCore::JSAbstractEventListener::handleEvent): |
| 1942 | * bindings/js/JSNSResolver.cpp: |
| 1943 | (WebCore::JSNSResolver::lookupNamespaceURI): |
| 1944 | * bindings/js/JSNodeFilterCondition.cpp: |
| 1945 | (WebCore::JSNodeFilterCondition::acceptNode): |
| 1946 | * bindings/js/ScheduledAction.cpp: |
| 1947 | (WebCore::ScheduledAction::execute): |
| 1948 | * bindings/js/ScriptController.cpp: |
| 1949 | (WebCore::ScriptController::evaluate): |
| 1950 | (WebCore::ScriptController::clearWindowShell): |
| 1951 | (WebCore::ScriptController::createHTMLEventHandler): |
| 1952 | (WebCore::ScriptController::createSVGEventHandler): |
| 1953 | (WebCore::ScriptController::initScript): |
| 1954 | (WebCore::ScriptController::updateDocument): |
| 1955 | (WebCore::ScriptController::bindingRootObject): |
| 1956 | (WebCore::ScriptController::windowScriptNPObject): |
| 1957 | (WebCore::ScriptController::createScriptObjectForPluginElement): |
| 1958 | (WebCore::ScriptController::clearScriptObjects): |
| 1959 | * bindings/js/ScriptControllerMac.mm: |
| 1960 | (WebCore::ScriptController::windowScriptObject): |
| 1961 | * bindings/objc/WebScriptObject.mm: |
| 1962 | (_didExecute): |
| 1963 | (-[WebScriptObject callWebScriptMethod:withArguments:]): |
| 1964 | (-[WebScriptObject evaluateWebScript:]): |
| 1965 | (-[WebScriptObject setValue:forKey:]): |
| 1966 | (-[WebScriptObject valueForKey:]): |
| 1967 | (-[WebScriptObject removeWebScriptKey:]): |
| 1968 | (-[WebScriptObject stringRepresentation]): |
| 1969 | (-[WebScriptObject webScriptValueAtIndex:]): |
| 1970 | (-[WebScriptObject setWebScriptValueAtIndex:value:]): |
| 1971 | (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]): |
| 1972 | * bridge/NP_jsobject.cpp: |
| 1973 | (_NPN_InvokeDefault): |
| 1974 | (_NPN_Invoke): |
| 1975 | (_NPN_Evaluate): |
| 1976 | (_NPN_GetProperty): |
| 1977 | (_NPN_SetProperty): |
| 1978 | (_NPN_RemoveProperty): |
| 1979 | (_NPN_HasProperty): |
| 1980 | (_NPN_HasMethod): |
| 1981 | (_NPN_Enumerate): |
| 1982 | * bridge/c/c_class.cpp: |
| 1983 | (KJS::Bindings::CClass::~CClass): |
| 1984 | (KJS::Bindings::CClass::methodsNamed): |
| 1985 | (KJS::Bindings::CClass::fieldNamed): |
| 1986 | * bridge/c/c_instance.cpp: |
| 1987 | (KJS::Bindings::CInstance::invokeMethod): |
| 1988 | (KJS::Bindings::CInstance::invokeDefaultMethod): |
| 1989 | (KJS::Bindings::CInstance::getPropertyNames): |
| 1990 | * bridge/c/c_runtime.cpp: |
| 1991 | (KJS::Bindings::CField::valueFromInstance): |
| 1992 | (KJS::Bindings::CField::setValueToInstance): |
| 1993 | * bridge/c/c_utility.cpp: |
| 1994 | (KJS::Bindings::convertValueToNPVariant): |
| 1995 | (KJS::Bindings::convertNPVariantToValue): |
| 1996 | * bridge/jni/jni_class.cpp: |
| 1997 | (JavaClass::JavaClass): |
| 1998 | (JavaClass::~JavaClass): |
| 1999 | * bridge/jni/jni_instance.cpp: |
| 2000 | (JavaInstance::stringValue): |
| 2001 | * bridge/jni/jni_jsobject.mm: |
| 2002 | (JavaJSObject::call): |
| 2003 | (JavaJSObject::eval): |
| 2004 | (JavaJSObject::getMember): |
| 2005 | (JavaJSObject::setMember): |
| 2006 | (JavaJSObject::removeMember): |
| 2007 | (JavaJSObject::getSlot): |
| 2008 | (JavaJSObject::setSlot): |
| 2009 | (JavaJSObject::toString): |
| 2010 | (JavaJSObject::convertValueToJObject): |
| 2011 | (JavaJSObject::convertJObjectToValue): |
| 2012 | * bridge/jni/jni_objc.mm: |
| 2013 | (KJS::Bindings::dispatchJNICall): |
| 2014 | * bridge/jni/jni_runtime.cpp: |
| 2015 | (appendClassName): |
| 2016 | (JavaMethod::signature): |
| 2017 | * bridge/jni/jni_runtime.h: |
| 2018 | (KJS::Bindings::JavaString::JavaString): |
| 2019 | (KJS::Bindings::JavaString::_commonInit): |
| 2020 | (KJS::Bindings::JavaString::~JavaString): |
| 2021 | (KJS::Bindings::JavaString::UTF8String): |
| 2022 | * bridge/jni/jni_utility.cpp: |
| 2023 | (KJS::Bindings::convertValueToJValue): |
| 2024 | * bridge/npruntime.cpp: |
| 2025 | (_NPN_GetStringIdentifier): |
| 2026 | * bridge/objc/objc_instance.mm: |
| 2027 | (ObjcInstance::moveGlobalExceptionToExecState): |
| 2028 | (ObjcInstance::invokeMethod): |
| 2029 | (ObjcInstance::invokeDefaultMethod): |
| 2030 | (ObjcInstance::setValueOfUndefinedField): |
| 2031 | (ObjcInstance::getValueOfUndefinedField): |
| 2032 | * bridge/objc/objc_runtime.mm: |
| 2033 | (ObjcField::valueFromInstance): |
| 2034 | (ObjcField::setValueToInstance): |
| 2035 | * bridge/objc/objc_utility.mm: |
| 2036 | (KJS::Bindings::convertValueToObjcValue): |
| 2037 | (KJS::Bindings::convertNSStringToString): |
| 2038 | (KJS::Bindings::convertObjcValueToValue): |
| 2039 | * bridge/qt/qt_instance.cpp: |
| 2040 | (KJS::Bindings::QtRuntimeObjectImp::removeFromCache): |
| 2041 | (KJS::Bindings::QtInstance::~QtInstance): |
| 2042 | (KJS::Bindings::QtInstance::getQtInstance): |
| 2043 | (KJS::Bindings::QtInstance::getRuntimeObject): |
| 2044 | * bridge/qt/qt_runtime.cpp: |
| 2045 | (KJS::Bindings::convertValueToQVariant): |
| 2046 | (KJS::Bindings::convertQVariantToValue): |
| 2047 | (KJS::Bindings::QtRuntimeMetaMethod::call): |
| 2048 | (KJS::Bindings::QtRuntimeConnectionMethod::call): |
| 2049 | (KJS::Bindings::QtConnectionObject::QtConnectionObject): |
| 2050 | (KJS::Bindings::QtConnectionObject::execute): |
| 2051 | * bridge/runtime.cpp: |
| 2052 | (KJS::Bindings::Instance::createRuntimeObject): |
| 2053 | * bridge/testbindings.cpp: |
| 2054 | (main): |
| 2055 | * bridge/testbindings.mm: |
| 2056 | (main): |
| 2057 | * bridge/testqtbindings.cpp: |
| 2058 | (main): |
| 2059 | * dom/Document.cpp: |
| 2060 | (WebCore::Document::~Document): |
| 2061 | * dom/Node.cpp: |
| 2062 | (WebCore::Node::setDocument): |
| 2063 | * history/CachedPage.cpp: |
| 2064 | (WebCore::CachedPage::CachedPage): |
| 2065 | (WebCore::CachedPage::restore): |
| 2066 | (WebCore::CachedPage::clear): |
| 2067 | * loader/FrameLoader.cpp: |
| 2068 | (WebCore::getString): |
| 2069 | * page/InspectorController.cpp: |
| 2070 | (WebCore::ConsoleMessage::ConsoleMessage): |
| 2071 | (WebCore::XMLHttpRequestResource::XMLHttpRequestResource): |
| 2072 | (WebCore::XMLHttpRequestResource::~XMLHttpRequestResource): |
| 2073 | (WebCore::getResourceDocumentNode): |
| 2074 | (WebCore::search): |
| 2075 | (WebCore::inspectedWindow): |
| 2076 | (WebCore::wrapCallback): |
| 2077 | (WebCore::currentCallFrame): |
| 2078 | (WebCore::profiles): |
| 2079 | (WebCore::InspectorController::focusNode): |
| 2080 | (WebCore::InspectorController::inspectedWindowScriptObjectCleared): |
| 2081 | (WebCore::InspectorController::addDatabaseScriptResource): |
| 2082 | (WebCore::InspectorController::addScriptProfile): |
| 2083 | * page/JavaScriptCallFrame.cpp: |
| 2084 | (WebCore::JavaScriptCallFrame::evaluate): |
| 2085 | * page/JavaScriptProfileNode.cpp: |
| 2086 | (WebCore::getTotalTime): |
| 2087 | (WebCore::getSelfTime): |
| 2088 | (WebCore::getTotalPercent): |
| 2089 | (WebCore::getSelfPercent): |
| 2090 | (WebCore::getNumberOfCalls): |
| 2091 | (WebCore::getChildren): |
| 2092 | (WebCore::getVisible): |
| 2093 | * page/Page.cpp: |
| 2094 | * page/mac/FrameMac.mm: |
| 2095 | * plugins/PluginView.cpp: |
| 2096 | (WebCore::PluginView::start): |
| 2097 | (WebCore::getString): |
| 2098 | (WebCore::PluginView::performRequest): |
| 2099 | (WebCore::PluginView::bindingInstance): |
| 2100 | * plugins/gtk/PluginViewGtk.cpp: |
| 2101 | (WebCore::PluginView::paint): |
| 2102 | (WebCore::PluginView::handleKeyboardEvent): |
| 2103 | (WebCore::PluginView::handleMouseEvent): |
| 2104 | (WebCore::PluginView::setNPWindowRect): |
| 2105 | (WebCore::PluginView::stop): |
| 2106 | (WebCore::PluginView::init): |
| 2107 | * plugins/qt/PluginViewQt.cpp: |
| 2108 | (WebCore::PluginView::setNPWindowRect): |
| 2109 | (WebCore::PluginView::stop): |
| 2110 | (WebCore::PluginView::init): |
| 2111 | * plugins/win/PluginViewWin.cpp: |
| 2112 | (WebCore::PluginView::dispatchNPEvent): |
| 2113 | (WebCore::PluginView::handleKeyboardEvent): |
| 2114 | (WebCore::PluginView::handleMouseEvent): |
| 2115 | (WebCore::PluginView::setNPWindowRect): |
| 2116 | (WebCore::PluginView::stop): |
| 2117 | * xml/XMLHttpRequest.cpp: |
| 2118 | (WebCore::XMLHttpRequest::clearResponse): |
| 2119 | (WebCore::XMLHttpRequest::didFinishLoading): |
| 2120 | (WebCore::XMLHttpRequest::didReceiveData): |
| 2121 | |
eric@webkit.org | bac9376 | 2008-08-19 23:33:07 +0000 | [diff] [blame] | 2122 | 2008-08-19 Eric Seidel <eric@webkit.org> |
| 2123 | |
| 2124 | Reviewed by Geoff Garen. |
| 2125 | |
| 2126 | Add the beginnings of Skia graphics support to WebCore |
| 2127 | as I try to begin the long process of un-forking the changes |
| 2128 | needed to WebCore to make Andriod's WebCore build. |
| 2129 | |
| 2130 | I'll follow this up with actual *Skia.cpp files in a separate patch. |
| 2131 | |
| 2132 | * platform/graphics/AffineTransform.h: |
| 2133 | * platform/graphics/FloatPoint.h: |
| 2134 | * platform/graphics/FloatRect.h: |
| 2135 | * platform/graphics/Gradient.h: |
| 2136 | * platform/graphics/GraphicsContext.h: |
| 2137 | * platform/graphics/Image.h: |
| 2138 | * platform/graphics/ImageBuffer.h: |
| 2139 | * platform/graphics/ImageSource.h: |
| 2140 | * platform/graphics/IntPoint.h: |
| 2141 | * platform/graphics/IntRect.h: |
| 2142 | * platform/graphics/Path.h: |
| 2143 | * platform/graphics/Pattern.h: |
| 2144 | * svg/graphics/SVGPaintServerPattern.h: |
| 2145 | * svg/graphics/SVGPaintServerSolid.h: |
| 2146 | |
sfalken@apple.com | 3f69b33 | 2008-08-19 22:34:37 +0000 | [diff] [blame] | 2147 | 2008-08-19 Steve Falkenburg <sfalken@apple.com> |
| 2148 | |
sfalken@apple.com | 45d2280 | 2008-08-19 22:46:31 +0000 | [diff] [blame] | 2149 | Fix Windows build more. |
| 2150 | |
| 2151 | * WebCore.vcproj/WebCore.vcproj: |
| 2152 | |
| 2153 | 2008-08-19 Steve Falkenburg <sfalken@apple.com> |
| 2154 | |
sfalken@apple.com | 3f69b33 | 2008-08-19 22:34:37 +0000 | [diff] [blame] | 2155 | Fix Windows build. |
| 2156 | |
| 2157 | * page/AccessibilityRenderObject.cpp: |
| 2158 | (WebCore::AccessibilityRenderObject::canSetFocusAttribute): |
| 2159 | |
cfleizach@apple.com | 7c7b5f3 | 2008-08-19 22:05:37 +0000 | [diff] [blame] | 2160 | 2008-08-19 chris fleizach <cfleizach@apple.com> |
| 2161 | |
| 2162 | Reviewed by Beth Dakin. |
| 2163 | |
| 2164 | <rdar://problem/4003764> Expose tables as AXTables |
| 2165 | |
| 2166 | Tests: accessibility/table-attributes.html |
| 2167 | accessibility/table-cell-spans.html |
| 2168 | accessibility/table-cells.html |
| 2169 | accessibility/table-detection.html |
| 2170 | accessibility/table-sections.html |
| 2171 | accessibility/table-with-rules.html |
| 2172 | |
| 2173 | * WebCore.xcodeproj/project.pbxproj: |
| 2174 | * page/AXObjectCache.cpp: |
| 2175 | (WebCore::AXObjectCache::get): |
| 2176 | * page/AccessibilityObject.h: |
| 2177 | (WebCore::): |
| 2178 | (WebCore::AccessibilityObject::isDataTable): |
| 2179 | (WebCore::AccessibilityObject::isTableRow): |
| 2180 | (WebCore::AccessibilityObject::isTableColumn): |
| 2181 | (WebCore::AccessibilityObject::isTableCell): |
| 2182 | * page/AccessibilityRenderObject.cpp: |
| 2183 | (WebCore::AccessibilityRenderObject::canSetFocusAttribute): |
| 2184 | * page/AccessibilityTable.cpp: Added. |
| 2185 | (WebCore::AccessibilityTable::AccessibilityTable): |
| 2186 | (WebCore::AccessibilityTable::~AccessibilityTable): |
| 2187 | (WebCore::AccessibilityTable::create): |
| 2188 | (WebCore::AccessibilityTable::isTableExposableThroughAccessibility): |
| 2189 | (WebCore::AccessibilityTable::clearChildren): |
| 2190 | (WebCore::AccessibilityTable::addChildren): |
| 2191 | (WebCore::AccessibilityTable::headerContainer): |
| 2192 | (WebCore::AccessibilityTable::columns): |
| 2193 | (WebCore::AccessibilityTable::rows): |
| 2194 | (WebCore::AccessibilityTable::rowHeaders): |
| 2195 | (WebCore::AccessibilityTable::columnHeaders): |
| 2196 | (WebCore::AccessibilityTable::cells): |
| 2197 | (WebCore::AccessibilityTable::columnCount): |
| 2198 | (WebCore::AccessibilityTable::rowCount): |
| 2199 | (WebCore::AccessibilityTable::cellForColumnAndRow): |
| 2200 | (WebCore::AccessibilityTable::roleValue): |
| 2201 | (WebCore::AccessibilityTable::accessibilityIsIgnored): |
| 2202 | (WebCore::AccessibilityTable::title): |
| 2203 | (WebCore::AccessibilityTable::isDataTable): |
| 2204 | * page/AccessibilityTable.h: Added. |
| 2205 | * page/AccessibilityTableCell.cpp: Added. |
| 2206 | (WebCore::AccessibilityTableCell::AccessibilityTableCell): |
| 2207 | (WebCore::AccessibilityTableCell::~AccessibilityTableCell): |
| 2208 | (WebCore::AccessibilityTableCell::create): |
| 2209 | (WebCore::AccessibilityTableCell::accessibilityIsIgnored): |
| 2210 | (WebCore::AccessibilityTableCell::rowIndexRange): |
| 2211 | (WebCore::AccessibilityTableCell::columnIndexRange): |
| 2212 | * page/AccessibilityTableCell.h: Added. |
| 2213 | (WebCore::AccessibilityTableCell::isTableCell): |
| 2214 | (WebCore::AccessibilityTableCell::roleValue): |
| 2215 | * page/AccessibilityTableColumn.cpp: Added. |
| 2216 | (WebCore::AccessibilityTableColumn::AccessibilityTableColumn): |
| 2217 | (WebCore::AccessibilityTableColumn::~AccessibilityTableColumn): |
| 2218 | (WebCore::AccessibilityTableColumn::create): |
| 2219 | (WebCore::AccessibilityTableColumn::setParentTable): |
| 2220 | (WebCore::AccessibilityTableColumn::elementRect): |
| 2221 | (WebCore::AccessibilityTableColumn::size): |
| 2222 | (WebCore::AccessibilityTableColumn::children): |
| 2223 | (WebCore::AccessibilityTableColumn::headerObject): |
| 2224 | (WebCore::AccessibilityTableColumn::headerObjectForSection): |
| 2225 | (WebCore::AccessibilityTableColumn::addChildren): |
| 2226 | * page/AccessibilityTableColumn.h: Added. |
| 2227 | (WebCore::AccessibilityTableColumn::parentObject): |
| 2228 | (WebCore::AccessibilityTableColumn::roleValue): |
| 2229 | (WebCore::AccessibilityTableColumn::accessibilityIsIgnored): |
| 2230 | (WebCore::AccessibilityTableColumn::isTableColumn): |
| 2231 | (WebCore::AccessibilityTableColumn::setColumnIndex): |
| 2232 | (WebCore::AccessibilityTableColumn::columnIndex): |
| 2233 | * page/AccessibilityTableHeaderContainer.cpp: Added. |
| 2234 | (WebCore::AccessibilityTableHeaderContainer::AccessibilityTableHeaderContainer): |
| 2235 | (WebCore::AccessibilityTableHeaderContainer::~AccessibilityTableHeaderContainer): |
| 2236 | (WebCore::AccessibilityTableHeaderContainer::create): |
| 2237 | (WebCore::AccessibilityTableHeaderContainer::children): |
| 2238 | (WebCore::AccessibilityTableHeaderContainer::elementRect): |
| 2239 | (WebCore::AccessibilityTableHeaderContainer::size): |
| 2240 | (WebCore::AccessibilityTableHeaderContainer::addChildren): |
| 2241 | * page/AccessibilityTableHeaderContainer.h: Added. |
| 2242 | (WebCore::AccessibilityTableHeaderContainer::roleValue): |
| 2243 | (WebCore::AccessibilityTableHeaderContainer::setParentTable): |
| 2244 | (WebCore::AccessibilityTableHeaderContainer::parentObject): |
| 2245 | (WebCore::AccessibilityTableHeaderContainer::accessibilityIsIgnored): |
| 2246 | * page/AccessibilityTableRow.cpp: Added. |
| 2247 | (WebCore::AccessibilityTableRow::AccessibilityTableRow): |
| 2248 | (WebCore::AccessibilityTableRow::~AccessibilityTableRow): |
| 2249 | (WebCore::AccessibilityTableRow::create): |
| 2250 | (WebCore::AccessibilityTableRow::accessibilityIsIgnored): |
| 2251 | (WebCore::AccessibilityTableRow::headerObject): |
| 2252 | * page/AccessibilityTableRow.h: Added. |
| 2253 | (WebCore::AccessibilityTableRow::isTableRow): |
| 2254 | (WebCore::AccessibilityTableRow::roleValue): |
| 2255 | (WebCore::AccessibilityTableRow::setRowIndex): |
| 2256 | (WebCore::AccessibilityTableRow::rowIndex): |
| 2257 | * page/mac/AccessibilityObjectWrapper.mm: |
| 2258 | (-[AccessibilityObjectWrapper accessibilityAttributeNames]): |
| 2259 | (RoleEntry::): |
| 2260 | (-[AccessibilityObjectWrapper roleDescription]): |
| 2261 | (-[AccessibilityObjectWrapper accessibilityAttributeValue:]): |
| 2262 | (-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]): |
| 2263 | (-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]): |
| 2264 | |
sfalken@apple.com | b83d469 | 2008-08-19 18:39:44 +0000 | [diff] [blame] | 2265 | 2008-08-19 Steve Falkenburg <sfalken@apple.com> |
| 2266 | |
| 2267 | Build fix. |
| 2268 | Add buildfailed support to stop builds early (preventing inaccurate error messages). |
| 2269 | Add missing post-build rule to Release. |
| 2270 | |
| 2271 | * WebCore.vcproj/QTMovieWin.vcproj: |
| 2272 | |
timothy@apple.com | da3aa63 | 2008-08-19 18:33:02 +0000 | [diff] [blame] | 2273 | 2008-08-19 Keishi Hattori <casey.hattori@gmail.com> |
| 2274 | |
timothy@apple.com | 7d08c32 | 2008-08-19 18:33:27 +0000 | [diff] [blame] | 2275 | Added support for console.count in the inspector. |
| 2276 | |
| 2277 | Reviewed by Geoff Garen. |
| 2278 | |
| 2279 | * page/Console.cpp: |
| 2280 | (WebCore::Console::count): |
| 2281 | * page/Console.h: |
| 2282 | * page/Console.idl: Added console.count. |
| 2283 | * page/InspectorController.cpp: |
| 2284 | (WebCore::InspectorController::didCommitLoad): Clears m_counts. |
| 2285 | (WebCore::InspectorController::count): Updates the count number |
| 2286 | sing "title@source:line" as the identifier, and adds a |
| 2287 | message to the console. |
| 2288 | * page/InspectorController.h: Added m_counts. |
| 2289 | |
| 2290 | 2008-08-19 Keishi Hattori <casey.hattori@gmail.com> |
| 2291 | |
timothy@apple.com | da3aa63 | 2008-08-19 18:33:02 +0000 | [diff] [blame] | 2292 | Clear console.time timers when changing page. |
| 2293 | |
| 2294 | Reviewed by Geoff Garen. |
| 2295 | |
| 2296 | * page/InspectorController.cpp: |
| 2297 | (WebCore::InspectorController::didCommitLoad): |
| 2298 | |
adele@apple.com | 1f2d7e0 | 2008-08-19 17:55:58 +0000 | [diff] [blame] | 2299 | 2008-08-19 Eric Carlson <eric.carlson@apple.com> |
| 2300 | |
| 2301 | Reviewed by Adele. |
| 2302 | |
| 2303 | Fix for <rdar://problem/6154695> Full-page movies flicker while playing |
| 2304 | https://bugs.webkit.org/show_bug.cgi?id=20404 |
| 2305 | |
| 2306 | Ignore setVisible() when visibility doesn't change. |
| 2307 | |
| 2308 | * platform/graphics/mac/MediaPlayerPrivateQTKit.h: |
| 2309 | * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: |
| 2310 | (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): |
| 2311 | (WebCore::MediaPlayerPrivate::setVisible): |
| 2312 | |
timothy@apple.com | 9d9821a | 2008-08-19 17:00:26 +0000 | [diff] [blame] | 2313 | 2008-08-19 Timothy Hatcher <timothy@apple.com> |
| 2314 | |
timothy@apple.com | e058a79 | 2008-08-19 17:01:12 +0000 | [diff] [blame] | 2315 | Fixes a bug in the Profile view where switching sort order, then |
| 2316 | switching from heavy to tree mode would show the tree in the |
| 2317 | previous sort order. |
| 2318 | |
| 2319 | https://bugs.webkit.org/show_bug.cgi?id=20441 |
| 2320 | |
| 2321 | Reviewed by Kevin McCullough. |
| 2322 | |
| 2323 | * page/inspector/ProfileView.js: |
| 2324 | (WebInspector.ProfileView.prototype._changeView): Call _sortProfile |
| 2325 | on the next profile before assigning it to this.profile. |
| 2326 | (WebInspector.ProfileView.prototype._sortData): Call _sortProfile. |
| 2327 | (WebInspector.ProfileView.prototype._sortProfile): Moves from |
| 2328 | _sortData and takes a profile argument. If the profile passed in |
| 2329 | matches the this.profile, then call refresh. |
| 2330 | |
| 2331 | 2008-08-18 Timothy Hatcher <timothy@apple.com> |
| 2332 | |
timothy@apple.com | e525e40 | 2008-08-19 17:01:00 +0000 | [diff] [blame] | 2333 | Changed the default sort order now that heavy view is the default. |
| 2334 | Also fixes a bug where the heavy profile was not sorted at first. |
| 2335 | |
| 2336 | https://bugs.webkit.org/show_bug.cgi?id=20440 |
| 2337 | |
| 2338 | Reviewed by Kevin McCullough. |
| 2339 | |
| 2340 | * page/inspector/ProfileView.js: |
| 2341 | (WebInspector.ProfileView): Changed the default sort column. Also assign |
| 2342 | heavyProfile to profile, so the sortSelfTimeDescending call happens |
| 2343 | on the heavy profile before assigning to this.profile. |
| 2344 | |
| 2345 | 2008-08-18 Timothy Hatcher <timothy@apple.com> |
| 2346 | |
timothy@apple.com | c9287f3 | 2008-08-19 17:00:36 +0000 | [diff] [blame] | 2347 | Add support for editing DOM properties and scope variables by double |
| 2348 | clicking a property to enter edit mode. |
| 2349 | |
| 2350 | https://bugs.webkit.org/show_bug.cgi?id=20415 |
| 2351 | |
| 2352 | Reviewed by Kevin McCullough. |
| 2353 | |
| 2354 | * page/inspector/ObjectPropertiesSection.js: |
| 2355 | (WebInspector.ObjectPropertiesSection): Set editable to true by default. |
| 2356 | (WebInspector.ObjectPropertiesSection.prototype.onpopulate): |
| 2357 | Factored out code into update, and calls update. |
| 2358 | (WebInspector.ObjectPropertiesSection.prototype.update): Moved from onpopulate. |
| 2359 | Call removeChildren since this method can be called multiple times now. |
| 2360 | (WebInspector.ObjectPropertyTreeElement): Pass an empty title, the title |
| 2361 | gets made later in onattach. |
| 2362 | (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate): Don't return early |
| 2363 | if shouldRefreshChildren is true. Call removeChildren since this method can be |
| 2364 | called multiple times now. |
| 2365 | (WebInspector.ObjectPropertyTreeElement.prototype.ondblclick): Call startEditing. |
| 2366 | (WebInspector.ObjectPropertyTreeElement.prototype.onattach): Call update. |
| 2367 | (WebInspector.ObjectPropertyTreeElement.prototype.update): Update the title for |
| 2368 | this element (code moved from the constructor.) |
| 2369 | (WebInspector.ObjectPropertyTreeElement.prototype.updateSiblings): Recreate all |
| 2370 | sibling property elements. |
| 2371 | (WebInspector.ObjectPropertyTreeElement.prototype.startEditing): Call |
| 2372 | WebInspector.startEditing after rememebring some context. |
| 2373 | (WebInspector.ObjectPropertyTreeElement.prototype.editingEnded): Reset the scrollLeft |
| 2374 | for the list element, since it might have scrolled during editing. |
| 2375 | (WebInspector.ObjectPropertyTreeElement.prototype.editingCancelled): Call editingEnded |
| 2376 | then restore the state from the context. Then call update to restore the title. |
| 2377 | (WebInspector.ObjectPropertyTreeElement.prototype.editingCommitted): Call editingCancelled |
| 2378 | if the user input and the previous input are the same. Call editingEnded, then call applyExpression |
| 2379 | to commit the user input. |
| 2380 | (WebInspector.ObjectPropertyTreeElement.prototype.applyExpression): Evaluates the input expression |
| 2381 | and stores the result on the object for the property name of this element. If the expression is |
| 2382 | empty, delete the property and remove the tree element. |
| 2383 | * page/inspector/ScopeChainSidebarPane.js: |
| 2384 | (WebInspector.ScopeChainSidebarPane.prototype.update): Set the editInSelectedCallFrameWhenPaused |
| 2385 | property on each ObjectPropertiesSection. |
| 2386 | (WebInspector.ScopeVariableTreeElement.prototype.onattach): Call ObjectPropertyTreeElement's onattach |
| 2387 | since it is now implemented. |
| 2388 | * page/inspector/ScriptsPanel.js: |
| 2389 | (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame): Added an updateInterface argument |
| 2390 | that defaults to true if omitted. It specifies whether to call update on the scope chain. |
| 2391 | * page/inspector/inspector.css: New styles. |
| 2392 | * page/inspector/treeoutline.js: |
| 2393 | (TreeElement.prototype._attach): Fixed an exception that fired when handling the shouldRefreshChildren |
| 2394 | change. The nextSibling would exist but have a _listItemNode that didn't match the new parent. |
| 2395 | |
| 2396 | 2008-08-18 Timothy Hatcher <timothy@apple.com> |
| 2397 | |
timothy@apple.com | 9d9821a | 2008-08-19 17:00:26 +0000 | [diff] [blame] | 2398 | Surround the expression to be evaluated in parenthesis so the |
| 2399 | result of the eval is the result of the whole expression not |
| 2400 | the last potential sub-expression. So evaluating {x: 123} |
| 2401 | will show the Object not 123. |
| 2402 | |
| 2403 | https://bugs.webkit.org/show_bug.cgi?id=20428 |
| 2404 | |
| 2405 | Reviewed by Kevin McCullough. |
| 2406 | |
| 2407 | * page/inspector/Console.js: |
| 2408 | (Console.prototype._evalInInspectedWindow): Add parenthesis |
| 2409 | around the expression. And add couple comments. |
| 2410 | |
kmccullough@apple.com | e8ac2f3 | 2008-08-19 16:38:06 +0000 | [diff] [blame] | 2411 | 2008-08-19 Kevin McCullough <kmccullough@apple.com> |
| 2412 | |
| 2413 | Reviewed by Geoff. |
| 2414 | |
| 2415 | -Implement a page() function to extract a common code pattern. |
| 2416 | |
| 2417 | * WebCore.xcodeproj/project.pbxproj: |
| 2418 | * page/Console.cpp: |
| 2419 | (WebCore::Console::addMessage): |
| 2420 | (WebCore::Console::error): |
| 2421 | (WebCore::Console::info): |
| 2422 | (WebCore::Console::log): |
| 2423 | (WebCore::Console::dir): |
| 2424 | (WebCore::Console::assertCondition): |
| 2425 | (WebCore::Console::time): |
| 2426 | (WebCore::Console::timeEnd): |
| 2427 | (WebCore::Console::group): |
| 2428 | (WebCore::Console::groupEnd): |
| 2429 | (WebCore::Console::finishedProfiling): |
| 2430 | (WebCore::Console::warn): |
| 2431 | (WebCore::Console::framePage): |
| 2432 | * page/Console.h: |
| 2433 | |
darin@apple.com | 349e1eb | 2008-08-19 04:39:04 +0000 | [diff] [blame] | 2434 | 2008-08-12 Darin Adler <darin@apple.com> |
| 2435 | |
| 2436 | Reviewed by Geoff. |
| 2437 | |
| 2438 | - eliminate JSValue::type() |
| 2439 | |
| 2440 | * bridge/c/c_instance.cpp: |
| 2441 | (KJS::Bindings::CInstance::defaultValue): Take PreferredPrimitiveType |
| 2442 | argument instead of JSType argument. Removed unneeded code to handle |
| 2443 | boolean, since that's never passed. |
| 2444 | * bridge/c/c_instance.h: Ditto. |
| 2445 | |
| 2446 | * bridge/c/c_utility.cpp: |
| 2447 | (KJS::Bindings::convertValueToNPVariant): Use JSValue::is functions |
| 2448 | instead of JSValue::type(). Removed unneeded code to handle |
| 2449 | "unspecified". |
| 2450 | |
| 2451 | * bridge/jni/jni_instance.cpp: |
| 2452 | (JavaInstance::defaultValue): Take PreferredPrimitiveType argument |
| 2453 | instead of JSType argument. Removed unneeded code to handle boolean. |
| 2454 | * bridge/jni/jni_instance.h: Ditto. |
| 2455 | |
| 2456 | * bridge/jni/jni_jsobject.mm: |
| 2457 | (JavaJSObject::convertValueToJObject): Use JSValue::is functions |
| 2458 | instead of JSValue::type(). |
| 2459 | |
| 2460 | * bridge/objc/objc_instance.h: Take PreferredPrimitiveType argument |
| 2461 | instead of JSType argument. Removed unused argument. |
| 2462 | * bridge/objc/objc_instance.mm: |
| 2463 | (ObjcInstance::getValueOfUndefinedField): Removed unused argument. |
| 2464 | (ObjcInstance::defaultValue): Take PreferredPrimitiveType argument |
| 2465 | instead of JSType argument. Removed unneeded code to handle boolean |
| 2466 | and another dead code path for unknown types. |
| 2467 | |
| 2468 | * bridge/objc/objc_runtime.h: Take PreferredPrimitiveType argument |
| 2469 | instead of JSType argument. Removed override of type() that caused |
| 2470 | the fallback object to return "UndefinedType" when there is no |
| 2471 | invokeUndefinedMethodFromWebScript:withArguments: method defined. |
| 2472 | That didn't accomplish much, since most checks for undefined don't |
| 2473 | ever call type(). |
| 2474 | * bridge/objc/objc_runtime.mm: |
| 2475 | (ObjcFallbackObjectImp::defaultValue): Ditto. |
| 2476 | |
| 2477 | * bridge/qt/qt_instance.cpp: |
| 2478 | (KJS::Bindings::QtInstance::defaultValue): Take PreferredPrimitiveType |
| 2479 | argument instead of JSType argument. Removed unneeded code to handle |
| 2480 | boolean. |
| 2481 | * bridge/qt/qt_instance.h: Ditto. |
| 2482 | |
| 2483 | * bridge/runtime.h: |
| 2484 | (KJS::Bindings::Instance::getValueOfUndefinedField): Removed |
| 2485 | unsed argument. |
| 2486 | * bridge/runtime_object.cpp: |
| 2487 | (RuntimeObjectImp::defaultValue): Take PreferredPrimitiveType |
| 2488 | argument instead of JSType argument. |
| 2489 | * bridge/runtime_object.h: Ditto. |
| 2490 | |
britto@apple.com | af7f838 | 2008-08-19 00:42:13 +0000 | [diff] [blame] | 2491 | 2008-08-18 Maxime Britto <britto@apple.com> |
| 2492 | |
| 2493 | Reviewed by Adele. |
| 2494 | |
| 2495 | <rdar://6157207> Mouse pointer does not change when new window is opened after pan-scrolling original window |
| 2496 | Related to the discussion from rdar://6102511 , we should disable every key event (except for the esc key which stops the panning). |
| 2497 | We shouldn't be able to create another window while we are in pan scrolling. |
| 2498 | Other browsers behaviors : |
| 2499 | FF3 : Most of the keys are disabled, there is no way to create another window while in panscroll mode |
| 2500 | IE7 : Keys are not disabled but stops immediately the panning. |
| 2501 | This patch matches FF3 behavior by disabling every key but the esc key. |
| 2502 | |
| 2503 | * page/EventHandler.cpp: |
| 2504 | (WebCore::EventHandler::stopAutoscrollTimer): Change the cursor back to the regular arrow cursor when the pannning is stopped. |
| 2505 | (WebCore::EventHandler::keyEvent): When a key event is received while in panning or autoscroll we swallow the event early. |
| 2506 | |
mitz@apple.com | 12404d8 | 2008-08-19 00:20:38 +0000 | [diff] [blame] | 2507 | 2008-08-18 Dan Bernstein <mitz@apple.com> |
| 2508 | |
| 2509 | Reviewed by Dave Hyatt. |
| 2510 | |
| 2511 | - fix <rdar://problem/5862634> REGRESSION (3.1.1): In iChat, inline image not resizable past current size after another IM is received |
| 2512 | |
| 2513 | Test: fast/replaced/max-width-percent.html |
| 2514 | |
| 2515 | Added an includeMaxWidth boolean to RenderBox::calcReplaedWidth(). |
| 2516 | When false, max-width is not factored into the |
| 2517 | calculation. |
| 2518 | Changed RenderReplaced and subclasses' calcPrefWidths() to call |
| 2519 | calcReplacedWidth(false) and then apply max-width only if it has a |
| 2520 | fixed, positive value. |
| 2521 | |
| 2522 | * rendering/RenderBox.cpp: |
| 2523 | (WebCore::RenderBox::calcReplacedWidth): |
| 2524 | * rendering/RenderBox.h: |
| 2525 | * rendering/RenderImage.cpp: |
| 2526 | (WebCore::RenderImage::calcReplacedWidth): |
| 2527 | (WebCore::RenderImage::calcPrefWidths): |
| 2528 | * rendering/RenderImage.h: |
| 2529 | * rendering/RenderReplaced.cpp: |
| 2530 | (WebCore::RenderReplaced::calcPrefWidths): |
| 2531 | * rendering/RenderSVGRoot.cpp: |
| 2532 | (WebCore::RenderSVGRoot::calcPrefWidths): |
| 2533 | * rendering/RenderVideo.cpp: |
| 2534 | (WebCore::RenderVideo::calcReplacedWidth): |
| 2535 | (WebCore::RenderVideo::calcPrefWidths): |
| 2536 | * rendering/RenderVideo.h: |
| 2537 | |
mrowe@apple.com | ced8873 | 2008-08-18 22:47:28 +0000 | [diff] [blame] | 2538 | 2008-08-18 Daniel Macks <dmacks@netspace.org> |
| 2539 | |
| 2540 | Reviewed by Mark Rowe. |
| 2541 | |
| 2542 | https://bugs.webkit.org/show_bug.cgi?id=20410 |
| 2543 | More portable/self-documenting replacement for SIZE_MAX. |
| 2544 | |
| 2545 | * platform/network/curl/FormDataStreamCurl.cpp: |
| 2546 | (WebCore::FormDataStream::read): |
| 2547 | |
| 2548 | 2008-08-18 Simon Fraser <simon.fraser@apple.com> |
simon.fraser@apple.com | 6040db3 | 2008-08-18 22:11:10 +0000 | [diff] [blame] | 2549 | |
| 2550 | Reviewed by Dave Hyatt |
| 2551 | |
| 2552 | Need to make sure we have an Animation in the AnimationList |
| 2553 | before setting the initial value. |
| 2554 | https://bugs.webkit.org/show_bug.cgi?id=20408 |
| 2555 | |
| 2556 | Test: fast/css/transition_shorthand_parsing.html |
| 2557 | |
| 2558 | * css/CSSStyleSelector.cpp: |
| 2559 | |
kmccullough@apple.com | 64cb2fd | 2008-08-18 19:55:35 +0000 | [diff] [blame] | 2560 | 2008-08-18 Kevin McCullough <kmccullough@apple.com> |
| 2561 | |
kmccullough@apple.com | 707bd36 | 2008-08-18 20:21:57 +0000 | [diff] [blame] | 2562 | Reviewed by Tim. |
| 2563 | |
| 2564 | <rdar://problem/6150593> JSProfiler: Empty profiles disappear when there |
| 2565 | is another profile. |
| 2566 | |
| 2567 | * page/inspector/ProfilesPanel.js: |
| 2568 | |
| 2569 | 2008-08-18 Kevin McCullough <kmccullough@apple.com> |
| 2570 | |
kmccullough@apple.com | 64cb2fd | 2008-08-18 19:55:35 +0000 | [diff] [blame] | 2571 | Reviewed by Geoff. |
| 2572 | |
| 2573 | <rdar://problem/6150642> REGRESSION: Closing the Web Inspector clears |
| 2574 | all console messages |
| 2575 | |
| 2576 | * page/inspector/Console.js: |
| 2577 | |
jmalonzo@webkit.org | 5d1e048 | 2008-08-18 11:20:11 +0000 | [diff] [blame] | 2578 | 2008-08-18 Dirk Schulze <vbs85@gmx.de> |
| 2579 | |
| 2580 | Reviewed by Eric Seidel. |
| 2581 | |
| 2582 | Fixed Canvas for Cairo. Stroke and fill colors didn't work after |
| 2583 | the canvas clean up. |
| 2584 | |
| 2585 | https://bugs.webkit.org/show_bug.cgi?id=20405 |
| 2586 | |
| 2587 | * html/CanvasRenderingContext2D.cpp: |
| 2588 | (WebCore::CanvasRenderingContext2D::fill): |
| 2589 | (WebCore::CanvasRenderingContext2D::stroke): |
| 2590 | (WebCore::CanvasRenderingContext2D::fillRect): |
| 2591 | |
timothy@apple.com | c5e1f8d | 2008-08-18 03:21:46 +0000 | [diff] [blame] | 2592 | 2008-08-17 Timothy Hatcher <timothy@apple.com> |
| 2593 | |
| 2594 | Complete in scope variables in the Console when paused. |
| 2595 | |
| 2596 | https://bugs.webkit.org/show_bug.cgi?id=19115 |
| 2597 | |
| 2598 | Reviewed by Geoffrey Garen. |
| 2599 | |
| 2600 | * page/inspector/Console.js: |
| 2601 | (WebInspector.Console.prototype.completions): If the expressionString |
| 2602 | is null or empty and the debugger is paused, call variablesInScopeForSelectedCallFrame |
| 2603 | to get an object that declares all the in scope variables. That way |
| 2604 | "top level" expressions are completed. |
| 2605 | * page/inspector/ScriptsPanel.js: |
| 2606 | (WebInspector.ScriptsPanel.prototype.variablesInScopeForSelectedCallFrame): |
| 2607 | Return an object that has all the variables that are in scope for the |
| 2608 | selected call frame. The value of each property is just true. |
| 2609 | The return object is useful for quick lookups or auto completion. |
| 2610 | |
cwzwarich@webkit.org | ac71528 | 2008-08-17 21:34:46 +0000 | [diff] [blame] | 2611 | 2008-08-17 Cameron Zwarich <cwzwarich@uwaterloo.ca> |
| 2612 | |
| 2613 | Not reviewed. |
| 2614 | |
| 2615 | Speculative Qt build fix. |
| 2616 | |
| 2617 | * bridge/qt/qt_runtime.cpp: |
| 2618 | (KJS::Bindings::convertValueToQVariant): |
| 2619 | (KJS::Bindings::QtRuntimeMethod::QtRuntimeMethod): |
| 2620 | |
ggaren@apple.com | fea4353 | 2008-08-17 20:23:49 +0000 | [diff] [blame] | 2621 | 2008-08-17 Geoffrey Garen <ggaren@apple.com> |
| 2622 | |
| 2623 | Reviewed by Cameron Zwarich. |
ggaren@apple.com | 6e53d0a | 2008-08-17 20:28:37 +0000 | [diff] [blame] | 2624 | |
| 2625 | Updated project files to XCode 3.1. |
| 2626 | |
| 2627 | * manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj: |
| 2628 | |
| 2629 | 2008-08-17 Geoffrey Garen <ggaren@apple.com> |
| 2630 | |
| 2631 | Reviewed by Cameron Zwarich. |
ggaren@apple.com | fea4353 | 2008-08-17 20:23:49 +0000 | [diff] [blame] | 2632 | |
| 2633 | Made room for a free word in JSCell. |
| 2634 | |
| 2635 | Changed JSDOMWindowBase to store its auxiliary data in a subclass of |
| 2636 | JSGlobalData, so the two could share a pointer. |
| 2637 | |
| 2638 | Added a bunch of ASSERTs, to help catch over-sized objects. |
| 2639 | |
mrowe@apple.com | 1357029 | 2008-08-16 06:48:10 +0000 | [diff] [blame] | 2640 | 2008-08-15 Mark Rowe <mrowe@apple.com> |
| 2641 | |
mitz@apple.com | b96c1b9 | 2008-08-17 03:28:52 +0000 | [diff] [blame] | 2642 | Reviewed by Dan Bernstein. |
| 2643 | |
| 2644 | Disable dead code stripping in debug builds. |
| 2645 | |
| 2646 | * Configurations/Base.xcconfig: |
| 2647 | * WebCore.xcodeproj/project.pbxproj: |
| 2648 | |
| 2649 | 2008-08-15 Mark Rowe <mrowe@apple.com> |
| 2650 | |
mrowe@apple.com | 1357029 | 2008-08-16 06:48:10 +0000 | [diff] [blame] | 2651 | Rubber-stamped by Geoff Garen. |
| 2652 | |
| 2653 | <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework |
| 2654 | |
| 2655 | * Configurations/Base.xcconfig: Factor out the debug-only settings so that they can shared |
| 2656 | between the Debug configuration and debug Production variant. |
| 2657 | * WebCore.xcodeproj/project.pbxproj: Enable the debug variant. |
| 2658 | |
antti@apple.com | a05e8b0 | 2008-08-15 22:58:06 +0000 | [diff] [blame] | 2659 | 2008-08-15 Antti Koivisto <antti@apple.com> |
| 2660 | |
| 2661 | Reviewed by Anders. |
| 2662 | |
| 2663 | Don't start preloading body resources before the head is complete. This prevents |
| 2664 | body preloads from slowing down initial display when there is limited amount |
| 2665 | of bandwidth available. |
| 2666 | |
| 2667 | Works by queuing up found body preloads to DocLoader and only issuing them |
| 2668 | after document has rendering. |
| 2669 | |
| 2670 | With bandwidth capped to 300kbit/s this speeds up cnn.com initial display by ~25% or 5s |
| 2671 | without affecting complete load time. |
| 2672 | |
| 2673 | * html/PreloadScanner.cpp: |
| 2674 | (WebCore::PreloadScanner::PreloadScanner): |
| 2675 | (WebCore::PreloadScanner::scanningBody): |
| 2676 | (WebCore::PreloadScanner::emitTag): |
| 2677 | (WebCore::PreloadScanner::emitCSSRule): |
| 2678 | * html/PreloadScanner.h: |
| 2679 | * loader/DocLoader.cpp: |
| 2680 | (WebCore::DocLoader::preload): |
| 2681 | (WebCore::DocLoader::checkForPendingPreloads): |
| 2682 | (WebCore::DocLoader::requestPreload): |
| 2683 | * loader/DocLoader.h: |
| 2684 | * loader/loader.cpp: |
| 2685 | (WebCore::Loader::Host::didFinishLoading): |
| 2686 | (WebCore::Loader::Host::didFail): |
| 2687 | |
adachan@apple.com | 94ac38d | 2008-08-15 21:08:40 +0000 | [diff] [blame] | 2688 | 2008-08-15 Ada Chan <adachan@apple.com> |
| 2689 | |
| 2690 | Use item's computed style if the render style is 0 before falling back to the <select>'s style. |
| 2691 | This way style set on an <hr> within a <select> will be honored. |
| 2692 | |
| 2693 | Reviewed by Dave Hyatt and Dan Bernstein. |
| 2694 | |
| 2695 | * rendering/RenderMenuList.cpp: |
| 2696 | (WebCore::RenderMenuList::itemStyle): |
| 2697 | |
antti@apple.com | 9f791147 | 2008-08-15 20:48:06 +0000 | [diff] [blame] | 2698 | 2008-08-15 Antti Koivisto <antti@apple.com> |
| 2699 | |
| 2700 | Reviewed by Oliver. |
| 2701 | |
| 2702 | Some loader performance tweaks: |
| 2703 | - Make stylesheets highest priority instead of scripts. We block script execution on stylesheets. |
| 2704 | Especially if a stylesheet @imports other stylesheets it is important to get them to the front of the queue |
| 2705 | to not delay rendering. |
| 2706 | - Issue the first resource load for a host immediately even if the resource is low priority. TCP connection setup |
| 2707 | can take long time when latency is high so it is good to get started early. |
| 2708 | - When the document is fully parsed and stylesheets have been loaded there is no need to keep managing the |
| 2709 | load queues. Issue remaining loads to the network layer. |
| 2710 | |
| 2711 | * loader/loader.cpp: |
| 2712 | (WebCore::Loader::determinePriority): |
| 2713 | (WebCore::Loader::load): |
| 2714 | (WebCore::Loader::Host::servePendingRequests): |
| 2715 | * loader/loader.h: |
| 2716 | |
timothy@apple.com | 2d974c3 | 2008-08-15 18:35:39 +0000 | [diff] [blame] | 2717 | 2008-08-15 Timothy Hatcher <timothy@apple.com> |
| 2718 | |
| 2719 | Detach the script debugger when the Web Inspector's window closes. |
| 2720 | This has always been the intended design, but never fully implemented. |
| 2721 | |
| 2722 | https://bugs.webkit.org/show_bug.cgi?id=20402 |
| 2723 | |
| 2724 | Reviewed by Adam Roben. |
| 2725 | |
| 2726 | * page/InspectorController.cpp: |
| 2727 | (WebCore::InspectorController::setWindowVisible): Call stopDebugging() |
| 2728 | if the window is no longer visible. |
| 2729 | |
hausmann@webkit.org | bb4b914 | 2008-08-15 18:11:34 +0000 | [diff] [blame] | 2730 | 2008-08-15 HÃ¥vard Wall <hwall@trolltech.com> |
| 2731 | |
| 2732 | Reviewed by Simon. |
| 2733 | |
hausmann@webkit.org | 58144a7 | 2008-08-15 18:12:08 +0000 | [diff] [blame] | 2734 | Fixes: compile with QT_NO_CONTEXTMENU |
| 2735 | |
| 2736 | * platform/qt/PlatformMouseEventQt.cpp: |
| 2737 | (WebCore::PlatformMouseEvent::PlatformMouseEvent): |
| 2738 | * platform/qt/PlatformScrollBarQt.cpp: |
| 2739 | (WebCore::PlatformScrollbar::handleMouseMoveEvent): |
| 2740 | (WebCore::PlatformScrollbar::handleContextMenuEvent): |
| 2741 | |
| 2742 | 2008-08-15 HÃ¥vard Wall <hwall@trolltech.com> |
| 2743 | |
| 2744 | Reviewed by Simon. |
| 2745 | |
hausmann@webkit.org | bb4b914 | 2008-08-15 18:11:34 +0000 | [diff] [blame] | 2746 | Fixes: compile with QT_NO_WHEELEVENT |
| 2747 | |
| 2748 | * platform/qt/WheelEventQt.cpp: |
| 2749 | (WebCore::PlatformWheelEvent::PlatformWheelEvent): |
| 2750 | |
timothy@apple.com | 4889e61 | 2008-08-15 17:06:14 +0000 | [diff] [blame] | 2751 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 2752 | |
timothy@apple.com | d64639c | 2008-08-15 17:48:36 +0000 | [diff] [blame] | 2753 | Fixed Bug 20210: Console groups are incorrect when closing and reopening the Inspector |
| 2754 | |
| 2755 | https://bugs.webkit.org/show_bug.cgi?id=20210 |
| 2756 | |
| 2757 | Reviewed by Tim Hatcher. |
| 2758 | |
| 2759 | * page/Console.cpp: |
| 2760 | (WebCore::Console::group): |
| 2761 | (WebCore::Console::groupEnd): |
| 2762 | * page/Console.h: |
| 2763 | (WebCore::): Removed GroupTitleMessageLevel. Added StartGroupMessaageLevel and EndGroupMessageLevel. |
| 2764 | * page/InspectorController.cpp: |
| 2765 | (WebCore::InspectorController::startGroup): Increments group level by |
| 2766 | one and adds console message with StartGroupMessaageLevel. |
| 2767 | (WebCore::InspectorController::endGroup): Decrements group level by one |
| 2768 | and adds console message with EndGroupMessaageLevel. |
| 2769 | * page/InspectorController.h: |
| 2770 | * page/inspector/Console.js: |
| 2771 | (WebInspector.Console.prototype.addMessage): Creates new ConsoleGroup |
| 2772 | if the message is StartGroupMessaageLevel. |
| 2773 | (WebInspector.ConsoleMessage.prototype.toMessageElement): |
| 2774 | (WebInspector.ConsoleGroup.prototype.addMessage): |
| 2775 | * page/inspector/inspector.js: |
| 2776 | |
| 2777 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 2778 | |
timothy@apple.com | 7310b6a | 2008-08-15 17:35:22 +0000 | [diff] [blame] | 2779 | Adds support for console.dir to the Inspector |
| 2780 | |
| 2781 | https://bugs.webkit.org/show_bug.cgi?id=19155 |
| 2782 | |
| 2783 | Reviewed by Tim Hatcher. |
| 2784 | |
| 2785 | * bindings/js/JSConsoleCustom.cpp: |
| 2786 | (WebCore::JSConsole::dir): |
| 2787 | * page/Console.cpp: |
| 2788 | (WebCore::Console::dir): |
| 2789 | * page/Console.h: Added ObjectMessageLevel. |
| 2790 | * page/Console.idl: Added console.dir. |
| 2791 | * page/inspector/Console.js: |
| 2792 | (WebInspector.ConsoleMessage.prototypet.toMessageElement): Creates an |
| 2793 | ObjectPropertiesSection if the MessageLevel is Object. |
| 2794 | * page/inspector/ObjectPropertiesSection.js: "in" operator can't be |
| 2795 | used on primitive data types. |
| 2796 | * page/inspector/inspector.css: |
| 2797 | |
| 2798 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 2799 | |
timothy@apple.com | 4889e61 | 2008-08-15 17:06:14 +0000 | [diff] [blame] | 2800 | Adds support for clear() in the Inspector console. |
| 2801 | |
| 2802 | https://bugs.webkit.org/show_bug.cgi?id=19873 |
| 2803 | |
| 2804 | Reviewed by Tim Hatcher. |
| 2805 | |
| 2806 | * page/inspector/Console.js: |
| 2807 | |
timothy@apple.com | 12c5b5d | 2008-08-15 17:02:44 +0000 | [diff] [blame] | 2808 | 2008-08-15 Anthony Ricaud <rik24d@gmail.com> |
| 2809 | |
| 2810 | Cmd-F on Mac or Ctrl-F on other platforms now focus the search field. |
| 2811 | |
| 2812 | Platform distinction and modifier key matching adjusted |
| 2813 | by Daniel Jalkut <jalkut@red-sweater.com> |
| 2814 | |
| 2815 | Bug 16313: text search (find) keybindings should work in the Web Inspector |
| 2816 | https://bugs.webkit.org/show_bug.cgi?id=16313 |
| 2817 | |
| 2818 | Reviewed by Tim Hatcher. |
| 2819 | |
| 2820 | * page/inspector/inspector.js: Added a case for the F key |
| 2821 | |
timothy@apple.com | a5ba439 | 2008-08-15 16:50:26 +0000 | [diff] [blame] | 2822 | 2008-08-15 Keishi Hattori <casey.hattori@gmail.com> |
| 2823 | |
| 2824 | Fix for error when the string doesn't contain a webkit-profile link. |
| 2825 | |
| 2826 | https://bugs.webkit.org/show_bug.cgi?id=20399 |
| 2827 | |
| 2828 | Reviewed by Tim Hatcher. |
| 2829 | |
| 2830 | * page/inspector/inspector.js: |
| 2831 | |
timothy@apple.com | 895b265 | 2008-08-15 16:33:27 +0000 | [diff] [blame] | 2832 | 2008-08-15 Timothy Hatcher <timothy@apple.com> |
| 2833 | |
| 2834 | Fixes two bugs where JavaScript could be executed from the page |
| 2835 | while the debugger is paused. |
| 2836 | |
| 2837 | The first issue was JSLazyEventListener not checking the paused |
| 2838 | state before parsing the code. |
| 2839 | |
| 2840 | The second issue was with the PageGroup version of |
| 2841 | JavaScriptDebugServer::setJavaScriptPaused always passing false |
| 2842 | to the Page version of JavaScriptDebugServer::setJavaScriptPaused, |
| 2843 | and not the paused argument. |
| 2844 | |
| 2845 | https://bugs.webkit.org/show_bug.cgi?id=20284 |
| 2846 | |
| 2847 | Reviewed by Adam Roben. |
| 2848 | |
| 2849 | * bindings/js/JSEventListener.cpp: |
| 2850 | (WebCore::JSLazyEventListener::parseCode): Check the paused |
| 2851 | state of the ScriptController. Return early if paused. |
| 2852 | * manual-tests/inspector/debugger-execution-while-paused.html: Added. |
| 2853 | * page/JavaScriptDebugServer.cpp: |
| 2854 | (WebCore::JavaScriptDebugServer::setJavaScriptPaused): |
| 2855 | Pass the paused argument to the Page version of setJavaScriptPaused. |
| 2856 | |
ap@webkit.org | be495d3 | 2008-08-15 07:43:48 +0000 | [diff] [blame] | 2857 | 2008-08-15 Alexey Proskuryakov <ap@webkit.org> |
| 2858 | |
| 2859 | Reviewed by Geoff Garen. |
| 2860 | |
| 2861 | JSStringRef is created context-free, but can get linked to one via an identifier table, |
| 2862 | breaking an implicit API contract. |
| 2863 | |
| 2864 | * page/InspectorController.cpp: |
| 2865 | (WebCore::jsStringRef): |
| 2866 | (WebCore::InspectorController::didParseSource): |
| 2867 | (WebCore::InspectorController::failedToParseSource): |
| 2868 | * page/JavaScriptProfile.cpp: |
| 2869 | (WebCore::getTitleCallback): |
| 2870 | Updated for JavaScriptCore changes. |
| 2871 | |
kevino@webkit.org | 8fe09ff | 2008-08-15 05:10:57 +0000 | [diff] [blame] | 2872 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
| 2873 | |
| 2874 | wx !USE(WXGC) build fix. This is necessary until we find a way to replace GDI with |
| 2875 | an alternative that performs reasonably well. (GDI+ is too slow in many cases.) |
| 2876 | |
| 2877 | * platform/graphics/AffineTransform.h: |
| 2878 | |
adele@apple.com | 2b2e2f8 | 2008-08-15 00:53:36 +0000 | [diff] [blame] | 2879 | 2008-08-14 Eric Carlson <eric.carlson@apple.com> |
| 2880 | |
| 2881 | Reviewed by Adele. |
| 2882 | |
| 2883 | Fix for https://bugs.webkit.org/show_bug.cgi?id=20388 |
| 2884 | <video> elements on Windows never becomes visible when a page is restored from the cache |
| 2885 | |
| 2886 | Always pass "set" calls down to MediaPlayerPrivate instead of only when the |
| 2887 | value is different from the cached value. Let the implementation decide when |
| 2888 | to avoid work because nothing has changed. |
| 2889 | |
| 2890 | * platform/graphics/MediaPlayer.cpp: |
| 2891 | (WebCore::MediaPlayer::setVolume): |
| 2892 | (WebCore::MediaPlayer::setRate): |
| 2893 | (WebCore::MediaPlayer::setRect): |
| 2894 | (WebCore::MediaPlayer::setVisible): |
| 2895 | |
timothy@apple.com | da810f4 | 2008-08-14 23:57:14 +0000 | [diff] [blame] | 2896 | 2008-08-14 Keishi Hattori <casey.hattori@gmail.com> |
| 2897 | |
| 2898 | Make Firebug command line API respect predefined variables. |
| 2899 | |
timothy@apple.com | 90751f0 | 2008-08-14 23:58:19 +0000 | [diff] [blame] | 2900 | https://bugs.webkit.org/show_bug.cgi?id=20385 |
| 2901 | |
timothy@apple.com | da810f4 | 2008-08-14 23:57:14 +0000 | [diff] [blame] | 2902 | Reviewed by Tim Hatcher. |
| 2903 | |
| 2904 | * page/inspector/Console.js: |
| 2905 | |
weinig@apple.com | 4b51d00 | 2008-08-14 23:33:22 +0000 | [diff] [blame] | 2906 | 2008-08-14 Sam Weinig <sam@webkit.org> |
| 2907 | |
| 2908 | Reviewed by Geoffrey Garen and Timothy Hatcher. |
| 2909 | |
| 2910 | Allow programatically setting the HTMLTokenizers time delay and chunk size |
| 2911 | which are used for determining how aggressively we yield. |
| 2912 | |
| 2913 | * WebCore.base.exp: |
| 2914 | * html/HTMLTokenizer.cpp: |
| 2915 | (WebCore::HTMLTokenizer::begin): |
| 2916 | (WebCore::HTMLTokenizer::continueProcessing): |
| 2917 | * html/HTMLTokenizer.h: |
| 2918 | * page/Page.cpp: |
| 2919 | (WebCore::Page::Page): |
| 2920 | (WebCore::Page::setCustomHTMLTokenizerTimeDelay): |
| 2921 | (WebCore::Page::setCustomHTMLTokenizerChunkSize): |
| 2922 | * page/Page.h: |
| 2923 | (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): |
| 2924 | (WebCore::Page::customHTMLTokenizerTimeDelay): |
| 2925 | (WebCore::Page::hasCustomHTMLTokenizerChunkSize): |
| 2926 | (WebCore::Page::customHTMLTokenizerChunkSize): |
| 2927 | |
eric@webkit.org | 89613d2 | 2008-08-14 23:19:17 +0000 | [diff] [blame] | 2928 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 2929 | |
eric@webkit.org | 7e897c3 | 2008-08-14 23:20:00 +0000 | [diff] [blame] | 2930 | Reviewed by Beth. |
| 2931 | |
| 2932 | Move us one step closer to cross-platform svg/graphics code |
| 2933 | |
| 2934 | * WebCore.xcodeproj/project.pbxproj: |
| 2935 | * html/CanvasStyle.cpp: |
| 2936 | * platform/graphics/Color.cpp: |
| 2937 | (WebCore::colorWithOverrideAlpha): |
| 2938 | * platform/graphics/Color.h: |
| 2939 | * svg/graphics/cg/CgSupport.cpp: |
| 2940 | (WebCore::applyStrokeStyleToContext): |
| 2941 | (WebCore::strokeBoundingBox): |
| 2942 | * svg/graphics/cg/SVGPaintServerSolidCg.cpp: |
| 2943 | (WebCore::SVGPaintServerSolid::setup): |
| 2944 | |
| 2945 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 2946 | |
eric@webkit.org | 4f49065 | 2008-08-14 23:19:31 +0000 | [diff] [blame] | 2947 | Reviewed by Alexey. |
| 2948 | |
eric@webkit.org | 73fa9d1 | 2008-08-14 23:19:44 +0000 | [diff] [blame] | 2949 | Remove un-need includes from HTMLCanvas and use the |
| 2950 | Gradient platform abstraction in one place in CanvasStyle |
| 2951 | |
| 2952 | * html/CanvasRenderingContext2D.cpp: |
| 2953 | (WebCore::CanvasRenderingContext2D::fillRect): |
| 2954 | * html/CanvasStyle.cpp: |
| 2955 | * html/HTMLCanvasElement.cpp: |
| 2956 | |
| 2957 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 2958 | |
| 2959 | Reviewed by Alexey. |
| 2960 | |
eric@webkit.org | 4f49065 | 2008-08-14 23:19:31 +0000 | [diff] [blame] | 2961 | Clean up GlyphBuffer.h, removing more #ifdefs |
| 2962 | |
| 2963 | * platform/graphics/GlyphBuffer.h: |
| 2964 | (WebCore::GlyphBuffer::glyphAt): |
| 2965 | (WebCore::GlyphBuffer::advanceAt): |
| 2966 | (WebCore::GlyphBuffer::add): |
| 2967 | |
| 2968 | 2008-08-14 Eric Seidel <eric@webkit.org> |
| 2969 | |
eric@webkit.org | 89613d2 | 2008-08-14 23:19:17 +0000 | [diff] [blame] | 2970 | Reviewed by Sam. |
| 2971 | |
| 2972 | Clean up AffineTransform.h, removing #ifdefs |
| 2973 | |
| 2974 | * platform/graphics/AffineTransform.h: |
| 2975 | * platform/graphics/cairo/AffineTransformCairo.cpp: |
| 2976 | * platform/graphics/cg/AffineTransformCG.cpp: |
| 2977 | * platform/graphics/qt/AffineTransformQt.cpp: |
| 2978 | * platform/graphics/wx/AffineTransformWx.cpp: |
| 2979 | |
mitz@apple.com | 551d625 | 2008-08-14 23:08:09 +0000 | [diff] [blame] | 2980 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
| 2981 | |
mitz@apple.com | 94c1a7d | 2008-08-14 23:12:34 +0000 | [diff] [blame] | 2982 | - fix non-CG builds by adding an ImageSource::frameSizeAtIndex() that returns size(). |
| 2983 | |
| 2984 | * platform/graphics/cairo/ImageSourceCairo.cpp: |
| 2985 | (WebCore::ImageSource::frameSizeAtIndex): |
| 2986 | * platform/graphics/qt/ImageSourceQt.cpp: |
| 2987 | (WebCore::ImageSource::frameSizeAtIndex): |
| 2988 | * platform/graphics/wx/ImageSourceWx.cpp: |
| 2989 | (WebCore::ImageSource::frameSizeAtIndex): |
| 2990 | |
| 2991 | 2008-08-14 Dan Bernstein <mitz@apple.com> |
| 2992 | |
mitz@apple.com | 551d625 | 2008-08-14 23:08:09 +0000 | [diff] [blame] | 2993 | Reviewed by Brady Eidson. |
| 2994 | |
| 2995 | - fix <rdar://problem/5993323> REGRESSION (r34210): Apple.com favicon appears stretched/clipped |
| 2996 | |
| 2997 | * platform/graphics/BitmapImage.cpp: |
| 2998 | (WebCore::BitmapImage::BitmapImage): Added initialization of |
| 2999 | m_hasUniformFrameSize. |
| 3000 | (WebCore::BitmapImage::cacheFrame): Added code to get the size of the |
| 3001 | cached frame for use in decoded size computation and for setting |
| 3002 | m_hasUniformFrameSize. |
| 3003 | (WebCore::BitmapImage::currentFrameSize): Added. |
| 3004 | (WebCore::BitmapImage::dataChanged): Added code to reset |
| 3005 | m_hasUniformFrameSize. |
| 3006 | * platform/graphics/BitmapImage.h: Added currentFrameSize() and |
| 3007 | m_hasUniformFrameSize. |
| 3008 | * platform/graphics/ImageSource.h: Added frameSizeAtIndex(). |
| 3009 | * platform/graphics/cg/ImageCG.cpp: |
| 3010 | (WebCore::BitmapImage::draw): Changed to use currentFrameSize(). This |
| 3011 | fixes the bug, which resulted from assuming that the frame being drawn |
| 3012 | was the same size as the first frame. |
| 3013 | * platform/graphics/cg/ImageSourceCG.cpp: |
| 3014 | (WebCore::ImageSource::frameSizeAtIndex): Renamed size() to this and |
| 3015 | changed to get the size of the frame at the given index. |
| 3016 | (WebCore::ImageSource::size): Added. Returns frameSizeAtIndex(0). |
| 3017 | |
simon.fraser@apple.com | 50954e5 | 2008-08-14 23:04:41 +0000 | [diff] [blame] | 3018 | 2008-08-13 Simon Fraser <simon.fraser@apple.com> |
| 3019 | |
| 3020 | Reviewed by Eric Seidel |
| 3021 | |
| 3022 | Fix @font-face inside @media rule crash. |
| 3023 | https://bugs.webkit.org/show_bug.cgi?id=20367 |
| 3024 | |
| 3025 | Test: fast/css/font-face-in-media-rule.html |
| 3026 | |
| 3027 | * css/CSSStyleSelector.cpp: |
| 3028 | (WebCore::CSSRuleSet::addRulesFromSheet): |
| 3029 | |
kevino@webkit.org | 141c460 | 2008-08-14 22:52:55 +0000 | [diff] [blame] | 3030 | 2008-08-14 Kevin Ollivier <kevino@theolliviers.com> |
| 3031 | |
| 3032 | wx build fixes after recent changes to Canvas and Image classes. |
| 3033 | |
| 3034 | * platform/graphics/Pattern.h: |
| 3035 | * platform/graphics/wx/GradientWx.cpp: |
| 3036 | (WebCore::Gradient::fill): |
| 3037 | * platform/graphics/wx/GraphicsContextWx.cpp: |
| 3038 | (WebCore::GraphicsContext::applyFillPattern): |
| 3039 | (WebCore::GraphicsContext::applyStrokePattern): |
| 3040 | * platform/graphics/wx/ImageBufferWx.cpp: |
| 3041 | (WebCore::ImageBuffer::image): |
| 3042 | * platform/graphics/wx/ImageWx.cpp: |
| 3043 | (WebCore::Image::loadPlatformResource): |
| 3044 | |
britto@apple.com | d700866 | 2008-08-14 19:26:02 +0000 | [diff] [blame] | 3045 | 2008-08-14 Maxime Britto <britto@apple.com> |
| 3046 | |
| 3047 | Reviewed by Sam Weinig. |
| 3048 | |
| 3049 | rdar://6102511 |
| 3050 | When pan-scrolling, typing on the keyboard should either stop the pan scroll or be ignored |
| 3051 | IE and FF are both preventing the keyboard event to interact with the page while scrolling. |
| 3052 | Some differences exist between them concerning the kind of key which is pressed : |
| 3053 | IE7 : every key leads to a stop of the panning |
| 3054 | FF3 : the ESC and TAB keys leads to a stop, the other keys are inactive. |
| 3055 | For WebKit this patch is adopting the FF3 behavior except for the TAB key which is inactive too. |
| 3056 | |
| 3057 | * page/EventHandler.cpp: |
| 3058 | (WebCore::EventHandler::keyEvent): Verifies which key has been hit and decide either to stop the pan scroll or to swallow the key event. |
| 3059 | |
christian@webkit.org | 0e20f32 | 2008-08-14 19:14:47 +0000 | [diff] [blame] | 3060 | 2008-08-14 Christian Dywan <christian@twotoasts.de> |
| 3061 | |
| 3062 | Gtk+/ Cairo build fix, patch by Dirk Schulze. |
| 3063 | |
| 3064 | * html/CanvasStyle.cpp: |
| 3065 | * platform/graphics/cairo/PatternCairo.cpp: |
| 3066 | (WebCore::Pattern::createPlatformPattern): |
| 3067 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
| 3068 | |
kmccullough@apple.com | d2b50f1 | 2008-08-14 18:11:20 +0000 | [diff] [blame] | 3069 | 2008-08-14 Kevin McCullough <kmccullough@apple.com> |
| 3070 | |
| 3071 | Reviewed by Tim. |
| 3072 | |
| 3073 | <rdar://problem/6115819> Notify of profile in console |
| 3074 | |
| 3075 | * page/InspectorController.cpp: |
| 3076 | (WebCore::InspectorController::addProfile): |
| 3077 | (WebCore::InspectorController::addProfileMessageToConsole): Called by |
| 3078 | addProfile this is the function that adds a message to the console that |
| 3079 | a profile finished. |
| 3080 | * page/InspectorController.h: |
| 3081 | * page/JavaScriptProfile.cpp: Expose the profiler's unique ID to match |
| 3082 | the console log to the profile in the web inspector. |
| 3083 | (WebCore::getUniqueIdCallback): |
| 3084 | (WebCore::ProfileClass): |
| 3085 | * page/inspector/ProfilesPanel.js: Created a map of all the profiles by |
| 3086 | Id to bring up the requested profile. Also select and reveal the |
| 3087 | profile in the profile panel. And created displayTitleForProfileLink() |
| 3088 | which formats a title taking into account if it's user initiated or if |
| 3089 | there are multiples. Lasty, I put the user initiated profile in a |
| 3090 | variable. |
| 3091 | * page/inspector/inspector.js: Make the profile title be a clickable |
| 3092 | link that will take the user to the identified profile. Also expose |
| 3093 | the count of user initiated profiles so they can be displayed in the |
| 3094 | console with the correct count. |
| 3095 | |
timothy@apple.com | cd7f0f3 | 2008-08-14 17:41:05 +0000 | [diff] [blame] | 3096 | 2008-08-14 Timothy Hatcher <timothy@apple.com> |
| 3097 | |
| 3098 | Avoid formating ConsoleMessages twice unless the message will be |
| 3099 | displayed in bubbles of a SourceFrame. |
| 3100 | |
| 3101 | Reviewed by Kevin McCullough. |
| 3102 | |
| 3103 | * page/inspector/Console.js: |
| 3104 | (WebInspector.ConsoleMessage): Only format the plain text message |
| 3105 | if the URL and line are valid and the level is error or warning. |
| 3106 | (WebInspector.ConsoleMessage.prototype.isErrorOrWarning): Added. |
| 3107 | Helper to test for error or warning level. |
| 3108 | * page/inspector/SourceFrame.js: |
| 3109 | (WebInspector.SourceFrame.prototype.addMessage): Don't add the |
| 3110 | message if there is no message or valid line or if the msg |
| 3111 | isn't an error or warning. |
| 3112 | |
jmalonzo@webkit.org | b469bb7 | 2008-08-14 15:07:41 +0000 | [diff] [blame] | 3113 | 2008-08-14 Jan Michael Alonzo <jmalonzo@webkit.org> |
| 3114 | |
| 3115 | partial Gtk build fix, not reviewed |
| 3116 | |
| 3117 | * platform/graphics/cairo/PatternCairo.cpp: |
| 3118 | |
weinig@apple.com | 45e8314 | 2008-08-14 04:49:30 +0000 | [diff] [blame] | 3119 | 2008-08-13 Sam Weinig <sam@webkit.org> |
| 3120 | |
| 3121 | Reviewed by Anders Carlson. |
| 3122 | |
| 3123 | Fix style issue. |
| 3124 | |
| 3125 | * html/HTMLMediaElement.cpp: |
| 3126 | (WebCore::HTMLMediaElement::pickMedia): |
| 3127 | |
zimmermann@webkit.org | 9ae47e9 | 2008-08-14 02:22:35 +0000 | [diff] [blame] | 3128 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 3129 | |
zimmermann@webkit.org | 7a2f53d | 2008-08-14 03:06:01 +0000 | [diff] [blame] | 3130 | Build fix for Cairo, not reviewed. (exposed by gtk build slave) |
| 3131 | Continue Erics build fixes, after the Image cleanup. |
| 3132 | |
| 3133 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
| 3134 | (WebCore::ImageBuffer::image): |
| 3135 | |
| 3136 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 3137 | |
zimmermann@webkit.org | 1ef5213 | 2008-08-14 02:38:16 +0000 | [diff] [blame] | 3138 | Build fix for Qt, not reviewed. |
| 3139 | Don't declare eventuallyMarkAsParserCreated in a block wrapped by !USE_QXMLSTREAM. |
| 3140 | |
| 3141 | * dom/XMLTokenizer.cpp: |
| 3142 | (WebCore::eventuallyMarkAsParserCreated): Was erre |
| 3143 | |
| 3144 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 3145 | |
zimmermann@webkit.org | 3e56056 | 2008-08-14 02:26:00 +0000 | [diff] [blame] | 3146 | Build fix, not reviewed. |
| 3147 | Add ScriptElement.cpp to Gtk build. |
| 3148 | |
| 3149 | * GNUmakefile.am: |
| 3150 | |
| 3151 | 2008-08-13 Nikolas Zimmermann <zimmermann@kde.org> |
| 3152 | |
zimmermann@webkit.org | 9ae47e9 | 2008-08-14 02:22:35 +0000 | [diff] [blame] | 3153 | Reviewed by Eric. |
| 3154 | |
| 3155 | Fixes: https://bugs.webkit.org/show_bug.cgi?id=20372 |
| 3156 | |
| 3157 | Refactor HTMLScriptElement's code into a common base class: ScriptElement. |
| 3158 | SVGScriptElement will be converted to use ScriptElement in a follow-up patch. |
| 3159 | |
| 3160 | This resolves code duplications and allows us to completly replace the old |
| 3161 | SVGScriptElement (which doesn't use CachedScript, no dynamic injected scripts etc..) |
| 3162 | |
| 3163 | As ScriptElement, doesn't actually inherit from Element, we may want to rename |
| 3164 | it, though StyleElement uses the same naming convention, so I left it as is for now. |
| 3165 | Eventually we'll rename both files in future. |
| 3166 | |
| 3167 | No functional changes yet, as SVGScriptElement doesn't yet use the new base class. |
| 3168 | |
| 3169 | * WebCore.pro: Add new ScriptElement.cpp to build. |
| 3170 | * WebCore.vcproj/WebCore.vcproj: Ditto. |
| 3171 | * WebCore.xcodeproj/project.pbxproj: Ditto. |
| 3172 | * WebCoreSources.bkl: Dutto. |
| 3173 | * dom/ScriptElement.cpp: Added. 1:1 based on HTMLScriptElement |
| 3174 | (WebCore::ScriptElement::insertedIntoDocument): |
| 3175 | (WebCore::ScriptElement::removedFromDocument): |
| 3176 | (WebCore::ScriptElement::childrenChanged): |
| 3177 | (WebCore::ScriptElement::finishParsingChildren): |
| 3178 | (WebCore::ScriptElement::handleSourceAttribute): |
| 3179 | (WebCore::isSupportedJavaScriptLanguage): |
| 3180 | (WebCore::ScriptElementData::ScriptElementData): |
| 3181 | (WebCore::ScriptElementData::~ScriptElementData): |
| 3182 | (WebCore::ScriptElementData::requestScript): |
| 3183 | (WebCore::ScriptElementData::evaluateScript): |
| 3184 | (WebCore::ScriptElementData::stopLoadRequest): |
| 3185 | (WebCore::ScriptElementData::notifyFinished): |
| 3186 | (WebCore::ScriptElementData::ignoresLoadRequest): |
| 3187 | (WebCore::ScriptElementData::shouldExecuteAsJavaScript): |
| 3188 | (WebCore::ScriptElementData::scriptCharset): |
| 3189 | (WebCore::ScriptElementData::scriptContent): |
| 3190 | * dom/ScriptElement.h: Added. |
| 3191 | (WebCore::ScriptElement::ScriptElement): |
| 3192 | (WebCore::ScriptElement::~ScriptElement): |
| 3193 | (WebCore::ScriptElementData::element): |
| 3194 | (WebCore::ScriptElementData::createdByParser): |
| 3195 | (WebCore::ScriptElementData::setCreatedByParser): |
| 3196 | * dom/XMLTokenizer.cpp: |
| 3197 | (WebCore::isScriptElement): |
| 3198 | (WebCore::castToScriptElement): |
| 3199 | (WebCore::eventuallyMarkAsParserCreated): |
| 3200 | (WebCore::XMLTokenizer::startElementNs): |
| 3201 | (WebCore::XMLTokenizer::endElementNs): |
| 3202 | (WebCore::createXHTMLParserErrorHeader): |
| 3203 | (WebCore::XMLTokenizer::insertErrorMessageBlock): |
| 3204 | * html/HTMLScriptElement.cpp: Refactored code, pushed most code down to ScriptElement. |
| 3205 | (WebCore::HTMLScriptElement::HTMLScriptElement): |
| 3206 | (WebCore::HTMLScriptElement::~HTMLScriptElement): |
| 3207 | (WebCore::HTMLScriptElement::isURLAttribute): |
| 3208 | (WebCore::HTMLScriptElement::setCreatedByParser): |
| 3209 | (WebCore::HTMLScriptElement::shouldExecuteAsJavaScript): |
| 3210 | (WebCore::HTMLScriptElement::childrenChanged): |
| 3211 | (WebCore::HTMLScriptElement::parseMappedAttribute): |
| 3212 | (WebCore::HTMLScriptElement::finishParsingChildren): |
| 3213 | (WebCore::HTMLScriptElement::insertedIntoDocument): |
| 3214 | (WebCore::HTMLScriptElement::removedFromDocument): |
| 3215 | (WebCore::HTMLScriptElement::text): |
| 3216 | (WebCore::HTMLScriptElement::setText): |
| 3217 | (WebCore::HTMLScriptElement::setHtmlFor): |
| 3218 | (WebCore::HTMLScriptElement::setEvent): |
| 3219 | (WebCore::HTMLScriptElement::charset): |
| 3220 | (WebCore::HTMLScriptElement::src): |
| 3221 | (WebCore::HTMLScriptElement::type): |
| 3222 | (WebCore::HTMLScriptElement::scriptCharset): |
| 3223 | (WebCore::HTMLScriptElement::scriptContent): |
| 3224 | (WebCore::HTMLScriptElement::sourceAttributeValue): |
| 3225 | (WebCore::HTMLScriptElement::charsetAttributeValue): |
| 3226 | (WebCore::HTMLScriptElement::typeAttributeValue): |
| 3227 | (WebCore::HTMLScriptElement::languageAttributeValue): |
| 3228 | (WebCore::HTMLScriptElement::dispatchLoadEvent): |
| 3229 | (WebCore::HTMLScriptElement::dispatchErrorEvent): |
| 3230 | * html/HTMLScriptElement.h: |
| 3231 | * svg/SVGScriptElement.cpp: Inherit from ScriptElement, don't actually use it yet. |
| 3232 | * svg/SVGScriptElement.cpp: |
| 3233 | (WebCore::SVGScriptElement::SVGScriptElement): |
| 3234 | (WebCore::SVGScriptElement::scriptContent): |
| 3235 | (WebCore::SVGScriptElement::sourceAttributeValue): |
| 3236 | (WebCore::SVGScriptElement::charsetAttributeValue): |
| 3237 | (WebCore::SVGScriptElement::typeAttributeValue): |
| 3238 | (WebCore::SVGScriptElement::languageAttributeValue): |
| 3239 | (WebCore::SVGScriptElement::dispatchLoadEvent): |
| 3240 | (WebCore::SVGScriptElement::dispatchErrorEvent): |
| 3241 | * svg/SVGScriptElement.h: |
| 3242 | (WebCore::SVGScriptElement::setCreatedByParser): |
| 3243 | |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 3244 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3245 | |
eric@webkit.org | 3562c59 | 2008-08-14 02:17:29 +0000 | [diff] [blame] | 3246 | Attempt to fix the Gtk build, no review. |
| 3247 | |
| 3248 | I removed the bogus GraphicsContext::translatePoint() hack for Gtk in the process. |
| 3249 | |
| 3250 | * platform/graphics/GraphicsContext.h: |
| 3251 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 3252 | * platform/graphics/qt/GradientQt.cpp: |
| 3253 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 3254 | * platform/gtk/RenderThemeGtk.cpp: |
| 3255 | (WebCore::paintMozWidget): |
| 3256 | |
| 3257 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3258 | |
eric@webkit.org | 2ec4207 | 2008-08-14 02:03:09 +0000 | [diff] [blame] | 3259 | Yet another attempt to fix the Qt build, no review. |
| 3260 | |
| 3261 | * platform/graphics/qt/GradientQt.cpp: |
| 3262 | * platform/graphics/qt/GraphicsContextQt.cpp: |
| 3263 | (WebCore::GraphicsContext::applyStrokePattern): |
| 3264 | (WebCore::GraphicsContext::applyFillPattern): |
| 3265 | |
| 3266 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3267 | |
| 3268 | Attempt to fix the Windows build, no review. |
| 3269 | |
| 3270 | * platform/win/CursorWin.cpp: |
| 3271 | (WebCore::loadCursorByName): |
| 3272 | * platform/win/ScrollViewWin.cpp: |
| 3273 | (WebCore::ScrollView::paint): |
| 3274 | |
| 3275 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3276 | |
eric@webkit.org | 508c028 | 2008-08-14 01:29:34 +0000 | [diff] [blame] | 3277 | Attempt to fix the Windows build, no review. |
| 3278 | |
| 3279 | * platform/win/CursorWin.cpp: |
| 3280 | (WebCore::loadCursorByName): |
| 3281 | * platform/win/ScrollViewWin.cpp: |
| 3282 | (WebCore::ScrollView::paint): |
| 3283 | |
| 3284 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3285 | |
eric@webkit.org | 1bf70ab | 2008-08-14 01:24:15 +0000 | [diff] [blame] | 3286 | Attempt to fix the Qt build, no review. |
| 3287 | |
| 3288 | * platform/graphics/qt/ImageBufferQt.cpp: |
| 3289 | (WebCore::ImageBuffer::image): |
| 3290 | |
| 3291 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3292 | |
eric@webkit.org | f2d7c21 | 2008-08-14 01:21:34 +0000 | [diff] [blame] | 3293 | Attempt to fix the Windows build, no review. |
| 3294 | |
| 3295 | * platform/graphics/win/ImageWin.cpp: |
| 3296 | (WebCore::Image::loadPlatformResource): |
| 3297 | * plugins/win/PluginViewWin.cpp: |
| 3298 | (WebCore::PluginView::paintMissingPluginIcon): |
| 3299 | |
| 3300 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3301 | |
eric@webkit.org | ac3f666 | 2008-08-14 01:15:50 +0000 | [diff] [blame] | 3302 | Another attempt to fix the Qt build, no review. |
| 3303 | |
| 3304 | * platform/graphics/qt/ImageQt.cpp: |
| 3305 | * platform/graphics/qt/StillImageQt.h: |
| 3306 | |
| 3307 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3308 | |
eric@webkit.org | 31e0d81 | 2008-08-14 01:05:42 +0000 | [diff] [blame] | 3309 | No review, build fix only. |
| 3310 | |
| 3311 | Fix mac build, due to change in new code since my patch was written. |
| 3312 | |
| 3313 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 3314 | (WebCore::SVGResourceMasker::applyMask): |
| 3315 | |
| 3316 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3317 | |
eric@webkit.org | a20a003 | 2008-08-14 00:42:54 +0000 | [diff] [blame] | 3318 | Build fix only, no review. |
| 3319 | |
| 3320 | Attempt to fix the Qt build. |
| 3321 | |
eric@webkit.org | 923255c | 2008-08-14 00:59:20 +0000 | [diff] [blame] | 3322 | * platform/graphics/qt/ImageBufferQt.cpp: |
| 3323 | * platform/graphics/qt/StillImageQt.h: |
| 3324 | (WebCore::StillImage::create): |
| 3325 | (WebCore::StillImage::destroyDecodedData): |
| 3326 | (WebCore::StillImage::decodedSize): |
| 3327 | |
| 3328 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3329 | |
| 3330 | Build fix only, no review. |
| 3331 | |
| 3332 | Attempt to fix the Qt build. |
| 3333 | |
eric@webkit.org | a20a003 | 2008-08-14 00:42:54 +0000 | [diff] [blame] | 3334 | * html/CanvasStyle.cpp: |
| 3335 | (WebCore::CanvasStyle::applyStrokeColor): |
| 3336 | (WebCore::CanvasStyle::applyFillColor): |
| 3337 | |
| 3338 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3339 | |
eric@webkit.org | 4aca3be | 2008-08-14 00:30:04 +0000 | [diff] [blame] | 3340 | Reviewed by Sam. |
| 3341 | |
| 3342 | Match HTML5 spec by throwing INVALID_STATE_ERR when |
| 3343 | createPattern is called and the HTMLImageElement is not |
| 3344 | yet done loading the image (!isComplete) |
| 3345 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 3346 | |
| 3347 | Test: http/misc/canvas-pattern-from-incremental-image.html |
| 3348 | |
| 3349 | * html/CanvasRenderingContext2D.cpp: |
| 3350 | (WebCore::CanvasRenderingContext2D::createPattern): |
| 3351 | |
| 3352 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3353 | |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 3354 | Reviewed by Niko. |
| 3355 | |
eric@webkit.org | f0124f6 | 2008-08-14 00:29:50 +0000 | [diff] [blame] | 3356 | Split out a Pattern class from CanvasPattern |
| 3357 | and remove all the Pattern-related #ifdefs |
| 3358 | (This will break non-mac platforms! I will fix them.) |
| 3359 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 3360 | |
| 3361 | * GNUmakefile.am: |
| 3362 | * WebCore.pro: |
| 3363 | * WebCore.vcproj/WebCore.vcproj: |
| 3364 | * WebCore.xcodeproj/project.pbxproj: |
| 3365 | * WebCoreSources.bkl: |
| 3366 | * html/CanvasPattern.cpp: |
| 3367 | (WebCore::CanvasPattern::parseRepetitionType): |
| 3368 | (WebCore::CanvasPattern::CanvasPattern): |
| 3369 | * html/CanvasPattern.h: |
| 3370 | (WebCore::CanvasPattern::create): |
| 3371 | (WebCore::CanvasPattern::pattern): |
| 3372 | (WebCore::CanvasPattern::originClean): |
| 3373 | * html/CanvasRenderingContext2D.cpp: |
| 3374 | (WebCore::CanvasRenderingContext2D::createPattern): |
| 3375 | (WebCore::CanvasRenderingContext2D::applyStrokePattern): |
| 3376 | (WebCore::CanvasRenderingContext2D::applyFillPattern): |
| 3377 | * html/CanvasRenderingContext2D.h: |
| 3378 | * html/HTMLCanvasElement.cpp: |
| 3379 | * html/HTMLCanvasElement.h: |
| 3380 | * loader/FrameLoader.cpp: |
| 3381 | (WebCore::FrameLoader::createHistoryItem): |
| 3382 | * platform/graphics/GraphicsContext.h: |
| 3383 | * platform/graphics/cairo/GraphicsContextCairo.cpp: |
| 3384 | (WebCore::GraphicsContext::applyStrokePattern): |
| 3385 | (WebCore::GraphicsContext::applyFillPattern): |
| 3386 | * platform/graphics/cg/GraphicsContextCG.cpp: |
| 3387 | (WebCore::GraphicsContext::clipToImageBuffer): |
| 3388 | (WebCore::GraphicsContext::applyStrokePattern): |
| 3389 | (WebCore::GraphicsContext::applyFillPattern): |
| 3390 | |
| 3391 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3392 | |
| 3393 | Reviewed by Niko. |
| 3394 | |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 3395 | Make Images RefCounted (and clean up callers) |
| 3396 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
| 3397 | |
| 3398 | * editing/DeleteButtonController.cpp: |
| 3399 | (WebCore::DeleteButtonController::createDeletionUI): |
| 3400 | * loader/CachedImage.cpp: |
| 3401 | (WebCore::CachedImage::CachedImage): |
| 3402 | (WebCore::brokenImage): |
| 3403 | (WebCore::nullImage): |
| 3404 | (WebCore::CachedImage::image): |
| 3405 | (WebCore::CachedImage::notifyObservers): |
| 3406 | (WebCore::CachedImage::createImage): |
| 3407 | * loader/CachedImage.h: |
| 3408 | * loader/icon/IconRecord.cpp: |
| 3409 | (WebCore::IconRecord::setImageData): |
| 3410 | (WebCore::IconRecord::loadImageFromResource): |
| 3411 | * loader/icon/IconRecord.h: |
| 3412 | * platform/graphics/BitmapImage.h: |
| 3413 | (WebCore::BitmapImage::create): |
| 3414 | * platform/graphics/GeneratedImage.h: |
| 3415 | * platform/graphics/Gradient.cpp: |
| 3416 | * platform/graphics/Gradient.h: |
| 3417 | * platform/graphics/Image.cpp: |
| 3418 | (WebCore::Image::nullImage): |
| 3419 | * platform/graphics/Image.h: |
| 3420 | * platform/graphics/ImageBuffer.h: |
| 3421 | * platform/graphics/cairo/ImageBufferCairo.cpp: |
| 3422 | (WebCore::ImageBuffer::image): |
| 3423 | * platform/graphics/cg/ImageBufferCG.cpp: |
| 3424 | (WebCore::ImageBuffer::image): |
| 3425 | (WebCore::ImageBuffer::getImageData): |
| 3426 | (WebCore::ImageBuffer::putImageData): |
| 3427 | * platform/graphics/cg/PDFDocumentImage.h: |
| 3428 | (WebCore::PDFDocumentImage::create): |
| 3429 | (WebCore::PDFDocumentImage::destroyDecodedData): |
| 3430 | (WebCore::PDFDocumentImage::decodedSize): |
| 3431 | * platform/graphics/gtk/ImageGtk.cpp: |
| 3432 | (WebCore::Image::loadPlatformResource): |
| 3433 | * platform/graphics/mac/ImageMac.mm: |
| 3434 | (WebCore::Image::loadPlatformResource): |
| 3435 | * rendering/RenderImage.cpp: |
| 3436 | * rendering/RenderLayer.cpp: |
| 3437 | (WebCore::RenderLayer::paintOverflowControls): |
| 3438 | * svg/graphics/SVGImage.cpp: |
| 3439 | (WebCore::SVGImage::nativeImageForCurrentFrame): |
| 3440 | * svg/graphics/SVGImage.h: |
| 3441 | (WebCore::SVGImage::create): |
| 3442 | (WebCore::SVGImage::destroyDecodedData): |
| 3443 | (WebCore::SVGImage::decodedSize): |
| 3444 | (WebCore::SVGImage::frameAtIndex): |
| 3445 | * svg/graphics/cairo/SVGPaintServerPatternCairo.cpp: |
| 3446 | (WebCore::SVGPaintServerPattern::setup): |
| 3447 | * svg/graphics/cairo/SVGResourceMaskerCairo.cpp: |
| 3448 | (WebCore::SVGResourceMasker::applyMask): |
| 3449 | * svg/graphics/cg/SVGPaintServerPatternCg.cpp: |
| 3450 | (WebCore::patternCallback): |
| 3451 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 3452 | (WebCore::SVGResourceMasker::applyMask): |
| 3453 | |
| 3454 | 2008-08-13 Eric Seidel <eric@webkit.org> |
| 3455 | |
| 3456 | Reviewed by Niko. |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 3457 | |
| 3458 | Remove #ifdefs from CanvasStyle by using platform/Color.h |
eric@webkit.org | 5b26560 | 2008-08-14 00:29:26 +0000 | [diff] [blame] | 3459 | https://bugs.webkit.org/show_bug.cgi?id=20351 |
eric@webkit.org | 7811ef0 | 2008-08-14 00:28:51 +0000 | [diff] [blame] | 3460 | |
| 3461 | There are some down-sides to this commit. |
| 3462 | This commit limits us to 255 levels of grey for calls like: |
| 3463 | context.setStrokeStyle(.37, 1.0) |
| 3464 | previously CG might have used up to 32bits to store the grey level |
| 3465 | Since setStrokeStyle is not part of HTML5, I don't suspect the web will notice. |
| 3466 | |
| 3467 | Likewise, setStrokeStyle/setFillStyle calls which used float colors are now limited |
| 3468 | to RGBA32 (like all the rest of colors in WebCore), thus: |
| 3469 | context.setStrokStyle(.37, .24, .456, .99) will now have the same precision as: |
| 3470 | context.strokeStyle = "rgba(.37, .24, .456, .99)", which is to say RGBA32 |
| 3471 | |
| 3472 | If this is a problem for Dashboard, we can either roll out this commit |
| 3473 | or add a beefier Color abstraction, which can be used internally by GraphicsContext |
| 3474 | when keeping state, and then GraphicsContext can grow some additional set* routines |
| 3475 | for setting the a grey/float/whatever fill and stroke. |
| 3476 | |
| 3477 | * html/CanvasRenderingContext2D.cpp: |
| 3478 | (WebCore::CanvasRenderingContext2D::setFillStyle): |
| 3479 | * html/CanvasStyle.cpp: |
| 3480 | (WebCore::CanvasStyle::CanvasStyle): |
| 3481 | (WebCore::colorWithOverrideAlpha): |
| 3482 | (WebCore::CanvasStyle::applyStrokeColor): |
| 3483 | (WebCore::CanvasStyle::applyFillColor): |
| 3484 | * html/CanvasStyle.h: |
| 3485 | * platform/graphics/Color.cpp: |
| 3486 | (WebCore::colorFloatToRGBAByte): |
| 3487 | (WebCore::makeRGBA32FromFloats): |
| 3488 | * platform/graphics/Color.h: |
| 3489 | |
adele@apple.com | 83e4482 | 2008-08-13 23:50:41 +0000 | [diff] [blame] | 3490 | 2008-08-13 Eric Carlson <eric.carlson@apple.com> |
| 3491 | |
| 3492 | Reviewed by Adele Peterson. |
| 3493 | |
| 3494 | Fix for <rdar://problem/6137931> |
| 3495 | https://bugs.webkit.org/show_bug.cgi?id=20360 |
| 3496 | Remove all parameters from the MIME type before checking with the MIME type registry |
| 3497 | |
| 3498 | Tests: media/video-source-type-params.html |
| 3499 | |
| 3500 | * html/HTMLMediaElement.cpp: |
| 3501 | (WebCore::HTMLMediaElement::pickMedia): only pass the portion before the first ';' |
| 3502 | to isSupportedMediaMIMEType() |
| 3503 | |
bdakin@apple.com | 7bc81bf | 2008-08-13 21:36:15 +0000 | [diff] [blame] | 3504 | 2008-08-13 Beth Dakin <bdakin@apple.com> |
| 3505 | |
| 3506 | Reviewed by Sam Weinig. |
| 3507 | |
| 3508 | Fix for <rdar://problem/6141345> |
| 3509 | |
| 3510 | This patch refines findString and markAllMatchesForText functions' |
| 3511 | interactions with disconnected frames. They no longer rely on |
| 3512 | knowing where a range is relative to the visible region and work |
| 3513 | with disconnected frames that contain frames. |
| 3514 | |
| 3515 | * editing/Editor.cpp: |
| 3516 | (WebCore::Editor::insideVisibleArea): Now returns a bool instead of |
| 3517 | the visiblity enum. |
| 3518 | (WebCore::Editor::firstVisibleRange): This now returns the very |
| 3519 | first visible range in the document. It's no longer dependent on |
| 3520 | searching forward. |
| 3521 | (WebCore::Editor::lastVisibleRange): This now returns the very last |
| 3522 | visible range in the document. It's no longer dependent on |
| 3523 | searching backwards. |
| 3524 | (WebCore::Editor::nextVisibleRange): This returns the next visible |
| 3525 | range in the appropriate direction from the current range. |
| 3526 | * editing/Editor.h: |
| 3527 | * page/Frame.cpp: |
| 3528 | (WebCore::Frame::findString): |
| 3529 | (WebCore::Frame::markAllMatchesForText): |
| 3530 | |
kevino@webkit.org | ee5adc4 | 2008-08-13 20:07:16 +0000 | [diff] [blame] | 3531 | 2008-08-13 Kevin Ollivier <kevino@theolliviers.com> |
| 3532 | |
| 3533 | wx build fix for case-sensitive platforms, like Linux. |
| 3534 | |
| 3535 | * WebCoreSources.bkl: |
| 3536 | |
jmalonzo@webkit.org | 210145b | 2008-08-13 19:56:20 +0000 | [diff] [blame] | 3537 | 2008-08-13 Marco Barisione <marco.barisione@collabora.co.uk> |
| 3538 | |
| 3539 | Reviewed by Holger Freyther. |
| 3540 | |
| 3541 | http://bugs.webkit.org/show_bug.cgi?id=16881 |
| 3542 | [GTK] PlatformScreenGtk is unimplemented |
| 3543 | |
| 3544 | Original patch by Christian Dywan. |
| 3545 | |
| 3546 | * platform/gtk/PlatformScreenGtk.cpp: |
| 3547 | (WebCore::screenDepth): |
| 3548 | (WebCore::screenDepthPerComponent): |
| 3549 | (WebCore::screenIsMonochrome): |
| 3550 | (WebCore::screenRect): |
| 3551 | (WebCore::screenAvailableRect): |
| 3552 | |
jmalonzo@webkit.org | e469393 | 2008-08-13 19:42:08 +0000 | [diff] [blame] | 3553 | 2008-08-13 Jan Michael Alonzo <jmalonzo@webkit.org> |
| 3554 | |
| 3555 | Reviewed by Holger Freyther. |
| 3556 | |
| 3557 | http://bugs.webkit.org/show_bug.cgi?id=20318 |
| 3558 | SharedTimerGtk should use G_PRIORITY_DEFAULT_IDLE for g_idle_add |
| 3559 | |
| 3560 | g_idle_add is the same as g_idle_add_full with a priority of |
| 3561 | G_PRIORITY_DEFAULT_IDLE, so we can safely use that. |
| 3562 | |
| 3563 | * platform/gtk/SharedTimerGtk.cpp: |
| 3564 | (WebCore::setSharedTimerFireTime): |
| 3565 | |
timothy@apple.com | f042660 | 2008-08-13 18:11:01 +0000 | [diff] [blame] | 3566 | 2008-08-13 Timothy Hatcher <timothy@apple.com> |
| 3567 | |
| 3568 | Changed the InspectorController so it can be notified when the |
| 3569 | attached state of the Inspector changes in WebKit. |
| 3570 | |
| 3571 | Reviewed by Kevin McCullough. |
| 3572 | |
| 3573 | * WebCore.base.exp: Updated the symbol for setWindowVisible. |
| 3574 | * page/InspectorController.cpp: |
| 3575 | (WebCore::InspectorController::setWindowVisible): Added an attached argument, |
| 3576 | that defaults to false.Call setAttachedWindow with the attached argument. |
| 3577 | (WebCore::InspectorController::setAttachedWindow): Call the script version |
| 3578 | of setAttachedWindow. |
| 3579 | * page/InspectorController.h: |
| 3580 | * page/inspector/inspector.js: |
| 3581 | (WebInspector.setAttachedWindow): Set the attached property. |
| 3582 | |
timothy@apple.com | 9ea832b | 2008-08-13 18:10:36 +0000 | [diff] [blame] | 3583 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
| 3584 | |
timothy@apple.com | 72c92ae | 2008-08-13 18:10:45 +0000 | [diff] [blame] | 3585 | Added a close button to the Inspector's toolbar when docked. |
| 3586 | |
| 3587 | https://bugs.webkit.org/show_bug.cgi?id=14270 |
| 3588 | |
| 3589 | Reviewed by Kevin McCullough. |
| 3590 | |
| 3591 | * page/InspectorController.cpp: |
| 3592 | (WebCore::closeWindow): Call InspectorController::closeWindow. |
| 3593 | (WebCore::InspectorController::windowScriptObjectAvailable): |
| 3594 | Added closeWindow to the script class. |
| 3595 | * page/InspectorController.h: |
| 3596 | * page/inspector/Images/closeButtons.png: Added. |
| 3597 | * page/inspector/inspector.css: Added and changed styles. |
| 3598 | * page/inspector/inspector.html: Added the close button. |
| 3599 | * page/inspector/inspector.js: |
| 3600 | (WebInspector.loaded): Added click event listener to the close button. |
| 3601 | (WebInspector.close): Call InspectorController.closeWindow. |
| 3602 | |
| 3603 | 2008-08-12 Timothy Hatcher <timothy@apple.com> |
| 3604 | |
timothy@apple.com | 9ea832b | 2008-08-13 18:10:36 +0000 | [diff] [blame] | 3605 | Make the docked Web Inspector resizable. This is the cross platform |
| 3606 | portion of the code. Each InspectorClient needs to implement the |
| 3607 | real resize code. |
| 3608 | |
| 3609 | https://bugs.webkit.org/show_bug.cgi?id=14282 |
| 3610 | |
| 3611 | Reviewed by Kevin McCullough. |
| 3612 | |
| 3613 | * loader/EmptyClients.h: Added an empty setAttachedWindowHeight. |
| 3614 | * page/InspectorClient.h: Added setAttachedWindowHeight. |
| 3615 | * page/InspectorController.cpp: |
| 3616 | (WebCore::setAttachedWindowHeight): Call setAttachedWindowHeight |
| 3617 | on the InspectorController. |
| 3618 | (WebCore::InspectorController::setAttachedWindowHeight): Call |
| 3619 | setAttachedWindowHeight on the client. |
| 3620 | (WebCore::InspectorController::windowScriptObjectAvailable): |
| 3621 | Added setAttachedWindowHeight to the script class. |
| 3622 | * page/InspectorController.h: |
| 3623 | * page/inspector/inspector.css: Make the cursor on the toolbar be |
| 3624 | row-resize when docked. |
| 3625 | * page/inspector/inspector.js: |
| 3626 | (WebInspector.loaded): Always add the toolbarDragStart event listener. |
| 3627 | (WebInspector.toolbarDragStart): Return early if we are not attached |
| 3628 | and not on Leopard. Call WebInspector.elementDragStart. |
| 3629 | (WebInspector.toolbarDragEnd): Call WebInspector.elementDragEnd. |
| 3630 | (WebInspector.toolbarDrag): When attached call setAttachedWindowHeight, |
| 3631 | otherwise call moveByUnrestricted. |
| 3632 | |
hausmann@webkit.org | d34f1d2 | 2008-08-13 13:43:34 +0000 | [diff] [blame] | 3633 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 3634 | |
| 3635 | Reviewed by Holger. |
| 3636 | |
| 3637 | Initialize m_zoomsTextOnly in the Settings constructor. |
| 3638 | |
| 3639 | * page/Settings.cpp: |
| 3640 | (WebCore::Settings::Settings): |
| 3641 | |
hausmann@webkit.org | 74586d6 | 2008-08-13 13:31:11 +0000 | [diff] [blame] | 3642 | 2008-08-13 Brad Hughes <bhughes@trolltech.com> |
| 3643 | |
| 3644 | Reviewed by Simon. |
| 3645 | |
| 3646 | Fix compiling of QtWebKit in release mode with the Intel C++ Compiler for Linux |
| 3647 | |
| 3648 | The latest upgrade of the intel compiler allows us to compile all of |
| 3649 | Qt with optimizations enabled (yay!). |
| 3650 | |
| 3651 | * WebCore.pro: |
| 3652 | |
hausmann@webkit.org | 690b7fc | 2008-08-13 13:24:56 +0000 | [diff] [blame] | 3653 | 2008-08-13 Prasanth Ullattil <prasanth.ullattil@trolltech.com> |
| 3654 | |
| 3655 | Reviewed by Simon. |
| 3656 | |
| 3657 | Fix QtWebKit not displaying content on 403 HTTP responses |
| 3658 | |
| 3659 | Just like with 404 responses also display content with 403, as |
| 3660 | used by http://audiio.ejamming.proteus-tech.com/audiio/profile/original_signup/ |
| 3661 | |
| 3662 | * platform/network/qt/QNetworkReplyHandler.cpp: |
| 3663 | (WebCore::QNetworkReplyHandler::finish): |
| 3664 | |
hausmann@webkit.org | 88c4dc9 | 2008-08-13 12:02:00 +0000 | [diff] [blame] | 3665 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 3666 | |
hausmann@webkit.org | d2315e3 | 2008-08-13 13:16:15 +0000 | [diff] [blame] | 3667 | Reviewed by Holger. |
| 3668 | |
| 3669 | Qt part of https://bugs.webkit.org/show_bug.cgi?id=18994 |
| 3670 | |
| 3671 | Make the formatting of String::format() locale independent through the use of QString::vsprintf. |
| 3672 | |
| 3673 | * platform/text/String.cpp: |
| 3674 | (WebCore::String::format): |
| 3675 | |
| 3676 | 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
| 3677 | |
hausmann@webkit.org | 88c4dc9 | 2008-08-13 12:02:00 +0000 | [diff] [blame] | 3678 | Reviewed by Lars. |
| 3679 | |
| 3680 | Fix QWebFrame::setHtml() not setting the new contents immediately. |
| 3681 | |
| 3682 | Added a setter to the DocumentLoader to toggle the deferred loading of the main |
| 3683 | resource when it comes from substitute data. |
| 3684 | |
| 3685 | Disable deferred loading of the main resource when we have valid substitute data, |
| 3686 | as used by QWebFrame::setHtml. |
| 3687 | |
| 3688 | * loader/DocumentLoader.h: |
| 3689 | |
mrowe@apple.com | 6aa36d1 | 2008-08-13 09:58:32 +0000 | [diff] [blame] | 3690 | 2008-08-13 Mark Rowe <mrowe@apple.com> |
| 3691 | |
| 3692 | Speculative GTK build fix. |
| 3693 | |
| 3694 | * GNUmakefile.am: Add dependency info for JSSVGElementWrapperFactory.cpp. |
| 3695 | |
hausmann@webkit.org | 298ce5f | 2008-08-13 09:11:23 +0000 | [diff] [blame] | 3696 | 2008-08-13 Thiago Macieira <tjmaciei@trolltech.com> |
| 3697 | |
| 3698 | Reviewed by Simon. |
| 3699 | |
| 3700 | Fix encoding of [ and ] in the host part of the URL |
| 3701 | |
| 3702 | Until QUrl is fixed (making QUrl's tolerant parser more tolerant), we have to |
| 3703 | add this workaround to the QUrl <> WebCore::KURL conversion operator so that it |
| 3704 | doesn't encode [ and ] when they are found in the host part. That is, the |
| 3705 | following URL: |
| 3706 | http://[::1]/ |
| 3707 | is valid and should not be reencoded to: |
| 3708 | http://%5b::1%5d/ |
| 3709 | |
| 3710 | * platform/qt/KURLQt.cpp: |
| 3711 | (WebCore::KURL::operator QUrl): |
| 3712 | |
mitz@apple.com | e198b01 | 2008-08-12 21:49:07 +0000 | [diff] [blame] | 3713 | 2008-08-12 Mihnea Ovidenie <mihnea@adobe.com> |
| 3714 | |
| 3715 | Fix for https://bugs.webkit.org/show_bug.cgi?id=19891 |
| 3716 | Broken HTML object elements cause de-reference of pointer to freed memory. |
| 3717 | If we fail to load an image for an object tag and we no longer believe the object tag points at |
| 3718 | an image, then clear m_imageLoader in the HTMLObjectElement so that we attempt to render the |
| 3719 | fall back content. |
| 3720 | |
| 3721 | Reviewed by Dave Hyatt and Alexey Proskuryakov. |
| 3722 | |
| 3723 | Test: http/tests/misc/object-image-error-with-onload.html |
| 3724 | |
| 3725 | * html/HTMLObjectElement.cpp: |
| 3726 | (WebCore::HTMLObjectElement::renderFallbackContent): |
| 3727 | * page/Frame.cpp: |
| 3728 | (WebCore::Frame::Frame): |
| 3729 | |
zimmermann@webkit.org | 36a0251 | 2008-08-12 21:11:17 +0000 | [diff] [blame] | 3730 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 3731 | |
| 3732 | Reviewed by Dave. |
| 3733 | |
| 3734 | Fixes: https://bugs.webkit.org/show_bug.cgi?id=19798 |
| 3735 | Masks are translated, and the mask images are swapped on the y-axis. |
| 3736 | |
| 3737 | Turned out that http://trac.webkit.org/changeset/31830/trunk/WebCore/svg/graphics/cg/SVGResourceMaskerCg.mm |
| 3738 | is guilty. GraphicsContext::clipToImageBuffer() does some extra transformations that SVGResourcesMaskerCg does not want. |
| 3739 | |
| 3740 | Long term goal is to remove the SVGResource*/SVGPaintServer* classes anyway, so it's okay to duplicate |
| 3741 | the "clip to image buffer" functionality, in the CG specific SVGResourceMaskerCg class - as it was before. |
| 3742 | |
| 3743 | * svg/graphics/cg/SVGResourceMaskerCg.mm: |
| 3744 | (WebCore::SVGResourceMasker::applyMask): Changed back to use CG clipping again. |
| 3745 | |
mitz@apple.com | f8a9869 | 2008-08-12 17:04:42 +0000 | [diff] [blame] | 3746 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 3747 | |
mitz@apple.com | 1b7e844f | 2008-08-12 20:54:12 +0000 | [diff] [blame] | 3748 | - WebCore part of <rdar://problem/6121636> |
| 3749 | Make fast*alloc() abort() on failure and add "try" variants that |
| 3750 | return NULL on failure. |
| 3751 | |
| 3752 | Reviewed by Darin Adler. |
| 3753 | |
| 3754 | * platform/Arena.cpp: |
| 3755 | (WebCore::ArenaAllocate): Removed null checking of fastMalloc()'s |
| 3756 | result. |
| 3757 | * platform/graphics/cg/ImageBufferCG.cpp: |
| 3758 | (WebCore::ImageBuffer::create): Changed to use tryFastCalloc(). |
| 3759 | |
| 3760 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 3761 | |
mitz@apple.com | 1e09cd7 | 2008-08-12 18:27:58 +0000 | [diff] [blame] | 3762 | Reviewed by Darin Adler. |
| 3763 | |
| 3764 | - fix https://bugs.webkit.org/show_bug.cgi?id=19348 |
| 3765 | <rdar://problem/5978447> REGRESSION (r34193): Setting the size of a frame with javascript document.body.row no longer works |
| 3766 | |
| 3767 | Test: fast/frames/frameset-style-recalc.html |
| 3768 | |
| 3769 | * html/HTMLFrameSetElement.cpp: |
| 3770 | (WebCore::HTMLFrameSetElement::recalcStyle): Changed to call the base |
| 3771 | class implementation after marking for layout. |
| 3772 | |
| 3773 | 2008-08-12 Dan Bernstein <mitz@apple.com> |
| 3774 | |
mitz@apple.com | f8a9869 | 2008-08-12 17:04:42 +0000 | [diff] [blame] | 3775 | Reviewed by John Sullivan. |
| 3776 | |
| 3777 | - move shouldUpdateWhenOffscreen from Settings to FrameView and rename it shouldUpdateWhileHidden |
| 3778 | |
| 3779 | * WebCore.base.exp: |
| 3780 | * page/FrameView.cpp: |
| 3781 | (WebCore::FrameViewPrivate::FrameViewPrivate): |
| 3782 | (WebCore::FrameView::shouldUpdateWhileHidden): |
| 3783 | (WebCore::FrameView::setShouldUpdateWhileHidden): |
| 3784 | * page/FrameView.h: |
| 3785 | * page/Settings.cpp: |
| 3786 | * page/Settings.h: |
| 3787 | |
aroben@apple.com | eeb8ebb | 2008-08-12 14:58:51 +0000 | [diff] [blame] | 3788 | 2008-08-12 Adam Roben <aroben@apple.com> |
| 3789 | |
| 3790 | Windows build fix |
| 3791 | |
| 3792 | * bindings/js/JSSVGPODTypeWrapper.h: Align |
| 3793 | JSSVGDynamicPODTypeWrapper's and JSSVGStaticPODTypeWrapperWithParent's |
| 3794 | members on 16-byte boundaries to avoid an alignment warning. |
| 3795 | |
zimmermann@webkit.org | e138811 | 2008-08-12 10:27:53 +0000 | [diff] [blame] | 3796 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 3797 | |
| 3798 | Reviewed by Oliver. |
| 3799 | |
zimmermann@webkit.org | 504f255 | 2008-08-12 10:35:09 +0000 | [diff] [blame] | 3800 | Add new dynamice-update layout tests covering SVGMarkerElement. |
| 3801 | Fix bug: SVGMarkerElement's SVG DOM function calls don't update rendering. |
| 3802 | Fix orientAngle/orientType confusion: "auto" orient should always return "0" as angle. |
| 3803 | |
| 3804 | Tests: svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr.html |
| 3805 | svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr.html |
| 3806 | svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr.html |
| 3807 | svg/dynamic-updates/SVGMarkerElement-dom-orient-attr.html |
| 3808 | svg/dynamic-updates/SVGMarkerElement-dom-refX-attr.html |
| 3809 | svg/dynamic-updates/SVGMarkerElement-dom-refY-attr.html |
| 3810 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop.html |
| 3811 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop.html |
| 3812 | svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop.html |
| 3813 | svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop.html |
| 3814 | svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop.html |
| 3815 | svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop.html |
| 3816 | svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop.html |
| 3817 | svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call.html |
| 3818 | svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call.html |
| 3819 | |
| 3820 | * svg/SVGMarkerElement.cpp: |
| 3821 | (WebCore::SVGMarkerElement::SVGMarkerElement): |
| 3822 | (WebCore::SVGMarkerElement::parseMappedAttribute): |
| 3823 | (WebCore::SVGMarkerElement::svgAttributeChanged): |
| 3824 | (WebCore::SVGMarkerElement::childrenChanged): |
| 3825 | (WebCore::SVGMarkerElement::setOrientToAuto): |
| 3826 | (WebCore::SVGMarkerElement::setOrientToAngle): |
| 3827 | (WebCore::SVGMarkerElement::canvasResource): |
| 3828 | |
| 3829 | 2008-08-12 Nikolas Zimmermann <zimmermann@kde.org> |
| 3830 | |
| 3831 | Reviewed by Oliver. |
| 3832 | |
zimmermann@webkit.org | e138811 | 2008-08-12 10:27:53 +0000 | [diff] [blame] | 3833 | Add new dynamic-update layout tests covering SVGImageElement. |
| 3834 | Fix bug: SVGImageElement doesn't react on 'preserveAspectRatio' changes. |
| 3835 | |
| 3836 | Tests: svg/dynamic-updates/SVGImageElement-dom-height-attr.html |
| 3837 | svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr.html |
| 3838 | svg/dynamic-updates/SVGImageElement-dom-width-attr.html |
| 3839 | svg/dynamic-updates/SVGImageElement-dom-x-attr.html |
| 3840 | svg/dynamic-updates/SVGImageElement-dom-y-attr.html |
| 3841 | svg/dynamic-updates/SVGImageElement-svgdom-height-prop.html |
| 3842 | svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop.html |
| 3843 | svg/dynamic-updates/SVGImageElement-svgdom-width-prop.html |
| 3844 | svg/dynamic-updates/SVGImageElement-svgdom-x-prop.html |
| 3845 | svg/dynamic-updates/SVGImageElement-svgdom-y-prop.html |
| 3846 | |
| 3847 | * svg/SVGImageElement.cpp: |
| 3848 | (WebCore::SVGImageElement::svgAttributeChanged): |
| 3849 | |
timothy@apple.com | 9311472 | 2008-08-12 04:20:25 +0000 | [diff] [blame] | 3850 | 2008-08-11 Anthony Ricaud <rik24d@gmail.com> |
| 3851 | |
timothy@apple.com | 2f2cde3 | 2008-08-12 04:28:16 +0000 | [diff] [blame] | 3852 | Changed Option/Alt-Up or Down in CSS editing when the value is |
| 3853 | near zero to jump to the next integer. |
| 3854 | |
| 3855 | Reviewed by Tim Hatcher. |
| 3856 | |
| 3857 | https://bugs.webkit.org/show_bug.cgi?id=20326 |
| 3858 | |
| 3859 | * page/inspector/StylesSidebarPane.js: |
| 3860 | |
| 3861 | 2008-08-11 Anthony Ricaud <rik24d@gmail.com> |
| 3862 | |
timothy@apple.com | 9311472 | 2008-08-12 04:20:25 +0000 | [diff] [blame] | 3863 | Changed the line highlight transition for an easier animation. |
| 3864 | |
| 3865 | Reviewed by Tim Hatcher. |
| 3866 | |
| 3867 | * page/inspector/SourceFrame.js: |
| 3868 | |
timothy@apple.com | 24a1485 | 2008-08-12 03:57:39 +0000 | [diff] [blame] | 3869 | 2008-08-11 Keishi Hattori <casey.hattori@gmail.com> |
| 3870 | |
| 3871 | Added support for some Firebug Command Line APIs. |
| 3872 | |
| 3873 | Reviewed by Tim Hatcher. |
| 3874 | |
| 3875 | https://bugs.webkit.org/show_bug.cgi?id=19867 |
| 3876 | https://bugs.webkit.org/show_bug.cgi?id=19868 |
| 3877 | https://bugs.webkit.org/show_bug.cgi?id=19869 |
| 3878 | https://bugs.webkit.org/show_bug.cgi?id=19875 |
| 3879 | https://bugs.webkit.org/show_bug.cgi?id=19876 |
| 3880 | https://bugs.webkit.org/show_bug.cgi?id=19880 |
| 3881 | |
| 3882 | * page/inspector/Console.js: |
| 3883 | (WebInspector.Console.prototype._evalInInspectedWindow): |
| 3884 | Create an object on the inspected window that holds the console |
| 3885 | command line API functions. This object is used in a with statement |
| 3886 | around the typed expression. |
| 3887 | |
zimmermann@webkit.org | 0350b6d | 2008-08-12 02:22:26 +0000 | [diff] [blame] | 3888 | 2008-08-11 Nikolas Zimmermann <zimmermann@kde.org> |
| 3889 | |
| 3890 | Reviewed by Antti. |
| 3891 | |
| 3892 | Fixes: http://bugs.webkit.org/show_bug.cgi?id=17736 |
| 3893 | |
| 3894 | JS wrapper objects around SVG POD types, that contain other SVG POD types with writable properties |
| 3895 | failed to update. Modification of the values were completly ignored (ie. transform.matrix.a = 50, didn't take any effect) |
| 3896 | |
| 3897 | Added tests: svg/custom/svg-modify-currentTranslate.html |
| 3898 | svg/custom/tearoffs-with-tearoffs.html |
| 3899 | svg/custom/immutable-properties.html |
| 3900 | |
| 3901 | Fixed tests: svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop.html |
| 3902 | |
| 3903 | * bindings/js/JSSVGPODTypeWrapper.h: |
| 3904 | (WebCore::JSSVGDynamicPODTypeWrapper::commitChange): |
| 3905 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::create): |
| 3906 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::commitChange): |
| 3907 | (WebCore::JSSVGStaticPODTypeWrapperWithPODTypeParent::JSSVGStaticPODTypeWrapperWithPODTypeParent): |
| 3908 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::create): |
| 3909 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::operator PODType): |
| 3910 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::commitChange): |
| 3911 | (WebCore::JSSVGStaticPODTypeWrapperWithParent::JSSVGStaticPODTypeWrapperWithParent): |
| 3912 | * bindings/scripts/CodeGenerator.pm: |
| 3913 | * bindings/scripts/CodeGeneratorJS.pm: |
| 3914 | * svg/SVGSVGElement.idl: Add [Immutable] markers to SVG POD attributes, that contain POD types with writable attributes. |
| 3915 | * svg/SVGZoomEvent.idl: SVG specification explicitely demands these attributes to be readonly, even its content. |
| 3916 | |
beidson@apple.com | 0e772f7 | 2008-08-12 00:34:46 +0000 | [diff] [blame] | 3917 | 2008-08-11 Brady Eidson <beidson@apple.com> |
| 3918 | |
| 3919 | Reviewed by John and Anders |
| 3920 | |
| 3921 | Fix for <rdar://problem/6141797> |
| 3922 | |
| 3923 | When WebArchives were entirely a WebKit concept, there was a guarantee that a WebResource |
| 3924 | would never have nil data. |
| 3925 | |
| 3926 | When they were pushed down into WebCore, that guarantee was lost, subtly changing a few |
| 3927 | semantics with some WebKit applications. |
| 3928 | |
| 3929 | The guarantee was a good one and should be restored. |
| 3930 | |
| 3931 | Note that ApplicationCacheResource doesn't need any updates to follow this rule as it already |
| 3932 | creates an empty data object in the case of null data for its own purposes. |
| 3933 | |
| 3934 | * loader/SubstituteResource.h: |
| 3935 | (WebCore::SubstituteResource::SubstituteResource): ASSERT that the data is not null. This |
| 3936 | well help any future subclassers not make this mistake. |
| 3937 | |
| 3938 | * loader/archive/ArchiveResource.cpp: |
| 3939 | (WebCore::ArchiveResource::create): Return 0 if the data is null. |
| 3940 | |
simon.fraser@apple.com | e0d4479 | 2008-08-11 22:44:06 +0000 | [diff] [blame] | 3941 | 2008-08-11 Simon Fraser <simon.fraser@apple.com> |
| 3942 | |
| 3943 | Reviewed by Dave Hyatt |
| 3944 | |
| 3945 | https://bugs.webkit.org/show_bug.cgi?id=20328 |
| 3946 | Fix a problem when an 'all' transition transition with more than |
| 3947 | one property changing is interrupted, and did some AnimationController |
| 3948 | cleanup. |
| 3949 | |
| 3950 | Test: transitions/interrupted-all-transition.html |
| 3951 | |
| 3952 | * page/AnimationController.cpp: |
| 3953 | (WebCore::ImplicitAnimation::ImplicitAnimation): |
| 3954 | (WebCore::AnimationControllerPrivate::blendProperties): |
| 3955 | (WebCore::CompositeAnimation::updateTransitions): |
| 3956 | (WebCore::CompositeAnimation::cleanupFinishedAnimations): |
| 3957 | (WebCore::CompositeAnimation::setTransitionStartTime): |
| 3958 | (WebCore::CompositeAnimation::overrideImplicitAnimations): |
| 3959 | (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations): |
| 3960 | (WebCore::ImplicitAnimation::animate): |
| 3961 | (WebCore::ImplicitAnimation::onAnimationEnd): |
| 3962 | (WebCore::ImplicitAnimation::sendTransitionEvent): |
| 3963 | (WebCore::ImplicitAnimation::affectsProperty): |
| 3964 | (WebCore::KeyframeAnimation::endAnimation): |
| 3965 | (WebCore::KeyframeAnimation::onAnimationEnd): |
| 3966 | |
kmccullough@apple.com | 4a967c1 | 2008-08-11 20:45:19 +0000 | [diff] [blame] | 3967 | 2008-08-11 Kevin McCullough <kmccullough@apple.com> |
| 3968 | |
| 3969 | Reviewed by Tim. |
| 3970 | |
| 3971 | - Because console messages have group levels now, newly created messages |
| 3972 | that do not specify the level lose their message since the number of |
| 3973 | arguments is wrong. |
| 3974 | |
| 3975 | * page/inspector/Console.js: |
| 3976 | * page/inspector/Resource.js: |
| 3977 | |
alp@webkit.org | eeb5514 | 2008-08-11 19:52:14 +0000 | [diff] [blame] | 3978 | 2008-08-11 Alp Toker <alp@nuanti.com> |
| 3979 | |
| 3980 | Build fix. Add new files from r35666 (WebKitAnimationEvent). Also take |
| 3981 | the opportunity to sort the sources lists. |
| 3982 | |
| 3983 | * GNUmakefile.am: |
| 3984 | |
timothy@apple.com | 9fe09f8 | 2008-08-11 18:48:37 +0000 | [diff] [blame] | 3985 | 2008-08-11 Timothy Hatcher <timothy@apple.com> |
| 3986 | |
| 3987 | Speed up the the JavaScript syntax highlighter by generating |
| 3988 | the finders only once per script instead of per line. |
| 3989 | |
| 3990 | https://bugs.webkit.org/show_bug.cgi?id=20346 |
| 3991 | |
| 3992 | Reviewed by Adam Roben. |
| 3993 | |
| 3994 | * page/inspector/SourceFrame.js: |
| 3995 | (WebInspector.SourceFrame.prototype._syntaxHighlightJavascriptLine): |
| 3996 | Removed, factored into syntaxHighlightJavascript as an inline function. |
| 3997 | (WebInspector.SourceFrame.prototype.syntaxHighlightJavascript): |
| 3998 | Pulled in the _syntaxHighlightJavascriptLine so it will create a closure. |
| 3999 | Generate the finders before iterating the lines. |
| 4000 | |
aroben@apple.com | 957d2d3 | 2008-08-11 18:31:37 +0000 | [diff] [blame] | 4001 | 2008-08-11 Adam Roben <aroben@apple.com> |
| 4002 | |
| 4003 | Windows build fix |
| 4004 | |
| 4005 | * WebCore.vcproj/WebCore.vcproj: Added JSWebKitAnimationEvent.cpp and |
| 4006 | JSWebKitTransitionEvent.cpp to the project. Let VS reformat the file, |
| 4007 | too. |
| 4008 | |
mitz@apple.com | 3f0060f | 2008-08-11 18:04:46 +0000 | [diff] [blame] | 4009 | 2008-08-11 Dan Bernstein <mitz@apple.com> |
| 4010 | |
| 4011 | Reviewed by Darin Adler. |
| 4012 | |
| 4013 | - fix <rdar://problem/6131096> Reproducible crash in CounterNode::isReset under guard malloc |
| 4014 | |
| 4015 | Test: fast/css/counters/invalidate-cached-counter-node.html |
| 4016 | |
| 4017 | * rendering/RenderContainer.cpp: |
| 4018 | (WebCore::RenderContainer::invalidateCounters): Added. Invalidates all |
| 4019 | RenderCounters in :before and :after content. |
| 4020 | * rendering/RenderContainer.h: |
| 4021 | * rendering/RenderCounter.cpp: |
| 4022 | (WebCore::RenderCounter::isCounter): Renamed isRenderCounter() to this |
| 4023 | to match the RenderObject method. |
| 4024 | (WebCore::RenderCounter::invalidate): Added. Resets the cached |
| 4025 | CounterNode and invalidates the object's layout and preferred widths. |
| 4026 | (WebCore::destroyCounterNodeChildren): Added a call to |
| 4027 | invalidateCounters(). |
| 4028 | * rendering/RenderCounter.h: |
| 4029 | * rendering/RenderObject.h: |
| 4030 | (WebCore::RenderObject::invalidateCounters): |
| 4031 | |
dino@apple.com | 2af8c3a | 2008-08-11 17:24:36 +0000 | [diff] [blame] | 4032 | 2008-08-11 Dean Jackson <dino@apple.com> |
| 4033 | |
| 4034 | Implement CSS Animation and Transition Events |
| 4035 | https://bugs.webkit.org/show_bug.cgi?id=20337 |
| 4036 | |
| 4037 | Implement the events defined in the CSS Animations |
| 4038 | and Transitions specifications so code can react |
| 4039 | to animations and transitions. |
| 4040 | |
| 4041 | Reviewed by Tim Hatcher and Dave Hyatt. |
| 4042 | |
| 4043 | * DerivedSources.make: |
| 4044 | * GNUmakefile.am: |
| 4045 | * WebCore.pro: |
| 4046 | * WebCore.vcproj/WebCore.vcproj: |
| 4047 | * WebCore.xcodeproj/project.pbxproj: |
| 4048 | * WebCoreSources.bkl: |
| 4049 | Build configs for new files |
| 4050 | |
| 4051 | * bindings/js/JSDOMWindowBase.cpp: |
| 4052 | * bindings/js/JSDOMWindowBase.h: |
| 4053 | * bindings/js/JSEventCustom.cpp: |
| 4054 | * dom/Document.h: |
| 4055 | * dom/Event.cpp: |
| 4056 | * dom/Event.h: |
| 4057 | * dom/EventTarget.cpp: |
| 4058 | * dom/EventTargetNode.cpp: |
| 4059 | * dom/EventTargetNode.h: |
| 4060 | * html/HTMLElement.cpp: |
| 4061 | * page/AnimationController.cpp: |
| 4062 | do all the new event stuff |
| 4063 | |
| 4064 | * html/HTMLAttributeNames.in: |
| 4065 | the onwebkitanimation* and onwebkittransitionend attrs |
| 4066 | |
| 4067 | * dom/WebKitAnimationEvent.cpp: Added. |
| 4068 | * dom/WebKitAnimationEvent.h: Added. |
| 4069 | * dom/WebKitAnimationEvent.idl: Added. |
| 4070 | * dom/WebKitTransitionEvent.cpp: Added. |
| 4071 | * dom/WebKitTransitionEvent.h: Added. |
| 4072 | * dom/WebKitTransitionEvent.idl: Added. |
| 4073 | New files for the events |
| 4074 | |
| 4075 | * manual-tests/transition-events.html: Added. |
| 4076 | New testfile |
| 4077 | |
aroben@apple.com | 3eae862 | 2008-08-11 17:21:23 +0000 | [diff] [blame] | 4078 | 2008-08-11 Adam Roben <aroben@apple.com> |
| 4079 | |
| 4080 | Add a ForwardingHeader for wtf/NotFound.h |
| 4081 | |
| 4082 | Rubberstamped by Darin Adler. |
| 4083 | |
| 4084 | * ForwardingHeaders/wtf/NotFound.h: Added. |
| 4085 | |
timothy@apple.com | 2f5bdf0 | 2008-08-11 16:53:30 +0000 | [diff] [blame] | 4086 | 2008-08-11 Timothy Hatcher <timothy@apple.com> |
| 4087 | |
| 4088 | Fixes a bug where error bubbles in JavaScript resources would |
| 4089 | be clobbered by the syntax highlighter. |
| 4090 | |
| 4091 | https://bugs.webkit.org/show_bug.cgi?id=20345 |
| 4092 | |
| 4093 | Reviewed by Adam Roben. |
| 4094 | |
| 4095 | * manual-tests/inspector/resources/script-error.js: Added. |
| 4096 | * manual-tests/inspector/styled-error-bubbles-in-scripts.html: Added. |
| 4097 | * page/inspector/SourceFrame.js: |
| 4098 | (WebInspector.SourceFrame.prototype._addMessageToSource): |
| 4099 | Check the nodeType and not the nodeName, this is less fragile. |
| 4100 | (WebInspector.SourceFrame.prototype._syntaxHighlightJavascriptLine): |
| 4101 | Check if the lastChild is an error bubble, if so remove it before |
| 4102 | getting the line's textContent. Add the error bubble back at the end. |
| 4103 | |
mrowe@apple.com | 4ec50d0 | 2008-08-11 05:07:42 +0000 | [diff] [blame] | 4104 | == Rolled over to ChangeLog-2008-08-10 == |