Skip to content

Commit

Permalink
Merge pull request #146 from hpi-swa-teaching/master
Browse files Browse the repository at this point in the history
Add support for Squeak 5.3
  • Loading branch information
LeonMatthes committed Aug 24, 2020
2 parents b8c853b + 07f521a commit 7bf7986
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .squot
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OrderedDictionary {
'packages\/BaselineOfPresenter.package' : #SquotCypressCodeSerializer,
'packages\/Presenter-Core.package' : #SquotCypressCodeSerializer,
'packages\/Presenter-Tests.package' : #SquotCypressCodeSerializer,
'packages\/Presenter-Compatibility-Tests.package' : #SquotCypressCodeSerializer
'packages/BaselineOfPresenter.package' : #SquotCypressCodeSerializer,
'packages/Presenter-Core.package' : #SquotCypressCodeSerializer,
'packages/Presenter-Tests.package' : #SquotCypressCodeSerializer,
'packages/Presenter-Compatibility-Tests.package' : #SquotCypressCodeSerializer
}
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ os:
- osx

smalltalk:
- Squeak-5.0
- Squeak-5.1
- Squeak-5.2
- Squeak-trunk
- Squeak32-5.0
- Squeak32-5.1
- Squeak64-5.2
- Squeak64-5.3
- Squeak64-trunk

matrix:
allow_failures:
- smalltalk: Squeak-5.0
- smalltalk: Squeak-trunk
- smalltalk: Squeak32-5.0
- smalltalk: Squeak64-trunk
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ A presentation tool for the Squeak development platform
Supported platforms:
* Squeak 5.1
* Squeak 5.2
* Squeak 5.3

Squeak 6.0/Trunk is also a target plattform, but due to the fast changing nature of Trunk, certain versions of Squeak Trunk may not work.
Please check [Travis-ci](https://travis-ci.org/hpi-swa-teaching/PowerSqueak) for the current build status.
Expand All @@ -27,7 +28,7 @@ Squeak 5.0 is officially unsupported (see [Travis-ci](https://travis-ci.org/hpi-
## **Installation Instructions**
For easy installation, please first install [Metacello](https://github.com/Metacello/metacello).

Then run the following code in your Squeak 5.1/6.0(trunk) image:
Then run the following code in your Squeak image:
``` smalltalk
Metacello new
baseline: 'Presenter';
Expand All @@ -45,7 +46,7 @@ Alternatively, download the .sar file from the [latest release](https://github.c

## **Using PowerSqueak**
To open PowerSqueak either
* run: ``` PSPresentationTool open. ```
* run: `PSPresentationTool open. `
* click PowerSqueak in the "Apps" drop-down-menu\
<img src="pictures/apps-drawer.png" alt="Open PowerSqueak in the Apps menu" width="250">

Expand Down Expand Up @@ -94,16 +95,16 @@ Leaving the presentation mode also enables interactivity and unhides the cursor.
PowerSqueak can save and load presentations to/from the file system.

Use the corresponding save/load buttons in the "File" menu to save/load the presentation.
If you want to view the saved files, go to the ```PSPresentation``` directory in your Squeak VMs directory.
You can share presentations by copying any presentation in the ```PSPresentation``` directory into the ```PSPresentation``` directory of another image.
If you want to view the saved files, go to the `PSPresentation` directory in your Squeak VMs directory.
You can share presentations by copying any presentation in the `PSPresentation` directory into the `PSPresentation` directory of another image.
In the other image you can then load the presentation as usual in PowerSqueak.

``` diff
- Warning: some morphs may crash your image if they are saved/loaded!
- It is recommended, that you save your image before every save/load operation in PowerSqueak
```

You may also export your presentation to a list of .png files, which will get exported into the ```PSPresentationsExports``` folder in your Squeak VMS directory
You may also export your presentation to a list of .png files, which will get exported into the `PSPresentationsExports` folder in your Squeak VMS directory

#### **List of shortcuts**
### **Global schortcuts**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
systemwindow-compatibility
isActive

^ false
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"in:tryToEvaluate:" : "JB 4/18/2019 17:12",
"initialize" : "VO 6/5/2019 17:56",
"initializeStyle" : "WoC 6/15/2018 16:00",
"isActive" : "LM 8/24/2020 18:16",
"isCollapsed" : "LM 6/6/2018 18:13",
"isInPresentationMode" : "WoC 7/24/2018 14:35",
"isInteractive" : "VO 5/9/2019 16:53",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ styling
changeFontSize: aNumber

self addAttribute: (self fontSizeAttribute: aNumber).
self textMorph releaseParagraph
self relayoutText.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
scaling
relayoutText

self textMorph updateFromParagraph.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
scaling
rescale: aPoint

self textScale: aPoint y / 100 "%"
self textScale: aPoint y / 100 "%".
self relayoutText.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"addAttribute:" : "mb 7/24/2019 14:40",
"addAttribute:toInterval:" : "mb 7/24/2019 14:34",
"centerText" : "MK 7/6/2018 15:30",
"changeFontSize:" : "mb 7/24/2019 14:29",
"changeFontSize:" : "LM 8/24/2020 18:32",
"changeTextColorData" : "jb 7/26/2019 12:10",
"changeTextSizeData" : "jb 7/26/2019 12:10",
"createFontSizeAttribute" : "mb 7/24/2019 11:42",
Expand All @@ -24,7 +24,8 @@
"initializeProperties" : "VO 5/23/2019 17:25",
"initializeStyle" : "mb 7/24/2019 11:46",
"initializeTextAttribute" : "LB 6/12/2018 16:48",
"rescale:" : "LB 6/17/2018 13:23",
"relayoutText" : "LM 8/24/2020 18:32",
"rescale:" : "LM 8/24/2020 18:32",
"selectionAddAttribute:" : "LB 6/8/2018 15:11",
"selectionAddAttribute:onNoSelection:" : "jb 7/25/2019 15:16",
"selectionAttribute:" : "LB 6/8/2018 15:06",
Expand Down

0 comments on commit 7bf7986

Please sign in to comment.