summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Initial changes to get WebCore to compile on linux. This depends on a heap ↵tc@google.com2008-09-021-36/+69
| | | | | | of other changes including the webkit merge. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1642 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass at simple event tracing. I added a few traces to tcp_socket ↵erikkay@google.com2008-09-026-1/+31
| | | | | | | | | | | | and test_shell to get an idea of what a simple trace might look like. Here's a sample output line: 11:24:19.660604 0x1e278:0x1e24c BEGIN url.load [0x5 http://mail.google.com/mail/] <E:\src\cr\src\webkit\tools\test_shell\test_webview_delegate.cc:189> format is:hh:mm:ss.us pid:tid TYPE NAME [id, extra] <file:line> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1641 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of Mac project (no, it doesn't build)avi@google.com2008-09-0210-0/+4228
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove last minute #define and change UA string to Chromemal@google.com2008-09-021-2/+2
| | | | | | | | | on trunk. BUG=1431137 TBR= darin@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1625 0039d316-1c4b-4281-b951-d872f2087c98
* Update Copyright text in SCons config files.sgk@google.com2008-09-0116-608/+224
| | | | | | TBR: beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1607 0039d316-1c4b-4281-b951-d872f2087c98
* Switch SharedTimerWin over to using PostDelayedTask. I made some tweaks to thedarin@google.com2008-08-302-40/+16
| | | | | | | | | | | | | PostDelayedTask implementation to ensure that perf is still good. This involved recording the intended fire time of PostDelayedTask on the Task object so that it can be used to properly determine the delay passed to the StartTimer call. With this change, I am able to service timers (call DoDelayedWork) more often from within the MessagePump implementations. R=mbelshe BUG=1346553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1578 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: turns out I need to initialize UErrorCode before passing to ↵dglazkov@google.com2008-08-291-1/+1
| | | | | | uscript_getScript. Thanks, Purify (and erikkay!) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1570 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily moved Font::isCJKCodePoint back to SimpleFontData::isCJKCodePointdglazkov@google.com2008-08-294-14/+18
| | | | | | | TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1558 0039d316-1c4b-4281-b951-d872f2087c98
* Makes sure that debug-only layout test failures are not to the ZERO WIDTH ↵dglazkov@google.com2008-08-299-86/+168
| | | | | | | | | | | SPACE mapping to SPACE glyph complaints (http://b/1317563), fixes a layout test (fast/text/zero-width-characters.html), and provides an updated patch for WebKit.org bug 20237 (https://bugs.webkit.org/show_bug.cgi?id=20237). This change brings handling of the ZWS and CJK character widths down to the level of SimpleFontData by creating special (sub-classed) SimpleFontData objects that are used in GlyphData. These instances are created when the glyph cache is being filled (GlyphPage::fill). More better things are possible, but at the moment I thought it might be good to just get the basics right. Also, a couple of the layout tests are brought back to pre-font-metric-hacks removal versions. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1557 0039d316-1c4b-4281-b951-d872f2087c98
* a couple more minor tweaks, rs=mmentovaipinkerton@google.com2008-08-291-11/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1535 0039d316-1c4b-4281-b951-d872f2087c98
* Remove KJS targets/bindings and V8 target that didn't use Chromium's ↵pinkerton@google.com2008-08-291-17440/+120
| | | | | | resource loaders. We're removing the training wheels, it's net/ or nothing! git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1534 0039d316-1c4b-4281-b951-d872f2087c98
* changes to get webCore building and some more changes for glue.pinkerton@google.com2008-08-291-8/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1530 0039d316-1c4b-4281-b951-d872f2087c98
* platform ifdefs for webview. Add platform_viewdefs to wrap things like HWNDs ↵pinkerton@google.com2008-08-2910-24/+108
| | | | | | to keep APIs more crossplatform. Fix uses of PlatformCanvasWin to just use PlatformCanvas. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1528 0039d316-1c4b-4281-b951-d872f2087c98
* Made changes to the JavaScript debugger in preparing for an upcomingsgjesse@google.com2008-08-292-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change in V8 where the implicit breaks currently issued when receiving a command while running will be removed. To get in contact with the V8 debugging interface and send messages V8 needs to be in the break state. Getting V8 into the break state will be the responsebility of the debugger using the V8 debugging interface. Changed the messages between the renderer and the debugger. There are now explicit messages for break and detach. Alse renamed the SendToDebugger message to DebugCommand. There is now messages DebugAttach, DebugBreak, DebugCommand and DebugDetach. The message DebugBreak has a force flag to indicate whether the renderer should issue some JavaScript to help the break along or whether it should just schedule a break to happen whenever JavaScript executes. Removed the artificial attach JSON response send by the renderer and replaced that with an on debug attach call to the debugger shell. This call is reouted to the on_attach function in the debugger JavScript code. Changed the debugger to issue break requests whenever a suitable command, e.g. setting a break point, is issued. In this case a flag is used to track whether execution should be automatically resumed after the command have been send to the V8 debugger interface. Changed the handling of the plain break event to not force a break by executing additional JavaScript. Thereby a plain break does not break JavaScript execution until code on the tab beeing debugged is actually executed. Set the command name explicitly on all commands. Removed parseSimpleCommand as it was just used for the the continue command for which an explicit parseContinueCommand has been added. Removed the last_command field from DebugShell as it was not used. Updated the debugger protocol test to reflect the removed attach event. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1526 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SCons-based webkit build on Windows (broken by the Linuxsgk@google.com2008-08-291-10/+21
| | | | | | | | | | | | command-line changes) by using portable SCons idioms: * Side-step command-line differences by using a Python function as a build action to generate a .h file by surrounding the contents of the yacc-generated .hpp file with a #ifndef-#define-#endif guard. * Use the pre-defined Delete() ActionFactory to let SCons delete the .hpp file directly, instead of calling "rm" to do it. TBR: evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1523 0039d316-1c4b-4281-b951-d872f2087c98
* Get a good piece of port building under Linux.erg@google.com2008-08-296-93/+105
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1515 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run the big script every time.erg@google.com2008-08-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1503 0039d316-1c4b-4281-b951-d872f2087c98
* Forgotten a rebaselined testcase.dglazkov@google.com2008-08-281-0/+29
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1500 0039d316-1c4b-4281-b951-d872f2087c98
* Another layout test fix. Technically, this is a test_shell tweak to avoid ↵dglazkov@google.com2008-08-289-18/+9
| | | | | | frame focus-related side effects when tests are run in a sequence. For more information, see http://b/issue?id=845337This change also restores the baseline of frame-click-focus-expected test to the original one by Apple WebKit. See http://b/issue?id=759889 for details. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1497 0039d316-1c4b-4281-b951-d872f2087c98
* The GetWindowRect must return the rect of the container HWND; not the actual ↵erg@google.com2008-08-284-3/+16
| | | | | | | | | | window rect. The usage of GetWindowRect in the ChromeClientImpl::windowRect() function is erroneous, and my modification of GetWindowRect to return the HWND's root ancestor rect broke drop down combo boxes and other embeded controls. So instead, add a GetRootWindowRect which gets the root anncestor of the HWND's rect and use it in ChromeClientImpl::windowRect(). BUG=1344367,1186573,1334505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1496 0039d316-1c4b-4281-b951-d872f2087c98
* Bring EventHandlerMac.mm over from WebKit to port so that we can turn off ↵avi@google.com2008-08-281-0/+641
| | | | | | some of the direct layer-breaking behavior that Apple provides. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1485 0039d316-1c4b-4281-b951-d872f2087c98
* The main thread of test_shell.exe needs to have a UI message loop.darin@google.com2008-08-281-1/+1
| | | | | | I overlooked this in my previous CL that introduced the different ML types. This actually has no functional impact today since the ML does not yet do anything based on the selected ML type. But, it soon will! git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1483 0039d316-1c4b-4281-b951-d872f2087c98
* Check the return value of GetFontUnicodeRange. If it fails, call ↵jungshik@google.com2008-08-281-1/+14
| | | | | | | | | | | | | | | EnsureFontLoaded (to load font in the browser process) and try again. Google Georgian is the easiest to reproduce and test, but a similar symptom was reported for Chinese and Japanese pages. BUG=1346275 TEST=In Simplified Chinese XP VM, go to http://www.google.ge and see Georgian characters are rendered correctly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1477 0039d316-1c4b-4281-b951-d872f2087c98
* [1 of 3] Get rid of test_shell/resources/fonts/*ericroman@google.com2008-08-272-44/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1472 0039d316-1c4b-4281-b951-d872f2087c98
* Move std::string16 to base::string16. Don't pollute the std namespace. Don'tmmentovai@google.com2008-08-274-11/+11
| | | | | | assume that all string types can be represented as std::basic_string<CHAR>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1464 0039d316-1c4b-4281-b951-d872f2087c98
* Use correct decls for non-windows platforms. Create a platform-neutral ↵pinkerton@google.com2008-08-271-4/+4
| | | | | | wrapper for everyone to use. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1463 0039d316-1c4b-4281-b951-d872f2087c98
* For RenderThemeMac.h into pending and create new RenderThemeMac in port to ↵pinkerton@google.com2008-08-273-13/+1755
| | | | | | impl our version. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1459 0039d316-1c4b-4281-b951-d872f2087c98
* include basictypes for mac/linuxpinkerton@google.com2008-08-271-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1453 0039d316-1c4b-4281-b951-d872f2087c98
* include config.h first otherwise bad things happenpinkerton@google.com2008-08-271-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1452 0039d316-1c4b-4281-b951-d872f2087c98
* add stub for ScrollViewMac to build in platform/macpinkerton@google.com2008-08-272-12/+221
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1450 0039d316-1c4b-4281-b951-d872f2087c98
* Forking ResourceResponseBase into pending until we can push it upstream to ↵pinkerton@google.com2008-08-272-1/+252
| | | | | | WebKit, which we can't do until we go open. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1447 0039d316-1c4b-4281-b951-d872f2087c98
* use the correct string converstion utilpinkerton@google.com2008-08-271-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1437 0039d316-1c4b-4281-b951-d872f2087c98
* make reference parameters const.pinkerton@google.com2008-08-273-15/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1436 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of code-driven binding template configuration to a data-driven ↵deanm@google.com2008-08-273-43/+139
| | | | | | approach. This reduces the code size, and the overall binary size. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1435 0039d316-1c4b-4281-b951-d872f2087c98
* Debug only test failures must be marked as PASS | FAILerikkay@google.com2008-08-261-10/+17
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1407 0039d316-1c4b-4281-b951-d872f2087c98
* use the correct string conversion. pinkerton@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1402 0039d316-1c4b-4281-b951-d872f2087c98
* Use appropriate string conversion on |url_|.pinkerton@google.com2008-08-261-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1401 0039d316-1c4b-4281-b951-d872f2087c98
* mac-only changes to get shared data buffer for the pasteboard. I don't know ↵pinkerton@google.com2008-08-261-0/+4
| | | | | | why this was removed from our version, but mac needs it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1400 0039d316-1c4b-4281-b951-d872f2087c98
* use append instead of helper function that has gone away in our version.pinkerton@google.com2008-08-261-0/+321
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1399 0039d316-1c4b-4281-b951-d872f2087c98
* Change DNS-Prefetch-Control header and meta directive to X-DNS-Prefetch-Control.jackson@google.com2008-08-262-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1396 0039d316-1c4b-4281-b951-d872f2087c98
* With ERROR and FATAL errors now printing to stderr, some layout tests are ↵erikkay@google.com2008-08-261-0/+17
| | | | | | | | | | | | | | breaking. Add those to the fixable list. BUG=1343647 BUG=1344760 BUG=1345328 BUG=1345343 BUG=1345349 BUG=1345351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1395 0039d316-1c4b-4281-b951-d872f2087c98
* Add UTF8 <-> UTF-16 conversion functions, and a WebCore::String -> ↵brettw@google.com2008-08-262-14/+25
| | | | | | std::string function. We already have a std::string -> WebCore::String function. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1393 0039d316-1c4b-4281-b951-d872f2087c98
* forks webcoreframebridge (as a stopgap, it no longer exists in ToT webkit) ↵pinkerton@google.com2008-08-262-9/+264
| | | | | | and stops building the associated .mm so we don't get hundreds of errors. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1392 0039d316-1c4b-4281-b951-d872f2087c98
* Forking webkit sources for clipboard/drag impl on Mac. It's almost exactlypinkerton@google.com2008-08-264-0/+1618
| | | | | | | the same as before except removing anything that uses the objc DOM bindings, which we don't have. So it's like one change in each file, more or less. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1391 0039d316-1c4b-4281-b951-d872f2087c98
* can't forward declare enums outside MSVC.pinkerton@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1390 0039d316-1c4b-4281-b951-d872f2087c98
* need to include config.h firstpinkerton@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1386 0039d316-1c4b-4281-b951-d872f2087c98
* Mac-ify webinputeventavi@google.com2008-08-266-22/+220
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1382 0039d316-1c4b-4281-b951-d872f2087c98
* Allow consumers of MessageLoop to specify the type of MessageLoop they want.darin@google.com2008-08-262-5/+7
| | | | | | | | | | | | | | | | This CL introduces a Type enum to MessageLoop, and I also created subclasses of MessageLoop corresponding to the non-default types: MessageLoopForIO and MessageLoopForUI. I moved all of the platform-specific MessageLoop APIs onto either MessageLoopForIO or MessageLoopForUI. MessageLoopForIO gets the Watcher API, and MessageLoopForUI gets the Observer and Dispatcher APIs. Under the hood, both are implemented in terms of MessagePumpWin, but that will change in a future CL. The Thread class is changed to allow the consumer to specify the Type of MessageLoop they want to have setup on the created thread. I re-organized message_loop_unittest.cc and timer_unittest.cc so that I could exercise all (or most) of the tests against each type of MessageLoop. Note: I know that "explicit MessageLoop(Type type = TYPE_DEFAULT);" is in violation to the style-guide's restriction against default arguments. I'm working on finding a decent solution to that problem. Please ignore this issue for now. The corresponding chrome/ changes are coming in a separate CL due to Reitveld data size limitations. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1362 0039d316-1c4b-4281-b951-d872f2087c98
* Some more glue code for the personalization module.ericcheng@google.com2008-08-264-0/+33
| | | | | | | | Added ability to invoke a method on an NPObject wrapped in a CppVariant. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1359 0039d316-1c4b-4281-b951-d872f2087c98
* Move subdirectory skipping from being in the DEPS file of the directory to ↵brettw@google.com2008-08-262-2/+4
| | | | | | | | skip and instead have in in the parent. This allows us to pull third-party sources or external repositories and not have to make them add a DEPS file for our deps checker. BUG=1342686 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1358 0039d316-1c4b-4281-b951-d872f2087c98