summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* This fixes a few GRIT issues:tc@google.com2009-03-273-7/+24
| | | | | | | | | | | | | | - The generated header files had the wrong paths specified in the vcproj files. - Have the .h files generate to a temp file and overwrite the real .h files if they changed from the last run. This prevents recompiling when only a resource is changed. - Change the output file to the .rc file because otherwise the vcproj file would recompile every time because the .h file wasn't changing. Since the .rc file gets written all the time, this isn't a problem. On a side note, you still have to re-link to get the resources in chrome.dll. I imagine if you turn on incremental linking, this would be pretty fast. BUG=7967 Review URL: http://codereview.chromium.org/53028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12630 0039d316-1c4b-4281-b951-d872f2087c98
* When running ui_tests, need to tell valgrind to also trace child processes.dkegel@google.com2009-03-262-3/+42
| | | | | | | | Also need to avoid valgrinding python. Review URL: http://codereview.chromium.org/45053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12572 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: write images to clipboard.estade@chromium.org2009-03-251-0/+6
| | | | | | | | Writing a bitmap to the clipboard is a rather slow operation, as it involves piping it over IPC and then converting it to a PNG. Review URL: http://codereview.chromium.org/42592 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12482 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gtk_clipboard_dump target with a new .gyp file.sgk@google.com2009-03-251-0/+17
| | | | | | Review URL: http://codereview.chromium.org/42593 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12454 0039d316-1c4b-4281-b951-d872f2087c98
* Enable suppressions in Valgrindnirnimesh@chromium.org2009-03-251-4/+25
| | | | | | Review URL: http://codereview.chromium.org/42601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12447 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress remaining leaks in test_shell_tests to make linux valgrind buildbot ↵dkegel@google.com2009-03-251-3/+137
| | | | | | | | go green Review URL: http://codereview.chromium.org/53038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12445 0039d316-1c4b-4281-b951-d872f2087c98
* Make a sqlite suppression less platform-specific; it wasn't working on buildbotdkegel@google.com2009-03-231-2/+4
| | | | | | Review URL: http://codereview.chromium.org/52016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12285 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expect unit tests to free root certdkegel@google.com2009-03-201-1/+6
| | | | | | Review URL: http://codereview.chromium.org/42425 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12223 0039d316-1c4b-4281-b951-d872f2087c98
* Add --show_all_leaks option. dkegel@google.com2009-03-203-7/+24
| | | | | | | | Add --gtest_print_time option to valgrind_test.py and use it always in chrome_test.py, since we probably want to keep an eye out for tests that are too slow for valgrind. Review URL: http://codereview.chromium.org/50055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12194 0039d316-1c4b-4281-b951-d872f2087c98
* Implement --verbose in valgrind_test.py to make chrome_tests.py -v happydkegel@google.com2009-03-201-0/+11
| | | | | | | | | Also log the two environment variables we set Review URL: http://codereview.chromium.org/42428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12183 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for running the v8 tests under Purify.erikkay@google.com2009-03-191-29/+53
| | | | | | Review URL: http://codereview.chromium.org/50019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12128 0039d316-1c4b-4281-b951-d872f2087c98
* Call two more shutdown functions, and set an environment variable, dkegel@google.com2009-03-192-0/+9
| | | | | | | | | | | | to make nss play well with valgrind, as recommended by Wan-Teh in http://groups.google.com/group/mozilla.dev.tech.crypto/msg/49fe8582df376d06 Set the same environment variables in chrome_test.sh/valgrind_test.py and valgrind.sh, and explain which is which. Review URL: http://codereview.chromium.org/42326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12093 0039d316-1c4b-4281-b951-d872f2087c98
* Fix traceline's system call patching on recent versions of ntdll.dll.deanm@chromium.org2009-03-192-6/+13
| | | | | | | | | | Because KiFastSystemCall is so short (4 bytes), we need to use the preceeding alignment for a 5 byte jump. The compiler is generating more complicated alignments these days. Hardcode another case. Additionally switch to using the XP system call tables by default. Review URL: http://codereview.chromium.org/50006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12088 0039d316-1c4b-4281-b951-d872f2087c98
* A few updates to the valgrind runner script.deanm@chromium.org2009-03-181-1/+3
| | | | | | | | | | | - Add G_DEBUG=fatal_warnings to abort on GTK assertions. - Find the suppressions file no matter where you run the script from. - Add +x on the script. Review URL: http://codereview.chromium.org/45011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12001 0039d316-1c4b-4281-b951-d872f2087c98
* Let checkdeps ignore #if 0 blocks. Also strip lines of leading/trailing ↵thestig@chromium.org2009-03-181-1/+14
| | | | | | | | whitespaces before checking. Review URL: http://codereview.chromium.org/42316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11986 0039d316-1c4b-4281-b951-d872f2087c98
* Switching net over to use gyp on windows.bradnelson@google.com2009-03-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/48108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11942 0039d316-1c4b-4281-b951-d872f2087c98
* Add --gtest_filter option to valgrind_test.pydkegel@google.com2009-03-171-3/+5
| | | | | | | | Also exit with nonzero status if valgrind errors are found in log -- else tree is falsely shown as green. Review URL: http://codereview.chromium.org/48085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11908 0039d316-1c4b-4281-b951-d872f2087c98
* One more NSS suppression needed. With this change, base is green.dkegel@google.com2009-03-171-1/+7
| | | | | | Review URL: http://codereview.chromium.org/48081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11907 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pathetic typo in my previous cl. Unbreaks valgrind builder.dkegel@google.com2009-03-171-1/+1
| | | | | | Review URL: http://codereview.chromium.org/42291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11883 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore memory leaks in valgrind builder for now.dkegel@google.com2009-03-172-2/+8
| | | | | | | | | | | We'll re-enable them once we fix more serious problems. One would think that passing --leak-check=no to valgrind would suppress leak reports, sadly, --xml=yes forces them on. Review URL: http://codereview.chromium.org/42183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11874 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ssl suppressions together, simplify, improve comment.dkegel@google.com2009-03-171-11/+15
| | | | | | Review URL: http://codereview.chromium.org/48035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11813 0039d316-1c4b-4281-b951-d872f2087c98
* Use ... wildcard in suppressions; it's simpler and more robustdkegel@google.com2009-03-161-110/+3
| | | | | | Review URL: http://codereview.chromium.org/48016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11748 0039d316-1c4b-4281-b951-d872f2087c98
* Use ... wildcard to unbreak one more suppression. We should do this throughout.dkegel@google.com2009-03-161-10/+8
| | | | | | | | | Add suppression for a small filename leak in our logging system which would be too hard to fix properly. Review URL: http://codereview.chromium.org/48010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11733 0039d316-1c4b-4281-b951-d872f2087c98
* Add suppressions for gtk one-time leaks; link to discussion.dkegel@google.com2009-03-161-87/+74
| | | | | | | | | | | | | Add suppression for libevent oneshot timers; libevent doesn't provide a way to free unexpired oneshot timers at exit. Refer to /usr/lib*/ rather than /usr/lib32, so suppressions also work on 32 bit systems. Review URL: http://codereview.chromium.org/46093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11726 0039d316-1c4b-4281-b951-d872f2087c98
* Try to suppress an invalid read in dlopen triggered by EnsureNSSInit, dkegel@google.com2009-03-151-6/+16
| | | | | | | | | | e.g. during base_unittest's HMACTest.HmacSafeBrowsingResponseTest Use wildcard to make glibc suppression match on Ubuntu 8.10 as well as 8.04 Review URL: http://codereview.chromium.org/42185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11714 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded uses of logging.h in header files.thestig@chromium.org2009-03-122-2/+0
| | | | | | Review URL: http://codereview.chromium.org/43148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11590 0039d316-1c4b-4281-b951-d872f2087c98
* Add a script to more easily run valgrind with our parameters and suppressions.deanm@chromium.org2009-03-122-0/+87
| | | | | | | | | Add some more suppressions to the suppressions file. I don't have any errors when running Chromium on my workstation. Review URL: http://codereview.chromium.org/43129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11546 0039d316-1c4b-4281-b951-d872f2087c98
* Add hanging test to Purify gtest filter file. Report location of filter filepam@chromium.org2009-03-111-0/+1
| | | | | | | | | | in Purify script, for convenience. BUG=7810 TEST=covered by buildbot Review URL: http://codereview.chromium.org/42082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11463 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-1112-13/+0
| | | | | | | | | Normalize end of file newlines in build/ media/ printing/ testing/ and tools/. All files end in a single newline. Review URL: http://codereview.chromium.org/43082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11449 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-05129-1766/+1766
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Use grit to generate locale rc files and remove the old locale rc files from ↵tc@google.com2009-03-053-55/+20
| | | | | | | | | | | | | | the tree. I made a small change to grit so we can use our resource ID as the translation ID making it a bit easier to read. The old locale_settings*.rc files would #include the google_strings.rc or chromium_strings.rc. Instead, I added it to the vcproj file using $(CHROMIUM_BUILD) to grab the right file. This required changing the output names in the grd files. TBR=deanm Review URL: http://codereview.chromium.org/39152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10955 0039d316-1c4b-4281-b951-d872f2087c98
* Minor changes to valgrind test scripts to add running on additional unitnirnimesh@chromium.org2009-03-042-4/+21
| | | | | | | | | | | tests. LGTM-ed here: http://codereview.chromium.org/27306/show (I didn't have my @chromium.org account then) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10936 0039d316-1c4b-4281-b951-d872f2087c98
* fix python2.6 warnings in grittc@google.com2009-03-044-7/+9
| | | | | | | | | | | remove one assert as it's not correct BUG=8298,8299 Review URL: http://codereview.chromium.org/40073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10922 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Use grit to generate locale rc files and remove the old locale rc ↵tc@google.com2009-03-032-19/+4
| | | | | | | | | | | files from the tree." Revert "window_ is null during BrowserWindow creation. Assume full screen" Revert "Move SupportsWindowFeature from BrowserView to Browser so" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10814 0039d316-1c4b-4281-b951-d872f2087c98
* Use grit to generate locale rc files and remove the old locale rc files from ↵tc@google.com2009-03-032-4/+19
| | | | | | | | | | | | | the tree. I made a small change to grit so we can use our resource ID as the translation ID making it a bit easier to read. I also used a script to convert the existing .rc files to .xtb files. Review URL: http://codereview.chromium.org/28327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10809 0039d316-1c4b-4281-b951-d872f2087c98
* Properly handle errors in GRIT in the scons build.tc@google.com2009-02-271-29/+37
| | | | | | | | | | This lets the child process exit even if there are errors and causes the main scons process to identify these errors as build failures. Review URL: http://codereview.chromium.org/28282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10652 0039d316-1c4b-4281-b951-d872f2087c98
* Use unix path separators in checkdeps. Otherwise it doesn't work on Unix ↵thestig@chromium.org2009-02-271-3/+1
| | | | | | | | systems. Review URL: http://codereview.chromium.org/27253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10588 0039d316-1c4b-4281-b951-d872f2087c98
* Add os support to grit so we can conditionally include resources based ontc@google.com2009-02-271-0/+3
| | | | | | | | | platform. Review URL: http://codereview.chromium.org/28237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10556 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting nirnimesh's changes.jrg@chromium.org2009-02-273-45/+87
| | | | | | | | | LGTMed by Elliot Glaysher. See http://codereview.chromium.org/27079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10552 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where the flattened HTML file was not gettingtc@google.com2009-02-261-4/+3
| | | | | | | | | included in data pack files. Review URL: http://codereview.chromium.org/28222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10525 0039d316-1c4b-4281-b951-d872f2087c98
* fix the grd scanner to only include files that we're usingtc@google.com2009-02-261-5/+2
| | | | | | | | | bug=8139 Review URL: http://codereview.chromium.org/28225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10519 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scons build where the internal theme files don't exist.tc@google.com2009-02-261-1/+6
| | | | | | | Review URL: http://codereview.chromium.org/28218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10515 0039d316-1c4b-4281-b951-d872f2087c98
* Fix grit include dependencies in the scons build.tc@google.com2009-02-262-14/+4
| | | | | | | | | | | | | | | Re-enable the scons code that walks a grd file and adds its dependencies as build dependencies. This requires that all our dependencies are files in our source tree (which is what motivated getting rid of the tld data as a generated resource). I had to fix up the terms of service for this. Also remove some code that disabled .pak file generation on windows which was broken because it couldn't find the tld data. Review URL: http://codereview.chromium.org/28194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10494 0039d316-1c4b-4281-b951-d872f2087c98
* Handle repack.py and .pak files in the GYP-based build.mark@chromium.org2009-02-261-3/+3
| | | | | | Review URL: http://codereview.chromium.org/27216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10478 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the .pak files on mac builds also.thomasvl@chromium.org2009-02-261-2/+3
| | | | | | Review URL: http://codereview.chromium.org/27153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10446 0039d316-1c4b-4281-b951-d872f2087c98
* Allow grit to run in parallel with scons by forking child processestc@google.com2009-02-251-4/+11
| | | | | | | | | for each grit builder. This speeds up the build a bit. Review URL: http://codereview.chromium.org/27118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10401 0039d316-1c4b-4281-b951-d872f2087c98
* fix call to os.makedirstc@google.com2009-02-251-1/+1
| | | | | | | | | | | it's in the os module, not os.path. tbr=deanm Review URL: http://codereview.chromium.org/27114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10312 0039d316-1c4b-4281-b951-d872f2087c98
* Final step in converting all grit includes to have grit in the path.tc@google.com2009-02-242-22/+5
| | | | | | | | | | | | Fixes some linux/mac issues that were pending and fix up the scons build to expect the file in the grit subdir. BUG=7537 Review URL: http://codereview.chromium.org/28035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10306 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths for grit files. Go ahead and resorttc@google.com2009-02-222-2/+2
| | | | | | | | the headers too. Review URL: http://codereview.chromium.org/21472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10167 0039d316-1c4b-4281-b951-d872f2087c98
* Add diagnostic information to help track down why the Purify layout testspam@chromium.org2009-02-221-0/+9
| | | | | | | | | | | | are occasionally hanging and can't be killed. TBR=erikkay BUG=7834 TEST=none Review URL: http://codereview.chromium.org/27039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10156 0039d316-1c4b-4281-b951-d872f2087c98