Hi,
On 11.07.2016, at 08:52, commits(a)source.squeak.org wrote:
> Tim Felgentreff uploaded a new version of VMMaker to project VM Maker:
> http://source.squeak.org/VMMaker/VMMaker.oscog-topa.1900.mcz
>
> ==================== Summary ====================
>
> Name: VMMaker.oscog-topa.1900
> Author: topa
> Time: 11 July 2016, 10:30:07.188629 am
> UUID: b90b9fe5-71c9-49f4-948b-4ebfbb63dcb6
> Ancestors: VMMaker.oscog-eem.1899
>
> Add Primitive ScreenScaleFactor as primitive 104.
I just found that screenDepth is actually a named prim, so my premise of having ScreenScaleFactor
just like the other screen prims is was flawed. If anyone say so, I'll happily free 104 again and
move to a named one..
Best regards
-Tobias
>
> - 104 was numbered primitiveDrawLoop but that has been a named primitve for more than 10 years now.
> - Requires platform support as of git commit 5dc6440
>
> In 1900, Hilbert stated his list of 23 problems, quantum physics was conceived, Fessenden made the first audio radio transmission, Villard discovered gamma rays, and Louis' Lunch served the first hamburger.
>
> =============== Diff against VMMaker.oscog-eem.1899 ===============
>
> Item was added:
Tobias Pape uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-topa.1901.mcz
==================== Summary ====================
Name: VMMaker.oscog-topa.1901
Author: topa
Time: 11 July 2016, 6:42:05.916036 pm
UUID: 90d28152-bb23-4c83-858d-2ec0e42599a7
Ancestors: VMMaker.oscog-topa.1900
Do not use primitive 104, the named one is sufficient (akin to primitiveScreenDepth).
In 1901, Russell showed that Cantor's set theory leads to a contradiction, and the first Nobel Prizes were awarded: Wilhelm Röntgen (Pyhsics), Jacobus van 't Hoff (Chemistry), and Emil von Behring (Medicine)
=============== Diff against VMMaker.oscog-topa.1900 ===============
Item was changed:
----- Method: Interpreter class>>initializePrimitiveTable (in category 'initialization') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StackInterpreter class>>initializePrimitiveTable (in category 'initialization') -----
(excessive size, no diff calculated)
> On 18 Jun 2016, at 23:28, commits(a)source.squeak.org wrote:
>
>
> Timothy M uploaded a new version of CMakeVMMakerSqueak to project VM Maker:
> http://source.squeak.org/VMMaker/CMakeVMMakerSqueak-tty.126.mcz
Hi,
I might be teared and feathered but what would it take to maintain the CMakeLists.txt directly in git and not of generate them from Smalltalk?
From my limited point of view it seems cmake supports targeting multiple platforms/configurations from within the CMakeLists. And when trying to build the PharoVM on FreeBSD I had a lot of trouble[1] and waited[2] a bit too much.
kind regards
holger
[1] Trouble in the sense that the generated paths were absolute, that some CFLAGS didn't apply to the compiler used.
[2] I seem to have failed to just generate the CMakeLists.txt/* and decided to generate everything which took some time. E.g. the files not being truncated before they are written to
Branch: refs/heads/krono/add-scale-factor
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 5dc6440c0abda582e85c017532fa3d04ddaa1e23
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/5dc6440c0abda582e8…
Author: Tobias Pape <tobias(a)netshed.de>
Date: 2016-07-11 (Mon, 11 Jul 2016)
Changed paths:
M build.win32x86/newspeak.cog.spur/nsvm.exe.manifest
M build.win32x86/newspeak.stack.spur/nsvm.exe.manifest
M build.win32x86/squeak.cog.spur/Croquet.exe.manifest
M build.win32x86/squeak.cog.spur/Squeak.exe.manifest
M build.win32x86/squeak.cog.v3/Croquet.exe.manifest
M build.win32x86/squeak.cog.v3/Squeak.exe.manifest
M build.win32x86/squeak.stack.spur/Croquet.exe.manifest
M build.win32x86/squeak.stack.spur/Squeak.exe.manifest
M build.win32x86/squeak.stack.v3/Croquet.exe.manifest
M build.win32x86/squeak.stack.v3/Squeak.exe.manifest
M platforms/Cross/vm/sq.h
M platforms/Mac OS/vm/Developer/sqMacMinimal.c
M platforms/Mac OS/vm/sqMacWindowUniversal.c
M platforms/Plan9/vm/sqPlan9io.c
M platforms/RiscOS/vm/sqRPCWindows.c
M platforms/iOS/vm/Common/Classes/sqSqueakNullScreenAndWindow.h
M platforms/iOS/vm/Common/Classes/sqSqueakNullScreenAndWindow.m
M platforms/iOS/vm/Common/Classes/sqSqueakScreenAPI.m
M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m
M platforms/iOS/vm/OSX/Newspeak-Info.plist
M platforms/iOS/vm/OSX/Pharo-Info.plist
M platforms/iOS/vm/OSX/Squeak-Info.plist
M platforms/iOS/vm/OSX/sqMacV2Browser.m
M platforms/iOS/vm/OSX/sqSqueakMainApplication+screen.h
M platforms/iOS/vm/OSX/sqSqueakMainApplication+screen.m
M platforms/unix/vm-display-Quartz/sqUnixQuartz.m
M platforms/unix/vm-display-Quartz/zzz/sqUnixQuartz.m
M platforms/unix/vm-display-X11/sqUnixX11.c
M platforms/unix/vm-display-custom/sqUnixCustomWindow.c
M platforms/unix/vm-display-fbdev/sqUnixFBDev.c
M platforms/unix/vm-display-null/sqUnixDisplayNull.c
M platforms/unix/vm/SqDisplay.h
M platforms/unix/vm/sqUnixMain.c
M platforms/win32/vm/sqWin32Window.c
Log Message:
-----------
Add ioScreenScaleFactor.
- if in doubt, returns 1.0.
- enables high-res support for Windows and Mac
- Is support for VMMaker.oscog-topa.1900
Tim Felgentreff uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-topa.1900.mcz
==================== Summary ====================
Name: VMMaker.oscog-topa.1900
Author: topa
Time: 11 July 2016, 10:30:07.188629 am
UUID: b90b9fe5-71c9-49f4-948b-4ebfbb63dcb6
Ancestors: VMMaker.oscog-eem.1899
Add Primitive ScreenScaleFactor as primitive 104.
- 104 was numbered primitiveDrawLoop but that has been a named primitve for more than 10 years now.
- Requires platform support as of git commit 5dc6440
In 1900, Hilbert stated his list of 23 problems, quantum physics was conceived, Fessenden made the first audio radio transmission, Villard discovered gamma rays, and Louis' Lunch served the first hamburger.
=============== Diff against VMMaker.oscog-eem.1899 ===============
Item was added:
+ ----- Method: CogVMSimulator>>ioScreenScaleFactor (in category 'I/O primitives support') -----
+ ioScreenScaleFactor
+ ^ 1.0!
Item was changed:
----- Method: Interpreter class>>initializePrimitiveTable (in category 'initialization') -----
(excessive size, no diff calculated)
Item was added:
+ ----- Method: InterpreterPrimitives>>primitiveScreenScaleFactor (in category 'I/O primitives') -----
+ primitiveScreenScaleFactor
+ "Answer a float indicating the current scale factor for pixels of the Smalltalk window."
+ | factor |
+ <export: true>
+ <var: #factor type: #double>
+ factor := self ioScreenScaleFactor.
+ self failed ifTrue:[^self primitiveFail].
+ self pop: 1; pushFloat: factor.!
Item was added:
+ ----- Method: InterpreterSimulator>>ioScreenScaleFactor (in category 'I/O primitives support') -----
+ ioScreenScaleFactor
+ ^ 1.0!
Item was added:
+ ----- Method: InterpreterSimulator>>primitiveScreenScaleFactor (in category 'I/O primitives') -----
+ primitiveScreenScaleFactor "Dummied for now"
+
+ self pop: 1.
+ self pushFloat: 1.0
+ !
Item was changed:
----- Method: StackInterpreter class>>initializePrimitiveTable (in category 'initialization') -----
(excessive size, no diff calculated)
Item was added:
+ ----- Method: StackInterpreterSimulator>>ioScreenScaleFactor (in category 'I/O primitives support') -----
+ ioScreenScaleFactor
+ ^ 1.0!