summaryrefslogtreecommitdiffstats
path: root/third_party/protobuf2
Commit message (Collapse)AuthorAgeFilesLines
* In the sync database, use protobuf-based storage. Drop the oldnick@chromium.org2010-01-272-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bookmark-only columns. Add getters and setters for BookmarkSpecifics to syncapi as well as syncable entries. Make the datatype be a required property when creating a syncapi node. Add a datatype for the 'google chrome' top level folder. Add database migrations from version 67 to the new schema. Add infrastructure to support migrations generically. Add unit tests for the migrations. Pull a new version of the protobuf library to pick up a fix for a bug that this change exposed (I upstreamed the fix). Fix some example code in the sql helpers so that it would actually compile. BUG=29899,30041 TEST=New unit tests for migrations: unit tests are based on actual database dumps. Additionally, I manually tested 2-client sync using combos of old-protocol servers, new-protocol servers, and initial database versions v67, v68, and v0 (new client). I manually verified that add/edit/delete works in these combination cases. Afterwards I verified (by inspecting the sync databases) that the ModelTypes are consistent across the various migration/protocol paths. Review URL: http://codereview.chromium.org/554066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37253 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix library=shared_library issuespiman@chromium.org2009-11-021-2/+3
| | | | | | Review URL: http://codereview.chromium.org/339079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30738 0039d316-1c4b-4281-b951-d872f2087c98
* This does a few things:piman@chromium.org2009-10-281-0/+3
| | | | | | | | | - only include cflags/linkflags and other compiler settings that are target-specific when building for 'target' - make build tools (protoc) compile for 'host', and change the dependencies on them to reflect that. Review URL: http://codereview.chromium.org/265031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30381 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
* Revert my revert because it causes more problems.nsylvain@chromium.org2009-10-021-46/+78
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27912 0039d316-1c4b-4281-b951-d872f2087c98
* revert this change because protoc.exe crashes during compile and breaks the ↵nsylvain@chromium.org2009-10-021-78/+46
| | | | | | | | | | | | | try servers: Set the LITE runtime optimization flag in sync.proto. This generates c++ code without support for protobuf reflections, and shaves 175000 bytes off of the final release size of syncapi.dll. Review URL: http://codereview.chromium.org/242133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27910 0039d316-1c4b-4281-b951-d872f2087c98
* Set the LITE runtime optimization flag in sync.proto.nick@chromium.org2009-10-021-46/+78
| | | | | | | | | | | This generates c++ code without support for protobuf reflections, and shaves 175000 bytes off of the final release size of syncapi.dll. BUG=none TEST=tested sync interactively with two clients. Review URL: http://codereview.chromium.org/249034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27818 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
* Allow protobuf to build on Windows by using thenick@chromium.org2009-08-261-3/+17
| | | | | | | | | config.h provided (by the protobuf project) for msvc. Review URL: http://codereview.chromium.org/173370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24488 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new version of protobuffers that's compatible with no-rtti in debug modecmasone@google.com2009-08-161-2/+4
| | | | | | | lands r165517 Review URL: http://codereview.chromium.org/172034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23535 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress RTTI in protobuf2, now that RTTI is disabled on Mac and Linux (r23304).mark@chromium.org2009-08-131-0/+5
| | | | | | | | BUG=19094 TEST=Linux Builder (ChromeOS) compile turns green Review URL: http://codereview.chromium.org/164478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23308 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress RTTI in protobuf2, now that RTTI is disabled on Mac and Linux (r23304).mark@chromium.org2009-08-131-0/+12
| | | | | | | | BUG=19094 TEST=Linux Builder (ChromeOS) compile turns green Review URL: http://codereview.chromium.org/164477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23307 0039d316-1c4b-4281-b951-d872f2087c98
* Part one of fixing protobuf.sky@chromium.org2009-07-142-0/+289
BUG=none TEST=none Review URL: http://codereview.chromium.org/155499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20621 0039d316-1c4b-4281-b951-d872f2087c98