Debian Codegraph @

Changes

raw
1 Revision history for FFI-Platypus
2
3 2.12 2026-09-11 15:02:01 -0600
4 - Added FFI::Platypus::Buffer::raw_scalar which allocates an
5 uninitialized scalar of a fixed size for use as a buffer
6 (gh#411)
7 - Fixed intermittent segfault in the bundle-bzip2 example caused
8 by an uninitialized bz_stream struct (gh#411)
9 - FFI::Platypus::Closure sticky and unstick methods now return
10 $self so that they can be chained (gh#411, gh#405 JBARRETT++)
11 - Added a SECURITY policy document (gh#406, gh#411)
12 - Fixed regression from 0.94 that broke the identity cast used
13 internally by attach_cast on hppa-linux (gh#394, gh#411)
14
15 2.11 2026-01-12 03:30:38 -0700
16 - Documentation updates only
17
18 2.10 2024-12-18 11:11:31 -0700
19 - Detect V modules according to v.mod files (gh#402)
20
21 2.09 2024-08-18 20:33:42 -0600
22 - Fix bug in complex type detection (gh#396, mauke++)
23
24 2.08 2023-05-05 15:48:53 -0600
25 - Updated non-binding support for Perls to match the policy
26 of the Perl toolchain (Perls older than 10 years old are
27 unsupported, with a one-time exception of Perl 5.16). The
28 intent is not to suddenly drop support for older Perls, but
29 the FFI-Platypus team may take advantage of features in
30 supported Perls that will effectively remove compatability
31 with unsupported Perls.
32 - Documentation improvements (gh#392)
33
34 2.07 2023-03-14 06:59:09 -0600
35 - Production release identical to 2.06_01
36
37 2.06_01 2023-02-27 10:13:25 -0700
38 - Refactor Alien::FFI fallback mode to delete it as a prereq when it is not
39 needed instead of adding it when it is. This way the CPAN river rating
40 for Alien::FFI more closely reflects reality (gh#391)
41
42 2.05 2022-11-15 16:59:05 -0700
43 - Documentation improvements (gh#387, gh#388)
44
45 2.04 2022-11-05 07:14:35 -0600
46 - Documentation improvements (gh#372, gh#378, gh#380, gh#381, gh#382, gh#383,
47 gh#384, gh#386)
48
49 2.03 2022-10-27 21:19:06 -0600
50 - Add hook for detecting bundled Zig project. You will need to install
51 FFI::Build::File::Zig to use it. (gh#379)
52
53 2.02 2022-10-24 10:43:09 -0600
54 - The closure method now accepts undef as an argument. It just returns undef
55 which should be accepted by any function that takes a closure. (gh#376, gh#377)
56
57 2.01 2022-08-30 15:37:22 -0600
58 - Documentation fixes (gh#373)
59
60 2.00 2022-08-12 13:58:51 -0600
61 - Production release identical to 1.91_01
62
63 1.91_01 2022-07-05 07:41:07 -0400
64 - Setting the env environment V variable to a true value now will override the
65 verbose option on FFI::Build. This allows modules that use it to display verbose
66 output without having to change the .fbx files. This mirrors the behavior of
67 how FFI-Platypus itself works. (gh#369)
68
69 1.90_02 2022-06-27 08:33:31 -0600
70 - Documentation updates for API = 2 (gh#340, gh#368)
71
72 1.90_01 2022-06-24 11:03:35 -0500
73 - api = 2 is no longer experimental (gh#365)
74
75 1.61_01 2022-06-23 16:16:43 -0500
76 - Added experimental modules FFI::Build::Plugin and FFI::Build::PluginData (gh#351)
77
78 1.60_01 2022-06-23 15:49:42 -0500
79 - Updated installer
80
81 1.59_01 2022-06-19 07:47:49 -0600
82 - Internal refactor (gh#361)
83
84 1.58 2022-06-19 06:19:42 -0600
85 - TypeParser version 2 accept string(10) as alias for string(10)* (gh#346, gh#359)
86
87 1.57 2022-06-15 18:30:29 -0600
88 - Documentation improvements
89
90 1.56 2021-10-27 19:44:37 -0600
91 - Fixes for very old versions of Mac OS X / Xcode (gh#350)
92 - Added cxxld method to FFI::Build::Platform (gh#350)
93
94 1.55 2021-07-29 10:41:02 -0600
95 - Production release identical to 1.54_01
96
97 1.54_01 2021-07-12 17:05:37 -0600
98 - FFI::Temp will retry up to 10 times to avoid a race (gh#344, gh#348)
99
100 1.53 2021-07-12 12:18:27 -0600
101 - Documentation improvements (gh#307, gh#347)
102
103 1.52 2021-07-01 07:33:44 -0600
104 - Probe for intmax_t uintmax_t types (gh#341)
105
106 1.51 2021-07-01 07:25:38 -0600
107 - Fix testing bug that was failing on systems with libffi that does
108 not support variadic functions (ppisar++ gh#323, gh#343, gh#345)
109
110 1.50 2021-06-30 08:34:17 -0600
111 - Production release identical to 1.49_01
112
113 1.49_01 2021-06-22 17:07:44 -0600
114 - float gets promoted to double when used as a varadic argument
115 (gh#323, gh#338)
116
117 1.48_01 2021-06-22 00:32:02 -0600
118 - Test forks in CI (gh#333, #334, #335)
119 - Internal refactor of pointer and array input arguments to reduce
120 duplication (gh#336)
121
122 1.47_01 2021-06-21 22:24:40 -0600
123 - Restore experimental code from 1.45_01
124
125 1.46 2021-06-21 22:20:12 -0600
126 - Hotfix due to testing bug in 1.44 (gh#333)
127 - This version does not include experimental code from 1.45_01.
128
129 1.45_01 2021-06-21 18:23:17 -0600
130 - Experimental: with api => 2, you can now pass an array reference to
131 a pointer argument, which is roughly equivalent to an array type with
132 no size, example: sint[] (gh#227, gh#332)
133
134 1.44 2021-06-20 06:50:03 -0600
135 - Migrate test suite to Test::V0 (gh#327)
136 - Use parent instead of base in documentation and in code (gh#239 jjatria++)
137 - Improved consistency of examples and documentation (gh#328, gh#330, jjatria++)
138
139 1.43 2021-03-17 09:46:40 -0600
140 - Fix test hang on cygwin (gh#320, gh#321)
141
142 1.42 2021-03-15 05:42:23 -0600
143 - Production release identical to 1.41_01
144
145 1.41_01 2021-03-14 12:49:38 -0600
146 - Adjusted test introduced in 1.40_01 to not rely on returning
147 a record-value for platforms that do not support that. (gh#318, gh#319)
148
149 1.40_01 2021-03-12 13:08:41 -0700
150 - Add support for closures returning records pass-by-value
151 if they do not include string pointers (gh#313, gh#315)
152
153 1.39_01 2021-03-09 17:38:37 -0700
154 - Fix bug where closure ABI wasn't being used for non-default
155 ABIs (gh#313, gh#314)
156 - Add support for closures taking records pass-by-value (gh#312)
157
158 1.38 2021-03-08 17:13:15 -0700
159 - Production release identical to 1.37_01
160
161 1.37_01 2021-03-06 14:03:35 -0700
162 - Document the .fbx interface for specifying compiler / linker flags or
163 using Aliens with bundled C code in FFI::Platypus::Bundle
164 (gh#221, gh#306)
165
166 1.36_01 2021-03-02 17:32:03 -0700
167 - Improved the reliability of ABI detection on some platforms
168 (gh#285, gh#301, gh#302)
169
170 1.35_01 2021-03-01 16:02:07 -0700
171 - Favor the Microsoft strdup over the bundled copy if found as _strdup
172 which is what it is called now (gh#299).
173 - Added FFI::Platypus::Type::WideString type plugin
174 (IKEGAMI++ gh#291, gh#292, gh#299)
175
176 1.34 2020-10-23 09:04:46 -0600
177 - Fixed bug in in record meta object which expressed itself on at least
178 some platforms (gh#287, gh#288)
179
180 1.33 2020-09-28 10:47:26 -0600
181 - FFI::Platypus::Declare is no longer part of this distribution. It is
182 now available from FFI-Platypus-Declare instead. It has already
183 been discouraged for quite some time. (gh#285)
184 - Fix bug where bundled .so name could incorrectly get double colons (::)
185 in the name in development mode only. This is probably only a problem
186 on Windows. (gh#284)
187
188 1.32 2020-09-21 04:25:13 -0600
189 - Fix unsupported Perl tests.
190 Fixes code that refuse to install on 5.10.0t (threads) (gh#275, gh#280)
191
192 1.31 2020-07-01 05:28:10 -0600
193 - Refuse to install on very old versions of Perl 5.8.1, 5.8.2, 5.8.3 and
194 5.10.0t (threads) (Gh#275)
195 - Move to new GH org PerlFFI (old org was Perl5-FFI, and will remain to
196 keep URL redirection). The new URL is
197 https://github.com/PerlFFI/FFI-Platypus
198
199 1.30 2020-06-16 06:51:53 -0600
200 - Dropping support for Perl 5.8.1, 5.8.2 and 5.8.3, and the threaded version
201 of 5.10.0. For now Platypus will install on these versions of Perl, but a
202 warning will be issued, along with a 45s sleep at configure time and a 180s
203 sleep at test time. Please upgrade to 5.8.4 (or preferrably 5.32).
204 Starting July 1st, Platypus will refuse to install on these elderly Perls.
205 (gh#271, gh#272)
206
207 1.29 2020-06-06 08:40:10 -0600
208 - For window (from FFI::Platypus::Buffer), if $size is omitted then
209 it will assumed to be a C string and computed using strlen (gh#270)
210
211 1.28 2020-05-20 01:43:09 -0600
212 - Production release identical to 1.27_01
213
214 1.27_01 2020-05-17 18:01:37 -0600
215 - Add strcpy to FFI::Platypus::Memory (gh#265)
216 - Add window to FFI::Platypus::Buffer (gh#266, gh#267)
217
218 1.26 2020-05-07 04:59:17 -0600
219 - The return type for the function method can now be omitted and
220 defaults to 'void' (gh#262, gh#263)
221 - The attach_cast method can now take a wrapper function (gh#261, gh#264)
222
223 1.25 2020-05-05 19:40:02 -0600
224 - Fixed bug where return type uint64* was being returned as
225 sint64* (gh#258, gh#259)
226
227 1.24 2020-05-02 16:59:34 -0600
228 - Add kindof method (gh#243, gh#254)
229 - Add countof method (gh#243, gh#254)
230 - Add unitof method (gh#245, gh#254)
231 - Add def method (gh#244, gh#248, gh#254)
232 - Add hook load_custom_types to the language plugins that allows
233 them to define custom types (gh#253)
234
235 1.23_01 2020-05-01 11:13:59 -0600
236 - Custom record arguments are kept around for the lifetime of the
237 function call, meaning they don't have to be explicitly kept by
238 the custom code wrapper as long as they aren't used after the
239 function returns (gh#236, gh#247).
240 - This completes support for custom record types. This is a
241 release candidate.
242
243 1.22_01 2020-05-01 08:16:25 -0600
244 - Fix test on MSWin32 + older libffi where returning record values
245 doesn't work (introduced in 1.20_01, gh#250)
246
247 1.21_01 2020-04-29 19:10:59 -0600
248 - Diagnostic release.
249
250 1.20_01 2020-04-29 06:45:11 -0600
251 - Return record custom record value (gh#214, gh#215, gh#235, gh#238, gh#245)
252
253 1.19_01 2020-04-27 12:38:43 -0600
254 - Diagnostic release.
255
256 1.18_01 2020-04-19 10:17:52 -0600
257 - Return pointer to custom record (gh#214, gh#215, gh#235, gh#238)
258
259 1.17_01 2020-04-18 09:04:02 -0600
260 - Silence (probably harmless) clang warning introduced in 1.12_01
261 (gh#237, gh#239)
262
263 1.16_01 2020-04-18 10:10:37 -0400
264 - Initial support for custom records. Returning custom records
265 (either via pointer or by reference) is excluded, but should
266 be added soon (gh#214, gh#215, gh#235)
267
268 1.15_01 2020-04-17 10:34:13 -0600
269 - Internal refactor (gh#214)
270
271 1.14_01 2020-04-17 09:14:25 -0600
272 - Experimental: with api => 2, a return value of NULL is
273 translated to undef instead of empty list (gh#234, gh#231)
274
275 1.12_01 2020-04-17 10:35:51 -0400
276 - Added grow and set_used_length functions to
277 FFI::Platypus::Buffer (djerius++ gh#225)
278
279 1.11 2020-04-16 04:07:34 -0600
280 - Add api method (gh#233)
281 - On Visual C++ Perl detect libffi using Win32::Vcpkg, if
282 available (gh#229)
283 - Simplified internal handling of 64 bit integers for
284 32 and 64 bit arch (gh#228)
285
286 1.10 2020-02-05 16:39:51 -0700
287 - On OS X, check if homebrew + libffi is installed and use
288 that instead of falling back on Alien::FFI (libffi isn't
289 installed by homebrew in a way that it can be found by
290 without specifically looking for it).
291 - Die with an appropriate diagnostic if there is a syntax or
292 runtime error in an .fbx file (FFI::Build).
293 (djerius++ gh#223)
294
295 1.09 2020-01-18 13:41:56 -0700
296 - Production release identical to 1.08_01
297
298 1.08_01 2020-01-17 19:39:21 -0700
299 - Fix warning on some versions of windows (gh#217, gh#218)
300
301 1.07 2019-12-28 08:44:36 -0700
302 - Fix bug in variadic argument count (gh#210, gh#211)
303
304 1.06 2019-12-14 07:49:54 -0700
305 - Visual C++ Perl build probe for ssize_t (gh#208, gh#209)
306
307 1.05 2019-12-13 09:27:50 -0700
308 - ffi_platypus_bundle.h provides an EXPORT macro which allows
309 you to decorate functions/data for export under Visual C++ Perl (gh#207)
310 - ffi_pl_bundle_init, ffi_pl_bundle_constant and ffi_pl_bundle_fini
311 are now properly marked as EXPORT. No code changes needed as long
312 as you are using the header file (gh#207)
313
314 1.04_01 2019-12-12 19:05:54 -0700
315 - Some additional testing fixes for Visual C++ Perl build (gh#206)
316
317 1.03_01 2019-12-11 20:53:40 -0700
318 - Restore support for Visual C++ Perl build (gh#202)
319 - C++ support on Visual C++ Perl is not supported at this time (gh#203)
320
321 1.02 2019-12-09 03:07:41 -0700
322 - FFI::Build is no longer described as "alpha"
323 - Documentation fixes.
324
325 1.01 2019-11-16 07:16:20 -0700
326 - Documentation fixes only (gh#198, gh#199, gh#200)
327
328 1.00 2019-11-15 13:46:15 -0500
329 - Production release identical to 0.99_06
330
331 0.99_06 2019-11-12 21:08:23 -0500
332 - Detect Rust or Go modules according to Cargo.toml or go.mod files (gh#197)
333
334 0.99_05 2019-10-30 19:25:02 -0600
335 - Add FFI::Build support for build_all method (gh#195)
336
337 0.99_03 2019-10-24 10:46:02 -0700
338 - Documentation
339
340 0.99_02 2019-10-14 16:16:16 -0600
341 - api = 1 is no longer experimental (gh#193)
342
343 0.99_01 2019-10-14 14:39:18 -0600
344 - Convert documentation from api => 0 (implicit) to api => 1 (explicit)
345 - Improved documentation (gh#181, gh#184)
346
347 0.98 2019-10-14 13:18:02 -0600
348 - Production release identical to 0.97_05
349
350 0.97_05 2019-10-12 13:09:12 -0600
351 - Fixed several memory leaks on some return types and complex type
352 arguments (gh#190, gh#191)
353
354 0.97_04 2019-10-05 12:31:32 -0600
355 - pointer is no longer an alias for opaque with api => 1 (gh#189)
356 - Added several reserved words for the type parser when api => 1 (gh#189)
357
358 0.97_03 2019-09-25 18:03:13 -0600
359 - FFI::Platypus::Record has a record_layout_1 function which
360 uses api => 1 by default. (gh#187)
361
362 0.97_02 2019-09-20 04:03:59 -0600
363 - FFI::Platypus::Record record_layout may now take FFI::Platypus
364 constructor arguments as a array reference as the first argument
365 (gh#185)
366
367 0.97_01 2019-09-18 20:56:59 -0600
368 - Pre-compute cast functions when they are created to save time each time
369 they are called (gh#178, #179)
370 - sizeof and alignof can now be used as class methods (gh#183)
371
372 0.96 2019-08-19 18:33:58 -0400
373 - Production release identical to 0.95_11
374
375 0.95_11 2019-08-19 09:41:56 -0400
376 - Documentation fixes (hakonhagland++ gh#173)
377 - Increased Perl::Critic criticism and associated fixes (gh#172)
378
379 0.95_10 2019-08-16 16:14:54 -0400
380 - Detect bad forks.pm (gh#170)
381
382 0.95_09 2019-08-15 10:37:41 -0400
383 - Daignostic release
384
385 0.95_08 2019-08-14 09:18:10 -0400
386 - Document constant interface (see FFI::Platypus::Constant) (gh#169)
387
388 0.95_07 2019-08-13 13:38:30 -0400
389 - Minor tweak to bundle interface: do not create fbx.json file when
390 running on-demand (gh#167)
391 - Document bundle interface (see FFI::Platypus::Bundle) (gh#160, gh#168)
392
393 0.95_06 2019-08-03 08:51:46 -0400
394 - Platypus now passes the api version (if > 0) into language plugins
395 class native_type_map method (gh#165, gh#166)
396
397 0.95_05 2019-08-01 16:18:41 -0400
398 - Under api = 1, a warning will be issued when Platypus tries to load
399 a file that is not a dnyamic library. Previously, and under api = 0
400 this warning was only issued if the environment variable
401 FFI_PLATYPUS_DLERROR is set to a true value (gh#161, gh#163)
402
403 0.95_04 2019-07-31 21:18:30 -0400
404 - New interface for bundling code with dist (see bundle method)
405 experimental, requires api = 1 (gh#160, gh#162)
406 - Bundle API provides a way to define Perl constants from C
407 (gh#138)
408
409 0.95_03 2019-07-29 19:21:24 -0400
410 - Remove build dependent strings from deployment
411 (gh#104, gh#110, gh#157, gh#159)
412
413 0.95_02 2019-07-25 17:15:09 -0400
414 - Fix memory leak related to array in the case of bad type error (gh#154)
415 - Fix compiler warnings in record meta module (gh#153, gh155)
416 - More consistent use of temp directories to work around noexec on /tmp
417 (gh#156, gh#158)
418
419 0.95_01 2019-07-23 22:19:14 -0400
420 - Add support for "object" types. (gh#49, gh#89, gh#151)
421 - Fixed bug where 64 bit integer types could be truncated in a
422 cast on 32 bit platform (gh#151)
423 - You can now decorate record value types with * to get
424 a record type using type parse 1 (gh#150)
425 - Add support for complex arrays on platforms where
426 complex types are supported (gh#89, gh#152)
427
428 0.94 2019-07-23 09:53:46 -0400
429 - Production release identical to 0.93_03
430
431 0.93_03 2019-07-22 15:02:05 -0400
432 - Reclaim some memory waste introduced in 0.93_01 (gh#149)
433
434 0.93_02 2019-07-18 10:03:01 -0400
435 - Fix complex test on 32bit
436
437 0.93_01 2019-07-17 20:21:47 -0400
438 - Add support for returning records pass-by-value (gh#89, gh#147)
439 - Add enum and senum (signed enum) types (gh#146)
440
441 0.92 2019-07-17 18:16:40 -0400
442 - Production release identical to 0.91_02
443
444 0.91_02 2019-07-16 19:31:40 -0400
445 - Documentation improvements. (gh#139, gh#145, et. al)
446 - Fixed minor testing error introduced in 0.91_01 (gh#143, gh#144)
447
448 0.91_01 2019-07-14 09:32:13 -0400
449 - Add support for variadic functions (gh#136, gh#141)
450 - Include Type Parser version 1. This can be activated using
451 the api => 1 when creating a FFI::Platypus instance (gh#135)
452 - Usage of Type Parser version 1 is experimental and will
453 issue a warning until FFI::Platypus 1.00 is released (gh#135)
454 - Added support for pass-by-value records (gh#57,gh#92,gh#135)
455 this requires Type Parser version 1
456 - Allow decoration of aliases of basic types (gh#135, gh#135)
457 this requires Type Parser version 1
458 - Fix bug where Math::LongDouble and Math::Complex detection
459 wasn't being made for array and pointers of longdouble,
460 complex_float and complex_double types. (gh#135)
461 - For functions: allow a single 'void' argument type to indicate
462 an empty list of arguments (a la old C style). The 'void'
463 type is otherwise now illegal as an argument type (ie when
464 there is more than one argument) and will throw an exception
465 when the function is created. Previously a warning would
466 be issued when the funtion was called. (gh#140, gh#142)
467
468 0.90 2019-07-01 09:47:31 -0400
469 - Documentation improvements (gh#137, et. al.)
470
471 0.89_01 2019-06-24 08:33:05 -0400
472 - Fixed bug where prototypes to attach were sometimes being
473 ignored.
474 - Add sub_ref method to FFI::Platypus::Function (gh#133)
475 - Better file/line number diagnostics for croak inside a
476 wrapper (gh#129, gh#132)
477
478 0.88 2019-06-19 06:56:57 -0400
479 - Add mangler attribute for FFI::Platypus (gh#128)
480
481 0.87 2019-04-23 08:25:35 -0400
482 - Add probe for intptr_t and uintptr_t types (gh#123)
483 - You may now use the ALIEN_INSTALL_TYPE environment
484 to force using Alien::FFI (gh#121)
485 - Documentation improvements (gh#122 manwar++ gh#120 ppisar++)
486
487 0.86 2019-03-02 16:42:12 -0500
488 - Production release identical to 0.85_01
489
490 0.85_01 2019-03-01 20:38:22 -0500
491 - Fix configure bug that misconfigured Perls with 32bit IVs
492 resulting in truncated 64bit values. (gh#117, gh#118).
493 This was a regression, probably introduced around 0.72
494 or so. The test t/gh117.t has been added to avoid a
495 recurrence of this regression.
496
497 0.84 2019-02-15 15:26:23 -0500
498 - FFI::Build sets @rpath on libraries that it builds
499 on OS X.
500
501 0.83 2019-02-12 14:05:04 -0500
502 - Fix warning in FFI::Build when verbose off
503 - Allow arry file spec for FFI::Buuild source method
504 - Added scalar_to_pointer to FFI::Platypus::Buffer
505
506 0.82 2019-02-10 10:34:57 -0500
507 - Production release identical to 0.81_04
508
509 0.81_04 2019-02-08 14:49:20 -0500
510 - Diagnostic release
511
512 0.81_02 2019-02-05 12:19:50 -0500
513 - Diagnostic release
514
515 0.81_01 2019-02-04 11:51:52 -0500
516 - Diagnostic release
517
518 0.80 2019-02-01 15:36:50 -0500
519 - Fix incompatibility with parallel bsd make
520
521 0.79 2019-01-31 20:58:07 -0500
522 - Fix probe runner builder bug (gh#112, gh#113)
523
524 0.78 2019-01-30 10:28:22 -0500
525 - Production release identical to 0.77_03
526
527 0.77_03 2019-01-29 21:44:29 -0500
528 - Remove Java gcj examples. The gcj compiler has been deprecated,
529 unmaintained, and removed from the gcc collection for quite a while
530 now.
531 - Fix problem diagnostic window on Windows during probe
532
533 0.77_02 2019-01-29 11:30:56 -0500
534 - Fix regressions in 0.77_01
535
536 0.77_01 2019-01-28 15:47:07 -0500
537 - Honor compiler and linker flag overrides provided on the command-line
538 for FFI::Probe::Runner::Builder, make ffi and make ffi-test (gh#104)
539
540 0.76_01 2019-01-20 20:14:45 -0500
541 - function method can now take a wrapper code reference as its last
542 argument in the same way as attach.
543
544 0.75_01 2019-01-19 04:45:19 -0500
545 - Add strndup to FFI::Platypus::Memory
546
547 0.74 2019-01-19 04:42:22 -0500
548 - Production release identical to 0.73_01
549
550 0.73_01 2019-01-13 18:31:33 -0500
551 - Remove dependency on Win32::ErrorMode on Windows
552
553 0.72_01 2019-01-11 22:17:11 -0500
554 - Remove dependency on Config::AutoConf
555
556 0.71_01 2019-01-10 23:29:06 -0500
557 - Merge FFI-Build into this distribution
558 - Add FFI::Probe
559
560 0.70_01 2019-01-10 15:34:57 -0500
561 - prereq fix: IPC::Cmd as a configure requires
562 since it doesn't come with Perl 5.8.x
563
564 0.69_01 2019-01-09 15:59:43 -0500
565 - require Alien::FFI in fallback mode
566
567 0.68_01 2019-01-05 21:12:47 -0500
568 - Improve platform probing of complex type
569 - Allow override of platform probing using FFI_PLATYPUS_PROBE_OVERRIDE
570
571 0.67_01 2019-01-05 09:16:22 -0500
572 - Better support for complex types: pointers to complex types and complex
573 type and pointers to complex as return value
574
575 0.66_01 2019-01-04 20:16:59 -0500
576 - EXPERIMENTAL ExtUtils::MakeMaker fixes for dynamic prereqs on windows
577 - restore FFI_PLATYPUS_DEBUG_FAKE32
578 - restore FFI_PLATYPUS_NO_ALLOCA
579
580 0.65_01 2019-01-04 13:38:58 -0500
581 - EXPERIMENTAL ExtUtils::MakeMaker fixes for parallel and freebsd build
582
583 0.64_01 2019-01-03 03:16:57 -0500
584 - EXPERIMENTAL ExtUtils::MakeMaker fixes for MSWin32 / cygwin
585
586 0.63_01 2019-01-02 11:23:48 -0500
587 - EXPERIMENTAL ExtUtils::MakeMaker release
588
589 0.62_01 2019-01-01 04:23:23 -0500
590 - New type: array of string "string [x]" and "string []" are supported
591 - NULL terminated arrays are supported as return types for string and opaque
592 arrays "opaque []" and "string []"
593
594 0.61_01 2018-12-31 19:56:20 -0500
595 - New type: pointers to string "string *" are supported.
596 - FFI::Platypus::Type::StringPointer is now deprecated.
597
598 0.60_01 2018-12-30 14:55:15 -0500
599 - sticky/unstick functions can safely be called multiple times
600 - Removed some extra lookups from closure calls, should be faster now.
601
602 0.59 2018-12-16 16:33:37 -0700
603 - Workaround for possibly buggy pack/unpack on Perl 5.8.8 gh#91
604 Fixes FFI::Platypus::Type::StringArray
605
606 0.58 2018-11-20 14:31:10 -0500
607 - Add unstick method to FFI::Platypus::Closure
608
609 0.57_01 2018-11-04 15:36:33 -0500
610 - Major refactor of the internals of the type system. The API is
611 the same but some type meta-data (which was never guaranteed
612 to stay the same) may have changed.
613
614 * The internal representation of types is much smaller (4 bytes
615 for simple types), which can save a lot of memory if you have
616 lots of types.
617
618 * Fixed width strings example: `string(32)` are now internally
619 treated the same as a record with no class `record(32)`.
620 Previously these were separate types but worked identically,
621 this removes duplicate code.
622
623 * Fixed width string arguments to a closure are now read-only,
624 Usually you should be copying these arguments anyway.
625
626 * Removed the internal type "exotic float" which includes
627 `long double`, `complex float` and `complex double`. These are
628 now grouped internally with other scalar types.
629
630 - Merge FFI::Platypus::Type::StringArray into this distribution
631
632 0.56 2018-09-03 09:17:42 -0400
633 - lib method accepts code reference which will be called immediately
634 and results added to lib list
635
636 0.55 2018-08-29 10:37:36 -0400
637 - Production release identical to 0.54_03
638
639 0.54_03 2018-08-28 10:46:04 -0400
640 - Additional test diagnostics.
641
642 0.54_02 2018-08-28 05:30:04 -0400
643 - record as closure argument is now read-only. This makes
644 sense since such records are actually copies. For when
645 you need a non-copy use an opaque type instead. This allows
646 records with rw strings (although they will be ro in the
647 closure).
648
649 0.54_01 2018-08-16 03:27:31 -0400
650 - Experimental: allow record as closure argument
651 Records with string_rw are not supported, and
652 will likely crash your script if you try to use
653 them. Support for such records is probably not in
654 the cards, but a future version may disallow them
655 to avoid crashes.
656 - Closure objects now have a sticky method, similar to what
657 is already available in the discouraged FFI::Platypus::Declare
658 interface
659
660 0.53 2018-08-15 20:38:29 -0400
661 - Production release identical to 0.52_04
662
663 0.52_04 2018-08-15 05:52:15 -0400
664 - Work-around for Strawberry Perl 5.14.4 unicode bug (see gh#85)
665
666 0.52_03 2018-08-14 15:28:19 -0400
667 - Major refactoring of test suite
668
669 0.52_02 2018-08-14 08:05:07 -0400
670 - Added standard RTLD_ constants to FFI::Platypus::DL
671 - Fixed long standing but till now unused bug on Windows where dlopen was
672 returning a handle for libraries that weren't actually being loaded.
673
674 0.52_01 2018-08-13 20:39:32 -0400
675 - Testing: moved libtest to t/ffi, using the same convention as FFI::Build
676 - Added FFI::Platypus::DL. Previously this had been (under a different
677 name) a private interface to libdl used by FFI::Platypus under the covers.
678 On Windows it is an emulation layer over the native equivalents.
679
680 0.51 2018-08-09 03:14:15 -0400
681 - update the package method to work with FFI-Build
682
683 0.50 2018-06-01 07:58:33 -0400
684 - Additional diagnostics
685
686 0.49_05 2018-05-29 12:44:45 -0400
687 - Require Alien::FFI 0.20 for bugfixes
688
689 0.49_04 2018-05-27 07:36:58 -0400
690 - Additional diagnostics
691 - Added a FAQ section. Some other minor documentation enhancements.
692
693 0.49_03 2018-05-19 10:09:15 -0400
694 - The previous version contained build files that would break the install
695 unless you were building on my machine. This is what the previous
696 version should have been.
697
698 0.49_02 2018-05-18 22:08:43 -0400
699 - Fix version mismatch error with XS
700
701 0.49_01 2018-05-18 16:16:13 -0400
702 - Move the source repository for this project into the GitHub org Perl5-FFI
703 The new URL is https://github.org/Perl5-FFI/FFI-Platypus
704 - Remove dependency on JSON::PP, use Data::Dumper for build configuration.
705 This may improve startup performance.
706
707 0.48 2018-02-20 09:37:32 -0500
708 - setting lib => undef is now the same as setting it to [undef] in the
709 constructor (previously lib => undef was ignored)
710
711 0.47 2017-03-23 18:26:01 -0400
712 - Fix installer bug where My::ShareConfig was accidentally declared as a
713 prereq
714
715 0.46 2017-03-23 15:47:29 -0400
716 - Remove some internal use of Module::Build with the intent of one day
717 migrating to EUMM or some other installer
718 - Remove Module::Build::FFI. It now has its own distribution.
719 - Prefix the lang attribute with an equal '=' sign to indicate a fully
720 qualified class name instead of one under FFI::Platypus::Lang
721
722 0.45 2016-10-24 07:59:57 -0400
723 - Remove check for Threaded Perl / OpenBSD, as the issue there has been
724 reported fixed
725
726 0.44 2016-10-20 14:31:23 -0400
727 - You can now control which implementation of strdup FFI::Platypus::Memory
728 uses via the FFI_PLATYPUS_MEMORY_STRDUP_IMPL environment variable.
729
730 0.43 2016-07-08 03:28:57 -0400
731 - Numerous fixes for systems with 64bit big-endian arch
732 (previously only 32bit big-endian had been tested)
733 - Officially discourage the use of FFI::Platypus::Declare
734
735 0.42 2016-05-06 16:31:01 -0400
736 - Support for MSYS2
737
738 0.41 2016-04-09 16:03:07 -0400
739 - For the return value undef can be passed in to mean 'void'.
740 - Fixed installer bug where ABI probe would silently fail if /tmp
741 was mounted noexec
742 - Avoid unnecessary downgrade on when Perl is compiled to use longdouble
743
744 0.40 2015-08-29 08:45:19 -0400
745 - Closure declarations ignore white space between () and ->
746
747 0.39 2015-08-24 03:23:10 -0400
748 - Fixed spurious warning: auto loading of record class (via
749 FFI::Platypus::Record) was ALWAYS warning, when it should have only been
750 warning on load failure.
751
752 0.38 2015-08-13 17:13:07 -0400
753 - closure method now comes with a more useful diagnostic thinks to
754 Carp::croak
755 - Added a check for standard C headers. This seems to help the configure
756 stage find ptrdiff_t, which was frequently not detected correctly
757 (at least on Linux).
758 - Improved thread safety by using MY_CXT for some very infrequently used
759 global variables.
760 - Added IRC meta data information for metacpan.org. Please join us at
761 #native on irc.perl.org!
762 - Many minor documentation corrections and tweaks. Most significant is
763 that Convert::Binary::C can now be recommended as it is once again
764 properly maintained.
765 - Added tests for threads and forks. If these tests fail in your environment
766 please let me know!
767
768 0.37 2015-05-29 14:28:21 -0400
769 - Added compatibility back in for older version of constant
770 (newer one is not available on CPAN yet)
771
772 0.36 2015-05-29 13:40:32 -0400
773 - Explicitly require constant pragma version 1.32
774
775 0.35 2015-05-29 12:06:39 -0400
776 - FFI::Platypus::Record uses constant to create size of alignment constants
777 instead of creating them with a sub reference (this usage was deprecated
778 in Perl 5.22)
779
780 0.34 2015-05-07 09:27:04 -0400
781 - Require Alien::FFI which is more reliable at configure time on some
782 platforms
783
784 0.33 2015-03-23 21:55:02 -0400
785 - Additional fix for Microsoft Visual C++ that didn't get folded into
786 the previous release.
787 - Fixed segfault during global destruction (gh#53)
788
789 0.32 2015-03-18 13:02:53 -0400
790 - Make sure -L flags from Alien::FFI come before those in perl Config
791 For more reliable builds
792 - Support for Microsoft Visual C++ (you will probably also need
793 Alien::FFI 0.09 or beter)
794
795 0.31 2015-02-26 13:41:23 -0500
796 - Fix bug involving wide custom arguments
797 "wide" meaning where a single Perl argument is translated
798 into multiple machine code arguments. (pipcet++ gh#43)
799
800 0.30 2015-02-25 17:50:54 -0500
801 - You can now pass an opaque in place of a closure type (pipcet++ gh#40,gh#41)
802 - FFI closures are now cached and can be reused if the same closure is passed
803 repeatedly (pipcet++ gh#40,gh#42)
804 - Passing non-reference to scalar as a pointer argument will now issue a
805 warning (gh#5)
806
807 0.29 2015-02-24 08:50:34 -0500
808 - Delayed loading of Win32::ErrorMode to avoid build prereq failure on Windows
809
810 0.28 2015-02-23 14:01:54 -0500
811 - Fix Win32 probe prereq on non-Strawberry 5.20.x+
812 - Fix for Solaris cc
813
814 0.27 2015-02-22 11:17:05 -0500
815 - Interface to alternate ABIs / calling conventions
816 - Added abi method
817 - Added abis class method
818 - Simplify Win32 probe
819 - Added FFI::Platypus::Lang::Win32 which provides data types used by
820 the Windows API. Takes care of subtle differences between
821 Win32 and Win64.
822 - Fixed bugs specific to 5.8.x
823 - Language plugins can now specify an ABI with abi class method
824 - Default ABI for FFI::Platypus::Lang::Win32 is stdcall on 32bit windows
825
826 0.26 2015-02-18 17:47:43 -0500
827 - Added support for pointers to longdouble (in C "long double *") type
828 - Added support for array of longdouble (in C "long double []") type
829 - Added tied array interface for record array members (see
830 FFI::Platypus::Record::TieArray) Marked as EXPERIMENTAL
831 - Array members of records can now be accessed (set/get) by element
832 - Array members of records types are now documented (see
833 FFI::Platypus::Record)
834 - Bugfix: array wasn't being updated on return for variable length
835 array types
836 - Should now build with an Alien::FFI that was built with ALIEN_FORCE=1
837
838 0.25 2015-02-16 20:18:41 -0500
839 - Probe for proper long double support instead of trusting ffi.h
840 - This disables long double support on cygwin, which does not seem to
841 work, at least in so far as it seems to work on other platforms
842 patches to prove otherwise are welcome.
843
844 0.24 2015-02-16 15:38:58 -0500
845 - Fixed Windows / Strawberry configuration issues
846
847 0.23 2015-02-16 05:44:39 -0500
848 - Support for longdouble (in C "long double") type.
849 - Support for complex_float (in C "float complex") type
850 - Support for complex_double (in C "double complex") type
851 - Fixes for Big Endian architectures (tested on Linux PowerPC)
852
853 0.22 2015-02-12 07:47:32 -0500
854 - Variable length arrays
855 - More recent version of Config::AutoConf required in the configure step
856 (gh#33 zmughal)
857 - Documentation improvements and additional examples, including a
858 crazy Java one
859
860 0.21 2015-02-09 06:23:03 -0500
861 - Added FFI::Platypus#alignof method
862 - Added FFI::Platypus::Record module
863 - Added fixed length strings example: string(10)
864 - Added ro and rw trait for strings
865
866 0.20 2015-02-05 14:06:11 -0500
867 - Added optional wrapper argument to FFI::Platypus#attach
868 and FFI::Platypus::Declare#attach
869 - Added FFI::Platypus#find_lib method
870 - FFI::CheckLib is now a runtime requirement for Platypus
871 - Bumped Alien::FFI requirement to 0.06
872
873 0.19 2015-02-03 13:34:53 -0500
874 - Accept additional extensions, in addition to dlext
875 Example: on OS X both .bundle and .dylib can be used
876 Example: although arguably wrong, on cygwin sometimes .so is used
877 - Added Module::Build::FFI->ffi_dlext class method
878
879 0.18 2015-01-30 15:22:07 -0500
880 - Improved support for C++ in Module::Build::FFI
881 - Module::Build::FFI can now be subclassed to support foreign
882 languages other than C and C++. See Module::Build::FFI::Rust as an
883 example.
884 - Added a hook to allow different names for native types. See
885 FFI::Platypus::Lang::Rust for an example.
886 - Added a hook to allow mangling of symbol (function) names. See
887 FFI::Platypus::Lang::CPP for an example with C++
888 - Module::Build::FFI#ffi_include_dir can now be an array reference
889 - Module::Build::FFI#ffi_source_dir can now be an array reference
890 - Module::Build::FFI#ffi_libtest_dir can now be an array reference
891 - Module::Build::FFI will build assembly source files (with .s
892 extensions) in the libtest and ffi directories
893
894 0.17 2015-01-28 11:11:02 -0500
895 - Allow integer and floating point type default to 0 when not provided
896 without warning
897 - You can now take the sizeof a custom type (it will be the size of
898 the native type that is actually passed on the C argument stack).
899 - Sizeof should be faster now as it doesn't look up the other meta
900 information or create a hash to contain it
901 - Added record type see FFI::Platypus::Type#Records
902 - Added bool as a primitive type.
903
904 0.16 2015-01-23 17:31:00 -0500
905 - Bumping Alien::FFI version requirement up to 0.04
906 Thus indirectly Alien::Base to 0.07
907 Believe this may fix a cpan testers failure that I am seeing
908
909 0.15 2015-01-23 16:46:27 -0500
910 - add FFI::Platypus#ignore_not_found attribute
911 - add FFI::Platypus#package method
912 - Module::Build::FFI was moved into this distribution
913 (formerly distributed as part of FFI-Util)
914 - added aliases: uchar, ushort, uint and ulong
915
916 0.14 2015-01-22 08:19:42 -0500
917 - Fixed some broken links in the documentation
918
919 0.12 2015-01-21 23:22:16 -0500
920 - First CPAN release
921 - Improved documentation
922 - Functionally identically to 0.11
923
924 0.11 2015-01-21 16:33:58 -0500
925 - Release candidate 2
926 - arguments are available during custom return type even when
927 platform does not support alloca
928 - More documentation and examples
929 - FFI::Platypus::API now use prototypes so you can skip the ()
930
931 0.10 2015-01-20 04:06:17 -0500
932 - Release candidate 1
933 - Added custom Types API (see FFI::Platypus::API)
934 - Added String Pointer custom type (FFI::Platypus::Type::StringPointer)
935 - Added Pointer / Size Buffer custom type
936 (FFI::Platypus::Type::PointerSizeBuffer)
937
938 0.09 2015-01-19 03:01:48 -0500
939 - Third beta
940 - moved cast and sizeof from FFI::Platypus::Memory
941 into FFI::Platypus methods.
942 - cast and size of functions for FFI::Platypus::Declare
943 - attach_cast for faster casting
944 - renamed FFI::Platypus::Declare#function to
945 FFI::Platypus::Declare#attach to more closely match
946 the OO interface
947 - adjusted custom type interface
948 - renamed ffi_to_perl native_to_perl
949 - renamed perl_to_ffi perl_to_native
950 - type argument is now part of the hash and is called
951 native_type
952
953 0.08 2015-01-16 10:55:14 -0500
954 - Second beta
955 - add FFI::Platypus::Buffer
956 stole the buffer functions from FFI::Util
957 can do this with cast, but cast is slow
958 - Fixed bug where cast didn't work with closures.
959 - closure data now free'd when it the closure
960 goes out of scope (GH#4)
961
962 0.07 2015-01-15 18:53:45 -0500
963 - First (mostly complete) beta
964 - workaround some issues with closures
965 - much more comprehensive documentation
966
967 0.06 2015-01-14 17:13:57 -0500
968 - fix typo in last version that broke 32 bit Perls. oops.
969
970 0.05 2015-01-14 17:04:25 -0500
971 - Forth (and mostly complete) alpha
972 - custom types written in Perl are supported.
973 - bug fixes for 32 bit Perls (with compilers that support int64_t)
974
975 0.04 2015-01-13 11:14:54 -0500
976 - Third (and incomplete) alpha
977 - all basic types supported everywhere
978 - closures do not support non basic types or returning strings from a closure
979
980 0.03 2015-01-09 15:40:14 -0500
981 - Second (and incomplete) alpha
982 - closure support added (only integer arguments implmented).
983 - memory leak related to closures will be fixed in the next alpha.
984
985 0.02 2015-01-07 17:40:35 -0500
986 - Early (and incomplete) alpha
987
988 0.01 2015-01-07 17:21:27 -0500
989 - Original (and incompatible) prototype