Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
7fe37af
Run tests on PHP 8.3
nikic Oct 16, 2023
8468e85
Update changelog
nikic Oct 16, 2023
1b72569
Release apcu 5.1.23
nikic Nov 11, 2023
98ab20d
Back to dev
nikic Nov 11, 2023
d9b2a5a
Build on PHP 8.3 on Windows
nikic Nov 29, 2023
acc48ed
Use actions/checkout@v4
nikic Nov 29, 2023
02b0ba7
Fix format specifiers in apc_cache.c
nikic Dec 9, 2023
0797ccc
Fix format specifier in apc_shm.c
nikic Dec 9, 2023
7cfb405
Preserve search parameter when deleting entry
nikic Dec 9, 2023
1ba5a2d
Allow arbitrary search regex
nikic Dec 9, 2023
9dad016
Make apc_entry_002.phpt compatible with PHP 8.4
nikic Jul 13, 2024
5afe2ee
Try to fix windows ci
nikic Jul 13, 2024
1d80077
Fix matrix
nikic Jul 13, 2024
2b0e779
Add PHP 8.4 to Linux CI matrix
nikic Jul 13, 2024
15766e6
tests: Fix PHP ZTS detection
jtojnar Aug 10, 2024
103bb84
Autotools: Replace APCU_CFLAGS Makefile variable with shell variable
petk Aug 31, 2024
3b1f466
Autotools: Sort configure options help texts with AS_HELP_STRING
petk Aug 31, 2024
2b299d6
Autotools: Refactor --enable-apcu-rwlocks option to PHP_ARG_ENABLE
petk Sep 1, 2024
0cc6471
Autotools: Remove union semun check
petk Sep 1, 2024
4c43268
Autotools: Refactor --enable-apcu-spinlocks
petk Sep 1, 2024
cf43c19
Fix -Wundef warnings
petk Sep 2, 2024
f7fe4cc
Autotools: Sync configure options
petk Sep 2, 2024
004c7b4
Remove unused WIN32_ONLY_COMPILER compile definition
petk Sep 2, 2024
0f840e9
Autotools: Refactor rt library check (#520)
petk Sep 5, 2024
380c7c7
Remove broken Travis badge from readme
Krinkle Sep 14, 2024
f6d934d
Use newer upload-artifact version
nikic Sep 15, 2024
3299efc
Try a fix for the setup-php-sdk issue
nikic Sep 15, 2024
4f92c02
Added a composer.json to enable support for PIE
asgrim Sep 18, 2024
12e92f8
Update vendor name to apcu
asgrim Sep 19, 2024
62e6798
Release apcu 5.1.24
nikic Sep 21, 2024
b1163e8
Back to dev
nikic Sep 21, 2024
808ab43
Run Windows CI against PHP 8.4, too
cmb69 Sep 29, 2024
5d9a52e
Fix Windows CI artifact upload
cmb69 Sep 29, 2024
f1aed54
Use caching for Windows CI and add PHP 7.0/7.1 to matrix (#528)
cmb69 Sep 30, 2024
2b2eeca
Try to restore a dummy appveyor.yml
nikic Sep 30, 2024
9235333
Try build: off
nikic Sep 30, 2024
635899c
Remove .appveyor directory
nikic Sep 30, 2024
0415f0a
Try to cleanup cache entries with explicit ttl when apc.ttl is 0
madmajestro Feb 21, 2025
f26d563
Fix apc_sma_get_avail_size() to look for a contiguous block of memory…
madmajestro Feb 26, 2025
5f37033
Fix memory size passed to expunge()
madmajestro Mar 1, 2025
fbeaaf6
config.m4: Add -Wno-clobbered to fix compiler warnings
madmajestro Mar 5, 2025
0649eb1
Cleanup of entries should not be skipped when using default settings
madmajestro Mar 7, 2025
89618de
Change behavior of smart configuration setting
madmajestro Mar 17, 2025
3c23c47
Remove unused function apc_cache_find()
madmajestro Mar 27, 2025
426ac32
Fix minimum block size used by sma layer
madmajestro Mar 31, 2025
7f84f2b
Remove unused code disabled by define APC_MEMPROTECT
madmajestro Apr 2, 2025
4e41836
Cleanup mmap and shm implementation
madmajestro Apr 4, 2025
3f28ba8
Remove unused debug code from sma layer
madmajestro Apr 5, 2025
c7c811f
Remove unnecessary variables from apc_cache_t and apc_cache_header_t
madmajestro Apr 6, 2025
1218ed2
Unify shmaddr and header in sma layer
madmajestro Apr 7, 2025
e313096
Avoid different notations to calculate the size of block_t
madmajestro Apr 8, 2025
0a21d64
Use aligned size for shm to ensure alignment of last block in sma layer
madmajestro Apr 8, 2025
0e345ca
Cleanup unnecessary wrapping of apc_sma_malloc_ex()
madmajestro Apr 10, 2025
2c3f206
Optimize ALIGNWORD()
madmajestro Apr 15, 2025
a137dc5
Fix size of initial empty block in sma layer
madmajestro Apr 8, 2025
782f047
Update TECHNOTES to current state of sma layer
madmajestro Apr 14, 2025
29e58f0
Drop support for multiple shared memory segments
madmajestro Apr 23, 2025
453a849
Make the key of a cache entry relocatable
madmajestro Apr 29, 2025
19c4d56
Fix mem_size of cache entries
madmajestro May 1, 2025
85276fa
Make cache entries relocatable
madmajestro May 4, 2025
bd7f3f5
Compute the number of hash slots instead of using a fix default value
madmajestro May 7, 2025
a486c32
Make cache relocatable
madmajestro May 6, 2025
7bd94a7
Small SMA code cleanups / improvements
madmajestro May 26, 2025
289addf
Refactor linked lists of the cache layer to doubly linked lists
madmajestro May 14, 2025
d0a1fa9
Add defragmentation to apcu
madmajestro May 23, 2025
19eb5cf
Add support for hugetlb pages on Linux (#559)
KitanoTom Jun 3, 2025
4292854
Disable Windows CI for PHP 7.x (#565)
nikic Jun 3, 2025
01e5c4d
Fix Linux CI for PHP 7.x to not silently abort tests (#567)
madmajestro Jun 6, 2025
ebd7a02
Update atime and statistics when accessing entries with apcu_exists()…
madmajestro Jun 8, 2025
955031e
Update changelog
nikic Jun 8, 2025
51b745d
Update changelog (#569)
madmajestro Jun 9, 2025
66150a1
Add cache cleanup and defragmentation counts to apcu_cache_info() (#570)
madmajestro Jun 14, 2025
322dcea
Update TECHNOTES (#574)
madmajestro Jul 12, 2025
3bab43a
Fix relocatable representation of zend_empty_array (#575)
madmajestro Jul 12, 2025
8e7ed9a
Add test that a repeated unpersist doesn't break representation (#577)
madmajestro Jul 26, 2025
16b021c
Add reference and empty array to the defrag test (#576)
madmajestro Jul 27, 2025
616c72d
Release apcu 5.1.25
nikic Jul 28, 2025
e63ac23
Back to dev
nikic Jul 28, 2025
1ca8ca9
Use different fatal error in test for PHP 8.5
madmajestro Jul 29, 2025
459e208
Add PHP 8.5 to Linux CI matrix
madmajestro Jul 29, 2025
6b23303
Fix stacking of default expunge operations
madmajestro Aug 4, 2025
66b4f12
Fix race condition during allocation / defragmentation (#584)
madmajestro Aug 5, 2025
43719b8
Release apcu 5.1.26
nikic Aug 5, 2025
3625ba4
Back to dev
nikic Aug 5, 2025
3c53e4c
Cleanup code comments (#585)
madmajestro Aug 13, 2025
fe599cd
Fix releasing of ref_count in apc_cache_store() (#587)
madmajestro Aug 14, 2025
25cd3bc
Remove report_memleaks ini directive from tests (#590)
madmajestro Aug 20, 2025
36e51f0
Release apcu 5.1.27
madmajestro Aug 28, 2025
3245a25
Back to dev
madmajestro Aug 28, 2025
023c16b
Reclaim unused space from allocated blocks during defragmentation
madmajestro Aug 19, 2025
a6b94a5
Remove test bug63224.phpt
madmajestro Sep 21, 2025
d17bf0b
Removed obsolete files from the test directory
madmajestro Sep 24, 2025
c48075c
Add PHP 8.5 to Windows CI
madmajestro Sep 26, 2025
efcaa35
Improve SMA allocation performance and lock contention
madmajestro Oct 10, 2025
6846950
Small SMA code improvements
madmajestro Oct 10, 2025
9eb62d1
Check result of SMA lock acquisitions
madmajestro Oct 17, 2025
d720b62
Prevent PHP warnings when using apc.php with APCu versions <= 5.1.24
madmajestro Oct 21, 2025
7d1c95b
The zval_dtor() alias of zval_ptr_dtor_nogc() has been removed
k0d3r1s Dec 4, 2025
352caaf
Prevent cache wipes caused by huge allocation attempts
madmajestro Dec 7, 2025
819fce9
Release apcu 5.1.28
nikic Dec 7, 2025
6bd11cb
chore(PLATFORM-11898): bump apcu
albertsko Aug 26, 2026
ca7e208
chore(PLATFORM-11898): cover soft expiry of entries with per-entry TTL
albertsko Aug 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .appveyor/build.ps1

This file was deleted.

61 changes: 0 additions & 61 deletions .appveyor/install.ps1

This file was deleted.

20 changes: 0 additions & 20 deletions .appveyor/package.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions .appveyor/test.ps1

This file was deleted.

33 changes: 19 additions & 14 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ jobs:
ubuntu:
strategy:
matrix:
version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
runs-on: ubuntu-latest
steps:
- name: Set the hugepages parameter
run: sudo sh -c "echo 1 > /proc/sys/vm/nr_hugepages"
- name: Checkout apcu
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -17,6 +19,8 @@ jobs:
run: phpize
- name: configure
run: ./configure --enable-apcu-debug
- name: Fix missing PHP_EXECUTABLE in Makefile for PHP 7.x
run: sed -i -e 's/^PHP_EXECUTABLE = NONE$/PHP_EXECUTABLE = \/usr\/bin\/php/' Makefile
- name: make
run: make
- name: test
Expand All @@ -31,20 +35,21 @@ jobs:
shell: cmd
strategy:
matrix:
version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
arch: [x64]
ts: [nts, ts]
runs-on: windows-latest
version: ["8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
arch: [x64]
ts: [nts, ts]
runs-on: windows-2022
steps:
- name: Checkout apcu
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP
id: setup-php
uses: cmb69/setup-php-sdk@v0.6
uses: php/setup-php-sdk@v0.11
with:
version: ${{matrix.version}}
arch: ${{matrix.arch}}
ts: ${{matrix.ts}}
cache: true
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
Expand All @@ -60,17 +65,17 @@ jobs:
run: nmake test TESTS="--show-diff tests"
- name: package
run: |
md .install
copy LICENSE .install
md win-install
copy LICENSE win-install
if exist x64 (
if exist x64\Release (set prefix=x64\Release) else set prefix=x64\Release_TS
) else (
if exist Release (set prefix=Release) else set prefix=Release_TS
)
copy %prefix%\php_apcu.dll .install
copy %prefix%\php_apcu.pdb .install
copy %prefix%\php_apcu.dll win-install
copy %prefix%\php_apcu.pdb win-install
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: apcu-${{matrix.version}}-${{matrix.arch}}-${{matrix.ts}}
path: .install
path: win-install
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ APCu only supports userland caching of variables.
APCu is APC stripped of opcode caching.
See [APCu Backwards Compatibility Module](https://github.com/krakjoe/apcu-bc) which provides a drop in replacement for APC.

[![Build Status](https://travis-ci.org/krakjoe/apcu.svg?branch=master)](https://travis-ci.org/krakjoe/apcu)
[![Build status](https://ci.appveyor.com/api/projects/status/om63glh4g24gi1p9/branch/master?svg=true)](https://ci.appveyor.com/project/krakjoe/apcu/branch/master)
[![Build status: GitHub](https://github.com/krakjoe/apcu/actions/workflows/config.yml/badge.svg)](https://github.com/krakjoe/apcu/actions/workflows/config.yml)
[![Build status: AppVeyor](https://ci.appveyor.com/api/projects/status/om63glh4g24gi1p9/branch/master?svg=true)](https://ci.appveyor.com/project/krakjoe/apcu/branch/master)

Documentation
============
Expand Down
Loading
Loading