summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Fix SCons build following r2490mark@chromium.org2008-09-231-11/+8
| | | | | | Review URL: http://codereview.chromium.org/4225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2507 0039d316-1c4b-4281-b951-d872f2087c98
* This CL enables the Page info menu when right-clicking on a page/frame.jcampan@chromium.org2008-09-233-5/+18
| | | | | | | | | | For the frame case, the SSL info had to be added to the show menu message (as the navigation entry contains the top frame SSL info). BUG=2467 TEST=Open a page over HTTPS with multiple frames. Right-click and select shot page info. Review URL: http://codereview.chromium.org/4034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2504 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed mis-used inline keyword in v8_proxy.h file. Linux build is broken ↵fqian@google.com2008-09-232-21/+15
| | | | | | | | because of this. Thanks for pointing it out. Review URL: http://codereview.chromium.org/4218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2495 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux compile issue. Patch by Adam Treat <treat@kde.org>.amanda@chromium.org2008-09-231-2/+2
| | | | | | | | | Original review at http://codereview.chromium.org/3170 Review URL: http://codereview.chromium.org/4043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2494 0039d316-1c4b-4281-b951-d872f2087c98
* turn on user agent code for macpinkerton@google.com2008-09-231-1/+1
| | | | | | Review URL: http://codereview.chromium.org/4213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2492 0039d316-1c4b-4281-b951-d872f2087c98
* Use static type information from IDL to streamline the wrapping and ↵fqian@google.com2008-09-2310-380/+521
| | | | | | | | | | | | | | | | | | | unwrapping process between DOM nodes and JS objects. The basic idea is that, IDL files provide static type information. Certain types, such as subtypes of Node, only need 'NODE' has type for wrapping and unwrapping. So, intead of going through a gigatic switch statement, IDL compiler generates fast path for know types, the CL only does it for Node and subtypes. I have seen it improves DOM-peerable example by 5% when running standalone, and 35% when running with whole Dromaeo tests. I missed the another point of this CB. It removed expensive MaybeDOMWrapper checks in production code. It contributes a lot to the overhead. Review URL: http://codereview.chromium.org/3195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2490 0039d316-1c4b-4281-b951-d872f2087c98
* initialize the command line singletonpinkerton@google.com2008-09-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/4038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2484 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the icu38 revision in the DEPS file to change the name ofsgk@google.com2008-09-232-2/+2
| | | | | | | | | our combined-build icuuc.lib to icu.lib. Change solution file references accordingly. Also change libxml patch and Makefile references Review URL: http://codereview.chromium.org/4027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2480 0039d316-1c4b-4281-b951-d872f2087c98
* Move Peerable to its own file and use single inheritance forager@google.com2008-09-234-16/+33
| | | | | | | NonCopyable. Review URL: http://codereview.chromium.org/4209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2479 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land SDCH filter support experimentjar@google.com2008-09-232-0/+18
| | | | | | | | | | | Fix up solution files for webkit and net Add one line keyword change to help linux build r=hunanr,openvcdiff,nsylvain Review URL: http://codereview.chromium.org/4026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2469 0039d316-1c4b-4281-b951-d872f2087c98
* Missed file in webkitjam@chromium.org2008-09-221-3/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2461 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the following bugs:-iyengar@google.com2008-09-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.http://code.google.com/p/chromium/issues/detail?id=292 This was a painting issue in the XStandard plugin. The bug occurs in a windowed instance of the plugin. We handle window repositions in the plugin process until the window becomes visible. We set the SWP_NOREDRAW flag in the SetWindowPos call. This turns off client/non-client paints. After the SetWindowPos call we invalidate the client area. The plugin only receives WM_PAINT as a result. The plugin relies on the WM_NCPAINT message being received as well. In any case the SWP_NOREDRAW flag does not buy us much as we invalidate immediately after. The fix is to take out this flag. 2.http://code.google.com/p/chromium/issues/detail?id=2556 The plugin invoked the NPN_GetValue function to retreive the window script object. This call fails in this case probably because the plugin instance in the renderer process is in the process of shutting down. We return a failure from the call. The plugin fails to check the return code and ends up invoking NPN_GetProperty on a NULL NPObject which causes a crash in chrome when we try to create a proxy for the same. The fix is to add NULL NPObject checks in the NPObjectProxy members and return early. Bug=292,2556 R=jam Review URL: http://codereview.chromium.org/3176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2429 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure webkit/port and webkit/glue are in lower case because libGlue.a ↵tc@google.com2008-09-192-3/+3
| | | | | | looks funny. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2410 0039d316-1c4b-4281-b951-d872f2087c98
* Add empty stub to get classname so ImageMac can use it.pinkerton@google.com2008-09-192-2/+26
| | | | | | Review URL: http://codereview.chromium.org/3169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2409 0039d316-1c4b-4281-b951-d872f2087c98
* windows.h isn't needed, remove itpinkerton@google.com2008-09-191-1/+0
| | | | | | Review URL: http://codereview.chromium.org/3168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2407 0039d316-1c4b-4281-b951-d872f2087c98
* add computePageRectsForFrame from FrameWin to resolve a link error. pinkerton@google.com2008-09-191-0/+52
| | | | | | Review URL: http://codereview.chromium.org/3167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2405 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the fixes for the UI test single-process mode in the NPAPIiyengar@google.com2008-09-192-19/+1
| | | | | | | | | | tests. The offending Stream test has been disabled in single-process mode TBR=jam Review URL: http://codereview.chromium.org/3166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2404 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the NPAPI ui test failures in single-process mode.These tests ↵iyengar@google.com2008-09-192-2/+19
| | | | | | | | | | | | fail because of a crash in chrome.exe. This occurs because of an attempt to access member variables in the PluginStream object after it gets deleted in the context of NPP_NewStream. This crash only occurs in single-process mode as the NPN_GetURLNotify call executes synchronously. Added a mechanism to track if the PluginStream object is deleted in the context of NPP_NewStream. TBR=jam Review URL: http://codereview.chromium.org/2984 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2401 0039d316-1c4b-4281-b951-d872f2087c98
* This CB fixes the following issue1. ↵iyengar@google.com2008-09-1921-168/+520
| | | | | | | | http://code.google.com/p/chromium/issues/detail?id=206This is a performance issue while loading PDF documents. The fix is to support PDF fast webview, which is basically support for the NPN_RequestRead API, which allows a plugin to request specific byte ranges in HTTP GET requests. This also needs support for seekable streams. Our support for seekable streams is limited to HTTP servers which allow byte range requests. Firefox also supports a mode in which the the browser caches the file on disk for servers which don't support byte range requests. The plugin_data_stream.cc/.h files are being removed as there is not much value in their existence. The needed functionality is available in the PluginStreamUrl class, which now services manual data streams as well. Testing this is a touch tricky as we need a HTTP server which serves byte range requests. Will add those in a subsequent CB.Also fixed a bug in the multipart parser where we need to ignore leading newline characters while parsing the header.Bug=206 Review URL: http://codereview.chromium.org/2896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2400 0039d316-1c4b-4281-b951-d872f2087c98
* Fix whitespace back to before I screwed it up.evanm@google.com2008-09-191-129/+129
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2397 0039d316-1c4b-4281-b951-d872f2087c98
* Link TestShell against libevent, now required. Turn off objc-gc setting inmark@chromium.org2008-09-181-13/+84
| | | | | | | this file because it now comes from the xcconfig. Clean up ugly backslashes. Review URL: http://codereview.chromium.org/3158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2386 0039d316-1c4b-4281-b951-d872f2087c98
* Bring X.509 cert handling (at least preliminarily) to the Mac.avi@google.com2008-09-181-0/+4
| | | | | | Review URL: http://codereview.chromium.org/2963 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2369 0039d316-1c4b-4281-b951-d872f2087c98
* Order of initialization should match declaration. Fixes gcc build break:mmoss@google.com2008-09-171-3/+2
| | | | | | | | | | webkit/glue/webpreferences.h:44: warning: 'WebPreferences::user_style_sheet_enabled' will be initialized after webkit/glue/webpreferences.h:40: warning: 'bool WebPreferences::allow_scripts_to_close_windows' webkit/glue/webpreferences.h:52: warning: when initialized here Review URL: http://codereview.chromium.org/2947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2336 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new switch: --allow-scripts-to-close-windows.patrick@chromium.org2008-09-1710-2/+39
| | | | | | | | | With this switch, window.close() will always be enabled. Currently the switch is only available in test_shell. Review URL: http://codereview.chromium.org/2915 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2333 0039d316-1c4b-4281-b951-d872f2087c98
* Put ResourceLoaderMac back in (for now). It provides an impl we need until ↵avi@google.com2008-09-171-0/+2
| | | | | | | | we can pull this prototype upstream. Review URL: http://codereview.chromium.org/2930 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2307 0039d316-1c4b-4281-b951-d872f2087c98
* add a new xcconfig to build c++ files as obj-c++ to ensure correct linkage. ↵pinkerton@google.com2008-09-173-3/+17
| | | | | | | | Be more specific when using an overloaded operator since objective-c++ finds conflicts. Enable objective-C GC in our common config file for all projects. Review URL: http://codereview.chromium.org/2912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2305 0039d316-1c4b-4281-b951-d872f2087c98
* Convert CG images to Skia to draw.avi@google.com2008-09-171-0/+52
| | | | | | Review URL: http://codereview.chromium.org/3088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2304 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where we could write MAX_PATH + 1 to the clipboard. I camesky@google.com2008-09-161-9/+10
| | | | | | | | | | | | across this when tracking down previous fix. Allowing MAX_PATH + 1 causes a DCHECK to be hit when we read back from the clipboard. BUG=none TEST=none Review URL: http://codereview.chromium.org/3023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2286 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap a reference to a debug-only member variable with #ifndef NDEBUG inamanda@chromium.org2008-09-161-0/+2
| | | | | | | order to fix release Mac builds Review URL: http://codereview.chromium.org/2908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2284 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out a11y routines for mac for linkingpinkerton@google.com2008-09-162-2/+72
| | | | | | Review URL: http://codereview.chromium.org/2903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2274 0039d316-1c4b-4281-b951-d872f2087c98
* Unignore most warnings on POSIX in build/SConscript.main.evanm@google.com2008-09-1610-30/+53
| | | | | | | | | BUG=2053 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2272 0039d316-1c4b-4281-b951-d872f2087c98
* More linkage (stubbing out willCacheResponse()) for nowavi@google.com2008-09-163-26/+37
| | | | | | Review URL: http://codereview.chromium.org/2900 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2271 0039d316-1c4b-4281-b951-d872f2087c98
* Address missing methods in forked FontCache.h header without forking entire ↵pinkerton@google.com2008-09-162-2/+88
| | | | | | | | implementation for mac. Turn off buliding resource loader we're not using. Review URL: http://codereview.chromium.org/2897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2268 0039d316-1c4b-4281-b951-d872f2087c98
* If gperf fails, this script marches on and causes a mystery failure later. ↵evanm@google.com2008-09-161-1/+1
| | | | | | So catch failure here and die. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2264 0039d316-1c4b-4281-b951-d872f2087c98
* Add one more function; tweak since "HWND" isn't really a window...avi@google.com2008-09-161-1/+10
| | | | | | Review URL: http://codereview.chromium.org/2894 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2263 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Mac build; we can't pull that one line until it's fixed all the way ↵avi@google.com2008-09-161-1/+4
| | | | | | | | | | down the WebCore chain. TBR Review URL: http://codereview.chromium.org/2893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2262 0039d316-1c4b-4281-b951-d872f2087c98
* Link fixing.avi@google.com2008-09-162-2/+6
| | | | | | Review URL: http://codereview.chromium.org/2871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2259 0039d316-1c4b-4281-b951-d872f2087c98
* Make navigator.language depend on the current UI language of Chrome rather thanjungshik@google.com2008-09-161-25/+4
| | | | | | | | | | | | the UI language of the Windows. BUG=1862 TEST=Switch the Chrome UI language to pt-PT, fr, ja, etc and try 1862test.html (attached to issue 1862). navigator.language should be pt-PT, fr, ja. Review URL: http://codereview.chromium.org/3073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2250 0039d316-1c4b-4281-b951-d872f2087c98
* All these tests are failing in the jail.nsylvain@chromium.org2008-09-151-0/+57
| | | | | | | this is covered by issue 2303, 2304, 2306, 2307 Review URL: http://codereview.chromium.org/2868 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2244 0039d316-1c4b-4281-b951-d872f2087c98
* First stab at lib dependenciesavi@google.com2008-09-152-1/+396
| | | | | | Review URL: http://codereview.chromium.org/3065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2235 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue http://code.google.com/p/v8/issues/detail?id=43fqian@google.com2008-09-154-16/+39
| | | | | | | | Image & Option functions should have precendence than document elements. Review URL: http://codereview.chromium.org/1968 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2232 0039d316-1c4b-4281-b951-d872f2087c98
* Add test shell WebView and WebWidget host classes. This are stopgaps andamanda@chromium.org2008-09-155-4/+1144
| | | | | | | | are subject to change as the rest of the rendering and event handling paths come together. Review URL: http://codereview.chromium.org/3062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2230 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the link paths.avi@google.com2008-09-151-4/+12
| | | | | | Review URL: http://codereview.chromium.org/3061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2228 0039d316-1c4b-4281-b951-d872f2087c98
* Make jsbindings target depend on libxml_config (r=me/pink)mark@chromium.org2008-09-151-0/+85
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2227 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to test shell on Mac.avi@google.com2008-09-153-123/+95
| | | | | | Review URL: http://codereview.chromium.org/2809 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2226 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a temp copy of the WebKit SPI files. These are the ones corresponding ↵avi@google.com2008-09-155-6/+329
| | | | | | | | to the 3.1 branch, r31616. The ones corresponding to the new WebCore are already in there, and when they land this copy will be deleted. Review URL: http://codereview.chromium.org/2853 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2219 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off ActiveX for non-Windows platformsavi@google.com2008-09-152-1/+9
| | | | | | Review URL: http://codereview.chromium.org/2814 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2216 0039d316-1c4b-4281-b951-d872f2087c98
* Update overridden function signature for the test to bring it in sync with mybrettw@google.com2008-09-142-4/+2
| | | | | | | last change to context menu encodings. Review URL: http://codereview.chromium.org/2831 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2190 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string conversions for Mac build bustagebrettw@google.com2008-09-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/2824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2162 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cygwin posix access control emulation on Vista. It's broken.maruel@google.com2008-09-131-0/+3
| | | | | | Review URL: http://codereview.chromium.org/3033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2160 0039d316-1c4b-4281-b951-d872f2087c98