summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve DOM object mark-compact object grouping.deanm@chromium.org2008-12-112-7/+54
| | | | | | | | | | | | | | | The previous performance was O(n^2), due to how the interface delegated grouping by id to v8. Now v8 has been changed to make the grouping the caller's responsibility. We now do the grouping in the bindings, aiming for performance and scaling with many groups: - Don't try to group as we are processing, do one final pass to group the objects together. - Ignore object groups with a single element. They have nothing else to keep alive. This change includes DEPS to bring in the v8 changes. Review URL: http://codereview.chromium.org/13342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6782 0039d316-1c4b-4281-b951-d872f2087c98
* Roll deps to include http://codereview.chromium.org/13705.sgjesse@chromium.org2008-12-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/13737 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6781 0039d316-1c4b-4281-b951-d872f2087c98
* Documenting the bug id of a layout test.olehougaard@google.com2008-12-111-1/+2
| | | | | | Review URL: http://codereview.chromium.org/13735 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6779 0039d316-1c4b-4281-b951-d872f2087c98
* Add KillAllTestShells() to match platform_utils_win.py.mmoss@google.com2008-12-111-0/+6
| | | | | | | Review URL: http://codereview.chromium.org/13684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6778 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a handful of related bookmark manager bugs/requests:sky@google.com2008-12-118-11/+116
| | | | | | | | | | | | | | | . Adds a search field before the text field. . When the search node is selected and there are no results or no search text, a descriptive label is drawn on top of the table telling the user what's happening. . In the bookmark menus Edit... is now Rename... for folders. BUG=5272 5319 5273 4165 TEST=see individual bugs Review URL: http://codereview.chromium.org/13724 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6777 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes two session restore bugs:sky@google.com2008-12-112-2/+17
| | | | | | | | | | | | | | | | . If the user launches incognito we don't attempt to restore last session and instead just do default launch behavior (new tab page). . Don't show the session restore info bar when launched incognito. I'm assuming that if the user launched in incognito they were previously running incognito so that there is nothing to restore. BUG=4381 5119 TEST=turn on session restore and launch with --incognito, make sure the incognito window comes up. Review URL: http://codereview.chromium.org/13368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6776 0039d316-1c4b-4281-b951-d872f2087c98
* Undo part of issue 12981.estade@chromium.org2008-12-111-1/+3
| | | | | | Review URL: http://codereview.chromium.org/13369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6775 0039d316-1c4b-4281-b951-d872f2087c98
* Use the proper WebKit feature defines when building TestShell andmark@chromium.org2008-12-111-12/+14
| | | | | | | test_shell_tests. Review URL: http://codereview.chromium.org/13359 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6774 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a bunch of rebaselined tests as passing.evanm@google.com2008-12-111-52/+48
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6772 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffle some comments (no functional change).evanm@google.com2008-12-111-10/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6771 0039d316-1c4b-4281-b951-d872f2087c98
* Clip the scrollbars on linux.estade@chromium.org2008-12-115-15/+23
| | | | | | | | And rebaseline the image on a layout test that now passes. Review URL: http://codereview.chromium.org/13728 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6770 0039d316-1c4b-4281-b951-d872f2087c98
* Mark fast/encoding/char-decoding-mac.html for SKIP becausejungshik@google.com2008-12-111-2/+3
| | | | | | | | | | we never want to support legacy mac encodings other than MacRoman. (although we include MacCyrillic data in our ICU for now). Review URL: http://codereview.chromium.org/13365 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6769 0039d316-1c4b-4281-b951-d872f2087c98
* Added std::string to Value via Set/GetString overloading.scherkus@chromium.org2008-12-113-9/+99
| | | | | | | | | | All input is converted to UTF-8. Output is converted back to wide during std::wstring version of GetString(). This is part one of some more patches to come where I switch clients over to UTF-8 strings. Review URL: http://codereview.chromium.org/13230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6768 0039d316-1c4b-4281-b951-d872f2087c98
* Update comments about security origin implementation.fqian@google.com2008-12-111-1/+23
| | | | | | Review URL: http://codereview.chromium.org/13362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6767 0039d316-1c4b-4281-b951-d872f2087c98
* Missed this file in my previous cleanup patch.pkasting@chromium.org2008-12-111-2/+2
| | | | | | Review URL: http://codereview.chromium.org/13729 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6766 0039d316-1c4b-4281-b951-d872f2087c98
* After deleting the bogus Windows baseline for svg/smallFont, there areagl@chromium.org2008-12-111-1/+2
| | | | | | | no baselines! (Mac is missing theirs.) Thus, skip the test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6765 0039d316-1c4b-4281-b951-d872f2087c98
* Only allow bookmark keyboard shortcut for tabbed browsers.sky@google.com2008-12-111-1/+9
| | | | | | | | | BUG=5055 TEST=make sure control-d does nothing for apps and popup windows Review URL: http://codereview.chromium.org/13363 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6764 0039d316-1c4b-4281-b951-d872f2087c98
* Build ipc_tests on linux.tc@google.com2008-12-113-12/+36
| | | | | | | Review URL: http://codereview.chromium.org/13366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6762 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt at adding setSmartInsertDeleteEnabled andtc@google.com2008-12-117-6/+86
| | | | | | | | | | setSelectTrailingWhitespaceEnabled. Now we allow both to be true because that's what we do on Windows. Review URL: http://codereview.chromium.org/13213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6761 0039d316-1c4b-4281-b951-d872f2087c98
* Better build bustage fix: Commit the rest of the original patch. Rolls back ↵pkasting@chromium.org2008-12-114-29/+33
| | | | | | the previous blind fix I tried. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6760 0039d316-1c4b-4281-b951-d872f2087c98
* Blind attempt at build fix. I don't know why this should be necessary.pkasting@chromium.org2008-12-111-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6759 0039d316-1c4b-4281-b951-d872f2087c98
* Make the autocomplete system and various other connected bits of code use ↵pkasting@chromium.org2008-12-1027-273/+296
| | | | | | | | GURL instead of wstring where appropriate. Original patch by phajdan.jr@gmail.com, r=me,sky. See http://codereview.chromium.org/13205 . BUG=715234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6758 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate and fix baselines for a few more tests.evanm@google.com2008-12-105-7/+31
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6757 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: round font ascentsagl@chromium.org2008-12-101-1/+1
| | | | | | | | | | This is obviously black magic but appears to be slightly more correct then the previous code for layout tests. Review URL: http://codereview.chromium.org/13361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6756 0039d316-1c4b-4281-b951-d872f2087c98
* Linux fonts: match smallcaps size to Windows.agl@chromium.org2008-12-101-1/+2
| | | | | | | | | | Windows rounds the smallcaps size, so should Linux. The advance numbers are still wrong, but the size is correct at least. Review URL: http://codereview.chromium.org/13330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6755 0039d316-1c4b-4281-b951-d872f2087c98
* SVG baselines.agl@chromium.org2008-12-1045-140/+147
| | | | | | | | | | Delete Windows baselines where they have been found to be bogus. Mark then as failing in tests_fixable (if they weren't already) and also mark as failing those SVG tests which will fail when we enable pixel tests on Linux. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6754 0039d316-1c4b-4281-b951-d872f2087c98
* Another attempted, untested build fix.pkasting@chromium.org2008-12-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6753 0039d316-1c4b-4281-b951-d872f2087c98
* Untested fix for build failures.pkasting@chromium.org2008-12-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6752 0039d316-1c4b-4281-b951-d872f2087c98
* Linux rebaseline: image baselines for LayoutTests/svg/*agl@chromium.org2008-12-10970-0/+485
| | | | | | | | This adds image baselines for SVG tests where either the fuzzy matcher has accpeted the output or where the diff has been reviewed manually. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6750 0039d316-1c4b-4281-b951-d872f2087c98
* A simple script to create an extension package and to verify its contents.erikkay@google.com2008-12-101-0/+108
| | | | | | Review URL: http://codereview.chromium.org/13351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6749 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression with Find in page focus on trunk. finnur@google.com2008-12-104-8/+66
| | | | | | | | | | | | Basically, if the Find box is open, pressing Ctrl+F should set focus to the text field. This regressed when the Find box moved into web_contents_view. I have added a UI test to catch this in the future. Review URL: http://codereview.chromium.org/13721 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6748 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added std::string to Value via Set/GetString overloading."scherkus@chromium.org2008-12-103-91/+10
| | | | | | Review URL: http://codereview.chromium.org/13358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6747 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unneeded CHECKs. Add a CHECK to determinewtc@google.com2008-12-102-10/+15
| | | | | | | | | | | whether the recursive call to RemovePendingRequest is removing the same or a different request. R=eroman BUG=4749 Review URL: http://codereview.chromium.org/13329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6746 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup part 6.pkasting@chromium.org2008-12-107-110/+99
| | | | | | | | | | | | | | | | | | | | | Lots of small things (mostly in spellcheck code), e.g.: * L"" -> std::wstring() * type *var; -> type* var; * Fix parameter line-wrapping to comply with style guide * Remove unnecessary classname scoping inside class delcaration * Remove empty declaration * Add/remove blank lines in hopes of increasing readability * Add block ("{", "}") around local use of a temporary that is later redefined * Fold temps into other statements where obvious * Use std::find() instead of hand-rolling the same functionality * Combine distinct cases in switch statements when they all do the same thing * Range-check to avoid some algorithmic work when it's not needed * at() -> [] ...and various others. Pretty much every change stands on its own. Do not hesitate to complain about changes you think are unhelpful to the code, this change is something of a dumping ground. (I did try to avoid the sort of gratuitous "const"-adding that has gotten me in trouble before :). ) Review URL: http://codereview.chromium.org/13688 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6745 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 'oops' in FontUtilsChromiumWin.cpp that was causing some layout tests todarin@chromium.org2008-12-102-8/+4
| | | | | | | | | | | | | | | | crash. I failed to handle USCRIPT_INVALID_CODE as an input to GetFontFamilyForScript. That constant has a value of -1 which caused my array indexing to be unhappy. I also corrected the 'initialized' flag to be a static so that we would not waste cycles calling InitailizeScriptFontMap over-and-over again. Yikes! R=ojan Review URL: http://codereview.chromium.org/13722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6744 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor IPC::Channel to have a common header.jeremy@chromium.org2008-12-1012-158/+297
| | | | | | Review URL: http://codereview.chromium.org/11024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6743 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for running slices of the layout tests continuously rather than ↵erikkay@google.com2008-12-101-9/+72
| | | | | | | | as one big lump. Review URL: http://codereview.chromium.org/13696 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6742 0039d316-1c4b-4281-b951-d872f2087c98
* When I submitted my change last time, I missed that someone had modified the ↵erikkay@google.com2008-12-101-3/+3
| | | | | | | | surrounding script in a way that broke the code. Review URL: http://codereview.chromium.org/13348 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6741 0039d316-1c4b-4281-b951-d872f2087c98
* Added std::string to Value via Set/GetString overloading.scherkus@chromium.org2008-12-103-10/+91
| | | | | | | | | | All input is converted to UTF-8. Output is converted back to wide during std::wstring version of GetString(). This is part one of some more patches to come where I switch clients over to UTF-8 strings. Review URL: http://codereview.chromium.org/13230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6740 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the All target to include test_shell_tests and ipc_tests, and to ↵mark@chromium.org2008-12-103-39/+187
| | | | | | | | add the strip-if-needed phase to these executables Review URL: http://codereview.chromium.org/13357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6739 0039d316-1c4b-4281-b951-d872f2087c98
* Load the Ahem font from the source tree when not running bundled, formark@chromium.org2008-12-103-5/+44
| | | | | | | test_shell_tests. Review URL: http://codereview.chromium.org/13719 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6738 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where context menu for table/tree in rtl was showing up onsky@google.com2008-12-102-0/+4
| | | | | | | | | | | the wrong side. BUG=5067 TEST=see bug Review URL: http://codereview.chromium.org/13353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6734 0039d316-1c4b-4281-b951-d872f2087c98
* make a target for test_shell_tests on mac and tweak tests to build there. ↵pinkerton@google.com2008-12-1012-14/+508
| | | | | | | | Include a few more files to be built in glue upon which they depend. Review URL: http://codereview.chromium.org/13712 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6733 0039d316-1c4b-4281-b951-d872f2087c98
* Turns out this test is flaky on the release builder. It'sojan@google.com2008-12-101-3/+3
| | | | | | | probably just flaky, but I haven't seen it fail on debug yet. Review URL: http://codereview.chromium.org/13714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6731 0039d316-1c4b-4281-b951-d872f2087c98
* Windows baseline for LayoutTests/http/tests/multipart/invalid-image-data bogusagl@chromium.org2008-12-106-2/+3
| | | | | | | | The Windows baseline was missing the green box. Delete the Windows baseline, mark the test as failing on Windows and add a Linux baseline. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6729 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: merge comments from manual review of LayoutTests/http/* to tests_fixableagl@chromium.org2008-12-101-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6728 0039d316-1c4b-4281-b951-d872f2087c98
* Linux rebaseline: LayoutTests/http/*agl@chromium.org2008-12-10110-0/+55
| | | | | | | | Check in new image baselines for LayoutTests/http/*. These images have either been passed by the fuzzy matcher or verified manually. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6727 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add comments to tests_fixable from the manual review of editing/*agl@chromium.org2008-12-101-0/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6726 0039d316-1c4b-4281-b951-d872f2087c98
* Linux rebaseline: LayoutTests/editing/*agl@chromium.org2008-12-101406-0/+703
| | | | | | | | Check in new image baselines for LayoutTests/editing/*. These image diffs have either been accepted by the fuzzy matcher or reviewed by hand to be correct. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6725 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we've synced to my WebKit changes I can remove the usefinnur@google.com2008-12-102-16/+6
| | | | | | | | | | of highlevel WebCore types in the scrollbar code. I also found some code that had been ifdef-ed that I missed deleting during my last pass. Review URL: http://codereview.chromium.org/13713 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6723 0039d316-1c4b-4281-b951-d872f2087c98