[squeak-dev] Altitude form example

H. Hirzel hannes.hirzel at gmail.com
Thu Sep 13 21:39:52 UTC 2012


Colin

Thank you very much indeed for this example.
I will take a pristine image and load everything from scratch.

Is the load sequence still what you had attached here
http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-July/164881.html

Copied in below as the attachement was removed in the Squeak list archive.

--Hannes



Load script for Altitude
================

| oldPref oldAuth|


oldPref := Scanner prefAllowUnderscoreSelectors.
oldAuth := Utilities authorInitialsPerSe.

Scanner prefAllowUnderscoreSelectors: true.
Utilities setAuthorInitials: 'al-loader'.
$_ tokenish ifFalse: [
  Character
    compile: 'tokenish
  "Answer whether the receiver is a valid token-character--letter, digit, or
  colon."

  ^self == $_ or: [self == $: or: [self isLetter or: [self isDigit]]]'
    classified: 'testing'.
  String initialize ].

(Installer repository: 'http://source.squeak.org/FFI')
  install: 'FFI-Pools';
  install: 'FFI-Kernel';
  install: 'FFI-Tests';
  install: 'FFI-Win32';
  install: 'FFI-MacOS';
  install: 'FFI-Unix'.

(Installer wiresong project: 'al')
  addPackage: 'Xtreams-Support';
  addPackage: 'Xtreams-CoreTests';
  addPackage: 'Xtreams-Core';
  addPackage: 'Xtreams-Substreams';
  addPackage: 'Xtreams-Terminals';
  addPackage: 'Xtreams-Parsing';
  addPackage: 'Xtreams-Http';
  addPackage: 'Xtreams-Xtras';
  addPackage: 'Xtreams-ParsingTests';
  addPackage: 'Xtreams-TerminalsTests';
  addPackage: 'Xtreams-XtrasTests';
  addPackage: 'Xtreams-SubstreamsTests';
  addPackage: 'Xtreams-TransformsTests';
  addPackage: 'Xtreams-Transforms';
  addPackage: 'Xtreams-HttpTests';
  install.

Scanner prefAllowUnderscoreSelectors: oldPref.
Utilities setAuthorInitials: oldAuth.

(Installer wiresong project: 'mc')
  addPackage: 'FS-Core';
  addPackage: 'FS-Disk';
  addPackage: 'FS-Memory';
  addPackage: 'FS-AnsiStreams';
  addPackage: 'FS-Zip';
  addPackage: 'FS-Xtreams';
  addPackage: 'FS-FileStream';
  addPackage: 'FS-Tests-Core';
  addPackage: 'FS-Tests-AnsiStreams';
  addPackage: 'FS-Tests-Xtreams';
  addPackage: 'FS-Tests-Zip';
  addPackage: 'FS-Tests-Disk';
  addPackage: 'FS-Tests-FileStream';
  install.

(Installer wiresong project: 'al')
  addPackage: 'AL-Rendering';
  addPackage: 'AL-Http';
  addPackage: 'AL-Application';
  addPackage: 'AL-Serialization';
  addPackage: 'AL-Json';
  addPackage: 'AL-Html5';
  addPackage: 'AL-HtmlApp';
  addPackage: 'AL-User';
  addPackage: 'AL-Tests-Json';
  addPackage: 'AL-Tests-Html5';
  addPackage: 'AL-Tests-User';
  addPackage: 'AL-Tests-Serialization';
  addPackage: 'AL-Tests-Http';
  addPackage: 'AL-Tests-Application';
  install.



On 9/13/12, Colin Putney <colin at wiresong.com> wrote:
> Chris and Hannes,
>
> I've added a form example to the examples application. Besides only
> working with text inputs, I also noticed that it only works with POST
> form submissions, because I haven't implemented parsing of query
> parameters yet. Also, the example exposed a couple of bugs, so you'll
> have to update several other packages as well. The perils of living on
> the bleeding edge! ;-)
>
> Colin
>
>


More information about the Squeak-dev mailing list