Skip to content
  1. Feb 15, 2017
    • mark's avatar
      Update zlib to 1.2.11 · 13dc246a
      mark authored
      Reapply and regenerate all local patches to upstream zlib 1.2.11
      
      Explicitly specify 9 as the minimum windowBits value (representing a
      512-byte window) during compression in net/websockets even when 8
      (representing 256) is received. This was previously silently done during
      compression. Because of how zlib's deflate is implemented, when
      windowBits is 9, it will produce a stream that can be decompressed with
      a 250-byte or larger window.
      
      Changes in 1.2.9 (31 Dec 2016)
      - Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
      - Improve contrib/blast to return unused bytes
      - Assure that gzoffset() is correct when appending
      - Improve compress() and uncompress() to support large lengths
      - Fix bug in test/example.c where error code not saved
      - Remedy Coverity warning [Randers-Pehrson]
      - Improve speed of gzprintf() in transparent mode
      - Fix inflateInit2() bug when windowBits is 16 or 32
      - Change DEBUG macro to ZLIB_DEBUG
      - Avoid uninitialized access by gzclose_w()
      - Allow building zlib outside of the source directory
      - Fix bug that accepted invalid zlib header when windowBits is zero
      - Fix gzseek() problem on MinGW due to buggy _lseeki64 there
      - Loop on write() calls in gzwrite.c in case of non-blocking I/O
      - Add --warn (-w) option to ./configure for more compiler warnings
      - Reject a window size of 256 bytes if not using the zlib wrapper
      - Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
      - Add --debug (-d) option to ./configure to define ZLIB_DEBUG
      - Fix bugs in creating a very large gzip header
      - Add uncompress2() function, which returns the input size used
      - Assure that deflateParams() will not switch functions mid-block
      - Dramatically speed up deflation for level 0 (storing)
      - Add gzfread(), duplicating the interface of fread()
      - Add gzfwrite(), duplicating the interface of fwrite()
      - Add deflateGetDictionary() function
      - Use snprintf() for later versions of Microsoft C
      - Fix *Init macros to use z_ prefix when requested
      - Replace as400 with os400 for OS/400 support [Monnerat]
      - Add crc32_z() and adler32_z() functions with size_t lengths
      - Update Visual Studio project files [AraHaan]
      
      Changes in 1.2.10 (2 Jan 2017)
      - Avoid warnings on snprintf() return value
      - Fix bug in deflate_stored() for zero-length input
      - Fix bug in gzwrite.c that produced corrupt gzip files
      - Remove files to be installed before copying them in Makefile.in
      - Add warnings when compiling with assembler code
      
      Changes in 1.2.11 (15 Jan 2017)
      - Fix deflate stored bug when pulling last block from window
      - Permit immediate deflateParams changes before any deflate input
      
      BUG=691074, 691075
      
      Review-Url: https://codereview.chromium.org/2690623003
      Cr-Original-Commit-Position: refs/heads/master@{#450585}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: 6d9a6251dfe87183075dc16cfa134e41dc4cee0d
      13dc246a
  2. Feb 11, 2017
  3. Feb 10, 2017
  4. Feb 02, 2017
  5. Nov 22, 2016
  6. Sep 30, 2016
  7. Sep 28, 2016
  8. Sep 14, 2016
  9. Sep 09, 2016
  10. Jul 27, 2016
  11. Jun 30, 2016
  12. Jun 29, 2016
    • fdoray's avatar
      Remove calls to deprecated MessageLoop methods in third_party. · 68752334
      fdoray authored
      This CL makes the following replacements in
      third_party:
      
      Before               After
      ----------------------------------------------------------
       x.PostTask()          x.task_runner()->PostTask()
         PostDelayedTask()                    PostDelayedTask()
         ReleaseSoon()                        ReleaseSoon()
         DeleteSoon()                         DeleteSoon()
      x->PostTask()         y->task_runner()->PostTask()
         PostDelayedTask()                    PostDelayedTask()
         ReleaseSoon()                        ReleaseSoon()
         DeleteSoon()                         DeleteSoon()
      
       x.Run()              RunLoop().Run()
       x.RunUntilIdle()     RunLoop().RunUntilIdle()
      
      x->Run()              RunLoop().Run()
      x->RunUntilIdle()     RunLoop().RunUntilIdle()
          If |y| isn't MessageLoopForUI::current() or
          MessageLoopForIO::current()
      
       y.message_loop()->task_runner()
                            y.task_runner()
      y->message_loop()->task_runner()
                            y->task_runner()
      ----------------------------------------------------------
      
      |x| is a base::MessageLoop(ForUI|ForIO) or a pointer to
      a base::MessageLoop(ForUI|ForIO). |y| is a base::Thread
      or a pointer to a base::Thread.
      
      This CL was generated using the MessageLoopDeprecatedMethods
      clang-tidy fix available on the associated bug. Only files
      that compile on Mac are affected. Follow-up CLs will make
      these replacements for other platforms.
      
      This CL doesn't change code behavior.
      
      TBR=dglazkov@chromium.org,estade@chromium.org,agl@chromium.org
      BUG=616447
      
      Review-Url: https://codereview.chromium.org/2107163003
      Cr-Original-Commit-Position: refs/heads/master@{#402847}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: b37b2e3abbe6eee8bad666bd543b23570f3ca7c2
      68752334
  13. Jun 23, 2016
    • jiadong.zhu's avatar
      Update Zlib to version 1.2.8 · 6c142166
      jiadong.zhu authored
      merge the latest open source zlib into chromium external projects
      Version 1.2.8 fixes a very rare bug in decompression. All users are encouraged to upgrade immediately. Version 1.2.8 also has these improvements:
      - Add new inflateGetDictionary() function
      - Fix bug where gzopen() immediately followed by gzclose() would write an empty file instead of an empty gzip stream.
      - Fix bug in gzclose() when gzwrite() runs out of memory Version 1.2.7 has many portability improvements over 1.2.6, and has these enhancements:
      - Fix bug in gzclose_w() when gzwrite() fails to allocate memory
      - Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()
      - Add gzopen_w() in Windows for wide character path names
      - Fix type mismatch between get_crc_table() and crc_table Version 1.2.6 has many changes over 1.2.5, including these improvements:
      - gzread() can now read a file that is being written concurrently
      - gzgetc() is now a macro for increased speed
      - Added a 'T' option to gzopen() for transparent writing (no compression)
      - Added deflatePending() to return the amount of pending output
      - Allow deflateSetDictionary() and inflateSetDictionary() at any time in raw mode
      - deflatePrime() can now insert bits in the middle of the stream
      - ./configure now creates a configure.log file with all of the results
      - Added a ./configure --solo option to compile zlib with no dependency on any libraries
      - Fixed a problem with large file support macros
      - Fixed a bug in contrib/puff
      - Many portability improvements
      
      BUG=610615 R=gavinp@chromium.org
      
      Review-Url: https://codereview.chromium.org/2084863002
      Cr-Original-Commit-Position: refs/heads/master@{#401538}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: ca1c569cff20aa43a42816791744d847c7d788de
      6c142166
  14. Jun 20, 2016
    • jmadill's avatar
      Revert of Update Zlib to version 1.2.8 (patchset #10 id:220001 of... · bf2aebea
      jmadill authored
      Revert of Update Zlib to version 1.2.8 (patchset #10 id:220001 of https://codereview.chromium.org/1955383002/ )
      
      Reason for revert:
      Broke the Windows Debug GPU FYI builder:
      
      https://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Win%20Builder%20%28dbg%29/builds/41421
      
      fx_zlib.gzlib.obj : error LNK2005: _gzopen_w already defined in zlib.gzlib.obj
      
      initial\chrome.dll : fatal error LNK1169: one or more multiply defined symbols found
      
      Possibly because they use shared components with a GYP build.
      
      Original issue's description:
      > Update Zlib to version 1.2.8
      >
      > merge the latest open source zlib into chromium external projects
      >
      >  Version 1.2.8 fixes a very rare bug in decompression. All users are encouraged to upgrade immediately. Version 1.2.8 also has these improvements:
      >     - Add new inflateGetDictionary() function
      >     - Fix bug where gzopen() immediately followed by gzclose() would write an empty file instead of an empty gzip stream.
      >     - Fix bug in gzclose() when gzwrite() runs out of memory
      >     Version 1.2.7 has many portability improvements over 1.2.6, and has these enhancements:
      >     - Fix bug in gzclose_w() when gzwrite() fails to allocate memory
      >     - Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()
      >     - Add gzopen_w() in Windows for wide character path names
      >     - Fix type mismatch between get_crc_table() and crc_table
      >     Version 1.2.6 has many changes over 1.2.5, including these improvements:
      >     - gzread() can now read a file that is being written concurrently
      >     - gzgetc() is now a macro for increased speed
      >     - Added a 'T' option to gzopen() for transparent writing (no compression)
      >     - Added deflatePending() to return the amount of pending output
      >     - Allow deflateSetDictionary() and inflateSetDictionary() at any time in raw mode
      >     - deflatePrime() can now insert bits in the middle of the stream
      >     - ./configure now creates a configure.log file with all of the results
      >     - Added a ./configure --solo option to compile zlib with no dependency on any libraries
      >     - Fixed a problem with large file support macros
      >     - Fixed a bug in contrib/puff
      >     - Many portability improvements
      >
      > BUG=610615
      > R=agl@chromium.org
      > R=gavinp@chromium.org
      >
      > Committed: https://crrev.com/a50849ae9ba1b2fad47905db521463b3bf085883
      > Cr-Commit-Position: refs/heads/master@{#400647}
      
      TBR=agl@chromium.org,gavinp@chromium.org,khasim.mohammed@linaro.org,jiadong.zhu@linaro.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=610615
      
      Review-Url: https://codereview.chromium.org/2079313002
      Cr-Original-Commit-Position: refs/heads/master@{#400670}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: 43770253ccc0425c4edde966e56b3e68955cc4d3
      bf2aebea
    • jiadong.zhu's avatar
      Update Zlib to version 1.2.8 · 90f7dad7
      jiadong.zhu authored
      merge the latest open source zlib into chromium external projects
      
       Version 1.2.8 fixes a very rare bug in decompression. All users are encouraged to upgrade immediately. Version 1.2.8 also has these improvements:
          - Add new inflateGetDictionary() function
          - Fix bug where gzopen() immediately followed by gzclose() would write an empty file instead of an empty gzip stream.
          - Fix bug in gzclose() when gzwrite() runs out of memory
          Version 1.2.7 has many portability improvements over 1.2.6, and has these enhancements:
          - Fix bug in gzclose_w() when gzwrite() fails to allocate memory
          - Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()
          - Add gzopen_w() in Windows for wide character path names
          - Fix type mismatch between get_crc_table() and crc_table
          Version 1.2.6 has many changes over 1.2.5, including these improvements:
          - gzread() can now read a file that is being written concurrently
          - gzgetc() is now a macro for increased speed
          - Added a 'T' option to gzopen() for transparent writing (no compression)
          - Added deflatePending() to return the amount of pending output
          - Allow deflateSetDictionary() and inflateSetDictionary() at any time in raw mode
          - deflatePrime() can now insert bits in the middle of the stream
          - ./configure now creates a configure.log file with all of the results
          - Added a ./configure --solo option to compile zlib with no dependency on any libraries
          - Fixed a problem with large file support macros
          - Fixed a bug in contrib/puff
          - Many portability improvements
      
      BUG=610615
      R=agl@chromium.org
      R=gavinp@chromium.org
      
      Review-Url: https://codereview.chromium.org/1955383002
      Cr-Original-Commit-Position: refs/heads/master@{#400647}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: a50849ae9ba1b2fad47905db521463b3bf085883
      90f7dad7
  15. May 12, 2016
  16. Apr 22, 2016
  17. Apr 19, 2016
  18. Feb 26, 2016
  19. Jan 14, 2016
  20. Dec 28, 2015
  21. Dec 27, 2015
  22. Nov 03, 2015
  23. Oct 13, 2015
  24. Oct 07, 2015
    • brucedawson's avatar
      Fix VC++ 2015 64-bit truncation warning in zlib · eb7fac2e
      brucedawson authored
      VC++ 2015 64-bit builds were giving this warning:
      crc_folding.c(286): warning C4311: 'type cast': pointer truncation from
        'const unsigned char *' to 'unsigned long'
      
      Converting from unsigned char* to long is normally dodgy but is safe in
      this case because of the masking with 0xF. Casting through uintptr_t is
      sufficient to allay VC++'s fears that we are making a mistake.
      
      R=pkasting@chromium.org,gavinp@chromium.org
      BUG=440500
      
      Review URL: https://codereview.chromium.org/1384773002
      
      Cr-Original-Commit-Position: refs/heads/master@{#352900}
      Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
      Cr-Mirrored-Commit: b474ca01fcc5376eb538f71e524351e52319d396
      eb7fac2e
  25. Sep 02, 2015
  26. Sep 01, 2015
  27. Aug 31, 2015
  28. Aug 07, 2015
  29. Jul 16, 2015
    • brettw's avatar
      Remove legacy StartsWithASCII function. · e88e3c3a
      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
      e88e3c3a
    • brettw's avatar
      Remove some legacy versions of StartsWith and EndsWith. · 6b0ea321
      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
      6b0ea321
    • yosin's avatar
      Revert of Remove some legacy versions of StartsWith and EndsWith. (patchset #6... · e4fb7631
      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
      e4fb7631
    • brettw's avatar
      Remove some legacy versions of StartsWith and EndsWith. · 95aa76b7
      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
      95aa76b7
  30. Jul 10, 2015
  31. Jul 01, 2015
  32. Jun 24, 2015
  33. Jun 12, 2015
  34. Jun 09, 2015
Loading