1. 18 Dec, 2007 5 commits
    • mrowe@apple.com's avatar
      2007-12-17 Rodney Dawes <dobey@wayofthemonkey.com> · ff50110e
      mrowe@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Define WTF_USE_NPOBJECT and WTF_USE_JAVASCRIPTCORE_BINDINGS for GTK+
              Add required Frame::createScriptInstanceForWidget to FrameGtk
      
              * config.h:
              * page/gtk/FrameGtk.cpp (Frame::createScriptInstanceForWidget):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff50110e
    • mjs@apple.com's avatar
      SunSpider: · c8b66b03
      mjs@apple.com authored
              Reviewed by Eric.
              
              - work around IE layout bugs
      
              * hosted/sunspider.css:
      
      WebKitSite:
      
              Reviewed by Eric.
              
              - work around IE layout bugs
      
              * perf/sunspider-0.9/sunspider.css:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8b66b03
    • alice.liu@apple.com's avatar
      Reviewed by Adam. · e50f2633
      alice.liu@apple.com authored
              Fixed <rdar://5566435> window with no scrollbars can be scrolled
      
              * platform/win/ScrollViewWin.cpp:
              (WebCore::ScrollView::maximumScroll):
              corrected maximumScroll() to account for scrolling not allowed.
              (WebCore::ScrollView::wheelEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e50f2633
    • alice.liu@apple.com's avatar
      Reviewed by Adam. · d6784b25
      alice.liu@apple.com authored
              Test for <rdar://problem/5566435> window with no scrollbars can still be scrolled with wheelevent 
      
              * fast/events/attempt-scroll-with-no-scrollbars-expected.txt: Added.
              * fast/events/attempt-scroll-with-no-scrollbars.html: Added.
              * platform/mac/Skipped: 
              Adding to mac Skipped list because of <rdar://problem/5643675> window.scrollTo scrolls a window with no scrollbars
              * platform/win/Skipped:
              Adding to win Skipped list because of <rdar://problem/5132009> Windows DRT does not support multiple windows
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6784b25
    • darin@apple.com's avatar
      Reviewed by Sam. · 5206a368
      darin@apple.com authored
              - <rdar://4516170> Back/Forward Cache on Windows
      
              * WebFrame.cpp:
              (WebFrame::forceLayout): Implemented this. Just calling through to
              Frame::forceLayout matches the Mac pretty well and should be enough
              for now. Without this we won't repaint the new page when we go back
              and forward.
              (WebFrame::dispatchWillSubmitForm): Use COMPtr's AdoptCOM constructor
              instead of the adoptRef function.
              (WebFrame::restoreViewState): Removed unneeded notImplemented() call.
              This is implemented as much as it needs to be.
              (WebFrame::shouldGoToHistoryItem): Ditto.
              (WebFrame::saveViewStateToItem): Ditto.
              (WebFrame::canCachePage): Ditto, also changed it to return true. This
              is what was preventing the back/forward cache from running, and there's
              no need for any additional checks in the Windows version.
      
              * WebView.cpp:
              (PreferencesChangedOrRemovedObserver::onNotify): Fix backwards null check
              that was preventing this notification from ever being sent, which in turn
              meant that page cache had a capacity of 0.
              (WebView::initWithFrame): Removed unneeded setUsesPageCache(false) code.
              This actually was ineffective and ended up doing no harm, but we don't
              need it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5206a368
  2. 17 Dec, 2007 34 commits
    • darin@apple.com's avatar
      - disabling this test until we can find a way to make it pass on diverse machines · bf0db22f
      darin@apple.com authored
              * fast/css/css2-system-color.html: Removed.
              * fast/css/css2-system-color.html-disabled: Copied from fast/css/css2-system-color.html.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf0db22f
    • alp@webkit.org's avatar
      2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com> · 1a6c4695
      alp@webkit.org authored
              Reviewed by Alp Toker.
      
              http://bugs.webkit.org/show_bug.cgi?id=16042
              [GTK] Eliminate webkit_init()
      
              Move webkit initialization to WebView class init.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6c4695
    • alp@webkit.org's avatar
      2007-12-17 Luca Bruno <lethalman88@gmail.com> · 3db2d3ba
      alp@webkit.org authored
              Reviewed by Alp Toker.
      
              http://bugs.webkit.org/show_bug.cgi?id=13542
              gdklauncher doesnt change URL in adress GTKEntry.
      
              Let DOMDocument observers do their work before emitting title-changed.
              The load-committed signal has been added for both the view and the frame.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3db2d3ba
    • jhoneycutt@apple.com's avatar
      2007-12-17 Jon Honeycutt <jhoneycutt@apple.com> · d8f0e36c
      jhoneycutt@apple.com authored
              Reviewed by Darin.
      
              <rdar://problem/5651291> REGRESSION: Flash content doesn't display
              (www.adobe.com)
      
              We were passing NPEvent** instead of NPEvent* to NPP_HandleEvent.
      
              * plugins/win/PluginViewWin.cpp:
              (WebCore::PluginViewWin::dispatchNPEvent): Changed to take NPEvent&, not
              NPEvent*
              (WebCore::PluginViewWin::paint): Pass NPEvent, not NPEvent*
              (WebCore::PluginViewWin::handleKeyboardEvent): same
              (WebCore::PluginViewWin::handleMouseEvent): same
              * plugins/win/PluginViewWin.h:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8f0e36c
    • andersca@apple.com's avatar
      Fix argument to window.open. · 908e410e
      andersca@apple.com authored
              * http/tests/misc/window-open-then-write.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      908e410e
    • mrowe@apple.com's avatar
      2007-12-17 Mark Rowe <mrowe@apple.com> · b1e2aaf5
      mrowe@apple.com authored
              Update test results after r28812.
      
              * platform/mac-tiger/fast/css/css2-system-color-expected.txt:
              * platform/mac/fast/css/css2-system-color-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1e2aaf5
    • ap@webkit.org's avatar
      Reviewed by Darin. · 3ba66c39
      ap@webkit.org authored
              Live to the promise of never making AppKit special character codes visible via DOM.
      
              Test: fast/events/arrow-keys-on-body.html
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::keyEvent): Check for empty keypress characters after disambiguation,
              to let quirks-aware code strip special charactrers.
              * platform/mac/KeyEventMac.mm:
              (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): If not in keyboard event quirks
              mode, remove the text if it's a special character.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ba66c39
    • mrowe@apple.com's avatar
      2007-12-17 Mark Rowe <mrowe@apple.com> · 4edae2b5
      mrowe@apple.com authored
              Reviewed by Darin Adler.
      
              Fix incorrect array size and incorrect array index in convertNSColorToColor.
      
              * rendering/RenderThemeMac.mm:
              (WebCore::convertNSColorToColor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4edae2b5
    • darin@apple.com's avatar
      Reviewed by Mark Rowe. · 866a57dc
      darin@apple.com authored
              - fix http://bugs.webkit.org/show_bug.cgi?id=16468
                REGRESSION(r28781): Crash running storage/transaction_callback_exception_crash.html
      
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::dispatchNextTaskIdentifier): Use a RefPtr for the database
              because there's no guarantee it won't lose its last reference otherwise.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      866a57dc
    • mitz@apple.com's avatar
      Reviewed by Maciej Stachowiak. · 19da9a6f
      mitz@apple.com authored
              - fix <rdar://problem/5333260> Some Chinese characters in Text Encoding menu are bold, others are not
                and <rdar://problem/5280188> Chinese text looks worse on Safari for Windows cf. Safari for Mac
      
              * platform/graphics/win/FontCacheWin.cpp:
              (WebCore::FontCache::getFontDataForCharacters): To ensure that font
              linking gives consistent results for characters that are exclusive to
              the simplified Chinese code page and characters that belong to that
              code page and other code pages, always ask to map to simplified Chinese
              alone first.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19da9a6f
    • alp@webkit.org's avatar
      2007-12-17 Christian Dywan <christian@twotoasts.de> · 809e7a79
      alp@webkit.org authored
              Reviewed by Alp Toker.
      
              http://bugs.webkit.org/show_bug.cgi?id=16378
              Implement Icon for Gtk
      
              Icon provides a GdkPixbuf containing a themed icon.
              The icon theme is probed for an icon name according to the
              Icon Naming Specification or conventional Gnome icon names respectively.
      
              See http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
      
              * platform/graphics/Icon.h:
              * platform/graphics/gtk/IconGtk.cpp:
              (WebCore::Icon::~Icon):
              (WebCore::lookupIconName):
              (WebCore::Icon::newIconForFile):
              (WebCore::Icon::paint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      809e7a79
    • mjs@apple.com's avatar
      SunSpider: · 896e750c
      mjs@apple.com authored
              Reviewed by Mark.
              
              - fix compare feature
      
              * hosted/sunspider-results.html:
      
      WebKitSite:
      
              Reviewed by Mark.
              
              - fix compare feature
      
              * perf/sunspider-0.9/sunspider-results.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      896e750c
    • mjs@apple.com's avatar
      Rubber stamped by Mark. · 063678d3
      mjs@apple.com authored
              
              - Add a copy of SunSpider 0.9 to the site
      
              * perf: Added.
              * perf/sunspider-0.9: Added.
              * perf/sunspider-0.9/3d-cube.html: Added.
              * perf/sunspider-0.9/3d-morph.html: Added.
              * perf/sunspider-0.9/3d-raytrace.html: Added.
              * perf/sunspider-0.9/access-binary-trees.html: Added.
              * perf/sunspider-0.9/access-fannkuch.html: Added.
              * perf/sunspider-0.9/access-nbody.html: Added.
              * perf/sunspider-0.9/access-nsieve.html: Added.
              * perf/sunspider-0.9/bitops-3bit-bits-in-byte.html: Added.
              * perf/sunspider-0.9/bitops-bits-in-byte.html: Added.
              * perf/sunspider-0.9/bitops-bitwise-and.html: Added.
              * perf/sunspider-0.9/bitops-nsieve-bits.html: Added.
              * perf/sunspider-0.9/controlflow-recursive.html: Added.
              * perf/sunspider-0.9/crypto-aes.html: Added.
              * perf/sunspider-0.9/crypto-md5.html: Added.
              * perf/sunspider-0.9/crypto-sha1.html: Added.
              * perf/sunspider-0.9/date-format-tofte.html: Added.
              * perf/sunspider-0.9/date-format-xparb.html: Added.
              * perf/sunspider-0.9/math-cordic.html: Added.
              * perf/sunspider-0.9/math-partial-sums.html: Added.
              * perf/sunspider-0.9/math-spectral-norm.html: Added.
              * perf/sunspider-0.9/regexp-dna.html: Added.
              * perf/sunspider-0.9/string-base64.html: Added.
              * perf/sunspider-0.9/string-fasta.html: Added.
              * perf/sunspider-0.9/string-tagcloud.html: Added.
              * perf/sunspider-0.9/string-unpack-code.html: Added.
              * perf/sunspider-0.9/string-validate-input.html: Added.
              * perf/sunspider-0.9/sunspider-analyze-results.js: Added.
              * perf/sunspider-0.9/sunspider-compare-results.js: Added.
              * perf/sunspider-0.9/sunspider-driver.html: Added.
              * perf/sunspider-0.9/sunspider-record-result.js: Added.
              * perf/sunspider-0.9/sunspider-results.html: Added.
              * perf/sunspider-0.9/sunspider-test-prefix.js: Added.
              * perf/sunspider-0.9/sunspider.css: Added.
              * perf/sunspider-0.9/sunspider.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      063678d3
    • mjs@apple.com's avatar
      Reviewed by Mark. · 71cddfca
      mjs@apple.com authored
              
              - Change the format of the output URL to be shorter, to meet IE constraints
      
              * hosted/sunspider-driver.html:
              * hosted/sunspider-results.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71cddfca
    • darin@apple.com's avatar
      - speculative build fix for non-gcc platforms · f451c4c9
      darin@apple.com authored
              * pcre/pcre_exec.cpp: (match): Remove unused cases from return switch.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f451c4c9
    • weinig@apple.com's avatar
      Reviewed by Mitz. · 41962c5f
      weinig@apple.com authored
              Fix for http://bugs.webkit.org/show_bug.cgi?id=16466
              Move the JS Location object to its own file
      
              - Move Location into its own file and rename it JSLocation.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSLocation.cpp: Copied from WebCore/bindings/js/kjs_window.cpp.
              (WebCore::):
              (WebCore::JSLocation::JSLocation):
              (WebCore::JSLocation::getValueProperty):
              (WebCore::JSLocation::getOwnPropertySlot):
              (WebCore::JSLocation::put):
              (WebCore::JSLocationProtoFuncReplace::callAsFunction):
              (WebCore::JSLocationProtoFuncReload::callAsFunction):
              (WebCore::JSLocationProtoFuncAssign::callAsFunction):
              (WebCore::JSLocationProtoFuncToString::callAsFunction):
              * bindings/js/JSLocation.h: Copied from WebCore/bindings/js/kjs_window.h.
              (WebCore::JSLocation::):
              (WebCore::JSLocation::frame):
              (WebCore::JSLocation::classInfo):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::location):
              * bindings/js/kjs_window.h:
              * history/CachedPage.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41962c5f
    • mitz@apple.com's avatar
      Reviewed by Sam Weinig. · a6f6cf8e
      mitz@apple.com authored
              - make 'cursor: copy' and 'cursor: none' work.
      
              Already covered by manual-tests/cursor.html
      
              * rendering/RenderStyle.h: Increase the _cursor_style field to 6 bits,
              needed for the 33rd and 34th cursor values.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6f6cf8e
    • mrowe@apple.com's avatar
      Speculative build fix for non-Mac platforms. · 6be8941a
      mrowe@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6be8941a
    • mrowe@apple.com's avatar
      Refactor Mac plugin stream code to use the shared NetscapePlugInStreamLoader implementation. · f13819b2
      mrowe@apple.com authored
      Reviewed by Maciej Stachowiak.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f13819b2
    • weinig@apple.com's avatar
      Reviewed by Maciej. · 007f8309
      weinig@apple.com authored
              Yet more of http://bugs.webkit.org/show_bug.cgi?id=16385
              Cleanup kjs_window
      
              - Move ScheduledAction into its own file and put it in the WebCore namespace.
      
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/PausedTimeouts.cpp:
              * bindings/js/PausedTimeouts.h:
              * bindings/js/ScheduledAction.cpp: Copied from bindings/js/kjs_window.cpp.
              (WebCore::ScheduledAction::ScheduledAction):
              (WebCore::ScheduledAction::execute):
              * bindings/js/ScheduledAction.h: Copied from bindings/js/kjs_window.h.
              (WebCore::ScheduledAction::ScheduledAction):
              * bindings/js/kjs_window.cpp:
              (KJS::DOMWindowTimer::DOMWindowTimer):
              (KJS::DOMWindowTimer::action):
              (KJS::DOMWindowTimer::takeAction):
              (KJS::Window::installTimeout):
              (KJS::Window::timerFired):
              * bindings/js/kjs_window.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      007f8309
    • darin@apple.com's avatar
      Reviewed by Maciej. · 28e8eb90
      darin@apple.com authored
              - http://bugs.webkit.org/show_bug.cgi?id=16438
              - removed some more unused code
              - changed quite a few more names to WebKit-style
              - moved more things out of pcre_internal.h
              - changed some indentation to WebKit-style
              - improved design of the functions for reading and writing
                2-byte values from the opcode stream (in pcre_internal.h)
      
              * pcre/dftables.cpp:
              (main): Added the kjs prefix a normal way in lieu of using macros.
      
              * pcre/pcre_compile.cpp: Moved some definitions here from pcre_internal.h.
              (errorText): Name changes, fewer typedefs.
              (checkEscape): Ditto. Changed uppercase conversion to use toASCIIUpper.
              (isCountedRepeat): Name change.
              (readRepeatCounts): Name change.
              (firstSignificantOpcode): Got rid of the use of OP_lengths, which is
              very lightly used here. Hard-coded the length of OP_BRANUMBER.
              (firstSignificantOpcodeSkippingAssertions): Ditto. Also changed to
              use the advanceToEndOfBracket function.
              (getOthercaseRange): Name changes.
              (encodeUTF8): Ditto.
              (compileBranch): Name changes. Removed unused after_manual_callout and
              the code to handle it. Removed code to handle OP_ONCE since we never
              emit this opcode. Changed to use advanceToEndOfBracket in more places.
              (compileBracket): Name changes.
              (branchIsAnchored): Removed code to handle OP_ONCE since we never emit
              this opcode.
              (bracketIsAnchored): Name changes.
              (branchNeedsLineStart): More fo the same.
              (bracketNeedsLineStart): Ditto.
              (branchFindFirstAssertedCharacter): Removed OP_ONCE code.
              (bracketFindFirstAssertedCharacter): More of the same.
              (calculateCompiledPatternLengthAndFlags): Ditto.
              (returnError): Name changes.
              (jsRegExpCompile): Ditto.
      
              * pcre/pcre_exec.cpp: Moved some definitions here from pcre_internal.h.
              (matchRef): Updated names.
              Improved macros to use the do { } while(0) idiom so they expand to single
              statements rather than to blocks or multiple statements. And refeactored
              the recursive match macros.
              (MatchStack::pushNewFrame): Name changes.
              (getUTF8CharAndIncrementLength): Name changes.
              (match): Name changes. Removed the ONCE opcode.
              (jsRegExpExecute): Name changes.
      
              * pcre/pcre_internal.h: Removed quite a few unneeded includes. Rewrote
              quite a few comments. Removed the macros that add kjs prefixes to the
              functions with external linkage; instead renamed the functions. Removed
              the unneeded typedefs pcre_uint16, pcre_uint32, and uschar. Removed the
              dead and not-all-working code for LINK_SIZE values other than 2, although
              we aim to keep the abstraction working. Removed the OP_LENGTHS macro.
              (put2ByteValue): Replaces put2ByteOpcodeValueAtOffset.
              (get2ByteValue): Replaces get2ByteOpcodeValueAtOffset.
              (put2ByteValueAndAdvance): Replaces put2ByteOpcodeValueAtOffsetAndAdvance.
              (putLinkValueAllowZero): Replaces putOpcodeValueAtOffset; doesn't do the
              addition, since a comma is really no better than a plus sign. Added an
              assertion to catch out of range values and changed the parameter type to
              int rather than unsigned.
              (getLinkValueAllowZero): Replaces getOpcodeValueAtOffset.
              (putLinkValue): New function that most former callers of the
              putOpcodeValueAtOffset function can use; asserts the value that is
              being stored is non-zero and then calls putLinkValueAllowZero.
              (getLinkValue): Ditto.
              (putLinkValueAndAdvance): Replaces putOpcodeValueAtOffsetAndAdvance. No
              caller was using an offset, which makes sense given the advancing behavior.
              (putLinkValueAllowZeroAndAdvance): Ditto.
              (isBracketOpcode): Added. For use in an assertion.
              (advanceToEndOfBracket): Renamed from moveOpcodePtrPastAnyAlternateBranches,
              and removed comments about how it's not well designed. This function takes
              a pointer to the beginning of a bracket and advances to the end of the
              bracket.
      
              * pcre/pcre_tables.cpp: Updated names.
              * pcre/pcre_ucp_searchfuncs.cpp:
              (kjs_pcre_ucp_othercase): Ditto.
              * pcre/pcre_xclass.cpp:
              (getUTF8CharAndAdvancePointer): Ditto.
              (kjs_pcre_xclass): Ditto.
              * pcre/ucpinternal.h: Ditto.
      
              * wtf/ASCIICType.h:
              (WTF::isASCIIAlpha): Added an int overload, like the one we already have for
              isASCIIDigit.
              (WTF::isASCIIAlphanumeric): Ditto.
              (WTF::isASCIIHexDigit): Ditto.
              (WTF::isASCIILower): Ditto.
              (WTF::isASCIISpace): Ditto.
              (WTF::toASCIILower): Ditto.
              (WTF::toASCIIUpper): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28e8eb90
    • alp@webkit.org's avatar
      2007-12-16 Alp Toker <alp@atoker.com> · 4fd3685a
      alp@webkit.org authored
              Reviewed by Maciej.
      
              http://bugs.webkit.org/show_bug.cgi?id=16356
              [GTK] Integrate GStreamer video with the graphics backend
      
              Integrate the GStreamer media backend with the Cairo graphics backend.
              There are still some issues: Data is copied more often than necessary,
              and repaint() is not called, causing transformed video not to update
              sometimes.
      
              * WebCore.pro:
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::currentTime):
              (WebCore::MediaPlayerPrivate::setEndTime):
              (WebCore::MediaPlayerPrivate::seeking):
              (WebCore::MediaPlayerPrivate::naturalSize):
              (WebCore::MediaPlayerPrivate::setMuted):
              (WebCore::MediaPlayerPrivate::setRect):
              (WebCore::MediaPlayerPrivate::setVisible):
              (WebCore::MediaPlayerPrivate::repaint):
              (WebCore::MediaPlayerPrivate::paint):
              (WebCore::MediaPlayerPrivate::createGSTPlayBin):
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
              * platform/graphics/gtk/VideoSinkGStreamer.cpp: Added.
              (webkit_video_sink_base_init):
              (webkit_video_sink_init):
              (webkit_video_sink_idle_func):
              (webkit_video_sink_render):
              (webkit_video_sink_set_caps):
              (webkit_video_sink_dispose):
              (webkit_video_sink_finalize):
              (webkit_video_sink_set_property):
              (webkit_video_sink_get_property):
              (webkit_video_sink_stop):
              (webkit_video_sink_class_init):
              (webkit_video_sink_new):
              (webkit_video_sink_set_surface):
              (plugin_init):
              * platform/graphics/gtk/VideoSinkGStreamer.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fd3685a
    • mrowe@apple.com's avatar
      2007-12-16 Mark Rowe <mrowe@apple.com> · bdeb5cd5
      mrowe@apple.com authored
              Mac build fix.
      
              * WebCore.xcodeproj/project.pbxproj: Remove NetscapePlugInStreamLoader.cpp from the WebCore target.
              Mac currently has its own implementation in NetscapePlugInStreamLoaderMac.mm which conflicts with the
              new shared implementation.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdeb5cd5
    • mrowe@apple.com's avatar
      2007-12-16 Rodney Dawes <dobey@wayofthemonkey.com> · d37943a8
      mrowe@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              http://bugs.webkit.org/show_bug.cgi?id=16389
              Bug 16389: Common Implementation of NetscapePlugInStreamLoader
      
              * WebCore.vcproj/WebCore.vcproj: Remove NetscapePlugInStreamLoaderWin.cpp.
              * loader/NetscapePlugInStreamLoader.cpp: Copy method implementations from NetscapePlugInStreamLoaderWin.cpp.
              * loader/win/NetscapePlugInStreamLoaderWin.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d37943a8
    • mrowe@apple.com's avatar
      2007-12-16 Dimitri Glazkov <dimitri@glazkov.com> · 1d5abfb3
      mrowe@apple.com authored
              Reviewed by Adam Roben.
      
              Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
      
              * FindSafari/FindSafari.cpp:
              (_tmain):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d5abfb3
    • mrowe@apple.com's avatar
      2007-12-16 Brent Fulgham <bfulgham@gmail.com> · 8e501e95
      mrowe@apple.com authored
              Reviewed by Adam Roben.
      
              http://bugs.webkit.org/show_bug.cgi?id=16315
              FindSafari needs a path-only option.
      
              * FindSafari/FindSafari.cpp:
              (_tmain):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e501e95
    • darin@apple.com's avatar
      * fast/js/regexp-overflow-expected.txt: Updated. I accidentally checked in an · 78db8437
      darin@apple.com authored
              out-of-date file last time.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78db8437
    • darin@apple.com's avatar
      Reviewed by Darin Adler. · 3a8a8100
      darin@apple.com authored
              Fix http://bugs.webkit.org/show_bug.cgi?id=16433.
              Bug 16433: LOW_BANDWIDTH_DISPLAY build is broken
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::addLowBandwidthDisplayRequest):
              (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a8a8100
    • darin@apple.com's avatar
      JavaScriptCore: · 9be07b6f
      darin@apple.com authored
              Reviewed by Maciej.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=16459
                REGRESSION: assertion failure with regexp with \B in a case-ignoring character range
                <rdar://problem/5646361>
      
              The problem was that \B was not handled properly in character classes.
      
              Test: fast/js/regexp-overflow.html
      
              * pcre/pcre_compile.cpp:
              (check_escape): Added handling of ESC_b and ESC_B in character classes here.
              Allows us to get rid of the handling of \b in character classes from all the
              call sites that handle it separately and to handle \B properly as well.
              (compileBranch): Remove the ESC_b handling, since it's not needed any more.
              (calculateCompiledPatternLengthAndFlags): Ditto.
      
      LayoutTests:
      
              Reviewed by Maciej.
      
              - test for http://bugs.webkit.org/show_bug.cgi?id=16459
                REGRESSION: assertion failure with regexp with \B in a case-ignoring character range
                <rdar://problem/5646361>
      
              * fast/js/regexp-overflow-expected.txt: Updated.
              * fast/js/resources/regexp-overflow.js: Added test cases.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9be07b6f
    • mrowe@apple.com's avatar
      2007-12-16 Grace Kloba <klobag@gmail.com> · 46633d3f
      mrowe@apple.com authored
              Reviewed by Darin Adler.
      
              Fix http://bugs.webkit.org/show_bug.cgi?id=16433.
              Bug 16433: LOW_BANDWIDTH_DISPLAY build is broken
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::addLowBandwidthDisplayRequest):
              (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46633d3f
    • mrowe@apple.com's avatar
      2007-12-16 Brent Fulgham <bfulgham@gmail.com> · bcf22bdc
      mrowe@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              http://bugs.webkit.org/show_bug.cgi?id=16446.
      
              * building/debug.html:  Update to expand the win32 debugging instructions.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcf22bdc
    • mrowe@apple.com's avatar
      Fix http://bugs.webkit.org/show_bug.cgi?id=16448 ([GTK] Celtic Kane JavaScript... · a9afe980
      mrowe@apple.com authored
      Fix http://bugs.webkit.org/show_bug.cgi?id=16448 ([GTK] Celtic Kane JavaScript performance on Array test is slow relative to Mac).
      
      Reviewed by Maciej Stachowiak.
      
      * kjs/array_instance.cpp:
      (KJS::compareByStringPairForQSort):
      (KJS::ArrayInstance::sort): Convert JSValue's to strings once up front and then sort the
      results.  This avoids calling toString twice per comparison, but requires a temporary buffer
      so we only use this approach in cases where the array being sorted is not too large.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9afe980
    • darin@apple.com's avatar
      WebCore: · aa170ad0
      darin@apple.com authored
              Reviewed by Darin.
      
              More of http://bugs.webkit.org/show_bug.cgi?id=16385
              Cleanup kjs_window
      
              - Move PausedTimeouts into its own file and put it in the WebCore namespace.
      
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/PausedTimeouts.cpp: Copied from bindings/js/kjs_window.cpp.
              * bindings/js/PausedTimeouts.h: Copied from bindings/js/kjs_window.h.
              * bindings/js/kjs_window.cpp:
              (KJS::Window::pauseTimeouts):
              * bindings/js/kjs_window.h:
              * history/CachedPage.cpp:
              * history/CachedPage.h:
              * page/Chrome.cpp:
      
      LayoutTests:
      
              Reviewed by Maciej.
      
              - tests for the argument handling of the executeSql function
      
              * storage/execute-sql-args-expected.txt: Added.
              * storage/execute-sql-args.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa170ad0
    • darin@apple.com's avatar
      - try to get the system color test passing on the buildbot · a242fca3
      darin@apple.com authored
              I fear this test may be vulnerable to slight platform differences.
      
              * platform/mac-tiger/fast: Added.
              * platform/mac-tiger/fast/css: Added.
              * platform/mac-tiger/fast/css/css2-system-color-expected.checksum: Copied from platform/mac/fast/css/css2-system-color-expected.checksum.
              * platform/mac-tiger/fast/css/css2-system-color-expected.png: Copied from platform/mac/fast/css/css2-system-color-expected.png.
              * platform/mac-tiger/fast/css/css2-system-color-expected.txt: Copied from platform/mac/fast/css/css2-system-color-expected.txt.
              Then updated to match what the buildbot says.
      
              * platform/mac/fast/css/css2-system-color-expected.txt: Updated to match
              results I'm getting locally on my Leopard machine.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a242fca3
  3. 16 Dec, 2007 1 commit
    • weinig@apple.com's avatar
      Reviewed by Darin. · a1ad3df6
      weinig@apple.com authored
              More of http://bugs.webkit.org/show_bug.cgi?id=16385
              Cleanup kjs_window
      
              - Move PausedTimeouts into its own file and put it in the WebCore namespace.
      
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/PausedTimeouts.cpp: Copied from bindings/js/kjs_window.cpp.
              * bindings/js/PausedTimeouts.h: Copied from bindings/js/kjs_window.h.
              * bindings/js/kjs_window.cpp:
              (KJS::Window::pauseTimeouts):
              * bindings/js/kjs_window.h:
              * history/CachedPage.cpp:
              * history/CachedPage.h:
              * page/Chrome.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1ad3df6