- Aug 07, 2015
-
-
mostynb authored
Review URL: https://codereview.chromium.org/1279843003 Cr-Original-Commit-Position: refs/heads/master@{#342346} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 7ea99fda67bf56e494f372c6b3a278f00bed364f
-
- Jul 16, 2015
-
-
brettw authored
This replaces it with base::StartsWith and the appropriate case flag. Since the existing version only ever did case-insensitive tests in ASCII, there should be no behavior change. BUG=506255 TBR=jam Review URL: https://codereview.chromium.org/1242023005 Cr-Original-Commit-Position: refs/heads/master@{#339175} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 955093110ad64d5ec6f5426991efaa4a680b5d6f
-
brettw authored
This just replaces true -> base::CompareCase::SENSITIVE false -> base::CompareCase::INSENSITIVE_ASCII I checked the insensitive cases to make sure they're not doing anything suspicious. The old version is a sometimes-correct Unicode comparison so converting to INSENSTITIVE_ASCII isn't a no-op. However, generally the prefix/suffix checking is done against a hardcoded string so there were very few cases to actually look at. extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc has a not-quite search-and-replace change where I changed the type of a class variable. BUG=506255 TBR=jam Reland of http://crrev.com/1239493005 Review URL: https://codereview.chromium.org/1233043003 Cr-Original-Commit-Position: refs/heads/master@{#339071} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: a7ff1b291cd328e9584779a4bb9101fa9a3c01ad
-
yosin authored
Revert of Remove some legacy versions of StartsWith and EndsWith. (patchset #6 id:100001 of https://codereview.chromium.org/1239493005/) Reason for revert: Compilation error on Windows: FAILED: ninja -t msvc -e environment.x86 -- C:\b\build\goma/gomacc "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\chrome\installer\gcapi\gcapi_lib.gcapi.obj.rsp /c ..\..\chrome\installer\gcapi\gcapi.cc /Foobj\chrome\installer\gcapi\gcapi_lib.gcapi.obj /Fdobj\chrome\gcapi_lib.cc.pdb c:\b\build\slave\win-latest-rel\build\src\chrome\installer\gcapi\gcapi.cc(365) : error C3083: 'StartsWith': the symbol to the left of a '::' must be a type c:\b\build\slave\win-latest-rel\build\src\chrome\installer\gcapi\gcapi.cc(365) : error C2039: 'INSENSITIVE_ASCII' : is not a member of 'base' c:\b\build\slave\win-latest-rel\build\src\chrome\installer\gcapi\gcapi.cc(365) : error C2065: 'INSENSITIVE_ASCII' : undeclared identifier ninja: build stopped: subcommand failed. Original issue's description: > Remove some legacy versions of StartsWith and EndsWith. > > This just replaces > true -> base::CompareCase::SENSITIVE > false -> base::CompareCase::INSENSITIVE_ASCII > > I checked the insensitive cases to make sure they're not doing anything suspicious. The old version is a sometimes-correct Unicode comparison so converting to INSENSTITIVE_ASCII isn't a no-op. However, generally the prefix/suffix checking is done against a hardcoded string so there were very few cases to actually look at. > > extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc has a not-quite search-and-replace change where I changed the type of a class variable. > > BUG=506255 > TBR=jam > > Committed: https://crrev.com/edce9a33027cc5f73c4866d70e34f690f6720a56 > Cr-Commit-Position: refs/heads/master@{#338996} TBR=jam@chromium.org,brettw@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=506255 Review URL: https://codereview.chromium.org/1233453011 Cr-Original-Commit-Position: refs/heads/master@{#338998} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: ddbde8ff8310abbd529ad5cc43e3991e79106a52
-
brettw authored
This just replaces true -> base::CompareCase::SENSITIVE false -> base::CompareCase::INSENSITIVE_ASCII I checked the insensitive cases to make sure they're not doing anything suspicious. The old version is a sometimes-correct Unicode comparison so converting to INSENSTITIVE_ASCII isn't a no-op. However, generally the prefix/suffix checking is done against a hardcoded string so there were very few cases to actually look at. extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc has a not-quite search-and-replace change where I changed the type of a class variable. BUG=506255 TBR=jam Review URL: https://codereview.chromium.org/1239493005 Cr-Original-Commit-Position: refs/heads/master@{#338996} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: edce9a33027cc5f73c4866d70e34f690f6720a56
-
- Jul 10, 2015
-
-
sammc authored
It defines YY_USE_CONST when building mesa to fix this warning, disables -Wincompatible-pointer-types for the other third-party libraries that trigger it and fixes some underspecified dependencies in third_party/libwebp. BUG=504696 Review URL: https://codereview.chromium.org/1226583002 Cr-Original-Commit-Position: refs/heads/master@{#338227} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: c98d446e81bcc18cf4241325c8719ccdc0b7abf3
-
- Jul 01, 2015
-
-
dcheng authored
The Cloud Print Windows service uses WTL, and one of the headers uses an assignment inside a conditional (atlgdi.h), which triggers this clang warning. BUG=505302 TBR=scottbyer@chromium.org,vitalybuka@chromium.org Review URL: https://codereview.chromium.org/1214113010 Cr-Original-Commit-Position: refs/heads/master@{#336964} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 700bce216cb9399ce306850ee66d3ce5a68c4cfa
-
- Jun 24, 2015
-
-
brettw authored
Moves ReplaceFirstSubstringAfterOffset. It also changes the find/replace arguments to be string pieces (normally these are constants). TBR=gauravsh@chromium.org for chromeos/network Review URL: https://codereview.chromium.org/1200393002 Cr-Original-Commit-Position: refs/heads/master@{#335999} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e6dae46fc681a8ad62f6937a6ac1cab3d51938a9
-
- Jun 12, 2015
-
-
brettw authored
TBR=jschuh@chromium.org Review URL: https://codereview.chromium.org/1182183003 Cr-Original-Commit-Position: refs/heads/master@{#334284} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca
-
brettw authored
NOPRESUBMIT=true (no presubmit due to removing base:: from a ScopedAllowIO) Review URL: https://codereview.chromium.org/1172183002 Cr-Original-Commit-Position: refs/heads/master@{#334108} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2
-
- Jun 09, 2015
-
-
skyostil authored
BUG=465354 Review URL: https://codereview.chromium.org/1176473004 Cr-Original-Commit-Position: refs/heads/master@{#333545} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 971ecb9a7180e599fa97b5c475f72d5e3f4a713a
-
- Apr 01, 2015
-
-
John Abd-El-Malek authored
For this first cl, it's only checking checked in code. I've had to add DEPS files to make it pass, since some of this code legitimately uses base etc... BUG=469692 R=brettw@chromium.org Review URL: https://codereview.chromium.org/1045863002 Cr-Original-Commit-Position: refs/heads/master@{#323302} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 5b6373fbaed471c766ec691ad2c816abbc482d29
-
- Mar 18, 2015
-
-
grt authored
This change gives consumers of ZipReader a way to have the current entry streamed to them via a Delegate interface. It also: - Reduces duplication in the ExtractCurrentEntry* functions. - Uses the heap rather than the stack for intermediate buffers. - Changes ExtractCurrentEntryToFd to ExtractCurrentEntryToFile, making it cross-platform in the process. BUG=462584 Committed: https://crrev.com/2919be01ff758875fc7161f6b41f4461518c1213 Cr-Commit-Position: refs/heads/master@{#320948} Review URL: https://codereview.chromium.org/1014653002 Cr-Original-Commit-Position: refs/heads/master@{#321205} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 98e6db00a6cc9cf6df682240d61f1b535b564cb8
-
benwells authored
Revert of Add ZipReader::ExtractCurrentEntry with a delegate interface. (patchset #2 id:40001 of https://codereview.chromium.org/1014653002/) Reason for revert: There are uninitialized reads on the DrMemory bots in zlib ZipTests. They have very little information, and there is no history available due to a bot problem. Experimentally reverting this CL to see if it helps. Original issue's description: > Add ZipReader::ExtractCurrentEntry with a delegate interface. > > This change gives consumers of ZipReader a way to have the current entry > streamed to them via a Delegate interface. It also: > > - Reduces duplication in the ExtractCurrentEntry* functions. > - Uses the heap rather than the stack for intermediate buffers. > - Changes ExtractCurrentEntryToFd to ExtractCurrentEntryToFile, making > it cross-platform in the process. > > BUG=462584 > > Committed: https://crrev.com/2919be01ff758875fc7161f6b41f4461518c1213 > Cr-Commit-Position: refs/heads/master@{#320948} TBR=hshi@chromium.org,grt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=462584 Review URL: https://codereview.chromium.org/1016813004 Cr-Original-Commit-Position: refs/heads/master@{#321059} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 1369bc06458c9e803307ddc7aaec0d71e4a938ab
-
- Mar 17, 2015
-
-
grt authored
This change gives consumers of ZipReader a way to have the current entry streamed to them via a Delegate interface. It also: - Reduces duplication in the ExtractCurrentEntry* functions. - Uses the heap rather than the stack for intermediate buffers. - Changes ExtractCurrentEntryToFd to ExtractCurrentEntryToFile, making it cross-platform in the process. BUG=462584 Review URL: https://codereview.chromium.org/1014653002 Cr-Original-Commit-Position: refs/heads/master@{#320948} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 2919be01ff758875fc7161f6b41f4461518c1213
-
- Feb 20, 2015
-
-
dpranke authored
The latest GN binaries rename cpu_arch to current_cpu and/or target_cpu as appropriate, build_cpu_arch to host_cpu, and os to current_os and target_os as appropriate. R=brettw@chromium.org TBR=ddorwin@chromium.org EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg BUG=344767 Review URL: https://codereview.chromium.org/913373002 Cr-Original-Commit-Position: refs/heads/master@{#317223} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 4327621a322c964a8bc6d1ef5a4534f0f877d63e
-
- Dec 03, 2014
-
-
pkasting authored
BUG=81439 TEST=none Review URL: https://codereview.chromium.org/776823002 Cr-Original-Commit-Position: refs/heads/master@{#306652} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: a36236427f080e5e8cf28e1390452addf48b1714
-
scottmg authored
Uses gn binary at head. No intended functionality change. R=brettw@chromium.org TBR=scherkus@chromium.org BUG=348474 Review URL: https://codereview.chromium.org/779473002 Cr-Original-Commit-Position: refs/heads/master@{#306567} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 1c240d2719e764ed0108aa59ba35a6d99c00491a
-
- Nov 19, 2014
-
-
jeremysspiegel authored
zip::ZipReader::OpenFromPlatformFile. zip::ZipFiles and zip::ZipReader::OpenFromPlatformFile do not want to take ownership of the passed-in file. On POSIX, dup the file descriptor to pass to fopen, so that that we can safely fclose the result. On Windows, stop closing the file handle. Fix consumers of these functions that assumed ownership was being passed to instead close the file themselves. BUG=430959 Review URL: https://codereview.chromium.org/683913009 Cr-Original-Commit-Position: refs/heads/master@{#304930} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: b2eae6046c3aa484cc5019615f925a7bc178fa1b
-
https://codereview.chromium.org/742583003jam authored
Review URL: https://codereview.chromium.org/734603004 Cr-Original-Commit-Position: refs/heads/master@{#304859} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 9c3285ebf6bd7ecbdc5b68892c50be394f63ffd6
-
- Nov 18, 2014
-
-
https://codereview.chromium.org/678423002/Nico Weber authored
* Let BUILD.gn build the same files on Windows as the gyp file does. * Remove -msse2 flag, that's on globally * On win/clang, pass -msse4.2 -mclmul flags to fix clang/wi complaining about unsupported intrinsics BUG=82385 R=dpranke@chromium.org, hans@chromium.org TBR=brettw Review URL: https://codereview.chromium.org/742583003 Cr-Original-Commit-Position: refs/heads/master@{#304695} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: f3b5bb2d25abb3bacb246531b6cfa6d36abb17b2
-
dpranke authored
-disable chromium_code for third_party/zlib - suppress a few size_t -> int conversion warnings - suppress /wd4121 (structure padding) by default; was suppressed in GYP but not GN. Also disable ffmpeg, which doesn't work in the 64-bit build yet. R=scottmg@chromium.org TBR=brettw@chromium.org BUG=432375, 167187 Review URL: https://codereview.chromium.org/737633002 Cr-Original-Commit-Position: refs/heads/master@{#304542} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: de7d0dc942b1e296a0e9bd667f020ffd486cc32e
-
- Nov 13, 2014
-
-
robert.bradford authored
With ninja builds generated from gyp on a Mac it is necessary to specify the cflags to use as EXTRA_CFLAGS in an xcode_settings block in the gyp file. With gn this is not necessary and led to confusion resulting in Mac builds not being enabled in the original CL. As all Intel based Mac systems have SSE2 the compiler does not require "-msse2" as it can always use that. This change also initialised the global variables, as a result the variable is moved from being a common symbol to being in the BSS section of the library. This is necessary as unfortunately the linker on Mac cannot handle common symbols with static libraries. blink layout test inspector/layers/layer-canvas-log.html may start failing on Mac with this change (See BUG below) TEST=Build on Mac OS X and net_unittests --gtest_filter=*Compressed* run and uses optimised code paths BUG=430557 Review URL: https://codereview.chromium.org/705053002 Cr-Original-Commit-Position: refs/heads/master@{#304089} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 01686c1a7b233fcb8ab16b41ad3ffe58aef09cd1
-
- Nov 08, 2014
-
-
dpranke authored
R=scottmg@chromium.org, brettw@chromium.org BUG=354261 Review URL: https://codereview.chromium.org/709593004 Cr-Original-Commit-Position: refs/heads/master@{#303366} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 43760591658239084cf4b92ec4dd4decbb9c5fe6
-
- Nov 05, 2014
-
-
robert.bradford authored
This version uses a "pthread_once" implementation, using Windows synchronisation primitives, imported from tcmalloc. Previous CLs: https://codereview.chromium.org/677713002/ https://codereview.chromium.org/552123005 This version of the CL also runs fine on Windows Server 2003. These optimisations have been published on zlib mailing list and at https://github.com/jtkukunas/zlib/ This change merges the following optimisation patches: - "For x86, add CPUID check." - "Adds SSE2 optimized hash shifting to fill_window." - "add SSE4.2 optimized hash function" - "add PCLMULQDQ optimized CRC folding" From Jim Kukunas <james.t.kukunas@linux.intel.com>; and adapts them to the current zlib version in Chromium. The optimisations are enabled at runtime if all the necessary CPU features are present. As the optimisations require extra cflags to enable the compiler to use the instructions the optimisations are held in their own static library with a stub implementation to allow linking on other platforms. TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance improvement seen on RoboHornet benchmark on Linux Desktop BUG=401517 Review URL: https://codereview.chromium.org/678423002 Cr-Original-Commit-Position: refs/heads/master@{#302799} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 02a95e3084f979084fa8586e1718a6e6dd4c22da
-
- Oct 24, 2014
-
-
qyearsley authored
Revert of Reland "Integrate SIMD optimisations for zlib" (patchset #2 id:40001 of https://codereview.chromium.org/677713002/) Reason for revert: Speculatively reverting because XP Tests (1) is having failures. https://build.chromium.org/p/chromium.win/builders/XP%20Tests%20(1) Original issue's description: > Reland "Integrate SIMD optimisations for zlib" > > This reland adds an MSan suppression entry to work around gaps in MSan's > support for some of the intrinsics this patch uses. This version also inlines > the insert_string_sse function as it uses inline assembly and therefore does > not need to be in the static library. > > Original CL: https://codereview.chromium.org/552123005 > > These optimisations have been published on zlib mailing list and at > https://github.com/jtkukunas/zlib/ > > This change merges the following optimisation patches: > - "For x86, add CPUID check." > - "Adds SSE2 optimized hash shifting to fill_window." > - "add SSE4.2 optimized hash function" > - "add PCLMULQDQ optimized CRC folding" > > From Jim Kukunas <james.t.kukunas@linux.intel.com>; and adapts them to the > current zlib version in Chromium. > > The optimisations are enabled at runtime if all the necessary CPU features are > present. As the optimisations require extra cflags to enable the compiler to > use the instructions the optimisations are held in their own static library > with a stub implementation to allow linking on other platforms. > > TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance > improvement seen on RoboHornet benchmark on Linux Desktop > BUG=401517 > > Committed: https://crrev.com/a5022d5eab6f77889aceed6ab0ccaf44a657ffc4 > Cr-Commit-Position: refs/heads/master@{#301162} TBR=agl@chromium.org,hans@chromium.org,robert.bradford@intel.com NOTREECHECKS=true NOTRY=true BUG=401517 Review URL: https://codereview.chromium.org/665203006 Cr-Original-Commit-Position: refs/heads/master@{#301221} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 5d38e0bd32f9a7e4766b877711c710df986d74ed
-
robert.bradford authored
This reland adds an MSan suppression entry to work around gaps in MSan's support for some of the intrinsics this patch uses. This version also inlines the insert_string_sse function as it uses inline assembly and therefore does not need to be in the static library. Original CL: https://codereview.chromium.org/552123005 These optimisations have been published on zlib mailing list and at https://github.com/jtkukunas/zlib/ This change merges the following optimisation patches: - "For x86, add CPUID check." - "Adds SSE2 optimized hash shifting to fill_window." - "add SSE4.2 optimized hash function" - "add PCLMULQDQ optimized CRC folding" From Jim Kukunas <james.t.kukunas@linux.intel.com>; and adapts them to the current zlib version in Chromium. The optimisations are enabled at runtime if all the necessary CPU features are present. As the optimisations require extra cflags to enable the compiler to use the instructions the optimisations are held in their own static library with a stub implementation to allow linking on other platforms. TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance improvement seen on RoboHornet benchmark on Linux Desktop BUG=401517 Review URL: https://codereview.chromium.org/677713002 Cr-Original-Commit-Position: refs/heads/master@{#301162} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: a5022d5eab6f77889aceed6ab0ccaf44a657ffc4
-
- Oct 23, 2014
-
-
robert.bradford authored
Revert of Integrate SIMD optimisations for zlib (patchset #14 id:280001 of https://codereview.chromium.org/552123005/) Reason for revert: Strong candidate for: multiple Linux MSan test failures with: SUMMARY: MemorySanitizer: use-of-uninitialized-value ??:0 ?? Including: CompressionUtilsTest.GzipCompression Original issue's description: > Integrate SIMD optimisations for zlib > > These optimisations have been published on zlib mailing list and at > https://github.com/jtkukunas/zlib/ > > This change merges the following optimisation patches: > - "For x86, add CPUID check." > - "Adds SSE2 optimized hash shifting to fill_window." > - "add SSE4.2 optimized hash function" > - "add PCLMULQDQ optimized CRC folding" > > From Jim Kukunas <james.t.kukunas@linux.intel.com> and adapts them to the > current zlib version in Chromium. > > The optimisations are enabled at runtime if all the necessary CPU features are > present. As the optimisations require extra cflags to enable the compiler to > use the instructions the optimisations are held in their own static library > with a stub implementation to allow linking on other platforms. > > TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance > improvement seen on RoboHornet benchmark on Linux Desktop > BUG=401517 > > Committed: https://crrev.com/e045ec106de29562ae94eafccde49a7b73848471 > Cr-Commit-Position: refs/heads/master@{#300866} TBR=agl@chromium.org,nathan.d.ciobanu@intel.com NOTREECHECKS=true NOTRY=true BUG=401517 Review URL: https://codereview.chromium.org/671163003 Cr-Original-Commit-Position: refs/heads/master@{#300889} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: ca54b3014721cdc27e4a17dd2c82fe5811fa39cc
-
robert.bradford authored
These optimisations have been published on zlib mailing list and at https://github.com/jtkukunas/zlib/ This change merges the following optimisation patches: - "For x86, add CPUID check." - "Adds SSE2 optimized hash shifting to fill_window." - "add SSE4.2 optimized hash function" - "add PCLMULQDQ optimized CRC folding" From Jim Kukunas <james.t.kukunas@linux.intel.com> and adapts them to the current zlib version in Chromium. The optimisations are enabled at runtime if all the necessary CPU features are present. As the optimisations require extra cflags to enable the compiler to use the instructions the optimisations are held in their own static library with a stub implementation to allow linking on other platforms. TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance improvement seen on RoboHornet benchmark on Linux Desktop BUG=401517 Review URL: https://codereview.chromium.org/552123005 Cr-Original-Commit-Position: refs/heads/master@{#300866} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e045ec106de29562ae94eafccde49a7b73848471
-
- Oct 07, 2014
-
-
chirantan authored
- Unify the behavior of the windows and posix implementations of these functions. - Simplify the interface by having them just indicate success or failure instead of making callers deal with partial writes. BUG=418837 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Review URL: https://codereview.chromium.org/614893004 Cr-Original-Commit-Position: refs/heads/master@{#298604} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 75ea2fdb5c87f133a8e1b8da16f6091fb7d5321e
-
- Sep 23, 2014
-
-
Brett Wilson authored
This is the new name. It has the same meaning but additionally with a "you can use the headers" permission. Rename direct_dependent_configs to public_configs. This is the new name with identical meaning. TBR=jamesr Review URL: https://codereview.chromium.org/595073002 Cr-Original-Commit-Position: refs/heads/master@{#296302} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e5389527466d390b5653724a069008b9f1edcd5c
-
- Sep 22, 2014
-
-
thestig authored
TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/587823003 Cr-Original-Commit-Position: refs/heads/master@{#296020} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 0c8a9bb8b69ca63fbf68f12e7a9f672b18899646
-
- Sep 13, 2014
-
-
thestig authored
Revert of Cleanup: Remove base/file_util.h. Convert remaining references. (patchset #1 id:1 of https://codereview.chromium.org/568873004/) Reason for revert: Broke some internal builds. Need to give them a chance to fix their builds. Original issue's description: > Cleanup: Remove base/file_util.h. Convert remaining references. > > TBR=brettw@chromium.org > > Committed: https://crrev.com/6d63c4898c2da5a286d01f80229baeb914f99f18 > Cr-Commit-Position: refs/heads/master@{#294729} TBR=brettw@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/565803006 Cr-Original-Commit-Position: refs/heads/master@{#294755} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: cdf83e8f7ec3d723c058260a492c2d9f83ec4a25
-
thestig authored
TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/568873004 Cr-Original-Commit-Position: refs/heads/master@{#294729} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 6d63c4898c2da5a286d01f80229baeb914f99f18
-
- Aug 13, 2014
-
-
jamesr@chromium.org authored
R=brettw@chromium.org Review URL: https://codereview.chromium.org/461903002 Cr-Original-Commit-Position: refs/heads/master@{#289133} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: b1867c911e8525d5c203299b04a7756733f6f88e
-
- Aug 01, 2014
-
-
thakis@chromium.org authored
Previously, every gyp file that wanted to set clang warnings had to check for clang==1 and then set cflags and xcode_settings.WARNING_CFLAGS. Factor this out, so that targets only need to set clang_warning_flags for warnings that apply to all platforms. (Per-platform flags still need to be set manually.) This removes existing duplication from gyp files, and prevents adding more duplication when trying to add the same warning flags for clang/win. BUG=82385 R=hans@chromium.org, scottmg@chromium.org TBR=various owners Review URL: https://codereview.chromium.org/437543007 Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: dcbc32cc8063d329ba9128807b05d912d7d3679e
-
- Jul 31, 2014
-
-
scottmg@chromium.org authored
The gn Windows build says d:\src\cr3\src\third_party\zlib\google\zip_internal.cc(62) : error C2220: warning treated as error - no 'object' file generated d:\src\cr3\src\third_party\zlib\google\zip_internal.cc(62) : warning C4701: potentially uninitialized local variable 'creation_disposition' used This warning is disabled in the gyp build, but it seems better to keep it on if possible, and it seems like depending on the flags passed to ZipOpenFunc, it could indeed be passing an uninitialized value to ::CreateFile. Setting it explicitly to 0 will cause ::CreateFile to fail, if it's left unset by the ifs. R=satorux@chromium.org BUG=354261 Review URL: https://codereview.chromium.org/430963002 Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 167c929e90ac048545bdf16cf454c03b3bae2882
-
- Jun 20, 2014
-
-
joaoe@opera.com authored
New API which extract a zip entry into a memory buffer. BUG=359428 Review URL: https://codereview.chromium.org/292443006 Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: aeea2725ce362b96bb2a47d5b218e69e4aa34c3c
-
- May 07, 2014
-
-
joaoe@opera.com authored
A zip file carries some metadata for each archived file, including the total uncompressed size. If that size was incorrect, therefore the compressed file being different in size when unpacking, the minizip code would fail with a CRC error. Every other zip utility handles these files, so should the minizip code for safety sake. BUG=359516 Review URL: https://codereview.chromium.org/222243003 Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 764f0715d75c8d49339aa73d0ee2feb75d63473f
-
- May 02, 2014
-
-
joaoe@opera.com authored
Also added missing <vector> told by the linter, fixed leak of a zipFile in ZipWithFilterCallback in case of error, and corrected error in function name. BUG=359428 Review URL: https://codereview.chromium.org/222323002 Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 9b3ec83e377ee60bbf824dac6f16ffd52c3d7726
-