forked from svenvc/zinc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feenkcom/gtoolkit#4072] Support strict symbol comparisons
- Loading branch information
Showing
36 changed files
with
66 additions
and
55 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...haracter-Encoding-Core.package/ZnLossyUTF8Encoder.class/class/knownEncodingIdentifiers.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
knownEncodingIdentifiers | ||
^ #( utf8lossy ) | ||
^ #( 'utf8lossy' ) |
2 changes: 1 addition & 1 deletion
2
...tory/Zinc-Character-Encoding-Core.package/ZnLossyUTF8Encoder.class/instance/identifier.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
identifier | ||
^ #utf8lossy | ||
^ 'utf8lossy' |
2 changes: 1 addition & 1 deletion
2
...inc-Character-Encoding-Core.package/ZnNullEncoder.class/class/knownEncodingIdentifiers.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
knownEncodingIdentifiers | ||
^ #( null ) | ||
^ #( 'null' ) |
2 changes: 1 addition & 1 deletion
2
repository/Zinc-Character-Encoding-Core.package/ZnNullEncoder.class/instance/identifier.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
identifier | ||
^ #null | ||
^ 'null' |
2 changes: 1 addition & 1 deletion
2
...inc-Character-Encoding-Core.package/ZnUTF8Encoder.class/class/knownEncodingIdentifiers.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
knownEncodingIdentifiers | ||
^ #( utf8 ) | ||
^ #( 'utf8' ) |
2 changes: 1 addition & 1 deletion
2
repository/Zinc-Character-Encoding-Core.package/ZnUTF8Encoder.class/instance/identifier.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
identifier | ||
^ #utf8 | ||
^ 'utf8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Zinc-HTTP-Examples.package/ZnImageExampleDelegateTest.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...itory/Zinc-HTTP-Examples.package/ZnReadEvalPrintDelegate.class/instance/handleRequest..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
7 changes: 4 additions & 3 deletions
7
repository/Zinc-HTTP.package/ZnRequestLine.class/instance/method..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
accessing | ||
method: string | ||
method: aSymbol | ||
|
||
method := ZnConstants knownHTTPMethods | ||
detect: [ :each | each = string ] | ||
ifNone: [ (ZnUnknownHttpMethod method: string) signal ] | ||
detect: [ :each | each = aSymbol ] | ||
ifNone: [ (ZnUnknownHttpMethod method: aSymbol) signal ] |
2 changes: 2 additions & 0 deletions
2
repository/Zinc-HTTP.package/ZnRequestLine.class/instance/method.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
accessing | ||
method | ||
<return: #Symbol> | ||
|
||
^ method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
self packageOrganizer ensurePackage: #'Zinc-HTTP' withTags: #(#'Client-Server' #Core #Exceptions #Logging #Streaming #Support #Variables)! | ||
SystemOrganization addCategory: #'Zinc-HTTP'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Client-Server'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Core'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Exceptions'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Logging'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Streaming'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Support'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Variables'! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SystemOrganization addCategory: #'Zinc-REST'! | ||
SystemOrganization addCategory: 'Zinc-REST-Server'! | ||
SystemOrganization addCategory: 'Zinc-REST-Tests'! | ||
SystemOrganization addCategory: #'Zinc-REST-Server'! | ||
SystemOrganization addCategory: #'Zinc-REST-Tests'! |
2 changes: 1 addition & 1 deletion
2
...tory/Zinc-Resource-Meta-Core.package/ZnUrl.class/instance/isSchemeNotUsingDoubleSlash..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
private | ||
isSchemeNotUsingDoubleSlash: schemeString | ||
^ self class schemesNotUsingDoubleSlash , self class schemesOptionallyNotUsingDoubleSlash | ||
includes: schemeString asLowercase | ||
includes: schemeString asLowercase asSymbol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Zinc-Tests.package/ZnRequestLineTest.class/instance/testWriting.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
testing | ||
testWriting | ||
| requestLine string | | ||
requestLine := ZnRequestLine method: 'GET' uri: '/foo/bar/xyz.txt'. | ||
requestLine := ZnRequestLine method: #GET uri: '/foo/bar/xyz.txt'. | ||
string := String streamContents: [ :stream | requestLine writeOn: stream ]. | ||
self assert: string equals: 'GET /foo/bar/xyz.txt HTTP/1.1' , String crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters