summaryrefslogtreecommitdiffstats
path: root/webkit/port
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem with how Image is created for ImageBuffer, that was causing some ↵ericroman@google.com2008-10-116-69/+91
| | | | | | | | | | canvas layout tests to fail. The problem is that serializing to a BMP and then deserializing is a lossy sequence -- for example if the BMP was fully transparent BMPImageReader has a hack to re-write it as fully opaque (this transformation is what caused canvas-resize-reset.html to be full black). Review URL: http://codereview.chromium.org/7057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3266 0039d316-1c4b-4281-b951-d872f2087c98
* enable v8bindings warningstc@google.com2008-10-115-23/+21
| | | | | | | | | Make warnings fatal in V8Bindings. Review URL: http://codereview.chromium.org/7044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3263 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back tree breakagedglazkov@google.com2008-10-101-12/+12
| | | | | | | | TBR=pkasting Review URL: http://codereview.chromium.org/7086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3224 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cross-platform ExceptionContext (2/2)dglazkov@google.com2008-10-101-12/+12
| | | | | | | | First part #6400 committed as r3216. Review URL: http://codereview.chromium.org/7081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3219 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork Clipboard.idl and implement the remaining custom methods.ager@google.com2008-10-103-49/+93
| | | | | | Review URL: http://codereview.chromium.org/7227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3213 0039d316-1c4b-4281-b951-d872f2087c98
* Change Location::setHash to match JSC version.darin@chromium.org2008-10-101-1/+2
| | | | | | | | R=ager Review URL: http://codereview.chromium.org/7221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3206 0039d316-1c4b-4281-b951-d872f2087c98
* Some initial fixes for ScriptController errors. There's stillojan@google.com2008-10-101-41/+27
| | | | | | | | a ton, but I'd like to have all my changes checked in should V8 folk want to help overnight. Review URL: http://codereview.chromium.org/7048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3166 0039d316-1c4b-4281-b951-d872f2087c98
* Make more code compile.erg@google.com2008-10-101-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/7042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3162 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScrollView::inWindow by plumbing through RenderWidget::is_hidden ↵jam@chromium.org2008-10-092-3/+8
| | | | | | | | | | to improve performance when a tab is in the background. BUG=2525 Review URL: http://codereview.chromium.org/6503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3147 0039d316-1c4b-4281-b951-d872f2087c98
* Patch by Thatcher Ulrich <tulrich@google.com>.ojan@google.com2008-10-092-2/+2
| | | | | | | | | | | | | | | Implement "iframe shim" behavior for windowed plugins. In FF and IE on windows, iframes are implemented as native HWNDs. This has the side effect that iframes display on top of windowed plugins. This side effect has long been known as a workaround for allowing HTML elements to appear above plugin content. BUG=1788 Review URL: http://codereview.chromium.org/7032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3137 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at landing this patch. It broke the Mac/linux builds. Fix for now isananta@chromium.org2008-10-091-1/+24
| | | | | | | | | | | | | | | | | | | | | | to add the offending code in np_v8object.cpp in a ifdef OS_WIN This fixes http://code.google.com/p/chromium/issues/detail?id=2472, which is an issue with popups displayed by the flash plugin in response to a user click, getting blocked. The plugin invokes NPN_Evaluate to execute the javascript. It also invokes the NPN_PushPopupEnabledState/NPN_PopupEnabledState API's to set the popup enabled stack for the duration of the call. The fix is to add the plumbing in NPN_Evaluate to pass in a flag indicating whether popups are allowed for the duration of the call. Bug=2472 R=jam Review URL: http://codereview.chromium.org/6379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3119 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge hits the SCons build, the sequel:sgk@google.com2008-10-093-6/+5
| | | | | | | | | | | | | | | | | * Un-revert r3063 (basic file list updates). * Un-revert r3079 (os-win32 subdirectory). * Add icu.lib to the npapi_test_plugin.dll link. * Add libpng.lib to the port.lib link. * Updates for recently un-forked files. * Incorporate Linux fixes from phajdan.jr (many thanks): * Add libxml/linux/include to relevant CPPPATH lists. * Use -Wno-error to suppress warnings-as-errors. * Re-order lines in ExceptionContext. * Remove unused WebCore::SharedBuffer declaration in SkiaUtils.h. * Spelling fix: V8CSSSTyleDeclaration.h => V8CSSStyleDeclaration.h Review URL: http://codereview.chromium.org/7024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3118 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an include that no longer exists.ojan@google.com2008-10-091-27/+18
| | | | | | Review URL: http://codereview.chromium.org/7018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3110 0039d316-1c4b-4281-b951-d872f2087c98
* Use #if ENABLE_feature and not #if defined(ENABLE_feature) in idl files.mark@chromium.org2008-10-091-8/+8
| | | | | | | | Features to be disabled are still defined, but with a value of 0. Restores local change r2804 and follows the principle of upstream WebKit r37362. Review URL: http://codereview.chromium.org/6385 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3097 0039d316-1c4b-4281-b951-d872f2087c98
* Merge Document.idl and DOMWindow.idl properly. Diffing our forkedager@google.com2008-10-092-83/+129
| | | | | | | | | | | | | | | versions agains the WebKit ones it is now easy to see the differences. The lookup on the window object has changed slightly. We can now get rid of our v8OnProto annotations in DOMWindow.idl. I have generated the new expected file for lookup-precedence for JSC using a webkit nightly build. Also, a couple of extra constructors have been added to the IDL file and the CROSS_DOCUMENT_MESSAGING define is gone. Review URL: http://codereview.chromium.org/6382 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3092 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac build bustage caused by r3029 by providing a temporary stub method.mark@chromium.org2008-10-091-0/+44
| | | | | | | | | This isn't the ultimate fix: we should port and use port/platform/graphics/GraphicsContextSkia.cpp, but we were formerly using a stub just like this one, so this is fine to fix the burning. Review URL: http://codereview.chromium.org/7008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3089 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r3074 due to Mac build bustagemark@chromium.org2008-10-091-22/+1
| | | | | | Review URL: http://codereview.chromium.org/6378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3088 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://code.google.com/p/chromium/issues/detail?id=2472, whichananta@chromium.org2008-10-081-1/+22
| | | | | | | | | | | | | | | | | | is an issue with popups displayed by the flash plugin in response to a user click, getting blocked. The plugin invokes NPN_Evaluate to execute the javascript. It also invokes the NPN_PushPopupEnabledState/NPN_PopupEnabledState API's to set the popup enabled stack for the duration of the call. The fix is to add the plumbing in NPN_Evaluate to pass in a flag indicating whether popups are allowed for the duration of the call. Bug=2472 Review URL: http://codereview.chromium.org/6562 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3074 0039d316-1c4b-4281-b951-d872f2087c98
* Change the font search order to try Lucida Sans Unicode before Arial Unicode ↵jungshik@google.com2008-10-081-2/+2
| | | | | | | | | | | | | | | | | | MS because the former is available on Windows XP or later while the latter is only available with MS Office installed. This is partly to make font-dependent layout test results 'invariant' with or without Arial Unicode MS installed. Eventually, we may want to make those tests more robust against the font availability by removing some Unicode characters not commonly available. BUG=2304 TEST=pass the layout tests affected Review URL: http://codereview.chromium.org/6495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3062 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes two bugs leading to a layout test failure:sky@google.com2008-10-082-1/+16
| | | | | | | | | | | | | | . Our Document.idl was not up to date. This resulted in an error when the JavaScript tried to execute a function on Document. . Our code to write a SkBitmap to a BMP was writing colors premultiplied. It shouldn't do that. BUG=2973 TEST=layout test fix Review URL: http://codereview.chromium.org/6348 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3043 0039d316-1c4b-4281-b951-d872f2087c98
* changes to get mac layout tests moving forward. Turn off objc GC and remove ↵pinkerton@google.com2008-10-081-3/+3
| | | | | | | | asserts in the plugin stub code that throw off the layout tests. Review URL: http://codereview.chromium.org/6588 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3026 0039d316-1c4b-4281-b951-d872f2087c98
* Add some missing bindings for canvas.ericroman@google.com2008-10-081-2/+48
| | | | | | Review URL: http://codereview.chromium.org/6574 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3021 0039d316-1c4b-4281-b951-d872f2087c98
* Remove references to WebCoreFrameBridge which is no longer in webkitpinkerton@google.com2008-10-081-20/+0
| | | | | | Review URL: http://codereview.chromium.org/6346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3016 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes one layout test by adding missing bindingsgjesse@chromium.org2008-10-081-1/+3
| | | | | | | of document.getSelection in forked Document.idl. Review URL: http://codereview.chromium.org/6344 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3003 0039d316-1c4b-4281-b951-d872f2087c98
* Document.idl has been updated with null to null string conversions onager@google.com2008-10-081-3/+3
| | | | | | | arguments. This fixes two layout tests. Review URL: http://codereview.chromium.org/6578 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3001 0039d316-1c4b-4281-b951-d872f2087c98
* Follow http://trac.webkit.org/changeset/34506 and pass the activeager@google.com2008-10-081-1/+2
| | | | | | | | document to document.open. This fixes 5 layout tests in http/tests/security/aboutBlank. Review URL: http://codereview.chromium.org/6337 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2998 0039d316-1c4b-4281-b951-d872f2087c98
* Sort headers in v8_custom.cpp. Just a style cleanup.tc@google.com2008-10-081-26/+24
| | | | | | Review URL: http://codereview.chromium.org/6229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2995 0039d316-1c4b-4281-b951-d872f2087c98
* Add another case where we make a new SimpleFontData to thetc@google.com2008-10-071-1/+2
| | | | | | | | | | | FontCache so it gets deleted properly. Fix a bug where we try to delete a font from the font cache when we never added it in the first place. This is a bug upstream as well so I'm sending a patch upstream. Review URL: http://codereview.chromium.org/6554 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2974 0039d316-1c4b-4281-b951-d872f2087c98
* Implement missing KURL functions for Mac port.jeremy@chromium.org2008-10-071-0/+68
| | | | | | Review URL: http://codereview.chromium.org/6319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2966 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a do-nothing constructor and destructor for the Mac ScrollView.mark@chromium.org2008-10-071-0/+6
| | | | | | Review URL: http://codereview.chromium.org/6318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2965 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out plugin routines so we can link Mac port.jeremy@chromium.org2008-10-071-0/+62
| | | | | | Review URL: http://codereview.chromium.org/6555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2962 0039d316-1c4b-4281-b951-d872f2087c98
* Merge in InspectorController changes. Get rid of all theojan@google.com2008-10-072-3075/+139
| | | | | | | | | | crazy ifdef'ing in port/.../InspectorController.cpp. Change jsc build back to useing the InspectorController in third_party/WebKit. Review URL: http://codereview.chromium.org/6519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2961 0039d316-1c4b-4281-b951-d872f2087c98
* Allow HAVE_ACCESSIBILITY to be turned off at build time. third_party/WebKitamanda@chromium.org2008-10-072-57/+5
| | | | | | | changes filed upstream as https://bugs.webkit.org/show_bug.cgi?id=21443 Review URL: http://codereview.chromium.org/6315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2957 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 3 layout tests, annotate 3 others.ericroman@google.com2008-10-073-14/+5
| | | | | | | | | | | - Add missing binding for activeElement (http://trac.webkit.org/changeset/30866) - Add missing binding for hasFocus - Account for system colors in expected results (http://trac.webkit.org/changeset/28775) - Remove custom "HTMLDocument.idl:clear" method. Review URL: http://codereview.chromium.org/6298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2954 0039d316-1c4b-4281-b951-d872f2087c98
* More namespacing to fix the build.tc@google.com2008-10-071-2/+2
| | | | | | | TBR=amanada Review URL: http://codereview.chromium.org/6547 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2951 0039d316-1c4b-4281-b951-d872f2087c98
* Add GKURL.cpp, adjust a couple lingering wchar_ts to UTF16Charsamanda@chromium.org2008-10-071-2/+2
| | | | | | Review URL: http://codereview.chromium.org/6310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2947 0039d316-1c4b-4281-b951-d872f2087c98
* The current code over-creates SimpleFontData wrappers; it shouldmbelshe@google.com2008-10-071-1/+1
| | | | | | | | pull them from the cache. Review URL: http://codereview.chromium.org/6308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2944 0039d316-1c4b-4281-b951-d872f2087c98
* Move on to the "298 link errors" stage of the McMerge game:mark@chromium.org2008-10-071-9/+0
| | | | | | | | | | | | - Remove "temp" copy of WebKitSystemInterface from TestShell. They don't work with our new WebKit snapshot, we should be using the files from the WebKit directory instead, and we should handle their build in webkit.xcodeproj. - Remove two stub methods from AXObjectCacheMac that were causing duplicate symbol errors when combined with WebKit's AXObjectCache. Review URL: http://codereview.chromium.org/6304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2937 0039d316-1c4b-4281-b951-d872f2087c98
* Generate V8WebKitCSSKeyframe(s)Rule and fix CSSRuleToV8Object toager@google.com2008-10-074-23/+36
| | | | | | | | | | | | return the correct object type. This fixes most of the css3/keyframes-rule.html layout test. The remaining issue is that the CSSParser cannot handle the webkit-keyframe-rule passed to it. Picking up a new CSSParser from webkit on the next merge should fix the remaining issue. Review URL: http://codereview.chromium.org/6535 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2934 0039d316-1c4b-4281-b951-d872f2087c98
* Nevermind... re-check in 2882 (unrevert). Huanr has checked in a more ↵mal@chromium.org2008-10-061-1/+1
| | | | | | promising rollback of V8. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2921 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back r2882 to see if it reduces the crash rate.mal@chromium.org2008-10-061-1/+1
| | | | | | | TBR=jeremy@chromium.org Review URL: http://codereview.chromium.org/6515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2919 0039d316-1c4b-4281-b951-d872f2087c98
* Qualify temporary #include so that it's relative to the working copy root.mark@chromium.org2008-10-061-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2913 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WebCore/loader/FrameLoader.cpp on the Mac by providing a temporary stubmark@chromium.org2008-10-061-0/+7
| | | | | | | for a method that it calls. Review URL: http://codereview.chromium.org/6511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2911 0039d316-1c4b-4281-b951-d872f2087c98
* Wires up indexed getter for CSSVariablesDeclaration.sky@google.com2008-10-061-0/+4
| | | | | | | | | BUG=3085 TEST=covered by tests Review URL: http://codereview.chromium.org/6475 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2903 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ScrollView::getDocumentView() to ScrollView::documentView() to trackmark@chromium.org2008-10-061-1/+1
| | | | | | | change in upstream header. Review URL: http://codereview.chromium.org/6502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2901 0039d316-1c4b-4281-b951-d872f2087c98
* update EventHandlerMac.mm post-mergejeremy@chromium.org2008-10-061-347/+359
| | | | | | Review URL: http://codereview.chromium.org/6285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2899 0039d316-1c4b-4281-b951-d872f2087c98
* port RenderThemejeremy@chromium.org2008-10-061-136/+502
| | | | | | Review URL: http://codereview.chromium.org/6280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2895 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the InspectorController initializer list to properly specify themark@chromium.org2008-10-061-1/+1
| | | | | | | superclass, which is a template. Required by gcc. Review URL: http://codereview.chromium.org/6498 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2893 0039d316-1c4b-4281-b951-d872f2087c98
* Fix V8EventListener leak.mbelshe@google.com2008-10-065-46/+73
| | | | | | | | | | | | This replaces Feng's CL; its very similar, but a bit different :-) Hopefully addresses the style concerns. Verified this cleans the leak on page cycler and restores perf. Review URL: http://codereview.chromium.org/6494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2891 0039d316-1c4b-4281-b951-d872f2087c98
* Merge enough of the trunk WebKit changes into our copy of PasteboardMac.mm tomark@chromium.org2008-10-061-3/+7
| | | | | | | get it building again. Review URL: http://codereview.chromium.org/6278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2889 0039d316-1c4b-4281-b951-d872f2087c98