Skip to content

Commit

Permalink
Further reorganisation of system categories
Browse files Browse the repository at this point in the history
  • Loading branch information
russellallen committed Mar 3, 2015
1 parent 6f06078 commit d521340
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 16 deletions.
16 changes: 13 additions & 3 deletions docs/handbook/howtoprg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ screen, you can summon it by pressing the middle mouse button on the background

Outliners sport three small buttons in the top-right-hand corner labeled “/\\”, “E”,
and “X”. These buttons summon the object’s parents, add an evaluator text region to the bottom of
the outliner, and dismiss the outliner. Press the “E” button to get an evaluator.Type ``anExampleObject`` into
the outliner, and dismiss the outliner. Press the “E” button to get an evaluator.

Type ``anExampleObject`` into
the evaluator (it will already be selected) and hit the ``Get it`` button (or type metareturn
on UNIX, or command-return on MacOS X):

Expand All @@ -55,7 +57,15 @@ on UNIX, or command-return on MacOS X):
:align: left

The result object appears in your “hand” raised above the screen as if you were dragging it with the
left button. Just click the button to set it down.
left button.

.. note::

If this returns an error, it may be that you don't have ``anExampleObject`` in your Self world. You can always load it from the file ``objects/misc/programmingExamples.self`` as follows::
'path/to/objects/misc/programmingExamples.self' runScript

Click the button to set it down.

.. figure:: images/Pgm_Env_Image3.*
:height: 70 px
Expand Down Expand Up @@ -885,4 +895,4 @@ which may take a while to learn. We hope that you find the investment worth the
.. [#f9] isComplete is used by the environment to decide when it is safe to send messages like printString.
.. [#f9] See www.semanticversioning.org for a specification. In essence, versions are of the form "3.2.1-alpha6"
.. [#f10] See www.semanticversioning.org for a specification. In essence, versions are of the form "3.2.1-alpha6"
2 changes: 1 addition & 1 deletion objects/core/abstract_OS.self
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See the LICENSE file for license information.
'-- Module body'

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: platform\x7fCategory: host and filesystem\x7fModuleInfo: Module: abstract_OS InitialContents: FollowSlot\x7fVisibility: public'
'Category: platform\x7fCategory: os\x7fModuleInfo: Module: abstract_OS InitialContents: FollowSlot\x7fVisibility: public'

abstract_OS = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'abstract_OS' -> () From: ( |
{} = 'ModuleInfo: Creator: globals abstract_OS.
Expand Down
6 changes: 3 additions & 3 deletions objects/core/history.self
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ See the LICENSE file for license information.
} | )

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: system\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'
'Category: system\x7fCategory: prompt\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'

historyListEntry = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'historyListEntry' -> () From: ( |
{} = 'ModuleInfo: Creator: globals historyListEntry.
Expand All @@ -36,7 +36,7 @@ See the LICENSE file for license information.
} | )

bootstrap addSlotsTo: bootstrap stub -> 'traits' -> () From: ( | {
'Category: system\x7fCategory: user interface\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'
'Category: system\x7fCategory: prompt\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'

historyListEntry = bootstrap setObjectAnnotationOf: bootstrap stub -> 'traits' -> 'historyListEntry' -> () From: ( |
{} = 'Comment: A historyListEntry is a triple: <id><command string><result object>.\x7fModuleInfo: Creator: traits historyListEntry.
Expand Down Expand Up @@ -191,7 +191,7 @@ SlotsToOmit: directory fileInTimeString myComment postFileIn revision subpartNam
} | )

bootstrap addSlotsTo: bootstrap stub -> 'traits' -> () From: ( | {
'Category: system\x7fCategory: user interface\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'
'Category: system\x7fCategory: prompt\x7fModuleInfo: Module: history InitialContents: FollowSlot\x7fVisibility: public'

historyList = bootstrap setObjectAnnotationOf: bootstrap stub -> 'traits' -> 'historyList' -> () From: ( |
{} = 'Comment: The history list records commands typed by the user, allowing a command
Expand Down
4 changes: 2 additions & 2 deletions objects/core/hosts.self
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See the LICENSE file for license information.
'-- Module body'

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: platform\x7fCategory: graphical interface\x7fCategory: graphics\x7fModuleInfo: Module: hosts InitialContents: FollowSlot\x7fVisibility: public'
'Category: platform\x7fCategory: graphical interface\x7fModuleInfo: Module: hosts InitialContents: FollowSlot\x7fVisibility: public'

graphicsDependentGlobals* = bootstrap stub -> 'globals' -> 'quartzGlobals' -> ().
} | )
Expand Down Expand Up @@ -1281,7 +1281,7 @@ SlotsToOmit: directory fileInTimeString myComment postFileIn revision subpartNam
} | )

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: platform\x7fCategory: graphical interface\x7fCategory: graphics\x7fModuleInfo: Module: hosts InitialContents: FollowSlot\x7fVisibility: public'
'Category: platform\x7fCategory: graphical interface\x7fModuleInfo: Module: hosts InitialContents: FollowSlot\x7fVisibility: public'

x11Globals = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'x11Globals' -> () From: ( |
{} = 'ModuleInfo: Creator: globals x11Globals.
Expand Down
2 changes: 1 addition & 1 deletion objects/core/prompt.self
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ is a sane default for perProcessGlobals prompt inputLoopProcess\x7fModuleInfo: C
} | )

bootstrap addSlotsTo: bootstrap stub -> 'traits' -> () From: ( | {
'Category: system\x7fCategory: user interface\x7fModuleInfo: Module: prompt InitialContents: FollowSlot\x7fVisibility: public'
'Category: system\x7fCategory: prompt\x7fModuleInfo: Module: prompt InitialContents: FollowSlot\x7fVisibility: public'

prompt = bootstrap setObjectAnnotationOf: bootstrap stub -> 'traits' -> 'prompt' -> () From: ( |
{} = 'ModuleInfo: Creator: traits prompt.
Expand Down
2 changes: 1 addition & 1 deletion objects/core/quartzHosts.self
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ SlotsToOmit: directory fileInTimeString myComment postFileIn revision subpartNam
} | )

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: platform\x7fCategory: graphical interface\x7fCategory: graphics\x7fModuleInfo: Module: quartzHosts InitialContents: FollowSlot\x7fVisibility: public'
'Category: platform\x7fCategory: graphical interface\x7fModuleInfo: Module: quartzHosts InitialContents: FollowSlot\x7fVisibility: public'

quartzGlobals = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'quartzGlobals' -> () From: ( |
{} = 'ModuleInfo: Creator: globals quartzGlobals.
Expand Down
6 changes: 3 additions & 3 deletions objects/core/stdin.self
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ SlotsToOmit: comment directory fileInTimeString myComment postFileIn revision su
} | )

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: system\x7fCategory: concurrency\x7fComment: Holds the real prototype for objects
like stdout which are lookuped up in corrent
'Category: system\x7fCategory: prompt\x7fCategory: concurrency\x7fComment: Holds the real prototype for objects
like stdout which are lookuped up in current
process by methods in defaultBehavior.\x7fModuleInfo: Module: stdin InitialContents: FollowSlot\x7fVisibility: public'

perProcessGlobals = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'perProcessGlobals' -> () From: ( |
Expand Down Expand Up @@ -136,7 +136,7 @@ process by methods in defaultBehavior.\x7fModuleInfo: Module: stdin InitialConte
} | )

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: system\x7fModuleInfo: Module: stdin InitialContents: FollowSlot\x7fVisibility: public'
'Category: system\x7fCategory: prompt\x7fModuleInfo: Module: stdin InitialContents: FollowSlot\x7fVisibility: public'

userQuery = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'userQuery' -> () From: ( |
{} = 'ModuleInfo: Creator: globals userQuery.
Expand Down
2 changes: 1 addition & 1 deletion objects/misc/programmingExamples.self
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See the LICENSE file for license information.
'-- Module body'

bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: examples\x7fModuleInfo: Module: programmingExamples InitialContents: FollowSlot\x7fVisibility: public'
'Category: applications\x7fCategory: examples\x7fModuleInfo: Module: programmingExamples InitialContents: FollowSlot\x7fVisibility: public'

anExampleObject = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'anExampleObject' -> () From: ( |
{} = 'ModuleInfo: Creator: globals anExampleObject.
Expand Down
3 changes: 2 additions & 1 deletion objects/worldBuilder.self
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SELF WORLD BUILDER
Copyright 1992-2014 AUTHORS.
See the LICENSE file for license information.

Version: 0.1.0
Version: 0.2.0

This is not a module and not managed by Transporter.
'
Expand All @@ -17,6 +17,7 @@ This is not a module and not managed by Transporter.
bootstrap read: 'primitiveMaker' From: 'glue'.
bootstrap read: 'crypto' From: 'applications'.
bootstrap read: 'allTests' From: 'tests'.
bootstrap read: 'programmingExamples' From: 'misc'.

"Load optional components after asking user"

Expand Down

0 comments on commit d521340

Please sign in to comment.