- 23 Feb, 2008 1 commit
-
-
ap@webkit.org authored
Reviewed by Darin. Move basic threading support from WebCore to WTF. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Feb, 2008 2 commits
-
-
oliver@apple.com authored
Support Canvas.getImageData and Canvas.createImageData Reviewed by Sam W. This patch adds support for all the pixel reading portions of the HTML5 Canvas spec. There are two new types ImageData and CanvasPixelArray which are used to provide the HTML5 ImageData object, and the required semantics for assignment to the ImageData data array. We only implement the CG version of ImageBuffer::getImageData, but the logic is null safe, so this will not introduce any crashes into other platforms, unfortunately it will result in JS Object detection "lying" on non-CG platforms. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Rubber-stamped by Adam Roben. Rid the project of the Devil known as DeprecatedString! * GNUmakefile.am: * WebCore.base.exp: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * dom/Node.h: * html/HTMLFormElement.cpp: * platform/DeprecatedString.cpp: Removed. * platform/DeprecatedString.h: Removed. * platform/graphics/qt/IconQt.cpp: * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp: * platform/gtk/CookieJarGtk.cpp: * platform/gtk/CursorGtk.cpp: * platform/gtk/KeyEventGtk.cpp: * platform/mac/DeprecatedStringMac.mm: Removed. * platform/network/qt/ResourceHandleQt.cpp: * platform/network/win/CookieJarWin.cpp: (WebCore::cookies): * platform/qt/ClipboardQt.cpp: * platform/qt/CookieJarQt.cpp: * platform/qt/CursorQt.cpp: * platform/symbian/DeprecatedStringSymbian.cpp: Removed. * platform/text/AtomicString.cpp: * platform/text/AtomicString.h: * platform/text/PlatformString.h: * platform/text/String.cpp: * platform/text/StringImpl.cpp: * platform/text/qt/StringQt.cpp: (WebCore::String::String): * platform/text/wx/StringWx.cpp: * platform/win/BString.cpp: * platform/win/BString.h: * platform/win/PasteboardWin.cpp: WebKit/qt: Rubber-stamped by Adam Roben. Rid the project of the Devil known as DeprecatedString! * Api/qwebhistory.cpp: * Api/qwebhistoryinterface.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Feb, 2008 1 commit
-
-
weinig@apple.com authored
Remove DeprecatedStringList. * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * editing/markup.cpp: * platform/DeprecatedStringList.cpp: Removed. * platform/DeprecatedStringList.h: Removed. * platform/mac/DeprecatedStringListMac.mm: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Feb, 2008 2 commits
-
-
aroben@apple.com authored
* WebCore.pro: Remove MessageEvent.{idl,cpp} from the unconditional parts of this file. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
top level: Turn on cross-document messaging support by default Reviewed by Darin. * configure.ac: WebCore: Turn on cross-document messaging support by default Reviewed by Darin. * Configurations/WebCore.xcconfig: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: WebKitTools: Turn on cross-document messaging support by default Reviewed by Darin. * Scripts/build-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Feb, 2008 1 commit
-
-
alp@webkit.org authored
Reviewed by Adam Roben. Split out pure-cairo Font code to FontCairo.cpp. Part of the ongoing work to share code with the Win port. * GNUmakefile.am: * WebCore.pro: * platform/graphics/cairo/FontCairo.cpp: Added. (WebCore::Font::drawGlyphs): * platform/graphics/gtk/FontGtk.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Feb, 2008 1 commit
-
-
alp@webkit.org authored
Reviewed by Alp Toker. Add -DMAEMO_CHANGES when the hildon CONFIG option is specified Add hildon-1 to PKGCONFIG when hildon CONFIG option is specified git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Feb, 2008 2 commits
-
-
mrowe@apple.com authored
Reviewed by Darin Adler. Port the CoreFoundation version of WebCore::isCharacterSmartReplaceExempt for other platforms by using ICU directly. * GNUmakefile.am: Add SmartReplaceICU.cpp. * WebCore.pro: Ditto. * WebCoreSources.bkl: Ditto. * editing/SmartReplace.cpp: Don't use this empty implementation when ICU is available. * editing/SmartReplaceICU.cpp: (getSmartSet): (WebCore::isCharacterSmartReplaceExempt): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
* GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCoreSources.bkl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 Jan, 2008 2 commits
-
-
alp@webkit.org authored
Reviewed by Adam Roben. http://bugs.webkit.org/show_bug.cgi?id=17006 [GTK] Header path should be webkit/webkit.h Move the GTK+ API sources as needed and update the build systems. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Fix non-mac builds. * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCoreSources.bkl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jan, 2008 1 commit
-
-
alp@webkit.org authored
Reviewed by Alp Toker. http://bugs.webkit.org/show_bug.cgi?id=14811 [gtk] [request] add a webkit_gtk_page_go_to_history_item function git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Jan, 2008 1 commit
-
-
alp@webkit.org authored
GTK+/qmake build fix. * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Jan, 2008 1 commit
-
-
zimmermann@webkit.org authored
Fixes: http://bugs.webkit.org/show_bug.cgi?id=16880 (SVGCSSFontFace should die, instead integrate within the FontCache.) Fixes: http://bugs.webkit.org/show_bug.cgi?id=16784 (In-document fonts work only as the first child to font-face-src) Proper integration of SVG Fonts within the existing custom font concept, removing the need for a custom SVGCSSFontFace. Integrate within the CSSFontFaceSource logic for caching support, as well as the framework for external SVG Fonts. Proper handling of missing glyphs, using <missing-glyph> element. If that is not specified in a font, fallback to non-SVG font rendering. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Jan, 2008 1 commit
-
-
hausmann@webkit.org authored
Add use of precompiled header, when building inside Qt. Compiling WebKit was taking forever; 17 minutes on my machine for _one_ build! Adding the PCH at least brings it down to 12 minutes for one build, for me. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Jan, 2008 4 commits
-
-
hausmann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
This is not necessary anymore since QXmlStream has been moved into QtCore. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Signed-off-by: Holger git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Jan, 2008 3 commits
-
-
alp@webkit.org authored
Reviewed by Alp Toker. http://bugs.webkit.org/show_bug.cgi?id=16897 Add shared plugins directory to INCLUDE path Add the plugins directory to INCLUDEPATH * GNUmakefile.am: * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Build sqlite3 into QtWebKit if a system sqlite3 development package can't be found. Signed-off-by: Lars git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Use them in the places I found at the moment. Fixes a bug where form data was encoded twice. Also fix QWebSettings to take a QUrl for the user style sheet location. Signed-off-by: Simon git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Jan, 2008 1 commit
-
-
mrowe@apple.com authored
Gtk debug build fix. Reviewed by Mark Rowe. Add plugin logging channel, and use it rather than Win32-specific debugging methods _RPTF1 _RPTF2 and _CRT_WARN. * WebCore.pro: Add plugins directory to DEPENDPATH so dependencies are correctly tracked. * platform/Logging.cpp: * platform/Logging.h: * plugins/PluginDebug.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Jan, 2008 2 commits
-
-
alp@webkit.org authored
Reviewed by Dave Hyatt and Mark Rowe. http://bugs.webkit.org/show_bug.cgi?id=16089 [GTK] Support custom fonts, CachedFont::platformDataFromCustomData() Add support for CSS2 @font-face custom/downloadable fonts to the GTK+ port. * GNUmakefile.am: * WebCore.pro: * loader/CachedFont.cpp: (WebCore::CachedFont::~CachedFont): (WebCore::CachedFont::ensureCustomFontData): (WebCore::CachedFont::platformDataFromCustomData): (WebCore::CachedFont::allReferencesRemoved): * platform/graphics/gtk/FontCustomPlatformData.cpp: Added. (WebCore::FontCustomPlatformData::~FontCustomPlatformData): (WebCore::FontCustomPlatformData::fontPlatformData): (WebCore::releaseData): (WebCore::createFontCustomPlatformData): * platform/graphics/gtk/FontCustomPlatformData.h: Added. (WebCore::FontCustomPlatformData::FontCustomPlatformData): * platform/graphics/gtk/FontPlatformData.h: * platform/graphics/gtk/FontPlatformDataGtk.cpp: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::init): (WebCore::FontPlatformData::isFixedPitch): * platform/graphics/gtk/SimpleFontDataGtk.cpp: (WebCore::SimpleFontData::platformDestroy): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Anders Carlsson. Bug 16779: Make the PluginStream implementation be shared across platforms http://bugs.webkit.org/show_bug.cgi?id=16779 Add the new shared PluginStream files to the GTK+ and Win32 builds. Add PluginStreamClient class for the streamDidFinishLoading method. Add open/close/write methods to FileSystem for temporary file handling. Add PluginDebug.h and npfunctions.h for shared PluginStream. Add shared PluginStream. Remove PluginStreamWin. Update PluginViewWin to use shared PluginStream and PluginStreamClass. * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * platform/FileSystem.h: * platform/gtk/FileSystemGtk.cpp: * platform/win/FileSystemWin.cpp: * plugins/PluginDebug.h: * plugins/PluginStream.cpp: * plugins/PluginStream.h: * plugins/npfunctions.h: * plugins/win/PluginDebug: Moved to PluginDebug.h. * plugins/win/PluginStreamWin.cpp: Moved to PluginStream.cpp. * plugins/win/PluginStreamWin.h: Moved to PluginStream.h * plugins/win/PluginViewWin.cpp: * plugins/win/PluginViewWin.h: * plugins/win/npfunctions.h: Moved to npfunctions.h git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Jan, 2008 2 commits
-
-
mjs@apple.com authored
Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * GNUmakefile.am: * WebCore.base.exp: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::postMessage): * dom/Document.cpp: (WebCore::Document::domain): * page/Chrome.cpp: (WebCore::Chrome::requestQuotaIncreaseForNewDatabase): (WebCore::Chrome::requestQuotaIncreaseForDatabaseOperation): * page/Chrome.h: * page/ChromeClient.h: * platform/SecurityOrigin.cpp: (WebCore::SecurityOrigin::copy): (WebCore::SecurityOrigin::createFromIdentifier): (WebCore::SecurityOrigin::stringIdentifier): * platform/SecurityOrigin.h: (WebCore::SecurityOrigin::host): (WebCore::SecurityOrigin::protocol): (WebCore::SecurityOrigin::port): (WebCore::SecurityOrigin::equal): * platform/SecurityOriginData.cpp: Removed. * platform/SecurityOriginData.h: Removed. * storage/Database.cpp: (WebCore::Database::openDatabase): (WebCore::Database::Database): (WebCore::Database::securityOriginCopy): * storage/Database.h: * storage/DatabaseTracker.cpp: (WebCore::SecurityOriginHash::hash): (WebCore::SecurityOriginHash::equal): (WebCore::SecurityOriginTraits::deletedValue): (WebCore::SecurityOriginTraits::emptyValue): (WebCore::DatabaseTracker::canEstablishDatabase): (WebCore::DatabaseTracker::hasEntryForOrigin): (WebCore::DatabaseTracker::hasEntryForDatabase): (WebCore::DatabaseTracker::establishEntryForOrigin): (WebCore::DatabaseTracker::fullPathForDatabase): (WebCore::DatabaseTracker::populateOrigins): (WebCore::DatabaseTracker::origins): (WebCore::DatabaseTracker::databaseNamesForOrigin): (WebCore::DatabaseTracker::detailsForNameAndOrigin): (WebCore::DatabaseTracker::setDatabaseDetails): (WebCore::DatabaseTracker::usageForDatabase): (WebCore::DatabaseTracker::usageForOrigin): (WebCore::DatabaseTracker::quotaForOrigin): (WebCore::DatabaseTracker::setQuota): (WebCore::DatabaseTracker::addDatabase): (WebCore::DatabaseTracker::deleteAllDatabases): (WebCore::DatabaseTracker::deleteDatabasesWithOrigin): (WebCore::DatabaseTracker::deleteDatabase): (WebCore::DatabaseTracker::deleteDatabaseFile): (WebCore::notificationQueue): (WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged): (WebCore::DatabaseTracker::notifyDatabasesChanged): * storage/DatabaseTracker.h: * storage/DatabaseTrackerClient.h: * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::openTransactionAndPreflight): (WebCore::SQLTransaction::runStatements): (WebCore::SQLTransaction::deliverQuotaIncreaseCallback): (WebCore::SQLTransaction::postflightAndCommit): (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): * svg/graphics/SVGImageEmptyClients.h: (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForNewDatabase): (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForDatabaseOperation): WebKit/gtk: Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase): (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation): * WebCoreSupport/ChromeClientGtk.h: WebKit/mac: Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager origins]): (-[WebDatabaseManager databasesWithOrigin:]): (-[WebDatabaseManager detailsForDatabase:withOrigin:]): (-[WebDatabaseManager deleteDatabasesWithOrigin:]): (-[WebDatabaseManager deleteDatabase:withOrigin:]): * Storage/WebDatabaseTrackerClient.h: * Storage/WebDatabaseTrackerClient.mm: (WebDatabaseTrackerClient::dispatchDidModifyOrigin): (WebDatabaseTrackerClient::dispatchDidModifyDatabase): * Storage/WebSecurityOrigin.mm: (-[WebSecurityOrigin initWithProtocol:domain:port:]): (-[WebSecurityOrigin protocol]): (-[WebSecurityOrigin domain]): (-[WebSecurityOrigin port]): (-[WebSecurityOrigin usage]): (-[WebSecurityOrigin quota]): (-[WebSecurityOrigin setQuota:]): (-[WebSecurityOrigin isEqual:]): (-[WebSecurityOrigin dealloc]): (-[WebSecurityOrigin finalize]): (-[WebSecurityOrigin _initWithWebCoreSecurityOrigin:]): (-[WebSecurityOrigin _core]): * Storage/WebSecurityOriginInternal.h: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::requestQuotaIncreaseForNewDatabase): (WebChromeClient::requestQuotaIncreaseForDatabaseOperation): WebKit/qt: Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase): (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation): * WebCoreSupport/ChromeClientQt.h: WebKit/win: Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * WebChromeClient.cpp: (WebChromeClient::requestQuotaIncreaseForNewDatabase): (WebChromeClient::requestQuotaIncreaseForDatabaseOperation): * WebChromeClient.h: * WebDatabaseManager.cpp: (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): (WebDatabaseManager::detailsForDatabaseWithOrigin): (WebDatabaseManager::deleteDatabasesWithOrigin): (WebDatabaseManager::deleteDatabaseWithOrigin): (WebDatabaseManager::dispatchDidModifyOrigin): (WebDatabaseManager::dispatchDidModifyDatabase): * WebDatabaseManager.h: * WebSecurityOrigin.cpp: (WebSecurityOrigin::createInstance): (WebSecurityOrigin::WebSecurityOrigin): (WebSecurityOrigin::protocol): (WebSecurityOrigin::domain): (WebSecurityOrigin::port): (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebSecurityOrigin.h: WebKit/wx: Reviewed by Sam. - remove SecurityOriginData and fold its functionality into SecurityOrigin * WebKitSupport/ChromeClientWx.cpp: (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase): (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation): * WebKitSupport/ChromeClientWx.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2008 6 commits
-
-
alp@webkit.org authored
Back out VIDEO by default in the GTK+ qmake build. The build bot doesn't have the necessary libraries installed. * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Rubber-stamped by Mark Rowe. Enable VIDEO by default in the GTK+ qmake build. * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
GTK+ VIDEO build fix for breakage introduced in r29328. Issue noticed by Ori_B. * GNUmakefile.am: * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- rename FontDataBaseClass.{cpp,h} back to FontData.{cpp,h} * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * editing/Editor.cpp: * platform/graphics/FontData.cpp: Copied from WebCore/platform/graphics/FontDataBaseClass.cpp. * platform/graphics/FontData.h: Copied from WebCore/platform/graphics/FontDataBaseClass.h. * platform/graphics/FontDataBaseClass.cpp: Removed. * platform/graphics/FontDataBaseClass.h: Removed. * platform/graphics/SegmentedFontData.h: * platform/graphics/SimpleFontData.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Jan, 2008 4 commits
-
-
mitz@apple.com authored
* WebCore.pro: * platform/graphics/qt/FontCacheQt.cpp: (WebCore::FontCache::getCachedFontData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Prospective GTK+ autotools/qmake VIDEO build fix for breakage introduced in r29257. * GNUmakefile.am: * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Dave Hyatt. - <rdar://problem/5665216> Support the unicode-range property in @font-face rules * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * bindings/objc/DOM.mm: * bridge/mac/WebCoreAXObject.mm: * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSFontFace.cpp: (WebCore::CSSFontFace::fontLoaded): Changed to call the owning segmented font face. (WebCore::CSSFontFace::getFontData): * css/CSSFontFace.h: (WebCore::CSSFontFace::CSSFontFace): (WebCore::CSSFontFace::setSegmentedFontFace): * css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::pruneTable): Removed the calls to GlyphPageTreeNode::pruneTreeCustomFontData because the fonts in the font table are not exposed in the glyph page tree. Only the segmented font is, and that is taken care of by the segmented font face. (WebCore::CSSFontFaceSource::getFontData): * css/CSSFontFaceSource.h: * css/CSSFontSelector.cpp: (WebCore::CSSFontSelector::addFontFaceRule): Changed to collect @font-face rules with the same family and traits into a single segmented font face, instead of just retaining the most recent one. (WebCore::CSSFontSelector::fontLoaded): (WebCore::CSSFontSelector::getFontData): * css/CSSFontSelector.h: * css/CSSGrammar.y: * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseFontFaceUnicodeRange): Added. Parses a unicode range value. * css/CSSParser.h: * css/CSSPrimitiveValue.h: (WebCore::CSSPrimitiveValue::): * css/CSSPropertyNames.in: * css/CSSSegmentedFontFace.cpp: Added. (WebCore::CSSSegmentedFontFace::CSSSegmentedFontFace): (WebCore::CSSSegmentedFontFace::~CSSSegmentedFontFace): (WebCore::CSSSegmentedFontFace::pruneTable): (WebCore::CSSSegmentedFontFace::isLoaded): (WebCore::CSSSegmentedFontFace::isValid): (WebCore::CSSSegmentedFontFace::fontLoaded): (WebCore::CSSSegmentedFontFace::overlayRange): (WebCore::CSSSegmentedFontFace::getFontData): * css/CSSSegmentedFontFace.h: Added. (WebCore::FontFaceRange::FontFaceRange): (WebCore::FontFaceRange::from): (WebCore::FontFaceRange::to): (WebCore::FontFaceRange::fontFace): (WebCore::CSSSegmentedFontFace::fontSelector): * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * css/CSSUnicodeRangeValue.cpp: Added. (WebCore::CSSUnicodeRangeValue::~CSSUnicodeRangeValue): (WebCore::CSSUnicodeRangeValue::cssText): * css/CSSUnicodeRangeValue.h: Added. (WebCore::CSSUnicodeRangeValue::CSSUnicodeRangeValue): (WebCore::CSSUnicodeRangeValue::from): (WebCore::CSSUnicodeRangeValue::to): * css/SVGCSSFontFace.cpp: (WebCore::SVGCSSFontFace::getFontData): * css/SVGCSSFontFace.h: * editing/Editor.cpp: (WebCore::Editor::fontForSelection): * editing/Editor.h: * page/mac/FrameMac.mm: * page/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge fontForSelection:]): * platform/graphics/Font.cpp: (WebCore::WidthIterator::advance): (WebCore::Font::glyphDataForCharacter): (WebCore::Font::primaryFont): Changed to return the simple font data used for the space character. (WebCore::Font::fontDataAt): (WebCore::Font::fontDataForCharacters): (WebCore::Font::drawGlyphBuffer): * platform/graphics/Font.h: * platform/graphics/FontCache.cpp: (WebCore::FontCache::getCachedFontData): (WebCore::FontCache::getFontData): * platform/graphics/FontCache.h: * platform/graphics/FontData.cpp: Renamed to SimpleFontData.cpp * platform/graphics/FontData.h: Renamed to SimpleFontData.cpp. * platform/graphics/FontDataBaseClass.cpp: Added. This will be renamed FontData.cpp. (WebCore::FontData::~FontData): * platform/graphics/FontDataBaseClass.h: Added. This will be renamed FontData.h. * platform/graphics/FontFallbackList.cpp: (WebCore::FontFallbackList::determinePitch): (WebCore::FontFallbackList::fontDataAt): (WebCore::FontFallbackList::fontDataForCharacters): * platform/graphics/FontFallbackList.h: (WebCore::FontFallbackList::primaryFont): * platform/graphics/FontSelector.h: * platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::fontDataAt): (WebCore::GlyphBuffer::swap): (WebCore::GlyphBuffer::add): * platform/graphics/GlyphPageTreeNode.cpp: (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData): (WebCore::GlyphPageTreeNode::initializePage): Added code to initialize pages for segmented font data. (WebCore::GlyphPageTreeNode::getChild): (WebCore::GlyphPageTreeNode::pruneCustomFontData): * platform/graphics/GlyphPageTreeNode.h: (WebCore::GlyphPage::setGlyphDataForCharacter): (WebCore::GlyphPage::setGlyphDataForIndex): (WebCore::GlyphPageTreeNode::getRootChild): * platform/graphics/SegmentedFontData.cpp: Added. (WebCore::SegmentedFontData::~SegmentedFontData): (WebCore::SegmentedFontData::fontDataForCharacter): (WebCore::SegmentedFontData::containsCharacters): (WebCore::SegmentedFontData::isCustomFont): (WebCore::SegmentedFontData::isLoading): (WebCore::SegmentedFontData::isSegmented): * platform/graphics/SegmentedFontData.h: Added. (WebCore::FontDataRange::FontDataRange): (WebCore::FontDataRange::from): (WebCore::FontDataRange::to): (WebCore::FontDataRange::fontData): (WebCore::SegmentedFontData::appendRange): (WebCore::SegmentedFontData::numRanges): (WebCore::SegmentedFontData::rangeAt): * platform/graphics/SimpleFontData.cpp: Copied from WebCore/platform/graphics/FontData.cpp. (WebCore::SimpleFontData::SimpleFontData): (WebCore::SimpleFontData::~SimpleFontData): (WebCore::SimpleFontData::ascent): (WebCore::SimpleFontData::descent): (WebCore::SimpleFontData::widthForGlyph): (WebCore::SimpleFontData::fontDataForCharacter): (WebCore::SimpleFontData::isSegmented): * platform/graphics/SimpleFontData.h: Copied from WebCore/platform/graphics/FontData.h. (WebCore::SimpleFontData::isCustomFont): (WebCore::SimpleFontData::isLoading): * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::setPlatformFont): * platform/graphics/gtk/FontCacheGtk.cpp: (WebCore::FontCache::getFontDataForCharacters): * platform/graphics/gtk/FontDataGtk.cpp: Renamed to SimpleFontDataGtk.cpp. * platform/graphics/gtk/FontGtk.cpp: (WebCore::Font::drawGlyphs): * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: (WebCore::GlyphPage::fill): * platform/graphics/gtk/SimpleFontDataGtk.cpp: Copied from WebCore/platform/graphics/gtk/FontDataGtk.cpp. (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph): (WebCore::SimpleFontData::setFont): * platform/graphics/mac/FontCacheMac.mm: (WebCore::FontCache::getFontDataForCharacters): * platform/graphics/mac/FontDataMac.mm: Renamed to SimpleFontDataMac.mm. * platform/graphics/mac/FontMac.mm: (WebCore::initializeATSUStyle): (WebCore::overrideLayoutOperation): (WebCore::ATSULayoutParameters::initialize): (WebCore::Font::drawGlyphs): * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: (WebCore::GlyphPage::fill): * platform/graphics/mac/SimpleFontDataMac.mm: Copied from WebCore/platform/graphics/mac/FontDataMac.mm. (WebCore::initFontData): (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph): (WebCore::SimpleFontData::checkShapesArabic): * platform/graphics/qt/FontDataQt.cpp: Renamed to SimpleFontDataQt.cpp. * platform/graphics/qt/GlyphPageTreeNodeQt.cpp: (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData): * platform/graphics/qt/SimpleFontDataQt.cpp: Copied from WebCore/platform/graphics/qt/FontDataQt.cpp. * platform/graphics/win/FontCacheWin.cpp: (WebCore::FontCache::getFontDataForCharacters): * platform/graphics/win/FontDataWin.cpp: Renamed to SimpleFontDataWin.cpp. * platform/graphics/win/FontWin.cpp: (WebCore::Font::drawGlyphs): * platform/graphics/win/GlyphPageTreeNodeWin.cpp: (WebCore::GlyphPage::fill): * platform/graphics/win/SimpleFontDataWin.cpp: Copied from WebCore/platform/graphics/win/FontDataWin.cpp. (WebCore::SimpleFontData::setShouldApplyMacAscentHack): (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph): (WebCore::SimpleFontData::scriptFontProperties): * platform/graphics/wx/FontCacheWx.cpp: (WebCore::FontCache::getFontDataForCharacters): * platform/graphics/wx/FontDataWx.cpp: Renamed to SimpleFontDataWx.cpp. * platform/graphics/wx/FontWx.cpp: (WebCore::Font::drawGlyphs): * platform/graphics/wx/GlyphMapWx.cpp: (WebCore::GlyphPage::fill): * platform/graphics/wx/SimpleFontDataWx.cpp: Copied from WebCore/platform/graphics/wx/FontDataWx.cpp. (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph): * platform/mac/FileChooserMac.mm: * platform/mac/PopupMenuMac.mm: * platform/mac/WebCoreTextRenderer.mm: * platform/win/PopupMenuWin.cpp: * platform/win/UniscribeController.cpp: (WebCore::UniscribeController::advance): (WebCore::UniscribeController::itemizeShapeAndPlace): (WebCore::UniscribeController::shapeAndPlaceItem): (WebCore::UniscribeController::shape): * platform/win/UniscribeController.h: * svg/SVGFont.cpp: (WebCore::Font::drawGlyphsWithSVGFont): * svg/SVGFontElement.cpp: (WebCore::SVGFontElement::collectGlyphs): * svg/SVGFontFaceElement.cpp: (WebCore::SVGFontFaceElement::createFontData): * svg/SVGFontFaceElement.h: * svg/SVGGlyphElement.cpp: WebKit/mac: Reviewed by Dave Hyatt. - <rdar://problem/5665216> Support the unicode-range property in @font-face rules * Misc/WebNSAttributedStringExtras.mm: WebKit/win: Reviewed by Dave Hyatt. - <rdar://problem/5665216> Support the unicode-range property in @font-face rules * WebView.cpp: (WebView::setShouldApplyMacFontAscentHack): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Signed-off-by: Lars git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Jan, 2008 1 commit
-
-
hausmann@webkit.org authored
Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame. Signed-off-by: Lars git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Jan, 2008 1 commit
-
-
darin@apple.com authored
Reviewed by Maciej. - fix http://bugs.webkit.org/show_bug.cgi?id=16657 Acid3 failure since table.caption and table.thead do not work for nodes added by appendChild - fix http://bugs.webkit.org/show_bug.cgi?id=16659 Acid3 expects HTMLTableElement.rows to include a <tr> element that is an immediate child of the <table> Tests: dom/html/level2/html/HTMLCollection07.html dom/html/level2/html/HTMLCollection08.html dom/html/level2/xhtml/HTMLCollection07.xhtml dom/html/level2/xhtml/HTMLCollection08.xhtml fast/dom/HTMLTableElement/early-acid3-65-excerpt.html fast/dom/HTMLTableElement/early-acid3-66-excerpt.html * GNUmakefile.am: Added HTMLTableRowsCollection. * WebCore.pro: Ditto. * WebCore.vcproj/WebCore.vcproj: Ditto. * WebCore.xcodeproj/project.pbxproj: Ditto. * WebCoreSources.bkl: Ditto. * dom/XMLTokenizer.cpp: Took out stray include. * html/HTMLCollection.cpp: (WebCore::HTMLCollection::itemAfter): Removed all the table rows code, since we now use a separate class for that collection. Also got rid of the distinct types for custom collections that don't need them (use Other for both). * html/HTMLCollection.h: Also made firstItem non-virtual because it doesn't need to be virtual. * html/HTMLFormCollection.cpp: (WebCore::HTMLFormCollection::HTMLFormCollection): Use Other instead of FormElements for the HTMLCollection type. * html/HTMLTableElement.cpp: (WebCore::HTMLTableElement::HTMLTableElement): Eliminated m_head, m_foot, m_firstBody, and m_caption. (WebCore::HTMLTableElement::caption): Added non-inline version. Finds the caption rather than keeping a pointer to it. (WebCore::HTMLTableElement::setCaption): Rewrote. (WebCore::HTMLTableElement::tHead): Ditto. (WebCore::HTMLTableElement::setTHead): Ditto. (WebCore::HTMLTableElement::tFoot): Ditto. (WebCore::HTMLTableElement::setTFoot): Ditto. (WebCore::HTMLTableElement::createTHead): Ditto. (WebCore::HTMLTableElement::deleteTHead): Ditto. (WebCore::HTMLTableElement::createTFoot): Ditto. (WebCore::HTMLTableElement::deleteTFoot): Ditto. (WebCore::HTMLTableElement::createCaption): Ditto. (WebCore::HTMLTableElement::deleteCaption): Ditto. (WebCore::HTMLTableElement::lastBody): Added. (WebCore::HTMLTableElement::insertRow): Rewrote to use a loop based on code in HTMLTableRowsCollection. This is different from the old code mainly in how it handles rows outside any section. (WebCore::HTMLTableElement::deleteRow): Ditto. (WebCore::HTMLTableElement::addChild): Removed code to set the various members. Keeping pointers to these was a possible source of serious bugs too, including crashes with stale pointers, although I didn't write any test cases to prove those bugs existed. (WebCore::HTMLTableElement::parseMappedAttribute): Changed the rules code to visit all cells, not just the cells of the first body. I believe this fixed rendering on some table tests. I think the code visits too many cells and also the use of recursion is overkill, but I didn't try to fix that. (WebCore::HTMLTableElement::rows): Changed to use the new HTMLTableRowsCollection. * html/HTMLTableElement.h: Changed functions to return PassRefPtr, which can be important if strange things like DOM mutation events take things ot of the tree before they are safely referenced by JavaScript wrappers. Also changed functions to take PassRefPtr and added exceptions. Removed unneeded firstTBody and setTBody functions and childrenChanged function override, as well as unused Rules and Frame enums. Removed m_head, m_foot, m_firstBody, and m_caption, and added lastBody function. Removed unneeded friend declaration for HTMLTableCellElement. * html/HTMLTableElement.idl: Allow the setteres for caption, tHead, and tFoot to raise exceptions. * html/HTMLTableRowsCollection.cpp: Added. Implements the HTML 5 rule for which rows are in the collection in which order. * html/HTMLTableRowsCollection.h: Added. * loader/FTPDirectoryDocument.cpp: (WebCore::FTPDirectoryTokenizer::appendEntry): Use the standard insertRow function instead of coming up with our own way of inserting a row. Simplifies things -- we can remove the code to create a tbody element. LayoutTests: Reviewed by Maciej. - test for http://bugs.webkit.org/show_bug.cgi?id=16657 Acid3 failure since table.caption and table.thead do not work for nodes added by appendChild - test for http://bugs.webkit.org/show_bug.cgi?id=16659 Acid3 expects HTMLTableElement.rows to include a <tr> element that is an immediate child of the <table> * fast/dom/HTMLTableElement/early-acid3-65-excerpt-expected.txt: Added. * fast/dom/HTMLTableElement/early-acid3-65-excerpt.html: Added. * fast/dom/HTMLTableElement/early-acid3-66-excerpt-expected.txt: Added. * fast/dom/HTMLTableElement/early-acid3-66-excerpt.html: Added. * fast/dom/HTMLTableElement/resources/early-acid3-65-excerpt.js: Added. * fast/dom/HTMLTableElement/resources/early-acid3-66-excerpt.js: Added. * dom/html/level2/html/HTMLCollection07-expected.txt: Updated to reflect success. * dom/html/level2/html/HTMLCollection08-expected.txt: Updated to reflect success. * dom/xhtml/level2/html/HTMLCollection07-expected.txt: Updated to reflect success. * dom/xhtml/level2/html/HTMLCollection08-expected.txt: Updated to reflect success. * fast/dom/HTMLTableElement/resources/rows.js: Changed to expect HTML 5 behavior for rows outside table sections. * fast/dom/HTMLTableElement/rows-expected.txt: Updated. * platform/mac/tables/mozilla/bugs/bug30418-expected.checksum: Updated to reflect better results. * platform/mac/tables/mozilla/bugs/bug30418-expected.png: Ditto. * platform/mac/tables/mozilla/bugs/bug30418-expected.txt: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-