1. 30 Dec, 2005 1 commit
  2. 29 Dec, 2005 5 commits
  3. 28 Dec, 2005 3 commits
  4. 27 Dec, 2005 7 commits
    • mjs's avatar
      Rubber stamped by Eric. · 5ddfbd0d
      mjs authored
      	- proper length for Array concat function is 1, not 0; also add test
      	for String concat.
      
              * fast/js/kde/function_length-expected.txt:
              * fast/js/kde/resources/function_length.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ddfbd0d
    • andersca's avatar
      2005-12-27 Anders Carlsson <andersca@mac.com> · e1819a2b
      andersca authored
              Reviewed by Darin.
      
              - Update tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6250
              Implement Array.map and Array.filter
      
              * fast/js/array-every-expected.txt:
              * fast/js/array-every.html:
              * fast/js/array-foreach-expected.txt:
              * fast/js/array-foreach.html:
              Modify these tests since Array.every and Array.foreach now follow Mozilla
              and treat arrays as sparse, not visiting non-existing properties.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1819a2b
    • darin's avatar
      LayoutTests: · 7d7b57e4
      darin authored
              Reviewed by Maciej, landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4844
              Render "simple" Hebrew using the CG codepath
      
              * fast/text/international/bidi-AN-after-L-expected.checksum: Updated.
              * fast/text/international/bidi-AN-after-L-expected.png: Updated.
              * fast/text/international/bidi-L2-run-reordering-expected.checksum: Updated.
              * fast/text/international/bidi-L2-run-reordering-expected.png: Updated.
              * fast/text/international/bidi-LDB-2-CSS-expected.checksum: Updated.
              * fast/text/international/bidi-LDB-2-CSS-expected.png: Updated.
              * fast/text/international/bidi-LDB-2-HTML-expected.checksum: Updated.
              * fast/text/international/bidi-LDB-2-HTML-expected.png: Updated.
              * fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Updated.
              * fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Updated.
              * fast/text/international/bidi-e...
      7d7b57e4
    • darin's avatar
      LayoutTests: · 73178835
      darin authored
              Reviewed by Maciej, landed by Darin.
      
              - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=4101>
              CSS Fibonacci spiral using 4 images doesn't render correctly
      
              * fast/replaced/absolute-image-sizing-expected.checksum: Added.
              * fast/replaced/absolute-image-sizing-expected.png: Added.
              * fast/replaced/absolute-image-sizing-expected.txt: Added.
              * fast/replaced/absolute-image-sizing.html: Added.
      
      WebCore:
      
              Reviewed by Maciej, landed by Darin.
      
              - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=4101>
              CSS Fibonacci spiral using 4 images doesn't render correctly
      
              Added layout tests:
              * fast/replaced/absolute-image-sizing.html
      
              * khtml/rendering/render_box.cpp:
              (RenderBox::calcAbsoluteHorizontalValues): Use calcReplacedWidth() instead of intrinsicWidth()
              for replaced elements.
              (RenderBox::calcAbsoluteVerticalValues): Same thing for height.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73178835
    • mjs's avatar
      No review, just a test harness change. · 3a9bfcc5
      mjs authored
      	- avoid bombing out if a shouldBe test case unexpectedly throws an exception
      
              * fast/js/kde/resources/base.js:
      
      	- this lets some of the tests get a bit further, so new results:
      
              * fast/js/kde/Number-expected.txt:
              * fast/js/kde/RegExp-expected.txt:
              * fast/js/kde/exception_propagation-expected.txt:
              * fast/js/kde/parse-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a9bfcc5
    • mjs's avatar
      LayoutTests: · 9c780ce0
      mjs authored
              Reviewed, tweaked and landed by Maciej.
      
      	- test case for 4405: <button> not listed in form collections.
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=4405
      
              * fast/forms/button-in-forms-collection-expected.txt: Added.
              * fast/forms/button-in-forms-collection.html: Added.
      
      WebCore:
      
              Reviewed and landed by Maciej.
      
      	- fixed 4405: <button> not listed in form collections.
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=4405
      
      	Test: fast/forms/button-in-forms-collection.html
      
              * khtml/html/html_formimpl.h:
              (DOM::HTMLButtonElementImpl::isEnumeratable): override to return true
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c780ce0
    • mjs's avatar
      JavaScriptCore: · b90ab5d8
      mjs authored
              Reviewed and landed by Maciej.
      
      	- fixed 6234: Can delete array index property incorrectly.
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=6234
      
              * kjs/array_object.cpp:
              (ArrayInstance::deleteProperty): use toArrayIndex instead of toUInt32 when
      	looking for array properties.
      
      LayoutTests:
      
              Reviewed, tweaked and landed by Maciej.
      
      	- test case for 6234: Can delete array index property incorrectly.
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=6234
      
              * fast/js/array-float-delete.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b90ab5d8
  5. 26 Dec, 2005 1 commit
    • mjs's avatar
      Rubber stamped by Geoff. · 5ac621e8
      mjs authored
      	- land JavaScript tests from the kde version of kjs
      
              * fast/js/kde/Array-expected.txt: Added.
              * fast/js/kde/Array.html: Added.
              * fast/js/kde/Boolean-expected.txt: Added.
              * fast/js/kde/Boolean.html: Added.
              * fast/js/kde/Date-expected.txt: Added.
              * fast/js/kde/Date.html: Added.
              * fast/js/kde/Error-expected.txt: Added.
              * fast/js/kde/Error.html: Added.
              * fast/js/kde/GlobalObject-expected.txt: Added.
              * fast/js/kde/GlobalObject.html: Added.
              * fast/js/kde/Number-expected.txt: Added.
              * fast/js/kde/Number.html: Added.
              * fast/js/kde/Object-expected.txt: Added.
              * fast/js/kde/Object.html: Added.
              * fast/js/kde/Prototype-expected.txt: Added.
              * fast/js/kde/Prototype.html: Added.
              * fast/js/kde/RegExp-expected.txt: Added.
              * fast/js/kde/RegExp.html: Added.
              * fast/js/kde/StringObject-expected.txt: Added.
              * fast/js/kde/StringObject.html: Added.
              * fast/js/kde/assignments-expected.txt: Added.
              * fast/js/kde/assignments.html: Added.
              * fast/js/kde/cast-expected.txt: Added.
              * fast/js/kde/cast.html: Added.
              * fast/js/kde/comment-1-expected.txt: Added.
              * fast/js/kde/comment-1.html: Added.
              * fast/js/kde/comment-2-expected.txt: Added.
              * fast/js/kde/comment-2.html: Added.
              * fast/js/kde/completion-expected.txt: Added.
              * fast/js/kde/completion.html: Added.
              * fast/js/kde/conditional-expected.txt: Added.
              * fast/js/kde/conditional.html: Added.
              * fast/js/kde/const-expected.txt: Added.
              * fast/js/kde/const.html: Added.
              * fast/js/kde/constructor_length-expected.txt: Added.
              * fast/js/kde/constructor_length.html: Added.
              * fast/js/kde/crash-1-expected.txt: Added.
              * fast/js/kde/crash-1.html: Added.
              * fast/js/kde/crash-2-expected.txt: Added.
              * fast/js/kde/crash-2.html: Added.
              * fast/js/kde/delete-expected.txt: Added.
              * fast/js/kde/delete.html: Added.
              * fast/js/kde/empty-expected.txt: Added.
              * fast/js/kde/empty.html: Added.
              * fast/js/kde/encode_decode_uri-expected.txt: Added.
              * fast/js/kde/encode_decode_uri.html: Added.
              * fast/js/kde/eval-expected.txt: Added.
              * fast/js/kde/eval.html: Added.
              * fast/js/kde/evil-n-expected.txt: Added.
              * fast/js/kde/evil-n.html: Added.
              * fast/js/kde/exception_propagation-expected.txt: Added.
              * fast/js/kde/exception_propagation.html: Added.
              * fast/js/kde/exceptions-expected.txt: Added.
              * fast/js/kde/exceptions.html: Added.
              * fast/js/kde/function-expected.txt: Added.
              * fast/js/kde/function.html: Added.
              * fast/js/kde/function_arguments-expected.txt: Added.
              * fast/js/kde/function_arguments.html: Added.
              * fast/js/kde/function_constructor-expected.txt: Added.
              * fast/js/kde/function_constructor.html: Added.
              * fast/js/kde/function_length-expected.txt: Added.
              * fast/js/kde/function_length.html: Added.
              * fast/js/kde/garbage-n-expected.txt: Added.
              * fast/js/kde/garbage-n.html: Added.
              * fast/js/kde/inbuilt_function_proto-expected.txt: Added.
              * fast/js/kde/inbuilt_function_proto.html: Added.
              * fast/js/kde/inbuilt_function_tostring-expected.txt: Added.
              * fast/js/kde/inbuilt_function_tostring.html: Added.
              * fast/js/kde/iteration-expected.txt: Added.
              * fast/js/kde/iteration.html: Added.
              * fast/js/kde/j-comment-3-expected.txt: Added.
              * fast/js/kde/j-comment-3.html: Added.
              * fast/js/kde/j-comment-4-expected.txt: Added.
              * fast/js/kde/j-comment-4.html: Added.
              * fast/js/kde/literals-expected.txt: Added.
              * fast/js/kde/literals.html: Added.
              * fast/js/kde/math-expected.txt: Added.
              * fast/js/kde/math.html: Added.
              * fast/js/kde/md5-1-expected.txt: Added.
              * fast/js/kde/md5-1.html: Added.
              * fast/js/kde/md5-2-expected.txt: Added.
              * fast/js/kde/md5-2.html: Added.
              * fast/js/kde/object_prototype-expected.txt: Added.
              * fast/js/kde/object_prototype.html: Added.
              * fast/js/kde/object_prototype_tostring-expected.txt: Added.
              * fast/js/kde/object_prototype_tostring.html: Added.
              * fast/js/kde/operators-expected.txt: Added.
              * fast/js/kde/operators.html: Added.
              * fast/js/kde/parse-expected.txt: Added.
              * fast/js/kde/parse.html: Added.
              * fast/js/kde/prototype_length-expected.txt: Added.
              * fast/js/kde/prototype_length.html: Added.
              * fast/js/kde/prototype_proto-expected.txt: Added.
              * fast/js/kde/prototype_proto.html: Added.
              * fast/js/kde/resources/Array.js: Added.
              * fast/js/kde/resources/Boolean.js: Added.
              * fast/js/kde/resources/Date.js: Added.
              * fast/js/kde/resources/Error.js: Added.
              * fast/js/kde/resources/GlobalObject.js: Added.
              * fast/js/kde/resources/KNOWN_FAILURES: Added.
              * fast/js/kde/resources/Number.js: Added.
              * fast/js/kde/resources/Object.js: Added.
              * fast/js/kde/resources/Prototype.js: Added.
              * fast/js/kde/resources/README: Added.
              * fast/js/kde/resources/RegExp.js: Added.
              * fast/js/kde/resources/StringObject.js: Added.
              * fast/js/kde/resources/assignments.js: Added.
              * fast/js/kde/resources/base.js: Added.
              * fast/js/kde/resources/cast.js: Added.
              * fast/js/kde/resources/comment-1.js: Added.
              * fast/js/kde/resources/comment-2.js: Added.
              * fast/js/kde/resources/completion.js: Added.
              * fast/js/kde/resources/conditional.js: Added.
              * fast/js/kde/resources/const.js: Added.
              * fast/js/kde/resources/constructor_length.js: Added.
              * fast/js/kde/resources/crash-1.js: Added.
              * fast/js/kde/resources/crash-2.js: Added.
              * fast/js/kde/resources/delete.js: Added.
              * fast/js/kde/resources/empty.js: Added.
              * fast/js/kde/resources/encode_decode_uri.js: Added.
              * fast/js/kde/resources/eval.js: Added.
              * fast/js/kde/resources/evil-n.js: Added.
              * fast/js/kde/resources/exception_propagation.js: Added.
              * fast/js/kde/resources/exceptions.js: Added.
              * fast/js/kde/resources/function.js: Added.
              * fast/js/kde/resources/function_arguments.js: Added.
              * fast/js/kde/resources/function_constructor.js: Added.
              * fast/js/kde/resources/function_length.js: Added.
              * fast/js/kde/resources/garbage-n.js: Added.
              * fast/js/kde/resources/inbuilt_function_proto.js: Added.
              * fast/js/kde/resources/inbuilt_function_tostring.js: Added.
              * fast/js/kde/resources/iteration.js: Added.
              * fast/js/kde/resources/j-comment-3.js: Added.
              * fast/js/kde/resources/j-comment-4.js: Added.
              * fast/js/kde/resources/literals.js: Added.
              * fast/js/kde/resources/math.js: Added.
              * fast/js/kde/resources/md5-1.js: Added.
              * fast/js/kde/resources/md5-2.js: Added.
              * fast/js/kde/resources/object_prototype.js: Added.
              * fast/js/kde/resources/object_prototype_tostring.js: Added.
              * fast/js/kde/resources/operators.js: Added.
              * fast/js/kde/resources/parse.js: Added.
              * fast/js/kde/resources/prototype_length.js: Added.
              * fast/js/kde/resources/prototype_proto.js: Added.
              * fast/js/kde/resources/scope.js: Added.
              * fast/js/kde/resources/shell.js: Added.
              * fast/js/kde/resources/statements.js: Added.
              * fast/js/kde/resources/string-1-n.js: Added.
              * fast/js/kde/resources/string-2-n.js: Added.
              * fast/js/kde/resources/var_decl_init.js: Added.
              * fast/js/kde/scope-expected.txt: Added.
              * fast/js/kde/scope.html: Added.
              * fast/js/kde/statements-expected.txt: Added.
              * fast/js/kde/statements.html: Added.
              * fast/js/kde/string-1-n-expected.txt: Added.
              * fast/js/kde/string-1-n.html: Added.
              * fast/js/kde/string-2-n-expected.txt: Added.
              * fast/js/kde/string-2-n.html: Added.
              * fast/js/kde/var_decl_init-expected.txt: Added.
              * fast/js/kde/var_decl_init.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ac621e8
  6. 24 Dec, 2005 1 commit
  7. 23 Dec, 2005 4 commits
  8. 22 Dec, 2005 2 commits
    • adele's avatar
      LayoutTests: · 0b02b671
      adele authored
              Reviewed by Tim Hatcher.
      
              Tests for <rdar://problem/4387433> Seed: Radio buttons behave incorrectly in Gmail settings
      
              * fast/forms/radio_checked_dynamic-expected.checksum: Added.
              * fast/forms/radio_checked_dynamic-expected.png: Added.
              * fast/forms/radio_checked_dynamic-expected.txt: Added.
              * fast/forms/radio_checked_dynamic.html: Added.
      
      WebCore:
      
              Reviewed by Tim Hatcher.
      
              Fixed <rdar://problem/4387433> Seed: Radio buttons behave incorrectly in Gmail settings
      
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::registerFormElement): update radio button hash map when moving form elements around.
              (DOM::HTMLGenericFormElementImpl::insertedIntoTree): ditto.
              * khtml/html/html_formimpl.h:
              (DOM::HTMLGenericFormElementImpl::isRadioButton): Added.
              (DOM::HTMLInputElementImpl::isRadioButton): Added.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::radioButtonChecked):
              Added comment explaining that we use 1 for the default form.  We can't use a null pointer as a key for the hash map.
              (DocumentImpl::checkedRadioButtonForGroup): Added conversion of null form pointer to 1.
              (DocumentImpl::removeRadioButtonGroup): ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b02b671
    • darin's avatar
      LayoutTests: · 17dfb301
      darin authored
              Reviewed by Eric.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6192
                add support for non-standard &nsup; entity (implemented in other browsers)
      
              * fast/parser/nsup-entity-expected.txt: Added.
              * fast/parser/nsup-entity.html: Added.
      
      WebCore:
      
              Reviewed by Eric.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6192
                add support for non-standard &nsup; entity (implemented in other browsers)
      
              * khtml/html/kentities.gperf: Add "nsup" to table.
              * khtml/html/htmltokenizer.cpp: Removed old workaround for inlining issue that no
              longer seems to be necessary; also touches the file which is important because
              Xcode doesn't seem to understand the dependency on kentities.gperf and the need
              to recompile.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17dfb301
  9. 21 Dec, 2005 4 commits
    • darin's avatar
      - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6184 · b770569c
      darin authored
                fast/text/attributed-substring-from-range* failing
      
              * fast/text/attributed-substring-from-range-expected.txt: Updated.
              * fast/text/attributed-substring-from-range-lines-expected.txt: Updated.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b770569c
    • adele's avatar
      LayoutTests: · fecb29e7
      adele authored
              Reviewed by Darin.
      
              Updating results for:
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5911
              REGRESSION: Page scroll position jumps when clicking on word in editable div
      
              These results all changed because we now select all for contenteditable elements when focus() is called on them.
      
              * editing/selection/focus_editable_html-expected.checksum:
              * editing/selection/focus_editable_html-expected.png:
              * editing/selection/focus_editable_html-expected.txt:
              * fast/dom/blur-contenteditable-expected.txt:
              * fast/dom/focus-contenteditable-expected.checksum:
              * fast/dom/focus-contenteditable-expected.png:
              * fast/dom/focus-contenteditable-expected.txt:
              * fast/overflow/overflow-focus-ring-expected.checksum:
              * fast/overflow/overflow-focus-ring-expected.png:
              * fast/overflow/overflow-focus-ring-expected.txt:
      
      WebCore:
      
              Reviewed by Darin.
      
              Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5911
              REGRESSION: Page scroll position jumps when clicking on word in editable div
      
              I moved the scrolling code out of setFocusNode, and consolidated some of the focus code to scroll when necessary.
      
              * khtml/html/html_formimpl.cpp: Removed HTMLButtonElementImpl::blur, HTMLButtonElementImpl::focus, HTMLInputElementImpl::blur, HTMLInputElementImpl::focus.
              New code in ElementImpl::focus will now handle these cases.  This allows tabbing through the elements to go through the same code path as calling focus() on an element.
              Before, focus() would scroll to reveal for any form elements that had a RenderWidget, but wouldn't scroll for anchor elements, or any of the new form elements.
              Now the behavior will be more consistent.
              (DOM::HTMLLabelElementImpl::focus): calls ElementImpl::focus.
              (DOM::HTMLLegendElementImpl::focus): ditto.
              * khtml/html/html_formimpl.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::selectAll): calls new function selectContentsOfNode
              (KHTMLPart::selectContentsOfNode): factored out code to selectAll for a particular node- which is useful for contenteditable elements.
              * khtml/khtml_part.h: added selectContentsOfNode
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::setFocusNode): removed scrolling code.
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::focus): Calls updateLayout in case focus() is called before there's a renderer.
              Makes a selection for editable elements (right now we select all, but this will change).
              Doesn't scroll if the renderer is a RenderWidget, since that is handled when the view becomes first responder.  This will go away when we convert the rest of our form elements.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::revealSelection): Made this more like centerSelectionInVisibleArea  where we get the right rectangle if the selection is a caret.
              (KWQKHTMLPart::nextKeyViewInFrame): call ElementImpl::focus() for the node.  This will set the selection too, which used to be done here.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fecb29e7
    • eseidel's avatar
      Bug #: none · 93ff8494
      eseidel authored
      Submitted by: eseidel
      Reviewed by: none needed.
              Fixed ChangeLog typo.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93ff8494
    • eseidel's avatar
      Bug #: none · 590ed0d4
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Beef up our XSLT processor tests to include a test which passes
              a parameter into the transform.  I also took this opportunity
              to clean up the output a bit, and in the process found another
              bug and file: http://bugzilla.opendarwin.org/show_bug.cgi?id=6180
      
              * fast/xsl/resources/xslt-param.xml: Added.
              * fast/xsl/resources/xslt-param.xsl: Added.
              * fast/xsl/xslt-processer-expected.txt:
              * fast/xsl/xslt-processer.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      590ed0d4
  10. 20 Dec, 2005 3 commits
    • justing's avatar
      Reviewed by justin · a8a30cdd
      justing authored
              New layout tests for:
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4682>
              -[WebHTMLView firstRectForCharacterRange:] is using _selectedRange instead of the given range if no marked text
      
              * editing/input/firstrectforcharacterrange-plain-expected.txt: Added.
              * editing/input/firstrectforcharacterrange-plain.html: Added.
              * editing/input/firstrectforcharacterrange-styled-expected.txt: Added.
              * editing/input/firstrectforcharacterrange-styled.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8a30cdd
    • justing's avatar
      Reviewed by darin · 3f54a491
      justing authored
              Layout test for:
              <rdar://problem/4103393> Frequent Safari crash on lexisnexus.com (khtml::Selection::xPosForVerticalArrowNavigation)
               <rdar://problem/4330451> CrashTracer: [REGRESSION] 2235 crashes in Safari at com.apple.WebCore: khtml::Selection::xPosForVerticalArrowNavigation const  436
      
              * editing/selection/selection-actions-expected.checksum: Added.
              * editing/selection/selection-actions-expected.png: Added.
              * editing/selection/selection-actions-expected.txt: Added.
              * editing/selection/selection-actions.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f54a491
    • ggaren's avatar
      JavaScriptCore: · 68fa1b4a
      ggaren authored
              Reviewed by Maciej.
      
              Fixed <rdar://problem/4370397> Missing return statement in
              JSMethodNameToObjcMethodName.
      
              JSMethodNameToObjcMethodName had a check for a name being too long, but
              the check was missing a return statement.
      
              A lot of this code was confusing and some of it was wrong, so I fixed
              it up, added some asserts to catch this type of bug in the future,
              changed some comments, and renamed some variables.
      
              The two advantages of the new algorithm are (1) It makes writing past
              the end of the buffer virtually impossible because the test on the main
              loop is "while (not past end of buffer)" and (2) It's twice as fast
              because it doesn't call strlen. (There's no need to call strlen when
              we're walking the string ourselves.)
      
              methodsNamed also supports arbitrary-length method names now. Just in
              case the AppKit folks start getting REALLY verbose...
      
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::ObjcClass::methodsNamed):
              * bindings/objc/objc_utility.h:
              * bindings/objc/objc_utility.mm:
              (KJS::Bindings::JSMethodNameToObjcMethodName):
      
      LayoutTests:
      
              Layout test for <rdar://problem/4370397> Missing return statement in
              JSMethodNameToObjcMethodName.
      
              * fast/js/objc-big-method-name-expected.txt: Added.
              * fast/js/objc-big-method-name.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68fa1b4a
  11. 19 Dec, 2005 3 commits
    • adele's avatar
      LayoutTests: · b3128408
      adele authored
              Reviewed by Darin, committed by Adele.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6139
                ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts
      
              * fast/text/atsui-multiple-renderers-expected.checksum: Added.
              * fast/text/atsui-multiple-renderers-expected.png: Added.
              * fast/text/atsui-multiple-renderers-expected.txt: Added.
              * fast/text/atsui-multiple-renderers.html: Added.
      
              * css1/text_properties/text-transCapitalize-expected.checksum:
              * css1/text_properties/text-transCapitalize-expected.png:
              * fast/text/international/bidi-AN-after-L-expected.checksum:
              * fast/text/international/bidi-AN-after-L-expected.png:
              * fast/text/international/bidi-AN-after-L-expected.txt:
              * fast/text/international/bidi-L2-run-reordering-expected.checksum:
              * fast/text/international/bidi-L2-run-reordering-expected.png:
              * fast/text/international/bidi-L2-run-reordering-expected.txt:
              * fast/text/international/bidi-LDB-2-CSS-expected.checksum:
              * fast/text/international/bidi-LDB-2-CSS-expected.png:
              * fast/text/international/bidi-LDB-2-CSS-expected.txt:
              * fast/text/international/bidi-LDB-2-HTML-expected.checksum:
              * fast/text/international/bidi-LDB-2-HTML-expected.png:
              * fast/text/international/bidi-LDB-2-HTML-expected.txt:
              * fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
              * fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
              * fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
              * fast/text/international/bidi-european-terminators-expected.checksum:
              * fast/text/international/bidi-european-terminators-expected.png:
              * fast/text/international/bidi-european-terminators-expected.txt:
              * fast/text/international/bidi-fallback-font-weight-expected.checksum:
              * fast/text/international/bidi-fallback-font-weight-expected.png:
              * fast/text/international/bidi-fallback-font-weight-expected.txt:
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:
              * fast/text/international/bidi-innertext-expected.checksum:
              * fast/text/international/bidi-innertext-expected.png:
              * fast/text/international/bidi-innertext-expected.txt:
              * fast/text/international/bidi-override-expected.checksum:
              * fast/text/international/bidi-override-expected.png:
              * fast/text/international/bidi-override-expected.txt:
      
      WebKit:
      
              Reviewed by Darin, committed by Adele.
      
              Test: fast/text/atsui-multiple-renderers.html
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6139
                ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts
      
              * WebCoreSupport.subproj/WebTextRenderer.m:
              (overrideLayoutOperation): Fetch renderer info from the renderers array;
              add synthetic bold offset; render only synthetic bold in the synthetic bold pass.
              (drawGlyphs): Replaced 14 with new SYNTHETIC_OBLIQUE_ANGLE define.
              (initializeATSUStyle): Apply a skewing transform for synthetic oblique.
              (createATSUTextLayout): Merged into createATSUTextLayout.
              (createATSULayoutParameters): Merged in createATSUTextLayout; allocate
              and fill a renderers array and a character buffer for small caps and mirroring;
              (applyMirroringToRun): Merged into createATSULayoutParameters.
              (ATSU_drawHighlight): Deleted mirroring code.
              (ATSU_draw): Deleted mirroring code; added second pass for synthetic bold.
              (ATSU_pointToOffset): Deleted mirroring code.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3128408
    • adele's avatar
      LayoutTests: · 5ddd7d77
      adele authored
              Reviewed by Darin, committed by Adele.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6137
                Disable kerning and some ligatures in the ATSUI code path
      
              * fast/text/atsui-kerning-and-ligatures-expected.checksum: Added.
              * fast/text/atsui-kerning-and-ligatures-expected.png: Added.
              * fast/text/atsui-kerning-and-ligatures-expected.txt: Added.
              * fast/text/atsui-kerning-and-ligatures.html: Added.
      
      WebKit:
      
              Reviewed by Darin, committed by Adele.
      
              Test: fast/text/atsui-kerning-and-ligatures.html
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6137
                Disable kerning and some ligatures in the ATSUI code path
      
              * WebCoreSupport.subproj/WebTextRenderer.m:
              (initializeATSUStyle): Disable kerning; disable ligatures unless the font
              does not contain 'a', in which case it is assumed to never be rendered
              by the CG code path.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ddd7d77
    • adele's avatar
      LayoutTests: · 48c15a3a
      adele authored
              Reviewed by Darin, committed by Adele.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6132
                Incorrect selection highlighting for ATSUI text when selected range is "CG-safe"
      
              * fast/text/should-use-atsui-expected.checksum: Added.
              * fast/text/should-use-atsui-expected.png: Added.
              * fast/text/should-use-atsui-expected.txt: Added.
              * fast/text/should-use-atsui.html: Added.
      
      WebKit:
      
              Reviewed by Darin, committed by Adele.
      
              Test: fast/text/should-use-atsui.html
      
              - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6132
                Incorrect selection highlighting for ATSUI text when selected range is "CG-safe"
      
              * WebCoreSupport.subproj/WebTextRenderer.m:
              (shouldUseATSU): Always start scanning from 0 since drawing and
              highlighting also measure everything up to run->from.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48c15a3a
  12. 18 Dec, 2005 6 commits
    • darin's avatar
      JavaScriptCore: · be57cb47
      darin authored
              Reviewed, tweaked, and landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5227
                Array indexOf() extension for JavaScript 1.5 Core
      
              * kjs/array_object.h:
              * kjs/array_object.cpp: (ArrayProtoFunc::callAsFunction): Added implementation of indexOf.
      
      LayoutTests:
      
              Reviewed, tweaked, and landed by Darin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5227
                Array indexOf() extension for JavaScript 1.5 Core
      
              * fast/js/array-indexof-expected.txt: Added.
              * fast/js/array-indexof.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be57cb47
    • darin's avatar
      LayoutTests: · dde01504
      darin authored
              Reviewed by Hyatt, landed by Darin.
      
              Test for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5980
              Bidi properties of an inline container whose first child is an
              inline container are ignored
      
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Added.
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Added.
              * fast/text/international/bidi-ignored-for-first-child-inline-expected.txt: Added.
              * fast/text/international/bidi-ignored-for-first-child-inline.html: Added.
      
      WebCore:
      
              Reviewed by Hyatt, landed by Darin.
      
              Test: fast/text/international/bidi-ignored-for-first-child-inline.html
      
              Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5980
              Bidi properties of an inline container whose first child is an
              inline container are ignored
      
              * khtml/rendering/bidi.cpp:
              (khtml::RenderBlock::bidiNext):
              Adjust embedding at inline containers' boundaries instead of inside.
              (khtml::RenderBlock::bidiFirst):
              (khtml::RenderBlock::determineStartPosition):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dde01504
    • darin's avatar
      LayoutTests: · c243458d
      darin authored
              Reviewed and landed by Darin.
      
              - test of a particular character set name that is not in the WebCore table
                but is in the ICU table (see bugzilla 5932)
      
              * fast/encoding/charset-cp1251-expected.txt: Added.
              * fast/encoding/charset-cp1251.html: Added.
      
      WebCore:
      
              Reviewed and landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5932
                Wrong encoding used for http://www.miel.ru
      
              * kwq/KWQCharsets.mm: (KWQCFStringEncodingFromIANACharsetName):
              Fall back on ICU encoding names if we don't find the name in the WebCore
              encoding names table.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c243458d
    • darin's avatar
      LayoutTests: · 4169ba11
      darin authored
              Reviewed and landed by Darin.
      
              - XSLT document encoding tests
      
              * fast/xsl/xslt-doc-enc-expected.txt: Added.
              * fast/xsl/xslt-doc-enc.xml: Added.
              * fast/xsl/xslt-doc-enc.xsl: Added.
              * fast/xsl/xslt-doc-noenc-expected.txt: Added.
              * fast/xsl/xslt-doc-noenc.xml: Added.
              * fast/xsl/xslt-doc-noenc.xsl: Added.
      
      WebCore:
      
              Reviewed and landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5927
                Result of XSLT transformation has no charset defined
      
              * khtml/xml/dom_docimpl.cpp: (DocumentImpl::applyXSLTransform):
              Get encoding from transform and pass in to XSLTProcessor.
      
              * khtml/xsl/xslt_processorimpl.h:
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource): Added encoding parameter.
              Create a Decoder and use it to decode the source document (default encoding UTF-8).
              (DOM::XSLTProcessorImpl::transformToString): Add an encoding result. Set it to the
              encoding from the libxml2 document object.
              (DOM::XSLTProcessorImpl::transformToDocument): Get encoding from transform and pass
              in to XSLTProcessor.
              (DOM::XSLTProcessorImpl::transformToFragment): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4169ba11
    • andersca's avatar
      Fix date · 19a66707
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19a66707
    • andersca's avatar
      2005-12-18 Anders Carlsson <andersca@mac.com> · 617750a0
      andersca authored
              Reviewed by Darin.
      
              Test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=4000
              Object.prototype is missing isPrototypeOf
      
              * fast/js/test-isPrototypeOf-expected.txt: Added.
              * fast/js/test-isPrototypeOf.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      617750a0