| 1 |
Revision history for File-Map |
| 2 |
|
| 3 |
0.71 2023-04-10 14:18:43+02:00 Europe/Amsterdam |
| 4 |
- Check layers before statting |
| 5 |
- Split out mmap-compat.c |
| 6 |
|
| 7 |
0.70 2023-04-02 22:27:45+02:00 Europe/Amsterdam |
| 8 |
- Fix backwards compatability issue |
| 9 |
|
| 10 |
0.69 2023-04-02 22:07:56+02:00 Europe/Amsterdam |
| 11 |
- Move almost all code from .pm file into .xs file |
| 12 |
|
| 13 |
0.68 2023-03-25 10:32:11+01:00 Europe/Amsterdam |
| 14 |
- Re-eliminate second magic vtable |
| 15 |
- Eliminate all CODE blocks in XS |
| 16 |
|
| 17 |
0.67 2020-06-26 00:26:54+02:00 Europe/Amsterdam |
| 18 |
- Fix unresolved symbol "madvise" on QNX NTO |
| 19 |
- Fix regression that could cause empty maps to crash upon reuse. |
| 20 |
|
| 21 |
0.66 2018-12-18 16:57:58+01:00 Europe/Amsterdam |
| 22 |
- Warn when buffer gets truncated |
| 23 |
|
| 24 |
0.65 2017-10-30 13:37:57+01:00 Europe/Amsterdam |
| 25 |
- Fix mapping into a hash element |
| 26 |
- Fix compilation warning by giving boot function a proper return type |
| 27 |
- Take into account sleep 0.1 may sleep a little less |
| 28 |
|
| 29 |
0.64 2015-07-13 12:50:12+02:00 Europe/Amsterdam |
| 30 |
Fix segfault in empty mappings |
| 31 |
Skip tainting tests on non-tainting perls |
| 32 |
|
| 33 |
0.63 2014-09-12 18:27:17+02:00 Europe/Amsterdam |
| 34 |
Fix error message on unknown protect mode |
| 35 |
|
| 36 |
0.62 2014-08-16 14:34:48+02:00 Europe/Amsterdam |
| 37 |
Reuse perl's reentrant API |
| 38 |
Skip setlocale on android |
| 39 |
|
| 40 |
0.61 2013-10-04 21:36:19 Europe/Amsterdam |
| 41 |
Improve 64 bit pointer logic on Windows |
| 42 |
|
| 43 |
0.60 2013-08-11 01:20:06 Europe/Amsterdam |
| 44 |
Upgrade dependency to Test::Warnings 0.005 |
| 45 |
|
| 46 |
0.59 2013-08-09 11:04:45 Europe/Amsterdam |
| 47 |
Explicitly depend on Test::Warnings 0.004 |
| 48 |
|
| 49 |
0.58 2013-08-08 23:18:15 Europe/Amsterdam |
| 50 |
Converted from Test::Exception to Test::Fatal |
| 51 |
Converted Test::Warn and Test::NoWarnings to Test::Warnings |
| 52 |
|
| 53 |
0.57 2013-05-25 23:48:07 Europe/Amsterdam |
| 54 |
Use correct maximum length on 64-bit Windows |
| 55 |
Re-add perl version suggestions |
| 56 |
|
| 57 |
0.56 2012-12-20 23:49:14 Europe/Amsterdam |
| 58 |
Don't run threading tests with tainting #82017 |
| 59 |
Actually use ppport.h #82017 |
| 60 |
|
| 61 |
0.55 2012-12-14 14:04:49 Europe/Amsterdam |
| 62 |
Fix SV_CHECK_THINKFIRST_COW_DROP on 5.8.x |
| 63 |
|
| 64 |
0.54 2012-12-13 23:47:47 Europe/Amsterdam |
| 65 |
Deal better with copy-on-write |
| 66 |
Remove Const::Fast dependency |
| 67 |
|
| 68 |
0.53 2012-11-07 11:45:09 Europe/Amsterdam |
| 69 |
Switch to Sub::Exporter::Progressive |
| 70 |
Moved protection flags into XS |
| 71 |
|
| 72 |
0.52 2012-07-17 18:10:48 Europe/Bucharest |
| 73 |
It's called HAS_STRERROR_R and not HAVE_STRERROR_R |
| 74 |
Make sure pTHX is available for sterror (5.8.7 compatibility) |
| 75 |
|
| 76 |
0.51 2012-06-13 21:06:41 Europe/Amsterdam |
| 77 |
Remove threads.pm from dependencies |
| 78 |
Disable pin and unpin on VMS |
| 79 |
Enable compilation with -Werror=format-security |
| 80 |
|
| 81 |
0.50 2012-05-01 22:37:41 Europe/Amsterdam |
| 82 |
Fix building on threadless Linux |
| 83 |
|
| 84 |
0.49 2012-04-26 00:06:36 Europe/Amsterdam |
| 85 |
Revert to old error code on Windows |
| 86 |
|
| 87 |
0.48 2012-04-23 02:27:01 Europe/Amsterdam |
| 88 |
Fix madvice on old cygwin versions |
| 89 |
Made strerror_r/strerror_s usage more robust |
| 90 |
|
| 91 |
0.47 2012-04-04 23:17:55 Europe/Amsterdam |
| 92 |
Restore fileno in sys_map; this fixes #76253: non-anonymous sys_map was useable since e102d034 |
| 93 |
Switch to using PodWeaver |
| 94 |
|
| 95 |
0.46 2012-02-26 17:59:33 Europe/Amsterdam |
| 96 |
Fix madvise on cygwin |
| 97 |
Disable advise on VMS |
| 98 |
Add mergeable and unmergeable advices for Linux |
| 99 |
|
| 100 |
0.45 2012-02-22 20:17:29 Europe/Amsterdam |
| 101 |
Replace round() by floor() + 0.5. The former is C99, the latter in C89... |
| 102 |
Test a bit more leniently on perl 5.8.7 |
| 103 |
|
| 104 |
0.44 2012-01-27 14:27:27 Europe/Amsterdam |
| 105 |
Fixed use of BITS32_MASK on Windows |
| 106 |
|
| 107 |
0.43 2012-01-27 12:42:27 Europe/Amsterdam |
| 108 |
Upgrade utf8 mappings before marking them as readonly (fixes #74436) |
| 109 |
|
| 110 |
0.42 2012-01-24 23:24:29 Europe/Amsterdam |
| 111 |
Redone offset handling to be more 32bit compatible |
| 112 |
Add large file support on Windows |
| 113 |
|
| 114 |
0.41 2012-01-14 13:14:23 Europe/Amsterdam |
| 115 |
Fixed bug on Windows when using offsets |
| 116 |
|
| 117 |
0.40 2011-10-24 20:41:19 Europe/Amsterdam |
| 118 |
Made STDOUT test more portable |
| 119 |
Remove all mentioning of VMS |
| 120 |
|
| 121 |
0.39 2011-10-17 21:57:47 Europe/Amsterdam |
| 122 |
Converted module to Dist::Zilla |
| 123 |
Fixed various issues in unit tests |
| 124 |
|
| 125 |
0.38 2011-08-21 |
| 126 |
Taint memory maps when tainting mode is on (fixes RT#68787) |
| 127 |
Explicitly test error messages in "C" locale |
| 128 |
Give better errors on mapping zero length nonfiles |
| 129 |
Handle SV-flags more intelligently |
| 130 |
|
| 131 |
0.37 2011-05-02 |
| 132 |
Fixed permission in remap test |
| 133 |
Silenced warnings on modern Test::More's |
| 134 |
|
| 135 |
0.36 2011-01-26 |
| 136 |
Fixed tests on Windows and on perl < 5.8.7 |
| 137 |
|
| 138 |
0.35 2011-01-16 |
| 139 |
Added proper support for PerlIO layers, in order to: |
| 140 |
* reliably detect crlf transformations |
| 141 |
* detect and handle utf8 layers |
| 142 |
Use sterror instead of strerror_r when the latter isn't available |
| 143 |
|
| 144 |
0.34 2010-12-04 |
| 145 |
Skip remap tests as soon as possible, to avoid failures on non-Linux |
| 146 |
Fixed anonymous mapping on Windows |
| 147 |
Fixed warning on perl < 5.8.8 |
| 148 |
|
| 149 |
0.33 2010-12-01 |
| 150 |
Made remap actually useful (will now try to move the map if necesary) |
| 151 |
Added tests for remap |
| 152 |
Made code C89 compliant again |
| 153 |
Fixed minor issues with strerror_r |
| 154 |
Added Test::NoWarnings to tests |
| 155 |
|
| 156 |
0.32 2010-11-09 |
| 157 |
Skip localization test when localization is not availible |
| 158 |
Reject scalar string handles |
| 159 |
|
| 160 |
0.31 2010-09-20 |
| 161 |
Only add MGf_local to mg_flags if MGf_local is defined (5.8.9 and up) |
| 162 |
Fix memory leak in empty maps (found by Test::Valgrind) |
| 163 |
|
| 164 |
0.30 2010-09-13 |
| 165 |
Fixed regression in mmap_info allocation on Win32 introduced by 0.28 |
| 166 |
Replaced Readonly by Const::Fast |
| 167 |
Replaced Exporter by Sub::Exporter |
| 168 |
Handle undefined assignment more cleanly |
| 169 |
Throw an exception on localization |
| 170 |
Demoted exception on non-binary handles a warning, added tests and documentation for this |
| 171 |
|
| 172 |
0.29 2010-08-25 |
| 173 |
More fixing related to RT#60710 |
| 174 |
|
| 175 |
0.28 2010-08-25 |
| 176 |
Made truncation warning do the right thing, unbreaking it on 5.13.3+ (fixes RT#60710) |
| 177 |
Allocate mmap_info in a thread safe manner, preventing a weird class of bugs. |
| 178 |
Removed threads.pm from dependency list (fixes RT#60708) |
| 179 |
Fixed length wrap around bug (RT#56643) |
| 180 |
Added an example: fastsearch |
| 181 |
Suggest to use 5.12 for less buggy behavior on large strings |
| 182 |
|
| 183 |
0.27 2010-04-25 |
| 184 |
Allow crlf as a binary layer for now, until a proper check has been developed |
| 185 |
|
| 186 |
0.26 2010-04-20 |
| 187 |
Fixed RT#56644 (mmap turning ref into map) |
| 188 |
Fixed RT#56645 (mmap on hash or array entry) |
| 189 |
Fixed RT#56649 (negative offset segv) |
| 190 |
Made offset an UV, eleviating RT#56646 a little |
| 191 |
|
| 192 |
0.25 2010-04-15 |
| 193 |
Fixed regression in unit tests on Windows |
| 194 |
Minor documentation fixes |
| 195 |
|
| 196 |
0.24 2010-04-12 |
| 197 |
*Removed almost all prototypes* |
| 198 |
Made code C89 compliant to support MS VC++ (Jan Dubois) |
| 199 |
Throw an exception if non-binary PerlIO layers are used. |
| 200 |
Documentation updates |
| 201 |
Added tests for unicode |
| 202 |
Possibly fix a warning on readonly variables |
| 203 |
|
| 204 |
0.23 2010-02-14 |
| 205 |
Blocked remap from remapping when a variable is shared among threads |
| 206 |
Disabled madvise on cygwin |
| 207 |
Fixed a compilation issue wrt VirtualProtect on Win32 |
| 208 |
Made PROT_NONE test more portable |
| 209 |
|
| 210 |
0.22 2010-01-29 |
| 211 |
Made the protect unit tests portable to BSD |
| 212 |
Fixed a portability issue with Win32 |
| 213 |
|
| 214 |
0.21 2010-01-09 |
| 215 |
Added protect() |
| 216 |
Made mapping empty files writably more user-friendly |
| 217 |
|
| 218 |
0.20 2009-12-18 |
| 219 |
Added support for pseudo-mapping empty files |
| 220 |
Hopefully made File::Map Cygwin compatible |
| 221 |
|
| 222 |
0.19 2009-11-08 |
| 223 |
Handle reference assignment properly |
| 224 |
Fixed bug in unthreaded builds |
| 225 |
|
| 226 |
0.18 2009-10-25 |
| 227 |
Fixed previous bug further |
| 228 |
|
| 229 |
0.17 2009-10-25 |
| 230 |
Fixed bug in direct assignment of numbers |
| 231 |
Demoted incorrect advice exception to a warning |
| 232 |
Rewrote constant declarations |
| 233 |
|
| 234 |
0.16 2009-06-17 |
| 235 |
Fixed compilation bug in die_sys |
| 236 |
Returned to passthrough Makefile, traditional is too broken |
| 237 |
|
| 238 |
0.15 2009-06-10 |
| 239 |
Made all functions return void |
| 240 |
Replaced a magical value with a variable |
| 241 |
Made error handling more robust |
| 242 |
Made the compatibility Makefile 'traditional' |
| 243 |
|
| 244 |
0.14 2009-04-12 |
| 245 |
Module rename from Sys-Mmap-Simple to File-Map |
| 246 |
Major API break on locking functions |
| 247 |
|
| 248 |
0.13 2009-02-14 |
| 249 |
API break: renamed conditional functions, lowercased export tags |
| 250 |
|
| 251 |
0.12 2009-02-06 |
| 252 |
Documentation updates |
| 253 |
|
| 254 |
0.11 2009-02-04 |
| 255 |
Fixed 2 Bohr bugs in unit tests |
| 256 |
|
| 257 |
0.10 2009-01-30 |
| 258 |
Added sys_map, for advanced functionality. |
| 259 |
Fixed regression on Windows |
| 260 |
|
| 261 |
0.09 2009-01-28 |
| 262 |
Added offset support |
| 263 |
Fixed memory leak when throwing an exception on Windows |
| 264 |
Added unit tests for failures |
| 265 |
|
| 266 |
0.08 2009-01-21 |
| 267 |
Hopefully fixed false negatives in t/20-threads |
| 268 |
Added license information to all source files |
| 269 |
|
| 270 |
0.07 2009-01-15 |
| 271 |
API break: Changed last argument of map_handle and map_file from boolean to mode |
| 272 |
Added second argument to sync for synchronous or asynchronous flushing. |
| 273 |
Fixed bug that led to linking error on some platforms on older perl versions |
| 274 |
Refactored derefing |
| 275 |
Improved documentation markup |
| 276 |
|
| 277 |
0.06 2009-01-12 |
| 278 |
Made tests work with older versions of threads. |
| 279 |
Added documentation |
| 280 |
|
| 281 |
0.05 2009-01-09 |
| 282 |
Fixed previous fix |
| 283 |
|
| 284 |
0.04 2009-01-09 |
| 285 |
Fixed windows support |
| 286 |
|
| 287 |
0.03_5 2009-01-08 |
| 288 |
Fixed race conditions |
| 289 |
Increased portability |
| 290 |
|
| 291 |
0.03_4 2009-01-07 |
| 292 |
Fixed testing |
| 293 |
|
| 294 |
0.03_3 2009-01-07 |
| 295 |
Added remap on Linux |
| 296 |
Added Windows support |
| 297 |
|
| 298 |
0.03_2 2009-01-06 |
| 299 |
Improved portability |
| 300 |
Addition of condition variable functionality |
| 301 |
Documentation updates |
| 302 |
|
| 303 |
0.03_1 2008-12-21 |
| 304 |
Improved portability |
| 305 |
|
| 306 |
0.02 2008-12-20 |
| 307 |
Added locked |
| 308 |
Improved diagnostics. |
| 309 |
Fixed documentation. |
| 310 |
|
| 311 |
0.01 2008-12-19 |
| 312 |
First version, released on an unsuspecting world. |
| 313 |
|