GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: update zlib to 1.2.13.1-motley-526382e · nodejs/node@c15dd66

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/zlib
    • BUILD.gn
    • CMakeLists.txt
    • adler32.c
    • contrib/minizip
      • README.chromium
      • ioapi.h
      • mztools.c
      • mztools.h
      • unzip.c
      • unzip.h
      • zip.c
      • zip.h
    • patches
      • 0000-build.patch
      • 0013-cpu-feature-detection-for-arm.patch
  • doc/contributing/maintaining
    • maintaining-dependencies.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/zlib/BUILD.gn‎

Copy file name to clipboardExpand all lines: deps/zlib/BUILD.gn
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ config("minizip_warnings") {
385385
}
386386

387387
static_library("minizip") {
388+
include_dirs = [
389+
".",
390+
"//third_party/zlib",
391+
]
392+
388393
sources = [
389394
"contrib/minizip/ioapi.c",
390395
"contrib/minizip/ioapi.h",
Collapse file

‎deps/zlib/CMakeLists.txt‎

Copy file name to clipboardExpand all lines: deps/zlib/CMakeLists.txt
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ check_include_file(stddef.h HAVE_STDDEF_H)
2323

2424
option(ENABLE_SIMD_OPTIMIZATIONS "Enable all SIMD optimizations" OFF)
2525
option(ENABLE_SIMD_AVX512 "Enable SIMD AXV512 optimizations" OFF)
26+
option(USE_ZLIB_RABIN_KARP_HASH "Enable bitstream compatibility with canonical zlib" OFF)
27+
28+
if (USE_ZLIB_RABIN_KARP_HASH)
29+
add_definitions(-DUSE_ZLIB_RABIN_KARP_ROLLING_HASH)
30+
endif()
2631

2732
# TODO(cavalcantii): add support for other OSes (e.g. Android, fuchsia, osx)
2833
# and architectures (e.g. Arm).
@@ -238,3 +243,12 @@ enable_language(CXX)
238243
set(CMAKE_CXX_STANDARD 14) # workaround for older compilers (e.g. g++ 5.4).
239244
add_executable(zlib_bench contrib/bench/zlib_bench.cc)
240245
target_link_libraries(zlib_bench zlib)
246+
247+
#============================================================================
248+
# Minigzip tool
249+
#============================================================================
250+
add_executable(minizip_bin contrib/minizip/minizip.c contrib/minizip/ioapi.c
251+
contrib/minizip/ioapi.h contrib/minizip/unzip.c
252+
contrib/minizip/unzip.h contrib/minizip/zip.c contrib/minizip/zip.h
253+
)
254+
target_link_libraries(minizip_bin zlib)
Collapse file

‎deps/zlib/adler32.c‎

Copy file name to clipboardExpand all lines: deps/zlib/adler32.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) {
9090
return adler | (sum2 << 16);
9191
}
9292

93-
#if defined(ADLER32_SIMD_SSSE3)
93+
#if defined(ADLER32_SIMD_SSSE3) || defined(ADLER32_SIMD_NEON)
9494
/*
95-
* Use SSSE3 to compute the adler32. Since this routine can be
95+
* Use SIMD to compute the adler32. Since this function can be
9696
* freely used, check CPU features here. zlib convention is to
9797
* call adler32(0, NULL, 0), before making calls to adler32().
9898
* So this is a good early (and infrequent) place to cache CPU
Collapse file

‎deps/zlib/contrib/minizip/README.chromium‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/README.chromium
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Short Name: minizip
33
URL: https://github.com/madler/zlib/tree/master/contrib/minizip
44
Version: 1.2.12
55
License: Zlib
6+
License File: //third_party/zlib/LICENSE
67
Security Critical: yes
78
Shipped: yes
89

Collapse file

‎deps/zlib/contrib/minizip/ioapi.h‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/ioapi.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#include <stdio.h>
4545
#include <stdlib.h>
46-
#include "third_party/zlib/zlib.h"
46+
#include "zlib.h"
4747

4848
#if defined(USE_FILE32API)
4949
#define fopen64 fopen
Collapse file

‎deps/zlib/contrib/minizip/mztools.c‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/mztools.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <stdio.h>
99
#include <stdlib.h>
1010
#include <string.h>
11-
#include "third_party/zlib/zlib.h"
11+
#include "zlib.h"
1212
#include "unzip.h"
1313

1414
#define READ_8(adr) ((unsigned char)*(adr))
Collapse file

‎deps/zlib/contrib/minizip/mztools.h‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/mztools.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern "C" {
1212
#endif
1313

1414
#ifndef _ZLIB_H
15-
#include "third_party/zlib/zlib.h"
15+
#include "zlib.h"
1616
#endif
1717

1818
#include "unzip.h"
Collapse file

‎deps/zlib/contrib/minizip/unzip.c‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/unzip.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#include <stdlib.h>
6969
#include <string.h>
7070

71-
#include "third_party/zlib/zlib.h"
71+
#include "zlib.h"
7272
#include "unzip.h"
7373

7474
#ifdef STDC
Collapse file

‎deps/zlib/contrib/minizip/unzip.h‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/unzip.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
#endif
4949

5050
#ifndef _ZLIB_H
51-
#include "third_party/zlib/zlib.h"
51+
#include "zlib.h"
5252
#endif
5353

5454
#ifndef _ZLIBIOAPI_H
Collapse file

‎deps/zlib/contrib/minizip/zip.c‎

Copy file name to clipboardExpand all lines: deps/zlib/contrib/minizip/zip.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <stdlib.h>
2727
#include <string.h>
2828
#include <time.h>
29-
#include "third_party/zlib/zlib.h"
29+
#include "zlib.h"
3030
#include "zip.h"
3131

3232
#ifdef STDC

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.