summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of wide characters in stats table identifiers.evanm@google.com2008-11-2113-177/+182
| | | | | | | Review URL: http://codereview.chromium.org/11544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5847 0039d316-1c4b-4281-b951-d872f2087c98
* Move the platform files form port to skia for Mac only. Hopefully this won't ↵brettw@google.com2008-11-2111-829/+3
| | | | | | | | affect other platforms. Review URL: http://codereview.chromium.org/11357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5845 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the getintidentifier-special-values.html plugin layout test, which broke ↵ananta@chromium.org2008-11-211-2/+11
| | | | | | | | | | | | | | as a result of change r5829 to fix silverlight windowless plugin issues. One of the changes was to return int32 as the variant type wherever applicable. Firefox does the same and Silverlight does rely on this behavior. This is broken in webkit. I will be filing a bug against webkit. The fix is to support int32 as an incoming NPVariant type in the layout test plugin. TBR=jam Review URL: http://codereview.chromium.org/11574 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5837 0039d316-1c4b-4281-b951-d872f2087c98
* Delete ifdefs which were causing a crash by hiding a NULL check.erg@google.com2008-11-211-2/+0
| | | | | | | Review URL: http://codereview.chromium.org/11355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5835 0039d316-1c4b-4281-b951-d872f2087c98
* pull in some upstream code in this forked filepinkerton@google.com2008-11-211-0/+8
| | | | | | Review URL: http://codereview.chromium.org/11570 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5833 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb WebCore's windowResizerRect() through glue and renderer. Enables Mac ↵pinkerton@google.com2008-11-216-2/+54
| | | | | | | | scrollbars to not overlap the in-window resizer widget. Review URL: http://codereview.chromium.org/11353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5831 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf,deanm@chromium.org2008-11-2110-17/+49
| | | | | | | | | | some of these sneaked in. BUG=2053 Review URL: http://codereview.chromium.org/11801 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5830 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding this fix. The earlier attempt broke test_shell_tests. The fixananta@chromium.org2008-11-214-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | has been added to this CB. Fix Silverlight windowless plugin painting issues. This fixes the following issues:- 1. http://code.google.com/p/chromium/issues/detail?id=4272 2. http://code.google.com/p/chromium/issues/detail?id=301 (Partially) The fixes are as below:- 1. Silverlight in the NPP_HandleEvent call for WM_PAINT, calls NPN_GetProperty for a bunch of properties like pageXOffset, pageYOffset, etc. It expects these properties to have integer types on return. We always return double. Firefox returns integer for these properties. Added a check in the conversion to NPVariant function in v8 to check for whether the value is an integer and return the intger type. 2. When the windowless plugin calls NPN_InvalidateRect we ask the plugin to paint in the same call, which the Silverlight plugin does not like. It relies on the fact that browsers would initiate invalidation asynchronously and eventually paint. This is a perfectly legal assumption. The Flash plugin does work if we synchronously ask it to paint. However other plugins could have similar issues. I verified with worldofwarcraft.com to see if the async paint has any sideeffects and there were none. 3.If the Silverlight plugin is not visible initially as on msdn.microsoft.com, it does not paint. This occurs because the plugin expects proper paints to come from the browser. It does not invalidate itself in UpdateGeometry as Flash. The plugin widget on msdn is not dynamic. It does call NPN_InvalidateRect initially when it is not visible. We don't send the call to the renderer as the plugin is not visible. To workaround this we now track the damaged rect even if the rect does not intersect the clipping rect of the plugin. In a geometry update if the plugin is visible, we send over the accumulated damaged rect to the renderer. The Silverlight plugin instance on msdn.microsoft.com does not work correctly even with these fixes. However it paints correctly. R=jam Bug=4272,301 Review URL: http://codereview.chromium.org/11569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5829 0039d316-1c4b-4281-b951-d872f2087c98
* only resize the window when running layout tests. Makes it easier to use for ↵pinkerton@google.com2008-11-213-4/+11
| | | | | | | | normal browsing. Review URL: http://codereview.chromium.org/11566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5826 0039d316-1c4b-4281-b951-d872f2087c98
* Fix use of LOAD= with WantSystemLib() (we could blow up if a variablesgk@google.com2008-11-212-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hadn't been added to the config) and extend use of LOAD= into submodules: * Add a ChromeLoadSConscriptModules() method that encapsulates the conditional logic, and makes things more readable by specifying component names as keyword arguments, not hard-coding the logic as a series of if-tests. * Put the ChromeLoadSConscriptModules() logic in a Tool module in site_scons/site_tools, so it doesn't clutter up build/SConscript.main directly. * Move env.WantSystemLib() calls into the individual *.scons files, so we call them each time (or not, based one LOAD=) and the config itself just returns if the system library is requested and we don't need to build anything locally. * Move the settings where a library name changes based on whether or not the system lib is being used into the using_*.scons files, so they're available to clients independently of whether or not the component's *.scons configuration is loaded. * While here: rename the affected third_party SConscript files: third_party/libjpeg/SConscript => third_party/libjpeg/libjpeg.scons third_party/libxml/SConscript => third_party/libxml/libxml.scons third_party/libxslt/SConscript => third_party/libxslt/libxslt.scons * While here: move the Chrome{Program,SharedLibrary}() etc. builder definitions from build/SConscript.main to a new too Ad the ChromeLoadSConscriptModules() logic in a Tool module, to remove more clutter from build/SConscript.main. Review URL: http://codereview.chromium.org/11430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5820 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r5816 due to InvokeMethods failures in test_shell_tests.sgk@google.com2008-11-213-7/+3
| | | | | | Review URL: http://codereview.chromium.org/11342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5818 0039d316-1c4b-4281-b951-d872f2087c98
* Expanding and fleshing out the skelton for RenderThemeGtk::systemFont.mmoss@google.com2008-11-211-2/+68
| | | | | | | | | Far from complete, but so far it makes the controls on www.google.com look better. Review URL: http://codereview.chromium.org/11295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5817 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Silverlight windowless plugin painting issues. This fixes theananta@chromium.org2008-11-213-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following issues:- 1. http://code.google.com/p/chromium/issues/detail?id=4272 2. http://code.google.com/p/chromium/issues/detail?id=301 (Partially) The fixes are as below:- 1. Silverlight in the NPP_HandleEvent call for WM_PAINT, calls NPN_GetProperty for a bunch of properties like pageXOffset, pageYOffset, etc. It expects these properties to have integer types on return. We always return double. Firefox returns integer for these properties. Added a check in the conversion to NPVariant function in v8 to check for whether the value is an integer and return the intger type. 2. When the windowless plugin calls NPN_InvalidateRect we ask the plugin to paint in the same call, which the Silverlight plugin does not like. It relies on the fact that browsers would initiate invalidation asynchronously and eventually paint. This is a perfectly legal assumption. The Flash plugin does work if we synchronously ask it to paint. However other plugins could have similar issues. I verified with worldofwarcraft.com to see if the async paint has any sideeffects and there were none. 3.If the Silverlight plugin is not visible initially as on msdn.microsoft.com, it does not paint. This occurs because the plugin expects proper paints to come from the browser. It does not invalidate itself in UpdateGeometry as Flash. The plugin widget on msdn is not dynamic. It does call NPN_InvalidateRect initially when it is not visible. We don't send the call to the renderer as the plugin is not visible. To workaround this we now track the damaged rect even if the rect does not intersect the clipping rect of the plugin. In a geometry update if the plugin is visible, we send over the accumulated damaged rect to the renderer. The Silverlight plugin instance on msdn.microsoft.com does not work correctly even with these fixes. However it paints correctly. R=jam Bug=4272,301 Review URL: http://codereview.chromium.org/11492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5816 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a memory leak from the global plugin list as a knowntc@google.com2008-11-211-0/+255
| | | | | | | | | | | leak. It's always been this way, but when we refactored into chromium bridge as a wtf::vector of pointers, purify started to identify this as a leak. The change that this started happening was r5610. Review URL: http://codereview.chromium.org/11807 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5814 0039d316-1c4b-4281-b951-d872f2087c98
* Allow test_shell to open relative paths, like "test_shell ."dsh@google.com2008-11-211-2/+3
| | | | | | Review URL: http://codereview.chromium.org/11555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5813 0039d316-1c4b-4281-b951-d872f2087c98
* Update tests lists after 38500:38550 merge. TBR to greenify tree.ojan@google.com2008-11-211-2/+4
| | | | | | Review URL: http://codereview.chromium.org/11557 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5811 0039d316-1c4b-4281-b951-d872f2087c98
* Missed a usage of TestShellRequestContext. This one is allowed to behave asdarin@chromium.org2008-11-211-1/+1
| | | | | | | | | | before. TBR=tony Review URL: http://codereview.chromium.org/11338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5810 0039d316-1c4b-4281-b951-d872f2087c98
* Landing change by yury.semikhatsky@gmail.com to unfork inspector JS files.ojan@google.com2008-11-2131-12309/+286
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5808 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that we always use a direct connection to the internet when running indarin@chromium.org2008-11-213-9/+17
| | | | | | | | | | | layout test mode. This should help avoid some spurious errors caused by proxy servers. R=tony Review URL: http://codereview.chromium.org/11334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5807 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix linux build. We'll need to upstream this ifojan@google.com2008-11-211-1/+0
| | | | | | | this actually is the problem. Review URL: http://codereview.chromium.org/11556 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5805 0039d316-1c4b-4281-b951-d872f2087c98
* src/webkit side of merge 38500:38550.ojan@google.com2008-11-216-7/+11
| | | | | | Review URL: http://codereview.chromium.org/11551 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5803 0039d316-1c4b-4281-b951-d872f2087c98
* Shim in test_shell string resources needed for http:// tests.deanm@chromium.org2008-11-202-5/+138
| | | | | | | | We eventually need to figure out our localization / resources on Linux, but this will unblock some parallel work for now. Review URL: http://codereview.chromium.org/11553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5801 0039d316-1c4b-4281-b951-d872f2087c98
* Force the default GTK theme for layout tests.evanm@google.com2008-11-201-1/+9
| | | | | | | Review URL: http://codereview.chromium.org/11456 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5800 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/11606jcampan@chromium.org2008-11-201-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5799 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding the new autofill.jcampan@chromium.org2008-11-2019-708/+210
| | | | | | | | | I rolled it back yesterday, it broke the Linux and Mac builds. TBR=tim Review URL: http://codereview.chromium.org/11543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5796 0039d316-1c4b-4281-b951-d872f2087c98
* Fix layout tests that regressed by changing the resize corner. These tests ↵tc@google.com2008-11-2010-24/+60
| | | | | | | | | | needed a new image baseline. The last webkit merge also pulled in a new resize corner test. It's passing except for font differences to I rebaselined that as well. Review URL: http://codereview.chromium.org/11549 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5795 0039d316-1c4b-4281-b951-d872f2087c98
* Make the editor deletion UI work in layout test mode andtc@google.com2008-11-2011-25/+94
| | | | | | | | | | rebase 2 tests that use it. The only difference is font size. BUG=http://b/1124435 Review URL: http://codereview.chromium.org/11536 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5790 0039d316-1c4b-4281-b951-d872f2087c98
* Use the editor delegate in the GTK test shell.erg@google.com2008-11-201-0/+4
| | | | | | | | | This adds "EDITTING DELEGATE: " lines in the LayoutTest output. Review URL: http://codereview.chromium.org/11532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5788 0039d316-1c4b-4281-b951-d872f2087c98
* Disable some tests while I fix.tc@google.com2008-11-201-2/+3
| | | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/11545 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5787 0039d316-1c4b-4281-b951-d872f2087c98
* Change window_handle() to view_handle(). When disambiguating HWNDs, this was ↵avi@google.com2008-11-209-20/+20
| | | | | | | | turned into a ViewHandle but the name was never changed. This has been distracting me forever. Review URL: http://codereview.chromium.org/11528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5783 0039d316-1c4b-4281-b951-d872f2087c98
* src/webkit side of 38450:38500 merge.ojan@google.com2008-11-201-0/+3
| | | | | | Review URL: http://codereview.chromium.org/11537 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5781 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to using Apple's provided text area resizetc@google.com2008-11-205-37/+6
| | | | | | | | | corner graphic. This makes the resize corner look less janky when in classic mode. Review URL: http://codereview.chromium.org/11523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5777 0039d316-1c4b-4281-b951-d872f2087c98
* Changed test expectations to (hopefully) make debug layout tests happy.sgjesse@chromium.org2008-11-201-0/+3
| | | | | | | TBR=ager@chromium.org Review URL: http://codereview.chromium.org/11527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5774 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations after latest submit. Thatsgjesse@chromium.org2008-11-201-8/+0
| | | | | | | | | | | | | | | | LayoutTests/fast/forms/submit-to-url-fragment.html passes seems totally unrelated to my change. The non crashing of LayoutTests/svg/dynamic-updates/SVGEllipseElement-svgdom-cy-prop.html LayoutTests/svg/dynamic-updates/SVGEllipseElement-svgdom-ry-prop.html matches what I saw locally. These tests are flaky probably due to refcounting/V8 gc issues. Review URL: http://codereview.chromium.org/11526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5773 0039d316-1c4b-4281-b951-d872f2087c98
* Added GC protection support for objects with possible pending activity which ↵sgjesse@chromium.org2008-11-2011-21/+227
| | | | | | | | | | | | | | | | | | | | | | is only backed by weak wrappers. The objects which can have pending activity are XMLHttpRequest and MessagePort. In WebKit these two classes are both instances of ActiveDOMObject. In the V8 binding layer these two types of objects are now beeing tracked so that before GC their wrappers can be made not weak if there is currently pending activity. In addition to that MessagePort wrappers now have an additional internal field to reference their entangled port when entangled. Before MessagePort where added to WebKit pending activity for XMLHttpRequest was handled through a direct GC protect mechanism which protected/unprotected the object when its state changed. However, using this for MessagePort would require an GC protection check in each MessagePort message as the transition to/from pending is not as explicit as for XMLHttpRequest. Changed direct calls to dom_object_map().set(...) to use SetJSWrapperForDOMObject and added an ASSERT to check that SetJSWrapperForDOMObject is called with a DOM wrapper object. Changed the order of calls to SetDOMWrapper and SetJSWrapperForDOMObject to make sure that SetDOMWrapper is called first. This fixes 3 GC related layout tests chrome/fast/dom/xmlhttprequest-gc.html LayoutTests/fast/events/message-channel-gc-2.html LayoutTests/fast/events/message-channel-gc-3.html Added a chrome specific GC layout test for MessagePort (chrome/fast/dom/xmlhttprequest-gc.html) to match the existing one for XMLHttpRequest (chrome/fast/dom/xmlhttprequest-gc.html). This change forks MessagePort.cpp. Review URL: http://codereview.chromium.org/11205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5770 0039d316-1c4b-4281-b951-d872f2087c98
* fix pan scrollingtc@google.com2008-11-205-4/+54
| | | | | | | | | | The ScrollView tries to load an image before setting the cursor to a pan scroll cursor. Not sure why this is needed, but add the image so it works. Review URL: http://codereview.chromium.org/11302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5769 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build bustage.darin@google.com2008-11-201-1/+1
| | | | | | | TBR=sgjesse Review URL: http://codereview.chromium.org/11317 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5768 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed broken build - missing parameter to TestShell::InitLogging in test ↵sgjesse@chromium.org2008-11-201-1/+2
| | | | | | | | | shell tests. TBR=ager Review URL: http://codereview.chromium.org/11521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5766 0039d316-1c4b-4281-b951-d872f2087c98
* Add option --gp-fault-error-box to test shell and run_webkit_tests.py to ↵sgjesse@chromium.org2008-11-206-4/+26
| | | | | | | | enable the Windows GP fault dialog. This makes it easier to start debugging the crash in Visual Studio. Review URL: http://codereview.chromium.org/11273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5765 0039d316-1c4b-4281-b951-d872f2087c98
* Remove files that we no longer need after the last merge.ojan@google.com2008-11-204-169/+0
| | | | | | | | Mac build doesn't need to be updated. The CG equivalent files are already deleted. Review URL: http://codereview.chromium.org/11315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5762 0039d316-1c4b-4281-b951-d872f2087c98
* ZOMG. I'm clearly running out of steam. Actually get the expectations right ↵ojan@google.com2008-11-201-1/+1
| | | | | | | | this time. Review URL: http://codereview.chromium.org/11519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5761 0039d316-1c4b-4281-b951-d872f2087c98
* argh. get the text expectations right.ojan@google.com2008-11-201-1/+1
| | | | | | Review URL: http://codereview.chromium.org/11518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5760 0039d316-1c4b-4281-b951-d872f2087c98
* One last update to fixable list to get tree green. TBR.ojan@google.com2008-11-201-0/+1
| | | | | | Review URL: http://codereview.chromium.org/11314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5759 0039d316-1c4b-4281-b951-d872f2087c98
* More font metrics work for Linuxagl@chromium.org2008-11-203-2/+24
| | | | | | | | | | | * Add cursive and fantasy fonts (Comic Sans and Impact) * Pipe the height parameter from FreeType via skia * Another tweak to the metrics algorithms Review URL: http://codereview.chromium.org/11312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5758 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build.ojan@google.com2008-11-201-8/+0
| | | | | | Review URL: http://codereview.chromium.org/11311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5757 0039d316-1c4b-4281-b951-d872f2087c98
* Fix assert in debug. I had this change locally and forgot toojan@google.com2008-11-201-1/+2
| | | | | | | | | | include it in the CL that landed the merge. Fixes test_shell_tests crash as well. TBR to get tree green. Review URL: http://codereview.chromium.org/11517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5756 0039d316-1c4b-4281-b951-d872f2087c98
* We had a TIMEOUT expectation for this test before.ojan@google.com2008-11-201-4/+0
| | | | | | Review URL: http://codereview.chromium.org/11313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5755 0039d316-1c4b-4281-b951-d872f2087c98
* Update fixable list.ojan@google.com2008-11-201-0/+28
| | | | | | Review URL: http://codereview.chromium.org/11516 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5754 0039d316-1c4b-4281-b951-d872f2087c98
* non-third_party side of merge 38389:38450.ojan@google.com2008-11-2015-56/+42
| | | | | | Review URL: http://codereview.chromium.org/11301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5753 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/11513jcampan@chromium.org2008-11-201-227/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5751 0039d316-1c4b-4281-b951-d872f2087c98