Debian Codegraph @

Changes

raw
1 Revision history for Overload-FileCheck
2
3 0.015 2026-04-26 09:46:08+02:00 Europe/Vienna
4
5 [New features]
6 - feat: add mock_file_check_guard() for scope-based cleanup
7 - feat: add stat_as_fifo() helper for named pipe mocking
8 - feat: support CHECK_IS_NULL return from mock callbacks (treats target as non-existent)
9
10 [Bug fixes - errno preservation]
11 - fix: preserve errno through XS scope cleanup in stat/file-check paths
12 - fix: preserve errno through pp_overload_ft_int (-s handler)
13 - fix: preserve errno through pp_overload_ft_nv (-M, -A, -C handlers)
14 - fix: auto-set errno (ENOENT) for int ops returning CHECK_IS_FALSE
15
16 [Bug fixes - operator behavior]
17 - fix: enable -T, -B and other uppercase file-test operators
18 - fix: eliminate -B double-dispatch through the mock system
19 - fix: return CHECK_IS_NULL for -B/-T on non-existent mock files to avoid double-dispatch
20 - fix: restore @stat guard in -B handler to prevent undef warning
21 - fix: correct -e false negative for stat results with mode 0
22 - fix: use stat (not lstat) for -p/-S/-b/-c in _check_from_stat
23 - fix: use stat (not lstat) for -u, -g, -k in mock_all_from_stat
24 - fix: resolve -1 sentinel collision for NV ops (-M, -C, -A)
25 - fix: handle non-numeric SV types in pp_overload_ft_nv
26 - fix: CHECK_IS_FALSE now returns a defined false value instead of undef
27
28 [Bug fixes - input validation / API hardening]
29 - fix: croak on trailing dash-option without CODE ref in import list
30 - fix: croak on unknown options in stat_as_* helpers
31 - fix: croak on unknown user/group names in stat helpers
32 - fix: accept bare (non-st_) keys in hash stat mocks
33 - fix: accept string-encoded numbers in stat array validation
34 - fix: add missing dev/ino/nlink/rdev defaults to stat_as_* helpers
35 - fix: preserve original key when looking up stat slot in _stat_for
36 - refactor: use Carp::croak instead of die in public API
37
38 [Bug fixes - thread / re-entrancy safety]
39 - fix: isolate gl_overload_ft per interpreter via MY_CXT for ithreads safety
40 - fix: make _check() re-entrant safe for nested mock callbacks
41 - fix: replace assert() with runtime croak for gl_overload_ft null checks
42 - fix: release SV refcount in pp_overload_ft_nv before all return paths
43 - fix: save original count before drain loop in _overload_ft_ops_nv croak
44
45 [Internals / cleanup]
46 - refactor: extract LEAVE_PRESERVING_ERRNO macro for errno-safe scope exits
47 - refactor: extract _resolve_check / _normalize_and_validate_check helpers
48 - refactor: replace _check_from_stat if/elsif chain with a dispatch table
49 - refactor: build %REVERSE_MAP eagerly at module load
50 - cleanup: remove debug printfs, dead code, and stale TODOs from XS
51 - cleanup: remove unused offset field from OverloadFTOps struct
52 - refactor: update stale GitHub URLs from CpanelInc to cpan-authors
53 - fix: remove stale docs and fix POD typo
54
55 0.014 2026-02-22 10:19:05-07:00 America/Denver
56
57 - fix: prevent filehandle reference leak in $_last_call_for
58 - fix: spelling typos
59
60 0.013 2022-02-23 08:36:12-07:00 America/Denver
61
62 - Fix a PL_statcache bug when checking: -l $f || -e _
63 - Add some extra test coverage for 'mock_all_from_stat'
64
65 0.012 2022-01-20 19:00:46-07:00 America/Denver
66
67 - Fix regression from previous release when checking PL_statcache
68
69 0.011 2022-01-10 09:17:19-07:00 America/Denver
70
71 - Better handling of nonexistent stat() values - Sawyer X
72 - Fix macOS when running tests privileged - FGasper
73
74 0.010 2020-08-10 17:19:58-06:00 America/Denver
75
76 - update ppport.h to version 3.59
77 - adjust -e and other check for Perl <= 5.14
78 - fix -e: now returns 'undef' when false and not ''
79 - fix unit tests failures on darwin
80 - fix compilation warning on darwin
81 - external link is clickable in POD - Mohammad S Anwar <[email protected]>
82
83 0.009 2019-01-24 14:01:45-07:00 America/Denver
84
85 0.008 2018-12-26 14:11:45-07:00 America/Denver
86
87 0.007 2018-12-21 17:33:15-06:00 America/Chicago
88
89 Fix stack corruption: Bizarre copy of ARRAY in list assignment
90
91 0.006 2018-10-29 10:59:05-05:00 America/Chicago
92
93 fallback to Perl OP when filecheck is called with _ or *_ (use statcache)
94
95 0.005 2018-10-25 12:58:55-05:00 America/Chicago
96
97 improve POD and Markdown documentation
98
99 0.004 2018-10-24 14:18:10-05:00 America/Chicago
100
101 - fix XS compilation issue on some systems
102
103 0.003 2018-10-24 12:55:07-05:00 America/Chicago
104
105 - fix t/mock-setting-errno.t on server not using english as locale
106 - adjust several checks to use stat instead of lstat
107
108 0.002 2018-10-23 17:12:06-05:00 America/Chicago
109
110 - mock_stat can handle empty array ref return
111 - fix unclosed C comment in FileCheck.xs
112 - avoid issues with test files and case insensitive file systems
113 - use stat instead of lstat when possible
114 - hide the second call to lstat (GH #4)
115 - add helpers for stat: stat_as_file, stat_as_directory...
116
117 0.001 2018-10-19 16:58:00-05:00 America/Chicago
118
119 First version, this is a very alpha state
120 use it at your own risk
121