- 24 May, 2007 2 commits
-
-
adele authored
Reviewed by Darin. - pixel test for http://bugs.webkit.org/show_bug.cgi?id=13837 Separator in new <select> widget disappears when block element with border is in document. * fast/forms/menulist-separator-painting-expected.checksum: Added. * fast/forms/menulist-separator-painting-expected.png: Added. * fast/forms/menulist-separator-painting-expected.txt: Added. * fast/forms/menulist-separator-painting.html: Added. WebCore: Reviewed by Darin. - fix http://bugs.webkit.org/show_bug.cgi?id=13837 Separator in new <select> widget disappears when block element with border is in document. Test: fast/forms/menulist-separator-painting.html * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawConvexPolygon): Changed this function to actually do both filling and stroking when needed, even though all existing callers set the stroke to none. * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuListButton): Added calls to set the stroke style and thickness when painting the arrows and the separator. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
\r without a following \n and so that document.write doesn't lead to line numbering confusion. Reviewed by aroben * html/HTMLParser.cpp: (WebCore::HTMLParser::reportErrorToConsole): * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::processListing): (WebCore::HTMLTokenizer::parseSpecial): (WebCore::HTMLTokenizer::parseComment): (WebCore::HTMLTokenizer::parseServer): (WebCore::HTMLTokenizer::parseProcessingInstruction): (WebCore::HTMLTokenizer::parseText): (WebCore::HTMLTokenizer::parseEntity): (WebCore::HTMLTokenizer::parseTag): (WebCore::HTMLTokenizer::write): (WebCore::HTMLTokenizer::processToken): (WebCore::HTMLTokenizer::setSrc): * html/HTMLTokenizer.h: (WebCore::HTMLTokenizer::lineNumberPtr): * html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::addLine): * loader/TextDocument.cpp: (WebCore::TextTokenizer::write): * platform/SegmentedString.cpp: (WebCore::SegmentedString::SegmentedString): (WebCore::SegmentedString::operator=): (WebCore::SegmentedString::clear): * platform/SegmentedString.h: (WebCore::SegmentedString::SegmentedString): (WebCore::SegmentedString::advance): (WebCore::SegmentedString::escaped): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 May, 2007 6 commits
-
-
bdash authored
* platform/qt/CursorQt.cpp: (WebCore::notAllowedCursor): (WebCore::zoomInCursor): (WebCore::zoomOutCursor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Fix the gdk build following changes in r21685. * platform/gdk/CursorGdk.cpp: (WebCore::zoomInCursor): (WebCore::zoomOutCursor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Add -webkit-zoom-in and -webkit-zoom-out cursors. * Resources/zoomInCursor.png: Added. * Resources/zoomOutCursor.png: Added. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSValueKeywords.in: * page/EventHandler.cpp: (WebCore::selectCursor): * platform/Cursor.h: * platform/mac/CursorMac.mm: (WebCore::zoomInCursor): (WebCore::zoomOutCursor): * rendering/RenderStyle.h: (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
Reviewed by Darin. Update tests for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement - Corrects prototype chain for JSHTMLDocument and adds test for HTMLFormElement. * fast/dom/prototype-chain-expected.txt: * fast/dom/prototype-chain.html: WebCore: Reviewed by Darin. - rdar://problem/5183523 - We now check the document's URL to see if it can load a resource in the case of a URL click, instead of checking the referrer, which is blank for local files. * loader/FrameLoader.cpp: (WebCore::FrameLoader::load): (WebCore::FrameLoader::open): * platform/PlatformString.h: (WebCore::debugPrintString): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
http and file loading and fixed a bug in the HTTP redirect handling. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Initialize variable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 May, 2007 2 commits
-
-
adele authored
Reviewed by Darin. Test for http://bugs.webkit.org/show_bug.cgi?id=13796 Crash in [NSInputContext currentInputContext] when you click on this map * fast/frames/frame-display-none-focus-expected.txt: Added. * fast/frames/frame-display-none-focus.html: Added. * fast/frames/resources/iframe-focus.html: Added. WebCore: Reviewed by Darin. Fix for http://bugs.webkit.org/show_bug.cgi?id=13796 Crash in [NSInputContext currentInputContext] when you click on this map This is another case of <rdar://problem/5171145> Safari crashed closing tab in NSInputContext updateInputContexts Test: fast/frames/frame-display-none-focus.html * WebCore.xcodeproj/project.pbxproj: Added ChromeMac.mm * page/Chrome.h: * page/mac/ChromeMac.mm: Added. (WebCore::Chrome::focusNSView): Moved code from Widget::setFocus so it can be used whenever we need to make a view the first responder. * page/mac/EventHandlerMac.mm: (WebCore::EventHandler::focusDocumentView): Calls focusNSView. * platform/mac/WidgetMac.mm: (WebCore::Widget::setFocus): Calls focusNSView. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zack authored
Adding implementations of some of the missing methods. r=me git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 May, 2007 2 commits
-
-
adele authored
Fix by Darin, reviewed by me. Fix for <rdar://problem/5171145> Safari crashed closing tab in NSInputContext updateInputContexts * platform/mac/WidgetMac.mm: (WebCore::safeRemoveFromSuperview): Added. If the view is the window's first responder, then set the window's first responder to nil so we don't leave the window pointing to a view that's no longer in it. (WebCore::Widget::setFocus): Don't attempt to focus the view if it has no window. (WebCore::Widget::removeFromSuperview): Call safeRemoveFromSuperview. (WebCore::Widget::afterMouseDown): ditto. WebKit: Fix by Darin, reviewed by me. Fix for <rdar://problem/5171145> Safari crashed closing tab in NSInputContext updateInputContexts * WebView/WebFrameView.mm: (-[WebFrameView _setDocumentView:]): If the old view is the first responder, then set the window's first responder to nil so we don't leave the window pointing to a view that's no longer in it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Add an API layer for network downloads. Basically QWebnetworkInterface is an interface class for downloading resources. QWebnetworkJob describes the actual object to download. QWebNetworkInterface has a default implementation that replaces the old ResourceHandleManager class in the Qt port. Remove the ResourceHandleManager class, it is now part of QWebNetworkInterface. Adapt ResourceHandle to the new way of things. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 May, 2007 2 commits
-
-
darin authored
- fix <rdar://problem/5193416> REGRESSION: Selection on large pages extremely slow * dom/Document.cpp: (WebCore::Document::removeMarkers): Added an early exit for the common case where there are no markers. Changed code to iterate over all the nodes in the range instead of using TextIterator, which is more efficient. * page/Frame.cpp: (WebCore::Frame::respondToChangedSelection): Added checks for editable, so we don't bother doing work related to spell checking and grammar checking when changing the selection in non-editable text. Also rearranged the code so we only compute the old word boundaries and sentence boundaries when actually needed, and don't do the sentence range checks unless grammar checking is enabled. * platform/TextBreakIteratorICU.cpp: (WebCore::setUpIterator): Don't take a locale parameter. Always pass in currentTextBreakLocaleID. (WebCore::characterBreakIterator): Removed local parameter. (WebCore::wordBreakIterator): Ditto. (WebCore::lineBreakIterator): Ditto. (WebCore::sentenceBreakIterator): Ditto. * platform/mac/TextBreakIteratorInternalICUMac.mm: (WebCore::getTextBreakLocale): Broke out the code to actually get the locale. (WebCore::currentTextBreakLocaleID): This function now handles only the caching and calls getTextBreakLocale to actually figure it out. * editing/visible_units.cpp: Added lots of FIXME comments, but no code change. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 May, 2007 1 commit
-
-
bdash authored
Reviewed by Darin. - http://bugs.webkit.org/show_bug.cgi?id=13320 rounded corners with drop shadows are really slow Test for a rendering bug fixed by this patch: fast/box-shadow/border-radius-big.html No test for the performance ingredient. * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::addRoundedRectClip): Made cross-platform. Changed to use a single clipping path. If all the radii cannot be accommodated, clips to a rect. (WebCore::GraphicsContext::clipOutRoundedRect): Changed to use a single clipping path. If all the radii cannot be accommodated, clips out a rect. * platform/graphics/GraphicsContext.h: Added clipOut(const Path&). * platform/graphics/Path.cpp: (WebCore::Path::createRoundedRectangle): Added. Returns a rounded rectangle with the specified radii. If all the radii cannot be accommodated, returns a rectangular path. * platform/graphics/Path.h: * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::clipOut): Added. * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRoundedRect): Changed to use a single path. (WebCore::GraphicsContext::clipOut): Added. * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::clipOut): Added. 2007-05-19 Mitz Pettel <mitz@webkit.org> Reviewed by Darin. - http://bugs.webkit.org/show_bug.cgi?id=13320 rounded corners with drop shadows are really slow * fast/box-shadow/border-radius-big-expected.checksum: Added. * fast/box-shadow/border-radius-big-expected.png: Added. * fast/box-shadow/border-radius-big-expected.txt: Added. * fast/box-shadow/border-radius-big.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 May, 2007 7 commits
-
-
bdash authored
Attempt to fix the Gdk build after r21562. * platform/gdk/TemporaryLinkStubs.cpp: (Widget::isEnabled): * platform/gdk/WidgetGdk.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Reviewed by Lars Remove dead code. * platform/Widget.h: * platform/mac/WidgetMac.mm: * platform/qt/WidgetQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Maciej. Make WebCore::Widget use GtkWidget to fix focus handling. * WebCore.pro: Add PlatformScrollBar * platform/ScrollView.h: Gtk stuff * platform/Widget.h: Take a GtkWidget * platform/gdk/PlatformScrollBarGdk.cpp: Added. (PlatformScrollbar::PlatformScrollbar): (PlatformScrollbar::~PlatformScrollbar): (PlatformScrollbar::width): (PlatformScrollbar::height): (PlatformScrollbar::setEnabled): (PlatformScrollbar::paint): (PlatformScrollbar::updateThumbPosition): (PlatformScrollbar::updateThumbProportion): (PlatformScrollbar::setRect): * platform/gdk/ScreenGdk.cpp: Implement depth handling (WebCore::screenDepth): * platform/gdk/ScrollViewGdk.cpp: use setGtkWidget, not setDrawable (WebCore::ScrollView::setGtkWidget): * platform/gdk/TemporaryLinkStubs.cpp: * platform/gdk/WidgetGdk.cpp: (WebCore::Widget::Widget): (WebCore::Widget::gtkWidget): (WebCore::Widget::setGtkWidget): (WebCore::Widget::hasFocus): (WebCore::Widget::setFocus): 2007-05-18 Holger Freyther <zecke@selfish.org> Reviewed by Maciej. * GdkLauncher/main.cpp: Call setGtkWidget (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Correctly implement initialiseSupportedImageMIMETypes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Mark Rowe. No test added as this is hard to time. * platform/gdk/FrameGdk.cpp: Use needsLayout() to decide if layout() is needed. (WebCore::FrameGdk::dumpRenderTree): (WebCore::FrameGdk::handleGdkEvent): 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Mark Rowe. * kjs/testkjs.pro: Make the Gdk port link to icu 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Mark Rowe. * WebKit.pro: Build testkjs for Gdk and Qt 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Mark Rowe. * GdkLauncher/main.cpp: (main): Call Frame::init to catch up with Maciej's changes. * Scripts/run-javascriptcore-tests: Remove --gdk from the command line passed to the helper scripts. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Remove unused handleMouseEvent methods in the Widget and derived classes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 May, 2007 1 commit
-
-
staikos authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 May, 2007 1 commit
-
-
zack authored
Make the timers correctly use miliseconds. Based on a patch from George. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 May, 2007 4 commits
-
-
staikos authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos authored
Reviewed by George Staikos. - Implement drawArc with proper units. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos authored
Reviewed by George Staikos. - Add missing paint for nested subframes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
<rdar://problem/5200816> REGRESSION: With Shiira 1.2.2 , I can't open embedded link in flash object by clicking (http:/www.adobe.com ) Shiira under some circumstances passes nil as the request to -[WebFrame loadRequest:]. ToT WebKit doesn't call any policy delegate methods in this case, which means that the page is actually being loaded. This patch makes ToT WebKit behave in the same way as Tiger WebKit when the request is nil. * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkNavigationPolicy): Don't continue without calling the navigation policy method if the request is null. (WebCore::FrameLoader::continueAfterNavigationPolicy): If the request can't be handled, don't continue the load. * platform/network/mac/ResourceRequestMac.mm: (WebCore::ResourceRequest::doUpdatePlatformRequest): Don't create an NSURLRequest object if the request is null. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 May, 2007 3 commits
-
-
bdash authored
Reviewed by Darin. - fix http://bugs.webkit.org/show_bug.cgi?id=13711 REGRESSION - Bookmark Bar text rendering changed No test possible since this patch affects only Safari chrome. * platform/Font.cpp: (WebCore::Font::Font): Initialize m_isPlatformFont according to whether the Font object is derived from a FontPlatformData or not. * platform/Font.h: (WebCore::Font::isPlatformFont): Added. Returns whether this Font was derived from a platform font. * platform/mac/FontCacheMac.mm: (WebCore::FontCache::getFontDataForCharacters): Changed to not enable synthetic bold and italic in the fallback fonts if the original font was derived from a platform font. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele authored
Fix for <rdar://problem/5200081> Repro crash in PopupMenu::show clicking popup menu button after reload * platform/mac/PopupMenuMac.mm: (WebCore::PopupMenu::show): Added call to dismissPopup so the cell gets unattached properly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Updates after Maciej's frame change. This gets things to run again. The #ifdef PLATFORM(QT) in the FrameLoader should not be needed (and adding the line inside on the mac doesn't seem to trigger any failures there). I'm submitting with it to be on the safe side for now, since I really need our tests to run again. Btw, post-commit-linux-qt should show up green on with this submit :)) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 May, 2007 2 commits
-
-
darin authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugs.webkit.org/show_bug.cgi?id=13529 DOM3 keyIdentifier text is incorrect Use 4 digits for the Unicode based key identifiers. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 May, 2007 1 commit
-
-
oliver authored
LayoutTests: Reviewed by Hyatt. Add test to verify files can be dragged to <input type="file"> * fast/forms/dragging-to-file-input-expected.txt: Added. * fast/forms/dragging-to-file-input.html: Added. WebCore: Reviewed by Hyatt. <rdar://problem/4728842> Can't drag-and-drop files onto <input type="file"> This patch allows a file to be dropped on to a file input field. There are a few changes for data handling and a few to allow the data to be threaded to the appropriate places. * page/DragController.cpp: (WebCore::asFileInput): When dropping a file onto a file input we may mouse over either the element itself, or the contained button element. This method returns the base element for the file input in either of these cases. (WebCore::DragController::tryDocumentDrag): Don't try to set the drag caret to a file input. (WebCore::DragController::concludeDrag): Handle dropping onto a file input element. (WebCore::DragController::canProcessDrag): We can now process a file being dragged onto a file input element. * platform/DragData.h: New accessors * platform/gdk/DragDataGdk.cpp: (WebCore::DragData::containsFiles): (WebCore::DragData::asFilenames): Link stubs. * platform/mac/DragDataMac.mm: (WebCore::DragData::containsFiles): (WebCore::DragData::asFilenames): Implement new accessors (WebCore::DragData::containsCompatibleContent): Update containsCompatibleContent to allow standalone files. * platform/qt/DragDataQt.cpp: (WebCore::DragData::containsFiles): (WebCore::DragData::asFilenames): Link stubs * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::receiveDroppedFile): * rendering/RenderFileUploadControl.h: For security reasons we don't have an api to allow us to set a value directly on a file input -- attempts to do so are blocked. By adding a method to set the target through the render we bypass such restrictions, and ensure the renderer is updated correctly. WebKitTools: Reviewed by Hyatt. Add new api to DRT to allow us to test a file being dragged onto <input type="file"> * DumpRenderTree/DumpRenderTree.h: * DumpRenderTree/DumpRenderTree.m: (+[LayoutTestController isSelectorExcludedFromWebScript:]): (-[LayoutTestController addFileToPasteboardOnDrag]): (runTest): * DumpRenderTree/UIDelegate.m: (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 May, 2007 5 commits
-
-
oliver authored
LayoutTests: Reviewed by Hyatt. Layout test for x-mac-roman character encoding. * fast/encoding/xmacroman-encoding-test-expected.txt: Added. * fast/encoding/xmacroman-encoding-test.html: Added. WebCore: Reviewed by Hyatt. <rdar://problem/5195473> REGRESSION: "Curly quote" fails to be displayed correctly even when META tag specifies charset=x-mac-roman * platform/TextCodecICU.cpp: (WebCore::TextCodecICU::registerExtendedEncodingNames): Register the xmacroman encoding git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Maciej. Bug 13676: [cairo/gdk] Provide implementation for ImageBufferCairo http://bugs.webkit.org/show_bug.cgi?id=13676 There are no test cases that explicitly cover platform/graphics at present. * platform/graphics/ImageBuffer.h: Add cairo bits * platform/graphics/cairo/ImageBufferCairo.cpp: Untested implementation of the ImagerBuffer using the image_surface (WebCore::ImageBuffer::create): Create a reasonable sized surface (WebCore::ImageBuffer::ImageBuffer): Use a cairo_surface and create a GraphicsContext. GraphicsContext takes the cairo_t ownership (WebCore::ImageBuffer::~ImageBuffer): Unref the surface (WebCore::ImageBuffer::context): simply return the GraphicsContext, it should be possible to directly draw on it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Release build fix. * platform/mac/ShapeArabic.c: (shapeArabic): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Darin. - fix http://bugs.webkit.org/show_bug.cgi?id=13572 Arabic characters are not correctly joined when using Arial No tests added because standard fonts do not use the character-based shaping code path. Added shapeArabic(), a private version of u_shapeArabic() from ICU, patched to shape Arabic characters used in Persian, Urdu, Sindhi, etc. (whose contextual forms belong to the Arabic Presentation Forms-A block). * WebCore.xcodeproj/project.pbxproj: Added ShapeArabic.{c,h}. * platform/mac/FontMac.mm: (WebCore::shapeArabic): Changed to call shapeArabic() instead of u_shapeArabic(). * platform/mac/ShapeArabic.c: Added. Based on ushape.c from ICU, with additional shaping data and logic for Arabic Presentation Forms-A. Removed many options that are not used in WebKit and code that malloc()ed a temporary buffer and reversed the string. (changeLamAlef): (specialChar): (getLink): (isTashkeelChar): (shapeUnicode): (shapeArabic): * platform/mac/ShapeArabic.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 May, 2007 1 commit
-
-
beidson authored
Cleanup from my earlier Java Applet patch. We should keep a central location to query if a mime type counts as a Java Applet * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::containsJavaApplet): Query MimeTypeRegistry on the type * platform/MimeTypeRegistry.cpp: (WebCore::MimeTypeRegistry::isSupportedImageMIMEType): Update style (WebCore::MimeTypeRegistry::isSupportedImageResourceMIMEType): Ditto (WebCore::MimeTypeRegistry::isSupportedNonImageMIMEType): Ditto (WebCore::MimeTypeRegistry::isJavaAppletMIMEType): Perform the Java Applet check * platform/MimeTypeRegistry.h: * rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::updateWidget): Query MimeTypeRegistry on the type git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-