Dolphin Smalltalk Core Image
Smalltalk C++ C Assembly JavaScript Scheme Other
Failed to load latest commit information.
Core Fix #589 Consider adding sequenceableCollection#indexOf:startingAt: Jul 21, 2018
Help Remove DolphinSureCrypto.dll and related items (#570) Jul 1, 2018
Resources Inno Setup Script refactor (#451) Aug 12, 2017
.gitattributes BootDPRO: Hang on "Dolphin Community Edition Tools.pax" Error Handling Jun 26, 2018
.gitignore BootDPRO: Hang on "Dolphin Community Edition Tools.pax" Error Handling Jun 26, 2018
.gitmodules Remove DolphinVM submodule Jun 14, 2018 Fix boot session not terminating May 11, 2017
BootAll.cmd #64 - Remove redundant DCE boot configuration Feb 7, 2016
BootAndTestDPRO.cmd Boot script does not exit correctly if the boot fails Jul 17, 2018
BootCore.cmd Don't block AppVeyor build if the boot fails Feb 27, 2016
BootDPRO.cmd Boot script does not exit correctly if the boot fails Jul 17, 2018
BuildDolphin7Setup.iss Remove DolphinSureCrypto.dll and related items (#570) Jul 1, 2018
DBOOT.img7 Replace Dragon Book bytes hash with FNV1a May 21, 2018
DBOOT.sml Replace Dragon Book bytes hash with FNV1a May 21, 2018
EducationCentre7.chm Update EducationCenter to reflect Dolphin 7. Jan 25, 2016
EducationCentre7.chw Update EducationCenter to reflect Dolphin 7. Jan 25, 2016
FetchVM.cmd Skip tests of lexical errors for bad/missing code point for older com… Sep 1, 2017
FetchVM.ps1 FetchVM script needs to fetch from Dolphin project rather than DolphinVM Jun 18, 2018
LICENSE Initial commit Dec 29, 2015 Smalllint rule 'Subclass responsibility not defined' has false positi… Jul 7, 2018 Fix appveyor build link in ReadMe Jun 19, 2018 Add ini files packages to product boot and test contents Dec 11, 2017 Baseline remaining slow regression tests Jun 16, 2017
SciLexer.dll A Scintilla upgrade is now due #568 (#572) Jul 2, 2018
TestDPRO.cmd Upload test results file to appveyor Jul 28, 2017
UpdateBoot.cmd Update the boot image to consolidate recent changes Dec 22, 2016
UploadTestResults.ps1 Upload test results file to appveyor Jul 28, 2017 Initial commit Dec 29, 2015
appveyor.yml Advance build version in yaml Jun 18, 2018


N.B. master is now the 7.1 beta which is incomplete, may have significant unresolved issues, and is not compatible with older Dolphin 7 builds. Use the 7.0 branch if you want a stable build.

Build status

This repository contains:

  • A VS2017 solution to build the Virtual Machine (VM) elements of Dolphin Smalltalk.
  • The necessary Smalltalk packages to build the Dolphin Smalltalk Core Images from a pre-built boot image.

Note: if you are just looking to install Dolphin and get going as quickly as possible you may prefer to start with the release build and Setup Installer and follow the directions here. However, if you’d really like to know how Dolphin is put together then the complete sources are available here on GitHub in this repository.

Building the Virtual Machine

  • First clone the Dolphin repo to a \Dolphin directory on your machine. It can actually be any location but for convenience we'll call it \Dolphin.

  • Versions prior to 7.1: You should also clone the separate VM repository (DolphinVM) into a DolphinVM\ subdirectory of \Dolphin\Core\.

  • Version 7.1 and later: The DolphinVM repository has been merged into the main Dolphin repository and can be found in the Core\DolphinVM folder. The history from the original repository has been retained.

  • Install VS2017 Community Edition on your machine with the "Desktop development with C++" workload. You can use the Pro or Enterprise edition if you have it. It is possible to compile the VM with VS2015, but you will need to downgrade the solution to the v140 toolset and either retarget to the ealier Windows SDK that shipped with VS2015, or install the latest SDK standalone. Later VS versions (when they appear) may work too but we no longer support VS2013, sorry. The Dolphin VM is a set of C++ projects so make sure to install this option (it's not the default) or you'll end up only being able to compile C#.

  • Load the DolphinVM solution into Visual Studio. Choose the Release profile (Debug will compile but will run slowly) and then Build Solution. A bunch of DLLs and Dolphin7.exe will have been copied to the \Dolphin root folder.

Building the Dolphin 7 Product Images

Follow these instructions to create the product images and launch Dolphin Smalltalk for the first time.

  • First clone the Dolphin repository (this one) into a suitable working directory on your machine, let's call it \Dolphin. Any version of Windows from Vista onwards should be suitable but most validation has been done under Windows 10.

  • The master branch is on the bleeding edge and may represent an unstable state, although the tests should always be passing. If you want a stable build then you should check out the 7.0 branch instead of master.

  • Next you will need to build the binaries as described above, or fetch the VM binaries. For convenience a batch file, FetchVM.CMD is supplied and, providing you have PowerShell scripting enabled, you can just double-click this to pull the correct version of the VM down from GitHub. Alternatively, you can right click on the FetchVM.ps1 file and choose Run with PowerShell, which does not require scripting to be explicitly enabled in Windows. If you supply a parameter to either of these script files you can choose to fetch an alternative VM version to the default (not usually recommended).

  • Before proceeding you will also need to pull the boot image from github large file storage. To do this execute git lfs pull.

  • In the root folder of the repo you will find a number of CMD files used boot the images for the various products. Two such products are available, DCORE and DPRO. Normally, you will want to use DPRO only, since this is a superset of DCORE. Sometimes it worthwhile booting both products after a change to make sure that nothing in the boot sequence has been broken. This can be done with the BootAll CMD file, but let's assume you just want to boot DPRO. Note: DPRO stands for Dolphin Professional.

  • Double-click BootDPRO.cmd or run it from a console window. When the boot process has completed, you should see a DPRO.img7 file in your directory. IMG7 is the new image extension for Dolphin 7.

  • Should you wish to test your booted image before proceeding with your own changes or work, you may want to run the standard regression test suite. This is recommended, and easy to do. Just run the TestDPRO.cmd script in the root folder. This will launch Dolphin, load the tests, and then execute them. As it runs you will see results being reported as console output. When complete a summary will state whether there were any failures. You should expect there to be none, but check the AppVeyor build to see the current build status.

  • To launch the image you can right click on DPRO.img7 and choose Open With, selecting Dolphin7.exe as the executable to be permanently associated with this file type.

You should see Dolphin Professional 7 launch successfully. We’ll leave it as an exercise for the reader to work out how to dismiss the splash screen. You can now continue with the Dolphin Getting Started introduction if you wish.

Dolphin System Folder

Contributing to Dolphin

If you want to submit changes, you will need to create your own fork and clone that instead. You will not be able to push directly to the main Dolphin repo.

No further changes will (normally) be accepted into the DolphinVM repo for versions of Dolphin from 7.1, although it remains open for bug fixes to 7.0. If you wish to contribute to the 7.1 VM, please make and commit your VM changes in this main Dolphin repo and submit a PR here. PRs can contain synchronized changes to both the VM and the image, and the PR validation build will exercise both.

Releasing a new version of Dolphin

If sufficient changes have been made to the VM or image such that a new release is warranted, you can push a new tag of the form v.7.x.y (eg: v7.0.42). When the tag is eventually pushed to the GitHub master branch (by a maintainer) this will trigger an AppVeyor to build and generate a new Release. Each release consists of the full set of VM binaries wrapped up as a zip called, associated PDBs, and a setup for installing Dolphin along with a pro image. Whenever, a new version is released the version tag should be edited into FetchVM.ps1 so that those who do not want to build it can easily download the correct version to boot and run Dolphin image from the Dolphin repository.