summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Turn on mac platform files in base_gfx target, add image operations unit testawalker@google.com2008-08-211-2/+18
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1186 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromeClientImpl::windowRect() to return the currenterg@google.com2008-08-217-27/+36
| | | | | | | | | | window's rect. Previously, it was combining the window origin with the size of the renderer; not the size of the window. BUG=1186573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1184 0039d316-1c4b-4281-b951-d872f2087c98
* Don't leak the pending entry in test_shell.brettw@google.com2008-08-211-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1183 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes up the autocomplete providers to correctly update starredsky@google.com2008-08-217-85/+41
| | | | | | | | | | | state. I broke this in order to land my last mongo patch. HistoryContentsProvider is still lacking in one area. BUG=1256202 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1181 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed bug #1251296jhaas@google.com2008-08-213-9/+13
| | | | | | | | | | | | This is a regression that is causing me to wonder why it ever worked in the first place. The underflow bug was getting tripped by a very small scaling matrix being improperly treated as a zero matrix, and also, the scaling code was getting bitten by a bug in Skia's edge comparison function which caused incorrect results to be returned when the difference between two values exceeded the maximum signed integer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1180 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing file to fix the buildjoshia@google.com2008-08-211-2/+2
| | | | | | | TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1179 0039d316-1c4b-4281-b951-d872f2087c98
* Make upload_data not be windows specific. Add it to the SCons build.tc@google.com2008-08-213-14/+10
| | | | | | | Also add mime_sniffer_unittest which already passes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1178 0039d316-1c4b-4281-b951-d872f2087c98
* Code review changes. Incorporated all the suggestions from previous review. joshia@google.com2008-08-2115-111/+110
| | | | | | | | | | | | | One item not changed yet is to rename 'receiver' in ForwardMessageToExternalHost. The idea is to invoke receiver("message") at the other end. So for example if the args to ForwardMessageToExternalHost("hello", "world") then we will invoke a script hello("world") on the other side. 'receiver' doesn't really describe the first argument here so if there is a better suggestion, I would be happy to change it :) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1176 0039d316-1c4b-4281-b951-d872f2087c98
* crosstool's gcc gives lots of warnings likedkegel@google.com2008-08-211-5/+5
| | | | | | | | "warning: suggest parentheses around && within ||" For base/string_util.cc, just add the suggested parentheses. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1175 0039d316-1c4b-4281-b951-d872f2087c98
* Preserve the environment variable DISTCC_HOSTS if present.dkegel@google.com2008-08-211-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1174 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak on shutdown in the navigation controller. The pending entry was notbrettw@google.com2008-08-211-0/+2
| | | | | | getting deleted. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1173 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a build idiocraty with NTFS and Vista in particular. Cygwin tries to be ↵maruel@google.com2008-08-212-1/+10
| | | | | | | | a bit too clever about the files' DACL. By setting NoNtSec, this posix emulation is disabled. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1172 0039d316-1c4b-4281-b951-d872f2087c98
* Pass 100 more tests on Linux. Puts my money where my mouth is.mmentovai@google.com2008-08-211-11/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1171 0039d316-1c4b-4281-b951-d872f2087c98
* Unrollback r1158.rahulk@google.com2008-08-2110-55/+100
| | | | | | | BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1170 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to disable breakpad while running the ui tests.maruel@google.com2008-08-213-0/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1169 0039d316-1c4b-4281-b951-d872f2087c98
* Add net_util* to the SCons build. Fixes some ICU UChar issues in net_util. ↵tc@google.com2008-08-214-47/+67
| | | | | | | | | Also disable NetUtilTest.FileURLConversion because it seems to have Windows specific output (is this the right thing to do?). The other changes to net_util_unittest is to get arraysize to work (see the comment in base/basictypes.h). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1168 0039d316-1c4b-4281-b951-d872f2087c98
* put our forked BackForwardList.h into the headermap for WebCore target so we ↵pinkerton@google.com2008-08-211-30/+19
| | | | | | pick it up instead of the webkit one. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1167 0039d316-1c4b-4281-b951-d872f2087c98
* Update googleurl to r91. This fixes the linux build.tc@google.com2008-08-212-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1166 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 1158 as it is breaking ui_testsrahulk@google.com2008-08-219-93/+56
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1165 0039d316-1c4b-4281-b951-d872f2087c98
* Port cookie_monster, net_util, and registry_controlled_domain to POSIXish ↵mmentovai@google.com2008-08-218-158/+203
| | | | | | platforms git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1164 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in BookmarkBarNode. I wasn't resetting a load handlesky@google.com2008-08-211-5/+5
| | | | | | | | | | | | | | resulting in the possibility of trying to cancel a bogus load handle. I'm TBRing this one as I just introduced this and its easy to hit a DCHECK now. BUG=1256202 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1163 0039d316-1c4b-4281-b951-d872f2087c98
* Mark static method defined in header as inlinemmentovai@google.com2008-08-211-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1162 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome strings.tc@google.com2008-08-214-547/+547
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1161 0039d316-1c4b-4281-b951-d872f2087c98
* disable test to make build greenrahulk@google.com2008-08-211-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1160 0039d316-1c4b-4281-b951-d872f2087c98
* Fix signedness warnings in http_response_headersmmentovai@google.com2008-08-211-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1159 0039d316-1c4b-4281-b951-d872f2087c98
* Do not display "Google" in titlebar of Chromium builds. rahulk@google.com2008-08-218-55/+92
| | | | | | | | - Create a new resource file that will contain Google Chrome specific resources. Ideally this new resource file should not be in the Chromium project at all but there doesnt seem to be any way to do conditional includes in vcproj files. So we ifdef its contents. - Make distributor logo optional. If we do not find it, we do not try to paint/layout logo. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1158 0039d316-1c4b-4281-b951-d872f2087c98
* Makes resize of custom frame window a bit smoother. I tried a wholesky@google.com2008-08-211-1/+14
| | | | | | | | | | | | | | | | | slew of variations, and this is the best I could get. From nc calc size we now return WVR_REDRAW, which indicates we need to redraw the frame. Without this I believe windows was copying some bits around for us resulting in the jitter. Additionally in OnNCPaint we do nothing if the root view's size isn't the same as the window's size. This is done as during resizes we get a WM_NCPAINT *before* a WM_SIZE. We also get a WM_NCPAINT after the WM_SIZE, so that it's ok to ignore the first one. BUG=1293978 TEST=make sure sizing of task manager/keyword editor doesn't break. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1157 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r1154 due to test failuresmmentovai@google.com2008-08-218-195/+158
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1156 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the final few remaining warnings in basemmentovai@google.com2008-08-211-8/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1155 0039d316-1c4b-4281-b951-d872f2087c98
* Port cookie_monster, net_util, and registry_controlled_domain to POSIXish ↵mmentovai@google.com2008-08-218-158/+195
| | | | | | platforms git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1154 0039d316-1c4b-4281-b951-d872f2087c98
* Moves bookmarks out of history into its own file (JSON).sky@google.com2008-08-2157-2414/+1216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interesting points: . Migration was a bit atypical. Here is the approach I took: . If the URL db contains bookmarks it writes the bookmarks to a temporary file. . When the bookmark bar model is loaded it assumes bookmarks are stored in a file. If the bookmarks file doesn't exist it then attempts to load from history, after waiting for history to finish processing tasks. . I've broken having the omnibox query for starred only. This patch was already too ginormous for me to contemplate this too. I'll return to it after I land this. . Similarly the history page isn't searching for starred titles now. As we discussed with Glen, that is probably fine for now. . I've converted NOTIFY_STARRED_FAVICON_CHANGED to NOTIFY_FAVICON_CHANGED and it is notified ANY time a favicon changes. I'm mildly concerned about the extra notifications, but without having history know about starred it's the best I can do for now. . Autocomplete (specifically URLDatabase::AutocompleteForPrefix) previously sorted by starred. It can no longer do this. I don't think I can get this functionality back:( Luckily it only mattered if you had a starred and non-starred URL with the same type count that matched a query. Probably pretty rare. What's left: . Fix up HistoryContentsProvider to query for starred entries titles. . Clean up the delete all case. I basically just made it compile; it can be greatly simplified. . Rename BookmarkBarModel to BookmarksModel. BUG=1256202 TEST=this is a huge change to bookmarks. Thanfully it's pretty well covered by tests, none-the-less make sure you exercise bookmarks pretty heavily to make sure nothing is busted. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1153 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that javascript exceptions thrown while evaluating the codeager@google.com2008-08-213-4/+18
| | | | | | | | | | | in script blocks and while evaluating code in a javascript URL are isolated. Before this change, an exception thrown while evaluating the code from a script block could propagate into unrelated event code. BUG=1334013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1152 0039d316-1c4b-4281-b951-d872f2087c98
* Create a CallWrapper interface, for making closure-like callbacks. This is ↵deanm@google.com2008-08-215-0/+414
| | | | | | similar to RunnableMethod, but does not derive / involve a Task. This is more convenient than Callback, because the interfaces do not need to know what the underlying template arguments are, everything is dealt with as a CallWrapper*. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1151 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unused make_scoped_ptr interface.deanm@google.com2008-08-211-30/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1150 0039d316-1c4b-4281-b951-d872f2087c98
* A small fixup to a comment that was over 80 cols.deanm@google.com2008-08-211-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1149 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustagedarin@google.com2008-08-211-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1148 0039d316-1c4b-4281-b951-d872f2087c98
* Fix release build bustage.darin@google.com2008-08-211-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1147 0039d316-1c4b-4281-b951-d872f2087c98
* Port the Thread class properly to Mac and Linux. This involved portingdarin@google.com2008-08-2118-338/+294
| | | | | | | | | | | | PlatformThread and creating an API on PlatformThread to create a native thread and later join with it. I also made a few other tweaks to PlatformThread, such as eliminating the Current() method which appears to be unused. The operator==() is also unused, so I killed it as well. I made a few other miscellaneous cleanups and adjustments. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1146 0039d316-1c4b-4281-b951-d872f2087c98
* As Brett pointed it out, We normally use 8-bit for encoding names since ↵jnd@google.com2008-08-2139-132/+137
| | | | | | they're always ASCII. Plus, wstrings will also be 32-bit characters on Linux and Mac, which is expensive. So I make this CL by using std::string instead of std::wstring every time you have an encoding name. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1144 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WaitForPendingIO to actually exit the wait at some point.rvargas@google.com2008-08-214-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1143 0039d316-1c4b-4281-b951-d872f2087c98
* Track removal of browser\navigation_controller_base.cc.sgk@google.com2008-08-211-1/+0
| | | | | | TBR: brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1142 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback to r90 because this breaks the windows build.tc@google.com2008-08-211-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1141 0039d316-1c4b-4281-b951-d872f2087c98
* Fix one bug in the URL list.mbelshe@google.com2008-08-211-2/+7
| | | | | | | Add timeout to NavigateToURL in case there are timeouts. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1140 0039d316-1c4b-4281-b951-d872f2087c98
* update googleurl to fix the linux buildtc@google.com2008-08-211-1/+1
| | | | | | | TBR=evanm,brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1139 0039d316-1c4b-4281-b951-d872f2087c98
* Hopefully fix leaks of TestNavigationEntries. They aren't be deleted in the ↵brettw@google.com2008-08-212-11/+9
| | | | | | destructor. Hopefully the fancy new linked_ptr will fix the problem. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1138 0039d316-1c4b-4281-b951-d872f2087c98
* Kill NavigationControllerBase. I merged the two into NavigationController.brettw@google.com2008-08-216-712/+538
| | | | | | | | | This fixes a leak of NavigationEntry's by using the spiffy linked ptr. I had to add a const to linked_ptr for the comparisons to work. BUG=1319484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1137 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the linux build again. http_response_headers.cc hastc@google.com2008-08-211-2/+2
| | | | | | | | | size_t i = -1 which doesn't compile on gcc 4.0.3. TBR=erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1136 0039d316-1c4b-4281-b951-d872f2087c98
* Make the disk cache unit tests use some common code from the disk cache.rvargas@google.com2008-08-211-10/+11
| | | | | | | | In particular, this removes the last piece of code on the disk cache that uses SHFileOperation. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1135 0039d316-1c4b-4281-b951-d872f2087c98
* Fix net build on linux by moving http_vary_data to the win only section ↵tc@google.com2008-08-211-2/+2
| | | | | | | | | until we port it. TBR=evanm@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1134 0039d316-1c4b-4281-b951-d872f2087c98
* Bring thread_posix into Linux build and fix it for Linux/Mac.evanm@google.com2008-08-202-5/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1133 0039d316-1c4b-4281-b951-d872f2087c98