summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite
Commit message (Collapse)AuthorAgeFilesLines
* Add licensing info for another set of projects in third_party.evan@chromium.org2010-03-222-0/+9
| | | | | | | | | | Allow special cases in licenses.py for when we pull code directly from an upstream and can't check in a README.chromium. (In particular, we'll need this for WebKit.) Review URL: http://codereview.chromium.org/1075015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42288 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash with "ATTACH 12345 as db". Believed to not have security impact.cevans@chromium.org2010-03-223-0/+25
| | | | | | | | | BUG=38745 TEST="ATTACH 12345 as db" Review URL: http://codereview.chromium.org/1108003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42255 0039d316-1c4b-4281-b951-d872f2087c98
* Update README and patches for recent icu REGEXP() fix.cevans@chromium.org2009-12-172-1/+22
| | | | | | | | | | | This fix was reported to sqlite upstream. TEST=NONE BUG=NONE Review URL: http://codereview.chromium.org/506048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34807 0039d316-1c4b-4281-b951-d872f2087c98
* Don't access out-of-bounds arguments.cevans@chromium.org2009-12-161-2/+2
| | | | | | | | | TEST=select REGEXP('abc') from sqlite_master BUG=30510 Review URL: http://codereview.chromium.org/501038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34754 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+18
| | | | | | | | | | | TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31888 Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31936 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 31888 - This change depended on a new version of WebKit levin@chromium.org2009-11-131-21/+24
| | | | | | | | | which is no longer present in chromium a the moment. TBR=dumi@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31889 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+21
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31888 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the patch that makes SQLite interpret BEGIN as BEGIN IMMEDIATE,dumi@google.com2009-11-125-229/+205
| | | | | | | | | | | | and go back to the default behavior which treats BEGIN as BEGIN DEFERRED. TEST=none BUG=none Review URL: http://codereview.chromium.org/387030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31763 0039d316-1c4b-4281-b951-d872f2087c98
* Change os_unix.c to expose some functions that allows the xDlOpendumi@google.com2009-11-122-22/+90
| | | | | | | | | | | | method in Chromium's custom Posix VFS implementation to correctly implement the 'unused file descriptors' logic. TEST=none BUG=26041 Review URL: http://codereview.chromium.org/377039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31750 0039d316-1c4b-4281-b951-d872f2087c98
* Enable sqlite3_release_memory().pkasting@chromium.org2009-10-271-1/+2
| | | | | | | | BUG=23400 TEST=none Review URL: http://codereview.chromium.org/333034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30239 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure my recent changes are represented in the patches.cevans@chromium.org2009-10-013-391/+1934
| | | | | | | | | | | Split out the fts2 changes a little. BUG=NONE TEST=Applied the patches in order to check for mistakes. Review URL: http://codereview.chromium.org/243068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27787 0039d316-1c4b-4281-b951-d872f2087c98
* Some simple doc updates for README.chromium:cevans@chromium.org2009-10-011-4/+17
| | | | | | | | | | | | | - Note which sqlite version we are based off. - Note some prerequisite packages for running the tests. - Note that a couple of tests fail. BUG=n/a TEST=n/a Review URL: http://codereview.chromium.org/257016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix numerous bugs in fts2 where a corrupt fts2 database could causecevans@chromium.org2009-09-301-237/+515
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-bounds reads and writes. Apologies for the size of the change but once I got cranking, it was about half a day to clean up most of the memory errors. This should not conflict with the in-progress sqlite-3.6.18 upgrade. I diffed sqlite-3.6.1 vs. sqlite-3.6.18 and the only changes to fts2.c were two spelling corrections in comments. These changes are not whimsical -- they do map to crashes we are seeing in the wild, e.g. 1) Crash in allocator just after leafReaderStep: http://crash/reportdetail?reportid=303de6d80936c11d 2) Crash in memcpy in leafReaderStep: http://crash/reportdetail?reportid=6b2c65459042e67c 3) Crash in memcpy in interiorReaderStep: http://crash/reportdetail?reportid=9f7ba5c321846302 4) Crash in loop in dlrStep trying to read past end of buffer: http://crash/reportdetail?reportid=61b2eb58397913b2 In addition, this will give relief to users who have (for whatever root cause) persistent corruption in their databases. Once you get into that state, Chrome might be unlaunchable or it might crash multiple times per day. There's a small chance this might help with our biggest crasher, as certain types of corrupt database could corrupt memory rather than crashing immediately. BUG=NONE TEST=Running with tricked out build with assert()s to check for false positives. Review URL: http://codereview.chromium.org/216026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27679 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a linker warning for sqlite compiled with a sufficiently optimizing ↵mdm@chromium.org2009-09-243-1/+21
| | | | | | | | | | | compiler. BUG=22635 TEST=none Review URL: http://codereview.chromium.org/231010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27078 0039d316-1c4b-4281-b951-d872f2087c98
* Update documentation on how to merge in new SQLite versions. No code change.mdm@chromium.org2009-09-234-87/+835
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/209058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26986 0039d316-1c4b-4281-b951-d872f2087c98
* Update sqlite to version 3.6.18, porting our patches.mdm@chromium.org2009-09-18468-37966/+148898
| | | | | | | | | Hopefully this will help to address some valgrind issues. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26596 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak Carlos' change to cater for the additional cases:cevans@chromium.org2009-09-171-3/+7
| | | | | | | | | | | | | | - More (ordered) segments than we expect - would previously cause stack-based buffer overflow. - Less segments than we expect, where the missing segments are a strict truncation rather than missing in the middle. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/209001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26493 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style = LF on some files in sqlite.mark@chromium.org2009-09-161-6294/+6294
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26388 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux shared build.thestig@chromium.org2009-09-151-3/+7
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/203076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:execute from many files in third_party/sqlite. No code change.mdm@chromium.org2009-09-15412-0/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/205005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26235 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crasher in full text search (sqlite)cpu@chromium.org2009-09-141-2/+5
| | | | | | | | | | | | | | | | - If the xxx_segdir table gets corrupted, you can have non-contiguous indexes (idx). - This causes an assertion in debug, and a crash later on on release With this change it will return 'corrupted db' We shall wait to get a couple more fixes to upstream to sqlite org. BUG=21377 TEST=see bug Review URL: http://codereview.chromium.org/203046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26118 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarilly comment out SQLite load optimizationjar@chromium.org2009-09-101-1/+1
| | | | | | | | | | | | | This is meant to test to see if we can reduce SQL related crashes by removing the pre-load optimization. I also added a line of defensive code (initializing a pointer). r=brettw Review URL: http://codereview.chromium.org/203011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25822 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-092-6/+11
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Silence warnings in sqlite3.maruel@chromium.org2009-09-031-0/+3
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/195009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25372 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 15261: Crash in history::TextDatabase::GetTextMatchessuzhe@chromium.org2009-09-029-8/+109
| | | | | | | | | | | | | | | The crash in history::TextDatabase::GetTextMatches is caused by unexpected result of tolower() in some locales such as tr_TR.UTF-8. This CL fixes this issue by using following statement to replace tolower(): (ch>='A' && ch<='Z') ? (ch-'A'+'a') : ch which will always return expected result for ascii characters regardless of current locale. BUG=15261 Crash in history::TextDatabase::GetTextMatches TEST=none Review URL: http://codereview.chromium.org/174387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25141 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side patch for DB support on Linux.dumi@chromium.org2009-08-282-1/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24807 0039d316-1c4b-4281-b951-d872f2087c98
* Don't pass --atleast-version to pkg-config.agl@chromium.org2009-08-181-5/+8
| | | | | | | | | | | Turns out that pkgconfig produces no output if --atleast-version is given. Thus we list the cflags twice, once to catch the version error and then a second time to get the flags we need. (Reported by fta.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23660 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix up use_system_{libxml,libxslt,sqlite3}agl@chromium.org2009-08-131-2/+11
| | | | | | | http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
* Remove *.vsprops files that are no longer referenced (or only havesgk@google.com2009-07-281-12/+0
| | | | | | | | | references to each other) anywhere in the Chromium code base. BUG=none TEST=rebuild Review URL: http://codereview.chromium.org/159523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21873 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21130 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting patch 21083.dumi@chromium.org2009-07-202-11/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21084 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Stubs for DB-related methods in ChromiumBridge."agl@chromium.org2009-07-162-11/+1
| | | | | | | This reverts commit r20839. It broke many builds. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20840 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge. Allows us to compile the ↵dumi@chromium.org2009-07-162-1/+11
| | | | | | | | | | | Chromium SQLite VFS.BUG=noneTEST=none BUG=none TEST=none Review URL: http://codereview.chromium.org/155391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20839 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable bit from a bunch of files that shouldn't have it.evan@chromium.org2009-05-11164-0/+0
| | | | | | | | | | (No code change.) git ls-tree -r HEAD | grep '^100755' | cut -f2 | egrep '\.(png|txt|mm|cc|h|checksum|asm|js|html|c|css|xml|grd|json)$' | xargs chmod a-x git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15809 0039d316-1c4b-4281-b951-d872f2087c98
* Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:sgk@google.com2009-04-081-1/+1
| | | | | | | | | parameterize the 'type' setting of the various library targets, with a default of 'static_library'. (Hat tip to Craig Schlenter.) Review URL: http://codereview.chromium.org/62127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13345 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of libs over to gyp on windows.bradnelson@google.com2009-04-021-542/+0
| | | | | | Review URL: http://codereview.chromium.org/60019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13020 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-011-135/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build sqlite_shell when using the system sqlite.sgk@google.com2009-03-261-1/+1
| | | | | | Review URL: http://codereview.chromium.org/42642 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12569 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for -Duse_system_{libxml,libxslt,sqlite}=1 forsgk@google.com2009-03-251-150/+169
| | | | | | | selection of the system version of those libraries on Linux. Review URL: http://codereview.chromium.org/53076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12521 0039d316-1c4b-4281-b951-d872f2087c98
* Add a sqlite_shell target.sgk@google.com2009-03-251-8/+34
| | | | | | | DEPS roll for latest gyp with 'link_languages' support. Review URL: http://codereview.chromium.org/53041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12458 0039d316-1c4b-4281-b951-d872f2087c98
* Build the sqlite shell via scons on linux so we can debug thetc@google.com2009-03-165-158/+46
| | | | | | | | | full text indexed sqlite files. Review URL: http://codereview.chromium.org/42250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11789 0039d316-1c4b-4281-b951-d872f2087c98
* Adding fixed guids to some modules to facilitate incremental switch to gyp.bradnelson@google.com2009-03-101-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11388 0039d316-1c4b-4281-b951-d872f2087c98
* GYP it, GYP it good.mark@chromium.org2009-03-021-547/+0
| | | | | | | | Convert the Mac build to the new GYP-based Xcode build, and remove the old Xcode projects. Review URL: http://codereview.chromium.org/28305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10693 0039d316-1c4b-4281-b951-d872f2087c98
* Import .gyp files into the Chromium treemark@chromium.org2009-02-251-0/+174
| | | | | | Review URL: http://codereview.chromium.org/27158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
* Rename README.google to README.chromium.mal@chromium.org2009-01-301-0/+0
| | | | | | | | | No code change. B=4380 Review URL: http://codereview.chromium.org/19501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8988 0039d316-1c4b-4281-b951-d872f2087c98
* Generation of .vcproj files for remaining third_party components.sgk@google.com2009-01-271-28/+155
| | | | | | | | | | | | | | | | | | | | | | | | Updates the .vcproj files themselves for stylistic consistency with the rest. Affected .vcproj files: * No change (byte-for-byte identical): third_party\libxml\build\libxml.vcproj third_party\bsdiff\bsdiff.vcproj third_party\sqlite\sqlite.vcproj * Add empty <ToolFiles>, <References> and <Globals> sections: third_party\libxslt\build\libxslt.vcproj third_party\bspatch\bspatch.vcproj third_party\bzip2\bzip2.vcproj third_party\lzma\7z_C.vcproj third_party\modp_b64\modp_b64.vcproj third_party\libjpeg\libjpeg.vcproj * Add explicit RootNamspace attribute: third_party\bzip2\bzip2.vcproj * Reorder DisableSpecificWarnings and PreprocessorDefinitions attributes in VCCLCompilerTool: third_party\bzip2\bzip2.vcproj Review URL: http://codereview.chromium.org/18785 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8688 0039d316-1c4b-4281-b951-d872f2087c98
* Updates to Visual Studio project generation to accomodatesgk@google.com2009-01-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recent changes and get rid of cut-and-paste: * Add generation of the new net_resource.vcproj file. * Accomodate the net\net.vsprops file. * New base.vcproj dependency in activex_shim_dll.vcproj. * New tld_cleanup.vcproj dependency in net.vcproj. * New ondemand_updates.vcproj dependencies in gcapi_{dll,lib}.vcproj. * Re-order dump_cache.vcproj dependencies to match new checked-in solutions. * New input file directory layout in zlib (minizip folder) and testing\gtest (hierarchy). * Use a new dest= argument to ChromeMSVSSolution() and ChromeMSVSProject() to get rid of cut-and-pste installation code, and provide a central point for controlling when/whether we want to generate the files only under the build directory, or drop them in place for checking in. * Comment out an unnecessarily verbose warning if the buildtarget is executed with an action that we don't map to specific Visual Studio settings. Sometimes this is normal and okay, but the warning should get restored at some point when we work out the precise conditions under which it makes sense. Review URL: http://codereview.chromium.org/17602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7856 0039d316-1c4b-4281-b951-d872f2087c98