summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixing the comment that was not included with the last cl.rvargas@google.com2008-08-291-0/+5
| | | | | | | TBR=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1554 0039d316-1c4b-4281-b951-d872f2087c98
* Add another disk cache performance test.rvargas@google.com2008-08-291-0/+45
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1553 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Split deleting old entries from the cache into small chunks that ↵rvargas@google.com2008-08-292-3/+13
| | | | | | | | | | | | run through the message loop to improve responsiveness of the io thread. BUG=1345851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1552 0039d316-1c4b-4281-b951-d872f2087c98
* This file should have been removed awhile ago when weaa@google.com2008-08-291-145/+0
| | | | | | | | | | | | | | upgraded SQLite. Removing now because WebCore will soon need sqlite in the include path and this file will then conflict with std::limits. See also: http://www.sqlite.org/cvstrac/chngview?cn=4091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1551 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the unit test when run from a MUI-Aware Vista installation and the ↵maruel@google.com2008-08-291-12/+36
| | | | | | current UI language is not the same as the installation language. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1549 0039d316-1c4b-4281-b951-d872f2087c98
* Exe/Dlls dependencies can be different between Chromium/Google Chrome. Add ↵rahulk@google.com2008-08-292-5/+35
| | | | | | | | | | | support for distribution specific dependencies in depedency checker. BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1548 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a logging level command line switchcpu@google.com2008-08-295-4/+24
| | | | | | | | - Adds --log-level=n with n=0,1,2,3 - Increases the default logging level from INFO to WARNING there is way too much noise there. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1547 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies the query parser to provide the position of the match in thesky@google.com2008-08-299-44/+145
| | | | | | | | | | | | title. I'm going to use this in the omnibox. There are a couple of other random spelling errors I came across that are included for your review pleasure. BUG=1256202 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1546 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the HistoryContentsProvider query bookmark titles. I nuked asky@google.com2008-08-295-64/+179
| | | | | | | | | | | couple of fields that I felt were redundant. I'm pretty sure I got the same logic, but you better stare at this to convince yourself. BUG=1256202 TEST=covered by unit tests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1545 0039d316-1c4b-4281-b951-d872f2087c98
* Fix net_unittests hang observed on Vista. It turns out that a subpump wasdarin@google.com2008-08-292-16/+6
| | | | | | | | | | | | | | | | | being run within shell32, which was causing our kHaveWorkMsg to get dispatched. However, because that was occuring outside the context of a MessagePump::Run call, the handler for kHaveWorkMsg was returning early. Unfortunately, this means that it was failing to reset the have_work_ sentinel to 0. Because of that future calls to ScheduleWork would always be a no-op (as they return early when have_work_ is already set to 1). The proper fix is to just re-order the calls so that ProcessPumpReplacementMessage always runs in response to kHaveWorkMsg, but we still suppress calling DoWork until we are inside MessagePump::Run. TBR=rvargas,jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two tests that expected en-US locale and were failing otherwise.maruel@google.com2008-08-292-4/+19
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1543 0039d316-1c4b-4281-b951-d872f2087c98
* Build against the system-provided NSS for SSL support.mmoss@google.com2008-08-291-4/+6
| | | | | | BUG=1343206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1542 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome strings.tc@google.com2008-08-294-15/+15
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1541 0039d316-1c4b-4281-b951-d872f2087c98
* Hack to keep vista net_unittests from hanging while I investigate a proper fix.darin@google.com2008-08-291-0/+11
| | | | | | | TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1540 0039d316-1c4b-4281-b951-d872f2087c98
* Have grit only try to output errors in ascii (replace chars > 127 withtc@google.com2008-08-291-1/+2
| | | | | | | | ?). Helps the scons build work. BUG=1350947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1539 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where it was possible for tab to get the wrong title. Camesky@google.com2008-08-292-9/+47
| | | | | | | | | | | | across this in investigating another problem. BUG=1307747 TEST=Create > 3 tabs. In the last one open the html file attached to 1305707. Click on the button. Rapidly drag the first tab in and out of the tab strip and make sure none of the remaining tabs get the wrong title. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1538 0039d316-1c4b-4281-b951-d872f2087c98
* A few changes to the channel changer:finnur@google.com2008-08-295-4/+4
| | | | | | | | | Replaced the incognito glasses with the new Chrome logo. Also changed the application icon to the Chrome app icon. Changed the project settings to statically link with the CRT to avoid side-by-side errors on Vista. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1537 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
* Fix disabled debugger project in JSC.pamg@google.com2008-08-291-0/+1
| | | | | | | | | TBR=sgjesse BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1533 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback 1529.rahulk@google.com2008-08-297-3/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1532 0039d316-1c4b-4281-b951-d872f2087c98
* fix build failurerahulk@google.com2008-08-291-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1531 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
* Last minute changes for Chromium.rahulk@google.com2008-08-296-12/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1529 0039d316-1c4b-4281-b951-d872f2087c98
* platform ifdefs for webview. Add platform_viewdefs to wrap things like HWNDs ↵pinkerton@google.com2008-08-2911-24/+146
| | | | | | 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
* We are not going to support win2k, so this test can always run.deanm@google.com2008-08-291-14/+2
| | | | | | BUG=1084719 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1527 0039d316-1c4b-4281-b951-d872f2087c98
* Made changes to the JavaScript debugger in preparing for an upcomingsgjesse@google.com2008-08-2915-104/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* SCons build: Generate the chromium_strings* and google_chrome_string*sgk@google.com2008-08-291-2/+21
| | | | | | | resource and .h files from their .grd files. TBR: rahulk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1525 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a test to avoid a MSVC warning as error about constant truncation.deanm@google.com2008-08-291-2/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1524 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
* Import upstream atomicop tests.deanm@google.com2008-08-293-0/+234
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1522 0039d316-1c4b-4281-b951-d872f2087c98
* Remove navigation_performance_viewer.{cc,h} from the SCons build,sgk@google.com2008-08-293-112/+1
| | | | | | | and for real. TBR: brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1521 0039d316-1c4b-4281-b951-d872f2087c98
* We don't need to support win2k, so we can always use rand_s. We can also ↵deanm@google.com2008-08-291-25/+2
| | | | | | use this for the non-secure case, which simplifies things since we shouldn't need to worry about threading anymore. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1520 0039d316-1c4b-4281-b951-d872f2087c98
* Bring back SimpleThread, but with a Delegate interface.deanm@google.com2008-08-296-0/+306
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1519 0039d316-1c4b-4281-b951-d872f2087c98
* fix base_unittets bustage observed on mac/linuxdarin@google.com2008-08-291-2/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1516 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
* fix purify errordarin@google.com2008-08-281-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1514 0039d316-1c4b-4281-b951-d872f2087c98
* Provide what looks like the minimal platform specific interface for skia. ↵erg@google.com2008-08-2810-4/+237
| | | | | | This will undoubtedly grow in the future. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1513 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in ClearBrowsingDataView that can only occur during thesky@google.com2008-08-282-6/+19
| | | | | | | | | | | | | | automated tests. If the window is closed while a removal is in progress the BrowsingDataRemover would be left with a reference to a deleted object. This can only happen during automated testing as while clearing is in progress we don't allow the user to close the dialog. BUG=1138705 TEST=covered by automated test bot git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1512 0039d316-1c4b-4281-b951-d872f2087c98
* Reading the comments on a later change, it seems I should have only used a ↵dsh@google.com2008-08-281-1/+1
| | | | | | copyright of 2008 on this new file, so this fixes it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1509 0039d316-1c4b-4281-b951-d872f2087c98
* We should not EXPECT to get a browser object or a window object, we should ↵finnur@google.com2008-08-283-13/+18
| | | | | | ASSERT that we got it (which ends the test on NULL pointers). Otherwise we continue on and crash when we try to use these pointers, such as when passing it into GetBrowserForWindow. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1508 0039d316-1c4b-4281-b951-d872f2087c98
* Forgotten unit test chanes.brettw@google.com2008-08-284-9/+17
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1507 0039d316-1c4b-4281-b951-d872f2087c98
* Make a step on refactoring navigation. The eventual plan is to have the ↵brettw@google.com2008-08-2812-255/+299
| | | | | | | | | | | | | NavigationController create and commit the new NavigationEntries (currently WebContents does a bunch of the details of this which is hard to understand and not easily testable). This tries to consolidate the logic that I want to move to the NavigationController without actually moving it there yet. I removed all of the "PreCommit" functions in WebContents, since when the NavigationController does all of the committing, there won't be a phase where the NavigationEntry exists but isn't committed. Most of the logic could be moved to the PostCommit functions without any problem, which is an indication that the current design was busted anyway. I had to precompute some data and pass it to the *PostCommit function to work around some of the components that required old data. I had to change InfoBars around since it relied on having both the committed and uncommitted entries, but I think the new design is much better anyway. BUG=1343593,1343146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1506 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tests that break with Chromium build.rahulk@google.com2008-08-283-3/+20
| | | | | | | BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1505 0039d316-1c4b-4281-b951-d872f2087c98
* If we receive an HTTP authentication header with a non-ASCIIwtc@google.com2008-08-281-3/+3
| | | | | | | | | | | | | realm string, the ASCIIToWide call in PopulateAuthChallenge hits a DCHECK failure. Change the ASCIIToWide call to a base::SysNativeMBToWide call, which produces the correct result when the OS "language for non-Unicode programs" is set to the language of the realm string. R=darin,jungshik BUG=1348130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1504 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
* Simplify OneShotTimer and RepeatingTimer. Fix up all consumers.darin@google.com2008-08-2828-259/+469
| | | | | | | | | | | | | | | | | | | | | | | | Major changes: OneShotTimer and RepeatingTimer become template classes that no longer require a Task or a Timer object. They just use PostDelayedTask. Under the hood that still uses a Timer object. The API is much simpler for consumers as they now no longer need to worry about allocating a Task or managing the lifetime of the object pointer held by the Task. I added some new unit tests to timer_unittest.cc to cover the API. I preserved the old TimerManager / Timer API for now, but I plan to soon kill it. R=brettw BUG=1346553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1502 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at fixing crash in TaskManager. I'm skeptical this is it, butsky@google.com2008-08-281-2/+2
| | | | | | | | | | it's worth a shot. BUG=1345092 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1501 0039d316-1c4b-4281-b951-d872f2087c98