UnstableChanges

Summary

  1. Getting inspired by the nice code that was written in squeak monticello (details)
  2. Clean up (details)
  3. Backport changes  from Pharo8 (details)
Commit b45ef5238e0916db945578238a9abb6c7fe4f91f by unknown
Getting inspired by the nice code that was written in squeak monticello
repository.
I.e.:
FFI-Kernel-eem.57 Time: 6 November 2018, 6:39:32 pm
Provide the longLong to complement the set of other integer
conveniences.
FFI-Kernel-eem.55 Time: 23 August 2018, 2:12:03 pm
Add an errorCode to ExternalFunction>>invokeWithArguments:.  At least
for now the design for the catching of exceptions during FFI calls has
failing the callout on exception enabled by the callout having an error
code.
FFI-Kernel-nice.52 Time: 29 April 2018, 6:39:52 pm
Fix pointerSpec for 64bits FFI A pointer has a Smalltalk wordSize
byte-length, rather than hardcoded 4 byte length.
FFI-Kernel-nice.49 Time: 13 April 2018, 3:56:28 pm
Give a chance to recompile the structure compiledSpec when resuming on a
different platform. See ExternalStructure class>>#install.
FFI-Kernel-nice.48 Time: 13 April 2018, 8:00:08 am
Correct a bug for 64bits pointer arithmetic: unsignedLongAt: and
unsignedLongAt:put: are not machine dependent, they allways fetch/store
an uint32_t
No need to invoke self class wordSize, when self size already encodes
the same information.
The file was modifiedsrc/Spec-Core/MenuItemPresenter.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalStructure.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalType.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ByteArray.extension.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalFunction.class.st (diff)
The file was addedsrc/FFI-Kernel/ExternalUnion.class.st
The file was modifiedsrc/FFI-Kernel/ExternalAddress.class.st (diff)
The file was modifiedsrc/Spec-Core/MenuItemPresenter.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalLibrary.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalUnion.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalAddress.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalType.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ByteArray.extension.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalStructure.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalFunction.class.st (diff)
Commit c0903f91b9d4e4686f194aca56313b11b4e19e06 by vincent.blondeau
Backport changes  from Pharo8
The file was modifiedsrc/UnifiedFFI/FFIExternalStructure.class.st (diff)
The file was modifiedsrc/UnifiedFFI/FFIExternalUnion.class.st (diff)
The file was modifiedsrc/UnifiedFFI/FFIExternalPackedStructure.class.st (diff)