Skip to content

Commit 596d31a

Browse files
committed
Merge remote-tracking branch 'origin/master' into test_repeat
2 parents 8f64c9e + 2bf9f7e commit 596d31a

File tree

2,143 files changed

+123700
-112450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,143 files changed

+123700
-112450
lines changed

.circleci/config.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
libicu-dev \
4747
libtidy-dev \
4848
libenchant-2-dev \
49-
libaspell-dev \
50-
libpspell-dev \
5149
libsasl2-dev \
5250
libxpm-dev \
5351
libzip-dev \
@@ -130,7 +128,6 @@ jobs:
130128
--enable-bcmath \
131129
--enable-calendar \
132130
--enable-ftp \
133-
--with-pspell=/usr \
134131
--with-enchant=/usr \
135132
--with-kerberos \
136133
--enable-sysvmsg \
@@ -151,9 +148,6 @@ jobs:
151148
--with-qdbm \
152149
--with-snmp \
153150
`#--with-unixODBC` \
154-
--with-imap \
155-
--with-kerberos \
156-
--with-imap-ssl \
157151
`#--with-pdo-odbc=unixODBC,/usr` \
158152
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient` \
159153
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient` \
@@ -182,9 +176,6 @@ jobs:
182176
-d zend_extension=opcache.so \
183177
-d opcache.enable_cli=1 \
184178
-d opcache.jit_buffer_size=64M \
185-
-d opcache.jit_max_root_traces=100000 \
186-
-d opcache.jit_max_side_traces=100000 \
187-
-d opcache.jit_max_exit_counters=100000 \
188179
-d opcache.jit=tracing \
189180
-P -q -x -j2 \
190181
-g FAIL,BORK,LEAK,XLEAK \

.cirrus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ env:
33

44
freebsd_task:
55
name: FREEBSD_DEBUG_NTS
6-
only_if: $CIRRUS_CRON == 'nightly' || $CIRRUS_CHANGE_TITLE =~ '.*\[ci freebsd\].*'
76
freebsd_instance:
87
image_family: freebsd-13-2
98
env:

.gdbinit

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ define dump_bt
6666
if $func
6767
if $ex->This->value.obj
6868
if $func->common.scope
69-
printf "%s->", $func->common.scope->name->val
69+
printf "%s->", (char*)$func->common.scope->name->val
7070
else
71-
printf "%s->", $ex->This->value.obj->ce.name->val
71+
printf "%s->", (char*)$ex->This->value.obj->ce.name->val
7272
end
7373
else
7474
if $func->common.scope
75-
printf "%s::", $func->common.scope->name->val
75+
printf "%s::", (char*)$func->common.scope->name->val
7676
end
7777
end
7878

7979
if $func->common.function_name
80-
printf "%s(", $func->common.function_name->val
80+
printf "%s(", (char*)$func->common.function_name->val
8181
else
8282
printf "(main"
8383
end
@@ -109,7 +109,7 @@ define dump_bt
109109
printf "%f", $zvalue->value.dval
110110
end
111111
if $type == 6
112-
____print_str $zvalue->value.str->val $zvalue->value.str->len
112+
____print_str (char*)$zvalue->value.str->val $zvalue->value.str->len
113113
end
114114
if $type == 7
115115
printf "array(%d)[%p]", $zvalue->value.arr->nNumOfElements, $zvalue
@@ -135,7 +135,7 @@ define dump_bt
135135
end
136136
if $func != 0
137137
if $func->type == 2
138-
printf "%s:%d ", $func->op_array.filename->val, $ex->opline->lineno
138+
printf "%s:%d ", (char*)$func->op_array.filename->val, $ex->opline->lineno
139139
else
140140
printf "[internal function]"
141141
end
@@ -186,7 +186,7 @@ define ____printzv_contents
186186
printf "double: %f", $zvalue->value.dval
187187
end
188188
if $type == 6
189-
printf "string: %s", $zvalue->value.str->val
189+
printf "string: %s", (char*)$zvalue->value.str->val
190190
end
191191
if $type == 7
192192
printf "array: "
@@ -208,7 +208,7 @@ define ____printzv_contents
208208
set $handle = $zvalue->value.obj.handle
209209
set $handlers = $zvalue->value.obj.handlers
210210
set $zobj = $zvalue->value.obj
211-
set $cname = $zobj->ce->name->val
211+
set $cname = (char*)$zobj->ce->name->val
212212
printf "(%s) #%d", $cname, $handle
213213
if ! $arg1
214214
if $handlers->get_properties == &zend_std_get_properties
@@ -233,7 +233,7 @@ define ____printzv_contents
233233
set $name = $p->key
234234
set $prop = (zend_property_info*)$p->val.value.ptr
235235
set $val = (zval*)((char*)$zobj + $prop->offset)
236-
printf "%s => ", $name->val
236+
printf "%s => ", (char*)$name->val
237237
printzv $val
238238
set $k = $k + 1
239239
end
@@ -348,7 +348,7 @@ define ____print_ht
348348
end
349349
printf "[%d] ", $i
350350
if $key
351-
____print_str $key->val $key->len
351+
____print_str (char*)$key->val $key->len
352352
printf " => "
353353
else
354354
printf "%d => ", $h
@@ -365,7 +365,7 @@ define ____print_ht
365365
end
366366
if $arg1 == 3
367367
set $func = (zend_function*)$val->value.ptr
368-
printf "\"%s\"\n", $func->common.function_name->val
368+
printf "\"%s\"\n", (char*)$func->common.function_name->val
369369
end
370370
if $arg1 == 4
371371
set $const = (zend_constant *)$val->value.ptr
@@ -423,15 +423,15 @@ define ____print_inh_class
423423
printf "final "
424424
end
425425
end
426-
printf "class %s", $ce->name->val
426+
printf "class %s", (char*)$ce->name->val
427427
if $ce->parent != 0
428-
printf " extends %s", $ce->parent->name->val
428+
printf " extends %s", (char*)$ce->parent->name->val
429429
end
430430
if $ce->num_interfaces != 0
431431
printf " implements"
432432
set $tmp = 0
433433
while $tmp < $ce->num_interfaces
434-
printf " %s", $ce->interfaces[$tmp]->name->val
434+
printf " %s", (char*)$ce->interfaces[$tmp]->name->val
435435
set $tmp = $tmp + 1
436436
if $tmp < $ce->num_interfaces
437437
printf ","
@@ -443,10 +443,10 @@ end
443443

444444
define ____print_inh_iface
445445
set $ce = $arg0
446-
printf "interface %s", $ce->name->val
446+
printf "interface %s", (char*)$ce->name->val
447447
if $ce->num_interfaces != 0
448448
set $ce = $ce->interfaces[0]
449-
printf " extends %s", $ce->name->val
449+
printf " extends %s", (char*)$ce->name->val
450450
else
451451
set $ce = 0
452452
end
@@ -486,7 +486,7 @@ define print_pi
486486
set $ptr_to_val = (zval*)((char*)$pi->ce->default_properties_table + $pi->offset - $initial_offset)
487487
printf "[%p] {\n", $pi
488488
printf " offset = %p\n", $pi->offset
489-
printf " ce = [%p] %s\n", $pi->ce, $pi->ce->name->val
489+
printf " ce = [%p] %s\n", $pi->ce, (char*)$pi->ce->name->val
490490
printf " flags = 0x%x (", $pi->flags
491491
if $pi->flags & 0x100
492492
printf "ZEND_ACC_PUBLIC"
@@ -608,7 +608,7 @@ define print_zstr
608608
set $maxlen = $zstr->len
609609
end
610610
printf "string(%d) ", $zstr->len
611-
____print_str $zstr->val $zstr->len $maxlen
611+
____print_str (char*)$zstr->val $zstr->len $maxlen
612612
printf "\n"
613613
end
614614

.github/actions/apt-x32/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ runs:
1717
g++-multilib \
1818
gcc-multilib \
1919
language-pack-de \
20-
libaspell-dev:i386 \
2120
libbz2-dev:i386 \
2221
libc6:i386 \
2322
libcurl4-openssl-dev:i386 \
@@ -31,7 +30,6 @@ runs:
3130
libonig-dev:i386 \
3231
libpng-dev:i386 \
3332
libpq-dev:i386 \
34-
libpspell-dev:i386 \
3533
libreadline-dev:i386 \
3634
libsasl2-dev:i386 \
3735
libsodium-dev:i386 \

.github/actions/apt-x64/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ runs:
3232
libicu-dev \
3333
libtidy-dev \
3434
libenchant-2-dev \
35-
libaspell-dev \
3635
libbz2-dev \
37-
libpspell-dev \
3836
libsasl2-dev \
3937
libxpm-dev \
4038
libzip-dev \

.github/actions/configure-macos/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ runs:
5757
--enable-bcmath \
5858
--enable-calendar \
5959
--enable-ftp \
60-
--with-pspell=/usr/local/opt/aspell \
6160
--with-kerberos \
6261
--enable-sysvmsg \
6362
--with-ffi \

.github/actions/configure-x32/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ runs:
5454
--enable-bcmath \
5555
--enable-calendar \
5656
--enable-ftp \
57-
--with-pspell=/usr \
5857
--with-kerberos \
5958
--enable-sysvmsg \
6059
--with-ffi \

.github/actions/configure-x64/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ runs:
5252
--enable-bcmath \
5353
--enable-calendar \
5454
--enable-ftp \
55-
--with-pspell=/usr \
5655
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
5756
--with-kerberos \
5857
--enable-sysvmsg \
@@ -73,8 +72,6 @@ runs:
7372
--with-qdbm \
7473
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
7574
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
76-
${{ inputs.skipSlow == 'false' && '--with-imap' || '' }} \
77-
${{ inputs.skipSlow == 'false' && '--with-imap-ssl' || '' }} \
7875
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
7976
$([ -d "/opt/oracle/instantclient" ] && echo '--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient') \
8077
$([ -d "/opt/oracle/instantclient" ] && echo '--with-oci8=shared,instantclient,/opt/oracle/instantclient') \

.github/actions/setup-caddy/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ runs:
33
using: composite
44
steps:
55
- shell: bash
6+
env:
7+
GH_TOKEN: ${{ github.token }}
68
run: |
79
set -x
8-
sudo curl 'https://caddyserver.com/api/download?os=linux&arch=amd64' -o /usr/bin/caddy
10+
gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -xz -C /usr/bin caddy
911
sudo chmod +x /usr/bin/caddy
1012
sudo caddy start --config ext/curl/tests/Caddyfile

.github/actions/test-linux/action.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ inputs:
99
jitType:
1010
default: 'disable'
1111
required: false
12+
idleCpu:
13+
default: 'false'
14+
required: false
1215
runs:
1316
using: composite
1417
steps:
@@ -35,6 +38,10 @@ runs:
3538
if [[ -z "$PDO_PGSQL_TEST_DSN" ]]; then
3639
export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres"
3740
fi
41+
export PDO_FIREBIRD_TEST_DATABASE=test.fdb
42+
export PDO_FIREBIRD_TEST_DSN=firebird:dbname=localhost:test.fdb
43+
export PDO_FIREBIRD_TEST_PASS=test
44+
export PDO_FIREBIRD_TEST_USER=test
3845
export ODBC_TEST_USER="odbc_test"
3946
export ODBC_TEST_PASS="password"
4047
export ODBC_TEST_DSN="Driver={ODBC Driver 17 for SQL Server};Server=127.0.0.1;Database=odbc;uid=$ODBC_TEST_USER;pwd=$ODBC_TEST_PASS"
@@ -47,17 +54,14 @@ runs:
4754
-d opcache.jit=${{ inputs.jitType }} \
4855
-d opcache.protect_memory=1 \
4956
-d opcache.jit_buffer_size=64M \
50-
-d opcache.jit_max_root_traces=100000 \
51-
-d opcache.jit_max_side_traces=100000 \
52-
-d opcache.jit_max_exit_counters=100000 \
53-
-j$(/usr/bin/nproc) \
57+
${{ inputs.idleCpu == 'true' && '-j$(($(/usr/bin/nproc) - 1))' || '-j$(/usr/bin/nproc)' }} \
5458
-g FAIL,BORK,LEAK,XLEAK \
5559
--no-progress \
5660
--offline \
5761
--show-diff \
5862
--show-slow 1000 \
5963
--set-timeout 120
60-
- uses: actions/upload-artifact@v3
64+
- uses: actions/upload-artifact@v4
6165
if: always() && inputs.testArtifacts != null
6266
with:
6367
name: ${{ github.job }}_${{ inputs.testArtifacts }}

0 commit comments

Comments
 (0)