summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Linux: fix failure to find any fontsagl@chromium.org2009-02-101-5/+8
| | | | | | | | | | | | | When we are looking for a fallback font, we don't want the usual family name matching to stop us from finding one. The only case where we should fail to find a fallback is when fontconfig doesn't know about /any/ fonts on the system. This patch adds a flag argument to FontMatch which tells it when we're in fallback mode. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9477 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix crash in OnGetScreenInfoagl@chromium.org2009-02-101-1/+4
| | | | | | | | | | | | | | | | | | | | In the ViewMsg_New, we pass a NativeViewId to the renderer. When WebKit wishes to know the metrics of the window, it echos that id back in a ViewHostMsg_GetScreenInfo. Without this patch, it echos back NULL and the browser crashes. This highlights a semi-major TODO for the porting effort at some point. We need to abstract the NativeViewIds from the NativeViews as we cannot trust pointer values from the renderers. The conversion code is in base/gfx/native_widget_types.h and currently just casts between them (which is correct for Windows, where both typedefs are HWNDs). One, maybe interresting idea is that we could generate a random secret key in the browser and HMAC sign the pointer values. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9476 0039d316-1c4b-4281-b951-d872f2087c98
* More expectations cleanup. Fun fun fun!darin@chromium.org2009-02-101-40/+42
| | | | | | | | TBR=amanda Review URL: http://codereview.chromium.org/20217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9475 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: fix renderer crashagl@chromium.org2009-02-101-0/+9
| | | | | | | | | | | Currently we don't have a HistoryService. This stops the VisitiedLinkMaster from sucessfully calling Init(). In that case, no message is ever sent to the renderer with the VisitiedLink shared memory region and we end up crashing with SIGFPE as we try to hash by taking a fingerprint mod 0. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9474 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: build fixagl@chromium.org2009-02-101-0/+2
| | | | | | | Windows doesn't have a DescriptorSet, so don't try to copy it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9473 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: fix logging of messages with file descriptorsagl@chromium.org2009-02-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | Sometimes the IPC Message logging code parses the message multiple times. When we have a side array of FileDescriptors, this fails because the array is consumed by the first parse and so the second parse fails - causing a DCHECK failure. Although we could write a system to all the side array to be parsed multiple times, this code is only enabled in debugging mode and the only advantage would be that we could log the actual descriptor numbers. It doesn't appear that the performance hit would be worthwhile. Thus, we make hitting the end of the descriptor array a non-fatal error. The returned descriptor will be -1. Since we have the number of descriptors in the message header, the only case where this could mask an actual issue would be where the browser and renderer disagree on the structure of a given message. However, such a mismatch will probably cause much more grevious errors anyway. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9472 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: fix file descriptor passingagl@chromium.org2009-02-101-1/+2
| | | | | | | | | The kernel sets msghdr.msg_controllen to the length of the received control data on successful return. Thus, we need to reset this variable to the length of the buffer before each call. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9471 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: fix file descriptor passingagl@chromium.org2009-02-103-0/+18
| | | | | | | | | | | | | Although descriptor passing was working fine in tests, it didn't work at all in real code. When a Message is taken off the wire, it's copied before processing. Message has an explicit copy constructor which wasn't copying the list of FileDescriptors. This changes makes the Message copy constructor steal the FileDescriptors from the source Message. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9470 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix uninited variableagl@chromium.org2009-02-101-1/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9469 0039d316-1c4b-4281-b951-d872f2087c98
* Some tests already had past failure expectations on Mac and Linux. Update ↵darin@chromium.org2009-02-101-9/+9
| | | | | | | | | | accordingly. TBR=amanda Review URL: http://codereview.chromium.org/20216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9468 0039d316-1c4b-4281-b951-d872f2087c98
* Update layout test expectations following latest merge-o-doomdarin@chromium.org2009-02-101-0/+51
| | | | | | | | TBR=amanda Review URL: http://codereview.chromium.org/21206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9467 0039d316-1c4b-4281-b951-d872f2087c98
* Could you guys get on this one ASAP. My video render code depends on these ↵ralphl@chromium.org2009-02-105-20/+216
| | | | | | | | methods. I also slipped in the critical section code stuff here too. Review URL: http://codereview.chromium.org/19547 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9466 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: porting effortagl@chromium.org2009-02-102-2/+0
| | | | | | | | Commit a few cleanups from my tree before starting on getting async resources working. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9465 0039d316-1c4b-4281-b951-d872f2087c98
* Missed this earlier when I rebaselined ↵sky@google.com2009-02-101-0/+133
| | | | | | | | | | | LayoutTests\http\tests\navigation\javascriptlink-frames . I forgot to svn add the text file. BUG=none TEST=none TBR=tc Review URL: http://codereview.chromium.org/21205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9464 0039d316-1c4b-4281-b951-d872f2087c98
* Updating to 2.0.162.0 for future builds.jon@chromium.org2009-02-101-1/+1
| | | | | | | M VERSION git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9463 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land the WebKit merge 40722:40785.darin@chromium.org2009-02-109-18/+28
| | | | | | | | TBR=amanda Review URL: http://codereview.chromium.org/21197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9462 0039d316-1c4b-4281-b951-d872f2087c98
* Update the version to 2.0.161.0jon@chromium.org2009-02-101-2/+2
| | | | | | Review URL: http://codereview.chromium.org/24008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9460 0039d316-1c4b-4281-b951-d872f2087c98
* Defers a couple ofsky@google.com2009-02-101-5/+3
| | | | | | | | | | | | | | tests. LayoutTests/fast/history/subframe-is-visited.html is not crashing, so I'm defer'ing as the comment suggests. Defering two Java related layout tests. We didn't do these before beta, so they hardly seem that important now. BUG=none TEST=none Review URL: http://codereview.chromium.org/20203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9459 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-103-4/+2
| | | | | | | | | | | | | | LayoutTests/http/tests/navigation/javascriptlink-frames.html . As far as I can tell the only thing wrong here is the image because of text differences. In particular it looks like we previously were using the wrong font. BUG=none TEST=none Review URL: http://codereview.chromium.org/21195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9458 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some debugging code in hopes of isolating bug 6316. I suspect thesky@google.com2009-02-104-3/+39
| | | | | | | | | | | | RVH is getting deleted some how and the RVHM isn't cleanly up correctly. BUG=6316 TEST=none Review URL: http://codereview.chromium.org/20185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9457 0039d316-1c4b-4281-b951-d872f2087c98
* Remove doubly-linked file (probably merge fallout?).evan@chromium.org2009-02-101-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9455 0039d316-1c4b-4281-b951-d872f2087c98
* #ifdef around a DCHECK in a Windows-specific code path.evan@chromium.org2009-02-101-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9451 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dead code from last commit.estade@chromium.org2009-02-101-7/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9450 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: save BrowserWindowGtk's vbox as a member variableestade@chromium.org2009-02-102-4/+12
| | | | | | | | also update the WebContents display hack to not crash on startup Review URL: http://codereview.chromium.org/21204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9449 0039d316-1c4b-4281-b951-d872f2087c98
* Re-check in some of my dynamic linking change.evan@chromium.org2009-02-109-28/+54
| | | | | | | | | | | | | We can't link in any more of these fixed .cc files because of a chain of dependencies: - temp_scaffolding_stubs defines the same symbols as these files - removing the scaffolding pulls in more source - pulling in that extra source breaks on Mac. I have resigned myself to checking in this small bit. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9448 0039d316-1c4b-4281-b951-d872f2087c98
* Revert basically everything I've done today as it fails mysteriouslyevan@chromium.org2009-02-1022-168/+143
| | | | | | | and I lack the patience to diagnose why mac doesn't link in libjpeg. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9447 0039d316-1c4b-4281-b951-d872f2087c98
* Blind mac build fix.evan@chromium.org2009-02-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9446 0039d316-1c4b-4281-b951-d872f2087c98
* Get the renderer closer to rendering something on linux.estade@chromium.org2009-02-106-9/+24
| | | | | | | | | | * implement some stubbed functions * comment out some unimplemented IPC calls * hack a webcontents widget into BrowserWindow so that something displays Review URL: http://codereview.chromium.org/20204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9445 0039d316-1c4b-4281-b951-d872f2087c98
* Bring a bunch more headers into the non-Windows build:evan@chromium.org2009-02-1021-143/+166
| | | | | | | | | | | | | - history - autocomplete - bookmarks These were all reviewed separately but turned out to be interdependent. :~( Review URL: http://codereview.chromium.org/21170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9444 0039d316-1c4b-4281-b951-d872f2087c98
* Fix UI test regression, there's a better way to refactor this anyway.pkasting@chromium.org2009-02-104-5/+22
| | | | | | | TBR=glen Review URL: http://codereview.chromium.org/24007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9443 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9439.kuchhal@chromium.org2009-02-101-1/+1
| | | | | | Review URL: http://codereview.chromium.org/21198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9442 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up IPC Tests a bit.jeremy@chromium.org2009-02-104-85/+111
| | | | | | | | Split FD tests into a separate file in preparation for additional tests. Review URL: http://codereview.chromium.org/20202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9440 0039d316-1c4b-4281-b951-d872f2087c98
* Updating to latest V8 version.jon@chromium.org2009-02-101-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9439 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: add command line option to launch renderers in a wrapperagl@chromium.org2009-02-105-1/+36
| | | | | | | | | For example, ./Hammer/chrome --renderer-cmd-prefix="gdb --args" Review URL: http://codereview.chromium.org/21190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9438 0039d316-1c4b-4281-b951-d872f2087c98
* Fix windows build.tc@google.com2009-02-101-1/+1
| | | | | | | | | | | I forgot to to update the browser_resources.rc path in unit_tests.vcproj. TBR=deanm Review URL: http://codereview.chromium.org/21196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9437 0039d316-1c4b-4281-b951-d872f2087c98
* Three more LayoutTest fixes.finnur@google.com2009-02-096-410/+470
| | | | | | | | | | | | | The computed-style tests needed to have the text output rebaselined since the expectations have changed upstream. The text-overflow-ellipsis test looks like it is working to me (only difference I see is that our font doesn't look like the Mac font, which is expected). Review URL: http://codereview.chromium.org/21189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9436 0039d316-1c4b-4281-b951-d872f2087c98
* Small refactoring of the test webserver.stoyan@chromium.org2009-02-091-5/+22
| | | | | | Review URL: http://codereview.chromium.org/21179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9435 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback WebKit merge since background images don't paint.darin@chromium.org2009-02-099-28/+18
| | | | | | | | TBR=amanda Review URL: http://codereview.chromium.org/21193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9434 0039d316-1c4b-4281-b951-d872f2087c98
* Make aero glass code look more like other nonclient views in hopes of easing ↵pkasting@chromium.org2009-02-0910-285/+188
| | | | | | | | | refactoring. More cleanup. Change tabstrip layout to match opaque frame. BUG=5054 Review URL: http://codereview.chromium.org/20161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9433 0039d316-1c4b-4281-b951-d872f2087c98
* Speling fix.avi@chromium.org2009-02-092-4/+4
| | | | | | Review URL: http://codereview.chromium.org/21185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9432 0039d316-1c4b-4281-b951-d872f2087c98
* Make merge script work with BeyondCompare on Vista64. BComp.exe is installeddarin@chromium.org2009-02-091-0/+2
| | | | | | | | | | under C:\Program Files (x86) instead. R=dglazkov Review URL: http://codereview.chromium.org/25001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9431 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux build. v8/Threading.cpp no longer exists.darin@chromium.org2009-02-091-1/+0
| | | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/20197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9430 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGE. Fix EOL in autofill_manager.cc.maruel@chromium.org2009-02-091-110/+110
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9429 0039d316-1c4b-4281-b951-d872f2087c98
* Add constructor to net::FileStream to create it with a base::PlatformFile ↵hclam@chromium.org2009-02-094-0/+63
| | | | | | | | | | handle. Constructor added to both _win and _posix implementations and provided a unit test. Review URL: http://codereview.chromium.org/20137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9428 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 40722:40785 (part 2)darin@chromium.org2009-02-099-18/+28
| | | | | | | | | Account for the renaming of toRange to toNormalizedRange done by Eric Seidel. R=amanda Review URL: http://codereview.chromium.org/20192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9427 0039d316-1c4b-4281-b951-d872f2087c98
* Add Threading Support based on Chromium's MessageLoop, Chromium ↵dglazkov@google.com2009-02-099-119/+70
| | | | | | | | side.R=darin,brettw Review URL: http://codereview.chromium.org/19725 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9426 0039d316-1c4b-4281-b951-d872f2087c98
* Defers the testsky@google.com2009-02-091-1/+3
| | | | | | | | | | | | | | LayoutTests/fast/canvas/toDataURL-supportedTypes.html. We won't fully support this until we support GIF/JPG encoders, which isn't going to happen soon. BUG=none TEST=none TBR=tc Review URL: http://codereview.chromium.org/23015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9425 0039d316-1c4b-4281-b951-d872f2087c98
* Marking a test as skip.jcampan@chromium.org2009-02-091-0/+5
| | | | | | | | | | | | | | This test redirects to a hanging page implemented with a php script. Because of some network stack related issue (see https://bugs.webkit.org/show_bug.cgi? id=9001#c9), the script sends few chars causing the test to fail for us. We could fix it but that would require changing the user-agent of the test_shell. Following Darin's suggestion of skipping for now and implementing the user-agent if more cases like these happen. Review URL: http://codereview.chromium.org/20160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9422 0039d316-1c4b-4281-b951-d872f2087c98
* Porting the toolbar to GTK.erg@google.com2009-02-097-6/+238
| | | | | | | | | | | | Quite a bit of TODOs in the code, but it displays and properly enables/disables buttons and routes mouse clicks. This also moves all the gtk files into the gtk/ folder, at Ben's request. Review URL: http://codereview.chromium.org/21176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9421 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the test LayoutTests/fast/canvas/shadow-offset-7.html .sky@google.com2009-02-094-2/+15
| | | | | | | | | | | | | Now that my color change landed everything looks good with this test. Have to rebaseline because of font differences, and color conversion differences. BUG=2969 TEST=none Review URL: http://codereview.chromium.org/20193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9420 0039d316-1c4b-4281-b951-d872f2087c98