Permalink
Browse files

Issue #24: sent but not implmented cleaned up ...

deleted ZnByteEncoder which will probably not be supported in GemStone
  • Loading branch information...
Dale Henrichs
Dale Henrichs committed Aug 6, 2012
1 parent b9563ee commit 4bad67abc7c02cf18bd5179eaab941c90ab5ddc4
Showing with 46 additions and 126 deletions.
  1. +6 −1 ...ory/BaselineOfZincHTTPComponents.package/BaselineOfZincHTTPComponents.class/instance/baseline..st
  2. +1 −1 ...ory/BaselineOfZincHTTPComponents.package/BaselineOfZincHTTPComponents.class/methodProperties.json
  3. +1 −1 repository/BaselineOfZincHTTPComponents.package/monticello.meta/version
  4. +5 −0 repository/Zinc-HTTP.package/HTTPProgress.class/instance/amount..st
  5. +5 −0 repository/Zinc-HTTP.package/HTTPProgress.class/instance/amount.st
  6. +5 −0 repository/Zinc-HTTP.package/HTTPProgress.class/instance/total..st
  7. +5 −0 repository/Zinc-HTTP.package/HTTPProgress.class/instance/total.st
  8. +4 −1 repository/Zinc-HTTP.package/HTTPProgress.class/methodProperties.json
  9. +4 −3 repository/Zinc-HTTP.package/HTTPProgress.class/properties.json
  10. +1 −1 repository/Zinc-HTTP.package/KeyNotFound.class/properties.json
  11. +1 −1 repository/Zinc-HTTP.package/NotFound.class/properties.json
  12. +0 −7 repository/Zinc-HTTP.package/ZnByteEncoder.class/README.md
  13. +0 −5 repository/Zinc-HTTP.package/ZnByteEncoder.class/class/handlesEncoding..st
  14. +0 −3 repository/Zinc-HTTP.package/ZnByteEncoder.class/class/initialize.st
  15. +0 −6 repository/Zinc-HTTP.package/ZnByteEncoder.class/class/initializeByteTextConverters.st
  16. +0 −6 repository/Zinc-HTTP.package/ZnByteEncoder.class/class/initializeEncoder.using..st
  17. +0 −10 repository/Zinc-HTTP.package/ZnByteEncoder.class/class/newForEncoding..st
  18. +0 −3 repository/Zinc-HTTP.package/ZnByteEncoder.class/instance/byteToUnicode..st
  19. +0 −3 repository/Zinc-HTTP.package/ZnByteEncoder.class/instance/encodedByteCountFor..st
  20. +0 −9 repository/Zinc-HTTP.package/ZnByteEncoder.class/instance/nextFromStream..st
  21. +0 −9 repository/Zinc-HTTP.package/ZnByteEncoder.class/instance/nextPut.toStream..st
  22. +0 −3 repository/Zinc-HTTP.package/ZnByteEncoder.class/instance/unicodeToByte..st
  23. +0 −13 repository/Zinc-HTTP.package/ZnByteEncoder.class/methodProperties.json
  24. +0 −15 repository/Zinc-HTTP.package/ZnByteEncoder.class/properties.json
  25. +0 −4 repository/Zinc-HTTP.package/ZnClientOld.class/class/getJpeg..st
  26. +0 −1 repository/Zinc-HTTP.package/ZnClientOld.class/methodProperties.json
  27. +0 −3 repository/Zinc-HTTP.package/ZnHTTPSocketFacade.class/class/httpJpeg..st
  28. +0 −1 repository/Zinc-HTTP.package/ZnHTTPSocketFacade.class/methodProperties.json
  29. +1 −1 repository/Zinc-HTTP.package/ZnNetworkingUtils.class/instance/httpProxyPassword.st
  30. +1 −1 repository/Zinc-HTTP.package/ZnNetworkingUtils.class/instance/httpProxyUser.st
  31. +2 −2 repository/Zinc-HTTP.package/ZnNetworkingUtils.class/methodProperties.json
  32. +0 −2 repository/Zinc-HTTP.package/ZnStandardOutputLogger.class/instance/stream.st
  33. +1 −1 repository/Zinc-HTTP.package/ZnStandardOutputLogger.class/methodProperties.json
  34. +1 −0 repository/Zinc-HTTP.package/monticello.meta/categories.st
  35. +1 −1 repository/Zinc-HTTP.package/monticello.meta/version
  36. +0 −6 repository/Zinc-Tests.package/ZnEasyTests.class/instance/testGetJpeg.st
  37. +0 −1 repository/Zinc-Tests.package/ZnEasyTests.class/methodProperties.json
  38. +1 −1 repository/Zinc-Tests.package/monticello.meta/version
@@ -52,13 +52,18 @@ baseline: spec
spec
version: '0.247';
repository: 'http://seaside.gemstone.com/ss/MetacelloRepository' ];
+ configuration: 'GsMisc'
+ with: [
+ spec
+ version: '0.242';
+ repository: 'http://seaside.gemstone.com/ss/MetacelloRepository' ];
configuration: 'GsPharo'
with: [
spec
version: '0.9.2';
repository: 'http://seaside.gemstone.com/ss/MetacelloRepository' ].
spec
- package: 'SocketStream' with: [ spec repository: 'http://seaside.gemstone.com/ss/PharoCompat' ];
+ package: 'SocketStream-dkh.13' with: [ spec repository: 'http://seaside.gemstone.com/ss/PharoCompat' ];
package: 'Zinc-FileSystem-Legacy' with: [ spec requires: #('GsCore') ];
package: 'Zinc-HTTP'
with: [
@@ -2,4 +2,4 @@
"class" : {
},
"instance" : {
- "baseline:" : "dkh 08/03/2012 16:49" } }
+ "baseline:" : "dkh 08/06/2012 12:28" } }
@@ -1 +1 @@
-(name 'BaselineOfZincHTTPComponents-dkh.7' message 'fix baseline issue' id '856f2aaa-914a-475c-89a7-442aa17e1ae8' date '08/03/2012' time '16:49:58' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.6' message 'add dependency for GsPharo...' id 'ee6fad46-b59f-4a07-a3af-0298f9c90aa2' date '08/01/2012' time '15:55:18' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.5' message 'a little baseline gardening' id '51815773-af8b-4ef4-aa76-bd929424c7c3' date '07/31/2012' time '11:57:03' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.4' message 'zinc is dependent upon patches in GsCore' id '3d5abc13-e7cc-4dde-bd9c-cddf6046a7e9' date '07/30/2012' time '21:21:07' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.3' message 'add Zinc-FileSystem-Legacy package' id '43a9c67d-08a3-4932-9c0d-dbf92816a518' date '07/30/2012' time '18:40:47' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.2' message 'adjust baseline for loading into GemStone...' id '576f8054-d8a9-477e-a2c5-dcca3f92dfe6' date '07/29/2012' time '17:07:28' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.1' message 'create baseline' id 'f62774e9-07e9-4078-a464-818e23262784' date '07/29/2012' time '03:22:36' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
+(name 'BaselineOfZincHTTPComponents-dkh.8' message 'sent but not implmented cleaned up ...' id 'b9d1b7fa-e823-48ff-8203-a4d2796b9c19' date '08/06/2012' time '12:30:40' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.7' message 'fix baseline issue' id '856f2aaa-914a-475c-89a7-442aa17e1ae8' date '08/03/2012' time '16:49:58' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.6' message 'add dependency for GsPharo...' id 'ee6fad46-b59f-4a07-a3af-0298f9c90aa2' date '08/01/2012' time '15:55:18' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.5' message 'a little baseline gardening' id '51815773-af8b-4ef4-aa76-bd929424c7c3' date '07/31/2012' time '11:57:03' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.4' message 'zinc is dependent upon patches in GsCore' id '3d5abc13-e7cc-4dde-bd9c-cddf6046a7e9' date '07/30/2012' time '21:21:07' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.3' message 'add Zinc-FileSystem-Legacy package' id '43a9c67d-08a3-4932-9c0d-dbf92816a518' date '07/30/2012' time '18:40:47' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.2' message 'adjust baseline for loading into GemStone...' id '576f8054-d8a9-477e-a2c5-dcca3f92dfe6' date '07/29/2012' time '17:07:28' author 'dkh' ancestors ((name 'BaselineOfZincHTTPComponents-dkh.1' message 'create baseline' id 'f62774e9-07e9-4078-a464-818e23262784' date '07/29/2012' time '03:22:36' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
@@ -0,0 +1,5 @@
+updating
+amount: newValue
+
+ "Modify the value of the instance variable 'amount'."
+ amount := newValue
@@ -0,0 +1,5 @@
+accessing
+amount
+
+ "Return the value of the instance variable 'amount'."
+ ^amount
@@ -0,0 +1,5 @@
+updating
+total: newValue
+
+ "Modify the value of the instance variable 'total'."
+ total := newValue
@@ -0,0 +1,5 @@
+accessing
+total
+
+ "Return the value of the instance variable 'total'."
+ ^total
@@ -2,4 +2,7 @@
"class" : {
},
"instance" : {
- } }
+ "amount" : "dkh 08/06/2012 09:59",
+ "amount:" : "dkh 08/06/2012 09:59",
+ "total" : "dkh 08/06/2012 09:59",
+ "total:" : "dkh 08/06/2012 09:59" } }
@@ -1,14 +1,15 @@
{
- "category" : "Zinc-HTTP-Exceptions",
+ "category" : "Zinc-HTTP-GemStone",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
- ],
+ "total",
+ "amount" ],
"name" : "HTTPProgress",
"pools" : [
],
- "super" : "Error",
+ "super" : "Notification",
"type" : "normal" }
@@ -1,5 +1,5 @@
{
- "category" : "Zinc-HTTP-Exceptions",
+ "category" : "Zinc-HTTP-GemStone",
"classinstvars" : [
],
"classvars" : [
@@ -1,5 +1,5 @@
{
- "category" : "Zinc-HTTP-Exceptions",
+ "category" : "Zinc-HTTP-GemStone",
"classinstvars" : [
],
"classvars" : [
@@ -1,7 +0,0 @@
-I am ZnByteEncoder, a concrete subclass of ZnCharacterEncoder.
-I handle single byte encodings where byte values 0 to 127 map to ASCII
-and 128 to 255 are a permutation to Unicode characters.
-
-I am reusing the specifications from the subclasses of ByteTextEncoder.
-
-Part of Zinc HTTP Components.
@@ -1,5 +0,0 @@
-accessing
-handlesEncoding: string
- "Return true when my instances handle the encoding described by string"
-
- ^ ByteTextConverters includesKey: string
@@ -1,3 +0,0 @@
-class initialization
-initialize
- self initializeByteTextConverters
@@ -1,6 +0,0 @@
-private
-initializeByteTextConverters
- "no encoders beyond UTF8"
-
- ByteTextConverters := Dictionary new
-
@@ -1,6 +0,0 @@
-private
-initializeEncoder: encoder using: byteTextConverterClass
- "We are reusing the tables specified, computed and cached in subclasses of ByteTextConverter"
-
- encoder byteToUnicode: byteTextConverterClass byteToUnicodeTable.
- encoder unicodeToByte: byteTextConverterClass unicodeToByteTable
@@ -1,10 +0,0 @@
-instance creation
-newForEncoding: string
- "Return a new character encoder object for an encoding described by string.
- Search for a subclass that handles it and delegate"
-
- | encoder byteTextConverterClass |
- encoder := self new.
- byteTextConverterClass := ByteTextConverters at: string.
- self initializeEncoder: encoder using: byteTextConverterClass.
- ^ encoder
@@ -1,3 +0,0 @@
-initialize-release
-byteToUnicode: map
- byteToUnicode := map
@@ -1,3 +0,0 @@
-converting
-encodedByteCountFor: character
- ^ 1
@@ -1,9 +0,0 @@
-converting
-nextFromStream: stream
- | byteValue |
- ^ (byteValue := stream next) < 128
- ifTrue: [ Character codePoint: byteValue ]
- ifFalse: [ | ch |
- "In the standard Squeak table some strange leading char was added"
- ch := byteToUnicode at: byteValue - 127.
- ch asUnicodeChar ]
@@ -1,9 +0,0 @@
-converting
-nextPut: character toStream: stream
- | code |
- (code := character charCode) < 128
- ifTrue: [ stream nextPut: code ]
- ifFalse: [ | ch |
- "In the standard Squeak table the byte values were converted to characters"
- ch := unicodeToByte at: code ifAbsent: [ self error: 'Character code outside encoder range' ].
- stream nextPut: ch charCode ]
@@ -1,3 +0,0 @@
-initialize-release
-unicodeToByte: map
- unicodeToByte := map
@@ -1,13 +0,0 @@
-{
- "class" : {
- "handlesEncoding:" : "SvenVanCaekenberghe 1/25/2011 13:02",
- "initialize" : "SvenVanCaekenberghe 1/25/2011 12:26",
- "initializeByteTextConverters" : "dkh 08/01/2012 11:07",
- "initializeEncoder:using:" : "SvenVanCaekenberghe 1/25/2011 12:47",
- "newForEncoding:" : "SvenVanCaekenberghe 1/25/2011 12:44" },
- "instance" : {
- "byteToUnicode:" : "SvenVanCaekenberghe 1/25/2011 12:31",
- "encodedByteCountFor:" : "SvenVanCaekenberghe 1/25/2011 12:19",
- "nextFromStream:" : "SvenVanCaekenberghe 1/25/2011 13:22",
- "nextPut:toStream:" : "SvenVanCaekenberghe 1/25/2011 13:13",
- "unicodeToByte:" : "SvenVanCaekenberghe 1/25/2011 12:31" } }
@@ -1,15 +0,0 @@
-{
- "category" : "Zinc-HTTP-Streaming",
- "classinstvars" : [
- ],
- "classvars" : [
- "ByteTextConverters" ],
- "commentStamp" : "SvenVanCaekenberghe 1/25/2011 11:02",
- "instvars" : [
- "byteToUnicode",
- "unicodeToByte" ],
- "name" : "ZnByteEncoder",
- "pools" : [
- ],
- "super" : "ZnCharacterEncoder",
- "type" : "normal" }
@@ -1,4 +0,0 @@
-operations
-getJpeg: urlObject
- self deprecated: 'Please use ZnEasy' on: '3 Oct 2011' in: 'Zinc HTTP Components'.
- ^ ZnEasy getJpeg: urlObject
@@ -5,7 +5,6 @@
"get:" : "SvenVanCaekenberghe 3/4/2012 10:21",
"get:username:password:" : "SvenVanCaekenberghe 3/4/2012 10:21",
"getGif:" : "SvenVanCaekenberghe 3/4/2012 10:21",
- "getJpeg:" : "SvenVanCaekenberghe 3/4/2012 10:21",
"getPng:" : "SvenVanCaekenberghe 3/4/2012 10:21",
"head:" : "SvenVanCaekenberghe 3/4/2012 10:21",
"head:username:password:" : "SvenVanCaekenberghe 3/4/2012 10:21",
@@ -1,3 +0,0 @@
-operations images
-httpJpeg: url
- ^ ZnEasy getJpeg: url
@@ -16,7 +16,6 @@
"httpGetDocument:args:accept:" : "SvenVanCaekenberghe 9/20/2011 13:39",
"httpGetDocument:args:accept:request:" : "SvenVanCaekenberghe 8/19/2011 11:19",
"httpGif:" : "SvenVanCaekenberghe 9/15/2011 16:28",
- "httpJpeg:" : "SvenVanCaekenberghe 9/15/2011 16:28",
"httpPng:" : "SvenVanCaekenberghe 9/15/2011 16:28",
"httpPost:args:accept:" : "SvenVanCaekenberghe 8/19/2011 11:28",
"httpPost:args:user:passwd:" : "SvenVanCaekenberghe 8/19/2011 11:34",
@@ -2,4 +2,4 @@ proxy
httpProxyPassword
"Return the password for proxy authorization"
- ^ HTTPSocket proxyPassword
+ ^ HTTPSocket httpProxyPassword
@@ -2,4 +2,4 @@ proxy
httpProxyUser
"Return the user for proxy authorization"
- ^ HTTPSocket proxyUser
+ ^ HTTPSocket httpProxyUser
@@ -18,10 +18,10 @@
"socketStreamTimeout" : "SvenVanCaekenberghe 8/18/2011 22:19",
"socketStreamToUrl:" : "SvenVanCaekenberghe 5/2/2011 22:40" },
"instance" : {
- "httpProxyPassword" : "dkh 08/06/2012 09:26",
+ "httpProxyPassword" : "dkh 08/06/2012 11:57",
"httpProxyPort" : "dkh 07/31/2012 17:42",
"httpProxyServer" : "dkh 07/31/2012 17:34",
- "httpProxyUser" : "dkh 08/06/2012 09:26",
+ "httpProxyUser" : "dkh 08/06/2012 11:56",
"initialize" : "SvenVanCaekenberghe 11/10/2011 13:43",
"isProxyAuthorizationRequired" : "dkh 07/31/2012 12:18",
"isProxySet" : "SvenVanCaekenberghe 6/16/2011 22:55",
@@ -2,6 +2,4 @@ accessing
stream
^ stream ifNil: [
(stream := FileStream stdout)
- wantsLineEndConversion: true;
- converter; "Force lazy initialization of converter"
yourself ]
@@ -4,4 +4,4 @@
"instance" : {
"event:" : "SvenVanCaekenberghe 3/4/2012 20:03",
"initialize" : "SvenVanCaekenberghe 3/4/2012 20:02",
- "stream" : "SvenVanCaekenberghe 3/4/2012 20:04" } }
+ "stream" : "dkh 08/06/2012 12:14" } }
@@ -2,6 +2,7 @@ SystemOrganization addCategory: 'Zinc-HTTP-Client-Server'!
SystemOrganization addCategory: 'Zinc-HTTP-Core'!
SystemOrganization addCategory: 'Zinc-HTTP-Deprecated'!
SystemOrganization addCategory: 'Zinc-HTTP-Exceptions'!
+SystemOrganization addCategory: 'Zinc-HTTP-GemStone'!
SystemOrganization addCategory: 'Zinc-HTTP-Logging'!
SystemOrganization addCategory: 'Zinc-HTTP-Streaming'!
SystemOrganization addCategory: 'Zinc-HTTP-Support'!

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,6 +0,0 @@
-testing
-testGetJpeg
- | url result |
- url := 'http://caretaker.wolf359.be/sun-fire-x2100.jpg'.
- result := ZnEasy getJpeg: url.
- self assert: result isForm
@@ -4,7 +4,6 @@
"instance" : {
"port" : "SvenVanCaekenberghe 3/12/2012 21:02",
"testDelete" : "SvenVanCaekenberghe 3/12/2012 21:03",
- "testGetJpeg" : "SvenVanCaekenberghe 9/15/2011 16:34",
"testGetSmallHTMLDocument" : "SvenVanCaekenberghe 7/2/2012 15:30",
"testHeadSmallHTMLDocument" : "SvenVanCaekenberghe 7/4/2012 17:33",
"testPost" : "SvenVanCaekenberghe 3/12/2012 21:05",

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 4bad67a

Please sign in to comment.