The Trunk: SqueakSSL-Core-ul.31.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: SqueakSSL-Core-ul.31.mcz

commits-2
Levente Uzonyi uploaded a new version of SqueakSSL-Core to project The Trunk:
http://source.squeak.org/trunk/SqueakSSL-Core-ul.31.mcz

==================== Summary ====================

Name: SqueakSSL-Core-ul.31
Author: ul
Time: 15 May 2016, 11:21:55.817852 pm
UUID: c4ddb187-9880-4b51-9774-b6e2402ed5d4
Ancestors: SqueakSSL-Core-eem.30

- use #adoptInstance: to convert between binary and ascii mode instead of creating new collections

=============== Diff against SqueakSSL-Core-eem.30 ===============

Item was changed:
  ----- Method: SecureSocketStream>>ascii (in category 'accessing') -----
  ascii
  "Switch to ASCII"
 
  super ascii.
+ ByteString adoptInstance: decoded originalContents!
- decoded := (ReadStream
- on: decoded originalContents asString
- from: 1 to: decoded size)
- position: decoded position;
- yourself.
- !

Item was changed:
  ----- Method: SecureSocketStream>>binary (in category 'accessing') -----
  binary
  "Switch to binary"
 
  super binary.
+ ByteArray adoptInstance: decoded originalContents!
- decoded := (ReadStream
- on: decoded originalContents asByteArray
- from: 1 to: decoded size)
- position: decoded position;
- yourself.
- !


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: SqueakSSL-Core-ul.31.mcz

Eliot Miranda-2
Nice!

_,,,^..^,,,_ (phone)

> On May 15, 2016, at 3:52 PM, [hidden email] wrote:
>
> Levente Uzonyi uploaded a new version of SqueakSSL-Core to project The Trunk:
> http://source.squeak.org/trunk/SqueakSSL-Core-ul.31.mcz
>
> ==================== Summary ====================
>
> Name: SqueakSSL-Core-ul.31
> Author: ul
> Time: 15 May 2016, 11:21:55.817852 pm
> UUID: c4ddb187-9880-4b51-9774-b6e2402ed5d4
> Ancestors: SqueakSSL-Core-eem.30
>
> - use #adoptInstance: to convert between binary and ascii mode instead of creating new collections
>
> =============== Diff against SqueakSSL-Core-eem.30 ===============
>
> Item was changed:
>  ----- Method: SecureSocketStream>>ascii (in category 'accessing') -----
>  ascii
>      "Switch to ASCII"
>
>      super ascii.
> +    ByteString adoptInstance: decoded originalContents!
> -    decoded := (ReadStream
> -        on: decoded originalContents asString
> -        from: 1 to: decoded size)
> -            position: decoded position;
> -            yourself.
> - !
>
> Item was changed:
>  ----- Method: SecureSocketStream>>binary (in category 'accessing') -----
>  binary
>      "Switch to binary"
>
>      super binary.
> +    ByteArray adoptInstance: decoded originalContents!
> -    decoded := (ReadStream
> -        on: decoded originalContents asByteArray
> -        from: 1 to: decoded size)
> -            position: decoded position;
> -            yourself.
> - !
>
>