Debian Codegraph @

Changes

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