Timeline
Oct 4, 2006:
- 9:58 PM Changeset in webkit [16800] by
-
- 2 edits in trunk/LayoutTests
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam.
- fast/frames/frame-src-attribute-expected.txt: Update test result.
- 8:08 PM Changeset in webkit [16799] by
-
- 4 edits in trunk/WebCore
Reviewed by Maciej and Tim H.
Copy some WebKit frame lifetime logic into WebCore -- just a step
along the path to frame lifetime being handled completely in WebCore.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::setView): Move platform-independent parts of this method into Frame.
- page/Frame.cpp: (WebCore::Frame::setView): Adding platform-independent parts of FrameMac::setView (WebCore::Frame::detachChildren): New method to accomplish what -[WebFrameBridge _detachChildren] currently does. (WebCore::Frame::clear): Call detachChildren
- page/Frame.h: Add declaration for detachChildren
- 8:06 PM Changeset in webkit [22300] by
-
- 3 edits in branches/WindowsMerge/WebCore
Reviewed by Maciej and Tim H.
Fixes <rdar://problem/4760991>
Flash content doesn't go away when navigating to a new page
Actually destroy subframes when detaching.
- bridge/win/FrameWin.cpp: (WebCore::FrameWin::frameDetached):
- bridge/win/FrameWin.h:
- 7:02 PM Changeset in webkit [22299] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-10-05 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
<rdar://problem/4762998>
REGRESSION: dragging to select text does not work
- platform/win/PlatformMouseEventWin.cpp: (WebCore::PlatformMouseEvent::PlatformMouseEvent): Set the correct button for WM_MOUSEMOVE events.
- 6:42 PM Changeset in webkit [16798] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Adam.
- Removed an unnecessary assert that was stopping many pages. tm_gmtoff was not set for UTC time in mozilla but is always set for us.
- kjs/DateMath.cpp: (KJS::getUTCOffset): (KJS::msToTM):
- kjs/date_object.cpp: (KJS::gmtoffset): (KJS::formatTime):
- 6:07 PM Changeset in webkit [16797] by
-
- 2 edits in trunk/JavaScriptCore
Patch by Darin and me, reviewed by Maciej.
Fixed <rdar://problem/4518397> REGRESSION(?): Oft-seen but unrepro crash
in JavaScript garbage collection (KJS::Collector::collect())
<rdar://problem/4752492> Crash in KJS::collect
The issue here was allocating one garbage-collected object in the midst
of allocating a second garbage-collected object. In such a case, the
zeroIfFree word lies.
- kjs/collector.cpp: (KJS::Collector::allocate): (KJS::Collector::collect):
- 5:21 PM Changeset in webkit [16796] by
-
- 4 edits in trunk/WebKitTools
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
Switch the Qt buildbot to the standard set of build steps.
Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
see if any regressions were spotted, and fail the test if so.
- BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
- BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
- BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
- 5:19 PM Changeset in webkit [16795] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Adam.
- Layout test fix
- kjs/DateMath.cpp: (KJS::dateToDayInYear): accept and correctly handle negative months
- 4:30 PM Changeset in webkit [22298] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-10-05 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam.
rdar://problem/4757081
Crashes/hangs when using Flash 8 plugin (Flash 9 works MUCH better)
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::startStream): Encode javascript URLs before passing them to the plugin.
- 4:16 PM Changeset in webkit [16794] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
Fixed <rdar://problem/4758577> REGRESSION: Business and People widgets fails to complete search query
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::setRequestHeader): removed exception set when the request is not open yet
- 3:57 PM Changeset in webkit [16793] by
-
- 2 edits in trunk/JavaScriptCore
build fix
- kjs/DateMath.cpp: (KJS::dateToDayInYear):
- 3:27 PM Changeset in webkit [16792] by
-
- 24 edits10 adds in S60/branches/scriptable_plugins/JavaScriptCore
Landing initial version of scriptable plugins support (part 2 of 2).
- 3:26 PM Changeset in webkit [16791] by
-
- 24 edits5 adds in S60/branches/scriptable_plugins
Landing scriptable plugins support (part 1 of 2).
- 3:25 PM Changeset in webkit [16790] by
-
- 2 edits in trunk/JavaScriptCore
2006-10-05 Mark Rowe <bdash@webkit.org>
Reviewed by maculloch.
Gdk build fix.
- JavaScriptCoreSources.bkl: Add DateMath.cpp to file list.
- 3:17 PM Changeset in webkit [16789] by
-
- 1 copy in S60/branches/scriptable_plugins
New feature branch created from r16325.
- 3:14 PM Changeset in webkit [22297] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Reviewed by Adam.
- Fix for <rdar://problem/4762933> When typing past the end of a text field, the field doesn't auto-scroll to display the active caret
Reveal the selection after inserting text.
- WebView.cpp: (WebViewWndProc):
- 3:13 PM WikiRestructuredText edited by
- (diff)
- 3:13 PM TracTicketsCustomFields edited by
- (diff)
- 3:13 PM TracNotification edited by
- (diff)
- 3:13 PM TracRepositoryAdmin created by
- 3:13 PM TracFastCgi edited by
- (diff)
- 3:13 PM TracIni edited by
- (diff)
- 3:13 PM TracPermissions edited by
- (diff)
- 3:13 PM TracTickets edited by
- (diff)
- 3:13 PM TracUpgrade edited by
- (diff)
- 3:13 PM TracWiki edited by
- (diff)
- 3:13 PM TracImport edited by
- (diff)
- 3:13 PM TracRoadmap edited by
- (diff)
- 3:13 PM SandBox edited by
- (diff)
- 3:13 PM TracReports edited by
- (diff)
- 3:13 PM WikiMacros edited by
- (diff)
- 3:13 PM TracInterfaceCustomization edited by
- (diff)
- 3:13 PM TracModPython edited by
- (diff)
- 3:13 PM TracFineGrainedPermissions edited by
- (diff)
- 3:13 PM TracSyntaxColoring edited by
- (diff)
- 3:13 PM TracSupport edited by
- (diff)
- 3:13 PM TracUnicode edited by
- (diff)
- 3:13 PM TracSearch edited by
- (diff)
- 3:13 PM TracTimeline edited by
- (diff)
- 3:13 PM InterTrac edited by
- (diff)
- 3:13 PM TracQuery edited by
- (diff)
- 3:13 PM TracLogging edited by
- (diff)
- 3:13 PM TracBrowser edited by
- (diff)
- 3:13 PM PageTemplates edited by
- (diff)
- 3:13 PM WikiProcessors edited by
- (diff)
- 3:13 PM TracLinks edited by
- (diff)
- 3:13 PM TracEnvironment edited by
- (diff)
- 3:13 PM TracStandalone edited by
- (diff)
- 3:13 PM TracModWSGI created by
- 3:13 PM WikiDeletePage edited by
- (diff)
- 3:13 PM WikiHtml edited by
- (diff)
- 3:13 PM TracInstall edited by
- (diff)
- 3:13 PM TracCgi edited by
- (diff)
- 3:13 PM TracPlugins edited by
- (diff)
- 3:13 PM TracRevisionLog edited by
- (diff)
- 3:13 PM TracChangeset edited by
- (diff)
- 3:13 PM WikiFormatting edited by
- (diff)
- 3:13 PM TracWorkflow edited by
- (diff)
- 3:13 PM TracAdmin edited by
- (diff)
- 3:13 PM TracNavigation edited by
- (diff)
- 3:13 PM TracGuide edited by
- (diff)
- 3:13 PM InterWiki edited by
- (diff)
- 3:13 PM TracBackup edited by
- (diff)
- 3:13 PM CamelCase edited by
- (diff)
- 3:13 PM WikiPageNames edited by
- (diff)
- 3:13 PM TracRss edited by
- (diff)
- 3:13 PM WikiRestructuredTextLinks edited by
- (diff)
- 3:13 PM TracAccessibility edited by
- (diff)
- 2:27 PM Changeset in webkit [16788] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by aroben
- build fix
- JavaScriptCore.xcodeproj/project.pbxproj:
- 2:11 PM Changeset in webkit [16787] by
-
- 2 edits in trunk/JavaScriptCore
2006-10-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Mitz.
Fix Qt/Linux build by adding DateMath.cpp to compilation.
- CMakeLists.txt: Also replace tabs with spaces.
- 2:08 PM Changeset in webkit [16786] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by DethBakin.
- Apparently the build bot uses an older version of XCode which warns about conversions and the newest version does not. I hope this fixes the build but I cann't be sure on my system.
- kjs/DateMath.cpp: (KJS::msToYear): (KJS::dayInYear): (KJS::dateToDayInYear):
- 1:44 PM Changeset in webkit [16785] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Mitz Pettel!
Bug 10708: [Drosera] Make the console input plaintext-only
http://bugs.webkit.org/show_bug.cgi?id=10708
Change the console input -webkit-user-modify property to
read-write-plaintext-only.
- Drosera/console.css:
- 1:40 PM Changeset in webkit [22296] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Adam.
- platform/win/NotImplemented.h: Changed implementation to use Assertions.h. Also fixed both macros to be single-statement macros.
- 1:37 PM Changeset in webkit [16784] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Tim H.
Bug 10473: [Drosera] Overlapping text in JavaScript Console
http://bugs.webkit.org/show_bug.cgi?id=10473
Using min-height instead of height to avoid overlapping text.
- ChangeLog:
- Drosera/console.css:
- 1:35 PM Changeset in webkit [16783] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Adam.
- wtf/Assertions.cpp: Changed assertion formatting to omit the "======" lines so you can see more assertions in less space. Also improved format of file/line information so it works with more development environments.
- 1:34 PM Changeset in webkit [16782] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Adam.
- wtf/Assertions.cpp: Changed assertion formatting to omit the "======" lines so you can see more assertions in less space. Also improved format of file/line information so it works with more development environments.
- 11:37 AM Changeset in webkit [16781] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Tim H.
Added a bash-style command history.
- Drosera/console.js:
- 11:36 AM Changeset in webkit [16780] by
-
- 6 edits2 adds in trunk/JavaScriptCore
Reviewed by GGaren
- This is a big makeover for our Date implemenetation. This solves many platform specific issues, specifically dates before 1970, and simplifies some ugly code. The purpose of this was to get us to pass many of the JavaScriptCore tests on windows.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- kjs/DateMath.cpp: Added. (KJS::): (KJS::daysInYear): (KJS::daysFrom1970ToYear): (KJS::msFrom1970ToYear): (KJS::msToDays): (KJS::msToYear): (KJS::isLeapYear): (KJS::isInLeapYear): (KJS::dayInYear): (KJS::msToMilliseconds): (KJS::msToWeekDay): (KJS::msToSeconds): (KJS::msToMinutes): (KJS::msToHours): (KJS::msToMonth): (KJS::msToDayInMonth): (KJS::monthToDayInYear): (KJS::timeToMseconds): (KJS::dateToDayInYear): (KJS::equivalentYearForDST): (KJS::getUTCOffset): (KJS::getDSTOffsetSimple): (KJS::getDSTOffset): (KJS::localTimeToUTC): (KJS::UTCToLocalTime): (KJS::dateToMseconds): (KJS::msToTM): (KJS::isDST):
- kjs/DateMath.h: Added. (KJS::):
- kjs/date_object.cpp: (KJS::gmtoffset): (KJS::formatTime): (KJS::DateInstance::getTime): (KJS::DateInstance::getUTCTime): (KJS::DateProtoFunc::callAsFunction): (KJS::DateObjectImp::construct): (KJS::DateObjectFuncImp::callAsFunction): (KJS::parseDate):
- kjs/testkjs.cpp:
- os-win32/stdint.h:
- 11:34 AM Changeset in webkit [22295] by
-
- 7 edits2 adds in branches/WindowsMerge
WebCoreWin:
Reviewed by Adam.
- fix <rdar://problem/4764253> frame targeting not implemented.
- bridge/win/FrameWin.h: Added new window boolean to openURL. Also changed type from DeprecatedString to String.
- bridge/win/FrameWin.cpp: (WebCore::FrameWin::urlSelected): Added logic to do frame targeting.
- platform/win/BString.h: Added. Convenience for working with BSTR and handling allocation/free.
- platform/win/BString.cpp: Added.
- WebCore.vcproj/WebCore.vcproj: Added new files.
WebKitWin:
Reviewed by Adam.
- fix <rdar://problem/4764253> frame targeting not implemented.
- WebFrame.h: Added newWindow parameter to openURL and changed the URL parameter to a String.
- WebFrame.cpp: (WebFrame::openURL): Changed code to use BString to convert the String to a BSTR. Also respect the newWindow parameter and changed the new window code slightly, adding a FIXME.
- 11:04 AM Changeset in webkit [16779] by
-
- 2 edits in trunk/WebCore
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by John Sullivan.
<rdar://problem/4654328>
Safari Crashes in WebCore::PluginTokenizer::writeRawData If I Try to Open a SWF File With Plug-ins Turned Off
- loader/PluginDocument.cpp: (WebCore::PluginTokenizer::writeRawData): Only send the data to the plug-in if plug-ins are enabled, otherwise just silently eat it.
- 1:43 AM Changeset in webkit [16778] by
-
- 1 edit in trunk/WebCore/platform/gdk/TemporaryLinkStubs.cpp
Fix Gdk bustage.
- 1:39 AM Changeset in webkit [16777] by
-
- 1 edit in trunk/WebCore/platform/gdk/TemporaryLinkStubs.cpp
Fix Gdk bustage.
- 1:26 AM Changeset in webkit [16776] by
-
- 2 edits in trunk/WebCore/platform
Fix more win32 and qt bustage.
- 1:21 AM Changeset in webkit [16775] by
-
- 1 edit in trunk/WebCore/platform/win/TemporaryLinkStubs.cpp
Fix more win32 bustage.
- 1:19 AM Changeset in webkit [16774] by
-
- 1 edit in trunk/WebCore/platform/win/TemporaryLinkStubs.cpp
Fix more win32 bustage.
- 1:11 AM Changeset in webkit [16773] by
-
- 1 edit in trunk/WebCore/platform/gdk/TemporaryLinkStubs.cpp
Fix Gdk bustage.
- 1:10 AM Changeset in webkit [16772] by
-
- 1 edit in trunk/WebCore/platform/qt/TemporaryLinkStubs.cpp
Fix Qt bustage.
- 1:09 AM Changeset in webkit [16771] by
-
- 1 edit in trunk/WebCore/platform/gdk/WidgetGdk.cpp
Fix Gdk bustage.
- 1:06 AM Changeset in webkit [16770] by
-
- 2 edits in trunk/WebCore/platform/qt
Fix Qt bustage.
- 1:05 AM Changeset in webkit [16769] by
-
- 1 edit in trunk/WebCore/platform/win/ScrollViewWin.cpp
Fix Win32 bustage.
- 12:53 AM Changeset in webkit [16768] by
-
- 1 edit in trunk/WebCore/platform/win/ScrollViewWin.cpp
Fix Win32 bustage.
- 12:52 AM Changeset in webkit [16767] by
-
- 2 edits in trunk/WebCore/platform/win
Fix Win32 bustage.
- 12:22 AM Changeset in webkit [22294] by
-
- 4 edits in branches/WindowsMerge/WebKitWin
Fix the textfield caret by not doing layouts every time we paint.
Oct 3, 2006:
- 9:50 PM Changeset in webkit [22293] by
-
- 1 edit in branches/WindowsMerge/WebCore/platform/win/WidgetWin.cpp
Move function into WidgetWin.cpp, since I made it windows only but had left it in Widget.cpp (breaking mac)
- 9:45 PM Changeset in webkit [16766] by
-
- 1 edit in trunk/WebCore/platform/Widget.cpp
Fix mac build bustage.
- 9:34 PM Changeset in webkit [16765] by
-
- 5 edits in trunk
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=11130
Convert "undefined" to AE missing value
WebCore:
- bridge/mac/WebCoreFrameBridge.mm: (aeDescFromJSValue): return missing value for UndefinedType.
LayoutTests:
- fast/AppleScript/001-expected.txt:
- fast/AppleScript/array-expected.txt: Updated the results.
- 9:26 PM Changeset in webkit [22292] by
-
- 7 edits in branches/WindowsMerge/WebCore
Land the new scrollview.
- 9:26 PM Changeset in webkit [22291] by
-
- 4 edits in branches/WindowsMerge/WebKitWin
Improve painting to not always use the unioned invalidation rect.
- 9:22 PM Changeset in webkit [16764] by
-
- 18 edits in trunk/WebCore
Scrolling work.
- 8:36 PM Changeset in webkit [16763] by
-
- 2 edits in trunk/WebKit
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by NOBODY (build fix).
- WebView/WebView.m: (-[WebView scrollDOMRangeToVisible:]): Move scrollDOMRangeToVisible: into the correct category.
- 7:51 PM Changeset in webkit [16762] by
-
- 2 edits in trunk
Update bug URLs in the two patches that I just landed.
- 7:46 PM Changeset in webkit [16761] by
-
- 6 edits in trunk
2006-09-26 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3723
Add -scrollDOMRangeToVisible:
No automated tests are possible as this code path isn't reachable from JavaScript.
- bridge/mac/WebCoreFrameBridge.h:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge scrollDOMRangeToVisible:]):
2006-09-26 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3723
Add -scrollDOMRangeToVisible:
- WebView/WebView.m: (-[WebView scrollDOMRangeToVisible:]):
- WebView/WebViewPrivate.h:
- 7:31 PM Changeset in webkit [16760] by
-
- 13 edits in trunk
2006-10-03 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Timothy.
<http://bugzilla.opendarwin.org/show_bug.cgi?id=10338>
When contentEditable, cursor doesn't change to hand
Allow the behaviour of editable links to be specified by a WebPreference
The preference WebKitEditableLinkBehavior has four options:
- AlwaysLive: Safari 2.0 behaviour
- OnlyLiveWithShiftKey: Firefox/WinIE behaviour (and prior WebKit-ToT behaviour)
- LiveWhenNotFocused: Editable links are live only when their editable block is not
focused, or when the shift key is pressed
- DefaultBehavior: This is the same as OnlyLiveWithShiftKey.
No layout tests, just a modification of a manual-test as it isn't possible to test
this automatically.
- bridge/mac/WebCoreSettings.h:
- bridge/mac/WebCoreSettings.mm: (-[WebCoreSettings setEditableLinkBehavior:]): (-[WebCoreSettings editableLinkBehavior]):
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::HTMLAnchorElement): (WebCore::HTMLAnchorElement::defaultEventHandler): (WebCore::HTMLAnchorElement::setActive):
- html/HTMLAnchorElement.h:
- manual-tests/contenteditable-link.html:
- page/FrameView.cpp: (WebCore::nodeIsNotBeingEdited): (WebCore::selectCursor):
- page/Settings.h: (WebCore::Settings::): (WebCore::Settings::Settings): (WebCore::Settings::editableLinkBehavior): (WebCore::Settings::setEditableLinkBehavior):
2006-10-03 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Timothy.
<http://bugzilla.opendarwin.org/show_bug.cgi?id=10338>
When contentEditable, cursor doesn't change to hand
Allow the behaviour of editable links to be specified by a WebPreference
The preference WebKitEditableLinkBehavior has four options:
- AlwaysLive: Safari 2.0 behaviour
- OnlyLiveWithShiftKey: Firefox/WinIE behaviour (and prior WebKit-ToT behaviour)
- LiveWhenNotFocused: Editable links are live only when their editable block is not
focused, or when the shift key is pressed
- DefaultBehavior: This is the same as OnlyLiveWithShiftKey.
No layout tests, just a modification of a manual-test as it isn't possible to test
this automatically.
- WebView/WebPreferenceKeysPrivate.h:
- WebView/WebPreferences.m: (+[WebPreferences initialize]): (-[WebPreferences editableLinkBehavior]): (-[WebPreferences setEditableLinkBehavior:]):
- WebView/WebPreferencesPrivate.h:
- WebView/WebView.m: (-[WebView _updateWebCoreSettingsFromPreferences:]):
- 6:28 PM Changeset in webkit [22290] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Steve.
Improvements to error handling in PluginStreamWin.
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::deliverData): Fail quietly if called after termination (due to bad error handling in ResourceLoaderWin), ASSERT if called before stream has been started. (WebCore::PluginStreamWin::receivedData): Ditto. (WebCore::PluginStreamWin::receivedAllData): Ditto.
- 6:12 PM Changeset in webkit [16759] by
-
- 3 edits in trunk/WebCore
Reviewed Darin.
No test cases needed.
Implemented a version of StringImpl::append that takes a UChar* and
a length.
- platform/StringImpl.cpp: (WebCore::StringImpl::append): (WebCore::StringImpl::insert): Call new append instead of making a new StringImpl.
- platform/StringImpl.h:
- 6:10 PM Changeset in webkit [16758] by
-
- 2 edits in trunk/WebKitTools
2006-10-03 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam and Brady.
- DumpRenderTree/DumpRenderTree.m: (main): Update URL to Ahem.ttf
- 6:09 PM Changeset in webkit [16757] by
-
- 2 edits in trunk/WebCore
2006-10-03 MorganL <morganl.webkit@yahoo.com>
Reviewed by Darin.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11099
HttpSendRequestEx results in ERROR_HTTP_HEADER_NOT_FOUND
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoader::onHandleCreated):
- 5:42 PM Changeset in webkit [22289] by
-
- 3 edits in branches/WindowsMerge/WebCore
Reviewed by Anders.
Fixes <rdar://problem/4760963>
Failed ASSERT in PluginStreamWin::~PluginStreamWin at espn.com
We now store the state of a stream as a tri-state enum in
m_streamState. This allows us to differentiate between before and after the
stream has been started.
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::PluginStreamWin): Initialize members of m_stream struct individually. (WebCore::PluginStreamWin::~PluginStreamWin): (WebCore::PluginStreamWin::startStream): (WebCore::PluginStreamWin::destroyStream): (WebCore::PluginStreamWin::deliverData): Return early if the stream isn't started. (WebCore::PluginStreamWin::receivedData): Ditto. (WebCore::PluginStreamWin::receivedAllData): Ditto.
- plugins/win/PluginStreamWin.h: (WebCore::): Add PluginStreamState enum.
- 4:50 PM Changeset in webkit [16756] by
-
- 5 edits in tags/WebCore-521.28.1/WebCore
Merging a fix for bug 4671286 (r16737).
- 4:48 PM Changeset in webkit [16755] by
-
- 2 edits in tags/WebCore-521.28.1/WebCore
Reviewed by Hyatt.
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10842
REGRESSION (r15418): contenteditable div truncates rightmost Japanese character
Make sure we only break after a space (and not any other valid line-break) if
the style is -webkit-line-break: after-white-space (e.g. for a contentEditable div).
I also did a logic shuffle at Mitz's request to prevent doing an if on the same expression
twice in quick succession.
- rendering/bidi.cpp: (WebCore::RenderBlock::findNextLineBreak):
- 4:46 PM Changeset in webkit [16754] by
-
- 3 edits in tags/WebCore-521.28.1/WebCore
Merging a fix for 4717965 and 4712111 (r16567).
- 4:28 PM Changeset in webkit [16753] by
-
- 1 edit in tags/WebCore-521.28.1/WebCore/Info.plist
Versioning
- 4:28 PM Changeset in webkit [16752] by
-
- 7 edits8 adds in trunk
LayoutTests:
Reviewed by harrison
- editing/execCommand/paste-1-expected.checksum: Added.
- editing/execCommand/paste-1-expected.png: Added.
- editing/execCommand/paste-1-expected.txt: Added.
- editing/execCommand/paste-1.html: Added.
- editing/execCommand/paste-2-expected.checksum: Added.
- editing/execCommand/paste-2-expected.png: Added.
- editing/execCommand/paste-2-expected.txt: Added.
- editing/execCommand/paste-2.html: Added.
WebKit:
Reviewed by harrison
execCommand("Cut"/"Copy"/"Paste") broken in editable subframes.
- WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge issueCutCommand]): Issue the command on the WebHTMLView, not the WebView. (-[WebFrameBridge issueCopyCommand]): Ditto. (-[WebFrameBridge issuePasteCommand]): Ditto. (-[WebFrameBridge issuePasteAndMatchStyleCommand]): Ditto. (-[WebFrameBridge issueTransposeCommand]): Fixed formatting. (-[WebFrameBridge canPaste]): Ask the WebHTMLView, not the WebView.
- WebView/WebHTMLView.m: (-[WebHTMLView copy:]): Moved to WebInternal (-[WebHTMLView cut:]): Ditto. (-[WebHTMLView paste:]): Ditto. (-[WebHTMLView pasteAsPlainText:]): Ditto.
- WebView/WebHTMLViewInternal.h:
- WebView/WebView.m: Removed the now unused _canPaste.
- WebView/WebViewInternal.h: Ditto.
- 4:25 PM Changeset in webkit [16751] by
-
- 1 copy in tags/WebCore-521.28.1/WebCore
New tag part 2.
- 4:24 PM Changeset in webkit [16750] by
-
- 1 add in tags/WebCore-521.28.1
New tag.
- 4:24 PM Changeset in webkit [16749] by
-
- 1 delete in WebCore-521.28.1
Bad tag.
- 4:23 PM Changeset in webkit [16748] by
-
- 1 add in WebCore-521.28.1
New tag.
- 4:19 PM Changeset in webkit [16747] by
-
- 9 edits in trunk/LayoutTests
Reviewed by Geoff.
Changing these two counters tests so they pass on the BuildBot.
- fast/css/counters/counter04-expected.checksum:
- fast/css/counters/counter04-expected.png:
- fast/css/counters/counter04-expected.txt:
- fast/css/counters/counter04.html:
- fast/css/counters/counters04-expected.checksum:
- fast/css/counters/counters04-expected.png:
- fast/css/counters/counters04-expected.txt:
- fast/css/counters/counters04.html:
- 4:00 PM Changeset in webkit [16746] by
-
- 4 edits in trunk/LayoutTests
Reviewed by geoff
Fixed a typo, updating expected results.
- editing/execCommand/create-list-with-hr-expected.checksum:
- editing/execCommand/create-list-with-hr-expected.png:
- editing/execCommand/create-list-with-hr-expected.txt:
- 4:00 PM Changeset in webkit [16745] by
-
- 6 edits in trunk/WebCore
Feared, loathed, reviewed by Darin.
More frame/iframe merging. Merged IFRAME::willRemove and IFRAME::detach
into FRAME, plus other cleanup.
No new behavior, so no new test. Layout tests pass. Basic browsing and
Mail editing seem to work.
- dom/Node.cpp: (WebCore::Node::detach): Removed random commented-out code.
- html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::isURLAllowed): (1) Removed reference to FrameView, to dissociate frame loading from rendering. (2) Renamed newURL to completeURL because the difference between newURL and URLString is that newURL is a KURL that is the complete version of URLString, not that it is new. (WebCore::HTMLFrameElement::willRemove): (1) Removed close() call and moved close() code into willRemove(), also removing close() call from detach(), since willRemove is the well-defined place from DOM tear-down, not detach(). (2) Removed manual renderer detach code because the DOM is not responsible for managing the render tree. I confirmed that this change not regress <rdar://problem/4132581>. (3) Removed questionable ASSERT. The ASSERT assumed that iframe elements lost their content frames after being removed from the DOM. That's our current behavior, but it's going to change in future rounds of refactoring. This also fixes <rdar://problem/4750835>. (WebCore::HTMLFrameElement::setLocation): Removed wacky manual calls to attach/detach, because the render tree should not be in charge of deciding when to load.
- html/HTMLFrameElement.h:
- html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::attach): Renamed renderPart to renderPartObject, because the renderer is a renderPartObject, not a renderPart.
- html/HTMLIFrameElement.h:
- 3:46 PM Changeset in webkit [16744] by
-
- 2 edits in trunk/WebKitTools
- Scripts/commit-log-editor: Added missing "close" call. Oops!
- 3:14 PM Changeset in webkit [16743] by
-
- 2 edits in trunk/WebCore
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Mitz.
http://bugs.webkit.org/show_bug.cgi?id=11137
Bug 11137: GdkLauncher dies with "pure virtual method called" if
window is closed while page still loading
- platform/gdk/FrameGdk.cpp: (WebCore::FrameGdk::~FrameGdk): Call cancelAndClear to allow virtual methods to be called before the FrameGdk portion of "this" is torn down.
- 2:53 PM Changeset in webkit [16742] by
-
- 2 edits in trunk/WebKit
Reviewed by geoff
<rdar://problem/4763519> REGRESSION: Multipart/x-mixed-replace sub-resources fail to load
- Loader/WebSubresourceLoader.m: (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forFrameLoader:]): Enable multipart/x-mixed-replace support on the request. This line was accidently removed during some loader refactoring.
- 2:10 PM Changeset in webkit [22288] by
-
- 8 edits in branches/WindowsMerge
WebCoreWin:
Reviewed by Darin.
Fixes <rdar://problem/4603342>
Keyboard navigability
Implement tabbing between form elements (in the single-frame case).
- bridge/win/FrameWin.cpp: Add methods to determine tabbing preferences. (WebCore::FrameWin::tabsToLinks): (WebCore::FrameWin::tabsToAllControls):
- bridge/win/FrameWin.h: Add tabsToLinks() to FrameWinClient
- platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::scrollPointRecursively): Implemented for single-frame case.
- platform/win/TemporaryLinkStubs.cpp: Remove stub for now-implemented ScrollView::scrollPointsRecursively
WebKitWin:
Reviewed by Darin.
Part of fix for <rdar://problem/4603342>
Keyboard navigability
Implement methods to determine tabbing preferences.
- WebFrame.cpp: (WebFrame::tabsToLinks):
- WebFrame.h:
- 2:09 PM Changeset in webkit [16741] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
Handle tab key presses in the DOM.
- dom/EventTargetNode.cpp: (WebCore::EventTargetNode::defaultEventHandler): Add tab key handling.
- page/FrameView.cpp: (WebCore::FrameView::advanceFocus): Rename and reimplement focusNextPrevNode. Now we just call Element::focus().
- page/FrameView.h: Rename focusNextPrevNode to advanceFocus and make it public.
- 12:01 PM Changeset in webkit [16740] by
-
- 2 edits in trunk/WebCore
Reviewed by mjs
<rdar://problem/4760612>
TOT REGRESSION: Repro assertion failure when forwarding draft in Range::compareBoundaryPoints
No layout test possible, attributedStringFrom:(DOMNode*)...etc isn't available to DRT.
- dom/Range.cpp: (WebCore::Range::boundaryPointsValid): compareBoundaryPoints asserts that the incoming positions are non-null since most of it's callers would be in a bad state if the positions were null. boundaryPointsValid, which calls compareBoundaryPoints, is an exception. Instead of removing the assert I've added nil checks in boundaryPointsValid, to keep it from entering compareBoundaryPoints and hitting the assert.
- 11:55 AM Changeset in webkit [16739] by
-
- 2 edits in trunk/WebCore
Reviewed by Geoff.
Make code for turning off new listbox implementation mac-only, since there's no implementation on other platforms.
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::recalcStyle): (WebCore::HTMLSelectElement::isKeyboardFocusable): (WebCore::HTMLSelectElement::isMouseFocusable): (WebCore::HTMLSelectElement::createRenderer): (WebCore::HTMLSelectElement::setRecalcListItems): (WebCore::HTMLSelectElement::notifyOptionSelected): (WebCore::HTMLSelectElement::defaultEventHandler):
- 11:18 AM Changeset in webkit [16738] by
-
- 2 edits in trunk/WebCore
2006-10-04 Darin Adler <Darin Adler>
Reviewed by Geoff.
- fix http://bugs.webkit.org/show_bug.cgi?id=11132 Caret disappears when you're typing
- editing/SelectionController.cpp: (WebCore::SelectionController::setSelection): Remove unnecessary call to clearCaretRectIfNeeded. The recomputeCaretRect now takes care of this. (WebCore::SelectionController::recomputeCaretRect): Explicitly set m_needsLayout to false so we can get the old caret repaint rect. Later we need to change the design so getting the rect doesn't have a side effect of causing a layout without invalidation.
- 11:16 AM Changeset in webkit [22287] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-10-04 Darin Adler <Darin Adler>
Reviewed by Adam.
- WebView.cpp: (WebView::handleMouseEvent): Pass message when creating a PlatformMouseEvent.
- 7:44 AM Changeset in webkit [16737] by
-
- 10 edits in trunk
LayoutTests:
Reviewed by Maciej.
<rdar://problem/4671286> Candidate Window isn't displayed and only first candidate is displayed at typing location.
Updated test so that it actually shows the caret rect for the caret position.
Before, it was showing the caret rect for the 9th character of the test description.
- fast/text/justified-text-rect-expected.checksum:
- fast/text/justified-text-rect-expected.png:
- fast/text/justified-text-rect-expected.txt:
- fast/text/justified-text-rect.html:
WebCore:
Reviewed by Maciej.
<rdar://problem/4671286> Candidate Window isn't displayed and only first candidate is displayed at typing location.
Updated test:
- fast/text/justified-text-rect.html
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge convertToNSRange:]): (-[WebCoreFrameBridge convertToDOMRange:]): Make the selection's root editable element (or the document itself) be the basis for NSRange conversions. This supports "shadow DOM" like that for text fields and text areas.
- editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::moveParagraphs): Pass the document element as the scope.
- editing/TextIterator.cpp: (WebCore::TextIterator::rangeFromLocationAndLength): Make the first parameter the scope.
- editing/TextIterator.h: Make the first parameter of rangeFromLocationAndLength() the scope.
- 5:14 AM Changeset in webkit [16736] by
-
- 4 edits in trunk/WebKitTools
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Offer a way for BuildBot to not colorize the cmake output, when building
with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
Default is colorize output, though only Qt platform handles this for now.
- Scripts/build-dumprendertree:
- Scripts/build-webkit:
- Scripts/webkitdirs.pm:
- 3:49 AM Changeset in webkit [16735] by
-
- 5 edits in trunk/WebKitTools
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Make all important scripts work with Qt/Linux.
You can safely use this now:
set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
- Scripts/build-dumprendertree:
- Scripts/run-javascriptcore-tests:
- Scripts/run-webkit-tests:
- Scripts/webkitdirs.pm:
- 2:46 AM Changeset in webkit [16734] by
-
- 4 edits in trunk
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
- Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Fix Qt/Linux build.
- CMakeLists.txt: Add counter related files.
- 2:42 AM Changeset in webkit [16733] by
-
- 9 edits1 add in trunk
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Eric.
Stop Bakefile-generated Makefile from running `pkg-config' multiple times per file.
- presets.bkl: Make use of "options" and Python commands to run pkg-config etc up front.
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Eric.
http://bugs.webkit.org/show_bug.cgi?id=10981
Linux/GDK build fixes
Based on a patch by Krzysztof Kowalczyk.
- WebCoreSources.bkl:
- platform/gdk/FrameGdk.cpp: (WebCore::doScroll): (WebCore::FrameGdk::handleGdkEvent):
- platform/gdk/PlatformScrollBar.h: Added. (WebCore::PlatformScrollBar::isWidget):
- platform/gdk/ScrollViewGdk.cpp:
- platform/gdk/TemporaryLinkStubs.cpp: (FrameView::passMousePressEventToScrollbar): (FrameView::passMousePressEventToSubframe): (FrameView::passMouseReleaseEventToSubframe): (FrameView::passMouseMoveEventToSubframe): (FrameView::passWheelEventToSubframe): (Cursor::Cursor): (Widget::invalidate): (Widget::invalidateRect): (ScrollView::wheelEvent): (ScrollView::convertToContainingWindow): (ScrollView::convertFromContainingWindow): (GraphicsContext::clip): (PlatformScrollBar::PlatformScrollBar): (PlatformScrollBar::updateThumbPosition): (PlatformScrollBar::updateThumbProportion): (ScrollBar::ScrollBar): (ScrollBar::setProportion): (WebCore::supportedKeySizes): (WebCore::signedPublicKeyAndChallengeString):
- platform/gdk/WheelEventGdk.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- platform/gdk/WidgetGdk.cpp: (WebCore::Widget::convertToContainingWindow): (WebCore::Widget::convertFromContainingWindow):
Oct 2, 2006:
- 9:38 PM Changeset in webkit [16732] by
-
- 3 edits in trunk/WebKit
Reviewed by Maciej.
(Forgot this in previous checkin)
Add message paramter to WebView::mouse* methods to pass down to
PlatformMouseEvent.
- COM/WebView.cpp: (WebView::mouseMoved): (WebView::mouseDown): (WebView::mouseUp): (WebView::mouseDoubleClick): (WebViewWndProc):
- COM/WebView.h:
- 9:35 PM Changeset in webkit [22286] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
- WebKit.vcproj/WebKit.vcproj:
- 9:29 PM Changeset in webkit [22285] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Maciej.
Fixes <rdar://problem/4743497>
Can't check checkboxes
Let Windows determine which mouse button is pressed.
- platform/win/PlatformMouseEventWin.cpp: (WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message parameter to determine which mouse button is pressed.
- 9:26 PM Changeset in webkit [16731] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
Let Windows determine which mouse button is pressed.
- platform/PlatformMouseEvent.h: Add message parameter to constructor.
- platform/win/MouseEventWin.cpp: (WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message parameter to determine which mouse button is pressed.
- 7:00 PM Changeset in webkit [16730] by
-
- 8 edits in trunk/WebKit
Reviewed by Alice.
- take away direct knowledge of WebFrame from WebDataSource
- Loader/WebDocumentLoadState.h:
- Loader/WebDocumentLoadState.m: (-[WebDocumentLoadState setFrameLoader:]): (-[WebDocumentLoadState detachFromFrameLoader]):
- Loader/WebFrameLoader.m: (-[WebFrameLoader _setDocumentLoadState:]): (-[WebFrameLoader _setProvisionalDocumentLoadState:]):
- WebView/WebDataSource.m:
- WebView/WebDataSourceInternal.h:
- WebView/WebDocumentLoadStateMac.m: (-[WebDocumentLoadStateMac detachFromFrameLoader]):
- WebView/WebFrame.m: (-[WebFrame _loadDataSource:withLoadType:formState:]):
- 6:38 PM Changeset in webkit [16729] by
-
- 3 edits in trunk/WebCore
Reviewed by anders
Build fix
- editing/SelectionController.cpp: (WebCore::SelectionController::empty):
- editing/SelectionController.h:
- 6:08 PM Changeset in webkit [16728] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by john
- editing/execCommand/create-list-with-hr-expected.checksum: Added.
- editing/execCommand/create-list-with-hr-expected.png: Added.
- editing/execCommand/create-list-with-hr-expected.txt: Added.
- editing/execCommand/create-list-with-hr.html: Added.
WebCore:
Reviewed by john
<rdar://problem/4755287>
Writely Editor: Crash occurs at WebCore::maxDeepOffset(WebCore::Node const*) when attempting to create a OL/UL following a HR element
- editing/markup.cpp: (WebCore::createMarkup): Migrate to isBlock (isBlockFlow is true for inline replaced elements). Don't skip blocks that aren't containers (like horizontal rules).
- 6:06 PM Changeset in webkit [16727] by
-
- 5 edits in trunk/WebCore
2006-10-03 Darin Adler <Darin Adler>
Reviewed by Justin Garcia.
- correct mistaken code that would restart blinking every time "invalidateSelection" is called even if the caret has not moved
- editing/SelectionController.h:
- editing/SelectionController.cpp: (WebCore::SelectionController::setSelection): Update for name change. (WebCore::SelectionController::recomputeCaretRect): New function. Computes caret rect and does any necessary invalidation if the rect changes. (WebCore::SelectionController::invalidateCaretRect): Renamed from needsCaretRepaint. Invalidates the caret rect unconditionally. Also calls recomputeCaretRect as a side effect.
- page/Frame.cpp: (WebCore::Frame::invalidateSelection): Remove unneeded call to clearCaretRectIfNeeded. (WebCore::Frame::clearCaretRectIfNeeded): Updated for name change. (WebCore::Frame::selectionLayoutChanged): Restructured to use the new recomputeCaretRect function and not restart blinking if caret has not changed position. (WebCore::Frame::caretBlinkTimerFired): Removed some checks that are not needed since selectionLayoutChanged already checks these.
- page/FramePrivate.h: Removed unused m_blinkCaret.
- 6:05 PM Changeset in webkit [16726] by
-
- 2 edits in trunk/WebCore
Reviewed by Adam.
Build fix. Add counters to vcproj.
- WebCore.vcproj/WebCore/WebCore.vcproj:
- 5:51 PM Changeset in webkit [22284] by
-
- 1 edit in branches/WindowsMerge/WebCore/WebCore.vcproj/WebCore.vcproj
Fix build bustage on win32 caused by counters checkin.
- 5:38 PM Changeset in webkit [22283] by
-
- 5 edits in branches/WindowsMerge
2006-10-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Geoff, Hyatt.
<rdar://4757389> Browser locks up while navigating to a new page
<rdar://4757407> Images fail to load at https://webmail.apple.com
- WebFrame.cpp: Preserve old document until new doc has started loading. (WebFrame::loadDataSource): Don't destroy old document when a new load kicks off. (WebFrame::receivedResponse): Destroy old document when first data is received for new doc.
- WebView.cpp: Fix painting suppression code. (WebViewWndProc): Suppress painting, mouse events until first layout instead of while loading.
2006-10-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Hyatt.
<rdar://4757387> (partial fix) Unable to sign on to my.yahoo.com
<rdar://4757405> (partial fix) Unable to log onto secure site (www.schwab.com)
<rdar://4757411> (partial fix) Unable to log onto any AppleConnect site (but using back and resubmiting works)
WinInet fixes.
Don't post data using HTTP when HTTPS should be used.
Fix redirect from POST to GET case.
There is a remaining bug with the way that we queue WinInet callbacks
still to be addressed.
- platform/win/ResourceLoaderWin.cpp: (WebCore::addToOutstandingJobs): Skip dwContext of 0 (rollover case). (WebCore::ResourceLoaderWndProc): Call default wndproc properly.
Pass INTERNET_FLAG_SECURE when necessary for HTTPS.
Fix redirect code.
Initialize buffers struct.
Pass proper context in InternetReadFileExA
(WebCore::initializeOffScreenResourceLoaderWindow): Init a struct to {0} instead of using memset.
(WebCore::transferJobStatusCallback): Prevent future bugs by making an else a bit more explicit.
(WebCore::ResourceLoader::start): Pass proper port for HTTP vs. HTTPS.
(WebCore::ResourceLoader::cancel): Zero out handle when closing.
- 4:54 PM Changeset in webkit [16725] by
-
- 12 edits in trunk/WebKit
Reviewed by Darin.
- move a big slice of data and logic from WebDataSource to WebDocumentLoadState
- Loader/WebDocumentLoadState.h:
- Loader/WebDocumentLoadState.m: (-[WebDocumentLoadState initWithRequest:]): (-[WebDocumentLoadState dealloc]): (-[WebDocumentLoadState originalRequestCopy]): (-[WebDocumentLoadState request]): (-[WebDocumentLoadState replaceRequestURLForAnchorScrollWithURL:]): (-[WebDocumentLoadState setRequest:]): (-[WebDocumentLoadState setResponse:]): (-[WebDocumentLoadState isStopping]): (-[WebDocumentLoadState bridge]): (-[WebDocumentLoadState setMainDocumentError:]): (-[WebDocumentLoadState mainDocumentError]): (-[WebDocumentLoadState clearErrors]): (-[WebDocumentLoadState mainReceivedError:complete:]): (-[WebDocumentLoadState stopLoading]): (-[WebDocumentLoadState setupForReplace]): (-[WebDocumentLoadState commitIfReady]): (-[WebDocumentLoadState finishedLoading]): (-[WebDocumentLoadState setCommitted:]): (-[WebDocumentLoadState isCommitted]): (-[WebDocumentLoadState setLoading:]): (-[WebDocumentLoadState isLoading]): (-[WebDocumentLoadState commitLoadWithData:]): (-[WebDocumentLoadState doesProgressiveLoadWithMIMEType:]): (-[WebDocumentLoadState receivedData:]): (-[WebDocumentLoadState setupForReplaceByMIMEType:]): (-[WebDocumentLoadState updateLoading]): (-[WebDocumentLoadState response]):
- Loader/WebFrameLoader.h:
- Loader/WebFrameLoader.m: (-[WebFrameLoader activeDocumentLoadState]): (-[WebFrameLoader activeDataSource]): (-[WebFrameLoader _archivedSubresourceForURL:]): (-[WebFrameLoader addPlugInStreamLoader:]): (-[WebFrameLoader removePlugInStreamLoader:]): (-[WebFrameLoader addSubresourceLoader:]): (-[WebFrameLoader removeSubresourceLoader:]): (-[WebFrameLoader documentLoadState]): (-[WebFrameLoader provisionalDocumentLoadState]): (-[WebFrameLoader stopLoading]): (-[WebFrameLoader _originalRequest]): (-[WebFrameLoader _receivedData:]): (-[WebFrameLoader _setRequest:]): (-[WebFrameLoader bridge]): (-[WebFrameLoader _handleFallbackContent]): (-[WebFrameLoader _isStopping]): (-[WebFrameLoader _setupForReplaceByMIMEType:]): (-[WebFrameLoader _setResponse:]): (-[WebFrameLoader _mainReceivedError:complete:]): (-[WebFrameLoader _finishedLoading]): (-[WebFrameLoader didReceiveServerRedirectForProvisionalLoadForFrame]): (-[WebFrameLoader finishedLoadingDocumentLoadState:]): (-[WebFrameLoader commitProvisitionalLoad]): (-[WebFrameLoader committedLoadWithDocumentLoadState:data:]): (-[WebFrameLoader isReplacing]): (-[WebFrameLoader setReplacing]): (-[WebFrameLoader revertToProvisionalWithDocumentLoadState:]): (-[WebFrameLoader documentLoadState:setMainDocumentError:]): (-[WebFrameLoader documentLoadState:mainReceivedCompleteError:]): (-[WebFrameLoader finalSetupForReplaceWithDocumentLoadState:]):
- WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _prepareForLoadStart]): (-[WebDataSource _mainDocumentError]): (-[WebDataSource _finishedLoading]): (-[WebDataSource _receivedData:]): (-[WebDataSource _setMainDocumentError:]): (-[WebDataSource _clearUnarchivingState]): (-[WebDataSource _revertToProvisionalState]): (-[WebDataSource _receivedMainResourceError:complete:]): (-[WebDataSource _startLoading]): (-[WebDataSource _loadFromPageCache:]): (-[WebDataSource _bridge]): (-[WebDataSource _setPrimaryLoadComplete:]): (-[WebDataSource _URLForHistory]): (-[WebDataSource _setTitle:]): (-[WebDataSource _initWithDocumentLoadState:]): (-[WebDataSource request]): (-[WebDataSource response]): (-[WebDataSource isLoading]): (-[WebDataSource webArchive]):
- WebView/WebDataSourceInternal.h:
- WebView/WebDocumentLoadStateMac.m: (-[WebDocumentLoadStateMac initWithRequest:]):
- WebView/WebFrame.m: (-[WebFrame _createItem:]): (-[WebFrame _receivedMainResourceError:]): (-[WebFrame _transitionToCommitted:]): (-[WebFrame _commitProvisionalLoad:]): (-[WebFrame _checkLoadCompleteForThisFrame]): (-[WebFrame _loadItem:withLoadType:]): (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:formState:]): (-[WebFrame _didReceiveServerRedirectForProvisionalLoadForFrame]): (-[WebFrame _provisionalLoadStarted]):
- WebView/WebFrameInternal.h:
- 4:51 PM Changeset in webkit [16724] by
-
- 2 edits in trunk/WebCore
Reviewed by Adele
If the Icon DB schema changes underneath you, the latest ToT can crash and burn when writing
icon data out because we don't correctly check SQL error conditions.
- loader/icon/IconDataCache.cpp: (WebCore::IconDataCache::writeToDatabase):
- 4:36 PM Changeset in webkit [16723] by
-
- 3 edits in trunk/WebCore
2006-10-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Hyatt.
Added method to find out whether a layout has occurred.
- page/FrameView.cpp: (WebCore::FrameView::didFirstLayout):
- page/FrameView.h:
- 4:25 PM Changeset in webkit [16722] by
-
- 1 edit153 adds in trunk/LayoutTests
Minor harassment followed by abject surrender provided by ggggaren.
Tests for counters.
- fast/css/counters/contentNone-expected.checksum: Added.
- fast/css/counters/contentNone-expected.png: Added.
- fast/css/counters/contentNone-expected.txt: Added.
- fast/css/counters/contentNone.html: Added.
- fast/css/counters/counter00-expected.checksum: Added.
- fast/css/counters/counter00-expected.png: Added.
- fast/css/counters/counter00-expected.txt: Added.
- fast/css/counters/counter00.html: Added.
- fast/css/counters/counter01-expected.checksum: Added.
- fast/css/counters/counter01-expected.png: Added.
- fast/css/counters/counter01-expected.txt: Added.
- fast/css/counters/counter01.html: Added.
- fast/css/counters/counter02-expected.checksum: Added.
- fast/css/counters/counter02-expected.png: Added.
- fast/css/counters/counter02-expected.txt: Added.
- fast/css/counters/counter02.html: Added.
- fast/css/counters/counter03-expected.checksum: Added.
- fast/css/counters/counter03-expected.png: Added.
- fast/css/counters/counter03-expected.txt: Added.
- fast/css/counters/counter03.html: Added.
- fast/css/counters/counter04-expected.checksum: Added.
- fast/css/counters/counter04-expected.png: Added.
- fast/css/counters/counter04-expected.txt: Added.
- fast/css/counters/counter04.html: Added.
- fast/css/counters/counter05-expected.checksum: Added.
- fast/css/counters/counter05-expected.png: Added.
- fast/css/counters/counter05-expected.txt: Added.
- fast/css/counters/counter05.html: Added.
- fast/css/counters/counter06-expected.checksum: Added.
- fast/css/counters/counter06-expected.png: Added.
- fast/css/counters/counter06-expected.txt: Added.
- fast/css/counters/counter06.html: Added.
- fast/css/counters/counter07-expected.checksum: Added.
- fast/css/counters/counter07-expected.png: Added.
- fast/css/counters/counter07-expected.txt: Added.
- fast/css/counters/counter07.html: Added.
- fast/css/counters/counter08-expected.checksum: Added.
- fast/css/counters/counter08-expected.png: Added.
- fast/css/counters/counter08-expected.txt: Added.
- fast/css/counters/counter08.html: Added.
- fast/css/counters/counter09-expected.checksum: Added.
- fast/css/counters/counter09-expected.png: Added.
- fast/css/counters/counter09-expected.txt: Added.
- fast/css/counters/counter09.html: Added.
- fast/css/counters/counter10-expected.checksum: Added.
- fast/css/counters/counter10-expected.png: Added.
- fast/css/counters/counter10-expected.txt: Added.
- fast/css/counters/counter10.html: Added.
- fast/css/counters/counter11-expected.checksum: Added.
- fast/css/counters/counter11-expected.png: Added.
- fast/css/counters/counter11-expected.txt: Added.
- fast/css/counters/counter11.html: Added.
- fast/css/counters/counter12-expected.checksum: Added.
- fast/css/counters/counter12-expected.png: Added.
- fast/css/counters/counter12-expected.txt: Added.
- fast/css/counters/counter12.html: Added.
- fast/css/counters/counter13-expected.checksum: Added.
- fast/css/counters/counter13-expected.png: Added.
- fast/css/counters/counter13-expected.txt: Added.
- fast/css/counters/counter13.html: Added.
- fast/css/counters/counter14-expected.checksum: Added.
- fast/css/counters/counter14-expected.png: Added.
- fast/css/counters/counter14-expected.txt: Added.
- fast/css/counters/counter14.html: Added.
- fast/css/counters/counter15-expected.checksum: Added.
- fast/css/counters/counter15-expected.png: Added.
- fast/css/counters/counter15-expected.txt: Added.
- fast/css/counters/counter15.html: Added.
- fast/css/counters/counter16-expected.checksum: Added.
- fast/css/counters/counter16-expected.png: Added.
- fast/css/counters/counter16-expected.txt: Added.
- fast/css/counters/counter16.html: Added.
- fast/css/counters/counters00-expected.checksum: Added.
- fast/css/counters/counters00-expected.png: Added.
- fast/css/counters/counters00-expected.txt: Added.
- fast/css/counters/counters00.html: Added.
- fast/css/counters/counters01-expected.checksum: Added.
- fast/css/counters/counters01-expected.png: Added.
- fast/css/counters/counters01-expected.txt: Added.
- fast/css/counters/counters01.html: Added.
- fast/css/counters/counters02-expected.checksum: Added.
- fast/css/counters/counters02-expected.png: Added.
- fast/css/counters/counters02-expected.txt: Added.
- fast/css/counters/counters02.html: Added.
- fast/css/counters/counters03-expected.checksum: Added.
- fast/css/counters/counters03-expected.png: Added.
- fast/css/counters/counters03-expected.txt: Added.
- fast/css/counters/counters03.html: Added.
- fast/css/counters/counters04-expected.checksum: Added.
- fast/css/counters/counters04-expected.png: Added.
- fast/css/counters/counters04-expected.txt: Added.
- fast/css/counters/counters04.html: Added.
- fast/css/counters/counters05-expected.checksum: Added.
- fast/css/counters/counters05-expected.png: Added.
- fast/css/counters/counters05-expected.txt: Added.
- fast/css/counters/counters05.html: Added.
- fast/css/counters/counters06-expected.checksum: Added.
- fast/css/counters/counters06-expected.png: Added.
- fast/css/counters/counters06-expected.txt: Added.
- fast/css/counters/counters06.html: Added.
- fast/css/counters/counters07-expected.checksum: Added.
- fast/css/counters/counters07-expected.png: Added.
- fast/css/counters/counters07-expected.txt: Added.
- fast/css/counters/counters07.html: Added.
- fast/css/counters/counters08-expected.checksum: Added.
- fast/css/counters/counters08-expected.png: Added.
- fast/css/counters/counters08-expected.txt: Added.
- fast/css/counters/counters08.html: Added.
- fast/css/counters/counters09-expected.checksum: Added.
- fast/css/counters/counters09-expected.png: Added.
- fast/css/counters/counters09-expected.txt: Added.
- fast/css/counters/counters09.html: Added.
- fast/css/counters/counters10-expected.checksum: Added.
- fast/css/counters/counters10-expected.png: Added.
- fast/css/counters/counters10-expected.txt: Added.
- fast/css/counters/counters10.html: Added.
- fast/css/counters/counters11-expected.checksum: Added.
- fast/css/counters/counters11-expected.png: Added.
- fast/css/counters/counters11-expected.txt: Added.
- fast/css/counters/counters11.html: Added.
- fast/css/counters/counters12-expected.checksum: Added.
- fast/css/counters/counters12-expected.png: Added.
- fast/css/counters/counters12-expected.txt: Added.
- fast/css/counters/counters12.html: Added.
- fast/css/counters/counters13-expected.checksum: Added.
- fast/css/counters/counters13-expected.png: Added.
- fast/css/counters/counters13-expected.txt: Added.
- fast/css/counters/counters13.html: Added.
- fast/css/counters/counters14-expected.checksum: Added.
- fast/css/counters/counters14-expected.png: Added.
- fast/css/counters/counters14-expected.txt: Added.
- fast/css/counters/counters14.html: Added.
- fast/css/counters/counters15-expected.checksum: Added.
- fast/css/counters/counters15-expected.png: Added.
- fast/css/counters/counters15-expected.txt: Added.
- fast/css/counters/counters15.html: Added.
- fast/css/counters/counters18-expected.checksum: Added.
- fast/css/counters/counters18-expected.png: Added.
- fast/css/counters/counters18-expected.txt: Added.
- fast/css/counters/counters18.html: Added.
- fast/css/counters/implied00-expected.checksum: Added.
- fast/css/counters/implied00-expected.png: Added.
- fast/css/counters/implied00-expected.txt: Added.
- fast/css/counters/implied00.html: Added.
- fast/css/counters/root-expected.checksum: Added.
- fast/css/counters/root-expected.png: Added.
- fast/css/counters/root-expected.txt: Added.
- fast/css/counters/root.html: Added.
- fast/css/counters/visibilityNone-expected.checksum: Added.
- fast/css/counters/visibilityNone-expected.png: Added.
- fast/css/counters/visibilityNone-expected.txt: Added.
- fast/css/counters/visibilityNone.html: Added.
- 4:15 PM Changeset in webkit [16721] by
-
- 17 edits7 adds in trunk/WebCore
Reviewed by Darin.
Initial implementation of CSS2 counters. See http://
bugs.webkit.org/show_bug.cgi?id=4980 for more details.
- WebCore.xcodeproj/project.pbxproj:
- css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return the increment/reset list now that this is implemented.
- css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::cssText):
- css/Counter.h: (WebCore::Counter::Counter): (WebCore::Counter::~Counter): (WebCore::Counter::identifier): (WebCore::Counter::listStyle): (WebCore::Counter::separator): (WebCore::Counter::listStyleNumber): (WebCore::Counter::setIdentifier): (WebCore::Counter::setListStyle): (WebCore::Counter::setSeparator):
- css/cssparser.cpp: (WebCore::CSSParser::addProperty): Take care of reset/increment (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseContent): content can now take counters (WebCore::CSSParser::parseCounterContent): Parse counter() and counters() (WebCore::CSSParser::parseCounter): Parse counter-reset and counter-increment
- css/cssparser.h:
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::matchUARules): (WebCore::CSSStyleSelector::applyProperty):
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::insert): Implemented a version of insert that accepts a UChar* and a length.
- platform/StringImpl.cpp: (WebCore::StringImpl::insert): Same as above.
- platform/StringImpl.h:
- rendering/CounterListItem.h: Added.
- rendering/CounterNode.cpp: Added. (WebCore::CounterNode::CounterNode): (WebCore::CounterNode::insertAfter): (WebCore::CounterNode::removeChild): (WebCore::CounterNode::remove): (WebCore::CounterNode::setUsesSeparator): (WebCore::CounterNode::recountAndGetNext): (WebCore::CounterNode::recountTree): (WebCore::CounterNode::setSelfDirty): (WebCore::CounterNode::setParentDirty):
- rendering/CounterNode.h: Added. (WebCore::CounterNode::~CounterNode): (WebCore::CounterNode::parent): (WebCore::CounterNode::previousSibling): (WebCore::CounterNode::nextSibling): (WebCore::CounterNode::firstChild): (WebCore::CounterNode::lastChild): (WebCore::CounterNode::value): (WebCore::CounterNode::setValue): (WebCore::CounterNode::count): (WebCore::CounterNode::setCount): (WebCore::CounterNode::setHasSeparator): (WebCore::CounterNode::isReset): (WebCore::CounterNode::hasSeparator): (WebCore::CounterNode::willNeedLayout): (WebCore::CounterNode::setWillNeedLayout): (WebCore::CounterNode::isRoot): (WebCore::CounterNode::setRenderer): (WebCore::CounterNode::renderer):
- rendering/CounterResetNode.cpp: Added. (WebCore::CounterResetNode::CounterResetNode): (WebCore::CounterResetNode::insertAfter): (WebCore::CounterResetNode::removeChild): (WebCore::CounterResetNode::recountAndGetNext): (WebCore::CounterResetNode::setParentDirty): (WebCore::CounterResetNode::updateTotal):
- rendering/CounterResetNode.h: Added. (WebCore::CounterResetNode::firstChild): (WebCore::CounterResetNode::lastChild): (WebCore::CounterResetNode::isReset): (WebCore::CounterResetNode::total):
- rendering/RenderContainer.cpp: (WebCore::RenderContainer::updatePseudoChildForObject): Account for counter content.
- rendering/RenderCounter.cpp: Added. (WebCore::RenderCounter::RenderCounter): (WebCore::RenderCounter::layout): (WebCore::toRoman): (WebCore::toLetterString): (WebCore::toHebrew): (WebCore::RenderCounter::convertValueToType): (WebCore::RenderCounter::calcMinMaxWidth):
- rendering/RenderCounter.h: Added. (WebCore::RenderCounter::renderName): (WebCore::RenderCounter::isCounter):
- rendering/RenderObject.cpp: (WebCore::getRenderObjectsToCounterNodeMaps): Maps RenderObjects to maps of CounterNodes (WebCore::RenderObject::RenderObject): (WebCore::RenderObject::destroy): Destroy the maps. (WebCore::RenderObject::findCounter): Finds/creates counters.
- rendering/RenderObject.h: (WebCore::RenderObject::isCounter):
- rendering/RenderStyle.cpp: (WebCore::StyleVisualData::StyleVisualData): (WebCore::RenderStyle::arenaDelete): (WebCore::RenderStyle::RenderStyle): (WebCore::RenderStyle::diff): (WebCore::RenderStyle::setContent): (WebCore::ContentData::clearContent): (WebCore::RenderStyle::counterDataEquivalent): (WebCore::hasCounter): (WebCore::RenderStyle::hasCounterReset): (WebCore::RenderStyle::hasCounterIncrement): (WebCore::readCounter): (WebCore::RenderStyle::counterReset): (WebCore::RenderStyle::counterIncrement):
- rendering/RenderStyle.h: (WebCore::StyleVisualData::operator==): (WebCore::CounterData::CounterData): (WebCore::CounterData::identifier): (WebCore::CounterData::listStyle): (WebCore::CounterData::separator): (WebCore::ContentData::contentCounter): (WebCore::ContentData::): (WebCore::RenderStyle::counterIncrement): (WebCore::RenderStyle::counterReset): (WebCore::RenderStyle::setCounterIncrement): (WebCore::RenderStyle::setCounterReset): (WebCore::RenderStyle::setCounterResetList): (WebCore::RenderStyle::setCounterIncrementList): (WebCore::RenderStyle::counterResetValueList): (WebCore::RenderStyle::counterIncrementValueList):
- 2:03 PM Changeset in webkit [16720] by
-
- 3 edits in trunk/LayoutTests
Reviewed by Tim H.
This change fixes a couple of problems with the window-properties
test. window-properties' output changes depending on the presence or
non-presence of session history (see
http://bugs.webkit.org/show_bug.cgi?id=10965 for details). For this
reason, the test must always be run as part of a run of ALL layout
tests. The test results checked in were generated from an individual
run of this test, so the buildbots were always failing since they run
all the tests at once.
This change regenerates the results for the test using a full run of
layout tests. The test now also prints out object class names, and
will print an error message when the test is run by itself.
- fast/js/window-properties-expected.txt:
- fast/js/window-properties.html:
- 1:44 PM Changeset in webkit [16719] by
-
- 2 edits in trunk/WebKit
Reviewed by john
<rdar://problem/4757583>
REGRESSION: tabbing into page focuses wrong control on 2nd pass
<rdar://problem/4757594>
REGRESSION: Form field is left with secondary selection after tabbing out of WebView
- WebView/WebHTMLView.m: (-[NSArray maintainsInactiveSelection]): Replace code that I removed in error in the patch for 9642. Only leave inactive editable selections in the WebHTMLView if the nextResponder is in the same WebView.
- 1:30 PM Changeset in webkit [16718] by
-
- 18 edits2 adds in trunk
LayoutTests:
Reviewed by Adam.
- Updated results for <rdar://problem/4463841> Switch to use new list box implementation for <select multiple>
- fast/forms/HTMLOptionElement_label05-expected.checksum:
- fast/forms/HTMLOptionElement_label05-expected.png:
- fast/forms/HTMLOptionElement_label05-expected.txt:
- fast/forms/form-element-geometry-expected.checksum:
- fast/forms/form-element-geometry-expected.png:
- fast/forms/form-element-geometry-expected.txt:
- fast/forms/option-strip-whitespace-expected.checksum:
- fast/forms/option-strip-whitespace-expected.png:
- fast/forms/option-strip-whitespace-expected.txt:
- fast/forms/password-doubleclick-selection-expected.txt: Added.
- fast/forms/password-doubleclick-selection.html: Added.
- fast/forms/select-change-popup-to-listbox-expected.checksum:
- fast/forms/select-change-popup-to-listbox-expected.png:
- fast/forms/select-change-popup-to-listbox-expected.txt:
- fast/text/updateNewFont-expected.checksum:
- fast/text/updateNewFont-expected.png:
- fast/text/updateNewFont-expected.txt:
WebCore:
Reviewed by Adam.
- Fix for <rdar://problem/4463841> Switch to use new list box implementation for <select multiple>
There are a few outstanding issues, so I've left the old code in for now. So you can use the old-style listboxes
by using "-webkit-appearance:none".
- css/html4.css:
- 11:48 AM Changeset in webkit [22282] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Build fix: Don't copy WebKit(_debug).dll into $WebKitSDKDir
- WebKit.vcproj/WebKit.vcproj: Remove xcopy call
- 9:46 AM Changeset in webkit [16717] by
-
- 2 edits in trunk/WebKitTools/DumpRenderTree
Backing out these accidental commits.
- 9:33 AM Changeset in webkit [16716] by
-
- 7 edits in trunk
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed/landed by Adam.
Build testkjs on Qt/Linux.
- CMakeLists.txt:
WebKitTools:
Reviewed/landed by Adam.
Proper build-webkit support for Qt/Linux.
Compilation process is similar to OSX now, aka.
the build directory is RootCheckoutDir/WebKitBuild now.
- Scripts/build-webkit: Recognize Qt.
- Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
- 8:32 AM Changeset in webkit [16715] by
-
- 2 edits in trunk/WebCore
Reverted the code part of r16696, my patch for <rdar://problem/4641262>, because the problem was
addressed at a deeper level by r16696, the patch for <http://bugs.webkit.org/show_bug.cgi?id=10842>.
Left the layout test.
- rendering/bidi.cpp: (WebCore::checkMidpoints):
- 8:24 AM Changeset in webkit [16714] by
-
- 3 edits in S60/trunk/WebKit
2006-10-02 sareen <shyam.sareen@nokia.com>
Reviewed by Zalan Bujtas.
DESC: Include correct path for inc directory for S60 only.
http://bugs.webkit.org/show_bug.cgi?id=11122
- group/BrowserView.mmp:
- group/webkit.mmp:
- 3:57 AM Changeset in webkit [16713] by
-
- 2 edits in trunk/JavaScriptCore
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fix win32 build, which has no inttypes.h
- wtf/Assertions.h:
- 3:30 AM Changeset in webkit [16712] by
-
- 4 edits in trunk
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fix Qt/Linux build.
- platform/qt/TemporaryLinkStubs.cpp: s/DeprecatedStringList/Vector<String>/ (WebCore::supportedKeySizes):
- 3:26 AM Changeset in webkit [16711] by
-
- 7 edits in trunk
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel & mjs. Landed by eseidel.
Fix Qt/Linux build with older gcc 3.3.4.
http://bugs.webkit.org/show_bug.cgi?id=11116
As discussed with Maciej, the GCC_ROOT_NS_HACK
can be completely removed, as well as the friendship
between cacheGlobalObject & the JS* objects.
- bindings/scripts/CodeGeneratorJS.pm: Remove friendship.
- platform/image-decoders/png/pnggccrd.c: Fix comments for gcc3. (png_read_filter_row_mmx_avg):
- platform/image-decoders/png/pngvcrd.c: Ditto. (png_mmx_support): (png_read_filter_row_mmx_avg):
- 12:46 AM Changeset in webkit [16710] by
-
- 4 edits in trunk/WebKit
Reviewed by Anders.
- remove webFrame field from WebDataSourcePrivate, it can get it from WebDocumentLoadState now
- Loader/WebDocumentLoadState.h:
- Loader/WebDocumentLoadState.m: (-[WebDocumentLoadState frameLoader]):
- WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _revertToProvisionalState]): (-[WebDataSource _setupForReplaceByMIMEType:]): (-[WebDataSource _updateLoading]): (-[WebDataSource _startLoading]): (-[WebDataSource _setWebFrame:]): (-[WebDataSource _defersCallbacksChanged]): (-[WebDataSource _stopLoading]): (-[WebDataSource _webView]): (-[WebDataSource _stopLoadingWithError:]): (-[WebDataSource _setPrimaryLoadComplete:]): (-[WebDataSource dealloc]): (-[WebDataSource webFrame]): (-[WebDataSource isLoading]):
- 12:39 AM Changeset in webkit [16709] by
-
- 3 edits in trunk/WebKit
Reviewed by Anders.
- fix crash on back/forward - reattach WebDocumentLoadState to data source when needed
- WebView/WebDataSource.m: (-[WebDataSource _setWebFrame:]): (-[WebDataSource _initWithDocumentLoadState:]):
- WebView/WebDataSourceInternal.h:
- 12:16 AM Changeset in webkit [16708] by
-
- 1 edit2 adds in trunk/WebKit
Build fix, not reviewed.
- Added missing files to fix build.
- WebView/WebDocumentLoadStateMac.h: Added.
- WebView/WebDocumentLoadStateMac.m: Added. (-[WebDocumentLoadStateMac initWithRequest:]): (-[WebDocumentLoadStateMac dealloc]): (-[WebDocumentLoadStateMac setDataSource:]): (-[WebDocumentLoadStateMac dataSource]): (-[WebDocumentLoadStateMac setFrameLoader:]):
- 12:00 AM Changeset in webkit [16707] by
-
- 10 edits in trunk/WebKit
Reviewed by Brady and Oliver.
- move things around so that WebDataSource and WebDocumentLoadState know about each other in the right way. This lines things up to move nearly all functionality down to WebDocumentLoadState.
- Loader/WebDocumentLoadState.h:
- Loader/WebDocumentLoadState.m: (-[WebDocumentLoadState initWithRequest:]): (-[WebDocumentLoadState dealloc]): (-[WebDocumentLoadState originalRequest]):
- Loader/WebFrameLoader.h:
- Loader/WebFrameLoader.m: (-[WebFrameLoader dealloc]): (-[WebFrameLoader addSubresourceLoader:]): (-[WebFrameLoader startLoadingMainResourceWithRequest:identifier:]): (-[WebFrameLoader dataSource]): (-[WebFrameLoader _setDocumentLoadState:]): (-[WebFrameLoader policyDataSource]): (-[WebFrameLoader _setPolicyDocumentLoadState:]): (-[WebFrameLoader clearDataSource]): (-[WebFrameLoader provisionalDataSource]): (-[WebFrameLoader _setProvisionalDocumentLoadState:]): (-[WebFrameLoader _clearProvisionalDataSource]): (-[WebFrameLoader _setState:]): (-[WebFrameLoader clearProvisionalLoad]): (-[WebFrameLoader commitProvisionalLoad]): (-[WebFrameLoader stopLoading]): (-[WebFrameLoader startLoading]): (-[WebFrameLoader startProvisionalLoad:]): (-[WebFrameLoader setupForReplace]): (-[WebFrameLoader activeDocumentLoadState]): (-[WebFrameLoader activeDataSource]): (-[WebFrameLoader _loadRequest:archive:]): (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]): (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]): (-[WebFrameLoader reload]):
- WebKit.xcodeproj/project.pbxproj:
- WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _startLoading]): (-[WebDataSource _setWebFrame:]): (-[WebDataSource _documentLoadState]): (-[WebDataSource _initWithDocumentLoadState:]): (-[WebDataSource initWithRequest:]): (-[WebDataSource initialRequest]): (-[WebDataSource unreachableURL]):
- WebView/WebDataSourceInternal.h:
- WebView/WebFrame.m: (-[WebFramePrivate dealloc]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]): (-[WebFrame _loadDataSource:withLoadType:formState:]): (-[WebFrame _policyDataSource]): (-[WebFrame _shouldReloadToHandleUnreachableURLFromRequest:]): (-[WebFrame _dataSourceForDocumentLoadState:]): (-[WebFrame _createDocumentLoadStateWithRequest:]):
- WebView/WebFrameInternal.h:
Oct 1, 2006:
- 10:16 PM Changeset in webkit [16706] by
-
- 3 edits2 deletes in trunk
LayoutTests:
Rubber stamped by Alexey.
- reverted fix for http://bugs.webkit.org/show_bug.cgi?id=10893 since it led to layout test crashes
- fast/dom/css-insert-import-rule-expected.txt: Removed.
- fast/dom/css-insert-import-rule.html: Removed.
WebCore:
Rubber stamped by Alexey.
- reverted fix for http://bugs.webkit.org/show_bug.cgi?id=10893 since it led to layout test crashes
- css/CSSGrammar.y:
- 9:36 PM Changeset in webkit [16705] by
-
- 3 edits in trunk/WebCore
2006-10-01 Eric Seidel <eric@webkit.org>
Reviewed by mjs.
Eliminate a few more hotspots in SVG drawing code.
No test cases were harmed in the making of this patch. (And SVG has no perf tests.)
- kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: (WebCore::KRenderingPaintServerSolidQuartz::setup): use a single shared colorspace, avoid a few mallocs
- platform/mac/ColorMac.mm: (+[WebCoreControlTintObserver WebCore]): store a single shared colorspace instance
- 6:20 PM Changeset in webkit [16704] by
-
- 5 edits in trunk/WebKitTools
2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
Add QT build slave to Buildbot.
- BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
- BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
- BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
- BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
- 6:02 PM Changeset in webkit [16703] by
-
- 7 edits2 adds in trunk
LayoutTests:
Added test for the viewource attribute, which applies to <frame> and
<iframe> elements.
- fast/frames/viewsource-attribute-expected.txt: Added.
- fast/frames/viewsource-attribute.html: Added.
- fast/frames/frameElement-widthheight.html: Removed stray character.
WebCore:
Reviewed by Maciej.
More frame/iframe merging.
- Removed needWidgetUpdate and related code. needWidgetUpdate is always false, so this was dead code.
- Removed FIXME about setInViewSourceMode inside openURL(). openURL(), rather than attach(), is the correct place for setInViewSourceMode, because openURL() is the function that creates our frame.
- Moved IFRAME insertedIntoDocument() code into FRAME, and removed FRAME code that did the same thing in other places.
- Made FRAME's attach() method suffuciently generic so that IFRAME could call up to it, rather than skipping its superclass and calling up directly to ELEMENT.
- Changed a few IFRAME up-calls to ELEMENT into up-calls to FRAME.
- Replaced ad hoc frame loading code in FRAME::attach() with call to openURL(), the designated frame loading function.
Layout tests pass. I added a layout test for viewsource mode, since I
broke it in the course of writing this patch.
- 5:04 PM Changeset in webkit [16702] by
-
- 1 edit1 add in trunk
2006-10-01 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel.
- CMakeLists.txt: add option to disable colored output when building on the buildbot
- 1:45 PM Changeset in webkit [16701] by
-
- 11 edits in trunk/WebCore
2006-10-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Geoff.
- dom/Document.cpp: (WebCore::Document::recalcStyleSelector):
- dom/Document.h: Get rid of availableStyleSheets() and remove DeprecatedStringList.h include.
- dom/Node.h: Remove DeprecatedStringList class forward declaration.
- editing/markup.cpp: Include DeprecatedStringList.h here since it's not included by Document.h anymore.
- kcanvas/KCanvasTreeDebug.cpp:
- kcanvas/KCanvasTreeDebug.h: Remove unused functions.
- loader/loader.cpp:
- page/Frame.cpp:
- page/Frame.h:
- page/FrameView.h: Fixup DeprecatedStringList.h includes.
- 9:06 AM Changeset in webkit [16700] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by John Sullivan.
<rdar://problem/4641262> REGRESSION: Japanese text corrupts on wrapping point
- fast/text/international/wrap-CJK-001-expected.checksum: Added.
- fast/text/international/wrap-CJK-001-expected.png: Added.
- fast/text/international/wrap-CJK-001-expected.txt: Added.
- fast/text/international/wrap-CJK-001.html: Added.
WebCore:
Reviewed by John Sullivan.
<rdar://problem/4641262> REGRESSION: Japanese text corrupts on wrapping point
Problem was that the decision to trim was based only on whether the character
is a soft hyphen, which caused pretty much any Japanese character to go.
Changed to decide based on whether the character is ignorable whitespace.
Test:
- fast/text/international/wrap-CJK-001.html
- rendering/bidi.cpp: (WebCore::isTrimmableChar): New. Checks whether character is whitespace that can be ignored according to the text node's style. trimmed from the end of wrapped line. (WebCore::checkMidpoints): Call isTrimmable() rather than checking for char != SOFT_HYPHEN.
- 8:40 AM Changeset in webkit [16699] by
-
- 14 edits in trunk/WebCore
2006-10-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Mitz Pettel.
Convert the SVG code to use Vector<String> instead of DeprecatedStringList.
- ksvg2/svg/SVGColor.cpp: (WebCore::SVGColor::setRGBColor):
- ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
- ksvg2/svg/SVGFEGaussianBlurElement.cpp: (WebCore::SVGFEGaussianBlurElement::parseMappedAttribute):
- ksvg2/svg/SVGFESpecularLightingElement.cpp: (SVGFESpecularLightingElement::parseMappedAttribute):
- ksvg2/svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
- ksvg2/svg/SVGLengthList.cpp:
- ksvg2/svg/SVGNumberList.cpp: (SVGNumberList::parse):
- ksvg2/svg/SVGNumberList.h:
- ksvg2/svg/SVGPreserveAspectRatio.cpp: (WebCore::SVGPreserveAspectRatio::parsePreserveAspectRatio):
- ksvg2/svg/SVGStringList.cpp: (WebCore::SVGStringList::reset):
- ksvg2/svg/SVGStringList.h:
- ksvg2/svg/SVGTransformable.cpp: (SVGTransformable::parseTransformAttribute):
- 3:51 AM Changeset in webkit [22281] by
-
- 2 edits in branches/WindowsMerge/WebCore
Finish the win32 scrollbar.
- 3:05 AM Changeset in webkit [16698] by
-
- 5 edits in trunk/WebCore
2006-10-01 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric, tweaked and landed by ap.
Fix Qt/Linux build.
- CMakeLists.txt:
- platform/qt/PlatformScrollBar.h:
- platform/qt/TemporaryLinkStubs.cpp: (WebCore::ScrollBar::ScrollBar): (WebCore::PlatformScrollBar::PlatformScrollBar): (FrameView::passMousePressEventToSubframe): (FrameView::passMouseMoveEventToSubframe): (FrameView::passMouseReleaseEventToSubframe): (FrameView::passWheelEventToSubframe): (FrameView::passMousePressEventToScrollbar):
- ksvg2/svg/SVGDocument.h:
- 2:11 AM Changeset in webkit [16697] by
-
- 3 edits in trunk
2006-10-01 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin.
Fix for http://bugs.webkit.org/show_bug.cgi?id=10190
REGRESSION: Repro crash when navigating away from an image document that hasn't finished loading
No test case added (probably requires new DumpRenderTree functionality)
- rendering/RenderImage.cpp: (WebCore::RenderImage::imageChanged): Added early return if the document is being destroyed.
- 2:06 AM Changeset in webkit [16696] by
-
- 3 edits4 adds in trunk
Reviewed by Hyatt.
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10842
REGRESSION (r15418): contenteditable div truncates rightmost Japanese character
Make sure we only break after a space (and not any other valid line-break) if
the style is -webkit-line-break: after-white-space (e.g. for a contentEditable div).
I also did a logic shuffle at Mitz's request to prevent doing an if on the same expression
twice in quick succession.
Test: fast/text/line-breaks-after-white-space.html
- rendering/bidi.cpp: (WebCore::RenderBlock::findNextLineBreak):
- 1:42 AM Changeset in webkit [22280] by
-
- 4 edits in branches/WindowsMerge/WebCore
Make scrollbar thumb dragging work.
- 1:37 AM Changeset in webkit [16695] by
-
- 2 edits in trunk
Fixed Bugzilla references in ChangeLogs for my previous commit.
- 1:35 AM Changeset in webkit [16694] by
-
- 3 edits2 adds in trunk
Reviewed by Maciej and Darin.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4372
JavaScript document.write page form does not submit in Safari
Test: fast/forms/document-write.html
- page/Frame.cpp: (WebCore::Frame::submitForm): Don't check for parsing().
- 1:13 AM Changeset in webkit [16693] by
-
- 2 edits in trunk/WebCore
Build fix.
- bridge/mac/FrameViewMac.mm: Add missing #imports.
- 12:32 AM Changeset in webkit [22279] by
-
- 4 edits in branches/WindowsMerge/WebCore
Hook up the pressed state of scrollbars.
- 12:26 AM Changeset in webkit [16692] by
-
- 6 edits in trunk/WebCore
Refactor the code that sends the mouse down to scrollbars.
Sep 30, 2006:
- 5:41 PM Changeset in webkit [22278] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Use BitBlt instead of SetDIBBitsToDevice
- 4:33 PM Changeset in webkit [16691] by
-
- 26 edits in trunk/WebCore
Reviewed by Darin.
Patch for http://bugs.webkit.org/show_bug.cgi?id=11102
Add more SVG Objective-C DOM bindings
- Auto-generate Objective-C DOM bindings for DOMSVGAElement, DOMSVGAnimateColorElement, DOMSVGAnimateElement, DOMSVGAnimateTransformElement, DOMSVGAnimatedPathData, DOMSVGAnimatedPoints, DOMSVGAnimatedPreserveAspectRatio, DOMSVGAnimationElement, DOMSVGCircleElement, DOMSVGClipPathElement, DOMSVGColor, DOMSVGCursorElement, DOMSVGDefsElement, DOMSVGDescElement, DOMSVGDocument, DOMSVGEllipseElement, DOMSVGPreserveAspectRatio, and DOMSVGURIReference.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMSVG.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- ksvg2/svg/SVGAElement.idl:
- ksvg2/svg/SVGAnimateColorElement.idl:
- ksvg2/svg/SVGAnimateElement.idl:
- ksvg2/svg/SVGAnimateTransformElement.idl:
- ksvg2/svg/SVGAnimatedPathData.idl:
- ksvg2/svg/SVGAnimatedPoints.idl:
- ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl:
- ksvg2/svg/SVGAnimationElement.idl:
- ksvg2/svg/SVGCircleElement.idl:
- ksvg2/svg/SVGClipPathElement.idl:
- ksvg2/svg/SVGColor.idl:
- ksvg2/svg/SVGCursorElement.idl:
- ksvg2/svg/SVGDefsElement.idl:
- ksvg2/svg/SVGDescElement.idl:
- ksvg2/svg/SVGDocument.idl:
- ksvg2/svg/SVGEllipseElement.idl:
- ksvg2/svg/SVGPointList.idl:
- ksvg2/svg/SVGPreserveAspectRatio.idl:
- ksvg2/svg/SVGRect.idl:
- ksvg2/svg/SVGSVGElement.idl:
- 4:18 PM Changeset in webkit [16690] by
-
- 3 edits in trunk/WebCore
Reviewed by Adele.
- fix build
- platform/FloatRect.h: (WebCore::FloatRect::contains): Added; not exactly the same semantic as IntRect containment but more appropriate for path-type stuff.
- platform/cg/PathCG.cpp: (WebCore::Path::contains): Don't use enclosingIntRect, just use FloatRect::contains.
- 2:14 PM Changeset in webkit [16689] by
-
- 29 edits5 adds in trunk
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=11011
External CSS is parsed as iso-8859-1 even though the main document is utf-8
Test: fast/encoding/css-charset-default.xhtml
- loader/CachedResourceClient.h: (WebCore::CachedResourceClient::setCSSStyleSheet): (WebCore::CachedResourceClient::setXSLStyleSheet): Divided setStyleSheet into setCSSStyleSheet and setXSLStyleSheet. The former takes an additional charset parameter, to be passed to CSSStyleSheet constructor.
- css/CSSImportRule.cpp: (WebCore::CSSImportRule::setCSSStyleSheet): (WebCore::CSSImportRule::insertedIntoParent): Default to parent stylesheet's charset.
- css/CSSImportRule.h:
- css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::CSSStyleSheet):
- css/CSSStyleSheet.h: Added an m_charset member to be used when loading child stylesheets. Removed an unused m_implicit member. Changed some String parameters to const String&.
- css/StyleSheet.cpp: (WebCore::StyleSheet::StyleSheet):
- css/StyleSheet.h: Changed some String parameters to const String&. Removed an unused (even unimplemented) constructor.
- css/StyleSheetList.cpp: (WebCore::StyleSheetList::length): (WebCore::StyleSheetList::item):
- css/StyleSheetList.h: Special-casing implicit stylesheets seemed to be dead code, removed.
- dom/Document.cpp: (WebCore::Document::setCSSStyleSheet): (WebCore::Document::recalcStyleSelector):
- dom/Document.h: Renamed setStyleSheet() to setCSSStyleSheet().
- dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet): Pass a correct charset to requestCSSStyleSheet(). (WebCore::ProcessingInstruction::setCSSStyleSheet): (WebCore::ProcessingInstruction::setXSLStyleSheet): (WebCore::ProcessingInstruction::parseStyleSheet):
- dom/ProcessingInstruction.h:
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process): Default to document encoding if a charset attribute is not specified. (WebCore::HTMLLinkElement::setCSSStyleSheet):
- html/HTMLLinkElement.h:
- html/HTMLStyleElement.cpp: (WebCore::HTMLStyleElement::childrenChanged):
- ksvg2/svg/SVGStyleElement.cpp: (WebCore::SVGStyleElement::childrenChanged): Inherit URL and charset from the document.
- loader/Cache.cpp: (WebCore::Cache::requestCSSStyleSheet):
- loader/Cache.h: Adjust for setStyleSheet() renaming.
- loader/CachedCSSStyleSheet.h: Removed an unused constructor.
- loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::ref): (WebCore::CachedCSSStyleSheet::deref): (WebCore::CachedCSSStyleSheet::checkNotify): Pass the encoding to setCSSStyleSheet().
- loader/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::ref): (WebCore::CachedXSLStyleSheet::checkNotify):
- loader/DocLoader.cpp: (WebCore::DocLoader::requestCSSStyleSheet):
- loader/DocLoader.h:
- page/Frame.cpp: (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): (WebCore::UserStyleSheetLoader::setCSSStyleSheet):
- xml/XSLImportRule.cpp: (WebCore::XSLImportRule::setXSLStyleSheet): (WebCore::XSLImportRule::loadSheet):
- xml/XSLImportRule.h: Adjust for setStyleSheet() renaming.
- 10:08 AM Changeset in webkit [16688] by
-
- 3 edits4 adds in trunk
Reviewed by eseidel.
http://bugs.webkit.org/show_bug.cgi?id=11096
Hit testing for polylines fails
Fix Path::contains so it handles filled, non-closed paths too.
- 3:11 AM Changeset in webkit [16687] by
-
- 1 edit in trunk/WebCore/platform/win/PlatformScrollBar.h
Fix win32.
- 2:49 AM Changeset in webkit [16686] by
-
- 1 edit in trunk/WebKit/WebView/WebPreferences.m
Revert minimum font size pref back to 1.
- 2:48 AM Changeset in webkit [16685] by
-
- 1 edit in trunk/WebCore/platform/win/TemporaryLinkStubs.cpp
Fix win32 bustage caused by a typo.
- 2:46 AM Changeset in webkit [16684] by
-
- 3 edits in trunk/WebCore
Fix mac bustage in FrameMac.mm and FrameViewMac.mm
- 2:37 AM Changeset in webkit [22277] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Revert minimum font size pref back to 1.
- 2:34 AM Changeset in webkit [22276] by
-
- 8 edits1 add in branches/WindowsMerge/WebCore
Make mouse events work in iframes.
- 2:30 AM Changeset in webkit [16683] by
-
- 12 edits in trunk/WebCore
Event refactoring.
Sep 29, 2006:
- 10:42 PM Changeset in webkit [16682] by
-
- 3 edits in trunk/WebCore
Reviewed by Adele.
Fixes windows bustage:
http://bugs.webkit.org/show_bug.cgi?id=11093
- platform/win/PlatformScrollBar.h:
- platform/win/TemporaryLinkStubs.cpp: (PlatformScrollBar::PlatformScrollBar): (ScrollBar::ScrollBar):
- 9:41 PM Changeset in webkit [22275] by
-
- 1 edit in branches/WindowsMerge/WebKitWin/WebPreferences.cpp
Change minimum font size value to 0 on win32 as well.
- 8:25 PM Changeset in webkit [16681] by
-
- 2 edits in trunk/LayoutTests
Bug 11041: fast/dom/isindex-001 needs new results
http://bugs.webkit.org/show_bug.cgi?id=11041
- fast/dom/isindex-001-expected.txt:
- 8:15 PM Changeset in webkit [22274] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
2006-09-29 Steve Falkenburg <sfalken@apple.com>
Fix the build.
- platform/win/PlatformScrollBarWin.cpp:
- 7:08 PM Changeset in webkit [16680] by
-
- 2 edits in tags/Safari-521.28
Versioning
- 6:57 PM Changeset in webkit [16679] by
-
- 2 edits in trunk/WebKit
Change the default minimum font size pref to 0 in order to allow
font-size:0 to work.
- WebView/WebPreferences.m: (+[WebPreferences initialize]):
- 6:55 PM Changeset in webkit [16678] by
-
- 15 edits in trunk/WebCore
Eliminate RenderLayer::gScrollBar in favor of caching the scrollbar hit
in RenderObject::NodeInfo (and then propagating that Widget to
MouseEventWithHitTestResults).
This allows RenderListBox and RenderBlock to do the same thing when the
mouse is over the scrollbar.
Also land fix to support font-size: 0.
Reviewed by mjs (scrollbar), eric (font-size)
- dom/Document.cpp: (WebCore::Document::prepareMouseEvent):
- page/Frame.cpp: (WebCore::Frame::passWidgetMouseDownEventToWidget):
- page/FrameView.cpp: (WebCore::selectCursor): (WebCore::FrameView::handleMouseMoveEvent): (WebCore::FrameView::dispatchMouseEvent):
- page/MouseEventWithHitTestResults.cpp: (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
- page/MouseEventWithHitTestResults.h: (WebCore::MouseEventWithHitTestResults::scrollbar):
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::isPointInScrollbar): (WebCore::RenderBlock::nodeAtPoint):
- rendering/RenderBlock.h:
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::hitTest):
- rendering/RenderLayer.h: (WebCore::RenderLayer::getHiddenBehavior):
- rendering/RenderListBox.cpp: (WebCore::RenderListBox::RenderListBox): (WebCore::RenderListBox::~RenderListBox): (WebCore::RenderListBox::isPointInScrollbar):
- rendering/RenderListBox.h:
- rendering/RenderObject.h: (WebCore::RenderObject::NodeInfo::NodeInfo): (WebCore::RenderObject::NodeInfo::scrollbar): (WebCore::RenderObject::NodeInfo::setScrollbar):
- 6:50 PM Changeset in webkit [16677] by
-
- 3 edits in trunk/WebCore
Reviewed by Adele.
- platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::convertToContainingWindow): (WebCore::ScrollView::convertFromContainingWindow):
- platform/win/WidgetWin.cpp: (WebCore::Widget::convertToContainingWindow): (WebCore::Widget::convertFromContainingWindow):
- 6:44 PM Changeset in webkit [16676] by
-
- 2 edits in trunk/WebCore
Updated with new argument for PlatformScrollBar.
- platform/win/TemporaryLinkStubs.cpp: (PlatformScrollBar::PlatformScrollBar):
- 6:03 PM Changeset in webkit [16675] by
-
- 3 edits2 copies in tags/Safari-521.28
Merging a fix to the tag.
- 6:00 PM Changeset in webkit [16674] by
-
- 16 edits in tags/Safari-521.28
Merging a fix to the tag.
- 5:44 PM Changeset in webkit [16673] by
-
- 13 edits in tags
Merging fix to tag.
- 5:42 PM Changeset in webkit [16672] by
-
- 3 edits2 copies in tags
LayoutTests:
Reviewed by John Sullivan.
<rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message
<rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot
- fast/text/attributed-substring-from-range-001-expected.txt: Added.
- fast/text/attributed-substring-from-range-001.html: Added.
Check attributed string results when starting or ending at a br element.
WebCore:
Reviewed by John Sullivan.
<rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message
<rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot
Test added
- fast/text/attributed-substring-from-range-001.html
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::attributedString): Handle non-zero offsets when start and/or end node is a container. Offset used to be ignored in this case. Also, add validation of the range.
- 5:39 PM Changeset in webkit [16671] by
-
- 2 copies in tags/Safari-521.28
New tag.
- 5:34 PM Changeset in webkit [16670] by
-
- 1 delete in tags/Safari-521.28
Bad tag.
- 5:29 PM Changeset in webkit [16669] by
-
- 3 copies in tags/Safari-521.28
New tag.
- 5:11 PM Changeset in webkit [22273] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-29 Steve Falkenburg <sfalken@apple.com>
Reviewed by Geoff.
Allow WebKit to query for the rect
of the resizer rather than just its size.
Fix <rdar://4753220>
Correct more/fewer button toggling in bug report sheet.
2006-09-29 Steve Falkenburg <sfalken@apple.com>
Reviewed by Geoff.
Allow WebKit to query for the rect
of the resizer rather than just its size.
- Interfaces/IWebUIDelegatePrivate.idl:
- 5:06 PM Changeset in webkit [16668] by
-
- 1 edit in trunk/WebCore/html/HTMLSelectElement.cpp
Build fix.
- 4:59 PM Changeset in webkit [16667] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt.
Fixing build bustage with cast to int.
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::lastSelectedListIndex):
- 4:45 PM Changeset in webkit [16666] by
-
- 2 edits in trunk/WebCore
Fixing accidental include.
- rendering/RenderListBox.cpp:
- 4:41 PM Changeset in webkit [16665] by
-
- 2 edits in trunk/WebCore
Adding RenderListBox files.
- 4:40 PM Changeset in webkit [22272] by
-
- 2 edits in branches/WindowsMerge/WebCore
Adding RenderListBox files
- 4:15 PM Changeset in webkit [16664] by
-
- 1 edit in trunk/WebCore/ChangeLog
Fixing typo. No problem in the ned. Just the end.
- 4:15 PM Changeset in webkit [22271] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Adding reviewer to ChangeLog
- 4:15 PM Changeset in webkit [22270] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by NOBODY (OOPS!).
Updated constructor for PlatformScrollBar to include controlSize argument.
- platform/win/PlatformScrollBar.h:
- platform/win/PlatformScrollBarWin.cpp: (WebCore::PlatformScrollBar::PlatformScrollBar):
- 4:14 PM Changeset in webkit [22269] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-29 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam, Geoff.
Fix <rdar://4757392>
Plug-ins flash to white while scrolling.
Set WS_CLIPCHILDREN on browser windows to clip out plug-in HWNDs
when drawing.
- WebView.cpp: (WebView::initWithFrame):
- 4:13 PM Changeset in webkit [16663] by
-
- 26 edits2 adds in trunk/WebCore
Reviewed by Adam.
Initial implementation of engine-based list box control.
- WebCore.xcodeproj/project.pbxproj: Added RenderListBox.h and RenderListBox.cpp
- bridge/mac/FrameMac.h: Added _mouseDownMayStartAutoscroll.
- bridge/mac/FrameMac.mm: Updated autoscroll code to use renderers instead of layers, so any renderer that implements autoscroll will work. (WebCore::FrameMac::FrameMac): (WebCore::FrameMac::handleMousePressEvent): (WebCore::FrameMac::handleMouseMoveEvent): (WebCore::FrameMac::mouseDown):
- page/Frame.cpp: (WebCore::Frame::handleMouseMoveEvent): (WebCore::Frame::scrollOverflow): Don't scroll list box here- this would cause arrow keys to scroll instead of select. (WebCore::Frame::handleAutoscroll): Updated to use a renderer instead of a layer when setting up autoscroll. (WebCore::Frame::autoscrollTimerFired): ditto. (WebCore::Frame::stopAutoscrollTimer): ditto. (WebCore::Frame::passWidgetMouseDownEventToWidget): Updated to check for list box's scroll bar.
- page/Frame.h:
- page/FramePrivate.h: (WebCore::FramePrivate::FramePrivate): Updated to use renderer unstead of layer for autoscroll.
- page/FrameView.cpp: Keep track of current mouse position so this can be used for list box autoscroll. (WebCore::FrameViewPrivate::reset): (WebCore::FrameView::currentMousePosition): (WebCore::FrameView::handleMousePressEvent): (WebCore::FrameView::handleMouseDoubleClickEvent): (WebCore::selectCursor): (WebCore::FrameView::handleMouseMoveEvent): (WebCore::FrameView::handleMouseReleaseEvent):
- page/FrameView.h:
- platform/ScrollBar.cpp: (WebCore::ScrollBar::ScrollBar): Added controlSize argument. The list box will use a smaller scroll bar size.
- platform/ScrollBar.h: (WebCore::): (WebCore::ScrollBar::controlSize):
- platform/mac/PlatformScrollBar.h:
- platform/mac/PlatformScrollBarMac.mm: (NSControlSizeForScrollBarControlSize): (-[WebCoreScrollBar initWithPlatformScrollBar:]): (WebCore::PlatformScrollBar::PlatformScrollBar):
- rendering/RenderBlock.h:
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::createScrollbar): Updated to pass regular control size to scrollbar constructor.
- rendering/RenderLayer.h:
- rendering/RenderObject.cpp: (WebCore::RenderObject::shouldAutoscroll): (WebCore::RenderObject::autoscroll):
- rendering/RenderObject.h: (WebCore::RenderObject::isListBox):
- css/html4.css: Added properties for new list boxes.
- html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::setSelected): Doesn't allow selection to be changed here if the option is disabled. (WebCore::HTMLOptionElement::disabled): Added. Checks the parent's disabled status.
- html/HTMLOptionElement.h: Added disabled method.
- html/HTMLSelectElement.cpp: Added appearance switch for new list box implementation. (WebCore::HTMLSelectElement::recalcStyle): (WebCore::HTMLSelectElement::lastSelectedListIndex): (WebCore::HTMLSelectElement::deselectItems): (WebCore::HTMLSelectElement::setSelectedIndex): (WebCore::HTMLSelectElement::isKeyboardFocusable): (WebCore::HTMLSelectElement::isMouseFocusable): (WebCore::HTMLSelectElement::createRenderer): (WebCore::HTMLSelectElement::recalcListItems): (WebCore::HTMLSelectElement::setRecalcListItems): (WebCore::HTMLSelectElement::reset): (WebCore::HTMLSelectElement::notifyOptionSelected): (WebCore::HTMLSelectElement::defaultEventHandler): Added code to select options for list box when clicking and using arrow keys. (WebCore::HTMLSelectElement::nextSelectableListIndex): (WebCore::HTMLSelectElement::previousSelectableListIndex):
- html/HTMLSelectElement.h:
- rendering/RenderTheme.cpp: Added support for ListBoxAppearance (WebCore::RenderTheme::paint): (WebCore::RenderTheme::paintBorderOnly): (WebCore::RenderTheme::paintDecorations): (WebCore::RenderTheme::activeListBoxSelectionBackgroundColor): (WebCore::RenderTheme::activeListBoxSelectionForegroundColor): (WebCore::RenderTheme::inactiveListBoxSelectionBackgroundColor): (WebCore::RenderTheme::inactiveListBoxSelectionForegroundColor): (WebCore::RenderTheme::isControlStyled): (WebCore::RenderTheme::supportsFocusRing):
- rendering/RenderTheme.h:
- rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::isControlStyled):
- rendering/RenderListBox.cpp: Added. (WebCore::RenderListBox::RenderListBox): (WebCore::RenderListBox::~RenderListBox): (WebCore::RenderListBox::setStyle): (WebCore::RenderListBox::updateFromElement): (WebCore::RenderListBox::calcMinMaxWidth): (WebCore::RenderListBox::size): (WebCore::RenderListBox::numItems): (WebCore::RenderListBox::calcHeight): (WebCore::RenderListBox::baselinePosition): (WebCore::RenderListBox::itemBoundingBoxRect): (WebCore::RenderListBox::paintObject): (WebCore::RenderListBox::paintScrollbar): (WebCore::RenderListBox::paintItemForeground): (WebCore::RenderListBox::paintItemBackground): (WebCore::RenderListBox::scrollBarTarget): (WebCore::RenderListBox::isPointInScrollbar): (WebCore::RenderListBox::optionAtPoint): (WebCore::RenderListBox::autoscroll): (WebCore::RenderListBox::scrollToRevealElementAtListIndex): (WebCore::RenderListBox::scroll): (WebCore::RenderListBox::valueChanged):
- rendering/RenderListBox.h: Added. (WebCore::RenderListBox::isListBox): (WebCore::RenderListBox::selectionChanged): (WebCore::RenderListBox::setSelectionChanged): (WebCore::RenderListBox::canHaveChildren): (WebCore::RenderListBox::renderName): (WebCore::RenderListBox::setOptionsChanged): (WebCore::RenderListBox::shouldAutoscroll): (WebCore::RenderListBox::listIndexIsVisible):
- 4:10 PM Changeset in webkit [16662] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin.
We had a bug where html4.css was ignoring Media Queries. In the ned
the problem was that we were trying to send a char* to the
MediaQueryEvaluator constructor that expects a String, but the
char* got interpreted as a bool, the wrong constructor was called,
and the media type was never set.
No test case possible since this only affects html4.css
- css/MediaQueryEvaluator.cpp: New constructor that expects takes a char* (WebCore::MediaQueryEvaluator):
- css/MediaQueryEvaluator.h: Same.
- 3:57 PM Changeset in webkit [16661] by
-
- 5 edits3 adds in trunk
LayoutTests:
Reviewed by John, Maciej.
Added test for whether a frame element reports its src attribute as a
complete, rather than relative, URL.
- fast/frames/frame-src-attribute-expected.txt: Added.
- fast/frames/frame-src-attribute.html: Added.
- fast/frames/resources/frame-src-attribute-subframe.html: Added.
WebCore:
Reviewed by John, Maciej.
Integrated some frame and iframe code. I'm trying to fix up frame ownership
and loading. Reducing the number of different code paths involved
seemed like a good first step.
As a side effect, I fixed a bug where FRAME elements would report their
src attributes as relative, rather than compelete, URLs. (IFRAME elements
had the correct complete URL behavior.)
- html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::isURLAllowed): Fixed comment typo (WebCore::HTMLFrameElement::openURL):
(1) Removed checks that requestFrame does for us
(2) Added isURLAllowed check, to have one clear bottleneck for it
(3) Added viewsource check, to have one clear bottleneck for it
(WebCore::HTMLFrameElement::close): Changed to use the common contentFrame()
method, instead of finding our content frame in our own unique way.
(WebCore::HTMLFrameElement::setLocation): Removed isURLAllowed check,
since openURL does this for us now.
(WebCore::HTMLFrameElement::src): Return complete URL instead of relative.
This is what FF does, and it made no sense to have different behaviors
for FRAME and IFRAME elements.
- html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::HTMLIFrameElement): Removed duplicate init code.
- html/HTMLIFrameElement.h: Removed src() and openURL() methods, since HTMLFrameElement now does everything we need.
- 3:33 PM Changeset in webkit [16660] by
-
- 5 edits in trunk/WebCore
Reviewed by Hyatt.
Fix Qt/Linux build.
- 3:28 PM Changeset in webkit [16659] by
-
- 2 edits in S60/trunk/S60Tools
Reviewed by Brad.
DESC: Update bugzilla url
- prepare-ChangeLog.bat:
- 3:24 PM Changeset in webkit [16658] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:24 PM Changeset in webkit [16657] by
-
- 10 edits in S60/trunk
Update Bugzilla url to bugs.webkit.org in ChangeLogs
- 3:22 PM Changeset in webkit [16656] by
-
- 1 edit in trunk/WebKitQt/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:21 PM Changeset in webkit [16655] by
-
- 1 edit in trunk/WebKitLibraries/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:21 PM Changeset in webkit [16654] by
-
- 1 edit in trunk/WebKitSite/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:20 PM Changeset in webkit [16653] by
-
- 1 edit in trunk/WebKitTools/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:17 PM Changeset in webkit [16652] by
-
- 1 edit in trunk/JavaScriptGlue/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:16 PM Changeset in webkit [16651] by
-
- 1 edit in trunk/JavaScriptCore/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:14 PM Changeset in webkit [16650] by
-
- 2 edits in trunk/WebKit
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:12 PM Changeset in webkit [16649] by
-
- 3 edits in trunk/WebCore
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 3:08 PM Changeset in webkit [16648] by
-
- 1 edit in trunk/WebCore/ChangeLog
Replace bugzilla.opendarwin.org with bugs.webkit.org.
- 2:56 PM Changeset in webkit [16647] by
-
- 4 edits in S60/branches/3.1m/WebKit
2006-09-29 spadma <Sachin.Padma@nokia.com>
Reviewed by Joseph Ligman.
DESC: Fix resolvecomplete issues with BufferTransaction
http://bugzilla.opendarwin.org/show_bug.cgi?id=10497
- BrowserView/src/WebKitLoader.cpp: (CWebKitLoader::LoadPageL):
- ResourceLoader/inc/BufferTransaction.h:
- ResourceLoader/src/BufferTransaction.cpp: (CBufferTransaction::SendDataCB): (CBufferTransaction::ConstructL): (CBufferTransaction::~CBufferTransaction): (CBufferTransaction::HandleResolveComplete):
- 2:49 PM Changeset in webkit [16646] by
-
- 4 edits in S60/trunk/WebKit
2006-09-29 spadma <Sachin.Padma@nokia.com>
Reviewed by Joseph Ligman.
DESC: Fix resolvecomplete issues with BufferTransaction
http://bugzilla.opendarwin.org/show_bug.cgi?id=10497
- BrowserView/src/WebKitLoader.cpp: (CWebKitLoader::LoadPageL):
- ResourceLoader/inc/BufferTransaction.h:
- ResourceLoader/src/BufferTransaction.cpp: (CBufferTransaction::SendDataCB): (CBufferTransaction::ConstructL): (CBufferTransaction::~CBufferTransaction): (CBufferTransaction::HandleResolveComplete):
- 1:29 PM Changeset in webkit [16645] by
-
- 26 edits in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11082
Simplify Internal methods for the auto-generated Objective-C DOM code
- Auto-generate the internal methods for more Objective-C classes.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm:
- bindings/objc/DOMCSS.mm: (-[DOMStyleSheet WebCore::]): (+[DOMStyleSheet _styleSheetWith:WebCore::]): (-[DOMCSSRule WebCore::]): (-[DOMCSSRule _initWithCSSRule:WebCore::]): (+[DOMCSSRule _CSSRuleWith:WebCore::]): (-[DOMCSSValue WebCore::]): (-[DOMCSSValue _initWithCSSValue:WebCore::]): (+[DOMCSSValue _CSSValueWith:WebCore::]):
- bindings/objc/DOMHTMLAppletElement.mm: (-[DOMHTMLAppletElement WebCore::]): (+[DOMHTMLAppletElement _HTMLOptionElementWith:WebCore::]):
- bindings/objc/DOMHTMLEmbedElement.mm: (-[DOMHTMLEmbedElement WebCore::]): (+[DOMHTMLEmbedElement _HTMLEmbedElementWith:WebCore::]):
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMInternal.mm:
- bindings/scripts/CodeGeneratorObjC.pm:
- css/CSSCharsetRule.idl:
- css/CSSFontFaceRule.idl:
- css/CSSImportRule.idl:
- css/CSSMediaRule.idl:
- css/CSSPageRule.idl:
- css/CSSPrimitiveValue.idl:
- css/CSSStyleRule.idl:
- css/CSSStyleSheet.idl:
- css/CSSUnknownRule.idl:
- css/CSSValueList.idl:
- dom/KeyboardEvent.idl:
- dom/MouseEvent.idl:
- dom/MutationEvent.idl:
- dom/NodeIterator.idl:
- dom/OverflowEvent.idl:
- dom/UIEvent.idl:
- dom/WheelEvent.idl:
- 10:58 AM Changeset in webkit [16644] by
-
- 9 edits in S60/branches/3.1m
2006-09-29 bujtas <zbujtas@gmail.com>
Reviewed by Sachin Padma.
DESC: fix intrapage navigation vs. load issue
http://bugzilla.opendarwin.org/show_bug.cgi?id=10974
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::LoadUrlL):
- ResourceLoader/inc/LoaderUtils.h:
- ResourceLoader/src/LoaderUtils.cpp: (TLoaderUtils::IsIntraPageNavigation):
2006-09-29 sareen <shyam.sareen@nokia.com>
Reviewed by spadma <Sachin.Padma@nokia.com>.
DESC: Avoid passing NULL URL to webcore.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11056
- ResourceLoader/src/FileTransaction.cpp: (CFileTransaction::CreateHeaderResponseLC):
2006-09-29 zhalu <zhaosong.lu@nokia.com>
Reviewed by Sachin.
DESC:If the web page is loaded from cache, favicon is only loaded from cache,
not trying to load it from network even if cache does not have it.
- BrowserView/inc/WebKitLoader.h:
- BrowserView/src/WebKitLoader.cpp: (CWebKitLoader::CWebKitLoader): (CWebKitLoader::LoadPageL): (CWebKitLoader::LoadFavicon):
2006-09-29 spadma <Sachin.Padma@nokia.com>
Reviewed by Yongjun.
DESC: Cancel the active object before deleting it.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11087
- Src/StopScheduler.cpp: (CStopScheduler::~CStopScheduler):
- 10:40 AM Changeset in webkit [16643] by
-
- 2 edits in S60/trunk/MemoryManager
2006-09-29 spadma <Sachin.Padma@nokia.com>
Reviewed by Yongjun.
DESC: Cancel the active object before deleting it.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11087
- Src/StopScheduler.cpp: (CStopScheduler::~CStopScheduler):
- 9:57 AM Changeset in webkit [16642] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by John Sullivan.
<rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message
<rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot
- fast/text/attributed-substring-from-range-001-expected.txt: Added.
- fast/text/attributed-substring-from-range-001.html: Added.
Check attributed string results when starting or ending at a br element.
WebCore:
Reviewed by John Sullivan.
<rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message
<rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot
Test added
- fast/text/attributed-substring-from-range-001.html
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::attributedString): Handle non-zero offsets when start and/or end node is a container. Offset used to be ignored in this case. Also, add validation of the range.
- 9:10 AM Changeset in webkit [16641] by
-
- 5 edits5 adds8 deletes in trunk/WebKit
Reviewed by Maciej.
Switch the inspector over to use border-image with styled buttons and selects.
- WebInspector/WebInspector.m: (-[NSWindow window]): (-[NSWindow setWebFrame:]): (-_updateRoot):
- WebInspector/webInspector/Images/button.png: Added.
- WebInspector/webInspector/Images/buttonDivider.png: Added.
- WebInspector/webInspector/Images/buttonPressed.png: Added.
- WebInspector/webInspector/Images/popup.png: Added.
- WebInspector/webInspector/Images/popupFill.png: Removed.
- WebInspector/webInspector/Images/popupFillPressed.png: Removed.
- WebInspector/webInspector/Images/popupLeft.png: Removed.
- WebInspector/webInspector/Images/popupLeftPressed.png: Removed.
- WebInspector/webInspector/Images/popupPressed.png: Added.
- WebInspector/webInspector/Images/popupRight.png: Removed.
- WebInspector/webInspector/Images/popupRightPressed.png: Removed.
- WebInspector/webInspector/Images/squareButtonRight.png: Removed.
- WebInspector/webInspector/Images/squareButtonRightPressed.png: Removed.
- WebInspector/webInspector/inspector.css:
- WebInspector/webInspector/inspector.html:
- WebInspector/webInspector/inspector.js:
- 9:08 AM Changeset in webkit [16640] by
-
- 5 edits in S60/trunk
2006-09-25 zhalu <zhaosong.lu@nokia.com>
Reviewed by Zalan Bujtas.
DESC: For QColor object, there is a 'valid' flag indicating if the color is valid. The information for the valid flag is lost during the convertion of KWQPalette to WebCorePalette because the WebCorePalette uses only RGB values of color. This causes problem such as described in the bug report. The changes add the valid flag to the WebCorePalette class.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10174
Merged from \s60\branches\3.1m r16635
WARNING: NO TEST CASES ADDED OR CHANGED
- bridge/WebCorePalette.h: (TWebCorePalette::TWebCorePalette): (TWebCorePalette::SetBackGroundValid): (TWebCorePalette::SetForeGroundValid): (TWebCorePalette::IsBackGroundValid): (TWebCorePalette::IsForeGroundValid):
- kwq/KWQWidget.cpp: (QWidget::setPalette):
- 9:03 AM Changeset in webkit [16639] by
-
- 4 edits in S60/trunk/WebKit
2006-09-29 bujtas <zbujtas@gmail.com>
Reviewed by Sachin Padma.
DESC: fix intrapage navigation vs. load issue
http://bugzilla.opendarwin.org/show_bug.cgi?id=10974
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::LoadUrlL):
- ResourceLoader/inc/LoaderUtils.h:
- ResourceLoader/src/LoaderUtils.cpp: (TLoaderUtils::IsIntraPageNavigation):
- 8:59 AM Changeset in webkit [16638] by
-
- 4 edits in S60/trunk/WebKit
2006-09-29 sareen <shyam.sareen@nokia.com>
Reviewed by spadma <Sachin.Padma@nokia.com>.
DESC: Avoid passing NULL URL to webcore.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11056
- ResourceLoader/src/FileTransaction.cpp: (CFileTransaction::CreateHeaderResponseLC):
2006-09-29 zhalu <zhaosong.lu@nokia.com>
Reviewed by Sachin.
DESC:If the web page is loaded from cache, favicon is only loaded from cache,
not trying to load it from network even if cache does not have it.
- BrowserView/inc/WebKitLoader.h:
- BrowserView/src/WebKitLoader.cpp: (CWebKitLoader::CWebKitLoader): (CWebKitLoader::LoadPageL): (CWebKitLoader::LoadFavicon):
- 8:27 AM Changeset in webkit [16637] by
-
- 1 edit in trunk/LayoutTests/fast/dom/css-insert-import-rule-expected.txt
I commited old expected results, this one is correct.
- 8:23 AM Changeset in webkit [16636] by
-
- 2 edits in S60/trunk/S60Tools
Reviewed by Alan.
DESC: Add mk to list of makefile extenstions.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10918
- svn-create-patch.bat: *.mk permitted to have tabs
- 8:18 AM Changeset in webkit [16635] by
-
- 5 edits in S60/branches/3.1m
2006-09-25 zhalu <zhaosong.lu@nokia.com>
Reviewed by Zalan Bujtas.
DESC: For QColor object, there is a 'valid' flag indicating if the color is valid. The information for the valid flag is lost during the convertion of KWQPalette to WebCorePalette because the WebCorePalette uses only RGB values of color. This causes problem such as described in the bug report. The changes add the valid flag to the WebCorePalette class.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10174
WARNING: NO TEST CASES ADDED OR CHANGED
- bridge/WebCorePalette.h: (TWebCorePalette::TWebCorePalette): (TWebCorePalette::SetBackGroundValid): (TWebCorePalette::SetForeGroundValid): (TWebCorePalette::IsBackGroundValid): (TWebCorePalette::IsForeGroundValid):
- kwq/KWQWidget.cpp: (QWidget::setPalette):
- 2:52 AM Changeset in webkit [22268] by
-
- 3 edits in branches/WindowsMerge/WebKitWin
Fix mouse event propagation from WebKit to WebCore on Win32.
- 2:39 AM Changeset in webkit [22267] by
-
- 6 edits1 add in branches/WindowsMerge/WebCore
Reviewed by hyatt.
Add error logging to plugin code.
- WebCore.vcproj/WebCore.vcproj: Added PluginDebug.h
- platform/win/NotImplemented.h: Add surrounding #ifndef/#endif
- plugins/win/PluginDebug.h: Added.
- plugins/win/PluginPackageWin.cpp: Add error logging (WebCore::PluginPackageWin::load):
- plugins/win/PluginStreamWin.cpp: Ditto. (WebCore::PluginStreamWin::startStream): (WebCore::PluginStreamWin::destroyStream): (WebCore::PluginStreamWin::deliverData): (WebCore::PluginStreamWin::receivedAllData):
- plugins/win/PluginViewWin.cpp: Ditto. (WebCore::PluginViewWin::start): (WebCore::PluginViewWin::stop): (WebCore::PluginViewWin::newStream): (WebCore::PluginViewWin::write): (WebCore::PluginViewWin::destroyStream):
- 1:40 AM Changeset in webkit [16634] by
-
- 1 edit in trunk/WebCore/platform/PlatformMouseEvent.h
Add the ability to set the click count after the fact on a mouse event.
- 1:39 AM Changeset in webkit [22266] by
-
- 2 edits1 add in branches/WindowsMerge/WebCore
Fork mouse event.cpp
- 1:30 AM Changeset in webkit [16633] by
-
- 3 edits3 adds in trunk
Reviewed by Maciej.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10893
InsertRule can not handle @import statements
Allow @import as part of a css rule.
Sep 28, 2006:
- 11:30 PM Changeset in webkit [22265] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Make setValue work on win32 scrollbars. Fix buggy math.
- 11:16 PM Changeset in webkit [22264] by
-
- 2 edits in branches/WindowsMerge/WebCore
Make scrollbars on win32 give proper hover feedback.
- 7:10 PM Changeset in webkit [22263] by
-
- 10 edits5 adds in branches/WindowsMerge
2006-09-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by Maciej.
Use $(ConfigSuffix) set via vsprops files to add _debug
to end of debug filenames.
- 7:07 PM Changeset in webkit [16632] by
-
- 4 edits2 adds in trunk/JavaScriptCore
2006-09-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by Maciej.
Use $(ConfigSuffix) set via vsprops files to add _debug
to end of debug filenames.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcproj/debug.vsprops: Added.
- JavaScriptCore.vcproj/dftables/dftables.vcproj:
- JavaScriptCore.vcproj/release.vsprops: Added.
- JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
- 5:56 PM Changeset in webkit [22262] by
-
- 2 edits in branches/WindowsMerge/WebCore/platform/win
Forgot these in the last checkin (d'oh!)
- 5:55 PM Changeset in webkit [22261] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Reviewed by Hyatt.
Avoid creating LOGFONTs for bitmap fonts under CG, since we don't
support them anyway.
- platform/win/FontCacheWin.cpp: (WebCore::FontCache::createFontPlatformData): Set lfOutPrecision to OUT_TT_ONLY_PRECIS to avoid bitmap fonts.
- platform/win/FontPlatformDataWin.cpp: (WebCore::FontPlatformData::FontPlatformData): Change the LOG_ERROR back to an ASSERT since we should never reach this condition now.
- 5:39 PM Changeset in webkit [16631] by
-
- 3 edits in trunk/WebCore
Switch over the Mac-specific uses of viewportToContents/contentsToViewport.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::eventMayStartDrag): (WebCore::FrameMac::dragHysteresisExceeded): (WebCore::FrameMac::mouseDown): (WebCore::FrameMac::shouldDragAutoNode): (WebCore::FrameMac::sendContextMenuEvent):
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge _visiblePositionForPoint:]):
- 5:21 PM Changeset in webkit [22260] by
-
- 3 edits in branches/WindowsMerge/WebCore
Eliminate viewportToContents and contentsToViewport
- 5:17 PM Changeset in webkit [16630] by
-
- 11 edits in trunk/WebCore
Eliminate viewportToContents and contentsToViewport
- 4:32 PM Changeset in webkit [16629] by
-
- 2 edits in trunk/WebCore
Build fix by adding missing files for CommandByName
- WebCore.xcodeproj/project.pbxproj:
- 3:47 PM Changeset in webkit [16628] by
-
- 2 edits in trunk/WebCore
Adding CommandByName files to the vcproj
- WebCore.vcproj/WebCore/WebCore.vcproj:
- 3:23 PM Changeset in webkit [16627] by
-
- 2 edits in trunk/WebKit
fixing the windows build
- COM/WebView.cpp: (WebView::mouseMoved): (WebView::mouseDown): (WebView::mouseUp): (WebView::mouseDoubleClick):
- 3:06 PM Changeset in webkit [22259] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Anders.
Fail without crashing and log an error when CG encounters a bitmap
font.
- platform/win/FontPlatformDataWin.cpp: (WebCore::FontPlatformData::FontPlatformData): Trade LOG_ERROR for ASSERT_WITH_MESSAGE
- 2:41 PM Changeset in webkit [22258] by
-
- 7 edits1 add in branches/WindowsMerge
- 2:39 PM Changeset in webkit [16626] by
-
- 8 edits2 adds in trunk/WebCore
- 2:38 PM Changeset in webkit [16625] by
-
- 2 edits in S60/trunk/WebCore
2006-09-28 brmorris <bradley.morrison@nokia.com>
Reviewed by Zalan.
DESC: Include color attribute value in stringified info
http://bugzilla.opendarwin.org/show_bug.cgi?id=EBUGZILLADOWN
- khtml/rendering/render_object.cpp: (RenderObject::information): Now includes Style()->color
- 2:33 PM Changeset in webkit [16624] by
-
- 5 edits2 deletes in trunk/WebCore
Reviewed by Adele.
Remove no-longer-used PopUpButton.
- WebCore.vcproj/WebCore/WebCore.vcproj: Remove PopUpButton.h
- WebCore.xcodeproj/project.pbxproj: Remove PopUpButton.h, PopUpButtonMac.mm
- platform/PopUpButton.h: Removed.
- platform/mac/PopUpButtonMac.mm: Removed.
- platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods
- rendering/DeprecatedRenderSelect.cpp: Change #include of PopUpButton.h to ListBox.h
- 2:31 PM Changeset in webkit [22257] by
-
- 3 edits in branches/WindowsMerge/WebCore
Reviewed by Adele.
Remove never-to-be-used PopUpButton
- WebCore.vcproj/WebCore.vcproj: Remove PopUpButton.h
- platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods
- 2:28 PM Changeset in webkit [16623] by
-
- 2 edits in trunk/WebKitTools
Suggested by Darin.
Moved an extern declaration from inside a method to the top of the file.
- DumpRenderTree/EventSendingController.m: (-[EventSendingController clearKillRing]):
- 2:07 PM Changeset in webkit [16622] by
-
- 11 edits in trunk
Reviewed by Alice.
- support for change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows 10% perf. regression (copying strings while decoding)
- wtf/Vector.h: Changed VectorBuffer so that the general case contains an instance of the 0 case, since deriving from it was violating the Liskov Substitution Principle. (WTF::VectorBuffer::releaseBuffer): Added. Releases the buffer so it can be adopted by another data structure that uses the FastMalloc.h allocator. Returns 0 if the internal buffer was being used. (WTF::Vector::releaseBuffer): Added. Releases the buffer as above or creates a new one in the case where the internal buffer was being used.
WebCore:
Reviewed by Alice.
- change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows 10% perf. regression (copying strings while decoding)
Use Vector<UChar> instead of String when building up the decoded string in
the ICU and Mac decoders. Using String leads to O(n2) behavior because
String grows the buffer every single time that append is called. Using
Vector::append instead of String::append also avoids constructing a string
each time just to append and a questionable copy that is done inside the
String::append function which also contributed to the slowness.
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::adopt): Added. Makes a String from a Vector<UChar>, adopting the buffer from the vector to avoid copying and memory allocation.
- platform/StringImpl.h:
- platform/StringImpl.cpp: (WebCore::StringImpl::adopt): Ditto.
- platform/StreamingTextDecoder.h:
- platform/StreamingTextDecoder.cpp: (WebCore::TextCodec::appendOmittingBOM): Change to use a Vector<UChar> instead of a String, since vectors have better resizing performance (they store a separate capacity).
- platform/StreamingTextDecoderICU.cpp: (WebCore::TextCodecICU::decode):
- platform/mac/StreamingTextDecoderMac.cpp: (WebCore::TextCodecMac::decode): Change to use Vector<UChar> instead of String and then create a string at the end of the process using the new adopt function.
- 2:05 PM Changeset in webkit [16621] by
-
- 4 edits in trunk
Explicitly specify stabs for Debug and Production.
- 1:25 PM Changeset in webkit [16620] by
-
- 4 edits in trunk
LayoutTests:
Reviewed by Justin.
Call clearKillRing() so we are guaranteed to start with empty kill ring.
- editing/pasteboard/emacs-cntl-y-001.html:
WebKitTools:
Reviewed by Justin.
Add clearKillRing so we can test emacs support with empty kill ring.
- DumpRenderTree/EventSendingController.m: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController clearKillRing]):
- 1:12 PM Changeset in webkit [16619] by
-
- 1 edit3 adds in S60/trunk/LayoutTests
2006-09-28 brmorris <bradley.morrison@nokia.com>
Reviewed by myself :)
DESC: Added tests for tabbed navigation via:
<meta name="navigation" content="tabbed"/>
- manual/10222_tabbed_navigation-mobile-expected.txt: Added.
- manual/10222_tabbed_navigation.html: Added.
- 1:07 PM Changeset in webkit [22256] by
-
- 5 edits1 add in branches/WindowsMerge/WebCore
Reviewed by Alice.
Replace notImplemented() with LOG_NOIMPL() and STOP_NOIMPL() macros
which generate debug output. STOP_NOIMPL() also generates a debug
break. Replace calls to notImplemented() with
LOG_NOIMPL()/STOP_NOIMPL() as appropriate. This should stop some unnecessary
crashes where notImplemented() was called from a method that can fail
safely.
- WebCore.vcproj/WebCore.vcproj: Added NotImplemented.h
- platform/win/FontWin.cpp: Use LOG_NOIMPL() instead of notImplemented(). (WebCore::Font::selectionRectForComplexText): (WebCore::Font::drawComplexText): (WebCore::Font::floatWidthForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/win/NotImplemented.h: Added. Contains new LOG_NOIMPL() and STOP_NOIMPL() macros.
- platform/win/TemporaryLinkStubs.cpp: Use LOG_NOIMPL() and STOP_NOIMPL() instead of notImplemented() or nothing. (PopUpButton::focusPolicy): (PopUpButton::populate): (Widget::enableFlushDrawing): (Widget::focusPolicy): (Widget::disableFlushDrawing): (Widget::lockDrawingFocus): (Widget::unlockDrawingFocus): (JavaAppletWidget::JavaAppletWidget): (TextField::selectAll): (TextField::addSearchResult): (TextField::selectionStart): (TextField::hasSelectedText): (TextField::selectedText): (TextField::setAutoSaveName): (TextField::checksDescendantsForFocus): (TextField::setSelection): (TextField::setMaxResults): (TextField::edited): (Slider::Slider): (Slider::sizeHint): (Slider::setValue): (Slider::setMaxValue): (Slider::setMinValue): (Slider::~Slider): (Slider::setFont): (Slider::value): (ListBox::sizeForNumberOfLines): (ListBox::isSelected): (ListBox::checksDescendantsForFocus): (Slider::focusPolicy): (ListBox::focusPolicy): (TextField::focusPolicy): (Cursor::Cursor): (PlatformMouseEvent::PlatformMouseEvent): (WebCore::searchableIndexIntroduction): (WebCore::findNextSentenceFromIndex): (WebCore::findSentenceBoundary): (WebCore::findNextWordFromIndex): (WebCore::ServeSynchronousRequest): (FrameWin::focusWindow): (FrameWin::unfocusWindow): (FrameWin::locationbarVisible): (FrameWin::registerCommandForRedo): (FrameWin::getObjectInstanceForWidget): (FrameWin::getEmbedInstanceForWidget): (FrameWin::getAppletInstanceForWidget): (FrameWin::canRedo): (FrameWin::canUndo): (FrameWin::canPaste): (FrameWin::canGoBackOrForward): (FrameWin::shouldInterruptJavaScript): (FrameWin::openURL): (FrameWin::print): (FrameWin::passMouseDownEventToWidget): (FrameWin::issueCutCommand): (FrameWin::issueCopyCommand): (FrameWin::issuePasteCommand): (FrameWin::issueUndoCommand): (FrameWin::issueRedoCommand): (FrameWin::issuePasteAndMatchStyleCommand): (FrameWin::issueTransposeCommand): (FrameWin::passWheelEventToChildWidget): (FrameWin::mimeTypeForFileName): (FrameWin::scheduleClose): (FrameWin::markMisspellings): (FrameWin::menubarVisible): (FrameWin::personalbarVisible): (FrameWin::statusbarVisible): (FrameWin::toolbarVisible): (FrameWin::originalRequestURL): (FrameWin::isLoadTypeReload): (BrowserExtensionWin::canRunModal): (BrowserExtensionWin::createNewWindow): (BrowserExtensionWin::canRunModalNow): (BrowserExtensionWin::runModal): (BrowserExtensionWin::goBackOrForward): (BrowserExtensionWin::historyURL): (GraphicsContext::addRoundedRectClip): (GraphicsContext::addInnerRoundedRectClip): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::moveCursor): (WebCore::inputElementAltText): (WebCore::findWordBoundary): (WebCore::ResourceLoader::assembleResponseHeaders): (WebCore::ResourceLoader::retrieveCharset): (FrameView::updateBorder): (FrameWin::restoreDocumentState): (FrameWin::partClearedInBegin): (FrameWin::createEmptyDocument): (FrameWin::overrideMediaType): (FrameWin::markedTextRange): (FrameWin::addMessageToConsole): (FrameWin::shouldChangeSelection): (FrameWin::respondToChangedSelection): (FrameWin::saveDocumentState): (FrameWin::registerCommandForUndo): (FrameWin::clearUndoRedoOperations): (FrameWin::incomingReferrer): (FrameWin::markMisspellingsInAdjacentWords): (FrameWin::respondToChangedContents): (BrowserExtensionWin::BrowserExtensionWin): (BrowserExtensionWin::setTypedIconURL): (BrowserExtensionWin::setIconURL): (BrowserExtensionWin::getHistoryLength): (WebCore::CheckIfReloading): (WebCore::CheckCacheObjectStatus): (Widget::setIsSelected): (ScrollView::inWindow): (ScrollView::scrollPointRecursively): (GraphicsContext::setShadow): (GraphicsContext::clearShadow): (GraphicsContext::beginTransparencyLayer): (GraphicsContext::endTransparencyLayer): (GraphicsContext::clearRect): (GraphicsContext::strokeRect): (GraphicsContext::setLineWidth): (GraphicsContext::setLineCap): (GraphicsContext::setLineJoin): (GraphicsContext::setMiterLimit): (GraphicsContext::setAlpha): (GraphicsContext::clip): (GraphicsContext::rotate): (GraphicsContext::scale): (Path::Path): (Path::~Path): (Path::contains): (Path::translate): (Path::boundingRect): (Path::operator=): (Path::clear): (Path::moveTo): (Path::addLineTo): (Path::addQuadCurveTo): (Path::addBezierCurveTo): (Path::addArcTo): (Path::closeSubpath): (Path::addArc): (Path::addRect): (Path::addEllipse): (GraphicsContext::drawFocusRing): (GraphicsContext::drawLineForMisspelling): (GraphicsContext::setCompositeOperation): (TextField::TextField): (TextField::~TextField): (TextField::setFont): (TextField::setAlignment): (TextField::setWritingDirection): (TextField::maxLength): (TextField::setMaxLength): (TextField::text): (TextField::setText): (TextField::cursorPosition): (TextField::setCursorPosition): (TextField::setEdited): (TextField::setReadOnly): (TextField::setPlaceholderString): (TextField::setColors): (TextField::sizeForCharacterWidth): (TextField::baselinePosition): (TextField::setLiveSearch): (PopUpButton::PopUpButton): (PopUpButton::~PopUpButton): (PopUpButton::setFont): (PopUpButton::baselinePosition): (PopUpButton::setWritingDirection): (PopUpButton::clear): (PopUpButton::appendItem): (PopUpButton::setCurrentItem): (PopUpButton::sizeHint): (PopUpButton::frameGeometry): (PopUpButton::setFrameGeometry): (ListBox::ListBox): (ListBox::~ListBox): (ListBox::setSelectionMode): (ListBox::setFont): (ListBox::setWritingDirection): (ListBox::clear): (ListBox::doneAppendingItems): (ListBox::setEnabled): (ListBox::appendItem): (ListBox::setSelected): (WebCore::focusRingColor): (WebCore::setFocusRingColorChangeFunction): (Frame::setNeedsReapplyStyles): (Image::drawTiled): (RenderPopupMenuWin::addSeparator): (RenderPopupMenuWin::addGroupLabel): (IconLoader::receivedResponse): (IconLoader::notifyIconChanged):
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::setValue):
- 12:39 PM Changeset in webkit [16618] by
-
- 1 copy in S60/branches/s60-RnD-06wk39
New branch.
- 11:44 AM Changeset in webkit [16617] by
-
- 2 edits in S60/trunk/S60Tools
2006-09-28 brmorris <bradley.morrison@nokia.com>
Reviewed by Alan.
DESC: parse the description from the commit message
http://bugzilla.opendarwin.org/show_bug.cgi?id=11050
- svn2ccm.pl: Smarter task synopsis.
- 11:33 AM Changeset in webkit [16616] by
-
- 31 edits in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11057
Auto-generate more SVG Objective-C bindings
- Auto-generates DOMSVGAnimatedAngle, DOMSVGAnimatedBoolean, DOMSVGAnimatedEnumeration, DOMSVGAnimatedInteger, DOMSVGAnimatedLength, DOMSVGAnimatedLengthList, DOMSVGAnimatedNumber, DOMSVGAnimatedString, DOMSVGAnimatedTransformList, DOMSVGExternalResourcesRequired, DOMSVGLangSpace, DOMSVGLocatable, DOMSVGMetadataElement, DOMSVGRectElement, DOMSVGStringList, DOMSVGStylable, DOMSVGStyleElement, DOMSVGTests, and DOMSVGTransformable.
- Adds ability to CodeGeneratorObjC.pm to handle interfaces with mulitple parent interfaces and the SVG animated classes.
- Corrects CodeGenerator.pm to only skip the first parent for the main interface.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMSVG.h:
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorObjC.pm:
- ksvg2/svg/SVGAnimatedAngle.idl:
- ksvg2/svg/SVGAnimatedBoolean.idl:
- ksvg2/svg/SVGAnimatedEnumeration.idl:
- ksvg2/svg/SVGAnimatedInteger.idl:
- ksvg2/svg/SVGAnimatedLength.idl:
- ksvg2/svg/SVGAnimatedLengthList.idl:
- ksvg2/svg/SVGAnimatedNumber.idl:
- ksvg2/svg/SVGAnimatedPathData.idl:
- ksvg2/svg/SVGAnimatedString.idl:
- ksvg2/svg/SVGAnimatedTransformList.idl:
- ksvg2/svg/SVGExternalResourcesRequired.idl:
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl:
- ksvg2/svg/SVGFitToViewBox.idl:
- ksvg2/svg/SVGLangSpace.idl:
- ksvg2/svg/SVGLocatable.idl:
- ksvg2/svg/SVGMetadataElement.idl:
- ksvg2/svg/SVGStringList.idl:
- ksvg2/svg/SVGStylable.idl:
- ksvg2/svg/SVGStyleElement.idl:
- ksvg2/svg/SVGTests.idl:
- ksvg2/svg/SVGTransformable.idl:
- ksvg2/svg/SVGURIReference.idl:
- ksvg2/svg/SVGUnitTypes.idl:
- ksvg2/svg/SVGZoomAndPan.idl:
- 11:24 AM Changeset in webkit [16615] by
-
- 2 edits in trunk/WebCore
Reviewed by Mitz Pettel!!!
Change the error code check for common functions from SQLResultOk to SQLResultDone
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::forgetPageURLQuery): (WebCore::IconDatabase::setIconIDForPageURLQuery): (WebCore::IconDatabase::addIconForIconURLQuery):
- 9:56 AM Changeset in webkit [22255] by
-
- 2 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
Remove calls to DebugBreak() from plugin code.
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::getValue): (WebCore::PluginViewWin::setValue):
- 2:13 AM Changeset in webkit [16614] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Geoff.
- change garbage collection to happen at increments proportional to number of live objects, not always every 1000 allocations
- kjs/collector.cpp: (KJS::Collector::allocate):
- 2:11 AM Changeset in webkit [16613] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Mitz.
- fixed REGRESSION (r16606): javascriptCore Crash on website load
Plus style fixes.
- fixed some possible off-by-one bugs
- use indexing, not iterators, for Vectors
- store Vector by pointer instead of by value to avoid blowing out FunctionImp size
- kjs/function.cpp: (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName):
- kjs/function.h:
- 1:53 AM Changeset in webkit [22254] by
-
- 4 edits in branches/WindowsMerge/WebCore
Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewport point of reference for events and such.
- 1:49 AM Changeset in webkit [16612] by
-
- 3 edits in trunk/WebCore
Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewport point of reference for events and such.
Sep 27, 2006:
- 11:46 PM Changeset in webkit [16611] by
-
- 4 edits in trunk/WebCore
Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in textareas. Make sure
selectCursor checks for whether or not a scrollbar was hit. Also stub out a mouseMoved method for
scrollbars to provide hover feedback if needed.
Reviewed by Eric
- page/FrameView.cpp: (WebCore::selectCursor): (WebCore::FrameView::handleMouseMoveEvent):
- platform/ScrollBar.h: (WebCore::ScrollBar::mouseMoved):
- 11:32 PM Changeset in webkit [16610] by
-
- 2 edits1 delete in trunk/JavaScriptCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
Reviewed by Maciej.
More build tweaks
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Removed.
- 11:29 PM Changeset in webkit [22253] by
-
- 6 edits2 deletes in branches/WindowsMerge
- 9:56 PM Changeset in webkit [16609] by
-
- 2 edits in trunk/WebCore
2006-09-27 MorganL <morganl.webkit@yahoo.com>
Reviewed by Maciej and Adam, landed by Adam
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=11072
Windows build is busted
- platform/win/TemporaryLinkStubs.cpp: (ScrollView::paint): (ScrollView::themeChanged):
- 9:35 PM Changeset in webkit [16608] by
-
- 2 edits in trunk/JavaScriptCore
- kjs/function.cpp: (KJS::FunctionImp::getParameterName): removed assertion that displeased gcc 4.0.1 (build 5420): ASSERT(static_cast<size_t>(index) == index);
- 7:00 PM Changeset in webkit [16607] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by GGaren.
Cleanup of previous fix which was to address Radar: 4752492
- kjs/function.cpp: (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName):
- kjs/function.h:
- 5:58 PM Changeset in webkit [16606] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Adele.
Fixes a GC stack overflow crash.
The change is to move from a linked list implementation of Parameters to a Vector.
The problem with the linked list is that each one creates it's own stack frame when being destroyed and in extreme cases this caused the stack to overflow.
- kjs/function.cpp: (KJS::Parameter::Parameter): (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName):
- kjs/function.h:
- 5:54 PM Changeset in webkit [16605] by
-
- 2 edits in trunk/JavaScriptCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
Fix last path fix.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 5:50 PM Changeset in webkit [22252] by
-
- 4 edits in branches/WindowsMerge/WebCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
B&I build fixes
- WebCore.vcproj/WebCore.make:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcproj/build-generated-files.sh:
- 4:55 PM Changeset in webkit [22251] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by sfalken.
Don't die when plugins try to open a new window.
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::performRequest): Remove call to DebugBreak()
- 4:48 PM Changeset in webkit [16604] by
-
- 7 edits4 adds in trunk
2006-09-27 Eric Seidel <eric@eseidel.com>
Reviewed by mitz.
paths with no fill specified default to black but do not recieve paint-related mouse events
http://bugzilla.opendarwin.org/show_bug.cgi?id=11069
The default fill was being applied at the wrong place in the rendering chain, causing this problem.
Test: svg/custom/hover-default-fill.svg
- kcanvas/RenderPath.cpp: (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked
- ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke()
- ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::KSVGPainterFactory::isFilled): remove null check (WebCore::KSVGPainterFactory::fillPaintServer): remove null check (WebCore::KSVGPainterFactory::isStroked): remove null check (WebCore::KSVGPainterFactory::strokePaintServer): remove null check
- ksvg2/svg/SVGPaint.cpp: (WebCore::SVGPaint::defaultFill): added. (WebCore::SVGPaint::defaultStroke): added.
- ksvg2/svg/SVGPaint.h:
- 3:57 PM Changeset in webkit [22250] by
-
- 1 add in branches/WindowsMerge/JavaScriptCore/ChangeLog
Add missing change log
- 3:56 PM Changeset in webkit [22249] by
-
- 4 edits in branches/WindowsMerge
2006-09-27 Steve Falkenburg <sfalken@apple.com>
B&I build script tweaks.
- 3:54 PM Changeset in webkit [16603] by
-
- 3 edits in trunk/WebKit
Reviewed by thatcher
<rdar://problem/4044271>
Writing Direction menu doesn't reflect the current writing direction (9773)
- English.lproj/Localizable.strings: Added "Right to Left" and "Left to Right"
- WebView/WebHTMLView.m: (-[NSArray validateUserInterfaceItem:]): Validate menu items that perform toggleBaseWritingDirection and changeBaseWritingDirection. Disable the menu item that changes the writing direction to NSWritingDirectionNautral because NSWritingDirectionNatural's behavior can't be implemented with CSS. Take control of the title of the menu item that performs toggleBaseWritingDirection: instead of checking/unchecking it, otherwise we wouldn't know what a check means. (-[NSArray changeBaseWritingDirection:]): ASSERT that the requested writing direction is not NSWritingDirectionNatural, since we've disabled the menu item that performs it.
- 3:03 PM Changeset in webkit [22248] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
Reviewed by Hyatt.
Turn on CG
- config.h:
- 3:02 PM Changeset in webkit [22247] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Lou.
Fix crash in plugins due to Flash on nytimes.com
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::PluginStreamWin): memset m_stream to 0
- 3:00 PM Changeset in webkit [16602] by
-
- 2 edits in trunk/JavaScriptCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
Set path before build.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 2:53 PM Changeset in webkit [22246] by
-
- 3 adds in branches/WindowsMerge/JavaScriptCore
2006-09-27 Steve Falkenburg <sfalken@apple.com>
B&I build script.
- JavaScriptCore.vcproj/JavaScriptCore.make: Added.
- 1:29 PM Changeset in webkit [16601] by
-
- 8 edits8 adds in trunk
Reviewed by eseidel.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11015
SVG handles em units incorrectly
Calculate viewport coordinates at layout time, since
at this point the font size is known and lengths depending
on font sizes can be calculated correctly.
- 12:51 PM Changeset in webkit [16600] by
-
- 3 edits in trunk/JavaScriptCore
Debug configs should link to debug runtime.
- 12:29 PM Changeset in webkit [16599] by
-
- 8 edits in trunk
2006-09-27 Eric Seidel <eric@eseidel.com>
Reviewed by darin.
Change our invalid-fill error behavior to match Opera (and soon Firefox)
http://bugzilla.opendarwin.org/show_bug.cgi?id=11017
- ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::KSVGPainterFactory::isFilled): (WebCore::KSVGPainterFactory::fillPaintServer): (WebCore::KSVGPainterFactory::isStroked): (WebCore::KSVGPainterFactory::strokePaintServer):
- 12:07 PM Changeset in webkit [16598] by
-
- 2 edits in trunk/WebCore
Build fix
- loader/icon/IconDatabase.cpp: (WebCore::readySQLStatement):
- 11:59 AM Changeset in webkit [22245] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by sfalken.
Scroll plugins (at least in some cases).
- platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::scrollBy): Pass SW_SCROLLCHILDREN to ScrollWindowEx()
- 11:47 AM Changeset in webkit [22244] by
-
- 6 edits in branches/WindowsMerge/WebKitWin
- 11:46 AM Changeset in webkit [16597] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Adam Roben.
Changed line ending from DOS to UNIX format so it doesn't die running
on my machine. ;)
- JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
- 11:20 AM Changeset in webkit [16596] by
-
- 6 edits in trunk
WebKit:
Reviewed by Maciej, landed by Brady
Update URL request associated with provisional data source on redirect.
Notify IWebFrameLoadDelegate of redirects for the provisional load.
Notify IWebFrameLoadDelegate of a provisional load being commited.
- COM/WebDataSource.cpp: (WebDataSource::replaceRequest):
- COM/WebDataSource.h:
- COM/WebFrame.cpp: (WebFrame::receivedRedirect): (WebFrame::receivedResponse): (WebFrame::receivedData):
WebKitTools:
Reviewed by Maciej, landed by Brady
Fix URL bar updating.
- Spinneret/Spinneret/Spinneret.h: (SpinneretWebHost::didStartProvisionalLoadForFrame): (SpinneretWebHost::didCommitLoadForFrame): (SpinneretWebHost::didFinishLoadForFrame):
- 11:03 AM Changeset in webkit [22243] by
-
- 5 edits in branches/WindowsMerge
2006-09-27 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam.
Fix <rdar://problem/4753220>.
Hang using bugreporter in Boomer.
Force text into simple code path in all cases.
- WebFrame.cpp: (FormValuesPropertyBag::GetPropertyInfo):
- WebPreferences.cpp: (WebPreferences::initialize):
- 10:59 AM Changeset in webkit [16595] by
-
- 4 edits in trunk/WebCore
WebCore:
Reviewed by Adam
In very specific circumstances, prepared SQLStatements can become invalid without
any warning. This checks for that state and re-prepares the statement and also
adds more aggressive error-checking everywhere these statements are used.
- loader/icon/IconDatabase.cpp: (WebCore::readySQLStatement): Check if the statement is expired - reprepare it (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto (WebCore::IconDatabase::forgetPageURLQuery): Ditto (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto (WebCore::IconDatabase::addIconForIconURLQuery): Ditto (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto
- loader/icon/SQLStatement.cpp: (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired())
- loader/icon/SQLStatement.h:
- 8:58 AM Changeset in webkit [22242] by
-
- 2 edits2 adds in branches/WindowsMerge/WebCore
Add WebCoreSystemInterface.h/cpp to platform/win
Sep 26, 2006:
- 11:55 PM Changeset in webkit [22241] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-26 Steve Falkenburg <sfalken@apple.com>
Build fix for clean release build.
- WebKit.vcproj/WebKitGUID.vcproj:
- 10:27 PM Changeset in webkit [22240] by
-
- 4 edits in branches/WindowsMerge/WebCore
Reviewed by sfalken.
Fixes <rdar://problem/4751600>
Hang on Amazon.com involving Flash
- plugins/win/PluginStreamWin.cpp: Rename m_streamStarted to m_isTerminated to match Mac code (m_isTerminated is the negation of m_streamStarted) (WebCore::PluginStreamWin::PluginStreamWin): Initialize m_isTerminated to false to match Mac code. (WebCore::PluginStreamWin::~PluginStreamWin): Rename and negate. (WebCore::PluginStreamWin::stop): Remove assignment of m_streamStarted to match Mac code. (WebCore::PluginStreamWin::startStream): Rename and negate. Remove now-unnecessary assignment of m_streamStarted to true because we set m_isTerminated to false in the constructor. (WebCore::PluginStreamWin::destroyStream): Rename and negate.
- plugins/win/PluginStreamWin.h: Rename m_streamStarted to m_isTerminated.
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::performRequest): Send the correct response URL to the plugin.
- 5:56 PM Changeset in webkit [16594] by
-
- 4 edits in trunk/WebCore
Reviewed by Steve.
- clean up options for font code path
- platform/Font.h:
- platform/Font.cpp: (WebCore::Font::setCodePath): Added. Replaces boolean version. (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too.
- platform/mac/WebCoreTextRenderer.mm: (WebCoreSetAlwaysUseATSU): Change to call setCodePath.
- 5:47 PM Changeset in webkit [22239] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Disabled icondatabase for now
- 5:45 PM Changeset in webkit [22238] by
-
- 5 edits2 adds in branches/WindowsMerge
Build tweaks
- 4:44 PM Changeset in webkit [16593] by
-
- 10 edits in trunk
WebCore:
Reviewed by Darin
- bridge/mac/WebCoreFrameBridge.h:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]): Added limit parameter, passed down to Frame
- page/Frame.h:
- page/Frame.cpp: (WebCore::Frame::markAllMatchesForText): Added limit parameter. Stop the search if it hits limit.
WebKit:
Reviewed by Darin
- WebView/WebHTMLViewPrivate.h:
- WebView/WebHTMLView.m: (-[WebHTMLView markAllMatchesForText:caseSensitive:limit:]): Added limit parameter, passed over the bridge. Stop the search if it hits limit.
- WebView/WebViewPrivate.h:
- WebView/WebView.m: (-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]): Added limit parameter, passed to WebHTMLView.
- 4:28 PM Changeset in webkit [22237] by
-
- 4 edits in branches/WindowsMerge
Handle tiled images correctly.
- 4:26 PM Changeset in webkit [16592] by
-
- 2 edits in trunk/WebCore
Removed #if's.
- 3:15 PM Changeset in webkit [22236] by
-
- 3 edits in branches/WindowsMerge/WebKitWin
2006-09-26 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam Roben.
Fixed encoding menu.
Set mime type in request.
- WebFrame.cpp: (WebFrame::receivedResponse):
- WebView.cpp: (WebView::setCustomTextEncodingName):
- 2:54 PM Changeset in webkit [16591] by
-
- 21 edits in S60/trunk
2006-09-26 yongjzha <yongjun.zhang@nokia.com>
Reviewed by Sachin
DESC:
http://bugzilla.opendarwin.org/show_bug.cgi?id=11048
- BrowserControl/inc/BrCtlDefs.h: (TBrCtlDefs::):
- BrowserView/inc/WebKitControl.h:
- BrowserView/inc/WebKitSurface.h: (CWebKitSurface::OffscreenBitmap): (CWebKitSurface::CurrentView): (CWebKitSurface::SetCurrentView): (CWebKitSurface::DisplayMode):
- BrowserView/src/KeyEventHandler.cpp: (CKeyEventHandler::HandleOfferKeyEventL):
- BrowserView/src/LoadListeners.cpp: (CPageLoadListener::HeadersL):
- BrowserView/src/PointerEventHandler.cpp: (CPointerEventHandler::AutoScroll):
- BrowserView/src/WebKitControl.cpp: (CStaticObjectContainer::SurfaceL): (CWebKitControl::SetBrowserSettingL): (CWebKitControl::OpenPageViewL): (CWebKitControl::ClosePageView): (CWebKitControl::CancelPageView):
- BrowserView/src/WebKitFrame.cpp: (CWebKitFrame::ScrollTo):
- BrowserView/src/WebKitSurface.cpp: (CWebKitSurface::NewL): (CWebKitSurface::~CWebKitSurface): (CWebKitSurface::CWebKitSurface): (CWebKitSurface::ConstructL): (CWebKitSurface::Flip):
- BrowserView/src/WebKitView.cpp: (CWebKitView::CWebKitView): (CWebKitView::ConstructL): (CWebKitView::SetViewVisible): (CWebKitView::SizeChanged): (CWebKitView::ImageDecodeEvent): (CWebKitView::ProgressAndImageDecodeComplete):
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::LayoutChanged):
- 2:44 PM Changeset in webkit [22235] by
-
- 2 edits in branches/WindowsMerge/WebCore
Nuked another NotImplemented()
- 2:04 PM Changeset in webkit [22234] by
-
- 5 edits in branches/WindowsMerge
Link to debug libraries & C-runtime in debug config.
- 2:01 PM Changeset in webkit [22233] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-26 Lou Amadio <lamadio@apple.com>
Reviewed by ggaren
Uninitialized variable caused a memory corruption on cnn.com
- 12:58 PM Changeset in webkit [16590] by
-
- 1 delete in tags/WebKit-521.27.1/WebCore
Removing bad tag.
- 12:58 PM Changeset in webkit [16589] by
-
- 5 edits in tags/WebCore-521.27.1/WebCore
Build fix and versioning.
- 12:56 PM Changeset in webkit [16588] by
-
- 1 copy in tags/WebCore-521.27.1/WebCore
New tag part 2.
- 12:56 PM Changeset in webkit [16587] by
-
- 4 edits8 adds in trunk
LayoutTests:
Reviewed by john
<rdar://problem/4747695>
Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
- editing/deleting/list-item-1-expected.checksum: Added.
- editing/deleting/list-item-1-expected.png: Added.
- editing/deleting/list-item-1-expected.txt: Added.
- editing/deleting/list-item-1.html: Added.
- editing/execCommand/remove-list-item-1-expected.checksum: Added.
- editing/execCommand/remove-list-item-1-expected.png: Added.
- editing/execCommand/remove-list-item-1-expected.txt: Added.
- editing/execCommand/remove-list-item-1.html: Added.
WebCore:
Reviewed by john
<rdar://problem/4747695>
Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
- editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding to select special elements that are fully selected after expansion moves to positions that are visually distinct from the originals.
- editing/InsertListCommand.cpp: (WebCore::InsertListCommand::doApply): If the content of the list item will be moved into another list, put it in a list item.
- 12:19 PM Changeset in webkit [16586] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by John and TimH.
<rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty
- editing/pasteboard/emacs-cntl-y-001-expected.checksum: Added.
- editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
- editing/pasteboard/emacs-cntl-y-001-expected.txt: Added.
- editing/pasteboard/emacs-cntl-y-001.html: Added.
WebKit:
Reviewed by John and TimH.
<rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty
Use deleteBackward: when the killring string is empty. Was always using insertText:,
but that ends up early-returning if the string to insert is empty.
- WebView/WebHTMLView.m: (-[NSArray yank:]): (-[NSArray yankAndSelect:]):
- 12:14 PM Changeset in webkit [22232] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-26 Steve Falkenburg <sfalken@apple.com>
Reviewed by Geoff.
Don't add subframes to global history or back/forward.
- WebFrame.cpp: (WebFrame::receivedAllData): (WebFrame::createFrame):
- 10:12 AM Changeset in webkit [16585] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
Temporary work-around for frame lifetime issue.
- page/Frame.cpp: (WebCore::Frame::clear): (WebCore::Frame::disconnectOwnerElement):
- 9:58 AM Changeset in webkit [16584] by
-
- 1 edit in tags/WebKit-521.27.1/WebCore/Info.plist
Versioning
- 9:57 AM Changeset in webkit [16583] by
-
- 4 edits in tags/WebKit-521.27.1/WebCore/bindings/objc
Build fix.
- 9:56 AM Changeset in webkit [16582] by
-
- 1 copy in tags/WebKit-521.27.1/WebCore
New tag part 2.
- 9:55 AM Changeset in webkit [16581] by
-
- 1 add in tags/WebCore-521.27.1
New tag part 1.
- 9:54 AM Changeset in webkit [16580] by
-
- 1 copy in tags/WebKit-521.27.1/WebKit
New tag part 2.
- 9:54 AM Changeset in webkit [16579] by
-
- 1 add in tags/WebKit-521.27.1
New tag part 1.
- 6:44 AM Changeset in webkit [16578] by
-
- 11 edits2 adds in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038
Auto-generate DOMSVGElement for the Objective-C bindings
- Auto-generates DOMSVGElement.
- Make SVGExceptions work like all the other ExceptionCode extensions (Range, XPath, etc.) by adding SVGExceptionOffset and SVGExceptionMax.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/kjs_binding.cpp: (KJS::): (KJS::setDOMException):
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMInternal.mm: (raiseDOMException):
- bindings/objc/DOMSVG.h:
- bindings/objc/DOMSVGExecption.h: Added.
- ksvg2/ksvg.h:
- ksvg2/svg/SVGElement.cpp: (WebCore::SVGElement::setId): (WebCore::SVGElement::setXmlbase):
- ksvg2/svg/SVGElement.h:
- ksvg2/svg/SVGElement.idl:
- ksvg2/svg/SVGException.h: Added. (WebCore::):
- 6:26 AM Changeset in webkit [16577] by
-
- 2 edits in trunk/WebKitSite
2006-09-26 Eric Seidel <eric@eseidel.com>
Reviewed by anders.
- projects/svg/status.xml: update status to reflect current state of SVG development
- 6:08 AM Changeset in webkit [16576] by
-
- 4 edits5 adds in trunk
2006-09-26 Eric Seidel <eric@eseidel.com>
Reviewed by Tim H.
viewbox parser does not allow <tab> as a delimiter
http://bugzilla.opendarwin.org/show_bug.cgi?id=11014
Test: svg/hixie/viewbox/003.xml
- ksvg2/svg/svgpathparser.cpp: (WebCore::isWhitespace): new function (WebCore::skipOptionalSpaces): (WebCore::skipOptionalSpacesOrComma):
- 5:56 AM Changeset in webkit [16575] by
-
- 4 edits4 adds in trunk
2006-09-26 Eric Seidel <eric@eseidel.com>
Reviewed by Tim H.
SVGDocument::createElement does not create elements in the SVG namespace
http://bugzilla.opendarwin.org/show_bug.cgi?id=10932
Test: svg/custom/createelement.svg
- ksvg2/svg/SVGDocument.cpp: (WebCore::SVGDocument::createElement):
- ksvg2/svg/SVGDocument.h:
- 5:50 AM Changeset in webkit [16574] by
-
- 5 edits2 adds in trunk
2006-09-26 Eric Seidel <eric@eseidel.com>
Reviewed by Tim H.
RenderPath::nodeAtPoint does not respect stroke width
http://bugzilla.opendarwin.org/show_bug.cgi?id=10829
Test: svg/custom/stroke-width-click.svg
- kcanvas/device/quartz/KCanvasItemQuartz.mm: (WebCore::RenderPath::strokeContains):
- kcanvas/device/quartz/QuartzSupport.h:
- kcanvas/device/quartz/QuartzSupport.mm:
- 5:41 AM Changeset in webkit [16573] by
-
- 1 delete in trunk/WebCore/LayoutTests
Remove stray LayoutTests directory.
- 5:33 AM Changeset in webkit [16572] by
-
- 12 edits in trunk/WebCore
2006-09-26 Eric Seidel <eric@eseidel.com>
Reviewed by mitz.
Bring animation back to life
http://bugzilla.opendarwin.org/show_bug.cgi?id=11021
Register/unregister SVGSVGElements as time containers on insertion/removal.
Replace uses of DeprecatedString with String in SVGAnimationElement
Various whitespace clean-up.
- ksvg2/misc/KSVGTimeScheduler.cpp: (WebCore::SVGTimer::notifyAll):
- ksvg2/misc/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::startAnimations): (WebCore::SVGDocumentExtensions::pauseAnimations): (WebCore::SVGDocumentExtensions::unpauseAnimations):
- ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::handleTimerEvent): (WebCore::SVGAnimateTransformElement::parseTransformValue):
- ksvg2/svg/SVGAnimateTransformElement.h:
- ksvg2/svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::SVGAnimationElement): (WebCore::SVGAnimationElement::parseMappedAttribute): (WebCore::SVGAnimationElement::parseClockValue): (WebCore::SVGAnimationElement::targetAttribute): (WebCore::SVGAnimationElement::setTargetAttribute): (WebCore::SVGAnimationElement::attributeName):
- ksvg2/svg/SVGAnimationElement.h: (WebCore::SVGAnimationElement::rendererIsNeeded):
- ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::getScreenCTM): (WebCore::SVGSVGElement::createRenderer): (WebCore::SVGSVGElement::insertedIntoDocument): added, calls addTimeContainer(this) (WebCore::SVGSVGElement::removedFromDocument): added, calls removeTimeContainer(this)
- ksvg2/svg/SVGSVGElement.h:
- ksvg2/svg/SVGSetElement.cpp: (WebCore::SVGSetElement::handleTimerEvent):
- ksvg2/svg/SVGURIReference.cpp: (WebCore::SVGURIReference::getTarget):
- ksvg2/svg/SVGURIReference.h:
- 4:27 AM Changeset in webkit [16571] by
-
- 5 edits in trunk/WebCore
2006-09-26 Graham Dennis <graham.dennis@gmail.com>
Reviewed by mitzpettel.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020 No-SVG build broken since r16549
Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
- css/cssparser.cpp: (WebCore::CSSParser::parseValue):
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
- page/FrameView.cpp: (WebCore::selectCursor):
- platform/qt/GraphicsContextQt.cpp:
- 4:11 AM Changeset in webkit [16570] by
-
- 1 edit in trunk/WebCore/platform/StringImpl.cpp
Fix win32 build bustage with StringImpl's toDouble method.
- 4:09 AM Changeset in webkit [22231] by
-
- 3 edits in branches/WindowsMerge/WebCore
Scrollbar cleanup. Fix up invalidation and rect handling.
- 1:51 AM Changeset in webkit [22230] by
-
- 7 edits in branches/WindowsMerge
Implement scrollbar painting and theme changing support.
- 1:30 AM Changeset in webkit [16569] by
-
- 2 edits in trunk/WebCore
Land groundwork for handling theme changes.
- 12:36 AM Changeset in webkit [16568] by
-
- 20 edits in trunk/WebCore
2006-09-26 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10820
Add StringImpl::toDouble() and remove uses of .deprecatedString().toDouble()
(Originally written by Eric Seidel).
- bindings/js/kjs_window.cpp: (KJS::floatFeature):
- ksvg2/svg/SVGAngle.cpp: (SVGAngle::setValueAsString):
- ksvg2/svg/SVGAnimationElement.cpp: (SVGAnimationElement::parseMappedAttribute):
- ksvg2/svg/SVGComponentTransferFunctionElement.cpp: (SVGComponentTransferFunctionElement::parseMappedAttribute):
- ksvg2/svg/SVGFECompositeElement.cpp: (WebCore::SVGFECompositeElement::parseMappedAttribute):
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
- ksvg2/svg/SVGFEDisplacementMapElement.cpp: (SVGFEDisplacementMapElement::parseMappedAttribute):
- ksvg2/svg/SVGFELightElement.cpp: (SVGFELightElement::parseMappedAttribute):
- ksvg2/svg/SVGFEOffsetElement.cpp: (WebCore::SVGFEOffsetElement::parseMappedAttribute):
- ksvg2/svg/SVGFESpecularLightingElement.cpp: (SVGFESpecularLightingElement::parseMappedAttribute):
- ksvg2/svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
- ksvg2/svg/SVGStopElement.cpp: (SVGStopElement::parseMappedAttribute):
- platform/AtomicString.h: (WebCore::AtomicString::toDouble):
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::toDouble):
- platform/StringImpl.cpp: (WebCore::StringImpl::toDouble):
- platform/StringImpl.h:
- rendering/DeprecatedSlider.cpp: (WebCore::DeprecatedSlider::updateFromElement):
- xml/XPathGrammar.y:
Sep 25, 2006:
- 6:14 PM Changeset in webkit [16567] by
-
- 3 edits in trunk/WebCore
Reviewed by Tim Omernick and Tim Hatcher.
<rdar://problem/4717965> Text Field text parameterized attributes should work
<rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilityAttributeValue:]): Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.
(-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
Cleaned up. Added text field and text area parameterzed attributes.
(-[WebCoreAXObject doAXLineForTextMarker:]):
Fixed to be zero-based and to deal with the first position properly.
(-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
Minor formatting.
(-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
(-[WebCoreAXObject indexForTextMarker:]):
(-[WebCoreAXObject textMarkerRangeForRange:]):
(-[WebCoreAXObject rangeForTextMarkerRange:]):
New utility methods.
(-[WebCoreAXObject doAXLineForIndex:]):
(-[WebCoreAXObject doAXRangeForLine:]):
(-[WebCoreAXObject doAXStringForRange:]):
(-[WebCoreAXObject doAXRangeForPosition:]):
(-[WebCoreAXObject doAXRangeForIndex:]):
(-[WebCoreAXObject doAXBoundsForRange:]):
(-[WebCoreAXObject doAXAttributedStringForRange:]):
(-[WebCoreAXObject doAXRTFForRange:]):
(-[WebCoreAXObject doAXStyleRangeForIndex:]):
Implement text field and text area parameterized attributes.
(-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
Added text field and text area parameterzed attributes.
- rendering/RenderTextControl.h: Made indexForVisiblePosition() and visiblePositionForIndex() public.
- 6:10 PM Changeset in webkit [22229] by
-
- 30 edits in branches/WindowsMerge
Setting svn:eol-style to native on all Windows-only files.
- 6:05 PM Changeset in webkit [22228] by
-
- 11 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
Set svn:eol-style to native and cleanup line endings on plugins files.
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::PluginStreamWin): (WebCore::PluginStreamWin::~PluginStreamWin): (WebCore::PluginStreamWin::start): (WebCore::PluginStreamWin::startStream): (WebCore::PluginStreamWin::destroyStream): (WebCore::PluginStreamWin::deliverData): (WebCore::PluginStreamWin::receivedResponse): (WebCore::PluginStreamWin::receivedData): (WebCore::PluginStreamWin::receivedAllData):
- 5:58 PM Changeset in webkit [22227] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Brady.
Fixes <rdar://problem/4749494>
Crash/ASSERT in plugins at Fark.com
- platform/win/ResourceLoaderWin.cpp: Store whether a particular job has received a response within the ResourceLoader object itself, since it's possible that we will enter the InternetReadFileExA while loop twice for the same job. (WebCore::ResourceLoaderWndProc): Ask the job whether it has received a response instead of assuming it hasn't. (WebCore::ResourceLoader::setHasReceivedResponse): Added. (WebCore::ResourceLoader::hasReceivedResponse): Added.
- 5:57 PM Changeset in webkit [16566] by
-
- 7 edits in trunk/WebCore
Reviewed by Brady.
Build fixes.
- WebCore.vcproj/WebCore/WebCore.vcproj: Fix malformed XML.
- platform/ResourceLoader.h: Store whether a particular job has received a response within the ResourceLoader object itself, since it's possible that we will enter the InternetReadFileExA while loop twice for the same job.
- platform/ResourceLoaderInternal.h: Add private instance variable to store whether we've received a response. (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
- platform/win/GraphicsContextWin.cpp: Fix order of preprocessor directives.
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoader::onRequestComplete): Ask the ResourceLoader whether it has received a response instead of assuming it hasn't. (WebCore::ResourceLoader::setHasReceivedResponse): Added. (WebCore::ResourceLoader::hasReceivedResponse): Added.
- platform/win/TemporaryLinkStubs.cpp: Rename setKnobProportion to setProportion (ScrollBar::setProportion):
- 5:42 PM Changeset in webkit [22226] by
-
- 2 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
Continuing the removal of unnecessary notImplemented() calls.
- platform/win/TemporaryLinkStubs.cpp: (PlatformMouseEvent::PlatformMouseEvent): (FrameWin::passWheelEventToChildWidget):
- 5:33 PM Changeset in webkit [16565] by
-
- 2 edits in trunk/WebCore
Requested by ggaren
Disabled IconDatabase logging by default
- platform/Logging.cpp: (WebCore::):
- 4:43 PM Changeset in webkit [16564] by
-
- 2 edits in trunk/WebCore
2006-09-25 Steve Falkenburg <sfalken@apple.com>
Reviewed by Jeff Jenkins.
Tweak CF types.
- platform/cf/ResourceLoaderCFNet.cpp: (WebCore::willCacheResponse):
- 3:30 PM Changeset in webkit [22225] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-25 Steve Falkenburg <sfalken@apple.com>
Add missing parameters to CG paint case.
- WebFrame.cpp: (WebFrame::paint):
- 2:59 PM Changeset in webkit [16563] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by john
- editing/execCommand/indent-empty-root-expected.checksum: Added.
- editing/execCommand/indent-empty-root-expected.png: Added.
- editing/execCommand/indent-empty-root-expected.txt: Added.
- editing/execCommand/indent-empty-root.html: Added.
WebCore:
Reviewed by john
<http://bugzilla.opendarwin.org/show_bug.cgi?id=11002>
Gmail Editor: Crash at WebCore::SplitElementCommand::doApply() when attempting to indent in a new message
- editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::indentRegion): Special case an empty root editable element.
- 2:57 PM Changeset in webkit [22224] by
-
- 2 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
More notImplemented()-ectomy.
- platform/win/TemporaryLinkStubs.cpp: (RenderPopupMenuWin::addSeparator): (RenderPopupMenuWin::addGroupLabel):
- 2:45 PM Changeset in webkit [22223] by
-
- 2 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
Remove calls to notImplemented() from functions that can fail safely.
- platform/win/TemporaryLinkStubs.cpp: (FrameWin::originalRequestURL): (FrameWin::isLoadTypeReload): (IconLoader::receivedResponse): (IconLoader::notifyIconChanged):
- 2:40 PM Changeset in webkit [16562] by
-
- 2 edits in trunk/WebCore
Math error in SystemTimeWin
- 2:31 PM Changeset in webkit [16561] by
-
- 3 edits in trunk/WebCore/bindings/objc
Build fix to avoid property name conflict warning.
- 2:30 PM Changeset in webkit [22222] by
-
- 2 edits in branches/WindowsMerge/WebCore
Rubberstamped by sfalken.
Make notImplemented() crash even when not linked against the debug CRT.
- platform/win/TemporaryLinkStubs.cpp: (notImplemented): Change _CrtDbgBreak() to ASSERT(0)
- 1:41 PM Changeset in webkit [16560] by
-
- 5 edits in trunk/WebCore
Reviewed by Eric.
Whitespace cleanup; rename *job variables to *loader.
- bindings/js/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp): (KJS::JSXMLHttpRequestConstructorImp::implementsConstruct): (KJS::JSXMLHttpRequestConstructorImp::construct): (KJS::JSXMLHttpRequest::getOwnPropertySlot): (KJS::JSXMLHttpRequest::getValueProperty): (KJS::JSXMLHttpRequest::put): (KJS::JSXMLHttpRequest::putValueProperty): (KJS::JSXMLHttpRequest::mark): (KJS::JSXMLHttpRequest::JSXMLHttpRequest): (KJS::JSXMLHttpRequest::~JSXMLHttpRequest): (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
- bindings/js/JSXMLHttpRequest.h: (KJS::JSXMLHttpRequest::toBoolean):
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::XMLHttpRequest): (WebCore::XMLHttpRequest::urlMatchesDocumentDomain): (WebCore::XMLHttpRequest::send): (WebCore::XMLHttpRequest::abort): (WebCore::XMLHttpRequest::receivedAllData): (WebCore::XMLHttpRequest::receivedData):
- xml/xmlhttprequest.h: (WebCore::):
- 12:04 PM Changeset in webkit [16559] by
-
- 13 edits in trunk
WebCore:
Reviewed by Brady.
- Deprecate the rest of the old-style methods that are not generated.
- Add @property syntax to DOMRange.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (-[DOMRange setStart:offset:]): (-[DOMRange setEnd:offset:]): (-[DOMRange compareBoundaryPoints:sourceRange:]): (-[DOMRange setStart::]): (-[DOMRange setEnd::]): (-[DOMRange compareBoundaryPoints::]): (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]): (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]): (-[DOMDocument createNodeIterator::::]): (-[DOMDocument createTreeWalker::::]):
- bindings/objc/DOMCSS.h:
- bindings/objc/DOMCSS.mm: (-[DOMDocument getComputedStyle:pseudoElement:]): (-[DOMDocument getComputedStyle::]): (-[DOMDocument getMatchedCSSRules:pseudoElement:]):
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMHTML.h:
- bindings/objc/DOMRange.h:
- bindings/objc/DOMTraversal.h:
WebKit:
Reviewed by Brady.
Use the non-deprecated method names for getComputedStyle, setEnd and setStart.
- WebInspector/WebInspector.m: (-_highlightNode:):
- WebView/WebHTMLView.m: (unionDOMRanges): (-[WebHTMLView _selectRangeInMarkedText:]): (-[WebTextCompleteController doCompletion]):
- WebView/WebView.m: (-[WebView computedStyleForElement:pseudoElement:]):
- 10:37 AM Changeset in webkit [16558] by
-
- 4 edits in trunk/WebCore/bindings/objc
Build fix.
- 2:52 AM Changeset in webkit [16557] by
-
- 53 edits4 adds in trunk
2006-09-25 Eric Seidel <eric@eseidel.com>
Reviewed by mjs.
Outermost <svg> element should clip to viewport
http://bugzilla.opendarwin.org/show_bug.cgi?id=11007
Test: svg/custom/viewport-clip.svg
- css/svg.css: change svg:root overflow: from 'visible' to 'hidden'
- 1:08 AM Changeset in webkit [16556] by
-
- 21 edits in trunk/WebCore
2006-09-25 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
- css/MediaList.cpp: Remove unused header.
- dom/Document.cpp: (WebCore::Document::clear): Use clear instead of iterating through the list of event listeners, removing each one. (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
- html/HTMLKeygenElement.cpp: (WebCore::HTMLKeygenElement::HTMLKeygenElement): (WebCore::HTMLKeygenElement::appendFormData): Update due to changes in the SSL key generator.
- ksvg2/svg/SVGAngle.cpp: Remove unused header.
- ksvg2/svg/SVGAnimationElement.cpp: (SVGAnimationElement::parseMappedAttribute): Rename methods and pass Strings instead of DeprecatedStrings to parseSeparatedList.
- ksvg2/svg/SVGFEColorMatrixElement.cpp:
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
- ksvg2/svg/SVGFEDisplacementMapElement.cpp:
- ksvg2/svg/SVGFEMergeElement.cpp:
- ksvg2/svg/SVGFEOffsetElement.cpp: Remove unused headers.
- ksvg2/svg/SVGHelper.cpp: (WebCore::SVGHelper::parseSeparatedList):
- ksvg2/svg/SVGHelper.h: Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
- ksvg2/svg/SVGLengthList.cpp: (WebCore::SVGLengthList::parse):
- ksvg2/svg/SVGLengthList.h: Use Vector<String> instead of DeprecatedStringList.
- loader/Cache.cpp: (WebCore::Cache::requestImage): (WebCore::Cache::requestStyleSheet): (WebCore::Cache::requestScript): (WebCore::Cache::requestXSLStyleSheet): (WebCore::Cache::requestXBLDocument): (WebCore::Cache::remove): (WebCore::Cache::get): Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
- loader/DocLoader.cpp: (WebCore::DocLoader::needReload):
- loader/DocLoader.h: Use a HashSet instead of DeprecatedStringList.
- page/FrameView.h: Remove declarations that have no functions.
- platform/SSLKeyGenerator.h:
- platform/mac/SSLKeyGeneratorMac.mm: (WebCore::supportedKeySizes): (WebCore::signedPublicKeyAndChallengeString): Convert to use Vector<String> instead of DeprecatedStringList, and String instead of DeprecatedString.
- 1:07 AM Changeset in webkit [22221] by
-
- 4 edits in branches/WindowsMerge/WebCore
Fix win32 cursor build bustage. Fix my own build bustage from the shifting around of the cairo/win get/ReleaseWindowsContext calls.
- 1:06 AM Changeset in webkit [16555] by
-
- 2 edits in trunk/WebCore
Fix win32 cursor build bustage.
- 12:39 AM Changeset in webkit [16554] by
-
- 4 edits1 add in trunk/WebCore
Cleanup in RenderThemeWin and GraphicsContextCairo/Win
Sep 24, 2006:
- 11:35 PM Changeset in webkit [22220] by
-
- 4 edits in branches/WindowsMerge/WebKitWin
- 7:35 PM Changeset in webkit [16553] by
-
- 1 edit4 adds in trunk/LayoutTests
2006-09-24 Eric Seidel <eric@eseidel.com>
Reviewed by beth.
Browsers disagree on behavior for an invalid fill
http://bugzilla.opendarwin.org/show_bug.cgi?id=11017
- svg/custom/invalid-fill-expected.checksum: Added.
- svg/custom/invalid-fill-expected.png: Added.
- svg/custom/invalid-fill-expected.txt: Added.
- svg/custom/invalid-fill.svg: Added.
- 6:30 PM Changeset in webkit [16552] by
-
- 3 edits4 adds in trunk
2006-09-24 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
<svg:a> cannot be styled with a:hover
http://bugzilla.opendarwin.org/show_bug.cgi?id=11005
Test: svg/hixie/cascade/002.xml
- css/cssstyleselector.cpp: (WebCore::checkPseudoState):
- 3:36 PM Changeset in webkit [16551] by
-
- 12 edits1 add in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
SVG needs Obj-C DOM bindings
- Auto-generate the first 8 Objective-C SVG DOM bindings. The auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList, DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and DOMSVGTransformList.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMSVG.h: Added.
- ksvg2/svg/SVGAngle.idl:
- ksvg2/svg/SVGLength.idl:
- ksvg2/svg/SVGLengthList.idl:
- ksvg2/svg/SVGMatrix.idl:
- ksvg2/svg/SVGPathSeg.idl:
- ksvg2/svg/SVGPathSegList.idl:
- ksvg2/svg/SVGTransform.idl:
- ksvg2/svg/SVGTransformList.idl:
- 1:30 PM Changeset in webkit [16550] by
-
- 2 edits in trunk/WebCore
Hopefully this unbreaks the build, should fix linux build too.
Thanks to WildFox and buildbot for the notification.
- 12:43 PM Changeset in webkit [16549] by
-
- 12 edits5 adds in trunk/WebCore
Reviewed by eseidel.
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
WebKit does not handle fallback custom cursors
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6002
WebKit does not properly handle SVG <cursor> element
Add support for svg cursor images. Also make sure hotspot
settings are handled correctly. Add tests for handling of css3
cursor syntax with hotspots in strict and quirks mode. Finally
implement fallback.
- 12:34 PM Changeset in webkit [16548] by
-
- 10 edits in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11009
Auto-generate the internal methods interfaces for the Objective-C bindings
- Auto-generate the internal method declarations into their own files named in the form DOMFooBarInternal.h for class DOMFooBar.
- Remove all use of DOM_cast from code.
- Assorted cleanups.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (-[DOMNode _initWithNode:WebCore::]): (-[DOMNode WebCore::]): (-[DOMRange dealloc]): (-[DOMRange finalize]): (-[DOMRange _initWithRange:WebCore::]): (-[DOMRange WebCore::]): (-[DOMNodeFilter _initWithNodeFilter:WebCore::]): (-[DOMNodeFilter WebCore::]): (-[DOMNodeFilter dealloc]): (-[DOMNodeFilter finalize]): (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]): (-[DOMNodeIterator WebCore::]): (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]): (-[DOMTreeWalker WebCore::]):
- bindings/objc/DOMAbstractView.mm: (-[DOMAbstractView _initWithAbstractView:WebCore::]):
- bindings/objc/DOMCSS.mm: (-[DOMStyleSheet _initWithStyleSheet:WebCore::]): (-[DOMCSSRule _initWithRule:WebCore::]): (-[DOMCSSValue _initWithValue:WebCore::]):
- bindings/objc/DOMEvents.mm: (-[DOMEvent _initWithEvent:WebCore::]):
- bindings/objc/DOMHTMLAppletElement.mm: (-[DOMHTMLAppletElement align]): (-[DOMHTMLAppletElement setAlign:]): (-[DOMHTMLAppletElement alt]): (-[DOMHTMLAppletElement setAlt:]): (-[DOMHTMLAppletElement archive]): (-[DOMHTMLAppletElement setArchive:]): (-[DOMHTMLAppletElement code]): (-[DOMHTMLAppletElement setCode:]): (-[DOMHTMLAppletElement codeBase]): (-[DOMHTMLAppletElement setCodeBase:]): (-[DOMHTMLAppletElement height]): (-[DOMHTMLAppletElement setHeight:]): (-[DOMHTMLAppletElement hspace]): (-[DOMHTMLAppletElement setHspace:]): (-[DOMHTMLAppletElement name]): (-[DOMHTMLAppletElement setName:]): (-[DOMHTMLAppletElement object]): (-[DOMHTMLAppletElement setObject:]): (-[DOMHTMLAppletElement vspace]): (-[DOMHTMLAppletElement setVspace:]): (-[DOMHTMLAppletElement width]): (-[DOMHTMLAppletElement setWidth:]):
- bindings/objc/DOMInternal.h: (getDOMWrapper): (addDOMWrapper): (raiseOnDOMError):
- bindings/objc/DOMXPath.mm: (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
- bindings/scripts/CodeGeneratorObjC.pm:
- 7:32 AM Changeset in webkit [16547] by
-
- 3 edits in trunk/WebCore
Reviewed by eseidel.
Fix Qt/Linux build after Dave's Scrollbar changes.
- 7:19 AM Changeset in webkit [16546] by
-
- 3 edits in trunk
Reviewed by eseidel.
Qt/Linux build system changes: enable xpath/xslt by default.
Offer possibility to change all of these using 'ccmake'.
- 12:28 AM Changeset in webkit [22219] by
-
- 2 edits in branches/WindowsMerge/WebCore
Update scrollbar to match public tree's API. Add scaffolding for breaking up the scrollbar into subrects for painting and hit testing.
- 12:23 AM Changeset in webkit [16545] by
-
- 8 edits in trunk/WebCore
Clean up scrollbar API.
Sep 23, 2006:
- 12:03 PM Changeset in webkit [16544] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Eric.
Build Fix.
- DumpRenderTree/EventSendingController.m: (-[EventSendingController enableDOMUIEventLogging:]):
- 11:44 AM Changeset in webkit [16543] by
-
- 11 edits6 adds in trunk
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4872
XMLHttpRequest fails to throw an exception when there is a security violation
(mismatching domains)
Raise an exception if there is a security violation, and also in cases required by
the current draft of XHR specification.
WebCore:
- bindings/js/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequest::getValueProperty): Raise an exception if a DOM method reports one. (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Raise an exception if a DOM method reports one, and also if there were too few arguments passed.
- bindings/js/kjs_binding.cpp: (KJS::setDOMException): Added support for custom XHR exceptions.
- xml/xmlhttprequest.h: Changed state names to match the current spec. Defined an exception code range for XHR exceptions.
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::open): Removed a check for m_aborted that could never succeed. (WebCore::XMLHttpRequest::send): (WebCore::XMLHttpRequest::setRequestHeader): (WebCore::XMLHttpRequest::getStatus): (WebCore::XMLHttpRequest::getStatusText): (WebCore::XMLHttpRequest::processSyncLoadResults): (WebCore::XMLHttpRequest::receivedAllData): (WebCore::XMLHttpRequest::receivedData):
LayoutTests:
- http/tests/xmlhttprequest/exceptions-expected.txt: Added.
- http/tests/xmlhttprequest/exceptions.html: Added.
- http/tests/xmlhttprequest/extra-parameters-expected.txt: Added.
- http/tests/xmlhttprequest/extra-parameters.html: Added.
- http/tests/xmlhttprequest/resources/post-echo.cgi: Added. Test that passing too many parameters is OK (Firefox behavior; WinIE raises an exception).
- fast/dom/xmlhttprequest-get-expected.txt: Updated results.
- http/tests/xmlhttprequest/zero-length-response-expected.txt:
- http/tests/xmlhttprequest/zero-length-response-sync-expected.txt:
- http/tests/xmlhttprequest/zero-length-response-sync.html:
- http/tests/xmlhttprequest/zero-length-response.html: Updated results and changed state names to match the current spec.
- http/tests/xmlhttprequest/resources/zero-length.xml: Added.
- 11:08 AM Changeset in webkit [16542] by
-
- 4 edits in trunk/JavaScriptCore
Reviewed by Maciej.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10183
REGRESSION: obfuscated JS decoding breaks because of soft hyphen removal
(Fanfiction.net author pages not listing stories)
Rolled out the fix for bug 4139.
- kjs/lexer.cpp: (Lexer::setCode): (Lexer::shift):
- tests/mozilla/ecma/Array/15.4.5.1-1.js:
- tests/mozilla/expected.html:
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Sep 22, 2006:
- 7:21 PM Changeset in webkit [22218] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Fix release build some more.
- WebCore.vcproj/WebCore.vcproj:
- 6:58 PM Changeset in webkit [16541] by
-
- 2 edits in trunk/JavaScriptCore
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Build fix.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 6:42 PM Changeset in webkit [22217] by
-
- 1 edit in branches/WindowsMerge/WebCore/platform/win/ResourceLoaderWin.cpp
Backed out the earlier open source merge - not worth the headache right now
- 6:12 PM Changeset in webkit [22216] by
-
- 4 edits1 add in branches/WindowsMerge/WebKitWin
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Reviewed by Ada.
Added IWebUIDelegatePrivate::webViewResizerSize so the engine can
leave space for the vertical scroll bar.
- Interfaces/IWebUIDelegatePrivate.idl: Added.
- WebKit.vcproj/Interfaces.vcproj:
- WebKit.vcproj/WebKit.vcproj:
- WebKit.vcproj/WebKitGUID.vcproj:
- 6:03 PM Changeset in webkit [22215] by
-
- 2 edits in branches/WindowsMerge/WebCore
Urgent fix to resourceloader
- 5:56 PM Changeset in webkit [16540] by
-
- 4 edits in trunk/LayoutTests
Changed the tests to be if(window.layoutTestController)
- 5:44 PM Changeset in webkit [16539] by
-
- 2 edits in trunk/WebCore
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Reviewed by Jeff Jenkins.
Tweak CF types.
- platform/cf/ResourceLoaderCFNet.cpp: (WebCore::willCacheResponse):
- 5:14 PM Changeset in webkit [16538] by
-
- 24 edits in trunk
WebCore:
Reviewed by darin
<http://bugzilla.opendarwin.org/show_bug.cgi?id=8029>
Rename Node::isAncestor and RenderObject::hasAncestor to isDescendantOf
- dom/Document.cpp: (WebCore::Document::clearSelectionIfNeeded):
- dom/Element.cpp: (WebCore::Element::contains):
- dom/Node.cpp: (WebCore::Node::traverseNextNode): (WebCore::Node::traverseNextSibling): (WebCore::Node::traversePreviousNodePostOrder): (WebCore::Node::checkAddChild): (WebCore::Node::isDescendantOf):
- dom/Node.h:
- dom/NodeIterator.cpp: (WebCore::NodeIterator::notifyBeforeNodeRemoval):
- editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyBlockStyle): (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): (WebCore::ApplyStyleCommand::applyInlineStyle): (WebCore::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode):
- editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::mergeIdenticalElements): (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
- editing/DeleteSelectionCommand.cpp: (WebCore::updatePositionForNodeRemoval): (WebCore::DeleteSelectionCommand::handleGeneralDelete): (WebCore::DeleteSelectionCommand::mergeParagraphs):
- editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::doApply):
- editing/IndentOutdentCommand.cpp: (WebCore::enclosingListOrBlockquote):
- editing/Selection.cpp: (WebCore::Selection::validate):
- editing/SelectionController.cpp: (WebCore::SelectionController::nodeWillBeRemoved):
- editing/TextIterator.cpp: (WebCore::SimplifiedBackwardsTextIterator::advance):
- editing/VisiblePosition.cpp: (WebCore::VisiblePosition::next): (WebCore::VisiblePosition::previous): (WebCore::VisiblePosition::canonicalPosition): (WebCore::isFirstVisiblePositionInNode): (WebCore::isLastVisiblePositionInNode):
- editing/htmlediting.cpp: (WebCore::firstEditablePositionAfterPositionInRoot): (WebCore::lastEditablePositionBeforePositionInRoot): (WebCore::enclosingNodeWithTag): (WebCore::enclosingList): (WebCore::enclosingListChild):
- editing/markup.cpp: (WebCore::createMarkup):
WebKitTools:
Reviewed by darin
- Scripts/do-webcore-rename:
- 5:12 PM Changeset in webkit [16537] by
-
- 1 edit19 copies in tags/Safari-521.27
New tag.
- 5:02 PM Changeset in webkit [16536] by
-
- 6 edits in /
Versioning
- 4:34 PM Changeset in webkit [16535] by
-
- 12 edits in trunk
WebCore:
Reviewed by Darin.
- Added @property syntax to non-generated headers inside #ifndef BUILDING_ON_TIGER.
- Changed the DOMEventTarget protocol to have have new versions of addEventListener and removeEventListener with named parameters. These old style methods can be removed once Mail changes to use the new methods <rdar://problem/4746649>.
- WebCorePrefix.h: define BUILDING_ON_TIGER when Tiger is the target
- bindings/objc/DOM.mm: (-[DOMNode addEventListener:listener:useCapture:]): (-[DOMNode addEventListener:::]): call the new method (-[DOMNode removeEventListener:listener:useCapture:]): (-[DOMNode removeEventListener:::]): call the new method
- bindings/objc/DOMAbstractView.h:
- bindings/objc/DOMEventTarget.h:
- bindings/objc/DOMHTMLAppletElement.h:
- bindings/objc/DOMHTMLEmbedElement.h:
- bindings/objc/DOMHTMLOptionElement.h:
- bindings/objc/DOMObject.h:
- bindings/objc/DOMRGBColor.h:
WebKit:
Reviewed by Darin.
Pass all headers through unifdef to filter out BUILDING_ON_TIGER blocks
if MACOSX_DEPLOYMENT_TARGET is 10.4.
- MigrateHeaders.make:
- 4:18 PM Changeset in webkit [22214] by
-
- 2 edits in branches/WindowsMerge/WebCore
Forgot some lines we needed to keep for the internal build in my last checkin
- platform/win/ResourceLoaderWin.cpp:
- 4:09 PM Changeset in webkit [16534] by
-
- 4 edits1 add in trunk/WebCore
Reviewed by Eric.
Fix Qt/Linux build and a really stupid mixup in GraphicsContextQt.
- platform/qt/FrameQt.cpp:
- platform/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::translate): Make it actually translate, not scale! :-) (WebCore::GraphicsContext::origin):
- platform/qt/PlatformScrollBar.h: Added. (WebCore::PlatformScrollBar::isWidget):
- platform/qt/WidgetQt.cpp: (WebCore::Widget::invalidate): (WebCore::Widget::invalidateRect):
- 3:45 PM Changeset in webkit [22213] by
-
- 2 edits in branches/WindowsMerge/WebCore
Landed from open source - splits code into more managable methods
- 3:02 PM Changeset in webkit [16533] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Alice.
- wtf/Vector.h: Add an append that takes a pointer and length. Generalize the existing Vector append to work on vectors with any value for inlineCapacity. Change the append algorithm so it doesn't check capacity each time through the loop.
- 2:59 PM Changeset in webkit [22212] by
-
- 2 edits in branches/WindowsMerge/WebCore
Implement system fonts on Win32.
- 2:56 PM Changeset in webkit [16532] by
-
- 2 edits in trunk/WebCore
Minor tweaks to RenderThemeMac's systemFont function.
- 2:50 PM Changeset in webkit [16531] by
-
- 2 edits in trunk/JavaScriptCore
2006-09-22 Steve Falkenburg <sfalken@apple.com>
Fix release build.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 1:44 PM Changeset in webkit [16530] by
-
- 14 edits in S60/trunk
2006-09-21 sareen <shyam.sareen@nokia.com>
Reviewed by Sachin.
DESC: Directory include hierarchy change
for S60 code base in webkit
- 1:33 PM Changeset in webkit [16529] by
-
- 1 edit in trunk/WebCore/page/Frame.cpp
I did not pay enough attention at the time of landing WildFox' crash fix.
beidson already fixed the problem in r16499. Reverting the test now.
- 12:27 PM Changeset in webkit [16528] by
-
- 2 edits in trunk/WebCore
Merged my previous checkin with what I was *supposed* to checkin that had been reviewed by Maciej
Added bug numbers to the ChangeLog
- 11:41 AM Changeset in webkit [16527] by
-
- 4 edits in trunk/WebCore
Reviewed by Brady.
Build fix for Xcode 2.3. Convert GraphicsContext::translate() to
take floats. There was already an implicit conversion to float/double
when calling CGContextTranslateCTM or cairo_translate.
- platform/GraphicsContext.h:
- platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::translate):
- platform/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::translate):
- 11:22 AM Changeset in webkit [16526] by
-
- 4 edits in trunk/WebCore
Reviewed by Sfalken
Add redirect and other cleanup to ResourceLoaderWin.cpp
- WebCore.xcodeproj/project.pbxproj:
- platform/ResourceLoader.h:
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoaderWndProc): (WebCore::initializeOffScreenResourceLoaderWindow): (WebCore::ResourceLoader::onHandleCreated): (WebCore::ResourceLoader::onRequestRedirected): (WebCore::ResourceLoader::onRequestComplete): (WebCore::transferJobStatusCallback):
- 11:18 AM Changeset in webkit [16525] by
-
- 2 edits in trunk/WebCore
Reviewed by Geoff.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10803
REGRESSION (r15536-r15544): manual-tests/bugzilla-6821.html failing
- page/FrameView.cpp: (WebCore::FrameView::hoverTimerFired): Use the current event.
- 10:26 AM Changeset in webkit [22211] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
- 7:13 AM Changeset in webkit [16524] by
-
- 2 edits in trunk/WebCore
Reviewed by Anders.
Fix (last) svg memory leak.
- 6:01 AM Changeset in webkit [16523] by
-
- 1 edit1 delete in trunk/WebCore
2006-09-22 Eric Seidel <eric@eseidel.com>
No review necessary, just removing a dead file.
Remove unused file (added previously by mistake) to make room for real implementation.
- platform/mac/BitmapImageMac.mm: Removed.
- 1:51 AM Changeset in webkit [16522] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
Mac side of scrollbar move
- 1:48 AM Changeset in webkit [22210] by
-
- 1 edit in branches/WindowsMerge/WebCore/WebCore.vcproj/WebCore.vcproj
Move PlatformScrollBar.h down into platform-specific subdirs.
- 1:47 AM Changeset in webkit [22209] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Move PlatformScrollBar.h down into platform-specific subdirs.
- 1:46 AM Changeset in webkit [16521] by
-
- 1 edit1 copy1 move in trunk/WebCore
Move PlatformScrollBar.h down into platform-specific subdirs.
- 1:36 AM Changeset in webkit [22208] by
-
- 1 add in branches/WindowsMerge/WebCore/platform/win/PlatformScrollBar.h
Add fork of platformscrollbar.h
- 1:27 AM Changeset in webkit [22207] by
-
- 3 edits in branches/WindowsMerge/WebCore
Scrollbar prep work.
- 1:24 AM Changeset in webkit [16520] by
-
- 4 edits in trunk/WebCore
Add invalidation methods to widget.
- 1:23 AM Changeset in webkit [16519] by
-
- 2 edits in trunk/WebCore
Reviewed by eseidel.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10901
Merge build fixes from unity
- 1:07 AM Changeset in webkit [16518] by
-
- 3 edits4 adds in trunk
Reviewed by eseidel.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10977
SVGDocument does not expose 'rootElement' property
Enable 'rootElement' property.
- 12:26 AM Changeset in webkit [22206] by
-
- 2 edits in branches/WindowsMerge/WebCore
Build was broken for at least some, and I think my checkin that messed with
#include orders was to blame (and it was messy, broken or not) - this cleans that up
- platform/win/ResourceLoaderWin.cpp:
Sep 21, 2006:
- 9:31 PM Changeset in webkit [16517] by
-
- 2 edits in trunk/WebCore
2006-09-21 Steve Falkenburg <sfalken@apple.com>
Tweak includes.
- platform/ResourceLoaderInternal.h:
- 6:29 PM Changeset in webkit [16516] by
-
- 3 edits in trunk/WebCore
build fixed. band happy.
- platform/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::translate):
- platform/mac/WidgetMac.mm:
- 6:04 PM Changeset in webkit [22205] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Hyatt.
windows build fix
- platform/win/GraphicsContextWin.cpp: wrapped a CG #include in #if PLATFORM(CG)
- 5:55 PM Changeset in webkit [22204] by
-
- 21 edits in branches/WindowsMerge
WebCoreWin:
Reviewed by Maciej, Hyatt, Steve.
frames!
Prep work:
- moved ScrollViewWin into OpenSourceWin
- set eol-style:native on some files and corrected line endings
- updated the WebCore project so that you don't need cygwin in your Windows path to build correctly.
Real work:
On Windows, Widgets are no longer interfaces to Windows UI tookit objects. They're
just positioned objects.
Widgets position themselves relative to their parents. The top-level widget technically
has a position relative to the WebView, but that's academic, since it's always (0, 0).
All widgets draw inside a common containing window (the WebView window). ScrollView
handles transformation, clipping, and dirty rect management.
I've filed a bunch of bugs on remaining frames work. Most notably, closing a page with
a frame in it causes a crash because WebCore depends on WebKit to manage frame lifetime.
I'm going to fix that by integrating frame ownership into the DOM.
WebKitWin:
Reviewed by Maciej, Hyatt, Steve.
frames!
Prep work:
- fixed WebFrame/WebView circular reference leak: ownership now looks like this
(same as Mac):
- WebView -> WebCore::Page -> WebCore::Frame
-> WebFrame
-> WebCore::FrameTree -> WebCore::Frame...
- fixed notification center circular reference leak: The notification center no longer retains its clients; clients must take care to remove themselves upon destruction.
Real work:
- The WebView's onSize handler now updates the frame geometry of the main frame. This used to happen implicitly, since the WebView window and the main frame were synonymous.
- Changed WebFrame painting code to use WebCore's FrameView painting code instead of rolling its own.
- Removed WebFrame::initWithName from the public COM API and replaced it with the private initializer, WebFrame::initWithWebFrameView. We intend to deprecate initWithName on Mac because it's meaningless -- only WebCore should create frames.
- 5:50 PM Changeset in webkit [16515] by
-
- 24 edits in trunk
Reviewed by Maciej.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Updated to include the right path.
- wtf/FastMalloc.h: #include Platform.h, since we use Platform macros.
WebCore:
Reviewed by Maciej.
Some Widget refactoring.
- WebCore.vcproj/WebCore/WebCore.vcproj:
- bridge/mac/FrameMac.mm:
- bridge/win/FrameWin.cpp: (WebCore::FrameWin::runJavaScriptAlert): (WebCore::FrameWin::runJavaScriptConfirm):
- bridge/win/PageWin.cpp: (WebCore::Page::Page): (WebCore::rootWindowForFrame):
- html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::translate):
- page/FrameView.cpp: (WebCore::FrameView::isFrameView):
- page/Page.h: (WebCore::Page::setInstanceHandle): (WebCore::Page::instanceHandle):
- platform/GraphicsContext.h:
- platform/ScrollView.h:
- platform/Widget.h:
- platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::translate): (WebCore::GraphicsContext::origin):
- platform/mac/WidgetMac.mm: (WebCore::Widget::clearFocus):
- platform/win/ResourceLoaderWin.cpp: (WebCore::initializeOffScreenResourceLoaderWindow):
- platform/win/ScreenWin.cpp: (WebCore::monitorInfo):
- platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::updateContents): (WebCore::ScrollView::visibleWidth): (WebCore::ScrollView::visibleHeight): (WebCore::ScrollView::visibleContentRect): (WebCore::ScrollView::viewportToContents): (WebCore::ScrollView::contentsToViewport): (WebCore::ScrollView::scrollBy): (WebCore::ScrollView::updateScrollInfo): (WebCore::ScrollView::updateScrollBars):
- platform/win/SharedTimerWin.cpp: (WebCore::initializeOffScreenTimerWindow):
- platform/win/TemporaryLinkStubs.cpp: (FrameView::updateBorder): (ScrollView::paint): (GraphicsContext::clip):
- platform/win/WidgetWin.cpp: (WebCore::Widget::Widget): (WebCore::Widget::parentWindow): (WebCore::Widget::setParentWindow): (WebCore::Widget::frameGeometry): (WebCore::Widget::hasFocus): (WebCore::Widget::setFocus): (WebCore::Widget::show): (WebCore::Widget::hide): (WebCore::Widget::setFrameGeometry):
- 5:22 PM Changeset in webkit [22203] by
-
- 7 edits in branches/WindowsMerge
2006-09-21 Steve Falkenburg <sfalken@apple.com>
Reviewed by Anders.
<rdar://4516072>
<rdar://4601320>
Implemented JavaScript alert/confirm/prompt inside app.
This is done via IWebUIDelegate.
- 5:05 PM Changeset in webkit [22202] by
-
- 2 edits1 add in branches/WindowsMerge/WebCore
Unfork GraphicsContextCG.cpp
- 4:55 PM Changeset in webkit [16514] by
-
- 2 edits in trunk/WebCore
2006-09-21 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim H.
- platform/TextEncoding.cpp: (WebCore::TextEncoding::backslashAsCurrencySymbol): Add comment clarifying why backslashAsCurrencySymbol is needed.
- 4:06 PM Changeset in webkit [22201] by
-
- 2 edits in branches/WindowsMerge/WebCore
Example code for enabling PLATFORM(CG)
- 3:44 PM Changeset in webkit [22200] by
-
- 2 edits in branches/WindowsMerge/WebCore
Fixed build
- 3:36 PM Changeset in webkit [16513] by
-
- 6 edits in trunk/WebKitSite
2006-09-21 Matt Lilek <pewtermoose@gmail.com>
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10975
Update the blog template to valid HTML 4.01 Strict.
- blog/wp-content/themes/webkit/comments-popup.php:
- blog/wp-content/themes/webkit/comments.php:
- blog/wp-content/themes/webkit/footer.php:
- blog/wp-content/themes/webkit/header.php:
- blog/wp-content/themes/webkit/style.css: Add missing semi-colon that the validator complained about.
- 3:29 PM Changeset in webkit [22199] by
-
- 5 edits in branches/WindowsMerge
Draw form controls and fix redraw issues with CG.
- 3:05 PM Changeset in webkit [16512] by
-
- 4 edits in trunk/LayoutTests
Adding more calls to layoutTestController.dumpChildFrameScrollPositions()
for tests that need to report child frame scroll positions.
- http/tests/navigation/anchor-frames.html:
- http/tests/navigation/anchor-subframeload.html:
- http/tests/navigation/relativeanchor-frames.html:
- 3:00 PM Changeset in webkit [22198] by
-
- 3 edits in branches/WindowsMerge/WebCore
2006-09-21 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O.
Support getting the plugin element as an NPObject.
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::getValue): (WebCore::PluginViewWin::PluginViewWin):
- plugins/win/PluginViewWin.h:
- 2:58 PM Changeset in webkit [16511] by
-
- 4 edits in trunk/WebCore
Factored out get/release of HDC from cairo GraphicsContext.
- 2:42 PM Changeset in webkit [16510] by
-
- 2 edits in trunk/WebCore
Reviewed by anders
<rdar://problem/4426622>
Plain text paste slow. Time spent mostly in WebCore::rebalanceWhitespaceInTextNode(...)
- editing/htmlediting.cpp: (WebCore::rebalanceWhitespaceInTextNode): We no longer need to use a RegExp replace because we aren't producing complicated sequences here. Use multiple UChar -> UChar replaces instead for speed. Got rid of uses of DepricatedString.
- 2:29 PM Changeset in webkit [22197] by
-
- 2 edits2 adds in branches/WindowsMerge/WebCore
Forked GraphicsContextCG.cpp and GraphicsContextPlatformPrivate.h
- 2:22 PM Changeset in webkit [16509] by
-
- 2 edits in trunk/WebCore/kcanvas/device/qt
Hmm, forgot to commit kcanvas/ changes as part of linux build fixes.
- 2:18 PM Changeset in webkit [16508] by
-
- 1 edit in trunk/WebCore/page/Frame.cpp
Too tired too do it right :}
- 2:14 PM Changeset in webkit [16507] by
-
- 2 edits in trunk/WebCore
Reviewed by eseidel.
Don't crash if no IconDatabase is available (ie. on Qt/Gdk)
- 2:11 PM Changeset in webkit [16506] by
-
- 7 edits in trunk/WebCore
Reviewed by eseidel.
Fix Qt/Linux build.
- 2:02 PM Changeset in webkit [16505] by
-
- 1 edit in trunk/WebKitTools/DumpRenderTree/DumpRenderTree.m
Set dumpChildFrameScrollPositions to NO before each test run.
- 1:50 PM Changeset in webkit [16504] by
-
- 8 edits in S60/trunk
2006-09-21 sareen <shyam.sareen@nokia.com>
Reviewed by Zalan Bujtas.
Directory include hierarchy change
for S60 code base in webcore/Javascriptcore engine
WARNING: NO TEST CASES ADDED OR CHANGED
- group/KHTML.mmp:
- group/KWQ.mmp:
- group/WebCore.mmp:
- 1:43 PM Changeset in webkit [16503] by
-
- 5 edits in trunk
LayoutTests:
Reviewed by Adam.
Bug 10923: Frame scroll layout test failures on the buildbot
http://bugzilla.opendarwin.org/show_bug.cgi?id=10923
Made this test call layoutTestController.dumpChildFrameScrollPositions().
- fast/overflow/scrollRevealButton-expected.txt:
- fast/overflow/scrollRevealButton.html:
WebKitTools:
Reviewed by Adam.
Bug 10923: Frame scroll layout test failures on the buildbot
http://bugzilla.opendarwin.org/show_bug.cgi?id=10923
Added a new method that will toggle on the recursive dump of
child frame scroll positions.
- DumpRenderTree/DumpRenderTree.m: (dumpFrameScrollPosition): (+[LayoutTestController isSelectorExcludedFromWebScript:]): (-[LayoutTestController dumpChildFrameScrollPositions]):
- 12:56 PM Changeset in webkit [16502] by
-
- 1 edit in trunk/WebCore/platform/mac/FontMac.mm
Build fix.
- 12:32 PM Changeset in webkit [16501] by
-
- 2 edits in S60/branches/3.1m/WebKit
2006-09-20 w3liu <wei.liu@nokia.com>
Reviewed by Zalan Bujtas.
DESC: merge of r16480 onto 3.1m branch.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10952
Changing the encoding in setting does not affect the browser behavior.
- BrowserView/inc/CharsetData.h:
- 12:31 PM Changeset in webkit [16500] by
-
- 7 edits4 adds in trunk
LayoutTests:
Reviewed by john
- editing/pasteboard/subframe-dragndrop-1-expected.checksum: Added.
- editing/pasteboard/subframe-dragndrop-1-expected.png: Added.
- editing/pasteboard/subframe-dragndrop-1-expected.txt: Added.
- editing/pasteboard/subframe-dragndrop-1.html: Added.
WebCore:
Reviewed by john
<http://bugzilla.opendarwin.org/show_bug.cgi?id=7165>
TinyMCE: Dragging & dropping content always leaves a copy when editing inside a subframe
- editing/MoveSelectionCommand.cpp: (WebCore::MoveSelectionCommand::MoveSelectionCommand): Set the document to the position-to-move-to's document, not the fragment's document. The fragment's document is the document used to create the fragment and is irrelavant.
WebKit:
Reviewed by john
<http://bugzilla.opendarwin.org/show_bug.cgi?id=7165>
TinyMCE: Dragging & dropping content always leaves a copy when editing inside a subframe
The top level WebHTMLView is responsible for performing dragging operations, but
the inner view, the view that holds the drag caret, should be consulted to determine
if the drag is a move drag.
- WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]):
- WebKit.xcodeproj/project.pbxproj:
- WebView/WebHTMLView.m: (-[NSArray dragImage:at:offset:event:pasteboard:source:slideBack:]): Don't set initatedDrag here, because it's only the top level WebHTMLView that performs this operation. (-[WebHTMLView _setInitiatedDrag:]): Added. (-[WebHTMLView _initiatedDrag]): Ditto. (-[WebHTMLView _canProcessDragWithDraggingInfo:]): Ask the innerView if it initiated the drag, not the top level view. (-[WebHTMLView _isMoveDrag]): The top level view asks the innerView if it should perform a move drag, so don't ASSERT _isTopHTMLView. (-[WebHTMLView draggingUpdatedWithDraggingInfo:actionMask:]): Ask the innerView if _isMoveDrag. (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]): Ditto.
- WebView/WebHTMLViewInternal.h: Added two private SPI so that the top level WebHTMLView can set and get the initiatedDrag BOOL.
- 12:01 PM Changeset in webkit [16499] by
-
- 2 edits in trunk/WebCore
Eliminate a crash for all platforms without IconDatabase hooked up
- 12:00 PM Changeset in webkit [22196] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Link to CoreGraphics
- 11:48 AM Changeset in webkit [22195] by
-
- 6 edits in branches/WindowsMerge/WebCore
Support synthetic bold/oblique.
- 11:07 AM Changeset in webkit [22194] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Anders
Fixed one definite bug and did alot of cleanup to make it resemble the unforked version of the file
in preparation for merging it back out
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoaderWndProc): (WebCore::transferJobStatusCallback): Fixed a bug here! :) (WebCore::ResourceLoader::start): (WebCore::ResourceLoader::fileLoadTimer): (WebCore::ResourceLoader::cancel):
- 10:39 AM Changeset in webkit [16498] by
-
- 4 edits3 copies in S60/branches/3.1m/S60Tools
2006-09-21 brmorris <bradley.morrison@nokia.com>
Merge of r16496 onto 3.1m branch.
- BuildSDK.xml: Added new build deliverables to build artifacts
- S60Platform.ini: Added.
- S60WebKitPlatformBuild.pl: Added.
- svn2ccm.ini: Added.
- svn2ccm.pl: Misc updates.
- test/net/S60/cruisecontrol/Webkit/S60WebKitTest.java: (S60WebKitTest.testConstructor): Temporarily Removed call to runATF
- 10:18 AM Changeset in webkit [16497] by
-
- 2 edits in trunk/WebCore
YABF
- 9:36 AM Changeset in webkit [16496] by
-
- 4 edits3 adds in S60/trunk/S60Tools
2006-09-21 brmorris <bradley.morrison@nokia.com>
Reviewed by Alan.
DESC: Various integration tool updates
- BuildSDK.xml: Added new build deliverables to build artifacts
- S60Platform.ini: Added.
- S60WebKitPlatformBuild.pl: Added.
- svn2ccm.ini: Added.
- svn2ccm.pl: Misc updates.
- test/net/S60/cruisecontrol/Webkit/S60WebKitTest.java: (S60WebKitTest.testConstructor): Temporarily Removed call to runATF
- 2:39 AM Changeset in webkit [16495] by
-
- 15 edits in trunk/WebKitSite
2006-09-21 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10966
Bug 10966: Updates to website
Resolves a few remaining validation issues, makes Bugzilla links consistent, and removes unneeded references to OpenDarwin.
- coding/coding-style.html:
- coding/lgpl-license.html:
- contact.html:
- index.html:
- projects/css/index.html:
- projects/editing/index.html:
- projects/forms/index.html:
- projects/html/index.html:
- projects/index.html:
- projects/javascript/index.html:
- projects/svg/index.html:
- projects/xslt/index.html:
- webdevelopers/webkit_version.html:
- webdevelopers/webkit_version_xl.html:
- 1:03 AM Changeset in webkit [22193] by
-
- 1 edit in branches/WindowsMerge/WebCore/platform/win/WheelEventWin.cpp
Remove executable prop from WheelEventWin.cpp
- 12:29 AM Changeset in webkit [16494] by
-
- 6 edits in trunk
Reviewed by eseidel.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10946
new marker code draws end-marker in wrong place
Keep track of the start of the subpath so we can handle
closeTo/moveTo correctly.
- 12:21 AM Changeset in webkit [22192] by
-
- 5 edits2 adds in branches/WindowsMerge
Implement mouse wheel scrolling on win32.
- 12:18 AM Changeset in webkit [16493] by
-
- 6 edits in trunk/WebCore
Wheel scrolling prep for win32.
Sep 20, 2006:
- 11:27 PM Changeset in webkit [16492] by
-
- 22 edits in trunk/WebKitSite
2006-09-21 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by TimH.
Updates to make static pages validate as HTML 4.01 Strict.
- building/build.html:
- coding/coding-style.html:
- header.inc:
- index.html: Move <style> tag into the document head.
- projects/cleanup/index.html:
- projects/compat/index.html:
- projects/css/index.html:
- projects/documentation/index.html:
- projects/editing/index.html:
- projects/forms/index.html: Remove note about <label> not being implemented correctly.
- projects/html/index.html:
- projects/javascript/index.html:
- projects/performance/index.html:
- projects/portability/index.html: Change mention of Windows port to note that it is in progress rather than non-existant.
- projects/printing/index.html:
- projects/svg/index.html:
- projects/xslt/index.html:
- quality/bugwriting.html: Update WebKit version numbers to be accurate. Move JS away from using innerHTML as W3C validator doesn't like it.
- quality/reduction.html:
- quality/reporting.html: Rename element IDs that start with numbers. Update WebKit and Mac OS X version numbers to be accurate.
- quality/testing.html:
- 8:45 PM Changeset in webkit [16491] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt.
Bug 10917: REGRESSION (r16027): iFrame transparency broken
http://bugzilla.opendarwin.org/show_bug.cgi?id=10917
Don't paint the base background color if we transparent.
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintBackgroundExtended):
- 6:28 PM Changeset in webkit [22191] by
-
- 12 edits in branches/WindowsMerge/WebKitWin
2006-09-20 Steve Falkenburg <sfalken@apple.com>
Reviewed by Ada Chan.
<rdar://4601547> Character encoding menu/switching
Encoding menu and prefs pop-up are now hooked up and working.
List of encodings is identical to the Mac version, with encodings
not supported by icu removed. Localized names of these encodings
and IANA names are retrieved via MLANG from code pages. It
would have been nice to use ICU for this, but the call to get
a displayable encoding name from an IANA name doesn't return
user readable names. CF couldn't be used, since the open source
CF doesn't have encoding support that it would normally get via TEC.
There's currently a problem where the encoding doesn't get
picked up out of the incoming HTML document out of <meta>, so
the text encoding menu comes in especially handy at the moment.
- 6:15 PM Changeset in webkit [22190] by
-
- 6 edits in branches/WindowsMerge/WebKitWin
Hook up the WebIconDatabase enabled preference
- 5:54 PM Changeset in webkit [16490] by
-
- 2 edits in trunk/WebCore
Reviewed by andersca.
- platform/FileChooser.h: Remove no-longer-necessary namespace std
- 4:52 PM Changeset in webkit [16489] by
-
- 1 edit in trunk/WebCore/platform/FontData.h
Fix up conditional.
- 4:52 PM Changeset in webkit [22189] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Runtime fix - removed an obsolete, overzealous ASSERTion
- 4:38 PM Changeset in webkit [22188] by
-
- 2 edits2 adds in branches/WindowsMerge/WebCore
Add platform/cg/ColorCG.cpp
- 4:37 PM Changeset in webkit [16488] by
-
- 44 edits in trunk/WebCore
2006-09-20 Eric Seidel <eric@eseidel.com>
Reviewed by beth.
Cleanup style in KCanvas.
Remove extra white-space, unneeded arguments, etc.
- WebCore.xcodeproj/project.pbxproj:
- kcanvas/KCanvasClipper.cpp: (WebCore::operator<<): (WebCore::KCanvasClipper::externalRepresentation):
- kcanvas/KCanvasClipper.h:
- kcanvas/KCanvasFilters.cpp: (WebCore::KCanvasFilter::externalRepresentation): (WebCore::operator<<): (WebCore::KCanvasFilterEffect::externalRepresentation): (WebCore::KCPointLightSource::externalRepresentation): (WebCore::KCSpotLightSource::externalRepresentation): (WebCore::KCDistantLightSource::externalRepresentation): (WebCore::KCanvasFEBlend::externalRepresentation): (WebCore::KCanvasFEColorMatrix::externalRepresentation): (WebCore::KCanvasFEComponentTransfer::externalRepresentation): (WebCore::KCanvasFEComposite::externalRepresentation): (WebCore::KCanvasFEConvolveMatrix::externalRepresentation): (WebCore::KCanvasFEDiffuseLighting::externalRepresentation): (WebCore::KCanvasFEDisplacementMap::externalRepresentation): (WebCore::KCanvasFEFlood::externalRepresentation): (WebCore::KCanvasFEGaussianBlur::externalRepresentation): (WebCore::KCanvasFEImage::externalRepresentation): (WebCore::KCanvasFEMerge::externalRepresentation): (WebCore::KCanvasFEMorphology::externalRepresentation): (WebCore::KCanvasFEOffset::externalRepresentation): (WebCore::KCanvasFESpecularLighting::externalRepresentation): (WebCore::KCanvasFETile::externalRepresentation): (WebCore::KCanvasFETurbulence::externalRepresentation):
- kcanvas/KCanvasFilters.h: (WebCore::KCanvasFEDiffuseLighting::lightSource): (WebCore::KCanvasFESpecularLighting::lightSource):
- kcanvas/KCanvasImage.h:
- kcanvas/KCanvasMarker.cpp: (WebCore::KCanvasMarker::externalRepresentation):
- kcanvas/KCanvasMarker.h:
- kcanvas/KCanvasResource.cpp: (WebCore::operator<<):
- kcanvas/KCanvasResource.h:
- kcanvas/KCanvasTreeDebug.cpp: (WebCore::operator<<): (WebCore::writeIndent): (WebCore::writeStyle): (WebCore::write): (WebCore::writeRenderResources):
- kcanvas/KCanvasTreeDebug.h: (WebCore::operator<<):
- kcanvas/RenderForeignObject.cpp: (WebCore::RenderForeignObject::paint):
- kcanvas/RenderPath.cpp: (WebCore::RenderPath::paint): (WebCore::drawStartAndMidMarkers):
- kcanvas/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint):
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::translateForAttributes):
- kcanvas/RenderSVGImage.h:
- kcanvas/device/KRenderingDevice.cpp: (WebCore::KRenderingDevice::currentContext): (WebCore::KRenderingDevice::popContext): (WebCore::KRenderingDevice::pushContext):
- kcanvas/device/KRenderingDevice.h:
- kcanvas/device/KRenderingFillPainter.h:
- kcanvas/device/KRenderingPaintServer.h: (WebCore::KRenderingPaintServer::KRenderingPaintServer): (WebCore::KRenderingPaintServer::activeClient): (WebCore::KRenderingPaintServer::setActiveClient):
- kcanvas/device/KRenderingPaintServerGradient.cpp: (WebCore::operator<<): (WebCore::KRenderingPaintServerGradient::externalRepresentation): (WebCore::KRenderingPaintServerLinearGradient::externalRepresentation): (WebCore::KRenderingPaintServerGradient::listener): (WebCore::KRenderingPaintServerGradient::setListener): (WebCore::KRenderingPaintServerRadialGradient::externalRepresentation):
- kcanvas/device/KRenderingPaintServerGradient.h:
- kcanvas/device/KRenderingPaintServerPattern.cpp: (WebCore::KRenderingPaintServerPattern::tile): (WebCore::KRenderingPaintServerPattern::setTile): (WebCore::KRenderingPaintServerPattern::listener): (WebCore::KRenderingPaintServerPattern::setListener): (WebCore::KRenderingPaintServerPattern::externalRepresentation):
- kcanvas/device/KRenderingPaintServerPattern.h:
- kcanvas/device/KRenderingPaintServerSolid.cpp: (WebCore::KRenderingPaintServerSolid::externalRepresentation):
- kcanvas/device/KRenderingPaintServerSolid.h:
- kcanvas/device/KRenderingStrokePainter.cpp: (WebCore::KRenderingStrokePainter::strokeMiterLimit): (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
- kcanvas/device/KRenderingStrokePainter.h:
- kcanvas/device/quartz/KCanvasFilterQuartz.h:
- kcanvas/device/quartz/KCanvasFilterQuartz.mm: (WebCore::KCanvasFilterQuartz::prepareFilter):
- kcanvas/device/quartz/KCanvasItemQuartz.h: Removed.
- kcanvas/device/quartz/KCanvasMaskerQuartz.mm: (WebCore::KCanvasMaskerQuartz::applyMask):
- kcanvas/device/quartz/KCanvasResourcesQuartz.h: (WebCore::KCanvasImageQuartz::init):
- kcanvas/device/quartz/KCanvasResourcesQuartz.mm: (WebCore::KCanvasClipperQuartz::applyClip):
- kcanvas/device/quartz/KRenderingDeviceQuartz.h:
- kcanvas/device/quartz/KRenderingDeviceQuartz.mm: (WebCore::KRenderingDeviceQuartz::quartzContext): (WebCore::KRenderingDeviceQuartz::contextForImage): (WebCore::KRenderingDeviceQuartz::createPaintServer): (WebCore::KRenderingDeviceQuartz::createResource): (WebCore::KRenderingDeviceQuartz::createFilterEffect):
- kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm: (WebCore::CGShadingRefForLinearGradient): (WebCore::CGShadingRefForRadialGradient): (WebCore::KRenderingPaintServerGradientQuartz::updateQuartzGradientCache): (WebCore::KRenderingPaintServerGradientQuartz::teardown):
- kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
- kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: (WebCore::KRenderingPaintServerQuartzHelper::strokePath): (WebCore::KRenderingPaintServerQuartzHelper::clipToStrokePath): (WebCore::KRenderingPaintServerQuartzHelper::fillPath): (WebCore::KRenderingPaintServerQuartzHelper::clipToFillPath): (WebCore::KRenderingPaintServerSolidQuartz::draw): (WebCore::KRenderingPaintServerSolidQuartz::setup): (WebCore::KRenderingPaintServerSolidQuartz::renderPath): (WebCore::KRenderingPaintServerPatternQuartz::setup): (WebCore::KRenderingPaintServerPatternQuartz::renderPath): (WebCore::KRenderingPaintServerPatternQuartz::teardown):
- kcanvas/device/quartz/QuartzSupport.h:
- kcanvas/device/quartz/QuartzSupport.mm: (WebCore::applyStrokeStyleToContext):
- 3:45 PM Changeset in webkit [16487] by
-
- 4 edits in trunk
2006-09-20 Anders Carlsson <acarlsson@apple.com>
Reviewed by Dave Hyatt.
- wtf/MathExtras.h: Get rid of lrint.
WebCore:
2006-09-20 Anders Carlsson <acarlsson@apple.com>
Reviewed by Dave Hyatt.
- dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): Use lroundf instead of lround since deltas are floats.
- 3:38 PM Changeset in webkit [16486] by
-
- 3 edits4 adds in trunk
2006-09-20 Julien Palmas <julien.palmas@gmail.com>
Reviewed by eseidel. Landed by eseidel.
Test: svg/custom/pattern-y-offset.svg
- kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: (WebCore::KRenderingPaintServerPatternQuartz::setup):
- 3:37 PM Changeset in webkit [16485] by
-
- 3 edits in trunk/WebCore
Add a new wheelEvent method to ScrollView. Platforms that wish
to handle the wheel event for the scroll view themselves can then
do so there. (Mac lets the underlying NSScrollView do it for now.)
- page/FrameView.cpp: (WebCore::FrameView::handleWheelEvent):
- platform/ScrollView.h: (WebCore::ScrollView::wheelEvent):
- 3:22 PM Changeset in webkit [22187] by
-
- 2 edits in branches/WindowsMerge/WebCore
Fixed font-spacing issue with CG
- 2:59 PM Changeset in webkit [16484] by
-
- 2 edits in trunk/JavaScriptCore
Send debug messages to debugger console.
- 2:44 PM Changeset in webkit [16483] by
-
- 2 edits in trunk/WebKit/Misc
Fix copyright year.
- 2:32 PM Changeset in webkit [16482] by
-
- 5 edits in trunk
WebCore:
Reviewed by Tim Omernick
Part of fixing a crash Tim O showed me that I missed in a release build.
WebKit should be able to call through the bridge to WebCore no matter what -
Replace the _iconDB member with calls to IconDatabase::sharedIconDatabase()
- bridge/mac/WebCoreIconDatabaseBridge.h:
- bridge/mac/WebCoreIconDatabaseBridge.mm: (-[WebCoreIconDatabaseBridge closeSharedDatabase]): (-[WebCoreIconDatabaseBridge isOpen]): (-[WebCoreIconDatabaseBridge removeAllIcons]): (-[WebCoreIconDatabaseBridge _isEmpty]): (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]): (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]): (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]): (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]): (-[WebCoreIconDatabaseBridge iconURLForPageURL:]): (-[WebCoreIconDatabaseBridge defaultIconWithSize:]): (-[WebCoreIconDatabaseBridge retainIconForURL:]): (-[WebCoreIconDatabaseBridge releaseIconForURL:]): (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]): (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]): (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]): (-[WebCoreIconDatabaseBridge _hasEntryForIconURL:]): (-[WebCoreIconDatabaseBridge _setEnabled:]): (-[WebCoreIconDatabaseBridge _isEnabled]):
WebKit:
Reviewed by Tim Omernick
Fixing part of a crash Tim O showed me. [WebIconDatabase init] should finish
gracefully even if we can't open the database
- Misc/WebIconDatabase.m: (-[WebIconDatabase init]):
- 2:12 PM Changeset in webkit [16481] by
-
- 2 edits in trunk/JavaScriptCore
Add an implementation of lrint for Win32.
Reviewed by anders
- wtf/MathExtras.h: (lrint):
- 2:06 PM Changeset in webkit [16480] by
-
- 2 edits in S60/trunk/WebKit
2006-09-20 w3liu <wei.liu@nokia.com>
Reviewed by Zalan Bujtas.
DESC:
http://bugzilla.opendarwin.org/show_bug.cgi?id=10952
Changing the encoding in setting does not affect the browser behavior.
- BrowserView/inc/CharsetData.h:
- 2:04 PM Changeset in webkit [16479] by
-
- 13 edits in trunk/WebCore
2006-09-20 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
Add String::split which returns a Vector of Strings and use it instead of
DeprecatedStringList.
- bindings/js/kjs_events.cpp: (KJS::Clipboard::getValueProperty):
- bindings/js/kjs_window.cpp: (KJS::parseModalDialogFeatures):
- css/MediaList.cpp: (WebCore::MediaList::setMediaText):
- dom/Clipboard.h:
- html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::formData):
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::tokenizeRelAttribute):
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::split):
- platform/StringImpl.cpp:
- platform/StringImpl.h:
- platform/mac/ClipboardMac.h:
- platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::types):
- 1:43 PM Changeset in webkit [16478] by
-
- 2 edits2 adds in trunk/WebKit
Reviewed by Tim O.
<rdar://problem/4741392> Develop a system to find what version of WebKit an app was linked with
- Misc/WebKitVersionChecks.h: Added.
- Misc/WebKitVersionChecks.m: Added. (WebKitLinkedOnOrAfter): Added. (WebKitLinkTimeVersion): Added. (WebKitRunTimeVersion): Added.
- WebKit.xcodeproj/project.pbxproj:
- 1:31 PM Changeset in webkit [16477] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
- Misc/WebIconDatabase.m: (-[WebIconDatabase init]): Fixed a typo.
- 12:20 PM Changeset in webkit [16476] by
-
- 3 edits1 add1 delete in trunk
LayoutTests:
Reviewed by harrison
- editing/selection/editable-links.html: Added.
- editing/selection/editable-links.html-disabled: Removed.
WebCore:
Reviewed by harrison
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle): Don't call HTMLElement::isContentEditable just to check the Frame's editability, since it calls updateRenderering, which can get us into infinite recursion.
- 12:16 PM Changeset in webkit [16475] by
-
- 3 edits in S60/branches/3.1m/WebKit
2006-09-19 spadma <Sachin.Padma@nokia.com>
Reviewed by Sriram.
DESC: Fix key event handling in Auto Form Fill listbox
http://bugzilla.opendarwin.org/show_bug.cgi?id=
- BrowserCore/Formcontrols/inc/FControlSelectWidget.h:
- BrowserCore/Formcontrols/src/FControlSelectWidget.cpp: (CControlSelectWidget::OfferKeyEventL): (CControlSelectWidget::InputCapabilities):
- 12:12 PM Changeset in webkit [16474] by
-
- 4 edits in trunk
WebCore:
Reviewed by Darin
Cleaned up my last patch alot, and made the WebCore icon database disabled by default
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::IconDatabase): Disabled by default (WebCore::IconDatabase::removeAllIcons): Respect just isOpen() (disabled database will always be closed) (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ditto (WebCore::IconDatabase::iconForPageURL): Ditto (WebCore::IconDatabase::isIconExpiredForIconURL): Ditto (WebCore::IconDatabase::iconURLForPageURL): Ditto (WebCore::IconDatabase::retainIconForPageURL): Ditto (WebCore::IconDatabase::releaseIconForPageURL): Ditto (WebCore::IconDatabase::setIconDataForIconURL): Ditto (WebCore::IconDatabase::setIconURLForPageURL): Ditto (WebCore::IconDatabase::hasEntryForIconURL): Ditto (WebCore::IconDatabase::setEnabled): Fixed a big bug here!
WebKit:
Reviewed by Darin
Preparing to make the WebIconDatabase disabled by default - this patch tells the bridge whether its enabled or not
- Misc/WebIconDatabase.m: (-[WebIconDatabase init]):
- 11:33 AM Changeset in webkit [16473] by
-
- 3 edits in trunk/LayoutTests
Reviewed by timothy.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10953
Test results for fast/js/window-properties.html should include
children of window.document.body.firstChild
- fast/js/window-properties-expected.txt: Regenerate results which now include window.document.body.firstChild.*
- fast/js/window-properties.html: Print out 'null' for null objects instead of 'object' for more clarity
- 10:42 AM Changeset in webkit [16472] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Adele.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
REGRESSION: file upload control with direction:rtl or text-align:right
draws button on top of filename/icon
- rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::setStyle): Force text-align to match direction (WebCore::RenderFileUploadControl::paintObject): Fix positioning of the filename and icon in RTL
LayoutTests:
Reviewed by Adele.
Adding test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
REGRESSION: file upload control with direction:rtl or text-align:right
draws button on top of filename/icon
- fast/forms/file-input-direction-expected.checksum: Added.
- fast/forms/file-input-direction-expected.png: Added.
- fast/forms/file-input-direction-expected.txt: Added.
- fast/forms/file-input-direction.html: Added.
- 10:30 AM Changeset in webkit [16471] by
-
- 2 edits in trunk/WebCore
Reviewed by Adam Roben.
fixed windows build
- dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): changed lrint to lround
- 9:20 AM Changeset in webkit [16470] by
-
- 3 edits in S60/trunk/WebKit
2006-09-19 spadma <Sachin.Padma@nokia.com>
Reviewed by Sriram.
DESC: Fix key event handling in Auto Form Fill listbox
http://bugzilla.opendarwin.org/show_bug.cgi?id=
- BrowserCore/Formcontrols/inc/FControlSelectWidget.h:
- BrowserCore/Formcontrols/src/FControlSelectWidget.cpp: (CControlSelectWidget::OfferKeyEventL): (CControlSelectWidget::InputCapabilities):
- 7:36 AM Changeset in webkit [16469] by
-
- 2 edits in S60/trunk/WebKit
2006-09-20 brmorris <bradley.morrison@nokia.com>
Reviewed by Zalan.
DESC: SmartLink Handler needs phonebook view
dll resource loader.
- BrowserView/inc/SmartLinkHandler.h: new include.
- 7:23 AM Changeset in webkit [16468] by
-
- 3 edits in trunk/WebCore
Build Fix. Adds isHorizontal attribute back to WheelEvent
for the Objective-C bindings. If it is found that isHorizontal
is not used, we should remove it again but also remove it's
declaration from PublicDOMInterfaces.h
- dom/WheelEvent.h: (WebCore::WheelEvent::isHorizontal):
- dom/WheelEvent.idl:
- 2:52 AM Changeset in webkit [16467] by
-
- 8 edits in trunk/WebCore
Fix for 10945, WheelEvent should support two dimensions at once, since
MacBooks allow for diagonal scrolling. Also enhance the PlatformWheelEvent
to allow for diagonal scrolling.
Reviewed by Eric
- dom/EventTargetNode.cpp: (WebCore::EventTargetNode::dispatchWheelEvent):
- dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): (WebCore::WheelEvent::initWheelEvent):
- dom/WheelEvent.h: (WebCore::WheelEvent::wheelDelta): (WebCore::WheelEvent::wheelDeltaX): (WebCore::WheelEvent::wheelDeltaY):
- dom/WheelEvent.idl:
- page/FrameView.cpp: (WebCore::FrameView::handleWheelEvent):
- platform/PlatformWheelEvent.h: (WebCore::PlatformWheelEvent::deltaX): (WebCore::PlatformWheelEvent::deltaY): (WebCore::PlatformWheelEvent::normalize):
- platform/mac/WheelEventMac.mm: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- 2:38 AM Changeset in webkit [16466] by
-
- 7 edits in trunk/LayoutTests
2006-09-20 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
Commit two test updates I forgot to commit with:
Markers should clip to their viewport.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5967
- svg/W3C-SVG-1.1/painting-marker-01-f-expected.checksum:
- svg/W3C-SVG-1.1/painting-marker-01-f-expected.png:
- svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
- svg/W3C-SVG-1.1/painting-marker-02-f-expected.checksum:
- svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
- svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
- 2:20 AM Changeset in webkit [16465] by
-
- 25 edits6 copies2 moves in trunk/WebCore
2006-09-19 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
Split KCanvasResources.* into multiple files (and some other minor spacing changes).
No tests were harmed in the making of this patch.
- WebCore.xcodeproj/project.pbxproj:
- kcanvas/KCanvasClipper.cpp: Added. (WebCore::operator<<):
- kcanvas/KCanvasClipper.h: Added.
- kcanvas/KCanvasFilters.h:
- kcanvas/KCanvasImage.h:
- kcanvas/KCanvasMarker.cpp: Added.
- kcanvas/KCanvasMarker.h: Added.
- kcanvas/KCanvasMasker.cpp: Added. (WebCore::KCanvasMasker::KCanvasMasker): (WebCore::KCanvasMasker::setMask): (WebCore::KCanvasMasker::externalRepresentation): (WebCore::getMaskerById):
- kcanvas/KCanvasMasker.h: Added.
- kcanvas/KCanvasResource.cpp: Added. (WebCore::KCanvasResource::invalidate): (WebCore::KCanvasResource::externalRepresentation): (WebCore::getResourceById): (WebCore::getPaintServerById):
- kcanvas/KCanvasResource.h: Added.
- kcanvas/KCanvasResources.cpp: Removed.
- kcanvas/KCanvasResources.h: Removed.
- kcanvas/RenderPath.cpp:
- kcanvas/RenderSVGContainer.cpp:
- kcanvas/RenderSVGImage.cpp:
- kcanvas/RenderSVGText.cpp:
- kcanvas/device/KRenderingPaintServer.h:
- kcanvas/device/quartz/KCanvasMaskerQuartz.h:
- kcanvas/device/quartz/KCanvasResourcesQuartz.h:
- kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
- ksvg2/svg/SVGClipPathElement.h:
- ksvg2/svg/SVGFEColorMatrixElement.cpp:
- ksvg2/svg/SVGFEComponentTransferElement.cpp:
- ksvg2/svg/SVGFECompositeElement.cpp:
- ksvg2/svg/SVGFEGaussianBlurElement.cpp:
- ksvg2/svg/SVGFELightElement.cpp:
- ksvg2/svg/SVGFEOffsetElement.cpp:
- ksvg2/svg/SVGFETurbulenceElement.cpp:
- ksvg2/svg/SVGFilterElement.cpp:
- ksvg2/svg/SVGLinearGradientElement.cpp:
- ksvg2/svg/SVGMarkerElement.h:
- ksvg2/svg/SVGMaskElement.h:
- 12:16 AM Changeset in webkit [16464] by
-
- 9 edits in trunk
WebCore:
Reviewed by Sarge Decker
<rdar://problem/4739892> and <rdar://problem/4729797>
- WebCore::IconDatabase needs to have and respect an enabled() flag
- Mail on ToT WebKit crashes in IconDatabase code when mailing a page from Safari
- bridge/mac/WebCoreIconDatabaseBridge.h:
- bridge/mac/WebCoreIconDatabaseBridge.mm: (-[WebCoreIconDatabaseBridge _setEnabled:]): Added (-[WebCoreIconDatabaseBridge _isEnabled]): Added
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::IconDatabase): (WebCore::IconDatabase::open): Don't open if disabled (WebCore::IconDatabase::removeAllIcons): Ignore if disabled/closed (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ignore if disabled/closed (WebCore::IconDatabase::iconForPageURL): Default Icon if disabled/closed (WebCore::IconDatabase::isIconExpiredForIconURL): Default return if disabled/closed (WebCore::IconDatabase::iconURLForPageURL): Default return if disabled/closed (WebCore::IconDatabase::retainIconForPageURL): Ignore if disabled/closed (WebCore::IconDatabase::releaseIconForPageURL): Ignore if disabled/closed (WebCore::IconDatabase::releaseIconURL): (WebCore::IconDatabase::setIconDataForIconURL): Ignore if disabled/closed (WebCore::IconDatabase::setIconURLForPageURL): Ignore if disabled/closed (WebCore::IconDatabase::hasEntryForIconURL): Default return if disabled/closed (WebCore::IconDatabase::setEnabled): Added
- loader/icon/IconDatabase.h: (WebCore::IconDatabase::enabled): Added
- page/Frame.cpp: (WebCore::Frame::endIfNotLoading): do an IconDatabase::enabled() check before bothering to load the icon
- platform/mac/ResourceLoaderMac.mm: Removed extraneous #include
WebKit:
Reviewed by Sarge Decker
<rdar://problem/4739892> and <rdar://problem/4729797>
- WebCore::IconDatabase needs to have and respect an enabled() flag
- Mail on ToT WebKit crashes in IconDatabase code when mailing a page from Safari
- Misc/WebIconDatabase.m: (-[WebIconDatabase init]): If preference says icons are disabled, tell the bridge (-[WebIconDatabase _isEnabled]): Ask the bridge if the database is enabled
- 12:06 AM Changeset in webkit [16463] by
-
- 7 edits in trunk/WebCore
Massage mouse wheel handling so that it is more cross-platform. Make
all the work happen in handleWheelEvent on the FrameView.
Reviewed by bradee-oh
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::wheelEvent):
- page/FrameView.cpp: (WebCore::FrameView::handleWheelEvent):
- platform/PlatformWheelEvent.h: (WebCore::PlatformWheelEvent::platformDelta): (WebCore::PlatformWheelEvent::delta):
- platform/mac/WheelEventMac.mm: (WebCore::platformDeltaForEvent): (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::scroll):
- rendering/RenderObject.cpp: (WebCore::RenderObject::scroll):
Sep 19, 2006:
- 10:37 PM Changeset in webkit [16462] by
-
- 30 edits in trunk
2006-09-19 Eric Seidel <eric@eseidel.com>
Reviewed by adele.
Improve test output for filters with bounding-box relative sizes.
http://bugzilla.opendarwin.org/show_bug.cgi?id=8585
Many test results updated.
- kcanvas/KCanvasFilters.cpp: (WebCore::KCanvasFilter::externalRepresentation):
- 10:26 PM Changeset in webkit [16461] by
-
- 6 edits4 adds in trunk
2006-09-19 Eric Seidel <eric@eseidel.com>
Reviewed by adele.
Markers should clip to their viewport.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5967
Test: svg/custom/marker-overflow-clip.svg
- kcanvas/KCanvasResources.cpp: (WebCore::KCanvasMarker::KCanvasMarker): (WebCore::KCanvasMarker::setMarker): (WebCore::KCanvasMarker::draw):
- kcanvas/KCanvasResources.h: (WebCore::KCanvasMasker::mask):
- ksvg2/svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::SVGMarkerElement): (WebCore::SVGMarkerElement::parseMappedAttribute): (WebCore::SVGMarkerElement::canvasResource): (WebCore::SVGMarkerElement::createRenderer):
- 8:57 PM Changeset in webkit [16460] by
-
- 1 edit in trunk/WebCore/ChangeLog
Checking the mail post-commit hook on the new server
- 8:46 PM Changeset in webkit [16459] by
-
- 1 edit in trunk/WebCore/ChangeLog
Checkin test on the new hardware!
- 6:57 PM Changeset in webkit [16458] by
-
- 3 edits1 add1 delete in trunk
LayoutTests:
Reviewed by eseidel
Disabling this test temporarily.
- editing/selection/editable-links.html: Removed.
- editing/selection/editable-links.html-disabled: Added.
WebCore:
Reviewed by eseidel
Backing out my recent change.
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle):
- 5:53 PM Changeset in webkit [16457] by
-
- 2 edits in trunk/WebCore
Reviewed by Kevin McCullough
http://bugzilla.opendarwin.org/show_bug.cgi?id=10940
Opening a PDF in a new tab/window creates a documentless-frame
and we deref the document without checking its validity
- page/Frame.cpp: (WebCore::Frame::iconURL):
- 4:36 PM Changeset in webkit [16456] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by harrison
- editing/selection/editable-links-expected.checksum: Added.
- editing/selection/editable-links-expected.png: Added.
- editing/selection/editable-links-expected.txt: Added.
- editing/selection/editable-links.html: Added.
WebCore:
Reviewed by harrison
<rdar://problem/4735272>
Can not click into link in programmatically editable content
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle): We stopped using userModify to implement document wide editability.
- 4:25 PM Changeset in webkit [16455] by
-
- 1 edit in trunk/WebCore/ChangeLog
I totally LIED in the Changelog
- 4:24 PM Changeset in webkit [16454] by
-
- 2 edits in trunk/WebCore
Reviewed and landed by Brady
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10939
Build broken when SVG is not enabled.
- dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::startElementNs):
- 3:44 PM Changeset in webkit [16453] by
-
- 1 edit1 add in trunk/WebKitSite
http://bugzilla.opendarwin.org/show_bug.cgi?id=8220
Add the favicon.ico to the site.
Notice, users of shipping Safari won't see the updated favicon
unless they clear their icon cache - ToT users can manually reload
the site and force the refresh ;)
- favicon.ico: Added.
- 3:01 PM Changeset in webkit [16452] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by harrison
- editing/pasteboard/pasting-tabs-expected.checksum: Added.
- editing/pasteboard/pasting-tabs-expected.png: Added.
- editing/pasteboard/pasting-tabs-expected.txt: Added.
- editing/pasteboard/pasting-tabs.html: Added.
WebCore:
Reviewed by harrison
<rdar://problem/4727383> REGRESSION: Pasting plain text with tabs into Blot converts the tabs to single spaces
Pasting plain text results in a match style paste, and the insertion
position is whitespace normal, which clobbers the whitespace:pre on
tab spans. Skip changes to the whitespace mode when computing a style
change for tab spans or the text nodes inside tab spans.
- editing/ApplyStyleCommand.cpp: (WebCore::StyleChange::init): Don't change the whitespace mode inside tab spans.
- 2:31 PM Changeset in webkit [16451] by
-
- 3 edits in trunk/WebCore
Fix for bug 5298, shape=default not supported for image maps. Implement
support for it.
Reviewed by timo
- html/HTMLAreaElement.cpp: (WebCore::HTMLAreaElement::getRegion):
- html/HTMLMapElement.cpp: (WebCore::HTMLMapElement::mapMouseEvent):
- 11:04 AM Changeset in webkit [16450] by
-
- 2 edits in trunk/WebKit
Reviewed by Tim O.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10661
REGRESSION: CFM plug-ins (Shockwave, SVG) are not loaded
- Plugins/WebBasePluginPackage.m: (-[WebBasePluginPackage initWithPath:]): On 32-bit PowerPC, don't bail out if the bundle is nil - it can be a CFM plugin.
- 10:25 AM Changeset in webkit [16449] by
-
- 5 edits in trunk/LayoutTests
Reviewed by Adele.
Update tests for the new file upload control.
- fast/forms/file-input-disabled-expected.txt:
- fast/forms/form-element-geometry-expected.txt:
- fast/forms/input-appearance-height-expected.txt:
- fast/forms/input-value-expected.txt:
- 10:23 AM Changeset in webkit [16448] by
-
- 3 edits in trunk/WebCore
Reviewed by Adele.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10824
"no file selected" placeholder text missing from file upload control
- WebCore.xcodeproj/project.pbxproj:
- rendering/RenderFileUploadControl.cpp: Remove class RenderFileUploadInnerFileBox, rename defaultFilenameNumChars to defaultWidthNumChars (WebCore::RenderFileUploadControl::RenderFileUploadControl): Call RenderBlock constructor instead of RenderFlexibleBox, (WebCore::RenderFileUploadControl::setStyle): Remove references to m_fileBox. (WebCore::RenderFileUploadControl::valueChanged): Call repaint() instead of updateIconAndFileName() (which has been removed) (WebCore::RenderFileUploadControl::updateFromElement): Remove references to m_fileBox, don't call updateIconAndFilename() (WebCore::RenderFileUploadControl::maxFilenameWidth): Calculate width without using m_fileBox (WebCore::RenderFileUploadControl::createButtonStyle): Remove now-unnecessary display:box rule. (WebCore::RenderFileUploadControl::paintObject): Remove redundant call to paintingDisabled() now that Icon::paint() does it, and add code to paint the filename directly. (WebCore::RenderFileUploadControl::calcMinMaxWidth): Move this method out of RenderFileUploadInnerFileBox and into RenderFileUploadControl
- rendering/RenderFileUploadControl.h: Make RenderFileUploadControl a subclass of RenderBlock instead of RenderFlexibleBox, remove updateIconAndFilename() method, remove m_fileBox instance variable.
- 5:17 AM Changeset in webkit [22186] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-19 Anders Carlsson <acarlsson@apple.com>
Reviewed by Dave Hyatt.
<rdar://problem/4734743> Crash accessing YouTube.
- config.h: Enable some more of the JSC bindings code on Windows.
- 2:48 AM Changeset in webkit [16447] by
-
- 2 edits in trunk/WebCore
2006-09-19 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
Exceptions thrown from <script> tags in XHTML/SVG docs show the wrong line numbers
http://bugzilla.opendarwin.org/show_bug.cgi?id=10846
No automated test case possible until http://bugzilla.opendarwin.org/show_bug.cgi?id=10905 is resolved.
- dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::XMLTokenizer): (WebCore::XMLTokenizer::startElementNs): (WebCore::XMLTokenizer::endElementNs):
- 2:39 AM Changeset in webkit [16446] by
-
- 2 edits in trunk/WebKitTools
2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by eseidel. Landed by eseidel.
Detect that close button was pressed and exit cleanly.
- GdkLauncher/main.cpp: (handle_event): (main):
- 2:37 AM Changeset in webkit [16445] by
-
- 4 edits in trunk/WebCore
2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by eseidel. Landed by eseidel.
Build fix only, no tests affected.
- platform/gdk/FontPlatformDataGdk.cpp: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::~FontPlatformData):
- platform/gdk/FrameGdk.h:
- platform/gdk/TemporaryLinkStubs.cpp: (FrameGdk::isLoadTypeReload): (FrameGdk::originalRequestURL): (IconDatabase::setIconURLForPageURL):
- 2:10 AM Changeset in webkit [16444] by
-
- 2 edits in trunk/WebCore
Refine the fix for 9805 to really get all the complex cases right.
Reviewed by Eric
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::clearFloatsIfNeeded): (WebCore::RenderBlock::handleBottomOfBlock):
- 2:08 AM Changeset in webkit [16443] by
-
- 4 adds4 deletes in trunk/LayoutTests/fast/block/margin-collapse
Land changes for margin collapsing fixes. Yank bad layout test.
Sep 18, 2006:
- 11:23 PM Changeset in webkit [16442] by
-
- 2 edits in trunk/WebCore
Fix for 9805, <hr> not positioned properly following a previous empty sibling
that had clear:both set on it. Update self-collapsing block clearance
behavior to match what is specified in the latest draft of CSS2.1.
Reviewed by Eric
Added fast/block/margin-collapse/empty-clear-blocks.html
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::clearFloatsIfNeeded): (WebCore::RenderBlock::handleBottomOfBlock):
- 7:47 PM Changeset in webkit [22185] by
-
- 4 edits in branches/WindowsMerge/WebCore
YABF and merged an open source change
- 7:36 PM Changeset in webkit [16441] by
-
- 2 edits in trunk/WebCore
Reviewed by Brady, landed by Brady
Send receivedResponse callback to ResourceLoaderClient when loading
file URLs.
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoader::fileLoadTimer):
- 7:21 PM Changeset in webkit [16440] by
-
- 16 edits in trunk
WebCore:
Reviewed by Anders
<rdar://problem/3028061> - WebKit never updates favicon
The WebKit enforced expiration date for icons has worked for some time, but the
move to the new Icon Loader broke the "always get the icon if the user refreshes the page"
functionality. This patch fixes that up, along with some other architectural improvements,
the main one being that WebCore::Document now contains an iconURL for the Frame to query if needed.
- bridge/mac/FrameMac.h: Added isLoadTypeReload()
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::isLoadTypeReload): Implementation, calls into the bridge
- bridge/mac/WebCoreFrameBridge.h: Added isLoadTypeReload:
- bridge/win/FrameWin.h: Added isLoadTypeReload() for temporary link stub
- dom/Document.h: Added m_iconURL (WebCore::Document::iconURL): Added (WebCore::Document::setIconURL): Ditto
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process): Sets the iconURL in the Document instead of the Frame
- page/Frame.cpp: (WebCore::Frame::iconURL): Calculates the iconURL based on the document, then the default favicon.ico url (WebCore::Frame::endIfNotLoading): Checks for the load type - always loads icon on Reload
- page/Frame.h: Nuked setIconURL(), added isLoadTypeReload()
- page/FramePrivate.h: Nuked IconURL
- platform/win/TemporaryLinkStubs.cpp: (FrameWin::isLoadTypeReload):
WebKit:
Reviewed by Anders
Implement a bridge method so WebCore can find the reload type of a frame load
- WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge isLoadTypeReload]):
- 7:10 PM Changeset in webkit [22184] by
-
- 1 edit in branches/WindowsMerge/WebKitWin/WebKit.vcproj/WebKit.vcproj
Fix more build bustage. Remove CoreGraphics.lib from the set of linked against libraries.
- 6:55 PM Changeset in webkit [22183] by
-
- 1 edit in branches/WindowsMerge/WebCore/WebCore.vcproj/WebCore.vcproj
Fix build bustage caused by removal of ColorCG.cpp I guess?
- 5:53 PM Changeset in webkit [22182] by
-
- 2 edits in branches/WindowsMerge/WebCore
Support bold & italics text with CG on Windows
- 4:44 PM Changeset in webkit [22181] by
-
- 7 edits in branches/WindowsMerge
Last few CoreGraphics integration compile fixes
- 4:15 PM Changeset in webkit [16439] by
-
- 3 edits in trunk/WebCore
Reviewed by Tim H.
- Re-add private method [DOMRGBColor _color] to DOMPrivate.h as it is it turns out that AppKit uses it.
- bindings/objc/DOMPrivate.h:
- bindings/objc/DOMRGBColor.mm: (-[DOMRGBColor _color]):
- 2:40 PM Changeset in webkit [16438] by
-
- 18 edits6 adds1 delete in trunk
WebCore:
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10903
Yet Another Objective-C Bindings Patch
- Whitespace cleanup for IDLParser.pm
- Split DOMException, DOMRangeException, DOMXPathException, DOMEventsException and DOMAbstractView into their own files.
- Remove private method [DOMRGBColor _color] from DOMPrivate.h as it is not used and a public method is available now.
- Remove internal method [DOMDocument _ownerElement] from DOMInternal.h as it not used.
- Auto-generate method isContentEditable for DOMNode.
- General cleanup of bindings code including removing unneeded #imports and whitespace cleanup
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (addElementClass): (elementClass): (-[DOMNode _initWithNode:WebCore::]): (+[DOMNode _nodeWith:WebCore::]): (-[DOMNode WebCore::]): (-[DOMNode KJS::Bindings::]): (-[DOMNode addEventListener:::]): (-[DOMNode removeEventListener:::]): (-[DOMNode dispatchEvent:]): (-[DOMElement image]): (-[DOMElement _font]): (-[DOMElement _imageTIFFRepresentation]): (-[DOMElement _getURLAttribute:]): (-[DOMElement _NPObject]): (-[DOMElement isFocused]): (-[DOMRange dealloc]): (-[DOMRange finalize]): (-[DOMRange description]): (-[DOMRange startContainer]): (-[DOMRange startOffset]): (-[DOMRange endContainer]): (-[DOMRange endOffset]): (-[DOMRange collapsed]): (-[DOMRange commonAncestorContainer]): (-[DOMRange setStart::]): (-[DOMRange setEnd::]): (-[DOMRange setStartBefore:]): (-[DOMRange setStartAfter:]): (-[DOMRange setEndBefore:]): (-[DOMRange setEndAfter:]): (-[DOMRange collapse:]): (-[DOMRange selectNode:]): (-[DOMRange selectNodeContents:]): (-[DOMRange compareBoundaryPoints::]): (-[DOMRange deleteContents]): (-[DOMRange extractContents]): (-[DOMRange cloneContents]): (-[DOMRange insertNode:]): (-[DOMRange surroundContents:]): (-[DOMRange cloneRange]): (-[DOMRange toString]): (-[DOMRange detach]): (-[DOMRange _initWithRange:WebCore::]): (+[DOMRange _rangeWith:WebCore::]): (-[DOMRange WebCore::]): (-[DOMNodeFilter _initWithNodeFilter:WebCore::]): (+[DOMNodeFilter _nodeFilterWith:WebCore::]): (-[DOMNodeFilter WebCore::]): (-[DOMNodeFilter dealloc]): (-[DOMNodeFilter finalize]): (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]): (-[DOMNodeIterator WebCore::]): (+[DOMNodeIterator _nodeIteratorWith:WebCore::filter:]): (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]): (-[DOMTreeWalker WebCore::]): (+[DOMTreeWalker _treeWalkerWith:WebCore::filter:]): (ObjCNodeFilterCondition::acceptNode): (-[DOMDocument createNodeIterator::::]): (-[DOMDocument createTreeWalker::::]): (ObjCEventListener::find): (ObjCEventListener::create): (ObjCEventListener::handleEvent):
- bindings/objc/DOMAbstractView.h: Added.
- bindings/objc/DOMAbstractView.mm: Added. (-[DOMAbstractView document]): (-[DOMAbstractView WebCore::]): (-[DOMAbstractView _initWithAbstractView:WebCore::]): (+[DOMAbstractView _abstractViewWith:WebCore::]):
- bindings/objc/DOMCSS.mm: (-[DOMStyleSheet _initWithStyleSheet:WebCore::]): (+[DOMStyleSheet _styleSheetWith:WebCore::]): (+[DOMCSSStyleSheet _CSSStyleSheetWith:WebCore::]): (-[DOMCSSRule _initWithRule:WebCore::]): (+[DOMCSSRule _CSSRuleWith:WebCore::]): (-[DOMCSSValue _initWithValue:WebCore::]): (+[DOMCSSValue _CSSValueWith:WebCore::]): (+[DOMCSSPrimitiveValue _CSSPrimitiveValueWith:WebCore::]): (-[DOMDocument getComputedStyle::]): (-[DOMDocument getMatchedCSSRules::]):
- bindings/objc/DOMCore.h:
- bindings/objc/DOMEventException.h: Added.
- bindings/objc/DOMEvents.h:
- bindings/objc/DOMEvents.mm:
- bindings/objc/DOMException.h: Added.
- bindings/objc/DOMHTML.mm: (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]): (viewForElement): (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]): (-[DOMHTMLInputElement _selectedRange]): (-[DOMHTMLInputElement _setAutofilled:]):
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMObject.h:
- bindings/objc/DOMPrivate.h:
- bindings/objc/DOMRange.h:
- bindings/objc/DOMRangeException.h: Added.
- bindings/objc/DOMViews.h:
- bindings/objc/DOMViews.mm: Removed.
- bindings/objc/DOMXPath.h:
- bindings/objc/DOMXPathException.h: Added.
- bindings/scripts/IDLParser.pm:
- dom/Node.idl:
WebKit:
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10903
Yet Another Objective-C Bindings Patch
- MigrateHeaders.make:
- 2:37 PM Changeset in webkit [16437] by
-
- 5 edits in trunk/WebKit
Reviewed by John Sullivan.
<rdar://problem/4494340> REGRESSION: Making the font size bigger/smaller in an HTML message doesn't affect the body until you reopen it
Problem was the public API -[WebView setTextSizeMultiplier] did not notify anyone that the value changed.
- WebView/WebDocumentInternal.h: Add _textSizeMultiplierChanged to the _WebDocumentTextSizing protocol.
- WebView/WebHTMLView.m: (-[WebHTMLView _textSizeMultiplierChanged]): Send [self _updateTextSizeMultiplier].
- WebView/WebPDFView.m: (-[WebPDFView _textSizeMultiplierChanged]): ASSERT_NOT_REACHED() because WebPDFView does not track the common multiplier.
- WebView/WebView.m: (-[WebView setTextSizeMultiplier:]): Send [self _notifyTextSizeMultiplierChanged];
(-[WebView _performTextSizingSelector:withObject:onTrackingDocs:selForNonTrackingDocs:newScaleFactor:]):
Alter the _textSizeMultiplier directly so that notification is not sent.
Minor formatting.
(-[WebView _notifyTextSizeMultiplierChanged]):
New. Send _textSizeMultiplierChanged to all document views that track the common multiplier.
- 1:50 PM Changeset in webkit [22180] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Build fix (release).
- WebHistory.cpp: (_WebCoreHistoryProvider::containsItemForURLLatin1): Remove unused HRESULT. (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
- 1:42 PM Changeset in webkit [16436] by
-
- 1 edit in trunk/WebCore/platform/win/TemporaryLinkStubs.cpp
ACTUAL Windows build fix
- 1:32 PM Changeset in webkit [16435] by
-
- 2 edits in trunk/WebCore
Windows build fix
- platform/win/TemporaryLinkStubs.cpp: (IconDatabase::setIconURLForPageURL):
- 12:56 PM Changeset in webkit [22179] by
-
- 7 adds in branches/WindowsMerge/WebKitTools
2006-09-18 Anders Carlsson <acarlsson@apple.com>
Reviewed by John.
Fork DumpRenderTree from OpenSource repository (r16433).
- DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
- DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added. (loadResourceIntoArray): (localFileTest): (dumpRenderTreeMain): (dumpRenderTreeToStdOut): (serializeToStdOut): (main):
- DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
- 12:20 PM Changeset in webkit [16434] by
-
- 4 adds in trunk/LayoutTests/fast/block/float
Add layout test for float bug.
- 12:12 PM Changeset in webkit [16433] by
-
- 2 edits in trunk/WebCore
Fix for bug 3969, hr width doesn't update when it clears a float. This
was also a problem with tables and overflow sections.
Reviewed by Eric
Added fast/block/float/width-update-after-clear.html
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::collapseMargins): (WebCore::RenderBlock::clearFloatsIfNeeded):
- 12:07 PM Changeset in webkit [16432] by
-
- 171 edits in trunk/LayoutTests/tables
Update table layout test results.
- 12:06 PM Changeset in webkit [16431] by
-
- 140 edits in trunk/LayoutTests/tables/mozilla_expected_failures/marvin
Update table layout test results.
- 12:05 PM Changeset in webkit [16430] by
-
- 114 edits in trunk/LayoutTests/tables/mozilla_expected_failures/bugs
Update table layout test results.
- 12:00 PM Changeset in webkit [16429] by
-
- 568 edits in trunk/LayoutTests/tables/mozilla/marvin
Update table layout test results.
- 11:55 AM Changeset in webkit [16428] by
-
- 469 edits in trunk/LayoutTests/tables/mozilla/bugs
Update table layout test results.
- 11:51 AM Changeset in webkit [22178] by
-
- 3 edits in branches/WindowsMerge/WebCore
Build Fix
- 11:45 AM Changeset in webkit [22177] by
-
- 2 edits1 add in branches/WindowsMerge/WebCore
Forked FontCacheWin.cpp from OpenSource tree r16421
- 11:19 AM Changeset in webkit [16427] by
-
- 2 edits in tags/WebKit-521.26.1/WebKit
Build fix and versioning.
- 11:16 AM Changeset in webkit [16426] by
-
- 1 copy in tags/WebKit-521.26.1/WebKit
New tag part 2
- 11:15 AM Changeset in webkit [16425] by
-
- 1 copy in S60/branches/3.1m
Creating new branch.
- 11:14 AM Changeset in webkit [16424] by
-
- 1 add in tags/WebKit-521.26.1
New tag part 1.
- 11:13 AM Changeset in webkit [16423] by
-
- 7 edits in trunk/WebCore
Reviewed by John
http://bugzilla.opendarwin.org/show_bug.cgi?id=10907
REGRESSION: New Icon Loaders don't handle certain non-server-root URLs correctly
- bridge/mac/FrameMac.h: Changed originalRequestURL() to virtual
- bridge/win/FrameWin.h: Added originalRequestURL()
- loader/icon/IconLoader.cpp: (IconLoader::receivedAllData): Moved the "pageURL to iconURL mapping logic" to Frame::commitIconURLToIconDatabase()
- page/Frame.cpp: (WebCore::Frame::iconURL): Construct the icon URL from *only* the protocol and host of the frame's url. (WebCore::Frame::endIfNotLoading): Call commitIconURLToIconDatabase() if we're not kicking off an icon load (WebCore::Frame::commitIconURLToIconDatabase): Map the completed doc's pageURL to the iconURL
- page/Frame.h: Added pure virtual originalRequestURL()
- platform/win/TemporaryLinkStubs.cpp: (FrameWin::originalRequestURL): Added
- 11:11 AM Changeset in webkit [16422] by
-
- 1 edit in trunk/WebKit/WebInspector/WebInspector.m
Build fix, NSIntMapValueCallBacks is deprecated infavor of the new name NSIntegerMapValueCallBacks. Just make a new NSMapTableValueCallBacks of {NULL, NULL, NULL} to make it build on new or older systems.
- 2:25 AM Changeset in webkit [16421] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10807
REGRESSION (r16259): Repro crash on manual-tests/svg-repaint-image.svg
Make sure the paint method is not exited without popping
context and transparency layer.
- 2:16 AM Changeset in webkit [16420] by
-
- 2 edits in trunk/WebCore
2006-09-18 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Eric.
- fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10896 REGRESSION: WebKit can't be built with SVG disabled
- bindings/scripts/CodeGeneratorObjC.pm: For each file generated add a #ifdef <something>_SUPPORT / #endif pair if the idl file has a Conditional extended attribute
Sep 17, 2006:
- 11:45 PM Changeset in webkit [16419] by
-
- 2 edits in trunk/WebCore
2006-09-17 Eric Seidel <eric@eseidel.com>
Reviewed by ap.
REGRESSION (r16245): double-clicking on javascript exceptions fails to show source
http://bugzilla.opendarwin.org/show_bug.cgi?id=10813
- bridge/mac/WebCoreFrameBridge.mm: (+[WebCoreFrameBridge stringWithData:textEncodingName:]):
- 11:14 PM Changeset in webkit [16418] by
-
- 2 edits in trunk/LayoutTests
2006-09-17 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
- fast/js/window-properties.html: make work in Firefox (hangs IE)
- 10:03 PM Changeset in webkit [16417] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10779
REGRESSION: Animated GIF ignores frame intervals and loops infinitely
No test possible.
- platform/Image.cpp: (WebCore::Image::shouldAnimate): Don't check that there is more than one frame, maybe the rest just hasn't been loaded yet. (WebCore::Image::startAnimation): Move the frame count check here - there is no need to start animating before we get at least two frames.
- 9:46 PM Changeset in webkit [16416] by
-
- 1 edit2 adds in trunk/LayoutTests
2006-09-17 Eric Seidel <eric@eseidel.com>
Add a textual dump of the window object property tree.
Reviewed by Sarge.
- fast/js/window-properties-expected.txt: Added.
- fast/js/window-properties.html: Added.
- 5:48 PM Changeset in webkit [16415] by
-
- 6 edits in trunk/LayoutTests/tables/mozilla/bugs
Land updated tests for font changes.
- 5:46 PM Changeset in webkit [16414] by
-
- 3 edits in trunk/LayoutTests/css2.1
Land updated tests for font changes.
- 5:45 PM Changeset in webkit [16413] by
-
- 6 edits in trunk/LayoutTests/css1/font_properties
Land updated tests for font changes.
- 4:17 PM Changeset in webkit [16412] by
-
- 2 edits in trunk/WebCore
Reviewed by Sarge
IconLoader now gracefully handles the condition where there's no document in the frame
(ie. PDFs)
- loader/icon/IconLoader.cpp: (IconLoader::startLoading):
- 4:06 PM Changeset in webkit [16411] by
-
- 5 edits in trunk/WebCore
Fix for bug 10899, rework how CSS keywords work to be smarter about
using the correct size when generic families change (e.g., monospace to
serif and vice versa).
Reviewed by aroben
Added fast/text/basic/generic-family-changes.html
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::checkForGenericFamilyChange): (WebCore::CSSStyleSelector::fontSizeForKeyword):
- css/cssstyleselector.h:
- dom/Document.cpp: (WebCore::Document::recalcStyle):
- platform/FontDescription.h: (WebCore::FontDescription::FontDescription): (WebCore::FontDescription::keywordSize): (WebCore::FontDescription::setKeywordSize): (WebCore::FontDescription::operator==):
- 4:04 PM Changeset in webkit [16410] by
-
- 1 edit4 adds in trunk/LayoutTests
Adding layout test for bug 10899.
- fast/text/basic/generic-family-changes-expected.checksum: Added.
- fast/text/basic/generic-family-changes-expected.png: Added.
- fast/text/basic/generic-family-changes-expected.txt: Added.
- fast/text/basic/generic-family-changes.html: Added.
- 2:39 PM Changeset in webkit [16409] by
-
- 4 edits in trunk/WebKitTools
Reviewed by hyatt, sfalken.
Get DumpRenderTree compiling and limping along on Windows.
- DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit (main): Add NULL argument to Page constructor.
- DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
- Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
- 1:18 PM Changeset in webkit [16408] by
-
- 4 edits2 adds in trunk
Reviewed by Brady.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10852
REGRESSION: Reproducible crash in XMLHttpRequest::abort()
Test: http/tests/xmlhttprequest/xhr-onunload.html
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::send): Check the return value of ResourceLoader::start().
- loader/icon/IconLoader.cpp: (IconLoader::startLoading): Fix a similar latent bug here.
- 12:37 PM Changeset in webkit [16407] by
-
- 2 edits in trunk/WebCore
Build fix.
- loader/icon/IconDatabase.cpp:
- 12:29 PM Changeset in webkit [22176] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
Build fix.
- WebView.cpp: (WebView::keyPress): Add new "userTriggered" argument to calls to SelectionController::modify
- 12:24 PM Changeset in webkit [16406] by
-
- 1 edit in trunk/LayoutTests/fast/text/whitespace/013-expected.txt
Land updated results from font fix yesterday.
- 11:36 AM Changeset in webkit [16405] by
-
- 29 edits in trunk/WebCore
2006-09-17 Anders Carlsson <acarlsson@apple.com>
Reviewed by Brady.
Add simplifyWhiteSpace and stripWhiteSpace to the String class.
Change the XSLT Parameter Map to use Strings instead of StringImpls.
General cleanup.
- bindings/js/JSXSLTProcessor.cpp: (KJS::XSLTProcessorProtoFunc::callAsFunction):
- bindings/js/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
- bindings/js/kjs_window.cpp: (KJS::ScheduledAction::execute):
- css/MediaList.cpp: (WebCore::MediaList::setMediaText):
- dom/Document.cpp: (WebCore::Document::processHttpEquiv):
- editing/ApplyStyleCommand.cpp: (WebCore::StyleChange::init):
- html/HTMLDocument.cpp: (WebCore::parseDocTypeDeclaration):
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::parseMappedAttribute):
- html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::HTMLObjectElement): (WebCore::HTMLObjectElement::parseMappedAttribute): (WebCore::HTMLObjectElement::attach): (WebCore::HTMLObjectElement::setComplete): (WebCore::HTMLObjectElement::detach): (WebCore::HTMLObjectElement::recalcStyle): (WebCore::HTMLObjectElement::childrenChanged): (WebCore::HTMLObjectElement::isImageType):
- html/HTMLObjectElement.h:
- html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::value):
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::appendFormData):
- html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseTag):
- ksvg2/svg/SVGColor.cpp: (WebCore::SVGColor::setRGBColor):
- ksvg2/svg/SVGDescElement.cpp: (WebCore::SVGDescElement::description):
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::stripWhiteSpace): (WebCore::String::simplifyWhiteSpace):
- platform/StringImpl.cpp: (WebCore::isSpace): (WebCore::parseLength): (WebCore::StringImpl::stripWhiteSpace): (WebCore::StringImpl::simplifyWhiteSpace): (WebCore::StringImpl::toInt):
- platform/StringImpl.h:
- platform/mac/ClipboardMac.mm: (WebCore::cocoaTypeFromMIMEType):
- rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::updateWidget):
- xml/XPathFunctions.cpp: (WebCore::XPath::FunNormalizeSpace::doEvaluate):
- xml/XPathGrammar.y:
- xml/XPathStep.cpp: (WebCore::XPath::Step::nodeTestMatches):
- xml/XSLStyleSheet.cpp: (WebCore::XSLStyleSheet::loadChildSheets): (WebCore::XSLStyleSheet::locateStylesheetSubResource):
- xml/XSLTProcessor.cpp: (WebCore::xsltParamArrayFromParameterMap): (WebCore::XSLTProcessor::setParameter): (WebCore::XSLTProcessor::getParameter): (WebCore::XSLTProcessor::removeParameter):
- xml/XSLTProcessor.h:
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::getStatusText):
- 8:28 AM Changeset in webkit [16404] by
-
- 4 adds in trunk/LayoutTests/fast/forms
Add fieldset layout test.
- 8:27 AM Changeset in webkit [16403] by
-
- 7 edits in trunk/WebCore
Fix for bugzilla bugs 10895 and 6336, fieldsets misbehaving when floats
are declared right before the fieldsets. It turns out fieldsets in other
browsers avoid floats (like overflow:auto/hidden/scroll sections do), so
adding that behavior to fieldset fixes the bug.
Made avoidsFloats virtual and did some refactoring to make tables, flexboxes
and fieldsets all subclass.
Reviewed by anders
Added fast/forms/float-before-fieldset.html
- rendering/RenderFieldset.h: (WebCore::RenderFieldset::avoidsFloats):
- rendering/RenderFlexibleBox.h: (WebCore::RenderFlexibleBox::avoidsFloats):
- rendering/RenderObject.cpp: (WebCore::RenderObject::avoidsFloats):
- rendering/RenderObject.h:
- rendering/RenderTable.h: (WebCore::RenderTable::avoidsFloats):
- 7:35 AM Changeset in webkit [16402] by
-
- 1 edit in trunk/LayoutTests/tables/mozilla/bugs/bug24200.html
Update buggy table test to not have a degenrate column structure.
- 7:35 AM Changeset in webkit [16401] by
-
- 1 edit in trunk/LayoutTests/tables/mozilla_expected_failures/core/table_rules.html
Update buggy table test to say rules=groups and not rules=group
- 1:00 AM Changeset in webkit [16400] by
-
- 4 adds in trunk/LayoutTests/fast/table
Add frame/rules layout test.
- 12:57 AM Changeset in webkit [16399] by
-
- 9 edits in trunk/WebCore
Fix for bugzilla bug 3240, implement support for the HTML4 "frame" and
"rules" attributes on tables.
Reviewed by bradee-oh
Well-covered by existing layout tests.
- html/HTMLTableCellElement.cpp: (WebCore::HTMLTableCellElement::additionalAttributeStyleDecl):
- html/HTMLTableColElement.cpp: (WebCore::HTMLTableColElement::additionalAttributeStyleDecl):
- html/HTMLTableColElement.h:
- html/HTMLTableElement.cpp: (WebCore::HTMLTableElement::HTMLTableElement): (WebCore::HTMLTableElement::~HTMLTableElement): (WebCore::HTMLTableElement::setCaption): (WebCore::HTMLTableElement::setTHead): (WebCore::HTMLTableElement::setTFoot): (WebCore::HTMLTableElement::setTBody): (WebCore::HTMLTableElement::createTHead): (WebCore::HTMLTableElement::deleteTHead): (WebCore::HTMLTableElement::createTFoot): (WebCore::HTMLTableElement::deleteTFoot): (WebCore::HTMLTableElement::createCaption): (WebCore::HTMLTableElement::deleteCaption): (WebCore::HTMLTableElement::insertRow): (WebCore::HTMLTableElement::deleteRow): (WebCore::HTMLTableElement::addChild): (WebCore::HTMLTableElement::childrenChanged): (WebCore::HTMLTableElement::mapToEntry): (WebCore::HTMLTableElement::parseMappedAttribute): (WebCore::HTMLTableElement::additionalAttributeStyleDecl): (WebCore::HTMLTableElement::getSharedCellDecl): (WebCore::HTMLTableElement::getSharedGroupDecl): (WebCore::HTMLTableElement::attach):
- html/HTMLTableElement.h: (WebCore::HTMLTableElement::caption): (WebCore::HTMLTableElement::tHead): (WebCore::HTMLTableElement::tFoot): (WebCore::HTMLTableElement::):
- html/HTMLTableRowElement.h:
- html/HTMLTableSectionElement.cpp: (WebCore::HTMLTableSectionElement::additionalAttributeStyleDecl):
- html/HTMLTableSectionElement.h:
- 12:43 AM Changeset in webkit [16398] by
-
- 4 adds in trunk/LayoutTests/fast/text/basic
Add layout test for bug 4192.
- 12:39 AM Changeset in webkit [16397] by
-
- 1 edit in trunk/WebCore/ChangeLog
Fix for bugzilla bug 4192, font size wrong for <tt> elements that
specify their own new font-family list. Make sure to always
reset the generic family along with the family list when mapping in
new font-family values.
Reviewed by bradee-oh
fast/text/basic/generic-family-reset.html
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
- 12:39 AM Changeset in webkit [16396] by
-
- 2 edits in trunk/WebCore
Fix for bugzilla bug 4129, font size wrong for <tt> elements that
specify their own new font-family list. Make sure to always
reset the generic family along with the family list when mapping in
new font-family values.
Reviewed by bradee-oh
fast/text/basic/generic-family-reset.html
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
- 12:29 AM Changeset in webkit [16395] by
-
- 18 edits2 deletes in trunk
WebCore:
Reviewed by Hyatt
Pruning code relating to WebKit's icon loader
- bridge/mac/WebCoreIconDatabaseBridge.h:
- bridge/mac/WebCoreIconDatabaseBridge.mm:
- loader/icon/IconDatabase.h:
- page/Frame.cpp: (WebCore::Frame::endIfNotLoading): Moved a FIXME in from WebKit's IconLoader to its new home
WebKit:
Reviewed by Hyatt
WebIconLoader is dead, long live WebCore::IconLoader
(code prune)
- Loader/WebFrameLoader.h:
- Loader/WebFrameLoader.m: (-[WebFrameLoader dealloc]): (-[WebFrameLoader commitProvisionalLoad]):
- Loader/WebIconLoader.h: Removed.
- Loader/WebIconLoader.m: Removed.
- Misc/WebIconDatabase.h:
- Misc/WebIconDatabase.m:
- Misc/WebIconDatabasePrivate.h:
- WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge notifyIconChanged:]):
- WebCoreSupport/WebIconDatabaseBridge.h:
- WebCoreSupport/WebIconDatabaseBridge.m: (-[WebIconDatabaseBridge _init]): (-[WebIconDatabaseBridge _setIconData:forIconURL:]): (-[WebIconDatabaseBridge _setHaveNoIconForIconURL:]):
- WebKit.exp:
- WebKit.xcodeproj/project.pbxproj:
- WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _stopLoading]): (-[WebDataSource _setPrimaryLoadComplete:]):
- WebView/WebDataSourceInternal.h:
Sep 16, 2006:
- 2:13 PM Changeset in webkit [16394] by
-
- 9 edits2 deletes in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10885
Auto-generate DOMHTMLDocument for the Objective-C bindings
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMHTML.mm: (-[DOMHTMLDocument createDocumentFragmentWithText:]):
- bindings/objc/DOMHTMLDocument.h: Removed.
- bindings/objc/DOMHTMLDocument.mm: Removed.
- bindings/objc/PublicDOMInterfaces.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- html/HTMLDocument.idl:
- platform/DeprecatedString.h: (WebCore::DeprecatedString::operator NSString*):
- 9:15 AM Changeset in webkit [16393] by
-
- 15 edits in trunk/WebCore
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10866
Code in kcanvas/ should not use Private
Remove Private classes and tweak coding style.
- 8:13 AM Changeset in webkit [16392] by
-
- 4 edits in trunk
2006-09-16 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Anders.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10887
Fix build error
- bindings/objc/DOMPrivate.h: Remove reference to DOMEventPrivate.h.
2006-09-16 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Anders.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10887
Fix build error
- MigrateHeaders.make: Remove reference to DOMEventPrivate.h.
- 8:11 AM Changeset in webkit [16391] by
-
- 2 edits in trunk/WebCore
Reviewed by Anders.
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10886
REGRESSION (r16387): Reproducible crash when mousing over HTML document
- Special case method [DOMNode ownerDocument] to call document() instead or ownerDocument() to return to the old behavior.
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGeneratorObjC.pm:
Sep 15, 2006:
- 9:19 PM Changeset in webkit [16390] by
-
- 1 edit in trunk/WebCore/ChangeLog
My ChangeLog msg got out of order. *sigh*
- 9:17 PM Changeset in webkit [16389] by
-
- 2 edits in trunk/WebCore
Reviewed by Brady.
Make new style ObjC methods public API.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMPrivate.h:
- bindings/objc/PublicDOMInterfaces.h:
- 9:04 PM Changeset in webkit [16388] by
-
- 6 edits in trunk
WebCore:
Reviewed by Brady.
Make new style ObjC methods public API.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMPrivate.h:
- bindings/objc/PublicDOMInterfaces.h:
WebKit:
Reviewed by Brady.
Make new style ObjC methods public API.
- MigrateHeaders.make:
- 8:30 PM Changeset in webkit [16387] by
-
- 11 edits2 deletes in trunk
WebCore:
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10870
Auto-generate DOMNode for the Objective-C bindings
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (-[DOMNode boundingBox]): (-[DOMNode lineBoxRects]):
- bindings/objc/DOMEvents.h:
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMNode.h: Removed.
- bindings/objc/DOMNode.mm: Removed.
- bindings/objc/PublicDOMInterfaces.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- dom/Node.idl:
WebKit:
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10870
Auto-generate DOMNode for the Objective-C bindings
- MigrateHeaders.make:
- 7:24 PM Changeset in webkit [16386] by
-
- 10 edits in trunk
WebCore:
Reviewed by Justin.
Removed alter selection logic from WebCoreFrameBridge and moved to SelectionController.
- bridge/mac/WebCoreFrameBridge.h:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge centerSelectionInVisibleArea]): (-[WebCoreFrameBridge rangeByExpandingSelectionWithGranularity:]): (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:direction:granularity:]): (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]): (-[WebCoreFrameBridge alterCurrentSelection:verticalDistance:]): (-[WebCoreFrameBridge replaceMarkedTextWithText:]): (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]): (-[WebCoreFrameBridge increaseSelectionListLevel]): (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]): (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]): (-[WebCoreFrameBridge decreaseSelectionListLevel]): (-[WebCoreFrameBridge insertLineBreak]): (-[WebCoreFrameBridge insertParagraphSeparator]): (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]): (-[WebCoreFrameBridge insertText:selectInsertedText:]): (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:]): (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:granularity:]): (createMouseEventFromDraggingInfo):
- editing/SelectionController.cpp: (WebCore::SelectionController::moveTo): (WebCore::SelectionController::setSelection): (WebCore::SelectionController::modify): (WebCore::SelectionController::setBase): (WebCore::SelectionController::setExtent):
- editing/SelectionController.h:
- page/Frame.cpp: (WebCore::Frame::revealSelection): (WebCore::Frame::revealCaret):
- page/Frame.h:
WebKit:
Reviewed by Justin.
Call the bridge directly for alter selection calls. All of this logic is now
in WebCore's SelectionController.
- WebView/WebHTMLView.m: (-[NSArray moveBackward:]): (-[NSArray moveBackwardAndModifySelection:]): (-[NSArray moveDown:]): (-[NSArray moveDownAndModifySelection:]): (-[NSArray moveForward:]): (-[NSArray moveForwardAndModifySelection:]): (-[NSArray moveLeft:]): (-[NSArray moveLeftAndModifySelection:]): (-[NSArray moveRight:]): (-[NSArray moveRightAndModifySelection:]): (-[NSArray moveToBeginningOfDocument:]): (-[NSArray moveToBeginningOfDocumentAndModifySelection:]): (-[NSArray moveToBeginningOfSentence:]): (-[NSArray moveToBeginningOfSentenceAndModifySelection:]): (-[NSArray moveToBeginningOfLine:]): (-[NSArray moveToBeginningOfLineAndModifySelection:]): (-[NSArray moveToBeginningOfParagraph:]): (-[NSArray moveToBeginningOfParagraphAndModifySelection:]): (-[NSArray moveToEndOfDocument:]): (-[NSArray moveToEndOfDocumentAndModifySelection:]): (-[NSArray moveToEndOfSentence:]): (-[NSArray moveToEndOfSentenceAndModifySelection:]): (-[NSArray moveToEndOfLine:]): (-[NSArray moveToEndOfLineAndModifySelection:]): (-[NSArray moveToEndOfParagraph:]): (-[NSArray moveToEndOfParagraphAndModifySelection:]): (-[NSArray moveParagraphBackwardAndModifySelection:]): (-[NSArray moveParagraphForwardAndModifySelection:]): (-[NSArray moveUp:]): (-[NSArray moveUpAndModifySelection:]): (-[NSArray moveWordBackward:]): (-[NSArray moveWordBackwardAndModifySelection:]): (-[NSArray moveWordForward:]): (-[NSArray moveWordForwardAndModifySelection:]): (-[NSArray moveWordLeft:]): (-[NSArray moveWordLeftAndModifySelection:]): (-[NSArray moveWordRight:]): (-[NSArray moveWordRightAndModifySelection:]): (-[NSArray pageUp:]): (-[NSArray pageDown:]): (-[NSArray pageUpAndModifySelection:]): (-[NSArray pageDownAndModifySelection:]):
- 6:40 PM Changeset in webkit [16385] by
-
- 3 edits in trunk/WebCore
Reviewed by Anders
Added the ability to get a mutable char* from a CString, which will copy the internal
buffer if the ref count is greater than 1 so your mutable char* won't affect any other
referrer of that buffer.
- platform/CString.cpp: (WebCore::CString::mutableData): (WebCore::CString::copyBufferIfNeeded):
- platform/CString.h:
- 6:17 PM Changeset in webkit [16384] by
-
- 4 edits4 adds in trunk
LayoutTests:
Reviewed by harrison
<rdar://problem/4674869>
REGRESSION: selecting text to write over results in cursor jumping to middle of next line
- editing/deleting/whitespace-pre-1-expected.checksum: Added.
- editing/deleting/whitespace-pre-1-expected.png: Added.
- editing/deleting/whitespace-pre-1-expected.txt: Added.
- editing/deleting/whitespace-pre-1.html: Added.
WebCore:
Reviewed by harrison
<rdar://problem/4674869>
REGRESSION: selecting text to write over results in cursor jumping to middle of next line
- editing/SelectionController.cpp: (WebCore::SelectionController::modify): Added lineBoundary to test fix.
- editing/visible_units.cpp: (WebCore::endOfLine): If the last box on the line is a lineBreak, return the position before it, not after it.
- 5:55 PM Changeset in webkit [16383] by
-
- 4 edits in trunk/WebKitTools
2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Brady.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10635
Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
- BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
- BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
- BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
- 5:39 PM Changeset in webkit [16382] by
-
- 18 edits1 add in trunk
2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
Bug 10864: Linux\GDK build fixes
- JavaScriptCoreSources.bkl:
- jscore.bkl:
2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
Bug 10864: Linux\GDK build fixes
- Projects/gdk/webcore-gdk.bkl:
- WebCoreSources.bkl:
- platform/gdk/FontCacheGdk.cpp:
- platform/gdk/FontDataGdk.cpp: (WebCore::FontData::platformInit):
- platform/gdk/FontGdk.cpp: (WebCore::Font::drawGlyphs):
- platform/gdk/FrameGdk.cpp: (WebCore::FrameGdk::handleGdkEvent):
- platform/gdk/FrameGdk.h:
- platform/gdk/ImageGdk.cpp: Added. (WebCore::Image::initPlatformData): (WebCore::Image::invalidatePlatformData): (WebCore::Image::loadPlatformResource): (WebCore::Image::supportsType):
- platform/gdk/RenderPopupMenuGdk.cpp: (WebCore::RenderPopupMenuGdk::hidePopup):
- platform/gdk/RenderPopupMenuGdk.h:
- platform/gdk/ScreenGdk.cpp: (WebCore::drawableForPage): (WebCore::screenRect): (WebCore::screenDepth): (WebCore::usableScreenRect): (WebCore::scaleFactor):
- platform/gdk/SystemTimeLinux.cpp: (WebCore::currentTime):
- platform/gdk/TemporaryLinkStubs.cpp: (FrameGdk::bindingRootObject): (FrameGdk::markMisspellings): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel): (FrameGdk::shouldChangeSelection): (FrameGdk::respondToChangedSelection): (FrameGdk::respondToChangedContents): (Path::contains): (PlatformScrollBar::PlatformScrollBar): (PlatformScrollBar::~PlatformScrollBar): (PlatformScrollBar::width): (PlatformScrollBar::height): (PlatformScrollBar::setEnabled): (PlatformScrollBar::paint): (PlatformScrollBar::setScrollBarValue): (PlatformScrollBar::setKnobProportion): (PlatformScrollBar::setRect): (ScrollBar::ScrollBar): (FileChooser::FileChooser): (FileChooser::~FileChooser): (FileChooser::openFileChooser): (FileChooser::basenameForWidth): (FileChooser::uploadControlDetaching): (FileChooser::chooseFile): (Icon::Icon): (Icon::~Icon): (Icon::newIconForFile): (Icon::paint): (IconLoader::stopLoading): (IconLoader::startLoading): (IconLoader::createForFrame): (IconDatabase::isIconExpiredForIconURL): (IconDatabase::hasEntryForIconURL): (IconDatabase::sharedIconDatabase):
- platform/gdk/WidgetGdk.cpp:
- webcore-base.bkl:
- 5:36 PM Changeset in webkit [16381] by
-
- 3 edits in trunk/LayoutTests
Reviewed by Justin.
Updating results to new expected values.
- fast/lists/drag-into-marker-expected.txt:
- fast/repaint/selection-after-delete-expected.txt:
- 5:26 PM Changeset in webkit [16380] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix.
- JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
- 4:57 PM Changeset in webkit [16379] by
-
- 3 edits in trunk/LayoutTests
Reviewed by Justin.
Updating results to new expected values.
- editing/inserting/4278698-expected.txt:
- fast/dom/window-xy-properties-expected.txt:
- 4:55 PM Changeset in webkit [16378] by
-
- 18 edits1 add in trunk/WebCore
2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
Fix svg memory leaks.
Reworked SVGList to deal with RefPtr's for ptr types
which makes manual refcounting unnecessary, and is much safer.
Removing all virtual functions (nullItem) from SVGList, and
also remove SVGListBase. Switch to a similar concept like
Vector/VectorTraits (see new file SVGListTraits.h).
Credits go to Eric/Maciej for the inspiration.
- CMakeLists.txt: Add SVGListTraits.cpp to build
- WebCore.xcodeproj/project.pbxproj: Ditto.
- bindings/scripts/CodeGeneratorJS.pm: Generator changes for SVGTransform/PathSeg/LengthList (now RefPtr based)
- kcanvas/RenderSVGText.cpp: Add some get() methods, as SVGLengthList is RefPtr based now. (WebCore::RenderSVGText::translationForAttributes):
- ksvg2/svg/SVGAnimateTransformElement.cpp: Add some get() methods, as SVGTransformList is RefPtr based now. (WebCore::SVGAnimateTransformElement::handleTimerEvent):
- ksvg2/svg/SVGElementInstanceList.cpp: Be RefPtr based. (WebCore::SVGElementInstanceList::SVGElementInstanceList):
- ksvg2/svg/SVGElementInstanceList.h:
- ksvg2/svg/SVGLengthList.cpp: Ditto. (WebCore::SVGLengthList::SVGLengthList):
- ksvg2/svg/SVGLengthList.h: Ditto.
- ksvg2/svg/SVGList.h: Rewrote, as described above. (WebCore::SVGListTypeOperations::nullItem): (WebCore::SVGList::SVGList): (WebCore::SVGList::~SVGList): (WebCore::SVGList::clear): (WebCore::SVGList::getFirst): (WebCore::SVGList::getLast): (WebCore::SVGList::getItem): (WebCore::SVGList::replaceItem): (WebCore::SVGList::removeItem):
- ksvg2/svg/SVGListTraits.cpp: Added.
- ksvg2/svg/SVGListTraits.h: Added. (WebCore::):
- ksvg2/svg/SVGPathElement.cpp: Add some get() methods, as SVGPathSegList is RefPtr based now. (WebCore::SVGPathElement::toPathData):
- ksvg2/svg/SVGPathSegList.cpp: Be RefPtr based. (WebCore::SVGPathSegList::SVGPathSegList):
- ksvg2/svg/SVGPathSegList.h: Ditto.
- ksvg2/svg/SVGTransform.cpp: Style cleanup. (SVGTransform::SVGTransform):
- ksvg2/svg/SVGTransformList.cpp: Be RefPtr based. (SVGTransformList::SVGTransformList): (SVGTransformList::createSVGTransformFromMatrix): (SVGTransformList::consolidate):
- ksvg2/svg/SVGTransformList.h: Ditto.
- ksvg2/svg/SVGTransformable.cpp: Fix RefPtr usage of SVGTransform. (SVGTransformable::parseTransformAttribute):
- 4:30 PM Changeset in webkit [16377] by
-
- 5 edits in trunk/WebCore
2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fix build on Qt/Linux and implement Frame::addMessageToConsole to
be able to see javascript errors for instance.
- CMakeLists.txt:
- platform/qt/FrameQt.h:
- platform/qt/FrameQt.cpp: Implement addMessageToConsole. (WebCore::FrameQt::bindingRootObject):
- platform/qt/TemporaryLinkStubs.cp (WebCore::IconDatabase::hasEntryForIconURL): (WebCore::IconDatabase::sharedIconDatabase):
- 3:47 PM Changeset in webkit [16376] by
-
- 2 edits in trunk/JavaScriptCore
2006-09-15 Anders Carlsson <acarlsson@apple.com>
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Fix the release build.
- 3:31 PM Changeset in webkit [16375] by
-
- 2 edits in trunk/WebKit
Reviewed by eseidel.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10876
containsItemForURLUnicode uses matchLetter instead of
matchUnicodeLetter
Small fixes for _WebCoreHistoryProvider.
- History/WebHistory.m: Consistently use BUFFER_SIZE #define (-[_WebCoreHistoryProvider containsItemForURLLatin1:length:]): (-[_WebCoreHistoryProvider containsItemForURLUnicode:length:]): Replace incorrect call to matchLetter to matchUnicodeLetter
- 3:23 PM Changeset in webkit [16374] by
-
- 35 edits in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10869
Auto-generate the internal methods for the Objective-C bindings
- Auto-generates the internal method (ie. the _fooBar and _fooBarWith methods) implementations where standard. For cases where a custom implementation was needed, added a [ObjCNoInternal] extended attribute to the corresponding IDL.
- Some general cleanup of some of the non-generated bindings, to bring them in- line with what the generated bindings look like.
- bindings/objc/DOM.mm: (-[DOMNode description]):
- bindings/objc/DOMCSS.mm: (-[DOMCSSPrimitiveValue WebCore::]): (-[DOMDocument getComputedStyle::]): (-[DOMDocument getMatchedCSSRules::]):
- bindings/objc/DOMEvents.mm: (-[DOMEvent WebCore::]):
- bindings/objc/DOMHTML.mm:
- bindings/objc/DOMHTMLDocument.mm: (-[DOMHTMLDocument title]): (-[DOMHTMLDocument setTitle:]): (-[DOMHTMLDocument referrer]): (-[DOMHTMLDocument domain]): (-[DOMHTMLDocument URL]): (-[DOMHTMLDocument body]): (-[DOMHTMLDocument setBody:]): (-[DOMHTMLDocument images]): (-[DOMHTMLDocument applets]): (-[DOMHTMLDocument links]): (-[DOMHTMLDocument forms]): (-[DOMHTMLDocument anchors]): (-[DOMHTMLDocument cookie]): (-[DOMHTMLDocument setCookie:]): (-[DOMHTMLDocument open]): (-[DOMHTMLDocument close]): (-[DOMHTMLDocument write:]): (-[DOMHTMLDocument writeln:]): (-[DOMHTMLDocument getElementById:]): (-[DOMHTMLDocument getElementsByName:]): (-[DOMHTMLDocument WebCore::]): (+[DOMHTMLDocument _HTMLDocumentWith:WebCore::]):
- bindings/objc/DOMHTMLOptionElement.mm: (-[DOMHTMLOptionElement form]): (-[DOMHTMLOptionElement defaultSelected]): (-[DOMHTMLOptionElement setDefaultSelected:]): (-[DOMHTMLOptionElement text]): (-[DOMHTMLOptionElement index]): (-[DOMHTMLOptionElement disabled]): (-[DOMHTMLOptionElement setDisabled:]): (-[DOMHTMLOptionElement label]): (-[DOMHTMLOptionElement setLabel:]): (-[DOMHTMLOptionElement selected]): (-[DOMHTMLOptionElement setSelected:]): (-[DOMHTMLOptionElement value]): (-[DOMHTMLOptionElement setValue:]): (-[DOMHTMLOptionElement WebCore::]): (+[DOMHTMLOptionElement _HTMLOptionElementWith:WebCore::]):
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMNode.mm: (-[DOMNode dealloc]): (-[DOMNode finalize]): (-[DOMNode nodeName]): (-[DOMNode nodeValue]): (-[DOMNode setNodeValue:]): (-[DOMNode nodeType]): (-[DOMNode parentNode]): (-[DOMNode childNodes]): (-[DOMNode firstChild]): (-[DOMNode lastChild]): (-[DOMNode previousSibling]): (-[DOMNode nextSibling]): (-[DOMNode attributes]): (-[DOMNode ownerDocument]): (-[DOMNode insertBefore::]): (-[DOMNode replaceChild::]): (-[DOMNode removeChild:]): (-[DOMNode appendChild:]): (-[DOMNode hasChildNodes]): (-[DOMNode cloneNode:]): (-[DOMNode normalize]): (-[DOMNode isSupported::]): (-[DOMNode namespaceURI]): (-[DOMNode prefix]): (-[DOMNode setPrefix:]): (-[DOMNode localName]): (-[DOMNode hasAttributes]): (-[DOMNode isSameNode:]): (-[DOMNode isEqualNode:]): (-[DOMNode isDefaultNamespace:]): (-[DOMNode lookupPrefix:]): (-[DOMNode lookupNamespaceURI:]): (-[DOMNode textContent]): (-[DOMNode setTextContent:]): (-[DOMNode boundingBox]): (-[DOMNode lineBoxRects]):
- bindings/objc/DOMObject.mm: (-[DOMObject _init]):
- bindings/objc/DOMXPath.mm: (-[DOMNativeXPathNSResolver dealloc]): (-[DOMNativeXPathNSResolver finalize]): (-[DOMNativeXPathNSResolver WebCore::]): (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]): (+[DOMNativeXPathNSResolver _xpathNSResolverWith:WebCore::]): (-[DOMNativeXPathNSResolver lookupNamespaceURI:]):
- bindings/scripts/CodeGeneratorObjC.pm:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]): (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
- css/CSSCharsetRule.idl:
- css/CSSFontFaceRule.idl:
- css/CSSImportRule.idl:
- css/CSSMediaRule.idl:
- css/CSSPageRule.idl:
- css/CSSPrimitiveValue.idl:
- css/CSSRule.idl:
- css/CSSStyleRule.idl:
- css/CSSStyleSheet.idl:
- css/CSSUnknownRule.idl:
- css/CSSValue.idl:
- css/CSSValueList.idl:
- css/StyleSheet.idl:
- dom/Event.idl:
- dom/KeyboardEvent.idl:
- dom/MouseEvent.idl:
- dom/MutationEvent.idl:
- dom/NodeIterator.idl:
- dom/OverflowEvent.idl:
- dom/TreeWalker.idl:
- dom/UIEvent.idl:
- dom/WheelEvent.idl:
- 3:10 PM Changeset in webkit [16373] by
-
- 7 edits in trunk
WebCore:
Reviewed by timothy.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10865
New file upload control should match the width of the old one
Make width of new file upload control match the old one as closely as
possible.
- rendering/RenderFileUploadControl.cpp:
LayoutTests:
Reviewed by timothy.
Part of http://bugzilla.opendarwin.org/show_bug.cgi?id=10865
New file upload control should match the width of the old one
Update tests to match new file upload control.
- fast/forms/file-input-disabled-expected.txt:
- fast/forms/form-element-geometry-expected.txt:
- fast/forms/input-appearance-height-expected.txt:
- fast/forms/input-value-expected.txt:
- 3:01 PM Changeset in webkit [16372] by
-
- 2 edits in trunk/WebCore
Reviewed by Eric.
Remove the SVG IDL files from the Copy Resources phase.
- WebCore.xcodeproj/project.pbxproj:
- 2:52 PM Changeset in webkit [16371] by
-
- 11 edits1 add in trunk/JavaScriptCore
2006-09-15 Anders Carlsson <acarlsson@apple.com>
Reviewed by Steve.
Add JavaScriptCore API to the build.
- API/JSBase.cpp:
- API/JSCallbackConstructor.cpp:
- API/JSCallbackFunction.cpp:
- API/JSCallbackObject.cpp:
- API/JSClassRef.cpp:
- API/JSContextRef.cpp:
- API/JSObjectRef.cpp:
- API/JSStringRef.cpp:
- API/JSValueRef.cpp:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- os-win32/stdbool.h: Added.
- 2:48 PM Changeset in webkit [22175] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-15 Anders Carlsson <acarlsson@apple.com>
Reviewed by Steve.
- WebCore.vcproj/WebCore.vcproj: Add JavaScriptCore/ to include path.
- 1:58 PM Changeset in webkit [22174] by
-
- 6 edits3 adds in branches/WindowsMerge
WebCore:
Reviewed by sfalken.
Implement historyContains() on Windows (rdar://4733770)
- WebCore.vcproj/WebCore.vcproj: Add platform\win\WebCoreHistory.{cpp,h} and bridge\win\HistoryWin.cpp to project.
- bridge/win/HistoryWin.cpp: Added. (WebCore::historyContains):
- platform/win/TemporaryLinkStubs.cpp: Remove stub for WebCore::historyContains()
- platform/win/WebCoreHistory.cpp: Added. (WebCore::WebCoreHistory::setHistoryProvider): (WebCore::WebCoreHistory::historyProvider):
- platform/win/WebCoreHistory.h: Added.
WebKit:
Reviewed by sfalken.
Implement historyContains() on Windows (rdar://4733770)
- WebHistory.cpp: Add new private _WebCoreHistoryProvider class. (WebHistory::setOptionalSharedHistory): Call WebCore::WebCoreHistory::setHistoryProvider so that WebCore can access history. (WebHistory::itemForURL): Extract itemForURLString method. (WebHistory::itemForURLString): Added. (WebHistory::containsItemForURLString): Added. (_WebCoreHistoryProvider::_WebCoreHistoryProvider): Added. (_WebCoreHistoryProvider::~_WebCoreHistoryProvider): Added. (matchLetter): Ported from Mac's WebHistory.m. (matchUnicodeLetter): Ditto. (_WebCoreHistoryProvider::containsItemForURLLatin1): Ditto. (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
- WebHistory.h: Fix typo: IID_WebHistoryItemPrivate --> IID_WebHistoryPrivate, added new methods to IWebHistoryPrivate and WebHistory
- 11:09 AM Changeset in webkit [16370] by
-
- 3 edits in trunk/LayoutTests
- just layout test result changes
- fast/dom/Range/range-compareNode-expected.txt:
- fast/dom/Range/range-intersectsNode-expected.txt:
- 2:38 AM Changeset in webkit [16369] by
-
- 2 edits in trunk/WebCore
Reviewed by Eric Siedel
Dumped the use of CGColorRef and directly use the floating point data from
WebCore::Color
This fixes the performance regression found between 16285 and 16286
- platform/mac/FontMac.mm: (WebCore::Font::drawComplexText): (WebCore::Font::drawGlyphs):
Sep 14, 2006:
- 11:09 PM Changeset in webkit [16368] by
-
- 4 edits in trunk/WebCore
2006-09-14 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Adam.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10838
Bug 10838: REGRESSION: Leaking of WebScriptObjectPrivate
FrameMac relies on its cleanupPluginObjects being called to perform cleanup. The virtual
Frame::cleanupPluginObjects method is called from Frame's destructor, which results
in Frame::cleanupPluginObjects being called rather than FrameMac::cleanupPluginObjects.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::~FrameMac): Call cancelAndClear to ensure that FrameMac::cleanupPluginObjects will be called from Frame::clear
- page/Frame.cpp: (WebCore::Frame::~Frame): Use cancelAndClear. (WebCore::Frame::cancelAndClear): Move cancellation and clearing into a separate method that FrameMac can use.
- page/Frame.h:
- 4:44 PM Changeset in webkit [16367] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej's rubber stamp
Exact same fix I just made, but in the other method I horked up
Also added a reference to the bugzilla in comments
- page/Frame.cpp: (WebCore::Frame::endIfNotLoading): (WebCore::Frame::stop):
- 3:58 PM Changeset in webkit [16366] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej
Fixed a bad iFrame crash, resolving some of the layout test badness
- page/Frame.cpp: (WebCore::Frame::endIfNotLoading):
- Added a RefPtr to protect the frame itself to prevent its destruction during this method
- 12:52 PM Changeset in webkit [16365] by
-
- 9 edits12 adds in trunk
LayoutTests:
Reviewed by harrison
<rdar://problem/4655880> Up/Down arrows skip over To Do
- editing/selection/mixed-editability-3-expected.checksum: Added.
- editing/selection/mixed-editability-3-expected.png: Added.
- editing/selection/mixed-editability-3-expected.txt: Added.
- editing/selection/mixed-editability-3.html: Added.
- editing/selection/mixed-editability-4-expected.checksum: Added.
- editing/selection/mixed-editability-4-expected.png: Added.
- editing/selection/mixed-editability-4-expected.txt: Added.
- editing/selection/mixed-editability-4.html: Added.
- editing/selection/mixed-editability-5-expected.checksum: Added.
- editing/selection/mixed-editability-5-expected.png: Added.
- editing/selection/mixed-editability-5-expected.txt: Added.
- editing/selection/mixed-editability-5.html: Added.
WebCore:
Reviewed by harrison
<rdar://problem/4655880> Up/Down arrows skip over To Do
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge canDeleteRange:]): Added a FIXME.
- dom/Node.cpp: Removed the unused inSameRootEditableElement.
- dom/Node.h:
- editing/SelectionController.cpp: (WebCore::SelectionController::modify): Added documentboundary to granularities in order test a fix.
- editing/visible_units.cpp: (WebCore::previousLinePosition): Use highestEditableRoot so that this function can move from editable content into editable content that's embedded in non-editable content. (WebCore::nextLinePosition): Ditto. (WebCore::startOfEditableContent): Renamed from startOfEditableRoot and use highestEditableRoot. This is the behavior that callers desire. This fixes Command + Up/Down. (WebCore::endOfEditableContent): Ditto.
- editing/visible_units.h:
- 10:34 AM Changeset in webkit [22173] by
-
- 4 edits in branches/WindowsMerge
2006-09-14 Steve Falkenburg <sfalken@apple.com>
Reviewed by Lou Amadio.
iBench fix - fix null deref in form submission case without a form element.
- WebFrame.cpp: (WebFrame::submitForm):
2006-09-14 Steve Falkenburg <sfalken@apple.com>
Reviewed by Lou Amadio.
iBench fix - fix WinInet form post code to not reference a stale pointer.
(found by Application Verifier)
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoaderWndProc):
- 10:30 AM Changeset in webkit [22172] by
-
- 3 edits in branches/WindowsMerge/WebCore
Reviewed by sfalken.
A little #include cleanup
- WebCore.vcproj/WebCore.vcproj: Add loader/icon to AdditionalIncludeDirectories
- platform/win/TemporaryLinkStubs.cpp: Remove "loader/icon" from #include of IconLoader.h
- 10:07 AM Changeset in webkit [16364] by
-
- 3 edits in trunk/WebCore
2006-09-14 Karthik Kumar <karthikkumar@gmail.com>
Reviewed by timothy. Landed by aroben.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10856
Windows build fixes after r16360
- WebCore.vcproj/WebCore/WebCore.vcproj: Add loader\icon to AdditionalIncludeDirectories
- platform/win/TemporaryLinkStubs.cpp: Add link stubs for IconLoader, IconDatabase (IconLoader::stopLoading): (IconLoader::startLoading): (IconLoader::createForFrame): (IconDatabase::isIconExpiredForIconURL): (IconDatabase::hasEntryForIconURL): (IconDatabase::sharedIconDatabase):
- 2:00 AM Changeset in webkit [16363] by
-
- 4 edits in trunk/WebCore
Part of a build fix - rest will be filling in some temporary link stubs
- 1:50 AM Changeset in webkit [22171] by
-
- 3 edits in branches/WindowsMerge/WebCore
Build Fix
- 1:08 AM Changeset in webkit [16362] by
-
- 7 edits in trunk
2006-09-14 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Justin Garcia.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=10726 Crash in ApplyStyleCommand::applyRelativeFontStyleChange
- editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Prevent a crash by makeing sure that the 'beyondEnd' node is after the start node.
2006-09-14 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Justin Garcia.
Modified testcase for:
http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
Crash in ApplyStyleCommand::applyRelativeFontStyleChange
- editing/style/table-selection-expected.checksum:
- editing/style/table-selection-expected.png:
- editing/style/table-selection-expected.txt:
- editing/style/table-selection.html: This testcase was for 10579, which is very similar to this bug (10726) Now the testcase tests both bugs.
- 12:29 AM Changeset in webkit [16361] by
-
- 3 edits in trunk/WebCore
2006-09-14 MorganL <morlmor@yahoo.com>
Reviewed by Brady.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
Various bugs/crashes in ResourceLoaderWin with local files.
- platform/ResourceLoaderInternal.h: (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal): (WebCore::ResourceLoader::fileLoadTimer):
- 12:20 AM Changeset in webkit [16360] by
-
- 17 edits3 adds in trunk
WebCore:
Reviewed by Maciej
Icon loads now take place in WebCore
- WebCore.xcodeproj/project.pbxproj:
- bridge/BrowserExtension.h:
- bridge/mac/BrowserExtensionMac.h:
- bridge/mac/BrowserExtensionMac.mm:
- Moved enforcement of a Mozilla Favicon extension elsewhere
- bridge/mac/FrameMac.h:
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::originalRequestURL):
- Added accessor to "original request URL"
- bridge/mac/WebCoreFrameBridge.h:
- Removed methods to set the iconURL as all loading is now done in WebCore
- Added call throughs to notify WebKit an Icon is done loading, and a to get the original request URL
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process):
- Moved enforcement of a Mozilla Favicon extension elsewhere
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::setIconURLForPageURL):
- Changed an ASSERT to correctly handle a sketchy (invalid) situation
- loader/icon/IconLoader.h: Added.
- loader/icon/IconLoader.cpp: Added. (IconLoader::IconLoader): (IconLoader::createForFrame):
- Static factory method with a private constructor to enforce "you MUST have a Frame to create an IconLoader" semantics (IconLoader::~IconLoader): (IconLoader::startLoading): (IconLoader::stopLoading): (IconLoader::receivedData):
- ResourceLoaderClient delegate (IconLoader::receivedAllData):
- Ditto
- loader/mac/IconLoaderMac.mm: Added. (IconLoader::receivedResponse): (IconLoader::notifyIconChanged):
- For now, these are platform specific methods
- One to get the HTTP response code of an icon load
- The other to call through to the app when the icon has changed (loaded)
- page/Frame.h:
- page/Frame.cpp: (WebCore::Frame::iconURL): (WebCore::Frame::setIconURL):
- Frame objects now have an inherent icon URL and a way to calculate/access it (WebCore::Frame::endIfNotLoading):
- This is where we actually kick off the IconLoader (WebCore::Frame::stop):
- Added call to stop loading the icon
- page/FramePrivate.h: (WebCore::FramePrivate::FramePrivate): (WebCore::FramePrivate::~FramePrivate):
- Added the icon URL as a private member
- Added the IconLoader as a private member, and clean it up on deletion
- platform/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::start): Added a valuable ASSERT
WebKit:
Reviewed by Maciej
Add infrastructure to support icon loads taking place in WebCore
Will remove WebKit icon loaders in a later patch
- WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge notifyIconChanged:]): (-[WebFrameBridge originalRequestURL]):
- Nuked two old, obsolete methods
- Added bridge for notifying of an icon change
- Added bridge for getting the "original request URL" which is still needed until that info is available in the WebCore loaders
- WebView/WebDataSource.m: (-[WebDataSource _loadIcon]):
- Empty body just for now, as it still gets called - next patch will prune all the old impl out
- 12:01 AM Changeset in webkit [16359] by
-
- 5 edits in trunk/WebCore
Fix for 10841, unable to check checkboxes inside labels.
Reviewed by xenon, bradee-oh
- css/html4.css:
- dom/Element.cpp: (WebCore::Element::contains):
- dom/Element.h:
- html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::defaultEventHandler):
Sep 13, 2006:
- 10:10 PM Changeset in webkit [22170] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-13 Steve Falkenburg <sfalken@apple.com>
Fixes for submission of WebCore. Doesn't affect build.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcproj/merge-opensource.sh:
- 10:03 PM Changeset in webkit [16358] by
-
- 2 edits in trunk/WebCore
2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Adam.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10834
Bug 10834: FileChooser constructor in FileChooserMac appears to overretain m_controller
- platform/mac/FileChooserMac.mm: (WebCore::FileChooser::FileChooser): Don't over-retain the OpenPanelController.
- 9:47 PM Changeset in webkit [16357] by
-
- 30 edits in trunk/LayoutTests
Rubberstamped by hyatt.
Updating tables results after hyatt landed a fix for
http://bugzilla.opendarwin.org/show_bug.cgi?id=8126
Padding must not apply to columns
- tables/mozilla/bugs/bug139524-2-expected.txt:
- tables/mozilla/bugs/bug139524-4-expected.txt:
- tables/mozilla/bugs/bug32841-expected.txt:
- tables/mozilla/dom/appendCol2-expected.txt:
- tables/mozilla/dom/deleteCol1-expected.txt:
- tables/mozilla/dom/deleteCol2-expected.txt:
- tables/mozilla/dom/deleteCol3-expected.txt:
- tables/mozilla/dom/deleteColGroup1-expected.txt:
- tables/mozilla/dom/deleteColGroup2-expected.txt:
- tables/mozilla/dom/insertColGroups1-expected.txt:
- tables/mozilla/dom/insertColGroups2-expected.txt:
- tables/mozilla/dom/insertCols1-expected.txt:
- tables/mozilla/dom/insertCols2-expected.txt:
- tables/mozilla/dom/insertCols3-expected.txt:
- tables/mozilla/dom/insertCols4-expected.txt:
- tables/mozilla/dom/insertCols5-expected.txt:
- tables/mozilla/marvin/body_col-expected.txt:
- tables/mozilla/marvin/x_col_span-expected.txt:
- tables/mozilla/marvin/x_col_width_px-expected.txt:
- tables/mozilla/marvin/x_colgroup_span-expected.txt:
- tables/mozilla/other/body_col-expected.txt:
- tables/mozilla_expected_failures/bugs/bug1128-expected.txt:
- tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt:
- tables/mozilla_expected_failures/bugs/bug45621-expected.txt:
- tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
- tables/mozilla_expected_failures/core/cols1-expected.txt:
- tables/mozilla_expected_failures/dom/appendCol1-expected.txt:
- tables/mozilla_expected_failures/dom/appendColGroup1-expected.txt:
- tables/mozilla_expected_failures/other/test4-expected.txt:
- 9:41 PM Changeset in webkit [16356] by
-
- 2 edits in trunk/WebCore
2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10836
Bug 10836: REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef
- platform/mac/FontMac.mm: (WebCore::Font::drawComplexText): Release CGColorRef after use. (WebCore::Font::drawGlyphs): Ditto.
- 7:27 PM Changeset in webkit [16355] by
-
- 3 edits in trunk/WebCore
2006-09-14 Anders Carlsson <acarlsson@apple.com>
Try fixing the Win32 build.
- bridge/win/FrameWin.h:
- platform/win/TemporaryLinkStubs.cpp: (FrameWin::bindingRootObject):
- 6:59 PM Changeset in webkit [16354] by
-
- 5 edits1 add in trunk/JavaScriptCore
2006-09-12 Steve Falkenburg <sfalken@apple.com>
Reviewed by Ada.
Build tweaks (doing JavaScriptCore now since it doesn't have
dependencies).
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
- JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Added.
- JavaScriptCore.vcproj/dftables/dftables.vcproj:
- JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
- 6:57 PM Changeset in webkit [22169] by
-
- 24 edits3 adds in branches/WindowsMerge
- 6:56 PM Changeset in webkit [16353] by
-
- 14 edits in trunk/WebCore
2006-09-14 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O.
Add USE defines for the generic JavaScriptCore bindings as well as NPAPI bindings.
- bindings/js/kjs_binding.cpp: (KJS::ScriptInterpreter::createLanguageInstanceForValue):
- bindings/js/kjs_dom.cpp: (KJS::getRuntimeObject):
- bridge/mac/FrameMac.h:
- config.h:
- html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::~HTMLAppletElement): (WebCore::HTMLAppletElement::detach):
- html/HTMLAppletElement.h:
- html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::~HTMLEmbedElement): (WebCore::HTMLEmbedElement::detach):
- html/HTMLEmbedElement.h:
- html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::~HTMLObjectElement): (WebCore::HTMLObjectElement::detach):
- html/HTMLObjectElement.h:
- html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::HTMLPlugInElement): (WebCore::HTMLPlugInElement::~HTMLPlugInElement): (WebCore::HTMLPlugInElement::createNPObject):
- html/HTMLPlugInElement.h:
- page/Frame.h:
- 6:13 PM Changeset in webkit [22168] by
-
- 3 edits in branches/WindowsMerge/WebKitWin
2006-09-13 Ada Chan <adachan@apple.com>
Reviewed by sfalken
- WebBackForwardList::containsItem()
- we can break once we've found the item
- Fixed a crashing bug with WebNotificationCenter::addObserver.
- 4:56 PM Changeset in webkit [22167] by
-
- 3 edits in branches/WindowsMerge/WebCore
Build fix
- WebCore.vcproj/WebCore.vcproj: Rename KHTML_XSLT to XSLT_SUPPORT, remove KHTML_NO_XBL
- config.h: Ditto.
- 4:01 PM Changeset in webkit [16352] by
-
- 1 edit in tags/WebCore-521.26.1/WebCore/Info.plist
Versioning
- 3:59 PM Changeset in webkit [16351] by
-
- 1 copy in tags/WebCore-521.26.1/WebCore
New tag part two.
- 3:58 PM Changeset in webkit [16350] by
-
- 1 add in tags/WebCore-521.26.1
New tag.
- 3:55 PM Changeset in webkit [22166] by
-
- 3 edits2 adds in branches/WindowsMerge/WebCore
Reviewed by beidson.
Initial implementation of Icon, FileChooser on Windows.
- WebCore.vcproj/WebCore.vcproj: Added FileChooserWin.cpp, IconWin.cpp
- platform/win/FileChooserWin.cpp: Added. (WebCore::FileChooser::FileChooser): (WebCore::FileChooser::openFileChooser): (WebCore::FileChooser::basenameForWidth): (WebCore::FileChooser::uploadControlDetaching): (WebCore::FileChooser::chooseFile):
- platform/win/IconWin.cpp: Added. (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): (WebCore::Icon::paint):
- platform/win/TemporaryLinkStubs.cpp: Removed FileChooser, Icon stub functions
- 3:18 PM Changeset in webkit [16349] by
-
- 2 edits in trunk/WebKit
Reviewed by Tim O.
<rdar://problem/4726416> obsolete confusing "ADVISORY NOTE" comment in WebHistory.h
Removed the "ADVISORY NOTE: This method may change for the 1.0 SDK" comments.
- History/WebHistory.h:
- 3:10 PM Changeset in webkit [16348] by
-
- 33 edits in trunk/WebCore
Clean up the XBL and XSLT ifdefs to be consistent with the SVG
and XPath ifdefs. KHTML_NO_XBL is flipped and is now XBL_SUPPORT.
KHTML_XSLT is now XSLT_SUPPORT.
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSXSLTProcessor.cpp:
- bindings/js/JSXSLTProcessor.h:
- bindings/js/kjs_window.cpp: (KJS::Window::getValueProperty):
- config.h:
- css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/cssparser.cpp: (WebCore::CSSParser::parseValue):
- css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
- dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::~Document): (WebCore::Document::recalcStyleSelector):
- dom/Document.h: (WebCore::Document::bindingManager):
- dom/Node.cpp: (WebCore::Node::createRendererIfNeeded):
- dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::ProcessingInstruction): (WebCore::ProcessingInstruction::checkStyleSheet): (WebCore::ProcessingInstruction::setStyleSheet):
- dom/ProcessingInstruction.h:
- dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::processingInstruction): (WebCore::XMLTokenizer::insertErrorMessageBlock):
- dom/XMLTokenizer.h:
- loader/Cache.cpp: (WebCore::Cache::getStatistics):
- loader/Cache.h:
- loader/CachedResource.h: (WebCore::CachedResource::):
- loader/CachedResourceClient.h:
- loader/CachedXBLDocument.cpp:
- loader/CachedXBLDocument.h:
- loader/CachedXSLStyleSheet.cpp:
- loader/CachedXSLStyleSheet.h:
- loader/DocLoader.cpp:
- loader/DocLoader.h:
- rendering/RenderStyle.cpp: (WebCore::StyleCSS3NonInheritedData::StyleCSS3NonInheritedData): (WebCore::StyleCSS3NonInheritedData::~StyleCSS3NonInheritedData): (WebCore::StyleCSS3NonInheritedData::operator==):
- rendering/RenderStyle.h:
- xml/XSLImportRule.cpp:
- xml/XSLImportRule.h:
- xml/XSLStyleSheet.cpp:
- xml/XSLStyleSheet.h:
- xml/XSLTProcessor.cpp:
- xml/XSLTProcessor.h:
- 3:07 PM Changeset in webkit [16347] by
-
- 4 edits in trunk/WebCore
2006-09-13 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fix newly introduced memory leaks in SVG.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
- ksvg2/svg/SVGList.h: (WebCore::SVGListBase::~SVGListBase): (WebCore::SVGListBase::clearVector): (WebCore::SVGListBase::clear): (WebCore::SVGList::clearVector): (WebCore::):
- ksvg2/svg/SVGNumberList.cpp: s/float/double/ - forgot that! (SVGNumberList::SVGNumberList):
- ksvg2/svg/SVGNumberList.h: Ditto.
- 2:30 PM Changeset in webkit [22165] by
-
- 4 edits in branches/WindowsMerge/WebCore
2006-09-13 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O.
Implement postURL and postURLNotify.
- plugins/win/PluginStreamWin.cpp: (WebCore::PluginStreamWin::~PluginStreamWin): (WebCore::PluginStreamWin::start): (WebCore::PluginStreamWin::startStream): (WebCore::PluginStreamWin::cancelAndDestroyStream):
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::start): (WebCore::PluginViewWin::loadURL): (WebCore::PluginViewWin::getURLNotify): (WebCore::PluginViewWin::getURL): (WebCore::startsWithBlankLine): (WebCore::locationAfterFirstBlankLine): (WebCore::findEOL): (WebCore::capitalizeRFC822HeaderFieldName): (WebCore::parseRFC822HeaderFields): (WebCore::PluginViewWin::handlePost): (WebCore::PluginViewWin::postURLNotify): (WebCore::PluginViewWin::postURL):
- plugins/win/PluginViewWin.h:
- 2:10 PM Changeset in webkit [22164] by
-
- 2 edits in branches/WindowsMerge/WebCore
- 11:37 AM Changeset in webkit [16346] by
-
- 3 edits in trunk/WebCore
2006-09-13 MorganL <morlmor@yahoo.com>
Reviewed/landed by aroben.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10833
Windows build needs fixed after move to engine-rendered file upload widget
- WebCore.vcproj/WebCore/WebCore.vcproj: Add RenderFileUpload files, remove RenderFileButton files
- platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser, Icon (FileChooser::FileChooser): (FileChooser::~FileChooser): (FileChooser::openFileChooser): (FileChooser::basenameForWidth): (FileChooser::uploadControlDetaching): (FileChooser::chooseFile): (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel): (Icon::Icon): (Icon::~Icon): (Icon::newIconForFile): (Icon::paint):
- 11:15 AM Changeset in webkit [16345] by
-
- 2 edits in trunk/WebCore
2006-09-13 MorganL <morlmor@yahoo.com>
Reviewed/landed by aroben.
Fixes http://bugzilla.opendarwin.org/attachment.cgi?id=10537
Webkit WebCore build fails on Windows
- WebCore.vcproj/WebCore/build-generated-files.sh: export SOURCE_ROOT variable
- 9:16 AM Changeset in webkit [16344] by
-
- 2 adds in trunk/WebCore/platform/qt
Forgot these added files.
- 9:12 AM Changeset in webkit [16343] by
-
- 4 edits in trunk/WebCore
Reviewed by Tim H.
Fix Qt/Linux build.
- CMakeLists.txt: Change SVGZoomEvent.idl location & add RenderFileUploadControl
- platform/Icon.h: Add wtf/Platform.h include
- platform/qt/FileChooserQt.cpp: Added as stub. Easy to implement though. (WebCore::FileChooser::FileChooser): (WebCore::FileChooser::~FileChooser): (WebCore::FileChooser::openFileChooser): (WebCore::FileChooser::basenameForWidth): (WebCore::FileChooser::uploadControlDetaching): (WebCore::FileChooser::chooseFile):
- platform/qt/IconQt.cpp: Added as stub. (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): (WebCore::Icon::paint):
- platform/qt/TemporaryLinkStubs.cpp: Remove old RenderFileButton code & some new *Labels needed (searchableIndexIntroduction): (fileButtonChooseFileLabel): (fileButtonNoFileSelectedLabel):
- 12:47 AM Changeset in webkit [22163] by
-
- 2 edits in branches/WindowsMerge/WebCore
Build fix
- WebCore.vcproj/build-generated-files.sh: Export SOURCE_ROOT which is now used by CodeGenerator.pm
- 12:08 AM Changeset in webkit [16342] by
-
- 3 edits in trunk/WebCore
Reviewed by eseidel.
Switch back to passing relative paths to generate-bindings.pl when
generating JS bindings.
- DerivedSources.make: Pass in relative paths to generate-bindings.pl
- bindings/scripts/CodeGenerator.pm: Make ScanDirectory never call chdir and always construct absolute paths instead.
Sep 12, 2006:
- 11:23 PM Changeset in webkit [16341] by
-
- 4 edits in trunk/WebCore
Fix for bug 3244, implement html4 label support.
Reviewed by mjs, aroben
Added fast/events/label-focus.html
- css/html4.css:
- html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::formElement): (WebCore::HTMLLabelElement::setActive): (WebCore::HTMLLabelElement::setHovered): (WebCore::HTMLLabelElement::defaultEventHandler):
- html/HTMLLabelElement.h:
- 11:20 PM Changeset in webkit [16340] by
-
- 4 adds in trunk/LayoutTests/fast/events
New label layout test.
- 10:37 PM Changeset in webkit [16339] by
-
- 3 edits4 adds in trunk
2006-09-12 Julien Palmas <julien.palmas@gmail.com>
Reviewed by darin. Landed by eseidel.
- ksvg2/svg/svgpathparser.cpp: (WebCore::SVGPolyParser::parsePoints):
- 6:28 PM Changeset in webkit [16338] by
-
- 5 edits3 adds in trunk
LayoutTests:
Reviewed by Andersca, Maciej, Brady.
- fast/dom/Range/range-intersectsNode-expected.txt: Added.
- fast/dom/Range/range-intersectsNode.html: Added.
- fast/dom/Range/resources/intersectsNode.js: Added.
WebCore:
Reviewed by Andersca, Maciej, Brady.
- Implemented intersectsNode in the Range Class to be compliant with Mozilla standard
- dom/Range.cpp: (WebCore::Range::intersectsNode):
- dom/Range.h:
- dom/Range.idl:
- 6:18 PM Changeset in webkit [16337] by
-
- 19 edits84 adds1 delete in trunk
2006-09-12 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Test: svg/W3C-SVG-1.1/struct-dom-01-b.svg (fixed)
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10826
Also finally fixes some long outstanding bugs:
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9190
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9229
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10413
Enable all JavaScript SVG bindings. Builds on Qt/Linux & OSX.
- CMakeLists.txt:
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorJS.pm:
- ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
- ksvg2/svg/SVGAElement.idl: Added.
- ksvg2/svg/SVGAngle.idl:
- ksvg2/svg/SVGAnimateColorElement.idl: Added.
- ksvg2/svg/SVGAnimateElement.idl: Added.
- ksvg2/svg/SVGAnimateTransformElement.idl: Added.
- ksvg2/svg/SVGAnimatedLengthList.idl: Added.
- ksvg2/svg/SVGAnimatedNumberList.idl: Added.
- ksvg2/svg/SVGAnimatedTransformList.idl: Added.
- ksvg2/svg/SVGAnimationElement.idl: Added.
- ksvg2/svg/SVGCircleElement.idl: Added.
- ksvg2/svg/SVGClipPathElement.idl: Added.
- ksvg2/svg/SVGColor.idl:
- ksvg2/svg/SVGComponentTransferFunctionElement.idl: Added.
- ksvg2/svg/SVGCursorElement.idl: Added.
- ksvg2/svg/SVGDefsElement.idl: Added.
- ksvg2/svg/SVGDescElement.idl: Added.
- ksvg2/svg/SVGEllipseElement.idl: Added.
- ksvg2/svg/SVGEvent.idl:
- ksvg2/svg/SVGExternalResourcesRequired.idl: Added.
- ksvg2/svg/SVGFEBlendElement.idl: Added.
- ksvg2/svg/SVGFEColorMatrixElement.idl: Added.
- ksvg2/svg/SVGFEComponentTransferElement.idl: Added.
- ksvg2/svg/SVGFECompositeElement.idl: Added.
- ksvg2/svg/SVGFEDiffuseLightingElement.idl: Added.
- ksvg2/svg/SVGFEDisplacementMapElement.idl: Added.
- ksvg2/svg/SVGFEDistantLightElement.idl: Added.
- ksvg2/svg/SVGFEFloodElement.idl: Added.
- ksvg2/svg/SVGFEFuncAElement.idl: Added.
- ksvg2/svg/SVGFEFuncBElement.idl: Added.
- ksvg2/svg/SVGFEFuncGElement.idl: Added.
- ksvg2/svg/SVGFEFuncRElement.idl: Added.
- ksvg2/svg/SVGFEGaussianBlurElement.idl: Added.
- ksvg2/svg/SVGFEImageElement.idl: Added.
- ksvg2/svg/SVGFEMergeElement.idl: Added.
- ksvg2/svg/SVGFEMergeNodeElement.idl: Added.
- ksvg2/svg/SVGFEOffsetElement.idl: Added.
- ksvg2/svg/SVGFEPointLightElement.idl: Added.
- ksvg2/svg/SVGFESpecularLightingElement.idl: Added.
- ksvg2/svg/SVGFESpotLightElement.idl: Added.
- ksvg2/svg/SVGFETileElement.idl: Added.
- ksvg2/svg/SVGFETurbulenceElement.idl: Added.
- ksvg2/svg/SVGFilterElement.idl: Added.
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
- ksvg2/svg/SVGFitToViewBox.idl: Added.
- ksvg2/svg/SVGForeignObjectElement.idl: Added.
- ksvg2/svg/SVGGElement.idl: Added.
- ksvg2/svg/SVGGradientElement.idl: Added.
- ksvg2/svg/SVGImageElement.idl: Added.
- ksvg2/svg/SVGLangSpace.idl: Added.
- ksvg2/svg/SVGLength.idl:
- ksvg2/svg/SVGLengthList.idl: Added.
- ksvg2/svg/SVGLineElement.idl: Added.
- ksvg2/svg/SVGLinearGradientElement.idl: Added.
- ksvg2/svg/SVGLocatable.idl: Added.
- ksvg2/svg/SVGMarkerElement.idl: Added.
- ksvg2/svg/SVGMaskElement.idl: Added.
- ksvg2/svg/SVGNumberList.idl: Added.
- ksvg2/svg/SVGPaint.idl: Added.
- ksvg2/svg/SVGPathElement.idl:
- ksvg2/svg/SVGPathSeg.idl:
- ksvg2/svg/SVGPatternElement.idl: Added.
- ksvg2/svg/SVGPointList.idl: Added.
- ksvg2/svg/SVGPolygonElement.idl: Added.
- ksvg2/svg/SVGPolylineElement.idl: Added.
- ksvg2/svg/SVGPreserveAspectRatio.idl:
- ksvg2/svg/SVGRadialGradientElement.idl: Added.
- ksvg2/svg/SVGRectElement.idl: Added.
- ksvg2/svg/SVGRenderingIntent.idl: Added.
- ksvg2/svg/SVGSVGElement.idl:
- ksvg2/svg/SVGScriptElement.idl: Added.
- ksvg2/svg/SVGSetElement.idl: Added.
- ksvg2/svg/SVGStopElement.idl: Added.
- ksvg2/svg/SVGStringList.idl: Added.
- ksvg2/svg/SVGStylable.idl: Added.
- ksvg2/svg/SVGStyleElement.idl: Added.
- ksvg2/svg/SVGSwitchElement.idl: Added.
- ksvg2/svg/SVGSymbolElement.idl: Added.
- ksvg2/svg/SVGTRefElement.idl: Added.
- ksvg2/svg/SVGTSpanElement.idl: Added.
- ksvg2/svg/SVGTests.idl: Added.
- ksvg2/svg/SVGTextContentElement.idl: Added.
- ksvg2/svg/SVGTextElement.idl: Added.
- ksvg2/svg/SVGTextPositioningElement.idl: Added.
- ksvg2/svg/SVGTitleElement.idl: Added.
- ksvg2/svg/SVGTransform.idl:
- ksvg2/svg/SVGTransformList.idl: Added.
- ksvg2/svg/SVGTransformable.idl: Added.
- ksvg2/svg/SVGURIReference.idl: Added.
- ksvg2/svg/SVGUnitTypes.idl: Added.
- ksvg2/svg/SVGUseElement.idl: Added.
- ksvg2/svg/SVGViewElement.idl: Added.
- ksvg2/svg/SVGZoomAndPan.idl: Added.
- ksvg2/svg/SVGZoomEvent.idl: Added.
- 5:25 PM Changeset in webkit [16336] by
-
- 5 edits in trunk/WebCore
Reviewed by timo, ggaren.
Make Icon ref-counted.
- platform/FileChooser.h: Store m_icon as a RefPtr instead of auto_ptr.
- platform/Icon.h: Inherit from Shared<Icon>
- platform/mac/FileChooserMac.mm: (WebCore::FileChooser::chooseFile): Update m_icon usage
- platform/mac/IconMac.mm: (WebCore::Icon::newIconForFile): Return a RefPtr instead of an auto_ptr
- 5:08 PM Changeset in webkit [16335] by
-
- 6 edits9 copies12 adds in tags/Safari-521.26
New tag.
- 4:57 PM Changeset in webkit [16334] by
-
- 8 edits in /
Fixing the versioning.
- 3:33 PM Changeset in webkit [16333] by
-
- 12 adds in tags/Safari-521.21/WebKit/DOM
Old DOM headers for 521.21 until the new DOM API is approved.
- 3:30 PM Changeset in webkit [16332] by
-
- 6 edits9 copies in tags/Safari-521.21/OpenSource
Tagging for version 521.21
- 3:26 PM Changeset in webkit [16331] by
-
- 8 edits in /
Versioning
- 2:19 PM Changeset in webkit [16330] by
-
- 85 edits2 adds in trunk/WebCore
Reviewed by Anders.
Add exception codes to SVGList functions, adjust all code using it.
Move SVGPaintType enums from ksvg.h into SVGPaint (needed for js generation)
Move SVGUnitTypes enums from ksvg.h into it's own file SVGUnitType.h (ditto)
Move SVGRenderingIntent enums from ksvg.h into it's own file SVGRenderingIntent.h (ditto)
Move SVGZoomAndPan enums from ksvg.h into SVGSVGElement (ditto)
Move SVGFE* related enums into their respecitive classes.
Fix JSSVGNumber to operator on doubles, instead of floats.
- 2:11 PM Changeset in webkit [16329] by
-
- 2 edits in trunk/WebCore
Reviewed by Adele Peterson.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::doTextFieldCommandFromEvent): Don't call textField:doCommandBySelector: with a nil selector. This was indirectly causing a (valid) assertion failure in some Safari code.
- 2:09 PM Changeset in webkit [16328] by
-
- 2 edits in trunk/WebCore
Reviewed by John Sullivan.
<rdar://problem/4717841> Setting AXFocused to true does not activate the insertion point in text field
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilitySetValue:forAttribute:]): For AXFocus, use focus() if the node is an element, so that selection is set. Matches tabbing behavior in text fields and text areas.
- 1:59 PM Changeset in webkit [16327] by
-
- 1 edit in trunk/WebCore/bindings/scripts/generate-bindings.pl
Build fix for the the no-svg bot.
- 1:57 PM Changeset in webkit [16326] by
-
- 6 edits in trunk/WebCore
Reviewed by adele.
Make uploading work with the new file upload control.
- css/html4.css: Remove unnecessary style (this is already done in RenderFileUpload.cpp)
- html/HTMLInputElement.cpp: Don't get the button text from the value attribute for file controls. (WebCore::HTMLInputElement::valueWithDefault):
- platform/mac/FileChooserMac.mm: Call RenderFileUploadControl::valueChanged when the user selects a file. (WebCore::FileChooser::chooseFile):
- rendering/RenderFileUploadControl.cpp: Add valueChanged() method to update the form and fire the onChange event. (WebCore::RenderFileUploadControl::valueChanged): (WebCore::RenderFileUploadControl::updateFromElement):
- rendering/RenderFileUploadControl.h: Add valueChanged() declaration.
- 1:52 PM Changeset in webkit [16325] by
-
- 15 edits1 add in S60/trunk
2006-09-11 yadavall <sriram.yadavalli@nokia.com>
Reviewed by Zalan Bujtas
DESC:Toolbar not working in 3.1
http://bugzilla.opendarwin.org/show_bug.cgi?id=10668
- BrowserControl/inc/BrCtl.h:
- BrowserControl/src/BrCtl.cpp: (CBrCtl::HandleCommandL): (CBrCtl::SendCommandsToClient):
- BrowserView/inc/WebKitView.h:
- BrowserView/src/KeyEventHandler.cpp: (CKeyEventHandler::HandleOfferKeyEventL): (CKeyEventHandler::HandleActivateKeysL):
- BrowserView/src/WebKitCursor.cpp: (CWebKitCursor::CursorUpdate):
- BrowserView/src/WebKitView.cpp: (CWebKitView::~CWebKitView): (CWebKitView::Draw):
- group/BrowserView.mmp:
- group/webkit.mmp:
- rom/webkit.iby:
- rom/webkitResources.iby:
- 1:43 PM Changeset in webkit [22162] by
-
- 6 edits in branches/WindowsMerge/WebCore
2006-09-12 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O.
Add scripting support for plugins.
- bridge/win/FrameWin.cpp: (WebCore::FrameWin::FrameWin): (WebCore::FrameWin::addPluginRootObject): (WebCore::FrameWin::cleanupPluginObjects): (WebCore::FrameWin::bindingRootObject): (WebCore::FrameWin::windowScriptNPObject):
- bridge/win/FrameWin.h:
- plugins/win/PluginPackageWin.cpp: (WebCore::PluginPackageWin::load):
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::getValue):
- plugins/win/npapi.cpp: (NPN_RequestRead): (NPN_InvalidateRect): (NPN_InvalidateRegion): (NPN_ForceRedraw):
- 12:59 PM Changeset in webkit [16324] by
-
- 2 edits in trunk/WebCore
Adding rules to html4.css to style the button in file upload controls.
- css/html4.css:
- 12:42 PM Changeset in webkit [16323] by
-
- 14 edits6 adds4 deletes in trunk/WebCore
Reviewed many times by darin, hyatt.
Switch to new engine-based implementation of <input type="file">
- WebCore.exp: Remove obsolete symbol WebCoreFileButton
- WebCore.xcodeproj/project.pbxproj: Remove files for old widget-based control, add files for new engine-based control
- css/CSSSelector.cpp: Add support for new '-webkit-file-upload-button' pseudo element (WebCore::CSSSelector::extractPseudoType):
- css/CSSSelector.h: Ditto. (WebCore::CSSSelector::):
- css/cssstyleselector.cpp: Ditto. (WebCore::CSSStyleSelector::checkOneSelector):
- html/HTMLInputElement.cpp: Send click events to new control (WebCore::HTMLInputElement::select): (WebCore::HTMLInputElement::click): (WebCore::HTMLInputElement::createRenderer): (WebCore::HTMLInputElement::valueWithDefault): (WebCore::HTMLInputElement::defaultEventHandler):
- html/HTMLTextFieldInnerElement.h: Add 'virtual' keyword (WebCore::HTMLTextFieldInnerElement::shadowParentNode):
- platform/FileButton.h: Removed.
- platform/FileChooser.h: Added. This is the replacement for FileButton.h (WebCore::FileChooser::filename): (WebCore::FileChooser::icon): (WebCore::FileChooser::uploadControl): (WebCore::FileChooser::document):
- platform/Icon.h: Added new platform-specific class representing a file icon.
- platform/LocalizedStrings.h:
- platform/mac/FileButtonMac.mm: Removed.
- platform/mac/FileChooserMac.mm: Added. This is the replacement for FileButtonMac.mm (-[OpenPanelController initWithFileChooser:]): (-[OpenPanelController fileChooserDetachingSoon]): (-[OpenPanelController beginSheet]): (-[OpenPanelController chooseFilename:]): (-[OpenPanelController cancel]): (WebCore::FileChooser::FileChooser): (WebCore::FileChooser::~FileChooser): (WebCore::FileChooser::openFileChooser): (WebCore::FileChooser::basenameForWidth): (WebCore::FileChooser::uploadControlDetaching): (WebCore::FileChooser::chooseFile):
- platform/mac/IconMac.mm: Added. (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): (WebCore::Icon::paint):
- platform/mac/LocalizedStringsMac.mm: Call across bridge to get localized strings. (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel):
- rendering/RenderButton.cpp: Extract method setText() from updateFromElement. (WebCore::RenderButton::updateFromElement): (WebCore::RenderButton::setText):
- rendering/RenderButton.h: Add declaration for new setText method.
- rendering/RenderFileButton.cpp: Removed.
- rendering/RenderFileButton.h: Removed.
- rendering/RenderFileUploadControl.cpp: Added. This is the replacement for RenderFileButton.cpp. (WebCore::RenderFileUploadInnerFileBox::renderName): (WebCore::HTMLFileUploadInnerButtonElement::isShadowNode): (WebCore::HTMLFileUploadInnerButtonElement::shadowParentNode): (WebCore::RenderFileUploadControl::RenderFileUploadControl): (WebCore::RenderFileUploadControl::~RenderFileUploadControl): (WebCore::RenderFileUploadControl::setStyle): (WebCore::RenderFileUploadControl::updateIconAndFilename): (WebCore::RenderFileUploadControl::click): (WebCore::RenderFileUploadControl::updateFromElement): (WebCore::RenderFileUploadControl::maxFilenameWidth): (WebCore::RenderFileUploadControl::createButtonStyle): (WebCore::RenderFileUploadControl::paintObject): (WebCore::RenderFileUploadInnerFileBox::RenderFileUploadInnerFileBox): (WebCore::RenderFileUploadInnerFileBox::setStyle): (WebCore::RenderFileUploadInnerFileBox::layout): (WebCore::RenderFileUploadInnerFileBox::setHasIcon): (WebCore::RenderFileUploadInnerFileBox::setFilename): (WebCore::RenderFileUploadInnerFileBox::calcMinMaxWidth): (WebCore::HTMLFileUploadInnerButtonElement::HTMLFileUploadInnerButtonElement): (WebCore::HTMLFileUploadInnerButtonElement::createRenderer):
- rendering/RenderFileUploadControl.h: Added. This is the replacement for RenderFileButton.h. (WebCore::RenderFileUploadControl::renderName):
- rendering/RenderStyle.cpp: Add support for -webkit-file-upload-button pseudo element. (WebCore::): (WebCore::pseudoBit):
- rendering/RenderStyle.h: Ditto. (WebCore::RenderStyle::):
- 12:37 PM Changeset in webkit [22161] by
-
- 3 edits in branches/WindowsMerge/WebCore
Reviewed many times by darin, hyatt.
Add stubs for new engine-based file upload control implementation and
Icon class.
- WebCore.vcproj/WebCore.vcproj: Add new engine-based files, remove old widget-based files.
- platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser and Icon methods, and add two new LocalizedString methods. (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel): (FileChooser::FileChooser): (FileChooser::~FileChooser): (FileChooser::openFileChooser): (FileChooser::basenameForWidth): (FileChooser::uploadControlDetaching): (Icon::~Icon): (Icon::paint):
- 10:48 AM Changeset in webkit [16322] by
-
- 5 edits in trunk/WebCore
2006-09-12 Anders Carlsson <acarlsson@apple.com>
Reviewed by John Sullivan.
Do the plugin object cleanup in Frame::clear instead of setView.
- bridge/mac/FrameMac.h:
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::setView): (WebCore::FrameMac::cleanupPluginObjects):
- page/Frame.cpp: (WebCore::Frame::clear):
- page/Frame.h:
- 9:43 AM Changeset in webkit [16321] by
-
- 2 edits in trunk/WebCore
2006-09-12 MorganL <morlmor@yahoo.com>
Reviewed/landed by aroben.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10822
windows build is busted
- WebCore.vcproj/WebCore/WebCore.vcproj: Add missing JSRangeException.{cpp,h} to project
- 9:31 AM Changeset in webkit [22160] by
-
- 4 edits in branches/WindowsMerge/WebCore
2006-09-11 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O.
Add stream and URL handling to PluginViewWin. Include PluginStreamWin.cpp in the build.
Also fix a number of bugs discovered when loading various plugins.
- WebCore.vcproj/WebCore.vcproj:
- plugins/win/PluginViewWin.cpp: (WebCore::PluginRequestWin::PluginRequestWin): (WebCore::PluginRequestWin::url): (WebCore::PluginRequestWin::target): (WebCore::PluginRequestWin::notifyData): (WebCore::PluginRequestWin::sendNotification): (WebCore::scriptStringIfJavaScriptURL): (WebCore::registerPluginView): (WebCore::PluginViewWndProc): (WebCore::PluginViewWin::updateSize): (WebCore::PluginViewWin::setFrameGeometry): (WebCore::PluginViewWin::start): (WebCore::PluginViewWin::stop): (WebCore::createUTF8String): (WebCore::PluginViewWin::performRequest): (WebCore::PluginViewWin::requestTimerFired): (WebCore::PluginViewWin::scheduleRequest): (WebCore::PluginViewWin::loadURL): (WebCore::makeURL): (WebCore::PluginViewWin::getURLNotify): (WebCore::PluginViewWin::getURL): (WebCore::PluginViewWin::newStream): (WebCore::PluginViewWin::write): (WebCore::PluginViewWin::destroyStream): (WebCore::PluginViewWin::userAgent): (WebCore::PluginViewWin::~PluginViewWin): (WebCore::PluginViewWin::PluginViewWin):
- plugins/win/PluginViewWin.h:
- 12:28 AM Changeset in webkit [16320] by
-
- 4 adds in trunk/LayoutTests/fast/forms
Add fieldset layout test.
- 12:26 AM Changeset in webkit [16319] by
-
- 5 edits in trunk/WebCore
Fix fieldsets so that they properly expand to enclose overhanging floats
when the fieldset has auto height. This is a nifty undocumented behavior
of the fieldset element. The bug is 3898.
Reviewed by mjs
Added fast/forms/fieldset-with-float.html
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlock):
- rendering/RenderFieldset.h: (WebCore::RenderFieldset::renderName): (WebCore::RenderFieldset::expandsToEncloseOverhangingFloats):
- rendering/RenderObject.h: (WebCore::RenderObject::expandsToEncloseOverhangingFloats):
- rendering/RenderTableCell.h: (WebCore::RenderTableCell::expandsToEncloseOverhangingFloats):
- 12:02 AM Changeset in webkit [16318] by
-
- 2 edits in trunk/WebCore
2006-09-11 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt.
REGRESSION: When dragging a link on a page, the selected link doesn't display it's name or URL
http://bugzilla.opendarwin.org/show_bug.cgi?id=10819
http://bugzilla.opendarwin.org/show_bug.cgi?id=10814
No test cases were harmed in the coding of the patch.
- platform/mac/WebCoreTextRenderer.mm: (WebCoreDrawTextAtPoint):
Sep 11, 2006:
- 10:39 PM Changeset in webkit [16317] by
-
- 2 edits in trunk/WebKit
2006-09-11 MorganL <morlmor@yahoo.com>
Reviewed/landed by aroben.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10765
Windows build busted due to std::copy usage in Vector.h
- WebKit.vcproj/WebKit.vcproj: Define _SCL_SECURE_NO_DEPRECATE to get rid of deprecation warnings on std::copy
- 10:06 PM Changeset in webkit [16316] by
-
- 3 edits in trunk/LayoutTests/fast/table
Land updated table test.
- 9:52 PM Changeset in webkit [16315] by
-
- 2 edits in trunk/WebCore
Fix for bug 8126, column widths apply to the border boxes of cells.
Reviewed by aroben
- rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::styleOrColWidth):
- 8:58 PM Changeset in webkit [16314] by
-
- 1 edit in trunk/JavaScriptCore/bindings/objc/objc_utility.mm
Better Tiger build fix.
- 8:53 PM Changeset in webkit [16313] by
-
- 2 edits in trunk/WebKit
Despite the fact that some people built okay without this change, it sure was biting me,
probably because I just wiped my build directory for a fresh build -
Today's earlier removal of DOMList.h needed to occur in MigrateHeaders.make, as well
- MigrateHeaders.make: removed DOMList.h
- 7:45 PM Changeset in webkit [16312] by
-
- 2 edits in trunk/JavaScriptCore
Build fix - I think Tim's last checkin wasn't tested on Tiger, possibly. I simply
commented out the undefined constants until he can have a chance to make the right call
- bindings/objc/objc_utility.mm: (KJS::Bindings::objcValueTypeForType): Commented out undefined symbols
- 5:22 PM Changeset in webkit [16311] by
-
- 1 edit in trunk/WebCore/bridge/mac/FrameMac.mm
Build fix. KeyScript is deprecated in Leopard, we need a new solution for this <rdar://problem/4727607>
- 4:57 PM Changeset in webkit [16310] by
-
- 4 edits in trunk/JavaScriptCore
Reviewed by Tim O. and Darin.
Add support for more method signatures affecting ObjC methods called from JavaScript:
- Added unsigned types and long long.
- Allow methods that use const, oneway, bycopy and byref type modifiers.
- bindings/objc/objc_instance.mm: (ObjcInstance::invokeMethod):
- bindings/objc/objc_utility.h: (KJS::Bindings::):
- bindings/objc/objc_utility.mm: (KJS::Bindings::convertValueToObjcValue): (KJS::Bindings::convertObjcValueToValue): (KJS::Bindings::objcValueTypeForType):
- 4:11 PM Changeset in webkit [16309] by
-
- 2 edits in trunk/WebCore
Reviewed by Adele.
Fix Qt/Linux build.
- CMakeLists.txt: Add dom/RangeException.idl to build & fix feature defines.
- 2:42 PM Changeset in webkit [16308] by
-
- 104 edits14 adds34 deletes in trunk
2006-09-11 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10750
This finally fixes the SVGAnimated* classes JS bindings!
- Move all SVGAnimated*.idl files from ksvg2/bindings/idl/svg to ksvg2/svg
- Adjust XCode/Qt build files to generate the new idl files
- Remove all SVGAnimated* primitives cpp implementations (Angle/Boolean/Color/Enumeration/Integer/Length/
LengthList/Number/NumberList/PreserveAspectRatio/
Rect/String/TransformList)
- Remove unneeded methods from CodeGenerator.pm and add new helper function: IsSVGAnimatedType
- Adjust CodeGeneratorJS.pm to the new SVGAnimated* tear-off concept
- Add two new macros: ANIMATED_PROPERTY_EMPTY_DECLARATIONS / ANIMATED_PROPERTY_FORWARD_DECLARATIONS. This is used to fix multiple-inheritance issues in SVG with properties, similar like SVGTests::isValid() was fixed.
- Rewrote SVGList using WTF::Vector, instead of DeprecatedPtrList and killed DOMList. (SVGAnimated*Lists work again now)
- Adjust macros in SVGElement to create the "*Animated" tear-off classes.
- Adjust all SVG classes which use the ANIMATED macros to include the ClassName as first param in the header.
- CMakeLists.txt:
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorJS.pm:
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::adjustRectsForAspectRatio): (WebCore::RenderSVGImage::paint):
- kcanvas/RenderSVGText.cpp: (WebCore::RenderSVGText::translationForAttributes):
- ksvg2/ksvg.h:
- ksvg2/misc/SVGDocumentExtensions.h: (WebCore::FloatRect):
- ksvg2/svg/SVGAElement.h:
- ksvg2/svg/SVGAnimateColorElement.cpp:
- ksvg2/svg/SVGAnimateColorElement.h:
- ksvg2/svg/SVGAnimateTransformElement.h:
- ksvg2/svg/SVGAnimatedTemplate.h: (WebCore::SVGAnimatedTemplate::~SVGAnimatedTemplate):
- ksvg2/svg/SVGAnimationElement.h:
- ksvg2/svg/SVGCircleElement.h:
- ksvg2/svg/SVGClipPathElement.h:
- ksvg2/svg/SVGComponentTransferFunctionElement.cpp: (SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement): (SVGComponentTransferFunctionElement::transferFunction):
- ksvg2/svg/SVGComponentTransferFunctionElement.h:
- ksvg2/svg/SVGCursorElement.h:
- ksvg2/svg/SVGDefsElement.h:
- ksvg2/svg/SVGElement.h:
- ksvg2/svg/SVGElementInstanceList.cpp: (WebCore::SVGElementInstanceList::SVGElementInstanceList):
- ksvg2/svg/SVGElementInstanceList.h:
- ksvg2/svg/SVGEllipseElement.h:
- ksvg2/svg/SVGExternalResourcesRequired.h:
- ksvg2/svg/SVGFEBlendElement.h:
- ksvg2/svg/SVGFEColorMatrixElement.cpp: (SVGFEColorMatrixElement::SVGFEColorMatrixElement): (SVGFEColorMatrixElement::parseMappedAttribute): (SVGFEColorMatrixElement::filterEffect):
- ksvg2/svg/SVGFEColorMatrixElement.h:
- ksvg2/svg/SVGFEComponentTransferElement.h:
- ksvg2/svg/SVGFECompositeElement.h:
- ksvg2/svg/SVGFEDiffuseLightingElement.h:
- ksvg2/svg/SVGFEDisplacementMapElement.h:
- ksvg2/svg/SVGFEFloodElement.h:
- ksvg2/svg/SVGFEGaussianBlurElement.h:
- ksvg2/svg/SVGFEImageElement.h:
- ksvg2/svg/SVGFELightElement.h:
- ksvg2/svg/SVGFEMergeNodeElement.h:
- ksvg2/svg/SVGFEOffsetElement.h:
- ksvg2/svg/SVGFESpecularLightingElement.h:
- ksvg2/svg/SVGFETileElement.h:
- ksvg2/svg/SVGFETurbulenceElement.h:
- ksvg2/svg/SVGFilterElement.h:
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
- ksvg2/svg/SVGFitToViewBox.cpp: (WebCore::SVGFitToViewBox::SVGFitToViewBox): (WebCore::SVGFitToViewBox::parseViewBox): (WebCore::SVGFitToViewBox::viewBoxToViewTransform):
- ksvg2/svg/SVGFitToViewBox.h:
- ksvg2/svg/SVGForeignObjectElement.h:
- ksvg2/svg/SVGGElement.h:
- ksvg2/svg/SVGGradientElement.cpp: (SVGGradientElement::SVGGradientElement):
- ksvg2/svg/SVGGradientElement.h:
- ksvg2/svg/SVGHelper.cpp: (WebCore::SVGHelper::PercentageOfViewport):
- ksvg2/svg/SVGImageElement.h:
- ksvg2/svg/SVGLength.cpp:
- ksvg2/svg/SVGLengthList.cpp: (WebCore::SVGLengthList::SVGLengthList): (WebCore::SVGLengthList::parse):
- ksvg2/svg/SVGLengthList.h:
- ksvg2/svg/SVGLineElement.h:
- ksvg2/svg/SVGLinearGradientElement.h:
- ksvg2/svg/SVGList.h: (WebCore::SVGListBase::SVGListBase): (WebCore::SVGListBase::~SVGListBase): (WebCore::SVGListBase::numberOfItems): (WebCore::SVGListBase::clear): (WebCore::SVGListBase::initialize): (WebCore::SVGListBase::getFirst): (WebCore::SVGListBase::getLast): (WebCore::SVGListBase::getItem): (WebCore::SVGListBase::insertItemBefore): (WebCore::SVGListBase::replaceItem): (WebCore::SVGListBase::removeItem): (WebCore::SVGListBase::appendItem): (WebCore::SVGList::nullItem): (WebCore::):
- ksvg2/svg/SVGLocatable.cpp:
- ksvg2/svg/SVGMarkerElement.h:
- ksvg2/svg/SVGMaskElement.h:
- ksvg2/svg/SVGNumberList.cpp: (SVGNumberList::SVGNumberList): (SVGNumberList::parse):
- ksvg2/svg/SVGNumberList.h:
- ksvg2/svg/SVGPathElement.cpp: (WebCore::SVGPathElement::pathSegList):
- ksvg2/svg/SVGPathElement.h:
- ksvg2/svg/SVGPathSegList.cpp: (WebCore::SVGPathSegList::SVGPathSegList):
- ksvg2/svg/SVGPathSegList.h:
- ksvg2/svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::SVGPatternElement):
- ksvg2/svg/SVGPatternElement.h:
- ksvg2/svg/SVGPointList.cpp: (SVGPointList::SVGPointList):
- ksvg2/svg/SVGPointList.h:
- ksvg2/svg/SVGPolyElement.cpp: (SVGPolyElement::points): (SVGPolyElement::svgPolyTo): (SVGPolyElement::notifyAttributeChange):
- ksvg2/svg/SVGPolyElement.h:
- ksvg2/svg/SVGPolygonElement.cpp: (SVGPolygonElement::toPathData):
- ksvg2/svg/SVGPolylineElement.cpp: (SVGPolylineElement::toPathData):
- ksvg2/svg/SVGPreserveAspectRatio.h: (WebCore::SVGPreserveAspectRatio::):
- ksvg2/svg/SVGRadialGradientElement.h:
- ksvg2/svg/SVGRectElement.h:
- ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::SVGSVGElement): (WebCore::SVGSVGElement::parseMappedAttribute): (WebCore::SVGSVGElement::createRenderer):
- ksvg2/svg/SVGSVGElement.h:
- ksvg2/svg/SVGScriptElement.h:
- ksvg2/svg/SVGStopElement.h:
- ksvg2/svg/SVGStringList.cpp: (WebCore::SVGStringList::SVGStringList): (WebCore::SVGStringList::reset):
- ksvg2/svg/SVGStringList.h:
- ksvg2/svg/SVGStyledElement.h:
- ksvg2/svg/SVGStyledLocatableElement.cpp:
- ksvg2/svg/SVGStyledTransformableElement.cpp: (SVGStyledTransformableElement::SVGStyledTransformableElement):
- ksvg2/svg/SVGStyledTransformableElement.h:
- ksvg2/svg/SVGSwitchElement.h:
- ksvg2/svg/SVGSymbolElement.h:
- ksvg2/svg/SVGTRefElement.h:
- ksvg2/svg/SVGTests.cpp: (WebCore::SVGTests::isValid):
- ksvg2/svg/SVGTextContentElement.h:
- ksvg2/svg/SVGTextElement.cpp: (WebCore::SVGTextElement::SVGTextElement):
- ksvg2/svg/SVGTextElement.h:
- ksvg2/svg/SVGTextPositioningElement.cpp: (SVGTextPositioningElement::SVGTextPositioningElement): (SVGTextPositioningElement::parseMappedAttribute):
- ksvg2/svg/SVGTextPositioningElement.h:
- ksvg2/svg/SVGTransformList.cpp: (SVGTransformList::SVGTransformList): (SVGTransformList::createSVGTransformFromMatrix): (SVGTransformList::consolidate): (SVGTransformList::concatenate):
- ksvg2/svg/SVGTransformList.h:
- ksvg2/svg/SVGURIReference.h:
- ksvg2/svg/SVGUseElement.h:
- ksvg2/svg/SVGViewElement.h:
- 2:09 PM Changeset in webkit [22159] by
-
- 2 edits in branches/WindowsMerge/WebCore
2006-09-11 Anders Carlsson <acarlsson@apple.com>
- WebCore.vcproj/WebCore.vcproj: Fix build.
- 2:07 PM Changeset in webkit [16307] by
-
- 1 edit in trunk/WebCore/platform/mac/LocalCurrentGraphicsContext.h
Build fix
- 1:58 PM Changeset in webkit [16306] by
-
- 1 edit in trunk/WebCore/ChangeLog
ChangeLog date fix
- 1:48 PM Changeset in webkit [16305] by
-
- 3 edits2 moves in trunk/WebCore
Rubberstamped by Adele.
Rename LocalGraphicsContext.{h,mm} to
LocalCurrentGraphicsContext.{h,mm} to match the class name.
- WebCore.xcodeproj/project.pbxproj:
- platform/mac/LocalCurrentGraphicsContext.mm: Added.
- platform/mac/LocalCurrentGraphicsContext.h: Added.
- platform/mac/LocalGraphicsContext.h: Removed.
- platform/mac/LocalGraphicsContext.mm: Removed.
- rendering/RenderThemeMac.mm: Fix #include to match renamed file
- 1:36 PM Changeset in webkit [22158] by
-
- 1 edit2 adds in branches/WindowsMerge/WebCore
2006-09-11 Anders Carlsson <acarlsson@apple.com>
Reviewed by Tim O and Maciej.
Add plugin stream object.
- plugins/win/PluginStreamWin.cpp: Added. (WebCore::PluginStreamWin::PluginStreamWin): (WebCore::PluginStreamWin::~PluginStreamWin): (WebCore::PluginStreamWin::setRequestHeaders): (WebCore::PluginStreamWin::setPostData): (WebCore::PluginStreamWin::start): (WebCore::PluginStreamWin::stop): (WebCore::PluginStreamWin::startStream): (WebCore::PluginStreamWin::cancelAndDestroyStream): (WebCore::PluginStreamWin::destroyStream): (WebCore::PluginStreamWin::delayDeliveryTimerFired): (WebCore::PluginStreamWin::deliverData): (WebCore::PluginStreamWin::receivedResponse): (WebCore::PluginStreamWin::receivedData): (WebCore::PluginStreamWin::receivedAllData):
- plugins/win/PluginStreamWin.h: Added.
- 1:34 PM Changeset in webkit [16304] by
-
- 1 edit in trunk/WebCore/ChangeLog
Conflict marker removed
- 1:29 PM Changeset in webkit [16303] by
-
- 2 edits in trunk/WebCore
Build fix
- WebCore.xcodeproj/project.pbxproj:
- 11:46 AM Changeset in webkit [16302] by
-
- 11 edits4 adds in trunk
LayoutTests:
Reviewed by Darin.
- ChangeLog:
- fast/dom/Range/range-compareNode-expected.txt: Added.
- fast/dom/Range/range-compareNode.html: Added.
- fast/dom/Range/range-comparePoint.html:
WebCore:
Reviewed by Darin.
- Implements comparePoint on the Range class
- Exposes RangeExceptions in JavaScript
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/kjs_binding.cpp:
- bindings/objc/DOMInternal.mm:
- dom/Range.cpp: (WebCore::Range::comparePoint): (WebCore::Range::compareNode):
- dom/Range.h: (WebCore::Range::):
- dom/Range.idl:
- dom/RangeException.h: Added. (WebCore::):
- dom/RangeException.idl: Added.
- page/DOMWindow.idl:
- 11:41 AM Changeset in webkit [16301] by
-
- 3 edits2 adds in trunk/WebCore
Reviewed by timo.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10812
Move LocalGraphicsContext out of RenderThemeMac
- WebCore.xcodeproj/project.pbxproj:
- platform/mac/LocalGraphicsContext.h: Added.
- platform/mac/LocalGraphicsContext.mm: Added. (WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext): (WebCore::LocalCurrentGraphicsContext::~LocalCurrentGraphicsContext):
- rendering/RenderThemeMac.mm:
- 11:20 AM Changeset in webkit [22157] by
-
- 7 edits1 add in branches/WindowsMerge
Initial IconDatabase hookup for Boomer
(Don't expect to have icons till I hook up the loaders!)
- 10:38 AM Changeset in webkit [16300] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by Darin.
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10323
REGRESSION: javascript: URL containing '
' gets passed as ''
- fast/dom/javascript-backslash-expected.txt: Added.
- fast/dom/javascript-backslash.html: Added.
WebCore:
Reviewed by Darin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10323
REGRESSION: javascript: URL containing '
' gets passed as ''
Test: fast/dom/javascript-backslash.html
- platform/KURL.cpp: (WebCore::KURL::init): Don't do backslash substitution in JavaScript URLs.
- 10:11 AM Changeset in webkit [16299] by
-
- 28 edits in trunk/WebCore
Reviewed by Darin and Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10792
Remove the [Exclude=LANGUAGE] idiom from IDL's and code generators
for something better
- Replaces [Exclude=LANGUAGE] idiom with preprocessor #if defined(LANGUAGE) idiom.
- Assorted whitespace changes to IDL files.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMEvents.h:
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorJS.pm:
- bindings/scripts/CodeGeneratorObjC.pm:
- css/CSSRule.idl:
- css/CSSStyleDeclaration.idl:
- css/CSSValue.idl:
- dom/DOMImplementation.idl:
- dom/Document.idl:
- dom/Element.idl:
- dom/Event.idl:
- dom/KeyboardEvent.idl:
- dom/MouseEvent.idl:
- dom/NamedNodeMap.idl:
- dom/NodeFilter.idl:
- dom/UIEvent.idl:
- dom/WheelEvent.idl:
- html/HTMLAnchorElement.idl:
- html/HTMLAreaElement.idl:
- html/HTMLDocument.idl:
- html/HTMLElement.idl:
- html/HTMLImageElement.idl:
- html/HTMLInputElement.idl:
- html/HTMLLinkElement.idl:
- html/HTMLOptionsCollection.idl:
- 7:49 AM Changeset in webkit [16298] by
-
- 3 edits2 deletes in trunk/LayoutTests
- converted a test to plain text (makes it platform independent; fixes a failure)
- fast/events/ondragenter-expected.checksum: Removed.
- fast/events/ondragenter-expected.png: Removed.
- fast/events/ondragenter-expected.txt:
- fast/events/ondragenter.html:
- 12:28 AM Changeset in webkit [16297] by
-
- 3 edits in trunk/WebCore
Fix an unwitting victim of the kMin->min change. calcBlockMinMaxWidth
was accidentally renamed to calcBlominMaxWidth.
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::calcMinMaxWidth): (WebCore::RenderBlock::calcBlockMinMaxWidth):
- rendering/RenderBlock.h:
Sep 10, 2006:
- 11:37 PM Changeset in webkit [16296] by
-
- 15 edits in trunk/WebCore
Rework the printer font stuff a little bit so that the Font API doesn't
have to be changed.
Reviewed by eseidel
- WebCore.xcodeproj/project.pbxproj:
- bridge/mac/WebCoreStringTruncator.mm: (truncateString): (+[WebCoreStringTruncator widthOfString:font:]):
- platform/Font.cpp: (WebCore::Font::drawSimpleText):
- platform/Font.h:
- platform/TextStyle.h: (WebCore::TextStyle::TextStyle): (WebCore::TextStyle::attemptFontSubstitution): (WebCore::TextStyle::setRTL):
- platform/mac/FontMac.mm: (WebCore::m_wordSpacing): (WebCore::Font::drawGlyphs):
- platform/mac/ListBoxMac.mm: (itemTextRenderer): (groupLabelTextRenderer): (-[WebCoreTableView drawRow:clipRect:]):
- platform/mac/PopUpButtonMac.mm: (PopUpButton::sizeHint):
- platform/mac/TextFieldMac.mm: (-[NSSearchFieldCell _addStringToRecentSearches:]):
- platform/mac/WebCoreTextRenderer.mm: (WebCoreDrawTextAtPoint): (WebCoreTextFloatWidth):
- rendering/EllipsisBox.cpp: (WebCore::EllipsisBox::paint):
- rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paint):
- rendering/RenderImage.cpp: (WebCore::RenderImage::paint):
- rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint):
- 11:32 PM Changeset in webkit [22156] by
-
- 1 edit in branches/WindowsMerge/WebCore/platform/win/FontWin.cpp
Remove usePrinterFont param from Cairo drawGlyphs code path. (CG code path was unpatched so no need to revert it.
- 11:16 PM Changeset in webkit [16295] by
-
- 3 edits in trunk/WebCore
- 10:23 PM Changeset in webkit [16294] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej
Added specialized HashTraits
- platform/IntSizeHash.h:
- 9:42 PM Changeset in webkit [22155] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Remove the addIntrinsicMargins code from the theme. I did this
in the open source version but forgot to do it in the internal
version.
- rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::adjustButtonStyle): (WebCore::RenderThemeWin::adjustTextFieldStyle): (WebCore::RenderThemeWin::adjustTextAreaStyle): (WebCore::RenderThemeWin::adjustMenuListStyle):
- 7:48 PM Changeset in webkit [16293] by
-
- 3 edits2 deletes in trunk/LayoutTests
- converted a text to plain text (makes it platform independent; fixes a failure)
- fast/text/plain-text-line-breaks-expected.checksum: Removed.
- fast/text/plain-text-line-breaks-expected.png: Removed.
- fast/text/plain-text-line-breaks-expected.txt: Regenerated.
- fast/text/plain-text-line-breaks.html: Added a call to dumpAsText().
- 7:26 PM Changeset in webkit [16292] by
-
- 3 edits in trunk/WebCore
Forgetting header #define protection is BAAAAAD
(and re-alphabatized the project file)
- WebCore.xcodeproj/project.pbxproj:
- platform/IntSizeHash.h:
- 7:13 PM Changeset in webkit [16291] by
-
- 3 edits1 add in trunk/WebCore
Reviewed by Maciej
Moved the custom IntSize hash out of IconDatabase into a more generally useful file
- WebCore.xcodeproj/project.pbxproj:
- loader/icon/IconDatabase.h:
- platform/IntSizeHash.h: Added.
- 5:14 PM Changeset in webkit [22154] by
-
- 2 edits in branches/WindowsMerge/WebCore
Build fix
- 4:33 PM Changeset in webkit [16290] by
-
- 58 edits in trunk/LayoutTests/fast/forms
Land new results.
- 4:27 PM Changeset in webkit [16289] by
-
- 11 edits in trunk/WebCore
Fix for bug 10801, form controls that get styled suddenly lose their
intrinsic margins. Move the intrinsic margin addition code into
adjustRenderStyle and get it out of the theme code and the old form control
code.
Reviewed by aroben
- css/cssstyleselector.cpp: (WebCore::addIntrinsicMargins): (WebCore::CSSStyleSelector::adjustRenderStyle):
- css/html4.css:
- rendering/DeprecatedRenderSelect.h: (WebCore::DeprecatedRenderSelect::calcReplacedHeight):
- rendering/DeprecatedSlider.h:
- rendering/RenderFormElement.cpp: (WebCore::RenderFormElement::setStyle):
- rendering/RenderFormElement.h:
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::resize):
- rendering/RenderThemeMac.h:
- rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustButtonStyle): (WebCore::RenderThemeMac::adjustTextFieldStyle): (WebCore::RenderThemeMac::adjustTextAreaStyle): (WebCore::RenderThemeMac::adjustMenuListStyle): (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
- rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::adjustButtonStyle): (WebCore::RenderThemeWin::adjustTextFieldStyle): (WebCore::RenderThemeWin::adjustTextAreaStyle):
- 1:22 PM Changeset in webkit [16288] by
-
- 2 edits in trunk/WebKit
Reviewed by Brady.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10547 REGRESSION: Links that should open in a new window open in the same window, while opening another blank window
- WebView/WebFrame.m: (-[WebFrame _continueLoadRequestAfterNewWindowPolicy:frameName:formState:]): Changed a mistaken "self" to "frame", which was the cause of the bug. Also fixed the method so that it won't crash if createWebViewWithRequest does something that has a side effect of releasing this WebView or this frame by retaining "self" and "frame" as needed. Also fixed a problem where the code to set "opener" was backwards, and would set the opener of the old frame to point to the new frame instead of vice versa.
- 1:21 PM Changeset in webkit [16287] by
-
- 1 edit2 adds in trunk/WebCore
- manual-tests/target-test.html: Added.
- manual-tests/targeted.html: Added.
- 12:53 PM Changeset in webkit [16286] by
-
- 18 edits in trunk/WebCore
2006-09-10 Eric Seidel <eric@eseidel.com>
Reviewed by darin.
Remove a bunch more NSGraphicsContext related code.
Add a LocalCurrentGraphicsContext to simplify methods which need to call up into AppKit controls (and thus depend on the [NSGraphicsContext currentContext] being set correctly)
Add an "isPrinting" flag to many of the text drawing functions in order to avoid the need for a GraphicsContext::isPrinting() function.
No tests were harmed in the making of this patch.
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge drawRect:]):
- kcanvas/device/quartz/KRenderingDeviceQuartz.h: (WebCore::KRenderingDeviceContextQuartz::cgContext): (WebCore::KRenderingDeviceQuartz::isBuffered):
- kcanvas/device/quartz/KRenderingDeviceQuartz.mm: (WebCore::KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz): (WebCore::KRenderingDeviceContextQuartz::~KRenderingDeviceContextQuartz):
- kcanvas/device/quartz/QuartzSupport.mm:
- platform/Font.cpp: (WebCore::Font::drawSimpleText): (WebCore::Font::drawText):
- platform/Font.h:
- platform/GraphicsContext.cpp: (WebCore::GraphicsContext::drawText):
- platform/GraphicsContext.h:
- platform/mac/FileButtonMac.mm: (-[WebFileChooserButton drawRect:]):
- platform/mac/FontMac.mm: (WebCore::ATSULayoutParameters::ATSULayoutParameters): (WebCore::ATSULayoutParameters::initialize): (WebCore::Font::drawComplexText): (WebCore::Font::drawGlyphs):
- platform/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawLineForMisspelling):
- platform/mac/ListBoxMac.mm: (-[WebCoreTableView drawRow:clipRect:]):
- platform/mac/WebCoreTextRenderer.mm: (WebCoreDrawTextAtPoint):
- rendering/EllipsisBox.cpp: (WebCore::EllipsisBox::paint):
- rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paint):
- rendering/RenderImage.cpp: (WebCore::RenderImage::paint):
- rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint):
- rendering/RenderThemeMac.mm: (WebCore::WebCoreNSGraphicsContextBridge::WebCoreNSGraphicsContextBridge): (WebCore::WebCoreNSGraphicsContextBridge::~WebCoreNSGraphicsContextBridge): (WebCore::RenderThemeMac::paintButton): (WebCore::RenderThemeMac::paintTextField): (WebCore::RenderThemeMac::paintTextArea):
- 11:17 AM Changeset in webkit [16285] by
-
- 2 edits in trunk/WebKitQt
Reviewed and landed by ap.
Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
- QtLauncher/main.cpp: (main):
- 12:54 AM Changeset in webkit [22153] by
-
- 4 edits in branches/WindowsMerge
- 12:41 AM Changeset in webkit [16284] by
-
- 4 edits in trunk/WebCore
2006-09-09 Steve Falkenburg <sfalken@apple.com>
Reviewed by aroben.
Fixes to work with string API changes.
- platform/cf/ResourceLoaderCFNet.cpp: (WebCore::arrayFromFormData): (WebCore::ResourceLoader::start):
- platform/cf/StringCF.cpp:
- platform/cf/StringImplCF.cpp:
- 12:40 AM Changeset in webkit [16283] by
-
- 1 edit in trunk/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj
2006-09-09 Steve Falkenburg <sfalken@apple.com>
Reviewed by aroben.
Add missing copy command.
Support finding icu headers in multiple locations.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 12:19 AM Changeset in webkit [22152] by
-
- 7 edits in branches/WindowsMerge
Sep 9, 2006:
- 11:28 PM Changeset in webkit [22151] by
-
- 1 edit in branches/WindowsMerge/WebCore/ChangeLog
Reviewed by hyatt.
Remove unnecessary calls to setAffectedBy{Active,Hover}Rules
- rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::adjustMenuListStyle): Remove unnecessary calls
- 10:52 PM Changeset in webkit [16282] by
-
- 4 adds in trunk/LayoutTests/fast/forms
Add test for textarea scrollwidth and height.
- 10:47 PM Changeset in webkit [16281] by
-
- 4 adds in trunk/LayoutTests/fast/block/positioning
Add layout test for bug 10719.
- 10:37 PM Changeset in webkit [16280] by
-
- 8 edits in trunk/WebCore
Fix for Bugzilla bug 5500, scrollLeft/Top/Width/Height properties not supported
on textarea. Refactored the DOM getters and setters to go through the renderer
instead of right to the layer. The renderer functions are virtual so that the
text control can subclass and forward to its anonymous div.
Fix for Bugzilla bug 10719, When positioned objects are sizing using their
containing block width as a guide, they should not ever use the line width like
non-positioned objects do.
Reviewed by aroben
- WebCore.xcodeproj/project.pbxproj:
- dom/Element.cpp: (WebCore::Element::scrollLeft): (WebCore::Element::scrollTop): (WebCore::Element::setScrollLeft): (WebCore::Element::setScrollTop):
- rendering/RenderBox.cpp: (WebCore::RenderBox::containingBlockWidthForPositioned):
- rendering/RenderObject.cpp: (WebCore::RenderObject::clientWidth): (WebCore::RenderObject::clientHeight): (WebCore::RenderObject::scrollWidth): (WebCore::RenderObject::scrollHeight): (WebCore::RenderObject::scrollLeft): (WebCore::RenderObject::scrollTop): (WebCore::RenderObject::setScrollLeft): (WebCore::RenderObject::setScrollTop): (WebCore::RenderObject::hasStaticX): (WebCore::RenderObject::hasStaticY):
- rendering/RenderObject.h: (WebCore::RenderObject::clientLeft): (WebCore::RenderObject::clientTop):
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::scrollWidth): (WebCore::RenderTextControl::scrollHeight): (WebCore::RenderTextControl::scrollLeft): (WebCore::RenderTextControl::scrollTop): (WebCore::RenderTextControl::setScrollLeft): (WebCore::RenderTextControl::setScrollTop):
- rendering/RenderTextControl.h:
- 9:55 PM Changeset in webkit [16279] by
-
- 4 edits in trunk/WebCore
Implement support for the WinIE clientLeft and clientTop extensions.
Reviewed by aroben
- dom/Element.cpp: (WebCore::Element::clientLeft): (WebCore::Element::clientTop):
- dom/Element.h:
- dom/Element.idl:
- rendering/RenderObject.h: (WebCore::RenderObject::clientLeft): (WebCore::RenderObject::clientTop):
- 7:36 PM Changeset in webkit [16278] by
-
- 12 edits in trunk
WebCore:
Reviewed by Eric.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10795
Auto-generate the Objective-C DOM XPath bindings
- Auto-generates DOMXPathExpression, DOMXPathNSResolver and DOMXPathResult.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMPrivate.h:
- bindings/objc/DOMXPath.h:
- bindings/objc/DOMXPath.mm:
- bindings/objc/PublicDOMInterfaces.h:
- xml/XPathExpression.idl:
- xml/XPathNSResolver.idl:
- xml/XPathResult.idl:
WebKit:
Reviewed by Eric.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10795
Auto-generate the Objective-C DOM XPath bindings
- MigrateHeaders.make:
- 3:05 PM Changeset in webkit [16277] by
-
- 23 edits3 adds1 delete in trunk
WebCore:
Reviewed by Eric.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10791
Even More Objective-C DOM auto-generation cleanup
- Auto-generate some remaining extension methods for DOMDocument and DOMCSSStyleDeclaration.
- Split DOMHTMLEmbedElement into it's own files. It can't be auto-generated yet because the Objective-C interface is significantly different from the implementation interface. Since HTMLEmbedElement is not in the W3C spec, this is somewhat of a gray area.
- Auto-generate DOMEventListener protocol.
- Clean up the IDL files by separating the extensions from the specified methods and attributes.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm:
- bindings/objc/DOMCSS.mm:
- bindings/objc/DOMEventListener.h: Removed.
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMHTML.h:
- bindings/objc/DOMHTML.mm:
- bindings/objc/DOMHTMLEmbedElement.h: Added.
- bindings/objc/DOMHTMLEmbedElement.mm: Added. (-[DOMHTMLEmbedElement align]): (-[DOMHTMLEmbedElement setAlign:]): (-[DOMHTMLEmbedElement height]): (-[DOMHTMLEmbedElement setHeight:]): (-[DOMHTMLEmbedElement name]): (-[DOMHTMLEmbedElement setName:]): (-[DOMHTMLEmbedElement src]): (-[DOMHTMLEmbedElement setSrc:]): (-[DOMHTMLEmbedElement type]): (-[DOMHTMLEmbedElement setType:]): (-[DOMHTMLEmbedElement width]): (-[DOMHTMLEmbedElement setWidth:]):
- bindings/objc/DOMPrivate.h:
- bindings/objc/PublicDOMInterfaces.h:
- css/CSSStyleDeclaration.idl:
- dom/Document.idl:
- dom/KeyboardEvent.h:
- dom/KeyboardEvent.idl:
- dom/MouseEvent.idl:
- dom/MutationEvent.idl:
- dom/OverflowEvent.idl:
- dom/UIEvent.idl:
- dom/WheelEvent.idl:
- html/HTMLEmbedElement.idl: Added.
WebKit:
Reviewed by Eric.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10791
Even More Objective-C DOM auto-generation cleanup
- MigrateHeaders.make:
WebKitTools:
Reviewed by Eric.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10791
Even More Objective-C DOM auto-generation cleanup
- Change to use new, more Objectice-C'ish version of DOMKeyboardEvent's initKeyboardEvent. Fixes an error with regression test for fast/events/dblclick-addEventListener.html.
- DumpRenderTree/EventSendingController.m: (-[EventSendingController fireKeyboardEventsToElement:]):
- 1:29 PM Changeset in webkit [16276] by
-
- 47 edits in trunk/WebCore
2006-09-09 Eric Seidel <eric@eseidel.com>
Reviewed by Tim H.
Remove DeprecatedString usage and fix style.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10787
No tests were harmed in the making of this patch.
- kcanvas/KCanvasFilters.cpp: (WebCore::KCanvasFilterEffect::in): (WebCore::KCanvasFilterEffect::setIn): (WebCore::KCanvasFilterEffect::result): (WebCore::KCanvasFilterEffect::setResult): (WebCore::KCanvasFEMerge::externalRepresentation):
- kcanvas/KCanvasFilters.h: (WebCore::KCanvasFEBlend::in2): (WebCore::KCanvasFEBlend::setIn2): (WebCore::KCanvasFEComposite::in2): (WebCore::KCanvasFEComposite::setIn2): (WebCore::KCanvasFEDisplacementMap::in2): (WebCore::KCanvasFEDisplacementMap::setIn2): (WebCore::KCanvasFEMerge::mergeInputs): (WebCore::KCanvasFEMerge::setMergeInputs):
- kcanvas/KCanvasResources.cpp: (WebCore::KCanvasResource::idInRegistry): (WebCore::KCanvasResource::setIdInRegistry): (WebCore::getResourceById):
- kcanvas/KCanvasResources.h:
- kcanvas/RenderPath.cpp: (WebCore::RenderPath::getAbsoluteRepaintRect): (WebCore::RenderPath::paint): (WebCore::RenderPath::drawMarkersIfNeeded):
- kcanvas/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint): (WebCore::RenderSVGContainer::getAbsoluteRepaintRect):
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint): (WebCore::RenderSVGImage::getAbsoluteRepaintRect):
- kcanvas/RenderSVGText.cpp: (WebCore::RenderSVGText::paint):
- kcanvas/device/KRenderingPaintServer.h: (WebCore::KRenderingPaintServer::idInRegistry): (WebCore::KRenderingPaintServer::setIdInRegistry):
- kcanvas/device/quartz/KCanvasFilterQuartz.h:
- kcanvas/device/quartz/KCanvasFilterQuartz.mm: (WebCore::KCanvasFilterQuartz::imageForName): (WebCore::KCanvasFilterQuartz::setImageForName): (WebCore::KCanvasFEMergeQuartz::getCIFilter):
- ksvg2/css/SVGCSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applySVGProperty):
- ksvg2/css/SVGRenderStyle.cpp:
- ksvg2/css/SVGRenderStyle.h:
- ksvg2/css/SVGRenderStyleDefs.h:
- ksvg2/ecma/GlobalObject.cpp: (GlobalObject::get):
- ksvg2/misc/KSVGTimeScheduler.cpp: (WebCore::SVGTimer::notifyAll):
- ksvg2/svg/SVGDescElement.cpp: (WebCore::SVGDescElement::SVGDescElement): (WebCore::SVGDescElement::description):
- ksvg2/svg/SVGDescElement.h:
- ksvg2/svg/SVGFEBlendElement.cpp: (WebCore::SVGFEBlendElement::SVGFEBlendElement): (WebCore::SVGFEBlendElement::filterEffect):
- ksvg2/svg/SVGFEColorMatrixElement.cpp: (SVGFEColorMatrixElement::SVGFEColorMatrixElement): (SVGFEColorMatrixElement::filterEffect):
- ksvg2/svg/SVGFEComponentTransferElement.cpp: (WebCore::SVGFEComponentTransferElement::SVGFEComponentTransferElement): (WebCore::SVGFEComponentTransferElement::filterEffect):
- ksvg2/svg/SVGFECompositeElement.cpp: (SVGFECompositeElement::SVGFECompositeElement): (SVGFECompositeElement::filterEffect):
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement): (WebCore::SVGFEDiffuseLightingElement::filterEffect):
- ksvg2/svg/SVGFEDisplacementMapElement.cpp: (SVGFEDisplacementMapElement::SVGFEDisplacementMapElement): (SVGFEDisplacementMapElement::filterEffect):
- ksvg2/svg/SVGFEFloodElement.cpp: (WebCore::SVGFEFloodElement::SVGFEFloodElement): (WebCore::SVGFEFloodElement::filterEffect):
- ksvg2/svg/SVGFEGaussianBlurElement.cpp: (SVGFEGaussianBlurElement::SVGFEGaussianBlurElement): (SVGFEGaussianBlurElement::filterEffect):
- ksvg2/svg/SVGFELightElement.cpp:
- ksvg2/svg/SVGFEMergeElement.cpp: (SVGFEMergeElement::filterEffect):
- ksvg2/svg/SVGFEOffsetElement.cpp: (SVGFEOffsetElement::SVGFEOffsetElement): (SVGFEOffsetElement::filterEffect):
- ksvg2/svg/SVGFESpecularLightingElement.cpp: (SVGFESpecularLightingElement::SVGFESpecularLightingElement): (SVGFESpecularLightingElement::filterEffect):
- ksvg2/svg/SVGFETileElement.cpp: (WebCore::SVGFETileElement::SVGFETileElement): (WebCore::SVGFETileElement::filterEffect):
- ksvg2/svg/SVGFETurbulenceElement.cpp: (SVGFETurbulenceElement::SVGFETurbulenceElement):
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
- ksvg2/svg/SVGFitToViewBox.cpp: (WebCore::SVGFitToViewBox::parseViewBox): (WebCore::SVGFitToViewBox::parseMappedAttribute):
- ksvg2/svg/SVGFitToViewBox.h:
- ksvg2/svg/SVGLinearGradientElement.cpp: (SVGLinearGradientElement::buildGradient):
- ksvg2/svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::fillAttributesFromReferencePattern): (WebCore::SVGPatternElement::notifyAttributeChange):
- ksvg2/svg/SVGPreserveAspectRatio.cpp: (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio): (WebCore::SVGPreserveAspectRatio::parsePreserveAspectRatio): (WebCore::SVGPreserveAspectRatio::getCTM):
- ksvg2/svg/SVGPreserveAspectRatio.h:
- ksvg2/svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::buildGradient):
- ksvg2/svg/SVGStyleElement.cpp:
- ksvg2/svg/SVGStyledTransformableElement.cpp:
- ksvg2/svg/SVGViewElement.cpp: (WebCore::SVGViewElement::SVGViewElement): (WebCore::SVGViewElement::parseMappedAttribute):
- ksvg2/svg/SVGZoomAndPan.cpp: (WebCore::SVGZoomAndPan::SVGZoomAndPan):
- 8:35 AM Changeset in webkit [16275] by
-
- 3 edits2 adds in trunk
LayoutTests:
Adds a test for the CSS URL quoting logic.
- fast/inspector/cssURLQuotes-expected.txt: Added.
- fast/inspector/cssURLQuotes.html: Added.
WebCore:
Reviewed by Tim H.
<rdar://problem/4699166> REGRESSION: Background images in Mail stationery do not load
Fixes the quoting logic. The previous logic did not account for the
CSS tokenizer's regex character range between * and ~ as valid in URL types.
- css/CSSPrimitiveValue.cpp: (WebCore::isCSSTokenizerURL):
- 3:54 AM Changeset in webkit [16274] by
-
- 4 edits in trunk
Reviewed by Darin.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=10759 fast/AppleScript/array.html test failing
WebCore:
- bridge/mac/WebCoreFrameBridge.mm: (aeDescFromJSValue): Convert integer values to typeSInt32 AE descriptors.
LayoutTests:
- fast/AppleScript/001-expected.txt: Updated results.
Sep 8, 2006:
- 6:56 PM Changeset in webkit [16273] by
-
- 51 edits in trunk/WebCore
2006-09-08 Eric Seidel <eric@eseidel.com>
Reviewed by darin.
Replace incorrect fooBaseValue() calls with foo() calls instead.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10746
With the previously broken animation system, we had both base and anim values
but they were not automatically connected/disconnected when animation started and stopped.
So the animVals were basically never used (since they were always wrong).
Now, animVal and baseVal are handled correctly.
There are only 3 places in the code where we will ever need to use the BaseValue accessor variants.
- SVGAnimated* DOM bindings
- Animation Code
- parseMappedAttribute implementations
- kcanvas/RenderForeignObject.cpp: (WebCore::RenderForeignObject::translationForAttributes):
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint): (WebCore::RenderSVGImage::relativeBBox): (WebCore::RenderSVGImage::getAbsoluteRepaintRect): (WebCore::RenderSVGImage::translationForAttributes):
- kcanvas/RenderSVGText.cpp: (WebCore::RenderSVGText::translationForAttributes):
- ksvg2/misc/SVGImageLoader.cpp: (WebCore::SVGImageLoader::updateFromElement):
- ksvg2/svg/SVGAElement.cpp: (WebCore::SVGAElement::defaultEventHandler):
- ksvg2/svg/SVGCircleElement.cpp: (SVGCircleElement::parseMappedAttribute): (SVGCircleElement::toPathData): (SVGCircleElement::pushAttributeContext): (SVGCircleElement::hasPercentageValues):
- ksvg2/svg/SVGClipPathElement.cpp: (SVGClipPathElement::canvasResource):
- ksvg2/svg/SVGComponentTransferFunctionElement.cpp: (SVGComponentTransferFunctionElement::transferFunction):
- ksvg2/svg/SVGCursorElement.cpp: (SVGCursorElement::parseMappedAttribute):
- ksvg2/svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::parseMappedAttribute): (WebCore::SVGEllipseElement::toPathData): (WebCore::SVGEllipseElement::pushAttributeContext): (WebCore::SVGEllipseElement::hasPercentageValues):
- ksvg2/svg/SVGFEBlendElement.cpp: (SVGFEBlendElement::filterEffect):
- ksvg2/svg/SVGFEColorMatrixElement.cpp: (SVGFEColorMatrixElement::filterEffect):
- ksvg2/svg/SVGFEComponentTransferElement.cpp: (SVGFEComponentTransferElement::filterEffect):
- ksvg2/svg/SVGFECompositeElement.cpp: (SVGFECompositeElement::filterEffect):
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::filterEffect):
- ksvg2/svg/SVGFEDisplacementMapElement.cpp: (SVGFEDisplacementMapElement::filterEffect):
- ksvg2/svg/SVGFEDistantLightElement.cpp: (WebCore::SVGFEDistantLightElement::lightSource):
- ksvg2/svg/SVGFEFloodElement.cpp: (SVGFEFloodElement::filterEffect):
- ksvg2/svg/SVGFEGaussianBlurElement.cpp: (SVGFEGaussianBlurElement::filterEffect):
- ksvg2/svg/SVGFEImageElement.cpp: (SVGFEImageElement::parseMappedAttribute):
- ksvg2/svg/SVGFEMergeElement.cpp: (SVGFEMergeElement::SVGFEMergeElement): (SVGFEMergeElement::filterEffect):
- ksvg2/svg/SVGFEOffsetElement.cpp: (SVGFEOffsetElement::filterEffect):
- ksvg2/svg/SVGFEPointLightElement.cpp: (WebCore::SVGFEPointLightElement::SVGFEPointLightElement): (WebCore::SVGFEPointLightElement::lightSource):
- ksvg2/svg/SVGFESpecularLightingElement.cpp: (SVGFESpecularLightingElement::filterEffect):
- ksvg2/svg/SVGFESpotLightElement.cpp: (WebCore::SVGFESpotLightElement::lightSource):
- ksvg2/svg/SVGFETileElement.cpp: (SVGFETileElement::filterEffect):
- ksvg2/svg/SVGFETurbulenceElement.cpp: (SVGFETurbulenceElement::filterEffect):
- ksvg2/svg/SVGFilterElement.cpp: (SVGFilterElement::canvasResource):
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
- ksvg2/svg/SVGGradientElement.cpp: (SVGGradientElement::rebuildStops):
- ksvg2/svg/SVGHelper.cpp: (WebCore::SVGHelper::PercentageOfViewport):
- ksvg2/svg/SVGLineElement.cpp: (SVGLineElement::toPathData): (SVGLineElement::pushAttributeContext): (SVGLineElement::hasPercentageValues):
- ksvg2/svg/SVGLinearGradientElement.cpp: (SVGLinearGradientElement::buildGradient):
- ksvg2/svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::canvasResource):
- ksvg2/svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::attributeChanged): (WebCore::SVGMaskElement::drawMaskerContent):
- ksvg2/svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::pushAttributeContext): (WebCore::SVGPatternElement::fillAttributesFromReferencePattern): (WebCore::SVGPatternElement::drawPatternContentIntoTile): (WebCore::SVGPatternElement::notifyAttributeChange): (WebCore::SVGPatternElement::getCTM):
- ksvg2/svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::buildGradient):
- ksvg2/svg/SVGRectElement.cpp: (WebCore::SVGRectElement::toPathData): (WebCore::SVGRectElement::pushAttributeContext): (WebCore::SVGRectElement::hasPercentageValues):
- ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::viewport): (WebCore::SVGSVGElement::parseMappedAttribute): (WebCore::SVGSVGElement::getCTM): (WebCore::SVGSVGElement::getScreenCTM): (WebCore::SVGSVGElement::createRenderer):
- ksvg2/svg/SVGTRefElement.cpp: (SVGTRefElement::updateReferencedText):
- ksvg2/svg/SVGUseElement.cpp: (SVGUseElement::closeRenderer):
- 6:46 PM Changeset in webkit [16272] by
-
- 2 edits in trunk/WebCore
2006-09-08 Eric Seidel <eric@eseidel.com>
Reviewed by beth.
Remove the last vestiges of KDOM (KDOMCSSValue and KDOMCSSValueList)
http://bugzilla.opendarwin.org/show_bug.cgi?id=10778
- ksvg2/css/SVGCSSParser.cpp: (WebCore::CSSParser::parseSVGValue): (WebCore::CSSParser::parseSVGStrokeDasharray): (WebCore::CSSParser::parseSVGPaint): (WebCore::CSSParser::parseSVGColor):
- 6:35 PM Changeset in webkit [16271] by
-
- 4 edits in trunk/WebKit
Reviewed by Brady Eidson.
Rolled out Maciej's code cleanup from 8/22. It turns out that keeping the "loading" flag
is a useful optimization, as it avoids many Objective-C method calls while polling resources
for their load state.
This fixes a 3-4% PLT performance regression (as measured on my MacBook Pro).
- Loader/WebFrameLoader.m: (-[WebFrameLoader addPlugInStreamLoader:]): (-[WebFrameLoader removePlugInStreamLoader:]): (-[WebFrameLoader addSubresourceLoader:]): (-[WebFrameLoader removeSubresourceLoader:]):
- WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _prepareForLoadStart]): (-[WebDataSource _setLoading:]): (-[WebDataSource _updateLoading]): (-[WebDataSource _startLoading]): (-[WebDataSource _stopLoading]): (-[WebDataSource _setPrimaryLoadComplete:]): (-[WebDataSource isLoading]):
- WebView/WebDataSourceInternal.h:
- 5:11 PM Changeset in webkit [16270] by
-
- 2 edits in trunk/WebKitSite
Reviewed by Adel.
- this patch brought to you by the letter 'c'
- coding/coding-style.html:
- 3:48 PM Changeset in webkit [22150] by
-
- 4 edits in branches/WindowsMerge/WebKitWin
Stubs for Icon Database Path preferences
- 5:51 AM Changeset in webkit [16269] by
-
- 5 edits in S60/trunk
2006-09-08 ligman <joseph.ligman@nokia.com>
Reviewed by Zalan Bujtas.
DESC: The text buffer returned from CWebCoreBridge::GetNextRenderTextForSmartLinksL
was getting prematurely deleted. To resolve, store a copy in the WebCore and remove
the copy from Webkit since it is no longer needed.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10498
WARNING: NO TEST CASES ADDED OR CHANGED
- bridge/WebCoreBridge.cpp: (CWebCoreBridge::~CWebCoreBridge): (CWebCoreBridge::GetNextRenderTextForSmartLinksL): (CWebCoreBridge::GetRenderTextArea):
- bridge/WebCoreBridge.h:
Sep 7, 2006:
- 4:48 PM Changeset in webkit [16268] by
-
- 4 edits in branches/Safari-2-0-branch/WebKit
Reviewed by Darin sort of and Maciej definitely.
Fix for <rdar://problem/4719149> Crash caused by malformed frame
setup. This is the same bug as 3853672, which has been fixed on TOT
for a while. We feel like this fix is much safer for the branch
though.
- WebKit.xcodeproj/project.pbxproj: Version wars.
- WebView.subproj/WebBaseResourceHandleDelegate.m: (-[NSURLProtocol releaseResources]): Added comment for assertion that will be hit. (-[NSURLProtocol didFailWithError:]): Added comment for assertion that will be hit.
- WebView.subproj/WebDataSource.m: (-[WebDataSource _receivedMainResourceError:complete:]): Retain and release all of the pieces involved with sending the error.
- 3:06 PM Changeset in webkit [16267] by
-
- 13 edits1 add in trunk
WebCore:
Reviewed by Darin and Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10774
Auto-generate the Objective-C DOM Traversal bindings
- Auto-generates DOMNodeIterator and DOMTreeWalker.
- Splits out DOMNodeFilter into its own file.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm:
- bindings/objc/DOMNodeFilter.h: Added.
- bindings/objc/DOMTraversal.h:
- bindings/objc/PublicDOMInterfaces.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- dom/NodeFilter.idl:
- dom/NodeIterator.idl:
- dom/Range.idl:
- dom/TreeWalker.idl:
WebKit:
Reviewed by Darin and Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10774
Auto-generate the Objective-C DOM Traversal bindings
- MigrateHeaders.make:
- 3:06 PM Changeset in webkit [16266] by
-
- 2 edits in S60/trunk/WebKit
2006-09-07 spadma <Sachin.Padma@nokia.com>
Reviewed by Yongjun.
DESC: Check if the pageUrl is Null before setting it as currentUrl
http://bugzilla.opendarwin.org/show_bug.cgi?id=
- BrowserView/src/WebKitLoader.cpp: (CWebKitLoader::LoadPageL): (CWebKitLoader::LoadResourceL):
- 12:40 PM Changeset in webkit [16265] by
-
- 5 edits in S60/trunk/WebKit
2006-09-07 zhalu <zhaosong.lu@nokia.com>
Reviewed by Sachin.
DESC: Disable the form autofill feature for embedded browser and make sure there is no crash on accessing the autofill database.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10754
- BrowserControl/src/BrCtl.cpp: (CBrCtl::HandleCommandL):
- BrowserCore/Formcontrols/src/FControlInputSkin.cpp: (CFormInputSkin::CFormInputSkin): (CFormInputSkin::SetText): (CFormInputSkin::ActivateL):
- BrowserView/inc/WebKitControl.h: (CWebKitControl::FormDataManagerL):
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::SaveFormData):
- 11:45 AM Changeset in webkit [16264] by
-
- 5 edits in trunk/WebCore
2006-09-07 MorganL <morlmor@yahoo.com>
Reviewed by Darin, landed by Adam.
Fixes part of bug 10743: Windows build busted.
- platform/win/FontCacheWin.cpp: Add missing #include, set svn:eol-style to native (WebCore::FontCache::getFontLinkInterface): (WebCore::FontCache::getFontDataForCharacters):
- platform/win/FontDataWin.cpp: Ditto. (WebCore::FontData::platformWidthForGlyph):
- platform/win/FontWin.cpp: Add missing #include, band-aid over const problem with GlyphBufferGlyph (WebCore::Font::drawGlyphs):
- platform/win/ResourceLoaderWin.cpp: Add missing #include, change .ascii() to .latin1() (WebCore::ResourceLoaderWndProc): (WebCore::ResourceLoader::start):
- 11:27 AM Changeset in webkit [22149] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2006-09-07 Steve Falkenburg <sfalken@apple.com>
Reviewed by Lou Amadio.
Fix CFArray allocator usage for cases where we store CF types in the array.
- WebHistory.cpp: (WebHistory::WebHistory): (WebHistory::datesArray):
- 10:37 AM Changeset in webkit [16263] by
-
- 4 edits4 adds in trunk
Reviewed by Darin.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10753
REGRESSION: The beginning of a CSS file is missing
Test: http/tests/incremental/slow-utf8-css.pl
- loader/Decoder.cpp: (WebCore::Decoder::checkForCSSCharset): Use the same buffering logic as used for HTML. (WebCore::Decoder::decode):
- loader/Decoder.h: Added a return value and a movedDataToBuffer parameter to checkForCSSCharset().
- 10:08 AM Changeset in webkit [16262] by
-
- 17 edits4 adds1 delete in trunk
WebCore:
Reviewed by Darin.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10766
Auto-generate the Objective-C DOM Events bindings
- Auto-generates DOMEvent, DOMKeyboardEvent, DOMMouseEvent, DOMMutationEvent, DOMOverflowEvent, DOMUIEvent, and DOMWheelEvent.
- Splits out DOMEventListener and DOMEventTarget into their own files.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMEventListener.h: Added.
- bindings/objc/DOMEventTarget.h: Added.
- bindings/objc/DOMEvents.h:
- bindings/objc/DOMEvents.mm: (-[DOMEvent WebCore::]): (-[DOMEvent _initWithEvent:WebCore::]): (+[DOMEvent _eventWith:WebCore::]):
- bindings/objc/DOMEventsNonstandard.mm: Removed.
- bindings/objc/DOMNode.h:
- bindings/objc/PublicDOMInterfaces.h:
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorObjC.pm:
- dom/Event.idl:
- dom/EventListener.idl: Added.
- dom/EventTarget.idl: Added.
- dom/KeyboardEvent.idl:
- dom/MouseEvent.idl:
- dom/UIEvent.idl:
- dom/WheelEvent.idl:
WebKit:
Reviewed by Darin.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10766
Auto-generate the Objective-C DOM Events bindings
- MigrateHeaders.make:
- WebKit.xcodeproj/project.pbxproj:
- 8:48 AM Changeset in webkit [16261] by
-
- 2 edits in S60/trunk/WebCore
2006-09-07 bujtas <zbujtas@gmail.com>
Reviewed by Sriram Yadavalli.
DESC: do not call tabbednavigation when the document
is null.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10767
WARNING: NO TEST CASES ADDED OR CHANGED
- bridge/WebCoreBridge.cpp: (CWebCoreBridge::TabbedNavigation):
- 7:33 AM Changeset in webkit [16260] by
-
- 2 edits in S60/trunk/WebKit
2006-09-07 hongzhao <hong.a.zhao@nokia.com>
Reviewed by Sachin.
DESC: [S60] OfferKeyEventL() doesn't return a correct response value if it doesn't do anything
http://bugzilla.opendarwin.org/show_bug.cgi?id=10737
- Plugin/src/PluginWin.cpp: (CPluginWin::OfferKeyEventL):
- 2:03 AM Changeset in webkit [16259] by
-
- 227 edits4 adds in trunk
WebCore:
Reviewed by Maciej.
http://bugzilla.opendarwin.org/show_bug.cgi?id=9753
SVG with width and height 100% leaves room for scrollbar on the right.
Relayout children of svg containers, except svg shapes that do not depend on percentages.
LayoutTests:
Reviewed by Maciej.
New test case for
<http://bugzilla.opendarwin.org/show_bug.cgi?id=9753>
SVG with width and height 100% leaves room for scrollbar on the right.
Also Updated .txt files (all text blocks are wider) and some updated
pixel tests (some text is layouted differently because of wider text blocks).
Sep 6, 2006:
- 11:23 PM Changeset in webkit [22148] by
-
- 2 edits in branches/WindowsMerge/WebCore
YABF (Yet another build fix)
- 11:15 PM Changeset in webkit [22147] by
-
- 1 edit in branches/WindowsMerge/WebKitWin/ChangeLog
Changed the Changelog to reflect who reviewed
- 11:12 PM Changeset in webkit [22146] by
-
- 4 edits1 add in branches/WindowsMerge/WebKitWin
Adding the urlIcon resource for the upcoming icon database checkin
- 10:49 PM Changeset in webkit [22145] by
-
- 2 edits in branches/WindowsMerge/WebCore
Nuked some repeat symbols added to TemporaryLinkStubs.cpp even though already implemented.
- 6:00 PM Changeset in webkit [16258] by
-
- 2 edits in trunk/WebCore
Updated usage of a constant that got renamed
- 4:41 PM Changeset in webkit [16257] by
-
- 3 edits in trunk/WebCore
Reviewed by Tim Hatcher.
- fix crashes affecting editing layout tests (regressions from my vector change)
- editing/BreakBlockquoteCommand.cpp: (WebCore::BreakBlockquoteCommand::doApply): Added check for empty vector.
- editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply): Ditto.
- 2:43 PM Changeset in webkit [16256] by
-
- 28 edits in S60/trunk
2006-09-06 vbradley <vincent.bradley@nokia.com>
Reviewed by Sachin Padma.
DESC: Removed the obsolete flag RD_BROWSER_VIDEO_PLUGIN
http://bugzilla.opendarwin.org/show_bug.cgi?id=10258
- BrowserControl/src/BrCtl.cpp: (CBrCtl::HandleCommandL): (CBrCtl::AddOptionMenuItemsL):
- BrowserView/inc/WebKitView.h:
- BrowserView/inc/webkitbridge.h: (CWebKitBridge::IsTabbedNavigationEnabled):
- BrowserView/src/HttpLoaderEventToUiListener.cpp: (CHttpLoaderEventToUiListener::ConnectionRequest):
- BrowserView/src/KeyEventHandler.cpp: (CKeyEventHandler::NavigateWithCursor): (CKeyEventHandler::HandleActivateKeysL):
- BrowserView/src/WebKitControl.cpp: (CWebKitControl::FinalProgressComplete):
- BrowserView/src/WebKitCursor.cpp: (CWebKitCursor::CursorUpdate):
- BrowserView/src/WebKitView.cpp: (CWebKitView::CWebKitView): (CWebKitView::ConstructL): (CWebKitView::FocusChanged): (CWebKitView::ResetFlags):
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::NotifyMetaData):
- Plugin/inc/PluginWin.h: (CPluginWin::IsPluginFocus): (CPluginWin::SetOptionMenuHandler):
- Plugin/src/PluginSkin.cpp: (CPluginSkin::ConstructL):
- Plugin/src/PluginWin.cpp: (CPluginWin::MakeVisible): (CPluginWin::HandlePluginCommandL):
- group/BrowserView.mmp:
- 2:39 PM Changeset in webkit [16255] by
-
- 2 edits in trunk/WebKitTools
More renaming plans.
- 2:00 PM Changeset in webkit [16254] by
-
- 2 edits in S60/trunk/WebKit
2006-09-06 rathnasa <sornalatha.rathnasamy@nokia.com>
Reviewed by Sachin Padma
DESC: Fix the condition which checks if it is a reload
http://bugzilla.opendarwin.org/show_bug.cgi?id=10627
- BrowserView/src/webkitbridge.cpp: (CWebKitBridge::LoadUrlL):
- 1:34 PM Changeset in webkit [16253] by
-
- 2 edits in S60/trunk/WebCore
2006-09-06 bujtas <zbujtas@gmail.com>
Reviewed by Antti Koivisto
DESC: fix .innerhtml crash in htmlparser by adding
extra refcount to the htmlstackelem to protect nodes in
the stack.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10756
WARNING: NO TEST CASES ADDED OR CHANGED
- khtml/html/htmlparser.cpp: (KHTMLParser::handleResidualStyleCloseTagAcrossBlocks): (KHTMLParser::popBlock):
- 11:45 AM Changeset in webkit [22144] by
-
- 9 edits in branches/WindowsMerge
WebCoreWin:
Reviewed by Darin.
Fixed various Windows build issues caused by previous checkins.
- bridge/win/FrameWin.h: Added missing #include, updated Selection to SelectionController.
- platform/win/FontWin.cpp: Reorganized #includes. (WebCore::Font::drawGlyphs): Used a const_cast hack to fix ultimately broken code.
- platform/win/ResourceLoaderWin.cpp: Added missing #include of CString.h and removed double #include of config.h. (WebCore::ResourceLoaderWndProc): Removed use of String::ascii. (WebCore::ResourceLoader::start): Ditto.
- platform/win/TemporaryLinkStubs.cpp: Added missing stubs. (FrameWin::markMisspellings): (FrameWin::shouldChangeSelection): (FrameWin::respondToChangedSelection): (FrameWin::respondToChangedContents): (FrameWin::handledOnloadEvents): (FrameWin::createPlugin): (FrameWin::objectContentType):
- rendering/RenderPopupMenuWin.cpp: Added missing #include.
WebKitWin:
Reviewed by Darin.
Fixed various Windows build problems caused by previous checkins.
- WebKitDLL.h: Disable deprecation warning triggered by using std::copy on a Vector.
- WebView.cpp: (WebView::keyPress): Rename selection to selectionController.
- 11:31 AM Changeset in webkit [16252] by
-
- 2 edits in trunk/WebCore
Reviewed and tweaked by Tim H.
<rdar://problem/4564955> WebKit doesn't trigger Auto Font Activation
If we don't find the font in the available fonts list, call [NSFont fontWithName:size:]
to trigger a search that will include auto activation. No PLT or iBench perf impact.
No layout tests affected. Not testable in an automated way that will work on all systems.
- platform/mac/WebFontCache.mm: (+[WebFontCache fontWithFamily:traits:size:]):
- 10:17 AM Changeset in webkit [16251] by
-
- 10 edits1 delete in trunk/WebCore
2006-09-06 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by ap.
Fix Qt/Linux build.
- CMakeLists.txt: Take out CharacterData.cpp from build / add new Text* files to build.
- platform/qt/BrowserExtensionQt.cpp: Add wtf/Platform.h include.
- platform/qt/FontCacheQt.cpp: Add FontData.h include.
- platform/qt/FontQt.cpp: (WebCore::Font::drawGlyphs): Fix constness in reinterpret_cast.
- platform/qt/FrameQt.cpp: (WebCore::FrameQt::markMisspellings): Change "SelectionController" param type to "Selection". (WebCore::FrameQt::respondToChangedSelection): Ditto. (WebCore::FrameQt::respondToChangedContents): Ditto. (WebCore::FrameQt::shouldChangeSelection): Ditto.
- platform/qt/FrameQt.h: Ditto.
- platform/qt/ImageQt.cpp: (WebCore::Image::supportsType): Fix String->QString conversion.
- platform/qt/ResourceLoaderManager.cpp: (WebCore::ResourceLoaderManager::add): Fix String->DeprecatedString conversion.
- platform/qt/ScrollViewCanvasQt.cpp: (WebCore::ScrollViewCanvasQt::handleKeyEvent): Adapt to SelectionController signature changes.
- platform/qt/qt-encodings.txt: Removed.
- 9:23 AM Changeset in webkit [16250] by
-
- 77 edits1 add in trunk/WebCore
Reviewed by Tim Hatcher.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=10675 tweak font-related headers and convert lists to vectors
One major change was to greatly reduce the number of files that include Font.h.
Another was to convert many uses of DeprecatedPtrList/DeprecatedValueList to Vector.
- WebCore.xcodeproj/project.pbxproj: Added TextStyle.h.
- bindings/objc/DOM.mm: (-[DOMElement _font]): Changed to not depend on Font::getNSFont since a WebCore::Font represents more than one NSFont.
- bindings/objc/DOMNode.mm: (-[DOMNode lineBoxRects]): Updated to use Vector.
- bridge/mac/FormDataMac.mm: (WebCore::arrayFromFormData): Ditto.
- bridge/mac/FrameViewMac.mm: (WebCore::FrameView::updateDashboardRegions): Ditto.
- css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Ditto.
- dom/Document.cpp: (WebCore::Document::dashboardRegions): Ditto. (WebCore::Document::setDashboardRegions): Ditto.
- dom/Document.h: Ditto.
- editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::removeUnrenderedNodes): Ditto.
- html/FormDataList.h: Ditto.
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::isFocusable): Ditto.
- html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::formData): Ditto.
- kcanvas/RenderPath.cpp: (WebCore::RenderPath::absoluteRects): Ditto.
- kcanvas/RenderPath.h: Ditto.
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::absoluteRects): Ditto.
- kcanvas/RenderSVGImage.h: Ditto.
- kcanvas/RenderSVGText.cpp: (WebCore::RenderSVGText::absoluteRects): Ditto.
- kcanvas/RenderSVGText.h: Ditto.
- loader/FormData.cpp: (WebCore::FormData::flatten): Ditto. (WebCore::FormData::flattenToString): Ditto.
- loader/FormData.h: (WebCore::FormData::elements): Ditto.
- loader/mac/LoaderFunctionsMac.mm: (WebCore::ServeSynchronousRequest): Ditto.
- page/Frame.cpp: (WebCore::Frame::markedTextUnderlines): Ditto.
- page/Frame.h: Ditto.
- page/FramePrivate.h: Ditto.
- platform/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::start): Ditto.
- rendering/InlineTextBox.h: Ditto.
- rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paint): Ditto. (WebCore::InlineTextBox::paintMarkedTextUnderline): Ditto.
- rendering/RenderContainer.h: Ditto.
- rendering/RenderContainer.cpp: (WebCore::RenderContainer::lineBoxRects): Ditto.
- rendering/RenderInline.h: Ditto.
- rendering/RenderInline.cpp: (WebCore::RenderInline::absoluteRects): Ditto.
- rendering/RenderObject.h: Ditto.
- rendering/RenderObject.cpp: (WebCore::RenderObject::lineBoxRects): Ditto. (WebCore::RenderObject::absoluteRects): Ditto. (WebCore::RenderObject::absoluteBoundingBoxRect): Ditto. (WebCore::RenderObject::addDashboardRegions): Ditto. (WebCore::RenderObject::collectDashboardRegions): Ditto.
- rendering/RenderStyle.h: Ditto.
- rendering/RenderStyle.cpp: (WebCore::RenderStyle::initialDashboardRegions): Ditto. (WebCore::RenderStyle::noneDashboardRegions): Ditto.
- rendering/RenderText.h: Ditto.
- rendering/RenderText.cpp: (WebCore::RenderText::absoluteRects): Ditto. (WebCore::RenderText::lineBoxRects): Ditto.
- rendering/RenderView.h: Ditto.
- rendering/RenderView.cpp: (WebCore::RenderView::absoluteRects): Ditto.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::attributedString): Updated to use Vector and changed to not depend on getNSFont on a Font. (WebCore::FrameMac::fontForSelection): Changed to not depend on Font::getNSFont. (WebCore::FrameMac::fontAttributesForSelectionStart): Ditto. (WebCore::convertAttributesToUnderlines): Updated to use Vector. (WebCore::FrameMac::setMarkedTextRange): Ditto. (WebCore::FrameMac::dashboardRegionsDictionary): Ditto.
- bridge/mac/WebCoreAXObject.mm: (boundingBoxRect): Updated to use Vector. (AXAttributeStringSetStyle): Changed to not depend on Font::getNSFont.
- bridge/mac/WebCoreStringTruncator.mm: Updated includes.
- page/Settings.h: Ditto.
- platform/mac/WebCoreTextRenderer.mm: Ditto.
- rendering/EllipsisBox.cpp: Ditto.
- editing/BreakBlockquoteCommand.cpp: (WebCore::BreakBlockquoteCommand::doApply): Updated to use a Vector that we iterate in reverse order instead of a linked list that we reverse by prepending elements instead of adding to the end.
- editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply): Ditto.
- loader/DocLoader.h: Removed unneeded include of DeprecatedPtrList.h.
- platform/Font.h: Moved TextStyle to a separate header. Removed Font::getNSFont.
- platform/Font.cpp: Changed to use const instead of #define. (WebCore::Font::width): Overloaded this so we don't have a default parameter, which eliminates the need to have TextStyle defined to compiler the Font.h header.
- platform/TextStyle.h: Added.
- platform/FontData.h: Added a forward declaration of ATSUStyle so this header can stand alone.
- platform/FontFallbackList.h: Tweaks.
- platform/FontFallbackList.cpp: Tweaks.
- platform/FontFamily.h: Removed unneeded NSString declaration. Simplified class by using Shared and RefPtr, which resulted in removing many explicit functions.
- platform/FontFamily.cpp: More of the same.
- platform/GlyphBuffer.h: Removed unneeded MAX_GLYPH_EXPANSION and GLYPH_BUFFER_SIZE macros.
- platform/GlyphMap.h: Removed unneeded include of GlyphBuffer.h, which was included only for the typedef of Glyph; there's no reason to not just repeat that typedef here since C++ allows multiple typedefs if they match. Renamed the cGlyphPageSize constant to GlyphPage::size.
- platform/GlyphMap.cpp: Changed NO_BREAK_SPACE and ZERO_WIDTH_SPACE macros into constants. Updated for cGlyphPageSize change.
- platform/mac/GlyphMapMac.cpp: Updated for cGlyphPageSize change.
- platform/GlyphWidthMap.h: Removed unneeded include of GlyphBuffer.h, which was included only for the typedef of Glyph; there's no reason to not just repeat that typedef here since C++ allows multiple typedefs if they match. Renamed the cGlyphWidthPageSize constant to GlyphWidthPage::size.
- platform/GlyphWidthMap.cpp: Updated for cGlyphWidthPageSize change.
- platform/GraphicsContext.h: Removed unneeded include of Font.h. Changed drawText function to use overloading instead of default parameters to allow TextStyle to be optional. This cuts the dependency on TextStyle.
- platform/GraphicsContext.cpp: (WebCore::GraphicsContext::drawText): Added overload.
- platform/Image.h: Removed unneeded forward declaration of IntSize.
- platform/mac/FontCacheMac.mm: (WebCore::FontCache::getFontDataForCharacters): Changed to not depend on Font::getNSFont.
- platform/mac/ListBoxMac.mm: (-[WebCoreTableView fontChanged]): Ditto.
- platform/mac/TextFieldMac.mm: (-[NSSearchFieldCell _addStringToRecentSearches:]): Ditto.
- rendering/RenderPopupMenuMac.mm: (WebCore::RenderPopupMenuMac::showPopup): Ditto. (WebCore::RenderPopupMenuMac::addGroupLabel): Ditto. (WebCore::RenderPopupMenuMac::addOption): Ditto.
- platform/mac/FontDataMac.mm: Fixed includes. Converted a bunch of macros to be constants and inline functions instead.
- platform/mac/FontMac.mm: Fixed includes.
- platform/mac/PopUpButtonMac.mm: Ditto.
- rendering/RenderMenuList.cpp: Ditto.
- rendering/RenderTextControl.cpp: Ditto.
- platform/mac/WebCoreSystemInterface.h: Fixes so this header stands alone and is compatible with all 4 of C, ObjC, C++, ObjC++.
- 9:11 AM Changeset in webkit [16249] by
-
- 2 edits in trunk/WebKit
- MigrateHeaders.make: Fixed a double slash in "$(PRIVATE_HEADERS_DIR)DOMCharacterDataPrivate.h" (this was reported to cause a build failure under certain circumstances).
- 12:09 AM Changeset in webkit [16248] by
-
- 9 edits in trunk
2006-09-05 MorganL <morlmor@yahoocom>
Reviewed/landed by aroben.
Fixes bug 10743: Windows build is busted.
WebCore:
- WebCore.vcproj/WebCore/WebCore.vcproj:
- bridge/win/FrameWin.h:
- platform/ResourceLoaderInternal.h:
- platform/TextEncodingRegistry.cpp:
- platform/win/ResourceLoaderWin.cpp: (WebCore::ResourceLoaderWndProc): (WebCore::ResourceLoader::start):
- platform/win/TemporaryLinkStubs.cpp: (FrameWin::markMisspellings): (FrameWin::shouldChangeSelection): (FrameWin::respondToChangedSelection): (FrameWin::respondToChangedContents): (RenderThemeWin::adjustMenuListStyle):
WebKit:
- COM/WebView.cpp: (WebView::keyPress):
Sep 5, 2006:
- 11:02 PM Changeset in webkit [16247] by
-
- 5 edits in trunk/WebCore
- some quick build fixes
- bridge/mac/WebCoreAXObject.mm: Remove use of WebCore::UChar.
- bridge/mac/WebCoreFrameBridge.mm: Ditto. Also remove include of CharsetNames.h.
- css/CSSGrammar.y: Remove use of WebCore::UChar.
- platform/UChar.h: Back out WebCore::UChar for now.
- 10:23 PM Changeset in webkit [16246] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
Drastically simplified the makefile for migrating headers from
WebCore and JavaScriptCore. The old version was always copying the files.
- MigrateHeaders.make:
- 10:18 PM Changeset in webkit [22143] by
-
- 1 edit in branches/WindowsMerge/WebCore/platform/win/TemporaryLinkStubs.cpp
Cleared a couple of stray executable bits.
- 9:40 PM Changeset in webkit [16245] by
-
- 93 edits14 adds3 deletes in trunk
LayoutTests:
Reviewed by Alexey.
- test for bug where the charset in a link element for a CSS stylesheet is ignored. I noticed this while working on new text encoding machinery.
- fast/encoding/css-link-charset-expected.txt: Added.
- fast/encoding/css-link-charset.css: Added.
- fast/encoding/css-link-charset.html: Added.
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10681 REGRESSION: Reproducible crash at Wikipedia (Alexey wrote this one, I reviewed.)
- fast/forms/form-data-encoding-normalization-overrun-expected.txt: Added.
- fast/forms/form-data-encoding-normalization-overrun.html: Added.
- and a tweak to an existing test
- fast/forms/form-data-encoding.html: Changed to dump encoded URL so it's easier to diagnose this when it fails.
WebCore:
Reviewed by Alexey.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=10728 text encodings should work without a numeric ID
- includes a fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10681 REGRESSION: Reproducible crash at Wikipedia
- fixed a bug where link elements would not set the charset properly for CSS stylesheets they loaded
- converted DeprecatedString code paths that are related to decoding web pages to use String instead, to ensure that conversion back and forth won't hurt performance
Test: fast/encoding/css-link-charset.html
Test: fast/forms/form-data-encoding-normalization-overrun.html
Coverage for encoding issues is pretty good, so we probably don't need more
tests to land this. Our existing tests did find issues with this patch while
it was under development. And I suppose it would be nice to have even more tests.
- platform/TextEncoding.h:
- platform/TextEncoding.cpp: (WebCore::addEncodingName): Added. Used to build up the set used by isJapanese. (WebCore::TextEncoding::TextEncoding): Removed boolean "eight bit only" parameter and added an overload for String as well as const char*. Simplified because now the only data member is m_name -- calls the registry's atomicCanonicalTextEncodingName function to make the name canonical (resolve aliases) and atomic (use a single pointer for each encoding name so we can compare and hash efficiently). (WebCore::TextEncoding::decode): Renamed from toUnicode. Just a simple wrapper on top of TextDecoder that can be used when the data to decode is all present at once. (WebCore::TextEncoding::encode): Renamed from fromUnicode. Handles the normalization and then uses the registry to get a codec to handle the rest. (WebCore::TextEncoding::usesVisualOrdering): New implementation that compares with the name of the only encoding that uses visual ordering. We blur the concepts a bit so that we treat the visual ordering and logical ordering variations as two separate encodings. (WebCore::TextEncoding::isJapanese): New implementation that uses a set to efficiently determine if an encoding is Japanese. (WebCore::TextEncoding::backslashAsCurrencySymbol): New implementation that compares with the names of the two encodings that have the strange backslash. (WebCore::TextEncoding::closest8BitEquivalent): Added. Replaces the old "eight bit only" boolean parameter to the constructor. (WebCore::ASCIIEncoding): Added. (WebCore::Latin1Encoding): Added. (WebCore::UTF16BigEndianEncoding): Added. (WebCore::UTF16LittleEndianEncoding): Added. (WebCore::UTF8Encoding): Added. (WebCore::WindowsLatin1Encoding): Added.
- platform/TextEncodingRegistry.h: Added.
- platform/TextEncodingRegistry.cpp: Added. Keeps a table of all the character set aliases and names and another of all the codecs and parameters for each name.
- platform/TextDecoder.h: Added.
- platform/TextDecoder.cpp: Added. Contains logic to look for a BOM and hand the data to the proper codec, based on code that used to be in both the ICU and Mac codecs.
- platform/StreamingTextDecoder.h: Renamed class to TextCodec. We'll rename the files in a later check-in. Moved creation functions into TextEncodingRegistry.h. Added typedefs of the registrar function types so classes derived from this one can use them without including the TextEncodingRegistry header. Renamed toUnicode and fromUnicode to decode and encode. Changed the parameter and return types so that the parameters are pointers to the data and the return types are String and CString.
- platform/StreamingTextDecoder.cpp: (WebCore::TextCodec::appendOmittingBOM): Added. Helper function used by multiple classes derived from this one.
- platform/TextCodecLatin1.h: Added.
- platform/TextCodecLatin1.cpp: Added. Contains logic to handle encoding and decoding Windows Latin-1, based on code that used to be in both the ICU and Mac codecs.
- platform/TextCodecUTF16.h: Added.
- platform/TextCodecUTF16.cpp: Added. Contains logic to handle encoding and decoding UTF-16, based on code that used to be in both the ICU and Mac codecs.
- platform/StreamingTextDecoderICU.h: Renamed class to TextCodecICU. We'll rename the files in a later check-in. Removed all the functions having to do with handling BOM, UTF-16, and Latin-1; those are now handled elsewhere. Removed textEncodingSupported because that's superseded by the registry. Added registry hook functions.
- platform/StreamingTextDecoderICU.cpp: (WebCore::TextCodecICU::registerEncodingNames): Added. Registers all encodings that ICU can handle with the "IANA" standard. Also includes a special case for a particular type of encoding for Hebrew that uses logical ordering. Also includes aliases that are not in ICU but that were historically known to WebKit for encodings that ICU handles. (WebCore::newTextCodecICU): Added. Used by registerCodecs. (WebCore::TextCodecICU::registerCodecs): Added. Registers codecs for the same encodings as above. (WebCore::TextCodecICU::TextCodecICU): Much simplified since this now only handles the actual ICU encoding and decoding. (WebCore::TextCodecICU::~TextCodecICU): Renamed. (WebCore::TextCodecICU::releaseICUConverter): Changed to be a const member function. (WebCore::TextCodecICU::createICUConverter): Changed to be a const member function and to check if the cached converter can be reused in a simpler way. (WebCore::TextCodecICU::decode): Updated for changes to types. (WebCore::TextCodecICU::encode): Updated for changes to types, and removed normalization since this is now handled by the caller.
- platform/mac/StreamingTextDecoderMac.h: Renamed class to TextCodecMac. We'll rename the files in a later check-in. Removed all the functions having to do with handling BOM, UTF-16, and Latin-1; those are now handled elsewhere. Removed textEncodingSupported because that's superseded by the registry. Added registry hook functions.
- platform/mac/StreamingTextDecoderMac.cpp: (WebCore::TextCodecMac::registerEncodingNames): Added. Registers encodings based on the charset table generated by the make-charset-table.pl perl script. (WebCore::newTextCodecMac): Added. Used by registerCodecs. (WebCore::TextCodecMac::registerCodecs): Added. Registers codecs for the same encodings as above. (WebCore::TextCodecMac::TextCodecMac): Much simplified since this now only handles the actual TEC/CF encoding and decoding. (WebCore::TextCodecMac::~TextCodecMac): Renamed. (WebCore::TextCodecMac::releaseTECConverter): Changed to be a const member function. (WebCore::TextCodecMac::createTECConverter): Changed to be a const member function. (WebCore::TextCodecMac::decode): Updated for changes to types. (WebCore::TextCodecMac::encode): Updated for changes to types, and removed normalization since this is now handled by the caller.
- platform/mac/mac-encodings.txt: Removed most of the names in this file. This now only includes encodings where we want to use Mac OS X Carbon Text Encoding Converter, which is only encodings that are not supported by ICU.
- platform/make-charset-table.pl: Removed flags from output. We don't use them any more.
- platform/CharsetData.h: Changed from a platform-independent header into a Macintosh-specific one. A later patch should move this and rename it. Also subsumes ExtraCFEncodings.h.
- WebCore.xcodeproj/project.pbxproj: Added new files. Changed the prefix on the "make character sets" rule to be kTextEncoding instead of kCFStringEncoding.
- loader/Decoder.h: Change the default encoding parameter to the constructor to be a TextEncoding object. Renamed setEncodingName to setEncoding, and made it take a TextEncoding for the encoding. Removed the encodingName and visuallyOrdered functions, since TextEncoding supports both directly in a straightforward way. Changed both decode and flush functions to return String instead of DeprecatedString. Added a number of private functions to factor this class a bit more so it's easier to read. Got rid of a number of redundant data members. Changed the buffer to a Vector<char>.
- loader/Decoder.cpp: (WebCore::Decoder::determineContentType): Added. Used by constructor to determine the content type based on the passed-in MIME type. (WebCore::Decoder::defaultEncoding): Added. Used by constructor to determine the default encoding based on the passed in default and the content type. (WebCore::Decoder::Decoder): Changed to use the functions above. Also renamed m_reachedBody to m_checkedForHeadCharset. (WebCore::Decoder::setEncoding): Renamed and changed to take an encoding rather than an encoding name. (WebCore::Decoder::checkForBOM): Factored out of decode. (WebCore::Decoder::checkForCSSCharset): Factored out of decode. (WebCore::Decoder::checkForHeadCharset): Factored out of decode. (WebCore::Decoder::detectJapaneseEncoding): Factored out of decode. (WebCore::Decoder::decode): Refactored so it's no longer one huge function. Changed to use the new Vector<char> and the new API for TextDecoder. (WebCore::Decoder::flush): Added code to empty out the buffer. Not an issue in practice since we don't re-use the decoder after flushing it.
- platform/UChar.h: Added. Has the type named WebCore::UChar that we'll be switching to. We'll switch away from the ICU ::UChar type, because we don't want to be so closely tied to ICU -- include this instead of <unicode/umachine.h>.
- platform/PlatformString.h:
- platform/String.cpp: (WebCore::String::latin1): Updated for changes to TextEncoding. (WebCore::String::utf8): Ditto. (WebCore::String::newUninitialized): Added. Gives a way to create a String and then write directly into its buffer.
- platform/StringImpl.h: Changed return value for charactersWithNullTermination to be a const UChar*. While it's true that this function changes the underlying StringImpl, the characters still shouldn't be modified with the returned pointer.
- platform/StringImpl.cpp: (WebCore::StringImpl::charactersWithNullTermination): Updated for change above. (WebCore::StringImpl::newUninitialized): Added. Gives a way to create a StringImpl and then write directly into its buffer.
- platform/CString.h:
- platform/CString.cpp: (WebCore::CString::newUninitialized): Added. Gives a way to create a CString and then write directly into its buffer.
- bridge/mac/WebCoreFrameBridge.h: Removed textEncoding method, and replaced +[WebCoreFrameBridge stringWithData:textEncoding:] with -[WebCoreFrameBridge stringWithData:] to avoid having to pass text encoding IDs around.
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge setEncoding:userChosen:]): Removed now-unneeded conversion to DeprecatedString. (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]): Ditto. (-[WebCoreFrameBridge aeDescByEvaluatingJavaScriptFromString:]): Ditto. (-[WebCoreFrameBridge referrer]): Removed now-unneeded call to getNSString. (-[WebCoreFrameBridge stringWithData:]): Added. Asks the document's decoder what its encoding is, and decodes using that. (+[WebCoreFrameBridge stringWithData:textEncodingName:]): Simplified so it no longer involved a text encoding ID number. (-[WebCoreFrameBridge smartInsertForString:replacingRange:beforeString:afterString:]): Changed to use UChar instead of DeprecatedChar. (-[WebCoreFrameBridge documentFragmentWithMarkupString:baseURLString:]): Removed now-unneeded conversion to DeprecatedString. (-[WebCoreFrameBridge documentFragmentWithText:inContext:]): Ditto.
- html/HTMLFormElement.cpp: (WebCore::encodeCString): Changed parameter to CString. (WebCore::HTMLFormElement::formData): Updated code for improvements to TextEncoding.
- loader/CachedCSSStyleSheet.h:
- loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet): Fixed mistake where the decoder was created without passing in the character set. Also changed from DeprecatedString to String. (WebCore::CachedCSSStyleSheet::setCharset): More of the same.
- bindings/js/kjs_window.h: (KJS::ScheduledAction::ScheduledAction): Changed to use String instead of DeprecatedString, UChar instead of DeprecatedChar, CString instead of DeprecatedCString, etc.
- bridge/mac/FormDataMac.mm: (WebCore::arrayFromFormData): Ditto.
- bridge/mac/FrameMac.h: Ditto.
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::isCharacterSmartReplaceExempt): Ditto.
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject helpText]): Ditto. (-[WebCoreAXObject value]): Ditto. (-[WebCoreAXObject accessibilityDescription]): Ditto. (-[WebCoreAXObject doAXStringForTextMarkerRange:]): Ditto.
- bridge/mac/WebCoreEncodings.mm: (+[WebCoreEncodings decodeData:]): Ditto. Also fixed code that does a deref without a ref to use RefPtr instead.
- bridge/mac/WebCoreScriptDebugger.mm: (-[WebCoreScriptCallFrame evaluateWebScript:]): Ditto.
- bridge/mac/WebCoreSettings.mm: (-[WebCoreSettings setDefaultTextEncoding:]): Ditto.
- css/CSSImportRule.cpp: (WebCore::CSSImportRule::insertedIntoParent): Ditto.
- css/cssparser.cpp: (WebCore::CSSParser::lex): Ditto.
- dom/Document.h:
- dom/Document.cpp: (WebCore::Document::setCharset): Ditto. (WebCore::Document::write): Ditto. (WebCore::Document::determineParseMode): Ditto.
- dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet): Ditto.
- dom/XMLTokenizer.h:
- dom/XMLTokenizer.cpp: (WebCore::shouldAllowExternalLoad): Ditto. (WebCore::createStringParser): Ditto. (WebCore::XMLTokenizer::write): Ditto. (WebCore::toString): Ditto. (WebCore::handleElementAttributes): Ditto. (WebCore::XMLTokenizer::startElementNs): Ditto. (WebCore::XMLTokenizer::endElementNs): Ditto. (WebCore::XMLTokenizer::characters): Ditto. (WebCore::XMLTokenizer::processingInstruction): Ditto. (WebCore::XMLTokenizer::cdataBlock): Ditto. (WebCore::XMLTokenizer::comment): Ditto. (WebCore::XMLTokenizer::internalSubset): Ditto. (WebCore::getXHTMLEntity): Ditto. (WebCore::externalSubsetHandler): Ditto. (WebCore::XMLTokenizer::initializeParserContext): Ditto. (WebCore::XMLTokenizer::notifyFinished): Ditto. (WebCore::xmlDocPtrForString): Ditto. (WebCore::parseXMLDocumentFragment): Ditto. (WebCore::attributesStartElementNsHandler): Ditto. (WebCore::parseAttributes): Ditto.
- html/FormDataList.h:
- html/FormDataList.cpp: (WebCore::FormDataList::appendString): Ditto. Also changed to call the encoding function by its new name and with new parameters. (WebCore::FormDataList::appendFile): Ditto.
- html/HTMLDocument.h:
- html/HTMLDocument.cpp: (WebCore::parseDocTypePart): Ditto. (WebCore::containsString): Ditto. (WebCore::parseDocTypeDeclaration): Ditto. (WebCore::HTMLDocument::determineParseMode): Ditto.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::appendFormData): Ditto.
- html/HTMLScriptElement.cpp: (WebCore::HTMLScriptElement::parseMappedAttribute): Ditto.
- html/HTMLTokenizer.h:
- html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::scriptHandler): Ditto. (WebCore::HTMLTokenizer::parseTag): Ditto. (WebCore::HTMLTokenizer::write): Ditto. (WebCore::HTMLTokenizer::finish): Ditto. (WebCore::parseHTMLDocumentFragment): Ditto.
- loader/Cache.h:
- loader/Cache.cpp: (WebCore::Cache::requestStyleSheet): Ditto. (WebCore::Cache::requestScript): Ditto.
- loader/CachedResource.h: Ditto.
- loader/CachedScript.h:
- loader/CachedScript.cpp: (WebCore::CachedScript::CachedScript): Ditto. (WebCore::CachedScript::ref): Ditto. (WebCore::CachedScript::deref): Ditto. (WebCore::CachedScript::setCharset): Ditto. (WebCore::CachedScript::data): Ditto. (WebCore::CachedScript::checkNotify): Ditto.
- loader/CachedXBLDocument.h:
- loader/CachedXBLDocument.cpp: (WebCore::CachedXBLDocument::setCharset): Ditto.
- loader/CachedXSLStyleSheet.h:
- loader/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::setCharset): Ditto.
- loader/DocLoader.cpp: (WebCore::DocLoader::requestStyleSheet): Ditto. (WebCore::DocLoader::requestScript): Ditto.
- loader/DocLoader.h: Ditto.
- loader/FormData.h:
- loader/FormData.cpp: (WebCore::FormData::FormData): Ditto. (WebCore::FormData::appendFile): Ditto. (WebCore::FormData::flattenToString): Ditto.
- page/Frame.h:
- page/FramePrivate.h:
- page/Frame.cpp: (WebCore::UserStyleSheetLoader::setStyleSheet): Ditto. (WebCore::getString): Ditto. (WebCore::Frame::replaceContentsWithScriptResult): Ditto. (WebCore::Frame::executeScript): Ditto. (WebCore::Frame::clear): Ditto. (WebCore::Frame::write): Ditto. (WebCore::Frame::endIfNotLoading): Ditto. (WebCore::Frame::baseTarget): Ditto. (WebCore::Frame::scheduleRedirection): Ditto. (WebCore::Frame::scheduleLocationChange): Ditto. (WebCore::Frame::scheduleHistoryNavigation): Ditto. (WebCore::Frame::changeLocation): Ditto. (WebCore::Frame::redirectionTimerFired): Ditto. (WebCore::Frame::encoding): Ditto. (WebCore::Frame::submitForm): Ditto. (WebCore::Frame::referrer): Ditto. (WebCore::Frame::isCharacterSmartReplaceExempt): Ditto. (WebCore::Frame::setEncoding): Ditto.
- page/Settings.h: Ditto.
- platform/SegmentedString.h: Ditto.
- platform/SegmentedString.cpp: Ditto.
- xml/XSLStyleSheet.cpp: (WebCore::XSLStyleSheet::parseString): Ditto.
- xml/XSLTProcessor.cpp: (WebCore::transformTextStringToXHTMLDocumentString): Ditto. (WebCore::XSLTProcessor::createDocumentFromSource): Ditto.
- xml/xmlhttprequest.h:
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::open): Ditto. (WebCore::XMLHttpRequest::send): Ditto. (WebCore::XMLHttpRequest::receivedData): Ditto.
- platform/DeprecatedString.cpp: (WebCore::DeprecatedString::fromUtf8): Updated for changes to TextEncoding. (WebCore::DeprecatedString::utf8): Ditto.
- platform/KURL.h:
- platform/KURL.cpp: (WebCore::KURL::KURL): Updated to overload based on presence or absence of TextEncoding rather than having a default. (WebCore::KURL::init): Moved body of constructor in here. Updated to use the new TextEncoding interface. (WebCore::KURL::decode_string): Updated to overload based on presence or absence of TextEncoding rather than having a default. Updated to use the new TextEncoding interface. (WebCore::encodeRelativeString): Updated to use the new TextEncoding interface.
- platform/Font.cpp: (WebCore::WidthIterator::normalizeVoicingMarks): Fixed code to use U_ZERO_ERROR instead of a typecast.
- bindings/js/kjs_proxy.h: Removed unneeded declaration of DeprecatedString.
- platform/GraphicsContext.h: Ditto.
- platform/GraphicsContext.cpp: Removed unneeded include of "DeprecatedString.h".
- rendering/break_lines.cpp: Ditto.
- xml/XMLSerializer.cpp: Ditto.
- platform/mac/FontDataMac.mm: Removed unneeded include of <unicode/unorm.h>.
- platform/CharsetNames.h: Emptied out this file. A later patch could remove it.
- platform/CharsetNames.cpp: Ditto.
- platform/mac/ExtraCFEncodings.h: Ditto.
WebKit:
Reviewed by Alexey.
- WebKit side of changes to encoding
- WebView/WebHTMLRepresentation.m: (-[WebHTMLRepresentation documentSource]): Changed to call new -[WebCoreFrameBridge stringWithData:] instead of the calling the old methods that used a CFStringEncoding: -[WebCoreFrameBridge textEncoding] and +[WebCoreFrameBridge stringWithData:textEncoding:].
- WebView/WebResource.m: (-[WebResource _stringValue]): Removed special case for nil encoding name. The bridge itself now has the rule that "nil encoding name means Latin-1", so we don't need to check for nil.
- WebView/WebFrame.m: (-[WebFrame _checkLoadComplete]): Retain the frame until we get the parent frame while walking up parent frames, because it's possible for _checkLoadCompleteForThisFrame to release the last reference to the frame. (Not reviewed; needed to run performance tests successfully.)
- 9:40 PM Changeset in webkit [22142] by
-
- 2 edits in branches/WindowsMerge/WebCore
- build fix part of http://bugzilla.opendarwin.org/show_bug.cgi?id=10728 text encodings should work without a numeric ID
- WebCore.vcproj/WebCore.vcproj: Update for new headers.
- 8:36 PM Changeset in webkit [16244] by
-
- 127 edits in trunk/WebCore
2006-09-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10490
-> Remove all SVGAnimated* usage from ksvg2.
This is all done using a set of macros which live in svg/SVGElement.h
(ANIMATED_PROPERTY_DECLARATIONS / ANIMATED_PROPERTY_DEFINITIONS).
Transform all properties to this new concept using Eric ruby script.
-> Replace all usages of "property()->baseVal()" with "propertyBaseValue()".
-> Replace all usages of "property()->setBaseVal()" with "setPropertyBaseValue()".
-> Add "virtual const SVGElement* contextElement() const".
This concept allows to access the document (needed to access the SVGDocumentExtensions)
from lowest-base-classes like SVGURIReference / SVGExternalResourcesRequired etc.
These classes contain this contextElement() function as pure virtual functions.
The topmost classes (like SVGCircleElement) implement this function with "return this".
-> Move default value initialization to constructors.
As the lazy_create usage, which was involved in default property initialization,
has been removed, we need to do the initialization in the constructor.
This forces us to fix the SVGLength class, as calling viewportElement() from the
constructor does not work. This SVGLength cleanup is one of the next things to fix.
- bindings/scripts/CodeGeneratorJS.pm:
- kcanvas/RenderForeignObject.cpp: (WebCore::RenderForeignObject::translationForAttributes):
- kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint): (WebCore::RenderSVGImage::relativeBBox): (WebCore::RenderSVGImage::getAbsoluteRepaintRect): (WebCore::RenderSVGImage::translationForAttributes):
- kcanvas/RenderSVGText.cpp: (WebCore::RenderSVGText::translationForAttributes):
- ksvg2/misc/KSVGTimeScheduler.cpp: (WebCore::SVGTimer::notifyAll):
- ksvg2/misc/SVGDocumentExtensions.cpp:
- ksvg2/misc/SVGDocumentExtensions.h: (WebCore::SVGDocumentExtensions::baseValueMap): (WebCore::SVGDocumentExtensions::baseValue): (WebCore::SVGDocumentExtensions::setBaseValue): (WebCore::SVGDocumentExtensions::hasBaseValue): (WebCore::String): (WebCore::bool): (WebCore::double):
- ksvg2/misc/SVGImageLoader.cpp: (WebCore::SVGImageLoader::updateFromElement):
- ksvg2/svg/SVGAElement.cpp: (WebCore::SVGAElement::parseMappedAttribute): (WebCore::SVGAElement::defaultEventHandler):
- ksvg2/svg/SVGAElement.h: (WebCore::SVGAElement::contextElement):
- ksvg2/svg/SVGAnimateColorElement.h: (WebCore::SVGAnimateColorElement::contextElement):
- ksvg2/svg/SVGAnimateElement.h: (WebCore::SVGAnimateElement::contextElement):
- ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::handleTimerEvent): (WebCore::SVGAnimateTransformElement::initialMatrix):
- ksvg2/svg/SVGAnimateTransformElement.h: (WebCore::SVGAnimateTransformElement::contextElement):
- ksvg2/svg/SVGCircleElement.cpp: (SVGCircleElement::SVGCircleElement): (SVGCircleElement::parseMappedAttribute): (SVGCircleElement::toPathData): (SVGCircleElement::pushAttributeContext):
- ksvg2/svg/SVGCircleElement.h: (WebCore::SVGCircleElement::contextElement):
- ksvg2/svg/SVGClipPathElement.cpp: (SVGClipPathElement::SVGClipPathElement): (SVGClipPathElement::parseMappedAttribute): (SVGClipPathElement::canvasResource):
- ksvg2/svg/SVGClipPathElement.h: (WebCore::SVGClipPathElement::contextElement):
- ksvg2/svg/SVGComponentTransferFunctionElement.cpp: (SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement): (SVGComponentTransferFunctionElement::parseMappedAttribute): (SVGComponentTransferFunctionElement::transferFunction):
- ksvg2/svg/SVGComponentTransferFunctionElement.h:
- ksvg2/svg/SVGCursorElement.cpp: (SVGCursorElement::SVGCursorElement): (SVGCursorElement::parseMappedAttribute):
- ksvg2/svg/SVGCursorElement.h: (WebCore::SVGCursorElement::contextElement):
- ksvg2/svg/SVGDefsElement.h: (WebCore::SVGDefsElement::contextElement):
- ksvg2/svg/SVGElement.h:
- ksvg2/svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::SVGEllipseElement): (WebCore::SVGEllipseElement::parseMappedAttribute): (WebCore::SVGEllipseElement::toPathData): (WebCore::SVGEllipseElement::pushAttributeContext):
- ksvg2/svg/SVGEllipseElement.h: (WebCore::SVGEllipseElement::contextElement):
- ksvg2/svg/SVGExternalResourcesRequired.cpp: (WebCore::SVGExternalResourcesRequired::SVGExternalResourcesRequired): (WebCore::SVGExternalResourcesRequired::parseMappedAttribute):
- ksvg2/svg/SVGExternalResourcesRequired.h:
- ksvg2/svg/SVGFEBlendElement.cpp: (SVGFEBlendElement::SVGFEBlendElement): (SVGFEBlendElement::parseMappedAttribute): (SVGFEBlendElement::filterEffect):
- ksvg2/svg/SVGFEBlendElement.h: (WebCore::SVGFEBlendElement::contextElement):
- ksvg2/svg/SVGFEColorMatrixElement.cpp: (SVGFEColorMatrixElement::SVGFEColorMatrixElement): (SVGFEColorMatrixElement::parseMappedAttribute): (SVGFEColorMatrixElement::filterEffect):
- ksvg2/svg/SVGFEColorMatrixElement.h: (WebCore::SVGFEColorMatrixElement::contextElement):
- ksvg2/svg/SVGFEComponentTransferElement.cpp: (SVGFEComponentTransferElement::SVGFEComponentTransferElement): (SVGFEComponentTransferElement::parseMappedAttribute): (SVGFEComponentTransferElement::filterEffect):
- ksvg2/svg/SVGFEComponentTransferElement.h: (WebCore::SVGFEComponentTransferElement::contextElement):
- ksvg2/svg/SVGFECompositeElement.cpp: (SVGFECompositeElement::SVGFECompositeElement): (SVGFECompositeElement::parseMappedAttribute): (SVGFECompositeElement::filterEffect):
- ksvg2/svg/SVGFECompositeElement.h: (WebCore::SVGFECompositeElement::contextElement):
- ksvg2/svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement): (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute): (WebCore::SVGFEDiffuseLightingElement::filterEffect):
- ksvg2/svg/SVGFEDiffuseLightingElement.h: (WebCore::SVGFEDiffuseLightingElement::contextElement):
- ksvg2/svg/SVGFEDisplacementMapElement.cpp: (SVGFEDisplacementMapElement::SVGFEDisplacementMapElement): (SVGFEDisplacementMapElement::parseMappedAttribute): (SVGFEDisplacementMapElement::filterEffect):
- ksvg2/svg/SVGFEDisplacementMapElement.h: (WebCore::SVGFEDisplacementMapElement::contextElement):
- ksvg2/svg/SVGFEDistantLightElement.cpp: (WebCore::SVGFEDistantLightElement::lightSource):
- ksvg2/svg/SVGFEFloodElement.cpp: (SVGFEFloodElement::parseMappedAttribute): (SVGFEFloodElement::filterEffect):
- ksvg2/svg/SVGFEFloodElement.h: (WebCore::SVGFEFloodElement::contextElement):
- ksvg2/svg/SVGFEGaussianBlurElement.cpp: (SVGFEGaussianBlurElement::SVGFEGaussianBlurElement): (SVGFEGaussianBlurElement::parseMappedAttribute): (SVGFEGaussianBlurElement::filterEffect):
- ksvg2/svg/SVGFEGaussianBlurElement.h: (WebCore::SVGFEGaussianBlurElement::contextElement):
- ksvg2/svg/SVGFEImageElement.cpp: (SVGFEImageElement::SVGFEImageElement): (SVGFEImageElement::parseMappedAttribute):
- ksvg2/svg/SVGFEImageElement.h: (WebCore::SVGFEImageElement::contextElement):
- ksvg2/svg/SVGFELightElement.cpp: (SVGFELightElement::SVGFELightElement): (SVGFELightElement::parseMappedAttribute):
- ksvg2/svg/SVGFELightElement.h:
- ksvg2/svg/SVGFEMergeElement.cpp: (SVGFEMergeElement::SVGFEMergeElement): (SVGFEMergeElement::filterEffect):
- ksvg2/svg/SVGFEMergeElement.h: (WebCore::SVGFEMergeElement::contextElement):
- ksvg2/svg/SVGFEMergeNodeElement.cpp: (SVGFEMergeNodeElement::parseMappedAttribute):
- ksvg2/svg/SVGFEMergeNodeElement.h: (WebCore::SVGFEMergeNodeElement::contextElement):
- ksvg2/svg/SVGFEOffsetElement.cpp: (SVGFEOffsetElement::SVGFEOffsetElement): (SVGFEOffsetElement::parseMappedAttribute): (SVGFEOffsetElement::filterEffect):
- ksvg2/svg/SVGFEOffsetElement.h: (WebCore::SVGFEOffsetElement::contextElement):
- ksvg2/svg/SVGFEPointLightElement.cpp: (WebCore::SVGFEPointLightElement::lightSource):
- ksvg2/svg/SVGFESpecularLightingElement.cpp: (SVGFESpecularLightingElement::SVGFESpecularLightingElement): (SVGFESpecularLightingElement::parseMappedAttribute): (SVGFESpecularLightingElement::filterEffect):
- ksvg2/svg/SVGFESpecularLightingElement.h: (WebCore::SVGFESpecularLightingElement::contextElement):
- ksvg2/svg/SVGFESpotLightElement.cpp: (WebCore::SVGFESpotLightElement::lightSource):
- ksvg2/svg/SVGFETileElement.cpp: (SVGFETileElement::parseMappedAttribute): (SVGFETileElement::filterEffect):
- ksvg2/svg/SVGFETileElement.h: (WebCore::SVGFETileElement::contextElement):
- ksvg2/svg/SVGFETurbulenceElement.cpp: (SVGFETurbulenceElement::SVGFETurbulenceElement): (SVGFETurbulenceElement::parseMappedAttribute): (SVGFETurbulenceElement::filterEffect):
- ksvg2/svg/SVGFETurbulenceElement.h: (WebCore::SVGFETurbulenceElement::contextElement):
- ksvg2/svg/SVGFilterElement.cpp: (SVGFilterElement::SVGFilterElement): (SVGFilterElement::parseMappedAttribute): (SVGFilterElement::canvasResource):
- ksvg2/svg/SVGFilterElement.h: (WebCore::SVGFilterElement::contextElement):
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: (SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes): (SVGFilterPrimitiveStandardAttributes::~SVGFilterPrimitiveStandardAttributes): (SVGFilterPrimitiveStandardAttributes::parseMappedAttribute): (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
- ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: (WebCore::SVGFilterPrimitiveStandardAttributes::contextElement):
- ksvg2/svg/SVGFitToViewBox.cpp: (WebCore::SVGFitToViewBox::SVGFitToViewBox): (WebCore::SVGFitToViewBox::parseViewBox): (WebCore::SVGFitToViewBox::viewBoxToViewTransform): (WebCore::SVGFitToViewBox::parseMappedAttribute):
- ksvg2/svg/SVGFitToViewBox.h:
- ksvg2/svg/SVGForeignObjectElement.cpp: (WebCore::SVGForeignObjectElement::SVGForeignObjectElement): (WebCore::SVGForeignObjectElement::parseMappedAttribute):
- ksvg2/svg/SVGForeignObjectElement.h: (WebCore::SVGForeignObjectElement::isValid): (WebCore::SVGForeignObjectElement::contextElement):
- ksvg2/svg/SVGGElement.h: (WebCore::SVGGElement::contextElement):
- ksvg2/svg/SVGGradientElement.cpp: (SVGGradientElement::SVGGradientElement): (SVGGradientElement::parseMappedAttribute): (SVGGradientElement::rebuildStops):
- ksvg2/svg/SVGGradientElement.h:
- ksvg2/svg/SVGHelper.cpp: (WebCore::SVGHelper::PercentageOfViewport):
- ksvg2/svg/SVGImageElement.cpp: (SVGImageElement::SVGImageElement): (SVGImageElement::parseMappedAttribute): (SVGImageElement::haveLoadedRequiredResources):
- ksvg2/svg/SVGImageElement.h: (WebCore::SVGImageElement::contextElement):
- ksvg2/svg/SVGLangSpace.h:
- ksvg2/svg/SVGLength.cpp:
- ksvg2/svg/SVGLineElement.cpp: (SVGLineElement::SVGLineElement): (SVGLineElement::parseMappedAttribute): (SVGLineElement::toPathData): (SVGLineElement::pushAttributeContext):
- ksvg2/svg/SVGLineElement.h: (WebCore::SVGLineElement::contextElement):
- ksvg2/svg/SVGLinearGradientElement.cpp: (SVGLinearGradientElement::SVGLinearGradientElement): (SVGLinearGradientElement::parseMappedAttribute): (SVGLinearGradientElement::buildGradient):
- ksvg2/svg/SVGLinearGradientElement.h: (WebCore::SVGLinearGradientElement::contextElement):
- ksvg2/svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::SVGMarkerElement): (WebCore::SVGMarkerElement::parseMappedAttribute): (WebCore::SVGMarkerElement::setOrientToAuto): (WebCore::SVGMarkerElement::setOrientToAngle): (WebCore::SVGMarkerElement::canvasResource):
- ksvg2/svg/SVGMarkerElement.h: (WebCore::SVGMarkerElement::contextElement):
- ksvg2/svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::SVGMaskElement): (WebCore::SVGMaskElement::attributeChanged): (WebCore::SVGMaskElement::parseMappedAttribute): (WebCore::SVGMaskElement::drawMaskerContent):
- ksvg2/svg/SVGMaskElement.h: (WebCore::SVGMaskElement::contextElement):
- ksvg2/svg/SVGPathElement.cpp: (WebCore::SVGPathElement::SVGPathElement):
- ksvg2/svg/SVGPathElement.h: (WebCore::SVGPathElement::isValid): (WebCore::SVGPathElement::contextElement):
- ksvg2/svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::SVGPatternElement): (WebCore::SVGPatternElement::parseMappedAttribute): (WebCore::SVGPatternElement::pushAttributeContext): (WebCore::SVGPatternElement::fillAttributesFromReferencePattern): (WebCore::SVGPatternElement::drawPatternContentIntoTile): (WebCore::SVGPatternElement::notifyAttributeChange): (WebCore::SVGPatternElement::getCTM):
- ksvg2/svg/SVGPatternElement.h: (WebCore::SVGPatternElement::contextElement):
- ksvg2/svg/SVGPolyElement.h: (WebCore::SVGPolyElement::contextElement):
- ksvg2/svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::SVGRadialGradientElement): (WebCore::SVGRadialGradientElement::~SVGRadialGradientElement): (WebCore::SVGRadialGradientElement::parseMappedAttribute): (WebCore::SVGRadialGradientElement::buildGradient):
- ksvg2/svg/SVGRadialGradientElement.h: (WebCore::SVGRadialGradientElement::contextElement):
- ksvg2/svg/SVGRectElement.cpp: (WebCore::SVGRectElement::SVGRectElement): (WebCore::SVGRectElement::parseMappedAttribute): (WebCore::SVGRectElement::toPathData): (WebCore::SVGRectElement::pushAttributeContext):
- ksvg2/svg/SVGRectElement.h: (WebCore::SVGRectElement::contextElement):
- ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::SVGSVGElement): (WebCore::SVGSVGElement::~SVGSVGElement): (WebCore::SVGSVGElement::viewport): (WebCore::SVGSVGElement::parseMappedAttribute): (WebCore::SVGSVGElement::getCTM): (WebCore::SVGSVGElement::getScreenCTM): (WebCore::SVGSVGElement::createRenderer):
- ksvg2/svg/SVGSVGElement.h: (WebCore::SVGSVGElement::contextElement):
- ksvg2/svg/SVGScriptElement.h: (WebCore::SVGScriptElement::contextElement):
- ksvg2/svg/SVGSetElement.h: (WebCore::SVGSetElement::contextElement):
- ksvg2/svg/SVGStopElement.cpp: (SVGStopElement::SVGStopElement): (SVGStopElement::parseMappedAttribute):
- ksvg2/svg/SVGStopElement.h:
- ksvg2/svg/SVGStylable.h:
- ksvg2/svg/SVGStyledElement.cpp:
- ksvg2/svg/SVGStyledElement.h:
- ksvg2/svg/SVGStyledTransformableElement.cpp: (SVGStyledTransformableElement::SVGStyledTransformableElement): (SVGStyledTransformableElement::parseMappedAttribute):
- ksvg2/svg/SVGStyledTransformableElement.h:
- ksvg2/svg/SVGSwitchElement.cpp:
- ksvg2/svg/SVGSwitchElement.h: (WebCore::SVGSwitchElement::contextElement):
- ksvg2/svg/SVGSymbolElement.h: (WebCore::SVGSymbolElement::contextElement):
- ksvg2/svg/SVGTRefElement.cpp: (SVGTRefElement::updateReferencedText):
- ksvg2/svg/SVGTRefElement.h: (WebCore::SVGTRefElement::contextElement):
- ksvg2/svg/SVGTSpanElement.h: (WebCore::SVGTSpanElement::contextElement):
- ksvg2/svg/SVGTextContentElement.cpp: (SVGTextContentElement::SVGTextContentElement): (SVGTextContentElement::parseMappedAttribute):
- ksvg2/svg/SVGTextContentElement.h:
- ksvg2/svg/SVGTextElement.cpp: (WebCore::SVGTextElement::SVGTextElement): (WebCore::SVGTextElement::parseMappedAttribute):
- ksvg2/svg/SVGTextElement.h: (WebCore::SVGTextElement::contextElement):
- ksvg2/svg/SVGTextPositioningElement.cpp: (SVGTextPositioningElement::SVGTextPositioningElement): (SVGTextPositioningElement::parseMappedAttribute):
- ksvg2/svg/SVGTextPositioningElement.h:
- ksvg2/svg/SVGTransformable.cpp:
- ksvg2/svg/SVGTransformable.h:
- ksvg2/svg/SVGURIReference.cpp: (SVGURIReference::parseMappedAttribute):
- ksvg2/svg/SVGURIReference.h:
- ksvg2/svg/SVGUseElement.cpp: (SVGUseElement::SVGUseElement): (SVGUseElement::parseMappedAttribute): (SVGUseElement::closeRenderer):
- ksvg2/svg/SVGUseElement.h: (WebCore::SVGUseElement::contextElement):
- ksvg2/svg/SVGViewElement.h: (WebCore::SVGViewElement::contextElement):
- 8:26 PM Changeset in webkit [16243] by
-
- 5 edits in trunk/WebCore
2006-09-05 Eric Seidel <eric@eseidel.com>
Reviewed by aroben.
Speed up path parsing by removing string copies.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10722
Tests already cover path parsing.
- ksvg2/svg/SVGFitToViewBox.cpp: (WebCore::SVGFitToViewBox::parseViewBox):
- ksvg2/svg/svgpathparser.cpp: (WebCore::skipOptionalSpaces): Added. (WebCore::skipOptionalSpacesOrComma): Added. (WebCore::parseCoord): (WebCore::SVGPolyParser::parsePoints): (WebCore::SVGPathParser::parseSVG):
- 7:59 PM Changeset in webkit [16242] by
-
- 6 edits in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10742
More Objective-C DOM auto-generation cleanup
- Factor out implementation type-getters into their own function and standardize naming as was done for type-makers (ie. HTML and CSS prefixing for method names).
- bindings/objc/DOMCSS.mm: (-[DOMCSSStyleDeclaration getPropertyShorthand:]): (-[DOMCSSStyleDeclaration isPropertyImplicit:]): (-[DOMCSSStyleDeclaration _CSSStyleDeclaration]):
- bindings/objc/DOMHTML.mm: (-[DOMHTMLTableCaptionElement _HTMLTableCaptionElement]): (-[DOMHTMLTableSectionElement _HTMLTableSectionElement]): (-[DOMHTMLTableElement _HTMLTableElement]): (-[DOMHTMLTableCellElement _HTMLTableCellElement]): (-[DOMHTMLEmbedElement _HTMLEmbedElement]): (-[DOMHTMLEmbedElement align]): (-[DOMHTMLEmbedElement setAlign:]): (-[DOMHTMLEmbedElement height]): (-[DOMHTMLEmbedElement setHeight:]): (-[DOMHTMLEmbedElement name]): (-[DOMHTMLEmbedElement setName:]): (-[DOMHTMLEmbedElement src]): (-[DOMHTMLEmbedElement setSrc:]): (-[DOMHTMLEmbedElement type]): (-[DOMHTMLEmbedElement setType:]): (-[DOMHTMLEmbedElement width]): (-[DOMHTMLEmbedElement setWidth:]):
- bindings/objc/DOMInternal.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge setTypingStyle:withUndoAction:]): (-[WebCoreFrameBridge applyStyle:withUndoAction:]): (-[WebCoreFrameBridge applyParagraphStyle:withUndoAction:]): (-[WebCoreFrameBridge selectionStartHasStyle:]): (-[WebCoreFrameBridge selectionHasStyle:]):
- 7:30 PM Changeset in webkit [16241] by
-
- 5 edits2 copies in trunk/WebCore
Rolling out my earlier change, which broke the build for Tiger.
- 5:48 PM Changeset in webkit [16240] by
-
- 5 edits2 deletes in trunk/WebCore
Reviewed by John.
Removing the DOMImplementationFront workaround for an older GCC bug.
This changes requires Xcode 2.3 or later.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (-[DOMImplementation _initWithDOMImplementation:WebCore::]): (+[DOMImplementation _DOMImplementationWith:WebCore::]): (-[DOMImplementation WebCore::]):
- bindings/objc/DOMImplementationFront.cpp: Removed.
- bindings/objc/DOMImplementationFront.h: Removed.
- bindings/objc/DOMInternal.h:
- bindings/scripts/CodeGeneratorObjC.pm: remove DOMImplementationFront and some cleanup to under variables in WriteData
- 4:55 PM Changeset in webkit [16239] by
-
- 2 edits in trunk/WebKitTools
- Scripts/do-webcore-rename: More renaming plans.
- 4:38 PM Changeset in webkit [16238] by
-
- 4 edits in trunk/WebCore
Reviewed by Adam.
Removed dead code for password field.
- platform/mac/TextFieldMac.mm: (-[NSSearchFieldCell _addStringToRecentSearches:]):
- platform/mac/WebCoreTextField.h:
- platform/mac/WebCoreTextField.mm:
- 3:35 PM Changeset in webkit [16237] by
-
- 273 edits in trunk
LayoutTests:
Reviewed by thatcher
Setup for <rdar://problem/4344550> Misspellings aren't marked after undo delete
Fixed:
- editing/pasteboard/4641033-expected.checksum:
- editing/pasteboard/4641033-expected.png:
- editing/execCommand/outdent-selection-expected.checksum:
- editing/execCommand/outdent-selection-expected.png:
Added a didChangeSelection notification that was absent before:
- editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
- editing/deleting/delete-3608430-fix-expected.txt:
- editing/deleting/delete-3608462-fix-expected.txt:
- editing/deleting/delete-3775172-fix-expected.txt:
- editing/deleting/delete-3800834-fix-expected.txt:
- editing/deleting/delete-3857753-fix-expected.txt:
- editing/deleting/delete-3865854-fix-expected.txt:
- editing/deleting/delete-3928305-fix-expected.txt:
- editing/deleting/delete-3959464-fix-expected.txt:
- editing/deleting/delete-4038408-fix-expected.txt:
- editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-001-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
- editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
- editing/deleting/delete-block-contents-001-expected.txt:
- editing/deleting/delete-block-contents-002-expected.txt:
- editing/deleting/delete-block-contents-003-expected.txt:
- editing/deleting/delete-block-merge-contents-001-expected.txt:
- editing/deleting/delete-block-merge-contents-002-expected.txt:
- editing/deleting/delete-block-merge-contents-003-expected.txt:
- editing/deleting/delete-block-merge-contents-004-expected.txt:
- editing/deleting/delete-block-merge-contents-005-expected.txt:
- editing/deleting/delete-block-merge-contents-006-expected.txt:
- editing/deleting/delete-block-merge-contents-007-expected.txt:
- editing/deleting/delete-block-merge-contents-008-expected.txt:
- editing/deleting/delete-block-merge-contents-009-expected.txt:
- editing/deleting/delete-block-merge-contents-010-expected.txt:
- editing/deleting/delete-block-merge-contents-012-expected.txt:
- editing/deleting/delete-block-merge-contents-013-expected.txt:
- editing/deleting/delete-block-merge-contents-014-expected.txt:
- editing/deleting/delete-block-merge-contents-015-expected.txt:
- editing/deleting/delete-block-merge-contents-016-expected.txt:
- editing/deleting/delete-block-merge-contents-017-expected.txt:
- editing/deleting/delete-block-merge-contents-018-expected.txt:
- editing/deleting/delete-block-merge-contents-019-expected.txt:
- editing/deleting/delete-block-merge-contents-020-expected.txt:
- editing/deleting/delete-block-merge-contents-021-expected.txt:
- editing/deleting/delete-block-merge-contents-022-expected.txt:
- editing/deleting/delete-block-merge-contents-023-expected.txt:
- editing/deleting/delete-block-merge-contents-024-expected.txt:
- editing/deleting/delete-block-table-expected.txt:
- editing/deleting/delete-br-008-expected.txt:
- editing/deleting/delete-br-010-expected.txt:
- editing/deleting/delete-br-011-expected.txt:
- editing/deleting/delete-first-list-item-expected.txt:
- editing/deleting/delete-image-001-expected.txt:
- editing/deleting/delete-image-002-expected.txt:
- editing/deleting/delete-image-003-expected.txt:
- editing/deleting/delete-image-004-expected.txt:
- editing/deleting/delete-line-001-expected.txt:
- editing/deleting/delete-line-002-expected.txt:
- editing/deleting/delete-line-003-expected.txt:
- editing/deleting/delete-line-004-expected.txt:
- editing/deleting/delete-line-005-expected.txt:
- editing/deleting/delete-line-006-expected.txt:
- editing/deleting/delete-line-007-expected.txt:
- editing/deleting/delete-line-008-expected.txt:
- editing/deleting/delete-line-009-expected.txt:
- editing/deleting/delete-line-010-expected.txt:
- editing/deleting/delete-line-011-expected.txt:
- editing/deleting/delete-line-012-expected.txt:
- editing/deleting/delete-line-013-expected.txt:
- editing/deleting/delete-line-014-expected.txt:
- editing/deleting/delete-line-015-expected.txt:
- editing/deleting/delete-line-016-expected.txt:
- editing/deleting/delete-line-017-expected.txt:
- editing/deleting/delete-listitem-001-expected.txt:
- editing/deleting/delete-listitem-002-expected.txt:
- editing/deleting/delete-mixed-editable-content-001-expected.txt:
- editing/deleting/delete-select-all-001-expected.txt:
- editing/deleting/delete-select-all-002-expected.txt:
- editing/deleting/delete-select-all-003-expected.txt:
- editing/deleting/merge-different-styles-expected.txt:
- editing/deleting/merge-endOfParagraph-expected.txt:
- editing/deleting/merge-no-br-expected.txt:
- editing/deleting/pruning-after-merge-1-expected.txt:
- editing/deleting/pruning-after-merge-2-expected.txt:
- editing/deleting/table-cells-expected.txt:
- editing/execCommand/boldSelection-expected.txt:
- editing/execCommand/create-list-from-range-selection-expected.txt:
- editing/execCommand/createLink-expected.txt:
- editing/execCommand/format-block-expected.txt:
- editing/execCommand/format-block-from-range-selection-expected.txt:
- editing/execCommand/format-block-with-braces-expected.txt:
- editing/execCommand/format-block-with-trailing-br-expected.txt:
- editing/execCommand/hilitecolor-expected.txt:
- editing/execCommand/indent-list-item-expected.txt:
- editing/execCommand/indent-selection-expected.txt:
- editing/execCommand/insert-list-and-stitch-expected.txt:
- editing/execCommand/insert-list-with-id-expected.txt:
- editing/execCommand/insertHTML-expected.txt:
- editing/execCommand/insertHorizontalRule-expected.txt:
- editing/execCommand/remove-formatting-expected.txt:
- editing/execCommand/remove-list-from-range-selection-expected.txt:
- editing/execCommand/remove-list-items-expected.txt:
- editing/execCommand/strikethroughSelection-expected.txt:
- editing/execCommand/switch-list-type-expected.txt:
- editing/execCommand/unlink-expected.txt:
- editing/input/text-input-controller-expected.txt:
- editing/inserting/insert-3654864-fix-expected.txt:
- editing/inserting/insert-3659587-fix-expected.txt:
- editing/inserting/insert-3775316-fix-expected.txt:
- editing/inserting/insert-3851164-fix-expected.txt:
- editing/inserting/insert-3907422-fix-expected.txt:
- editing/inserting/insert-after-delete-001-expected.txt:
- editing/inserting/insert-div-001-expected.txt:
- editing/inserting/insert-div-002-expected.txt:
- editing/inserting/insert-div-003-expected.txt:
- editing/inserting/insert-div-005-expected.txt:
- editing/inserting/insert-div-007-expected.txt:
- editing/inserting/insert-div-009-expected.txt:
- editing/inserting/insert-div-010-expected.txt:
- editing/inserting/insert-div-020-expected.txt:
- editing/inserting/insert-div-023-expected.txt:
- editing/inserting/insert-div-024-expected.txt:
- editing/inserting/insert-div-025-expected.txt:
- editing/inserting/insert-div-026-expected.txt:
- editing/inserting/multiple-lines-selected-expected.txt:
- editing/inserting/paragraph-separator-03-expected.txt:
- editing/inserting/paragraph-separator-in-table-2-expected.txt:
- editing/inserting/redo-expected.txt:
- editing/inserting/return-key-with-selection-001-expected.txt:
- editing/inserting/return-key-with-selection-002-expected.txt:
- editing/inserting/return-key-with-selection-003-expected.txt:
- editing/pasteboard/3976872-expected.txt:
- editing/pasteboard/4076267-3-expected.txt:
- editing/pasteboard/4076267-expected.txt:
- editing/pasteboard/4700297-expected.txt:
- editing/pasteboard/8145-3-expected.txt:
- editing/pasteboard/block-wrappers-necessary-expected.txt:
- editing/pasteboard/copy-paste-bidi-expected.txt:
- editing/pasteboard/displaced-generic-placeholder-expected.txt:
- editing/pasteboard/displaced-placeholder-expected.txt:
- editing/pasteboard/display-block-on-spans-expected.txt:
- editing/pasteboard/drag-drop-modifies-page-expected.txt:
- editing/pasteboard/interchange-newline-2-expected.txt:
- editing/pasteboard/merge-after-delete-1-expected.txt:
- editing/pasteboard/merge-after-delete-2-expected.txt:
- editing/pasteboard/merge-after-delete-expected.txt:
- editing/pasteboard/merge-end-3-expected.txt:
- editing/pasteboard/merge-end-5-expected.txt:
- editing/pasteboard/merge-end-blockquote-expected.txt:
- editing/pasteboard/merge-end-list-expected.txt:
- editing/pasteboard/merge-end-table-expected.txt:
- editing/pasteboard/paste-4035648-fix-expected.txt:
- editing/pasteboard/paste-4039777-fix-expected.txt:
- editing/pasteboard/paste-line-endings-001-expected.txt:
- editing/pasteboard/paste-line-endings-006-expected.txt:
- editing/pasteboard/paste-match-style-001-expected.txt:
- editing/pasteboard/paste-match-style-002-expected.txt:
- editing/pasteboard/paste-pre-001-expected.txt:
- editing/pasteboard/paste-pre-002-expected.txt:
- editing/pasteboard/paste-table-002-expected.txt:
- editing/pasteboard/paste-table-003-expected.txt:
- editing/pasteboard/paste-text-006-expected.txt:
- editing/pasteboard/paste-text-007-expected.txt:
- editing/pasteboard/paste-text-010-expected.txt:
- editing/pasteboard/paste-text-011-expected.txt:
- editing/pasteboard/paste-text-015-expected.txt:
- editing/pasteboard/paste-text-016-expected.txt:
- editing/pasteboard/paste-text-017-expected.txt:
- editing/pasteboard/paste-text-018-expected.txt:
- editing/pasteboard/prevent-block-nesting-01-expected.txt:
- editing/pasteboard/smart-paste-003-expected.txt:
- editing/pasteboard/smart-paste-004-expected.txt:
- editing/pasteboard/smart-paste-005-expected.txt:
- editing/pasteboard/smart-paste-006-expected.txt:
- editing/pasteboard/smart-paste-007-expected.txt:
- editing/pasteboard/smart-paste-008-expected.txt:
- editing/pasteboard/testcase-9507-expected.txt:
- editing/pasteboard/undoable-fragment-removes-expected.txt:
- editing/selection/expanding-selections-expected.txt:
- editing/selection/expanding-selections2-expected.txt:
- editing/selection/node-removal-1-expected.txt:
- editing/selection/node-removal-2-expected.txt:
- editing/selection/select-all-iframe-expected.txt:
- editing/selection/skip-non-editable-1-expected.txt:
- editing/selection/triple-click-in-pre-expected.txt:
- editing/style/apple-style-editable-mix-expected.txt:
- editing/style/block-style-004-expected.txt:
- editing/style/block-style-005-expected.txt:
- editing/style/block-style-006-expected.txt:
- editing/style/create-block-for-style-001-expected.txt:
- editing/style/create-block-for-style-002-expected.txt:
- editing/style/create-block-for-style-003-expected.txt:
- editing/style/create-block-for-style-004-expected.txt:
- editing/style/create-block-for-style-007-expected.txt:
- editing/style/create-block-for-style-009-expected.txt:
- editing/style/create-block-for-style-010-expected.txt:
- editing/style/create-block-for-style-011-expected.txt:
- editing/style/create-block-for-style-012-expected.txt:
- editing/style/create-block-for-style-013-expected.txt:
- editing/style/designmode-expected.txt:
- editing/style/relative-font-size-change-001-expected.txt:
- editing/style/relative-font-size-change-002-expected.txt:
- editing/style/remove-underline-across-paragraph-expected.txt:
- editing/style/remove-underline-across-paragraph-in-bold-expected.txt:
- editing/style/remove-underline-after-paragraph-expected.txt:
- editing/style/remove-underline-after-paragraph-in-bold-expected.txt:
- editing/style/remove-underline-from-stylesheet-expected.txt:
- editing/style/smoosh-styles-001-expected.txt:
- editing/style/smoosh-styles-002-expected.txt:
- editing/style/smoosh-styles-003-expected.txt:
- editing/style/style-3681552-fix-001-expected.txt:
- editing/style/style-3681552-fix-002-expected.txt:
- editing/style/style-3690704-fix-expected.txt:
- editing/style/style-3998892-fix-expected.txt:
- editing/style/style-boundary-001-expected.txt:
- editing/style/style-boundary-003-expected.txt:
- editing/style/style-boundary-004-expected.txt:
- editing/style/typing-style-001-expected.txt:
- editing/style/typing-style-003-expected.txt:
- editing/undo/undo-misspellings-expected.txt:
- editing/unsupported-content/list-delete-001-expected.txt:
- editing/unsupported-content/list-delete-002-expected.txt:
- editing/unsupported-content/list-delete-003-expected.txt:
- editing/unsupported-content/table-delete-001-expected.txt:
- editing/unsupported-content/table-delete-002-expected.txt:
- editing/unsupported-content/table-delete-003-expected.txt:
- fast/forms/attributed-strings-expected.txt:
- fast/forms/cursor-position-expected.txt:
- fast/forms/drag-into-textarea-expected.txt:
- fast/forms/input-appearance-maxlength-expected.txt:
- fast/forms/input-paste-undo-expected.txt:
- fast/forms/input-selection-restore-expected.txt:
- fast/forms/input-text-paste-maxlength-expected.txt:
- fast/forms/selection-functions-expected.txt:
- fast/forms/text-field-setvalue-crash-expected.txt:
- fast/forms/textarea-paste-newline-expected.txt:
WebCore:
Reviewed by thatcher
Setup for <rdar://problem/4344550> Misspellings aren't marked after undo delete
Fixes:
<http://bugzilla.opendarwin.org/show_bug.cgi?id=6498>
SelectionController's setters should notify delegates of selection changes
Moved setSelection from Frame to SelectionController.
I haven't moved any of the work that's done as a result of a
Selection change to SelectionController yet.
Make fewer uses of SelectionControllers. They're now only used for
the Frame's selection, the Page's drag caret, and functions that
need to do Selection expansion.
- bindings/js/kjs_window.cpp: (KJS::Selection::getValueProperty): (KJS::Selection::toString): (KJS::SelectionFunc::callAsFunction):
- bridge/mac/FrameMac.h:
- bridge/mac/FrameMac.mm: (WebCore::FrameMac::advanceToNextMisspelling): (WebCore::FrameMac::dispatchCPPEvent): (WebCore::FrameMac::fontForSelection): (WebCore::FrameMac::baseWritingDirectionForSelectionStart): (WebCore::FrameMac::markMisspellingsInAdjacentWords): (WebCore::FrameMac::markMisspellings): (WebCore::FrameMac::respondToChangedSelection): (WebCore::FrameMac::shouldChangeSelection): (WebCore::FrameMac::shouldDeleteSelection): (WebCore::FrameMac::respondToChangedContents):
- bridge/mac/PageMac.mm: (WebCore::Page::Page):
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilityAttributeValue:]): (-[WebCoreAXObject doAXTextMarkerRangeForLine:]): (-[WebCoreAXObject doAXBoundsForTextMarkerRange:]): (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]): (-[WebCoreAXObject doSetAXSelectedTextMarkerRange:]):
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge isSelectionEditable]): (-[WebCoreFrameBridge isSelectionRichlyEditable]): (-[WebCoreFrameBridge selectionState]): (-[WebCoreFrameBridge deselectText]): (-[WebCoreFrameBridge selectedAttributedString]): (-[WebCoreFrameBridge rangeByExpandingSelectionWithGranularity:]): (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:direction:granularity:]): (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]): (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:verticalDistance:]): (-[WebCoreFrameBridge alterCurrentSelection:verticalDistance:]): (-[WebCoreFrameBridge setSelectedDOMRange:affinity:closeTyping:]): (-[WebCoreFrameBridge selectedDOMRange]): (-[WebCoreFrameBridge selectNSRange:]): (-[WebCoreFrameBridge selectedNSRange]): (-[WebCoreFrameBridge selectionAffinity]): (-[WebCoreFrameBridge replaceSelectionWithText:selectReplacement:smartReplace:]): (-[WebCoreFrameBridge setSelectionToDragCaret]): (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]): (-[WebCoreFrameBridge moveDragCaretToPoint:]): (-[WebCoreFrameBridge removeDragCaret]): (-[WebCoreFrameBridge dragCaretDOMRange]): (-[WebCoreFrameBridge isDragCaretRichlyEditable]): (-[WebCoreFrameBridge editableDOMRangeForPoint:]): (-[WebCoreFrameBridge ensureSelectionVisible]): (-[WebCoreFrameBridge rangeOfCharactersAroundCaret]):
- bridge/win/PageWin.cpp: (WebCore::Page::Page):
- dom/Document.cpp: (WebCore::Document::updateSelection): (WebCore::Document::clearSelectionIfNeeded): (WebCore::Document::notifyBeforeNodeRemoval):
- dom/Element.cpp: (WebCore::Element::updateFocusAppearance):
- editing/EditCommand.cpp: (WebCore::EditCommand::EditCommand):
- editing/JSEditor.cpp:
- editing/ModifySelectionListLevel.cpp: (WebCore::IncreaseSelectionListLevelCommand::canIncreaseSelectionListLevel): (WebCore::DecreaseSelectionListLevelCommand::canDecreaseSelectionListLevel):
- editing/Selection.cpp: (WebCore::Selection::setBase): (WebCore::Selection::setExtent):
- editing/Selection.h: (WebCore::Selection::extent):
- editing/SelectionController.cpp: (WebCore::SelectionController::SelectionController): (WebCore::SelectionController::moveTo): (WebCore::SelectionController::setSelection): (WebCore::SelectionController::nodeWillBeRemoved): (WebCore::SelectionController::modify): (WebCore::SelectionController::clear): (WebCore::SelectionController::setBase): (WebCore::SelectionController::setExtent):
- editing/SelectionController.h:
- editing/TypingCommand.cpp: (WebCore::TypingCommand::insertText): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed):
- editing/VisiblePosition.cpp: (WebCore::VisiblePosition::caretRect):
- editing/VisiblePosition.h:
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler):
- page/Frame.cpp: (WebCore::Frame::selectedText): (WebCore::Frame::hasSelection): (WebCore::Frame::selectionController): (WebCore::Frame::dragCaretController): (WebCore::Frame::notifyRendererOfSelectionChange): (WebCore::Frame::invalidateSelection): (WebCore::Frame::clearCaretRectIfNeeded): (WebCore::Frame::setFocusNodeIfNeeded): (WebCore::Frame::selectionLayoutChanged): (WebCore::Frame::caretBlinkTimerFired): (WebCore::Frame::paintCaret): (WebCore::Frame::paintDragCaret): (WebCore::Frame::isPointInsideSelection): (WebCore::Frame::selectClosestWordFromMouseEvent): (WebCore::Frame::handleMousePressEventDoubleClick): (WebCore::Frame::handleMousePressEventTripleClick): (WebCore::Frame::handleMousePressEventSingleClick): (WebCore::Frame::handleMouseMoveEvent): (WebCore::Frame::handleMouseReleaseEvent): (WebCore::Frame::selectAll): (WebCore::Frame::selectContentsOfNode): (WebCore::Frame::shouldChangeSelection): (WebCore::Frame::shouldDeleteSelection): (WebCore::Frame::isSelectionInPasswordField): (WebCore::Frame::appliedEditing): (WebCore::Frame::unappliedEditing): (WebCore::Frame::reappliedEditing): (WebCore::Frame::computeAndSetTypingStyle): (WebCore::Frame::applyStyle): (WebCore::Frame::applyParagraphStyle): (WebCore::Frame::selectionListState): (WebCore::Frame::selectionHasStyle): (WebCore::Frame::selectionComputedStyle): (WebCore::Frame::selectFrameElementInParentIfFullySelected): (WebCore::Frame::currentForm): (WebCore::Frame::revealSelection): (WebCore::Frame::centerSelectionInVisibleArea): (WebCore::Frame::styleForSelectionStart): (WebCore::Frame::setSelectionFromNone): (WebCore::Frame::findString):
- page/Frame.h:
- page/FramePrivate.h: (WebCore::FramePrivate::FramePrivate):
- page/FrameView.cpp: (WebCore::FrameView::clear):
- page/Page.cpp: (WebCore::Page::dragCaretController):
- page/Page.h:
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintCaret):
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::autoscroll):
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::selectionStart): (WebCore::RenderTextControl::selectionEnd): (WebCore::RenderTextControl::setSelectionRange): (WebCore::RenderTextControl::selectionChanged):
- rendering/RenderTreeAsText.cpp: (WebCore::writeSelection):
- 2:48 PM Changeset in webkit [16236] by
-
- 8 edits in S60/trunk/WebKit
2006-09-05 winship <Stephen.Winship@nokia.com>
Reviewed by Sachin.
DESC: Auto Form Fill usability changes
http://bugzilla.opendarwin.org/show_bug.cgi?id=10642
- BrowserCore/Formcontrols/inc/FControlInputSkin.h:
- BrowserCore/Formcontrols/inc/FControlSelectListBox.h: (CControlSelectListBox::IsFocused):
- BrowserCore/Formcontrols/inc/FControlSelectWidget.h:
- BrowserCore/Formcontrols/src/FControlInputSkin.cpp: (CFormInputSkin::SetSize): (CFormInputSkin::TextChanged): (CFormInputSkin::OkToExit): (CFormInputSkin::ListBoxKeyEventL): (CFormInputSkin::ActivateL): (CFormInputSkin::DestroyList): (CFormInputSkin::UpdatePopupL):
- BrowserCore/Formcontrols/src/FControlSelectListBox.cpp: (CControlSelectListBox::ConstructL): (CControlSelectListBox::UpdateContentL): (CControlSelectListBox::SetFocus):
- BrowserCore/Formcontrols/src/FControlSelectWidget.cpp: (CControlSelectWidget::CControlSelectWidget): (CControlSelectWidget::ConstructL): (CControlSelectWidget::ConstructListBoxL): (CControlSelectWidget::NewL): (CControlSelectWidget::~CControlSelectWidget): (CControlSelectWidget::PositionListBox): (CControlSelectWidget::SetList): (CControlSelectWidget::FilterContentL): (CControlSelectWidget::OfferKeyEventL): (CControlSelectWidget::CountComponentControls): (CControlSelectWidget::SizeChanged): (CControlSelectWidget::HandleListBoxEventL): (CControlSelectWidget::SimulateDoneKeyL):
- ChangeLog:
- group/BrowserCore.mmp:
- 2:14 PM Changeset in webkit [22141] by
-
- 10 edits2 adds in branches/WindowsMerge/WebKitWin
2006-09-05 Steve Falkenburg <sfalken@apple.com>
Reviewed by Lou Amadio.
Currently we are saving a copy of the raw data in the FrameView (to
return when requested via IWebDataSource::data). This needs to be
shared with CFNetwork once CFNetwork integration is complete.
Also fixed a problem with autofill where we'd crash on pages with
non-autofillable form elements.
- 2:10 PM Changeset in webkit [16235] by
-
- 2 edits in trunk/WebKit
Reviewed by Tim O.
<rdar://problem/4682225> conflicting typedefs in Netscape plug-in headers
- Plugins/npfunctions.h: fix the return type for NPN_IntFromIdentifierProcPtr to be int32_t
- 1:18 PM Changeset in webkit [16234] by
-
- 2 edits in S60/trunk
2006-09-05 brmorris <bradley.morrison@nokia.com>
Reviewed by me.
DESC: Include test index number in test results
http://bugzilla.opendarwin.org/show_bug.cgi?id=10678
- runATF.bat:
- 1:13 PM Changeset in webkit [16233] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Tim O.
<rdar://problem/4715840> SEL is not char*
- bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::methodsNamed): use sel_getName instead of a char* cast.
- bindings/objc/objc_runtime.mm: (ObjcFallbackObjectImp::callAsFunction): ditto
- 12:04 PM Changeset in webkit [16232] by
-
- 2 edits in trunk/WebCore
Reviewed by Adam.
Let the engine draw the focus ring for styled menu lists.
- rendering/RenderTheme.cpp: (WebCore::RenderTheme::supportsFocusRing): Added case for MenulistButtonAppearance.
- 10:54 AM Changeset in webkit [16231] by
-
- 3 edits in trunk/WebCore
Reviewed by Adam.
- Fix for <rdar://problem/4706463> REGRESSION: Must click twice on <select> elements for menu to show
- rendering/RenderPopupMenuMac.h:
- rendering/RenderPopupMenuMac.mm: (WebCore::RenderPopupMenuMac::showPopup): Moved call to dismiss popup into hidePopup method. Now calls RenderMenuList::hidePopup which will update the m_popupIsVisible flag on the menu list before hiding the popup. (WebCore::RenderPopupMenuMac::hidePopup): Added.
- 10:26 AM Changeset in webkit [16230] by
-
- 5 edits in trunk/WebCore/bindings
Build fix for when XPATH_SUPPORT is not defined.
- 9:57 AM Changeset in webkit [16229] by
-
- 24 edits5 deletes in trunk/WebCore
Reviewed by Tim H.
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10738
Consolidate the Objective-C DOM Bindings Internal files into DOMInternal.h
- Consolidate DOMHTMLInternal.h, DOMCSSInternal.h, DOMEventsInternal.h, DOMViewsInternal.h and DOMXPathInternal.h into DOMInternal.h.
- Rename the "type-makers" (used to make a binding from an implementation type) so that all the HTML ones begin with the prefix HTML. Did the same for the CSS.
- Auto-generate a couple more methods from DOMExtensions.h.
- Various cleanups of the Objective-C auto-generation code.
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOM.mm: (-[DOMDocument createCSSStyleDeclaration]):
- bindings/objc/DOMCSS.mm: (+[DOMCSSRuleList _CSSRuleListWith:]): (+[DOMCSSRule _CSSRuleWith:]): (+[DOMCSSStyleDeclaration _CSSStyleDeclarationWith:]): (+[DOMCSSValue _CSSValueWith:]): (+[DOMCSSPrimitiveValue _CSSPrimitiveValueWith:]): (-[DOMDocument getComputedStyle::]): (-[DOMDocument getMatchedCSSRules::]):
- bindings/objc/DOMCSSInternal.h: Removed.
- bindings/objc/DOMEvents.mm:
- bindings/objc/DOMEventsInternal.h: Removed.
- bindings/objc/DOMEventsNonstandard.mm:
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMHTML.mm: (+[DOMHTMLCollection _HTMLCollectionWith:]): (+[DOMHTMLOptionsCollection _HTMLOptionsCollectionWith:]): (+[DOMHTMLElement _HTMLElementWith:]): (+[DOMHTMLFormElement _HTMLFormElementWith:]): (+[DOMHTMLTableCaptionElement _HTMLTableCaptionElementWith:]): (+[DOMHTMLTableSectionElement _HTMLTableSectionElementWith:]): (+[DOMHTMLTableElement _HTMLTableElementWith:]): (+[DOMHTMLTableCellElement _HTMLTableCellElementWith:]):
- bindings/objc/DOMHTMLAppletElement.mm:
- bindings/objc/DOMHTMLDocument.mm: (-[DOMHTMLDocument body]): (-[DOMHTMLDocument images]): (-[DOMHTMLDocument applets]): (-[DOMHTMLDocument links]): (-[DOMHTMLDocument forms]): (-[DOMHTMLDocument anchors]):
- bindings/objc/DOMHTMLInternal.h: Removed.
- bindings/objc/DOMHTMLOptionElement.mm: (-[DOMHTMLOptionElement form]):
- bindings/objc/DOMInternal.h:
- bindings/objc/DOMRGBColor.mm: (setWrapperForRGB): (-[DOMRGBColor red]): (-[DOMRGBColor green]): (-[DOMRGBColor blue]): (-[DOMRGBColor alpha]):
- bindings/objc/DOMUtility.mm: (KJS::ScriptInterpreter::createObjcInstanceForValue):
- bindings/objc/DOMViews.mm: (-[DOMAbstractView WebCore::]): (-[DOMAbstractView _initWithAbstractView:WebCore::]): (+[DOMAbstractView _abstractViewWith:WebCore::]):
- bindings/objc/DOMViewsInternal.h: Removed.
- bindings/objc/DOMXPath.mm:
- bindings/objc/DOMXPathInternal.h: Removed.
- bindings/objc/PublicDOMInterfaces.h:
- bindings/scripts/CodeGeneratorObjC.pm:
- bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge typingStyle]):
- html/HTMLAnchorElement.idl:
- html/HTMLAreaElement.idl:
- html/HTMLImageElement.idl:
- html/HTMLInputElement.idl:
- html/HTMLLinkElement.idl:
- 9:24 AM Changeset in webkit [16228] by
-
- 1 edit in trunk/WebCore/DerivedSources.make
Build fix. Remove the now duplicate OS check and add PublicDOMInterfaces.h to the dependancy list for ObjC DOM files.
- 12:29 AM Changeset in webkit [22140] by
-
- 1 edit in branches/WindowsMerge/WebCore/WebCore.vcproj/WebCore.vcproj
Fix build
- 12:27 AM Changeset in webkit [16227] by
-
- 2 edits in trunk/WebCore
2006-09-05 Steve Falkenburg <sfalken@apple.com>
Conditionalize new DOM headers for ObjC only
- DerivedSources.make:
Sep 4, 2006:
- 10:05 PM Changeset in webkit [16226] by
-
- 9 edits in trunk
Reviewed by Darin.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10716
XMLHttpRequest.responseText is null if HTTP response is empty
Extended existing tests:
- http/tests/xmlhttrequest/zero-length-response.html
- http/tests/xmlhttrequest/zero-length-response-sync.html
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::XMLHttpRequest): Initialize responseText to an empty string. (WebCore::XMLHttpRequest::open): Reset responseText to an empty string.
- bindings/js/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequest::getValueProperty): Return null rather than undefined for nil responseXML.
- 7:45 PM Changeset in webkit [16225] by
-
- 27 edits1 add in trunk
WebCore:
Reviewed by Darin.
Bug 10714: ObjC autogeneration needs safe-guards against easily modifying the public API
http://bugzilla.opendarwin.org/show_bug.cgi?id=10714
- New PublicDOMInterfaces.h file is consulted when generating the ObjC DOM files. All public DOM class interfaces, properties and methods need to be in this file. Anything not in the file will be generated into the appropriate private header file. During generation if something changed or is missing in the public API a build error will occur. New interfaces added to the IDLs files will now not automatically be reflected in the public ObjC API. Methods commented out in PublicDOMInterfaces.h are pending public and will be uncommented once approved.
- Removed most of the Exclude=ObjC uses from the IDL files. This attribute was mostly used to prevent changes to the public headers.
- Make a new parameter name if the original conflicts with a property name.
- Simplified the generation code for dealing with exceptions.
- Moved file opens to WriteData. Files are unlinked before being opened to work around a Leopard file truncation bug.
- Fixed #imports for DOMImplementation to be DOMDOMImplementation.h
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMCSS.h:
- bindings/objc/DOMCore.h:
- bindings/objc/DOMExtensions.h:
- bindings/objc/DOMHTMLInternal.h:
- bindings/objc/DOMPrivate.h:
- bindings/objc/PublicDOMInterfaces.h: Added.
- bindings/scripts/CodeGeneratorObjC.pm:
- dom/Document.idl:
- dom/Element.idl:
- dom/NamedNodeMap.idl:
- dom/ProcessingInstruction.idl:
- html/HTMLAnchorElement.idl:
- html/HTMLAreaElement.idl:
- html/HTMLBodyElement.idl:
- html/HTMLButtonElement.idl:
- html/HTMLImageElement.idl:
- html/HTMLInputElement.idl:
- html/HTMLLabelElement.idl:
- html/HTMLLegendElement.idl:
- html/HTMLLinkElement.idl:
- html/HTMLOptionsCollection.idl:
- html/HTMLPreElement.idl:
- html/HTMLStyleElement.idl:
- html/HTMLTextAreaElement.idl:
WebKit:
Reviewed by Darin.
Bug 10714: ObjC autogeneration needs safe-guards against easily modifying the public API
http://bugzilla.opendarwin.org/show_bug.cgi?id=10714
- Added the new private DOM headers.
- Factored out the common commands into variables.
- Made WebDashboardRegion.h private again.
- Rename DOMDOMImplementation.h to DOMImplementation.h when files are migrated. Also fixes up #imports.
- MigrateHeaders.make:
- 4:36 PM Changeset in webkit [16224] by
-
- 2 edits in trunk/WebKitTools
- Scripts/do-webcore-rename: More renaming plans.
- 4:16 PM Changeset in webkit [16223] by
-
- 1 edit in trunk/WebKit/WebInspector/WebInspector.m
Another build fix now that the old style ObjC methods are deprecated.
- 4:10 PM Changeset in webkit [16222] by
-
- 7 edits in trunk
Build fixes now that the old style ObjC methods are deprecated.
- 3:57 PM Changeset in webkit [16221] by
-
- 2 edits in trunk/WebCore
Reviewed by Tim H.
Continue fixing the build, I forgot this in my previous patch!
- platform/qt/PathQt.cpp: (WebCore::Path::apply):
- 3:43 PM Changeset in webkit [16220] by
-
- 3 edits in trunk/WebCore
Reviewed by Tim H.
Fix build on Qt/Linux.
- CMakeLists.txt:
- platform/qt/PathQt.cpp: (WebCore::Path::transform):
- 3:28 PM Changeset in webkit [16219] by
-
- 3 edits3 adds1 delete in trunk
WebKitQt:
Reviewed by Tim H.
Fixes last part of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
Move QtLauncher down to WebKitQt.
- QtLauncher/CMakeLists.txt: Added.
- QtLauncher/main.cpp: Added. (main):
WebKitTools:
Reviewed by Tim H.
Fixes last part of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
Move QtLauncher down to WebKitQt.
- QtLauncher/CMakeLists.txt: Removed.
- QtLauncher/main.cpp: Removed.
- 12:49 PM Changeset in webkit [16218] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
The project file didn't get committed with my last checking.
- 11:34 AM Changeset in webkit [16217] by
-
- 12 edits3 adds in trunk
Reviewed by Darin.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10676
@charset rules not accessible via DOM
Test: fast/encoding/css-charset-dom.html
- WebCore.xcodeproj/project.pbxproj: Added CSSCharsetRule.cpp
- bindings/js/kjs_css.cpp: (KJS::DOMCSSStyleSheet::getValueProperty): Separated Rules and CssRules, since now they behave differently.
- css/CSSCharsetRule.h: Make the constructor take an encoding.
- css/CSSCharsetRule.cpp: Added.
- css/CSSGrammar.y: Create CSSStylesheetRules as necessary.
- css/CSSRuleList.cpp: (WebCore::CSSRuleList::CSSRuleList):
- css/CSSRuleList.h:
- css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::cssRules):
- css/CSSStyleSheet.h: Skip charset rules in IE compatibility mode.
- css/StyleBase.h: (WebCore::StyleBase::isCharsetRule): Fixed a typo.
- css/cssparser.cpp: (WebCore::CSSParser::createCharsetRule):
- css/cssparser.h: Added createCharsetRule().
- 10:37 AM Changeset in webkit [16216] by
-
- 4 edits2 adds in trunk/WebCore
Reviewed by Darin.
Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
Let FrameQt operate on a FrameQtClient, just like Win/Mac handle it.
- CMakeLists.txt:
- platform/qt/FrameQt.cpp: (WebCore::FrameQt::FrameQt): (WebCore::FrameQt::~FrameQt): (WebCore::FrameQt::openURL): (WebCore::FrameQt::submitForm): (WebCore::FrameQt::urlSelected):
- platform/qt/FrameQt.h:
- platform/qt/FrameQtClient.cpp: Added. (WebCore::FrameQtClientDefault::FrameQtClientDefault): (WebCore::FrameQtClientDefault::~FrameQtClientDefault): (WebCore::FrameQtClientDefault::setFrame): (WebCore::FrameQtClientDefault::openURL): (WebCore::FrameQtClientDefault::submitForm): (WebCore::FrameQtClientDefault::receivedResponse): (WebCore::FrameQtClientDefault::receivedData): (WebCore::FrameQtClientDefault::receivedAllData):
- platform/qt/FrameQtClient.h: Added. (WebCore::FrameQtClient::~FrameQtClient):
- 10:34 AM Changeset in webkit [16215] by
-
- 4 edits2 adds in trunk/WebKitTools
Reviewed by Darin.
Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10644
Adjust DumpRenderTree to the FrameQtClient changes.
- DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
- DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::~DumpRenderTree): (WebCore::DumpRenderTree::frame):
- DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
- DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added. (WebCore::DumpRenderTreeClient::DumpRenderTreeClient): (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
- DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
- 10:11 AM Changeset in webkit [16214] by
-
- 1 edit16 adds in trunk
- 2:31 AM Changeset in webkit [16213] by
-
- 2 edits in trunk/WebCore
2006-09-04 Eric Seidel <eric@eseidel.com>
Reviewed by andersca.
Clean-up style and spacing.
http://bugzilla.opendarwin.org/show_bug.cgi?id=10724
No tests needed, no functional changes.
- ksvg2/svg/svgpathparser.cpp: (WebCore::parseCoord): (WebCore::SVGPolyParser::parsePoints): (WebCore::SVGPathParser::parseSVG): (WebCore::SVGPathParser::calculateArc): (WebCore::SVGPathParser::svgLineToHorizontal): (WebCore::SVGPathParser::svgLineToVertical): (WebCore::SVGPathParser::svgCurveToCubicSmooth): (WebCore::SVGPathParser::svgCurveToQuadratic): (WebCore::SVGPathParser::svgCurveToQuadraticSmooth): (WebCore::SVGPathParser::svgArcTo):
- 2:22 AM Changeset in webkit [16212] by
-
- 3 edits4 adds in trunk
Reviewed by Eric.
http://bugzilla.opendarwin.org/show_bug.cgi?id=6546
clipPath data does not respect transforms
Get the transform from the dom element and adjust
the clip path with it.
- 12:57 AM Changeset in webkit [16211] by
-
- 2 edits in trunk/WebCore
Reviewed by Eric.
This code should have gone in as part of:
http://bugzilla.opendarwin.org/show_bug.cgi?id=10696
It addresses the comments there, also we use double instead
of float now in calculations.