Timeline
Nov 6, 2005:
- 7:07 PM Changeset in webkit [11085] by
-
- 1 edit in trunk/JavaScriptCore/ChangeLog
changelog fixup
- 1:47 PM Changeset in webkit [11084] by
-
- 3 edits in trunk/WebCore
2005-11-06 Anders Carlsson <andersca@mac.com>
Reviewed by Darin.
- kwq/KWQClipboard.mm: (KWQClipboard::dragNSImage): Get the NSImage from the image renderer.
- kwq/WebCoreImageRenderer.h: Add image method. This already exists in WebImageRenderer in WebKit.
- 12:44 PM Changeset in webkit [11083] by
-
- 1 edit4 adds2 deletes in trunk/LayoutTests
Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5571
REGRESSION (412.5-TOT): duplicated words/sentences at
shakespeer.sourceforge.net
Also renamed previous test for consistency.
- fast/js/regexp-big-unicode-ranges-expected.txt: Removed.
- fast/js/regexp-big-unicode-ranges.html: Removed.
- fast/js/regexp-extended-characters-crash-expected.txt: Added.
- fast/js/regexp-extended-characters-crash.html: Added.
- fast/js/regexp-extended-characters-match-expected.txt: Added.
- fast/js/regexp-extended-characters-match.html: Added.
- 12:41 PM Changeset in webkit [11082] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Darin.
- Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5571 REGRESSION (412.5-TOT): duplicated words/sentences at shakespeer.sourceforge.net
Our UTF16-modified PCRE didn't work with extended character classes
(classes involving characters > 255) because it used the GETCHARINC
macro to read through them. In UTF16 mode, GETCHARINC expects UTF16
input, but PCRE encodes character classes in UTF8 regardless of the
input mode of the subject string.
The fix is to explicitly define GETUTF8CHARINC, and to use it,
rather than GETCHARINC, when reading extended character classes.
In UTF8 mode, we simply define GETCHARINC to be GETUTF8CHARINC.
- pcre/pcre_internal.h:
- pcre/pcre_xclass.c: (_pcre_xclass):
Nov 5, 2005:
- 10:22 PM Changeset in webkit [11081] by
-
- 1 edit2 adds in trunk/LayoutTests
Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5357
REGRESSION: Scriptable plugin hides properties of OBJECT element
- fast/dom/object-plugin-hides-properties.html: Added.
- fast/js/object-plugin-hides-properties-expected.txt: Added.
- 10:20 PM Changeset in webkit [11080] by
-
- 2 edits in trunk/JavaScriptCore
Patch by Mitz Pettel, reviewed by Maciej.
- Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5357 REGRESSION: Scriptable plugin hides properties of OBJECT element
- bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::fallbackObject):
- 9:58 PM Changeset in webkit [11079] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
changelog fixup
- 9:52 PM Changeset in webkit [11078] by
-
- 1 edit2 adds in trunk/LayoutTests
Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5409
slice() testcase doesn't pass
- fast/js/string-slice-abnormal-values.html: Added.
- fast/js/string-slice-abnormal-values-expected.txt: Added.
- 9:48 PM Changeset in webkit [11077] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Darin.
- Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5409 slice() testcase doesn't pass
Modified String.slice to deal with funky values.
Updated test results. We now pass <js1_2/String/slice.js>.
- kjs/string_object.cpp: (StringProtoFuncImp::callAsFunction):
- tests/mozilla/expected.html:
- 9:07 PM Changeset in webkit [11076] by
-
- 2 edits in branches/Ti-2005-009-branch/JavaScriptCore
- Rolled out the pcre changes in my previous checkin because I applied them to the wrong branch.
Reviewed by TimH.
- pcre/pcre.c: (compile_branch):
- 8:09 PM Changeset in webkit [11075] by
-
- 1 edit in branches/Ti-2005-009-branch/JavaScriptCore/ChangeLog
changelog fixup
- 8:05 PM Changeset in webkit [11074] by
-
- 3 edits in branches/Ti-2005-009-branch/JavaScriptCore
Reviewed by NOBODY (OOPS!).
- Fixed <rdar://problem/4323773> REGRESSION (412.2-416.12): xxx appears on page due to JS regexp with char > 255 (5597) (tiddlywiki.com)
Previously, we fixed a buffer overflow by returning an error when
compiling character classes with characters > 255. But that broke
the internet.
Plan B here is to work around such classes, skipping single characters
255, skipping character ranges beginning > 255, and truncating
character ranges at 255.
I removed the early returns we added and the early returns in the
original library. Now, funky expressions compile normally, tweaked
by our special rules.
I also merged the UTF8 and UTF16 checks for out of range characters.
I remember we kept them separate before because we were purist about
marking off our code changes inside UTF16 #ifdefs. Since this patch
applies equally to UTF8 and UTF16, we've already lost that innocence,
so why not have a little fun?
- ChangeLog:
- pcre/pcre.c: (compile_branch):
- tests/mozilla/jsDriver.pl: Oh, by the way, I modified this to look inside of $SYMROOTS/Development. Not perfect, but certainly better than $SYMROOTS/, which is always wrong with XCode 2.1.
Nov 4, 2005:
- 10:49 PM Changeset in webkit [11073] by
-
- 1 edit32 adds in trunk/LayoutTests
- added pixel results for a bunch of tests that didn't have them
- fast/block/basic/021-expected.checksum: Added.
- fast/block/basic/021-expected.png: Added.
- fast/block/positioning/062-expected.checksum: Added.
- fast/block/positioning/062-expected.png: Added.
- fast/box-sizing/box-sizing-expected.checksum: Added.
- fast/box-sizing/box-sizing-expected.png: Added.
- fast/box-sizing/panels-one-expected.checksum: Added.
- fast/box-sizing/panels-one-expected.png: Added.
- fast/box-sizing/panels-two-expected.checksum: Added.
- fast/box-sizing/panels-two-expected.png: Added.
- fast/box-sizing/percentage-height-expected.checksum: Added.
- fast/box-sizing/percentage-height-expected.png: Added.
- fast/css-generated-content/014-expected.checksum: Added.
- fast/css-generated-content/014-expected.png: Added.
- fast/events/event-targets-expected.checksum: Added.
- fast/events/event-targets-expected.png: Added.
- fast/forms/blankbuttons-expected.checksum: Added.
- fast/forms/blankbuttons-expected.png: Added.
- fast/forms/button-positioned-expected.checksum: Added.
- fast/forms/button-positioned-expected.png: Added.
- fast/forms/indeterminate-expected.checksum: Added.
- fast/forms/indeterminate-expected.png: Added.
- fast/frames/calculate-fixed-expected.checksum: Added.
- fast/frames/calculate-fixed-expected.png: Added.
- fast/frames/calculate-order-expected.checksum: Added.
- fast/frames/calculate-order-expected.png: Added.
- fast/frames/calculate-percentage-expected.checksum: Added.
- fast/frames/calculate-percentage-expected.png: Added.
- fast/frames/calculate-relative-expected.checksum: Added.
- fast/frames/calculate-relative-expected.png: Added.
- fast/frames/calculate-round-expected.checksum: Added.
- fast/frames/calculate-round-expected.png: Added.
- 4:20 PM Changeset in webkit [11072] by
-
- 1 edit in trunk/WebCore/khtml/rendering/render_block.cpp
Fix build bustage.
- 4:13 PM Changeset in webkit [11071]
-
- 82 copies5 deletes in tags/JavaScriptCore-416~14
This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-416~14'.
- 4:13 PM Changeset in webkit [11070] by
-
- 2 edits in branches/Ti-2005-009-branch/JavaScriptCore
Versioning to JavaScriptCore-416.14
- 4:05 PM Changeset in webkit [11069]
-
- 8 copies3 deletes in tags/JavaScriptCore-312~1~1
This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-312~1~1'.
- 4:05 PM Changeset in webkit [11068] by
-
- 2 edits in branches/Safari-1-3-branch/JavaScriptCore
Versioning JavaScriptCore-312.1.1
- 4:02 PM Changeset in webkit [11067] by
-
- 2 edits in branches/Safari-1-3-branch/JavaScriptCore
Merging fix from Ti-2005-009-branch to Safari-1-3-branch
2005-11-04 Geoffrey Garen <ggaren@apple.com>
Reviewed by darin.
- Fixed <rdar://problem/4317701> *SecUpd: Tiger* PCRE heap overflow in Safari JavaScriptCore
- pcre/pcre.c: (read_repeat_counts): We now return an error for negative repeat counts in regular expressions. This matches Firefox exactly, and Win IE by effect (Win IE doesn't return an error, but it does refuse to match anything).
- 3:26 PM Changeset in webkit [11066] by
-
- 2 edits in branches/Ti-2005-009-branch/JavaScriptCore
Reviewed by darin.
- Fixed <rdar://problem/4317701> *SecUpd: Tiger* PCRE heap overflow in Safari JavaScriptCore
- pcre/pcre.c: (read_repeat_counts): We now return an error for negative repeat counts in regular expressions. This matches Firefox exactly, and Win IE by effect (Win IE doesn't return an error, but it does refuse to match anything).
- 1:13 PM Changeset in webkit [11065] by
-
- 2 edits in trunk/WebCore
Fix for bug 5626, ghosted float steals mouse events. Make sure
that the floatRect() method deals with overflow.
Reviewed by john
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::paint): (khtml::RenderBlock::floatRect): (khtml::RenderBlock::nodeAtPoint):
- 1:02 PM Changeset in webkit [11064] by
-
- 2 edits1 add in trunk/WebCore
Reviewed by John Sullivan.
Test case added:
- manual-tests/whitespace-pre-affinity.html
This patch addresses the root cause of the problem by making
RenderText::inlineBox() cope with the fact that in white-space:pre text the
newline characters are not part of any InlineTextBox... they lie "between"
them. Now DOWNSTREAM affinity selects the next text box only if the offset
that is past the current box is actually _in_ the next box.
- khtml/rendering/render_text.cpp: (RenderText::inlineBox):
- 12:40 PM Changeset in webkit [11063] by
-
- 1 edit7 deletes in trunk/WebCore
- removed unused duplicate copy of hash table code
- khtml/misc/hashfunctions.h: Removed.
- khtml/misc/hashmap.h: Removed.
- khtml/misc/hashset.h: Removed.
- khtml/misc/hashtable.cpp: Removed.
- khtml/misc/hashtable.h: Removed.
- khtml/misc/hashtraits.h: Removed.
- khtml/misc/pointerhash.h: Removed.
- 12:12 PM Changeset in webkit [11062]
-
- 22 copies3 deletes in tags/WebKit-312~5~2
This commit was manufactured by cvs2svn to create tag
'WebKit-312~5~2'.
- 12:12 PM Changeset in webkit [11061]
-
- 70 copies3 deletes in tags/WebCore-315~10~1
This commit was manufactured by cvs2svn to create tag
'WebCore-315~10~1'.
- 12:12 PM Changeset in webkit [11060] by
-
- 4 edits in branches/Safari-1-3-branch
Versioning to WebKit-312.5.2 and WebCore-315.10.1
- 12:04 PM Changeset in webkit [11059]
-
- 53 copies22 deletes in tags/WebKit-416~12
This commit was manufactured by cvs2svn to create tag
'WebKit-416~12'.
- 12:04 PM Changeset in webkit [11058]
-
- 210 copies15 deletes in tags/WebCore-416~14
This commit was manufactured by cvs2svn to create tag
'WebCore-416~14'.
- 12:04 PM Changeset in webkit [11057] by
-
- 4 edits in branches/Ti-2005-009-branch
Versioning to WebCore-416.14 and WebKit-416.12
- 9:45 AM Changeset in webkit [11056]
-
- 10 copies7 deletes in tags/Safari-521
This commit was manufactured by cvs2svn to create tag 'Safari-521'.
- 9:45 AM Changeset in webkit [11055] by
-
- 1 edit in branches/Safari-Leo-branch/JavaScriptCore/Info.plist
Versioning to 521.1
- 9:30 AM Changeset in webkit [11054] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Tim Hatcher.
- kxmlcore/HashSet.h: Fixed case of "hashfunctions.h" -- needs to be "HashFunctions.h".
- 9:02 AM Changeset in webkit [12211] by
-
- 2 edits in trunk/JavaScriptGlue
Reviewed by Darin.
- JavaScriptGlue.xcodeproj/project.pbxproj: Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit Frameworks for the Default config.
- 12:07 AM Changeset in webkit [11053] by
-
- 4 edits in branches/Safari-1-3-branch/WebKit
Merged fix from TOT to Safari-1-3-branch
2005-10-07 John Sullivan <sullivan@apple.com>
Reviewed by Tim Omernick.
WebKit support for allowing clients to know which frame originated a particular JavaScript alert/dialog.
- WebView.subproj/WebUIDelegatePrivate.h: New optional delegate methods for the three JavaScript alert/dialogs. These are just like the existing ones in WebUIDelegate.h except that each adds a parameter specifying the frame that the JavaScript was running in. Eventually we'll deprecate the old three methods in favor of these in the public API.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge runJavaScriptAlertPanelWithMessage:]): Call version of the delegate method that has the frame parameter if the delegate supports it. (-[WebBridge runJavaScriptConfirmPanelWithMessage:]): ditto (-[WebBridge runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]): ditto
- WebView.subproj/WebDefaultUIDelegate.m: (-[WebDefaultUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. Doesn't actually use the frame parameter here yet though.
Nov 3, 2005:
- 11:47 PM Changeset in webkit [11052] by
-
- 4 edits in branches/Ti-2005-009-branch/WebKit
Merged fix from TOT to Ti-2005-009-branch
2005-10-07 John Sullivan <sullivan@apple.com>
Reviewed by Tim Omernick.
WebKit support for allowing clients to know which frame originated a particular JavaScript alert/dialog.
- WebView.subproj/WebUIDelegatePrivate.h: New optional delegate methods for the three JavaScript alert/dialogs. These are just like the existing ones in WebUIDelegate.h except that each adds a parameter specifying the frame that the JavaScript was running in. Eventually we'll deprecate the old three methods in favor of these in the public API.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge runJavaScriptAlertPanelWithMessage:]): Call version of the delegate method that has the frame parameter if the delegate supports it. (-[WebBridge runJavaScriptConfirmPanelWithMessage:]): ditto (-[WebBridge runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]): ditto
- WebView.subproj/WebDefaultUIDelegate.m: (-[WebDefaultUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. Doesn't actually use the frame parameter here yet though.
- 10:05 PM Changeset in webkit [11051] by
-
- 1 edit1 add in branches/Safari-1-3-branch/WebCore
Merged fix from TOT to Safari-1-3-branch
2005-10-06 Beth Dakin <Beth Dakin>
Reviewed by Vicki.
Fix for <rdar://problem/4145535> Crash in khtml::RenderBlock::addOverhangingFloats
with simple HTML test file.
- khtml/rendering/render_block.cpp: Added nil check (khtml::RenderBlock::addOverhangingFloats):
- 9:59 PM Changeset in webkit [11050] by
-
- 2 edits in branches/Ti-2005-009-branch/WebCore
Merged fix from TOT to Ti-2005-009-branch
2005-10-06 Beth Dakin <Beth Dakin>
Reviewed by Vicki.
Fix for <rdar://problem/4145535> Crash in khtml::RenderBlock::addOverhangingFloats
with simple HTML test file.
- khtml/rendering/render_block.cpp: Added nil check (khtml::RenderBlock::addOverhangingFloats):
- 9:58 PM Changeset in webkit [11049] by
-
- in /
file ChangeLog was added on branch Safari-1-3-branch on 2005-11-04 06:04:56 +0000
- 9:58 PM Changeset in webkit [11048] by
-
- 2 edits in trunk/WebCore
Bugzilla 5604: plainText (visible_text.cpp) performance improvement
Reviewed by justin and darin
Optimized plainText for a ~100% speedup in most cases.
No test cases added, change only effects performance.
- khtml/editing/visible_text.cpp: (khtml::TextIterator::rangeLength): Removed an extraneous comment. (khtml::plainText): The length of the string to be created was pre-calculated to avoid the expense of many QString::append() calls. Removed this since TextIterator::advance() is much more expensive than append.
- 6:33 PM Changeset in webkit [11047] by
-
- 1 edit in trunk/JavaScriptCore/ChangeLog
changelog fixup in response to email from Darin
- 5:38 PM Changeset in webkit [11046] by
-
- 6 edits in trunk
Reviewed by Darin and Vicki.
- JavaScriptCore.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebCore:
Reviewed by Darin and Vicki.
- WebCore.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebKit:
Reviewed by Darin and Vicki.
- WebKit.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
- 5:36 PM Changeset in webkit [12210] by
-
- 2 edits in trunk/JavaScriptGlue
Tools:
Reviewed by Darin and Vicki.
- Scripts/build-root: now builds in a sandbox and wont replace your system WebKit or Safari will now also build JavaScriptGlue and WebKitSystemInterface
JavaScriptGlue:
Reviewed by Darin and Vicki.
- JavaScriptGlue.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebBrowser:
Reviewed by Darin and Vicki.
- WebBrowser.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebKitSystemInterface:
Reviewed by Darin and Vicki.
- WebKitSystemInterface.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
- 4:28 PM Changeset in webkit [11045]
-
- 18 copies in branches/kdom-dom-merger/WebCore
This commit was manufactured by cvs2svn to create branch
'kdom-dom-merger'.
- 4:28 PM Changeset in webkit [11044] by
-
- 4 edits8 deletes in /
Submitted by: eseidel
Reviewed by: none, SVG merger branch only.
- 3:53 PM Changeset in webkit [11043] by
-
- 2 edits in trunk/WebCore
Cleanup of bidi.cpp. This is bug 5532. I merged it nearly as is, although I
did one additional rename of my own (BidiIterator's "par" -> "block") and
I did not merge the * changes, since that particular style guideline is
"in dispute." :)
Reviewed by darin
- khtml/rendering/bidi.cpp: (khtml::BidiIterator::BidiIterator): (khtml::BidiIterator::pos): (khtml::BidiState::BidiState): (khtml::getBPMWidth): (khtml::BidiContext::BidiContext): (khtml::BidiContext::~BidiContext): (khtml::BidiContext::deref): (khtml::operator==): (khtml::operator!=): (khtml::bidiNext): (khtml::bidiFirst): (khtml::BidiIterator::increment): (khtml::BidiIterator::atEnd): (khtml::BidiIterator::current): (khtml::chopMidpointsAt): (khtml::checkMidpoints): (khtml::appendRunsForObject): (khtml::appendRun): (khtml::embed): (khtml::RenderBlock::constructLine): (khtml::RenderBlock::tabWidth): (khtml::RenderBlock::computeHorizontalPositionsForLine): (khtml::RenderBlock::bidiReorderLine): (khtml::buildCompactRuns): (khtml::RenderBlock::layoutInlineChildren): (khtml::RenderBlock::determineStartPosition): (khtml::RenderBlock::skipWhitespace): (khtml::RenderBlock::findNextLineBreak):
- 1:05 PM Changeset in webkit [11042] by
-
- 3 edits in trunk/WebCore
Make pre-wrap collapse away spaces at the start of a line. There are
still several bugs, namely with overflow and with selection. This is bugzilla
bug 5593.
Reviewed by adele
fast/text/whitespace/pre-wrap.html
- khtml/rendering/bidi.cpp: (khtml::skipNonBreakingSpace): (khtml::shouldCollapseWhiteSpace): (khtml::RenderBlock::skipWhitespace):
- khtml/rendering/render_block.h:
- 12:04 PM Changeset in webkit [11041] by
-
- 3 edits in branches/Safari-Leo-branch
Versioning to 521.
- 12:00 PM Changeset in webkit [11040] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin.
- khtml/rendering/render_layer.cpp: (khtml::): Made global ScrollAlignment members const (khtml::RenderLayer::scrollRectToVisible): Changed ScrollAlignment parameters to const ScrollAlignment& (khtml::RenderLayer::getRectToExpose): ditto.
- khtml/rendering/render_layer.h: (khtml::RenderLayer::): removed typedefs (khtml::RenderLayer::getVisibleBehavior): Made this static. (khtml::RenderLayer::getPartialBehavior): ditto. (khtml::RenderLayer::getHiddenBehavior): ditto.
- 11:31 AM Changeset in webkit [11039] by
-
- 2 edits in trunk/JavaScriptCore
- Updated JavaScriptCore test results to reflect recent fixes.
- tests/mozilla/expected.html:
- 11:12 AM Changeset in webkit [11038] by
-
- 11 edits5 adds in trunk
LayoutTests:
Test for...
<rdar://problem/3612121> setting focus, by tabbing, searching, or with JavaScript does not scroll overflow:auto/scroll/overlay to reveal focused element (3480)
- fast/overflow/resources/scrollButton1.html: Added.
- fast/overflow/scrollRevealButton-expected.checksum: Added.
- fast/overflow/scrollRevealButton-expected.png: Added.
- fast/overflow/scrollRevealButton-expected.txt: Added.
- fast/overflow/scrollRevealButton.html: Added.
WebCore:
Reviewed by Hyatt.
Clean up of layer scrolling code. Now we can clearly define what to do if a rectangle is fully visible, partially visible, or hidden.
This also fixes a bug with the previous implementation where nested layers/frames would get passed a rect that was too large.
Added fast/overflow/scrollRevealButton.html
- khtml/rendering/render_layer.h: (khtml::RenderLayer::): Added ScrollBehavior enum, ScrollAlignment struct, and ScrollAlignment static members to describe specific scrolling behaviors depending on how visible the rectangle is. In the future, we can add other statics to easily describe desired behaviors.
- khtml/rendering/render_layer.cpp: (khtml::): initialize ScrollAlignment static members: alignCenterIfNeeded, alignToEdgeIfNeeded, alignCenterAlways, alignTopAlways, alignBottomAlways (khtml::RenderLayer::scrollRectToVisible): alignCenterIfNeeded is the default behavior for both directions. Pass the original rect (adjusted if scrolling has occurred) when recursively calling this function. (khtml::RenderLayer::getRectToExpose): Adjusted for new ScrollAlignment parameters.
- khtml/khtml_part.cpp: (KHTMLPart::gotoAnchor): Use the node's rect to determine where to scroll. We used to just use the origin, but this helps us match other browsers better. (KHTMLPart::setActiveNode): Removed scrolling code, since this is now also done in setFocusNode
- khtml/xml/dom_elementimpl.cpp: (ElementImpl::scrollIntoView): Use new ScrollAlignment values to describe scrolling behavior.
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Removed scrolling code, since this is now also done in setFocusNode (KWQKHTMLPart::centerSelectionInVisibleArea): Use new ScrollAlignment values to describe scrolling behavior.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge ensureSelectionVisible]): ditto.
- kwq/KWQScrollView.h: Removed ensureRectVisible, since we no longer use this.
- kwq/KWQScrollView.mm: ditto.
- khtml/khtmlview.cpp: (KHTMLView::doAutoScroll): Removed unnecessary nil checks for enclosingLayer (KHTMLView::focusNextPrevNode): ditto.
- 10:47 AM Changeset in webkit [11037] by
-
- 3 edits in trunk/WebKitTools
Reviewed by Darin.
- Scripts/run-safari: changed message to say "Starting Safari" instead of odd "Start Safari"
- Scripts/run-webkit-tests: changed the way we pass the file parameter to use -NSOpen rather than relying on unlabeled arguments being treated as files. This was failing on some machines that (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
- 10:16 AM Changeset in webkit [11036] by
-
- 2 edits6 adds in trunk/LayoutTests
Other files that should have been included with my previous commit.
- editing/editing.js:
- editing/inserting/insert-br-quoted-001-expected.checksum: Added.
- editing/inserting/insert-br-quoted-002-expected.checksum: Added.
- editing/inserting/insert-br-quoted-003-expected.checksum: Added.
- editing/inserting/insert-br-quoted-004-expected.checksum: Added.
- editing/inserting/insert-br-quoted-005-expected.checksum: Added.
- editing/inserting/insert-br-quoted-006-expected.checksum: Added.
- 10:13 AM Changeset in webkit [11035] by
-
- 1 edit2 adds in trunk/LayoutTests
Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5602
REGRESSION: RegExp("[
s$]+", "g") returns extra matches
- fast/js/regexp-lastindex.html: Added.
- fast/js/regexp-lastindex-expected.txt: Added.
- 10:11 AM Changeset in webkit [11034] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by darin.
- Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5602
REGRESSION: RegExp("[
s$]+", "g") returns extra matches
We now update lastIndex relative to the start of the last match,
rather than the start of the last search. We used to assume that
the two were equal, but that may not be the case in $ matches.
- kjs/regexp_object.cpp: (RegExpProtoFuncImp::callAsFunction):
- 2:28 AM Changeset in webkit [11033] by
-
- 187 edits70 adds46 deletes in /
Bug #: 3249
Submitted by: eseidel
Reviewed by: none, intermediate branch only.
first steps in KDOM -> DOM merger.
Integration issues:
- Headers (temporarily every kdom header maps to all webcore headers)
- Namespace mapping (KDOM -> DOM, khtml)
- Various KDOM stub classes (temporary)
- Various DOMStringImpl -> DOMString changes
- DOMString::string() -> DOMString::qstring()
- DOMString::handle() -> DOMString::impl()
- DocumentImpl, DocumentType ::impl() -> ::implentation()
- Moving NodeImpl::Id to QualifiedString/AtomicString
- SVGNames.*, SVGElementFactory.* (and perl script to generate them)
- EventImpl::id() -> type() with AtomicString, removal of SVGEventImpl
- Adding svg document and event creation in xml_docimpl.h
- Cleanup event dispatch, in SVGDocumentImpl, using SharedPtr
- exceptioncode additions, for appendNode, createEvent, dispatchEvent, etc.
- Mapped KSVGPart, KDOMPart, KSVGView, KDOMView to KHTMLPart, KHTMLView
- Removed all throw calls, replacing with exceptioncode parameters
- SVGElement derives from StyledElementImpl for now.
- Removed CDFInterface (for now)
Outstanding:
- DocumentBuilder vs. Tokenizer
- Merger of the Ecma systems
- CSS Parsing systems
- Event dispatch/Listening issues
- Merge KSVGView properties into KHTMLView
- requestDocument & CachedDocument vs. requestFrame and CachedObject...
- 2:28 AM Changeset in webkit [11032]
-
- 1 copy11 deletes in branches/kdom-dom-merger
This commit was manufactured by cvs2svn to create branch
'kdom-dom-merger'.
Nov 2, 2005:
- 6:21 PM Changeset in webkit [11031] by
-
- 1 edit18 adds in trunk/LayoutTests
Reviewed by Justin.
Tests for...
<rdar://problem/4017861> in reply, extra line is inserted after pressing return on blank quoted line
- editing/editing.js:
- editing/inserting/insert-br-quoted-001-expected.png: Added.
- editing/inserting/insert-br-quoted-001-expected.txt: Added.
- editing/inserting/insert-br-quoted-001.html: Added.
- editing/inserting/insert-br-quoted-002-expected.png: Added.
- editing/inserting/insert-br-quoted-002-expected.txt: Added.
- editing/inserting/insert-br-quoted-002.html: Added.
- editing/inserting/insert-br-quoted-003-expected.png: Added.
- editing/inserting/insert-br-quoted-003-expected.txt: Added.
- editing/inserting/insert-br-quoted-003.html: Added.
- editing/inserting/insert-br-quoted-004-expected.png: Added.
- editing/inserting/insert-br-quoted-004-expected.txt: Added.
- editing/inserting/insert-br-quoted-004.html: Added.
- editing/inserting/insert-br-quoted-005-expected.png: Added.
- editing/inserting/insert-br-quoted-005-expected.txt: Added.
- editing/inserting/insert-br-quoted-005.html: Added.
- editing/inserting/insert-br-quoted-006-expected.png: Added.
- editing/inserting/insert-br-quoted-006-expected.txt: Added.
- editing/inserting/insert-br-quoted-006.html: Added.
- 6:20 PM Changeset in webkit [11030] by
-
- 4 edits in trunk/WebCore
Reviewed by Justin.
Tests added in editing/inserting.
<rdar://problem/4017861> in reply, extra line is inserted after pressing return on blank quoted line
Also, did some minor cleanup.
- khtml/editing/break_blockquote_command.cpp: (khtml::BreakBlockquoteCommand::BreakBlockquoteCommand): (khtml::BreakBlockquoteCommand::doApply): Make sure not to clone parent of skipped BR unless there are siblings to move over.
- khtml/editing/break_blockquote_command.h:
- khtml/editing/jsediting.cpp:
- 10:54 AM Changeset in webkit [11029] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
- fix <rdar://problem/4303587> REGRESSION (TOT): Scrollwheel doesn't work on frameset pages (5450)
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::wheelEvent): set _currentEvent to the wheel event (KWQKHTMLPart::passWheelEventToChildWidget): New. Pass the event to the child widget, if we haven't already handled the event
- khtml/khtmlview.cpp: (KHTMLView::viewportWheelEvent): add passWheelEventToChildWidget check, and accept the event if we're passing to the child widget
- 12:52 AM Changeset in webkit [11028] by
-
- 24 edits in trunk/WebCore
Fix for 5587, implement pre-wrap and pre-line white-space values.
Reviewed by mjs
Tests Added in fast/text/whitespace
- khtml/css/css_computedstyle.cpp: (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
- khtml/css/cssparser.cpp: (CSSParser::parseValue):
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::applyProperty):
- khtml/css/cssvalues.in:
- khtml/css/html4.css:
- khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::preGetter): (KJS::HTMLElement::preSetter):
- khtml/ecma/kjs_html.h: (KJS::HTMLElement::):
- khtml/editing/visible_text.cpp: (khtml::TextIterator::handleTextNode):
- khtml/editing/visible_units.cpp: (khtml::startOfParagraph): (khtml::endOfParagraph):
- khtml/html/html_blockimpl.cpp: (HTMLPreElementImpl::mapToEntry): (HTMLPreElementImpl::parseMappedAttribute): (HTMLPreElementImpl::wrap): (HTMLPreElementImpl::setWrap):
- khtml/html/html_blockimpl.h:
- khtml/rendering/bidi.cpp: (khtml::checkMidpoints): (khtml::RenderBlock::computeHorizontalPositionsForLine): (khtml::RenderBlock::layoutInlineChildren): (khtml::RenderBlock::skipNonBreakingSpace): (khtml::RenderBlock::skipWhitespace): (khtml::RenderBlock::findNextLineBreak):
- khtml/rendering/render_block.cpp: (khtml:::RenderFlow): (khtml::RenderBlock::setStyle): (khtml::RenderBlock::calcMinMaxWidth): (khtml::stripTrailingSpace): (khtml::RenderBlock::calcInlineMinMaxWidth): (khtml::RenderBlock::dump):
- khtml/rendering/render_block.h:
- khtml/rendering/render_layer.h: (khtml::):
- khtml/rendering/render_line.cpp: (khtml::shouldDrawDecoration):
- khtml/rendering/render_object.cpp: (RenderObject::tabWidth):
- khtml/rendering/render_style.h: (khtml::): (khtml::RenderStyle::autoWrap): (khtml::RenderStyle::preserveNewline): (khtml::RenderStyle::collapseWhiteSpace): (khtml::RenderStyle::isCollapsibleWhiteSpace): (khtml::RenderStyle::breakOnlyAfterWhiteSpace):
- khtml/rendering/render_table.cpp: (RenderTableCell::calcMinMaxWidth):
- khtml/rendering/render_text.cpp: (RenderText::caretRect): (RenderText::trimmedMinMaxWidth): (RenderText::calcMinMaxWidth): (RenderText::width):
- khtml/xml/dom_elementimpl.h: (DOM::):
- khtml/xml/dom_textimpl.cpp: (TextImpl::rendererIsNeeded):
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::attributedString):