pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Cleaning up FFI usage of SDL2

Open tesonep opened this issue 1 year ago • 3 comments

  • Using a FFILibrary
  • Using FFILibraryFinders to find the libraries
  • Removing old plugin code
  • Removing old Surface plugin code

tesonep avatar Jun 24 '24 09:06 tesonep

Full image buiild fails:

MetacelloNotification: Project: Microdown
MetacelloNotification: Project: WelcomeBrowser
SubscriptOutOfBounds: 1 in #[]
ByteArray(Object)>>errorSubscriptBounds:
ByteArray(Object)>>at:
ByteArray>>byteAt:
ZipReadStream(InflateStream)>>nextByte
ZipReadStream(InflateStream)>>nextBits:
ZipReadStream(InflateStream)>>getNextBlock
ZipReadStream(InflateStream)>>pastEndRead
ZipReadStream(InflateStream)>>next
ZipReadStream(InflateStream)>>next:into:startingAt:
[[ readDataRemaining > 0 ] whileTrue: [
		| chunkSize |
		chunkSize := 32768 min: readDataRemaining.
		buffer := decoder next: chunkSize into: buffer startingAt: 1.
		aStream next: chunkSize putAll: buffer startingAt: 1.
		readDataRemaining := readDataRemaining - chunkSize.
	]] in ZipFileMember>>uncompressDataTo: in Block: [[ readDataRemaining > 0 ] whileTrue: [...
FullBlockClosure(BlockClosure)>>on:do:
ZipFileMember>>uncompressDataTo:

MarcusDenker avatar Jun 24 '24 14:06 MarcusDenker

Since it's a zip problem I relaunched the CI because sometimes this code produce random failure

jecisc avatar Jun 24 '24 14:06 jecisc

SystemNotification: Loading StartupPreferences-tonel.1.mcz
SystemNotification: Loading PragmaCollector-tonel.1.mcz
SystemNotification: Loading System-FileRegistry-tonel.1.mcz
[31m[33m
*** Warning: Warning: Package UNKNOWN depends on the following classes:
  FileList
You must resolve these dependencies before you will be able to load these definitions: 
  FileList>>#fileInto:
  FileList>>#fileReaderServicesForFile:suffix:
  FileList>>#serviceFileIn
  FileList>>#services
  FileList>>#sourceFileSuffixes

[0m[0mSystemNotification: Loading MonticelloFileTree-Core-tonel.1.mcz
NewUndeclaredWarning: MCFileTreeAbstractReader>>packageProperties (STON is Undeclared)
NewUndeclaredWarning: MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry: (STON is Undeclared)
NewUndeclaredWarning: MCFileTreeStCypressReader>>addClassAndMethodDefinitionsFromEntry: (STON is Undeclared)
NewUndeclaredWarning: MCFileTreeStCypressReader>>addExtensionClassAndMethodDefinitionsFromEntry: (STON is Undeclared)
NewUndeclaredWarning: MCFileTreeStCypressReader>>addExtensionClassAndMethodDefinitionsFromEntry: (STON is Undeclared)

Ducasse avatar Jun 25 '24 08:06 Ducasse

Tests are green!

MarcusDenker avatar Jul 26 '24 12:07 MarcusDenker