[Vm-dev] [commit][3654] VMMaker 4.15.5
commits at squeakvm.org
commits at squeakvm.org
Mon Mar 28 01:59:25 UTC 2016
Revision: 3654
Author: lewis
Date: 2016-03-27 18:59:24 -0700 (Sun, 27 Mar 2016)
Log Message:
-----------
VMMaker 4.15.5
Nicolas Cellier's LargeIntegersPlugin improvements from oscog branch.
Modified Paths:
--------------
trunk/src/ckformat.c
trunk/src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c
trunk/src/plugins/AioPlugin/AioPlugin.c
trunk/src/plugins/AsynchFilePlugin/AsynchFilePlugin.c
trunk/src/plugins/B2DPlugin/B2DPlugin.c
trunk/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c
trunk/src/plugins/BMPReadWriterPlugin/BMPReadWriterPlugin.c
trunk/src/plugins/BitBltPlugin/BitBltPlugin.c
trunk/src/plugins/CameraPlugin/CameraPlugin.c
trunk/src/plugins/ClipboardExtendedPlugin/ClipboardExtendedPlugin.c
trunk/src/plugins/CroquetPlugin/CroquetPlugin.c
trunk/src/plugins/DBusPlugin/DBusPlugin.c
trunk/src/plugins/DESPlugin/DESPlugin.c
trunk/src/plugins/DSAPrims/DSAPrims.c
trunk/src/plugins/DropPlugin/DropPlugin.c
trunk/src/plugins/FFTPlugin/FFTPlugin.c
trunk/src/plugins/FT2Plugin/FT2Plugin.c
trunk/src/plugins/FileCopyPlugin/FileCopyPlugin.c
trunk/src/plugins/FilePlugin/FilePlugin.c
trunk/src/plugins/FloatArrayPlugin/FloatArrayPlugin.c
trunk/src/plugins/FloatMathPlugin/FloatMathPlugin.c
trunk/src/plugins/GeniePlugin/GeniePlugin.c
trunk/src/plugins/HostWindowPlugin/HostWindowPlugin.c
trunk/src/plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c
trunk/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c
trunk/src/plugins/JoystickTabletPlugin/JoystickTabletPlugin.c
trunk/src/plugins/KedamaPlugin2/KedamaPlugin2.c
trunk/src/plugins/Klatt/Klatt.c
trunk/src/plugins/LargeIntegers/LargeIntegers.c
trunk/src/plugins/LocalePlugin/LocalePlugin.c
trunk/src/plugins/MD5Plugin/MD5Plugin.c
trunk/src/plugins/MIDIPlugin/MIDIPlugin.c
trunk/src/plugins/Matrix2x3Plugin/Matrix2x3Plugin.c
trunk/src/plugins/MiscPrimitivePlugin/MiscPrimitivePlugin.c
trunk/src/plugins/Mpeg3Plugin/Mpeg3Plugin.c
trunk/src/plugins/RePlugin/RePlugin.c
trunk/src/plugins/RomePlugin/RomePlugin.c
trunk/src/plugins/SHA256Plugin/SHA256Plugin.c
trunk/src/plugins/ScratchPlugin/ScratchPlugin.c
trunk/src/plugins/SecurityPlugin/SecurityPlugin.c
trunk/src/plugins/SerialPlugin/SerialPlugin.c
trunk/src/plugins/SocketPlugin/SocketPlugin.c
trunk/src/plugins/SoundCodecPrims/SoundCodecPrims.c
trunk/src/plugins/SoundGenerationPlugin/SoundGenerationPlugin.c
trunk/src/plugins/SoundPlugin/SoundPlugin.c
trunk/src/plugins/Squeak3D/Squeak3D.c
trunk/src/plugins/SqueakFFIPrims/SqueakFFIPrims.c
trunk/src/plugins/SqueakSSL/SqueakSSL.c
trunk/src/plugins/StarSqueakPlugin/StarSqueakPlugin.c
trunk/src/plugins/UUIDPlugin/UUIDPlugin.c
trunk/src/plugins/UnicodePlugin/UnicodePlugin.c
trunk/src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c
trunk/src/plugins/WeDoPlugin/WeDoPlugin.c
trunk/src/plugins/XDisplayControlPlugin/XDisplayControlPlugin.c
trunk/src/plugins/ZipPlugin/ZipPlugin.c
trunk/src/vm/interp.c
trunk/src/vm/interp.h
trunk/src/vm/sqNamedPrims.h
Modified: trunk/src/ckformat.c
===================================================================
--- trunk/src/ckformat.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/ckformat.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -5,7 +5,7 @@
/* Usage: ckformat imageFileName */
/* --- DO NOT EDIT THIS FILE --- */
-/* --- Automatically generated from class ImageFormat 2016-02-27T17:19:07.769+01:00--- */
+/* --- Automatically generated from class ImageFormat 2016-03-27T21:52:01.822+01:00--- */
/* --- Source code is in package ImageFormat in the VMMaker repository --- */
/* --- DO NOT EDIT THIS FILE --- */
@@ -148,6 +148,20 @@
exit(0);
}
}
+ {
+ unsigned char b_68021_17[8]= { 0, 0, 0, 0, 0, 1, 9, 181};
+ if (strncmp(buf, b_68021_17, 8) == 0) {
+ printf("%d\n", 68021);
+ exit(0);
+ }
+ }
+ {
+ unsigned char b_68021_18[8]= { 181, 9, 1, 0, 0, 0, 0, 0};
+ if (strncmp(buf, b_68021_18, 8) == 0) {
+ printf("%d\n", 68021);
+ exit(0);
+ }
+ }
if(fseek(f, 512L, SEEK_SET) != 0) {
fprintf(stderr, "cannot go to pos %d in %s\n", 512, argv[1]);
exit(3);
@@ -268,6 +282,20 @@
exit(0);
}
}
+ {
+ unsigned char b_68021_17[8]= { 0, 0, 0, 0, 0, 1, 9, 181};
+ if (strncmp(buf, b_68021_17, 8) == 0) {
+ printf("%d\n", 68021);
+ exit(0);
+ }
+ }
+ {
+ unsigned char b_68021_18[8]= { 181, 9, 1, 0, 0, 0, 0, 0};
+ if (strncmp(buf, b_68021_18, 8) == 0) {
+ printf("%d\n", 68021);
+ exit(0);
+ }
+ }
printf("0\n"); /* print an invalid format number */
exit (-1); /* not found, exit with error code */
}
Modified: trunk/src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c
===================================================================
--- trunk/src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:56 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:50 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- ADPCMCodecPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ ADPCMCodecPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "ADPCMCodecPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "ADPCMCodecPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -70,9 +70,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "ADPCMCodecPlugin 27 February 2016 (i)"
+ "ADPCMCodecPlugin 27 March 2016 (i)"
#else
- "ADPCMCodecPlugin 27 February 2016 (e)"
+ "ADPCMCodecPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/AioPlugin/AioPlugin.c
===================================================================
--- trunk/src/plugins/AioPlugin/AioPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/AioPlugin/AioPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,6 +1,6 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:07 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:52:01 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
UnixAioPlugin * uuid: nil
*/
@@ -86,9 +86,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "AioPlugin 27 February 2016 (i)"
+ "AioPlugin 27 March 2016 (i)"
#else
- "AioPlugin 27 February 2016 (e)"
+ "AioPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/AsynchFilePlugin/AsynchFilePlugin.c
===================================================================
--- trunk/src/plugins/AsynchFilePlugin/AsynchFilePlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/AsynchFilePlugin/AsynchFilePlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:56 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:50 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- AsynchFilePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ AsynchFilePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "AsynchFilePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "AsynchFilePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -67,9 +67,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "AsynchFilePlugin 27 February 2016 (i)"
+ "AsynchFilePlugin 27 March 2016 (i)"
#else
- "AsynchFilePlugin 27 February 2016 (e)"
+ "AsynchFilePlugin 27 March 2016 (e)"
#endif
;
static void * sCOAFfn;
Modified: trunk/src/plugins/B2DPlugin/B2DPlugin.c
===================================================================
--- trunk/src/plugins/B2DPlugin/B2DPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/B2DPlugin/B2DPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:58 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:52 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- BalloonEnginePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ BalloonEnginePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "BalloonEnginePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "BalloonEnginePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -447,9 +447,9 @@
static void * loadBBFn;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "B2DPlugin 27 February 2016 (i)"
+ "B2DPlugin 27 March 2016 (i)"
#else
- "B2DPlugin 27 February 2016 (e)"
+ "B2DPlugin 27 March 2016 (e)"
#endif
;
static int* objBuffer;
Modified: trunk/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c
===================================================================
--- trunk/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:02 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:57 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- B3DAcceleratorPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ B3DAcceleratorPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "B3DAcceleratorPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "B3DAcceleratorPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -107,9 +107,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "B3DAcceleratorPlugin 27 February 2016 (i)"
+ "B3DAcceleratorPlugin 27 March 2016 (i)"
#else
- "B3DAcceleratorPlugin 27 February 2016 (e)"
+ "B3DAcceleratorPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/BMPReadWriterPlugin/BMPReadWriterPlugin.c
===================================================================
--- trunk/src/plugins/BMPReadWriterPlugin/BMPReadWriterPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/BMPReadWriterPlugin/BMPReadWriterPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:56 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:50 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- BMPReadWriterPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ BMPReadWriterPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "BMPReadWriterPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "BMPReadWriterPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -58,9 +58,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "BMPReadWriterPlugin 27 February 2016 (i)"
+ "BMPReadWriterPlugin 27 March 2016 (i)"
#else
- "BMPReadWriterPlugin 27 February 2016 (e)"
+ "BMPReadWriterPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/BitBltPlugin/BitBltPlugin.c
===================================================================
--- trunk/src/plugins/BitBltPlugin/BitBltPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/BitBltPlugin/BitBltPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:58 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:53 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- BitBltSimulation VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ BitBltSimulation VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "BitBltSimulation VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "BitBltSimulation VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -256,9 +256,9 @@
};
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "BitBltPlugin 27 February 2016 (i)"
+ "BitBltPlugin 27 March 2016 (i)"
#else
- "BitBltPlugin 27 February 2016 (e)"
+ "BitBltPlugin 27 March 2016 (e)"
#endif
;
static sqInt nWords;
Modified: trunk/src/plugins/CameraPlugin/CameraPlugin.c
===================================================================
--- trunk/src/plugins/CameraPlugin/CameraPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/CameraPlugin/CameraPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:03 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:57 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- CameraPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ CameraPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "CameraPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "CameraPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -64,9 +64,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "CameraPlugin 27 February 2016 (i)"
+ "CameraPlugin 27 March 2016 (i)"
#else
- "CameraPlugin 27 February 2016 (e)"
+ "CameraPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/ClipboardExtendedPlugin/ClipboardExtendedPlugin.c
===================================================================
--- trunk/src/plugins/ClipboardExtendedPlugin/ClipboardExtendedPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/ClipboardExtendedPlugin/ClipboardExtendedPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:03 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:57 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- ClipboardExtendedPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ ClipboardExtendedPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "ClipboardExtendedPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "ClipboardExtendedPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -61,9 +61,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "ClipboardExtendedPlugin 27 February 2016 (i)"
+ "ClipboardExtendedPlugin 27 March 2016 (i)"
#else
- "ClipboardExtendedPlugin 27 February 2016 (e)"
+ "ClipboardExtendedPlugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/CroquetPlugin/CroquetPlugin.c
===================================================================
--- trunk/src/plugins/CroquetPlugin/CroquetPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/CroquetPlugin/CroquetPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:53 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- CroquetPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ CroquetPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "CroquetPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "CroquetPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -73,9 +73,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "CroquetPlugin 27 February 2016 (i)"
+ "CroquetPlugin 27 March 2016 (i)"
#else
- "CroquetPlugin 27 February 2016 (e)"
+ "CroquetPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/DBusPlugin/DBusPlugin.c
===================================================================
--- trunk/src/plugins/DBusPlugin/DBusPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/DBusPlugin/DBusPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,6 +1,6 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:03 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:57 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
DBusPlugin DBus-Plugin-dtl.35 uuid: 2ae30f08-4793-4acb-876b-c443a5f5e665
*/
@@ -143,9 +143,9 @@
static DBusMessageIter messageIter[DBUS_MAXIMUM_TYPE_RECURSION_DEPTH];
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "DBusPlugin 27 February 2016 (i)"
+ "DBusPlugin 27 March 2016 (i)"
#else
- "DBusPlugin 27 February 2016 (e)"
+ "DBusPlugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/DESPlugin/DESPlugin.c
===================================================================
--- trunk/src/plugins/DESPlugin/DESPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/DESPlugin/DESPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,6 +1,6 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:53 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
DESPlugin * CryptographyPlugins-rww.10 uuid: 8beefa4e-8411-4385-93ed-1c5d66481465
*/
@@ -69,9 +69,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "DESPlugin 27 February 2016 (i)"
+ "DESPlugin 27 March 2016 (i)"
#else
- "DESPlugin 27 February 2016 (e)"
+ "DESPlugin 27 March 2016 (e)"
#endif
;
static unsigned char pc1[56] = {
Modified: trunk/src/plugins/DSAPrims/DSAPrims.c
===================================================================
--- trunk/src/plugins/DSAPrims/DSAPrims.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/DSAPrims/DSAPrims.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,6 +1,6 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:53 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
DSAPlugin * CryptographyPlugins-rww.10 uuid: 8beefa4e-8411-4385-93ed-1c5d66481465
*/
@@ -67,9 +67,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "DSAPrims 27 February 2016 (i)"
+ "DSAPrims 27 March 2016 (i)"
#else
- "DSAPrims 27 February 2016 (e)"
+ "DSAPrims 27 March 2016 (e)"
#endif
;
static sqInt remainderDigitCount;
Modified: trunk/src/plugins/DropPlugin/DropPlugin.c
===================================================================
--- trunk/src/plugins/DropPlugin/DropPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/DropPlugin/DropPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:53 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- DropPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ DropPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "DropPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "DropPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -62,9 +62,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "DropPlugin 27 February 2016 (i)"
+ "DropPlugin 27 March 2016 (i)"
#else
- "DropPlugin 27 February 2016 (e)"
+ "DropPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/FFTPlugin/FFTPlugin.c
===================================================================
--- trunk/src/plugins/FFTPlugin/FFTPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FFTPlugin/FFTPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- FFTPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ FFTPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "FFTPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "FFTPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -68,9 +68,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FFTPlugin 27 February 2016 (i)"
+ "FFTPlugin 27 March 2016 (i)"
#else
- "FFTPlugin 27 February 2016 (e)"
+ "FFTPlugin 27 March 2016 (e)"
#endif
;
static sqInt nu;
Modified: trunk/src/plugins/FT2Plugin/FT2Plugin.c
===================================================================
--- trunk/src/plugins/FT2Plugin/FT2Plugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FT2Plugin/FT2Plugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,4 +1,4 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:04 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:58 pm */
/* Automatically generated by
FT2PluginCodeGenerator * FreeType-nice.443 uuid: d8120335-a67f-4a64-94ea-90145046f7dc
from
@@ -121,9 +121,9 @@
static FT_Library library;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FT2Plugin 27 February 2016 (i)"
+ "FT2Plugin 27 March 2016 (i)"
#else
- "FT2Plugin 27 February 2016 (e)"
+ "FT2Plugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/FileCopyPlugin/FileCopyPlugin.c
===================================================================
--- trunk/src/plugins/FileCopyPlugin/FileCopyPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FileCopyPlugin/FileCopyPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:04 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:58 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- FileCopyPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ FileCopyPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "FileCopyPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "FileCopyPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -57,9 +57,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FileCopyPlugin 27 February 2016 (i)"
+ "FileCopyPlugin 27 March 2016 (i)"
#else
- "FileCopyPlugin 27 February 2016 (e)"
+ "FileCopyPlugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/FilePlugin/FilePlugin.c
===================================================================
--- trunk/src/plugins/FilePlugin/FilePlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FilePlugin/FilePlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- FilePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ FilePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "FilePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "FilePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -100,9 +100,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FilePlugin 27 February 2016 (i)"
+ "FilePlugin 27 March 2016 (i)"
#else
- "FilePlugin 27 February 2016 (e)"
+ "FilePlugin 27 March 2016 (e)"
#endif
;
static void * sCCPfn;
Modified: trunk/src/plugins/FloatArrayPlugin/FloatArrayPlugin.c
===================================================================
--- trunk/src/plugins/FloatArrayPlugin/FloatArrayPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FloatArrayPlugin/FloatArrayPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:18:59 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- FloatArrayPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ FloatArrayPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "FloatArrayPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "FloatArrayPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -72,9 +72,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FloatArrayPlugin 27 February 2016 (i)"
+ "FloatArrayPlugin 27 March 2016 (i)"
#else
- "FloatArrayPlugin 27 February 2016 (e)"
+ "FloatArrayPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/FloatMathPlugin/FloatMathPlugin.c
===================================================================
--- trunk/src/plugins/FloatMathPlugin/FloatMathPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/FloatMathPlugin/FloatMathPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- FloatMathPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ FloatMathPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "FloatMathPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "FloatMathPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -79,9 +79,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "FloatMathPlugin 27 February 2016 (i)"
+ "FloatMathPlugin 27 March 2016 (i)"
#else
- "FloatMathPlugin 27 February 2016 (e)"
+ "FloatMathPlugin 27 March 2016 (e)"
#endif
;
Modified: trunk/src/plugins/GeniePlugin/GeniePlugin.c
===================================================================
--- trunk/src/plugins/GeniePlugin/GeniePlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/GeniePlugin/GeniePlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- GeniePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ GeniePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "GeniePlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "GeniePlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -61,9 +61,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "GeniePlugin v2.0 27 February 2016 (i)"
+ "GeniePlugin v2.0 27 March 2016 (i)"
#else
- "GeniePlugin v2.0 27 February 2016 (e)"
+ "GeniePlugin v2.0 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/HostWindowPlugin/HostWindowPlugin.c
===================================================================
--- trunk/src/plugins/HostWindowPlugin/HostWindowPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/HostWindowPlugin/HostWindowPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:05 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:59 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- HostWindowPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ HostWindowPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "HostWindowPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "HostWindowPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -66,9 +66,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "HostWindowPlugin 27 February 2016 (i)"
+ "HostWindowPlugin 27 March 2016 (i)"
#else
- "HostWindowPlugin 27 February 2016 (e)"
+ "HostWindowPlugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c
===================================================================
--- trunk/src/plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- JPEGReadWriter2Plugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ JPEGReadWriter2Plugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "JPEGReadWriter2Plugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "JPEGReadWriter2Plugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -68,9 +68,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "JPEGReadWriter2Plugin 27 February 2016 (i)"
+ "JPEGReadWriter2Plugin 27 March 2016 (i)"
#else
- "JPEGReadWriter2Plugin 27 February 2016 (e)"
+ "JPEGReadWriter2Plugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c
===================================================================
--- trunk/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- JPEGReaderPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ JPEGReaderPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "JPEGReaderPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "JPEGReaderPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -136,9 +136,9 @@
static sqInt jsReadLimit;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "JPEGReaderPlugin 27 February 2016 (i)"
+ "JPEGReaderPlugin 27 March 2016 (i)"
#else
- "JPEGReaderPlugin 27 February 2016 (e)"
+ "JPEGReaderPlugin 27 March 2016 (e)"
#endif
;
static int *residuals;
Modified: trunk/src/plugins/JoystickTabletPlugin/JoystickTabletPlugin.c
===================================================================
--- trunk/src/plugins/JoystickTabletPlugin/JoystickTabletPlugin.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/JoystickTabletPlugin/JoystickTabletPlugin.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- JoystickTabletPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ JoystickTabletPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "JoystickTabletPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "JoystickTabletPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -62,9 +62,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "JoystickTabletPlugin 27 February 2016 (i)"
+ "JoystickTabletPlugin 27 March 2016 (i)"
#else
- "JoystickTabletPlugin 27 February 2016 (e)"
+ "JoystickTabletPlugin 27 March 2016 (e)"
#endif
;
static sqInt simulator;
Modified: trunk/src/plugins/KedamaPlugin2/KedamaPlugin2.c
===================================================================
--- trunk/src/plugins/KedamaPlugin2/KedamaPlugin2.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/KedamaPlugin2/KedamaPlugin2.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,6 +1,6 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:05 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:59 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
KedamaPlugin2 Kedama-Plugins-yo.1 uuid: 3fc7d691-0149-ba4d-a339-5d27cd44a2f8
*/
@@ -123,9 +123,9 @@
static unsigned int kedamaRandomSeed;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "KedamaPlugin2 27 February 2016 (i)"
+ "KedamaPlugin2 27 March 2016 (i)"
#else
- "KedamaPlugin2 27 February 2016 (e)"
+ "KedamaPlugin2 27 March 2016 (e)"
#endif
;
static unsigned int randA;
Modified: trunk/src/plugins/Klatt/Klatt.c
===================================================================
--- trunk/src/plugins/Klatt/Klatt.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/Klatt/Klatt.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:54 pm */
/* Automatically generated by
- VMPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ VMPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- KlattSynthesizerPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ KlattSynthesizerPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "KlattSynthesizerPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "KlattSynthesizerPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -155,9 +155,9 @@
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "Klatt 27 February 2016 (i)"
+ "Klatt 27 March 2016 (i)"
#else
- "Klatt 27 February 2016 (e)"
+ "Klatt 27 March 2016 (e)"
#endif
;
static float nlast;
Modified: trunk/src/plugins/LargeIntegers/LargeIntegers.c
===================================================================
--- trunk/src/plugins/LargeIntegers/LargeIntegers.c 2016-03-26 22:24:44 UTC (rev 3653)
+++ trunk/src/plugins/LargeIntegers/LargeIntegers.c 2016-03-28 01:59:24 UTC (rev 3654)
@@ -1,10 +1,10 @@
-/* Smalltalk from Squeak4.5 with VMMaker 4.15.3 translated as C source on 27 February 2016 5:19:01 pm */
+/* Smalltalk from Squeak4.5 with VMMaker 4.15.5 translated as C source on 27 March 2016 9:51:55 pm */
/* Automatically generated by
- SmartSyntaxPluginCodeGenerator VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ SmartSyntaxPluginCodeGenerator VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
from
- LargeIntegersPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc
+ LargeIntegersPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3
*/
-static char __buildInfo[] = "LargeIntegersPlugin VMMaker-dtl.377 uuid: 80df7d73-9bc3-484e-a4ff-45e6d2e8d0dc " __DATE__ ;
+static char __buildInfo[] = "LargeIntegersPlugin VMMaker-dtl.379 uuid: 08564677-5e9d-48d5-a63c-b53bd85489f3 " __DATE__ ;
@@ -41,24 +41,22 @@
/*** Constants ***/
/*** Function Prototypes ***/
-static sqInt anyBitOfBytesfromto(sqInt aBytesOop, sqInt start, sqInt stopArg);
+static sqInt anyBitOfLargeIntfromto(sqInt aBytesOop, sqInt start, sqInt stopArg);
static sqInt bytesgrowTo(sqInt aBytesObject, sqInt newLen);
-static sqInt bytesOrIntgrowTo(sqInt oop, sqInt len);
static sqInt cCopyIntValtoBytes(sqInt val, sqInt bytes);
-static unsigned char cDigitAddlenwithleninto(unsigned char * pByteShort, sqInt shortLen, unsigned char * pByteLong, sqInt longLen, unsigned char * pByteRes);
-static sqInt cDigitComparewithlen(unsigned char * pFirst, unsigned char * pSecond, sqInt len);
-static int cDigitCopyFromtolen(unsigned char * pFrom, unsigned char * pTo, sqInt len);
-static sqInt cDigitDivlenremlenquolen(unsigned char * pDiv, sqInt divLen, unsigned char * pRem, sqInt remLen, unsigned char * pQuo, sqInt quoLen);
-static sqInt cDigitHighBitlen(unsigned char * pByte, sqInt len);
+static unsigned char cDigitAddlenwithleninto(unsigned char *pByteShort, sqInt shortLen, unsigned char *pByteLong, sqInt longLen, unsigned char *pByteRes);
+static sqInt cDigitComparewithlen(unsigned char *pFirst, unsigned char *pSecond, sqInt len);
+static int cDigitCopyFromtolen(unsigned char *pFrom, unsigned char *pTo, sqInt len);
+static sqInt cDigitDivlenremlenquolen(unsigned char *pDiv, sqInt divLen, unsigned char *pRem, sqInt remLen, unsigned char *pQuo, sqInt quoLen);
+static sqInt cDigitHighBitlen(unsigned char *pByte, sqInt len);
static sqInt cDigitLengthOfCSI(sqInt csi);
-static sqInt cDigitLshiftfromlentolen(sqInt shiftCount, unsigned char * pFrom, sqInt lenFrom, unsigned char * pTo, sqInt lenTo);
-static sqInt cDigitMontgomerylentimeslenmodulolenmInvModBinto(unsigned char * pBytesFirst, sqInt firstLen, unsigned char * pBytesSecond, sqInt secondLen, unsigned char * pBytesThird, sqInt thirdLen, sqInt mInv, unsigned char * pBytesRes);
-static unsigned char cDigitMultiplylenwithleninto(unsigned char * pByteShort, sqInt shortLen, unsigned char * pByteLong, sqInt longLen, unsigned char * pByteRes);
-static sqInt cDigitOfCSIat(sqInt csi, sqInt ix);
-static sqInt cDigitOpshortlenlongleninto(sqInt opIndex, unsigned char * pByteShort, sqInt shortLen, unsigned char * pByteLong, sqInt longLen, unsigned char * pByteRes);
-static int cDigitReplacefromtowithstartingAt(unsigned char * pTo, sqInt start, sqInt stop, unsigned char * pFrom, sqInt repStart);
-static sqInt cDigitRshiftfromlentolen(sqInt shiftCount, unsigned char * pFrom, sqInt fromLen, unsigned char * pTo, sqInt toLen);
-static sqInt cDigitSublenwithleninto(unsigned char * pByteSmall, sqInt smallLen, unsigned char * pByteLarge, sqInt largeLen, unsigned char * pByteRes);
+static sqInt cDigitLshiftfromlentolen(sqInt shiftCount, unsigned char *pFrom, sqInt lenFrom, unsigned char *pTo, sqInt lenTo);
+static sqInt cDigitMontgomerylentimeslenmodulolenmInvModBinto(unsigned char *pBytesFirst, sqInt firstLen, unsigned char *pBytesSecond, sqInt secondLen, unsigned char *pBytesThird, sqInt thirdLen, sqInt mInv, unsigned char *pBytesRes);
+static unsigned char cDigitMultiplylenwithleninto(unsigned char *pByteShort, sqInt shortLen, unsigned char *pByteLong, sqInt longLen, unsigned char *pByteRes);
+static sqInt cDigitOpshortlenlongleninto(sqInt opIndex, unsigned char *pByteShort, sqInt shortLen, unsigned char *pByteLong, sqInt longLen, unsigned char *pByteRes);
+static int cDigitReplacefromtowithstartingAt(unsigned char *pTo, sqInt start, sqInt stop, unsigned char *pFrom, sqInt repStart);
+static sqInt cDigitRshiftfromlentolen(sqInt shiftCount, unsigned char *pFrom, sqInt fromLen, unsigned char *pTo, sqInt toLen);
+static sqInt cDigitSublenwithleninto(unsigned char *pByteSmall, sqInt smallLen, unsigned char *pByteLarge, sqInt largeLen, unsigned char *pByteRes);
static sqInt cHighBit(unsigned int uint);
static sqInt createLargeFromSmallInteger(sqInt anOop);
static sqInt digitLshift(sqInt aBytesOop, sqInt shiftCount);
@@ -70,12 +68,14 @@
static sqInt digitLength(sqInt oop);
static sqInt digitMultiplyLargewithnegative(sqInt firstInteger, sqInt secondInteger, sqInt neg);
static sqInt digitOfBytesat(sqInt aBytesOop, sqInt ix);
+static sqInt digitOfLargeIntat(sqInt aBytesOop, sqInt ix);
static sqInt digitSubLargewith(sqInt firstInteger, sqInt secondInteger);
#pragma export on
EXPORT(const char*) getModuleName(void);
#pragma export off
static sqInt halt(void);
static sqInt isNormalized(sqInt anInteger);
+static sqInt largeIntOrIntgrowTo(sqInt oop, sqInt len);
static sqInt msg(char *s);
static sqInt normalizeNegative(sqInt aLargeNegativeInteger);
static sqInt normalizePositive(sqInt aLargePositiveInteger);
@@ -101,6 +101,7 @@
EXPORT(sqInt) primDigitSubtract(void);
EXPORT(sqInt) primDigitSubtractWith(void);
EXPORT(sqInt) primGetModuleName(void);
+EXPORT(sqInt) primMontgomeryDigitLength(void);
EXPORT(sqInt) primMontgomeryTimesModulo(void);
EXPORT(sqInt) primNormalize(void);
EXPORT(sqInt) primNormalizeNegative(void);
@@ -130,7 +131,7 @@
/* Argument has to be aBytesOop! */
/* Tests for any magnitude bits in the interval from start to stopArg. */
-static sqInt anyBitOfBytesfromto(sqInt aBytesOop, sqInt start, sqInt stopArg) {
+static sqInt anyBitOfLargeIntfromto(sqInt aBytesOop, sqInt start, sqInt stopArg) {
sqInt lastByteIx;
sqInt digit;
sqInt magnitude;
@@ -140,7 +141,6 @@
sqInt stop;
sqInt mask;
sqInt ix;
- unsigned char *pointer;
/* missing DebugCode */;
if ((start < 1) || (stopArg < 1)) {
@@ -157,26 +157,26 @@
leftShift = 7 - ((stop - 1) % 8);
if (firstByteIx == lastByteIx) {
mask = (0xFF << rightShift) & (((usqInt) 0xFF) >> leftShift);
- /* begin digitOfBytes:at: */
+ /* begin digitOfLargeInt:at: */
if (firstByteIx > (interpreterProxy->slotSizeOf(magnitude))) {
digit = 0;
goto l1;
} else {
- digit = ((pointer = interpreterProxy->firstIndexableField(magnitude)))[firstByteIx - 1];
+ digit = (((unsigned char *) (interpreterProxy->firstIndexableField(magnitude))))[firstByteIx - 1];
goto l1;
}
- l1: /* end digitOfBytes:at: */;
+ l1: /* end digitOfLargeInt:at: */;
return (digit & mask) != 0;
}
- if ((((usqInt) (digitOfBytesat(magnitude, firstByteIx))) >> rightShift) != 0) {
+ if ((((usqInt) (digitOfLargeIntat(magnitude, firstByteIx))) >> rightShift) != 0) {
return 1;
}
for (ix = (firstByteIx + 1); ix <= (lastByteIx - 1); ix += 1) {
- if ((digitOfBytesat(magnitude, ix)) != 0) {
+ if ((digitOfLargeIntat(magnitude, ix)) != 0) {
return 1;
}
}
- if ((((digitOfBytesat(magnitude, lastByteIx)) << leftShift) & 0xFF) != 0) {
+ if ((((digitOfLargeIntat(magnitude, lastByteIx)) << leftShift) & 0xFF) != 0) {
return 1;
}
return 0;
@@ -204,37 +204,16 @@
return newBytes;
}
-
-/* Attention: this method invalidates all oop's! Only newBytes is valid at return. */
-
-static sqInt bytesOrIntgrowTo(sqInt oop, sqInt len) {
- sqInt class;
- sqInt val;
- sqInt newBytes;
-
- if ((oop & 1)) {
- val = (oop >> 1);
- if (val < 0) {
- class = interpreterProxy->classLargeNegativeInteger();
- } else {
- class = interpreterProxy->classLargePositiveInteger();
- }
- newBytes = interpreterProxy->instantiateClassindexableSize(class, len);
- cCopyIntValtoBytes(val, newBytes);
- } else {
- newBytes = bytesgrowTo(oop, len);
- }
- return newBytes;
-}
-
static sqInt cCopyIntValtoBytes(sqInt val, sqInt bytes) {
- unsigned char * pByte;
+ unsigned char *pByte;
sqInt ix;
sqInt ixLimiT;
pByte = interpreterProxy->firstIndexableField(bytes);
for (ix = 1, ixLimiT = (cDigitLengthOfCSI(val)); ix <= ixLimiT; ix += 1) {
- pByte[ix - 1] = (cDigitOfCSIat(val, ix));
+ pByte[ix - 1] = ((((usqInt) ((val < 0
+ ? 0 - val
+ : val))) >> ((ix - 1) * 8)) & 0xFF);
}
return null;
}
@@ -242,7 +221,7 @@
/* pByteRes len = longLen; returns over.. */
-static unsigned char cDigitAddlenwithleninto(unsigned char * pByteShort, sqInt shortLen, unsigned char * pByteLong, sqInt longLen, unsigned char * pByteRes) {
+static unsigned char cDigitAddlenwithleninto(unsigned char *pByteShort, sqInt shortLen, unsigned char *pByteLong, sqInt longLen, unsigned char *pByteRes) {
sqInt i;
sqInt limit;
unsigned int accum;
@@ -264,7 +243,7 @@
/* Precondition: pFirst len = pSecond len. */
-static sqInt cDigitComparewithlen(unsigned char * pFirst, unsigned char * pSecond, sqInt len) {
+static sqInt cDigitComparewithlen(unsigned char *pFirst, unsigned char *pSecond, sqInt len) {
unsigned int firstDigit;
unsigned int secondDigit;
sqInt ix;
@@ -283,7 +262,7 @@
return 0;
}
-static int cDigitCopyFromtolen(unsigned char * pFrom, unsigned char * pTo, sqInt len) {
+static int cDigitCopyFromtolen(unsigned char *pFrom, unsigned char *pTo, sqInt len) {
sqInt limit;
sqInt i;
@@ -295,7 +274,7 @@
return 0;
}
-static sqInt cDigitDivlenremlenquolen(unsigned char * pDiv, sqInt divLen, unsigned char * pRem, sqInt remLen, unsigned char * pQuo, sqInt quoLen) {
+static sqInt cDigitDivlenremlenquolen(unsigned char *pDiv, sqInt divLen, unsigned char *pRem, sqInt remLen, unsigned char *pQuo, sqInt quoLen) {
unsigned int b;
unsigned int q;
unsigned int a;
@@ -368,13 +347,20 @@
/* i.e. (t,r3) < (hi,lo) */
q -= 1;
- if (lo < dnh) {
- hi -= 1;
- lo = (lo + 256) - dnh;
+ if (hi == 0) {
+
+ /* since hi is unsigned we must have this guard */
+
+ cond = 0;
} else {
- lo -= dnh;
+ if (lo < dnh) {
+ hi -= 1;
+ lo = (lo + 256) - dnh;
+ } else {
+ lo -= dnh;
+ }
+ cond = hi >= dh;
}
- cond = hi >= dh;
} else {
cond = 0;
}
@@ -423,7 +409,7 @@
LargeNegativeIntegers as well, since Squeak's LargeIntegers are
sign/magnitude. */
-static sqInt cDigitHighBitlen(unsigned char * pByte, sqInt len) {
+static sqInt cDigitHighBitlen(unsigned char *pByte, sqInt len) {
unsigned int lastDigit;
sqInt realLength;
@@ -437,26 +423,70 @@
}
-/* Answer the number of indexable fields of a CSmallInteger. This value is
- the same as the largest legal subscript. */
+/* Answer the number of bytes required to represent the value of a CSmallInteger. */
static sqInt cDigitLengthOfCSI(sqInt csi) {
- if ((csi < 256) && (csi > -256)) {
+ if (csi >= 0) {
+ if (csi < 256) {
+ return 1;
+ }
+ if (csi < 65536) {
+ return 2;
+ }
+ if (csi < 0x1000000) {
+ return 3;
+ }
+ if ((BYTES_PER_WORD) == 4) {
+ return 4;
+ } else {
+ if (csi < 0x100000000ULL) {
+ return 4;
+ }
+ if (csi < 0x10000000000ULL) {
+ return 5;
+ }
+ if (csi < 0x1000000000000ULL) {
+ return 6;
+ }
+ if (csi < 0x100000000000000ULL) {
+ return 7;
+ }
+ return 8;
+ }
+ }
+ if (csi > -256) {
return 1;
}
- if ((csi < 65536) && (csi > -65536)) {
+ if (csi > -65536) {
return 2;
}
- if ((csi < 0x1000000) && (csi > -16777216)) {
+ if (csi > -16777216) {
return 3;
}
- return 4;
+ if ((BYTES_PER_WORD) == 4) {
+ return 4;
+ } else {
+ if (csi > -4294967296) {
+ return 4;
+ }
+ if (csi > -1099511627776) {
+ return 5;
+ }
+ if (csi > -281474976710656) {
+ return 6;
+ }
+ if (csi > -72057594037927936) {
+ return 7;
+ }
+ return 8;
+ }
+ return null;
}
/* C indexed! */
@@ Diff output truncated at 50000 characters. @@
More information about the Vm-dev
mailing list