UnstableChanges

Summary

  1. Getting inspired by the nice code that was written in squeak monticello (details)
  2. Got confused about duplicated ExternalStructure and ExternalUnion (details)
  3. Clean up (details)
Commit cceac76b8e25223651e63369e4d81574a6f311a9 by stephan
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/FFI-Kernel/ExternalType.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalFunction.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ByteArray.extension.st (diff)
The file was addedsrc/FFI-Kernel/ExternalUnion.class.st
The file was modifiedsrc/FFI-Kernel/ExternalStructure.class.st (diff)
The file was modifiedsrc/Spec-Core/MenuItemPresenter.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalAddress.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalLibrary.class.st (diff)
Commit 3c56f47c787206a3efdb08869a95516e119c282d by stephan
Got confused about duplicated ExternalStructure and ExternalUnion
The file was modifiedsrc/UnifiedFFI/FFIExternalPackedStructure.class.st (diff)
The file was modifiedsrc/UnifiedFFI/FFIExternalUnion.class.st (diff)
The file was modifiedsrc/UnifiedFFI/FFIExternalStructure.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalUnion.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalStructure.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalAddress.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ByteArray.extension.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalType.class.st (diff)
The file was modifiedsrc/Spec-Core/MenuItemPresenter.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalFunction.class.st (diff)
The file was modifiedsrc/FFI-Kernel/ExternalLibrary.class.st (diff)