Issue 7375 in pharo: Zinc Update January 2013

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

Issue 7375 in pharo: Zinc Update January 2013

pharo
Status: Accepted
Owner: ----
Labels: Milestone-2.0 Type-Feature

New issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

It is that time again.

Since http://code.google.com/p/pharo/issues/detail?id=7180 there were the  
following changes:

  - support for server routes (session affinity, sticky sessions)
  - new API to access the server URL  (#url, #serverUrl, #scheme)
  - ZnResponse class>>#redirect: and #created: now accept absolute URLs as  
well (thx Jan van de Sandt)
  - New ZnRequest API (all suggested by Jan van de Sandt):
     #host to return the Host: header field as ZnUrl
     #relativeUrl to explicitely request the request line uri as a relative  
URL
     #absoluteUrl to combine the request line URL with the host URL into an  
absolute URL
     #mergedFields to return a multi value dictionary combining query fields  
and application url encoded form fields
  - ZnClient>>#redirectUrl now uses ZnUrl>>#inContextOf:
  - Reimplemented ZnApplicationUrlEncodedEntity>>#addAll: and  
ZnHeaders>>#addAll:
     using ZnMultiValueDictionary>>#addAllMulti:
  - fix ZnUtils class>>#signalProgress:total: bug when total was nil:  
#format: index should be 1 not 0 (Thx Camillo Bruni !)
  - added ZnMessage>>#writeToTranscript
  - Bugfix to ZnApplicationFormUrlEncodedEntity>>#readFrom: which failed  
when content-length was not specified (Thx Jan van de Sandt)
  - Extended ZnClient>>#url: to accept the new user info (username and  
password) component of ZnUrl when present
  - ZnRequestLine>>#uri: now explicitely calls #enforceKnownScheme
  - various refactorings, cleanups
  - moved ZnMonticelloServerDelegate from Zinc-HTTP-Client-Server to  
Zinc-FileSystem and Zinc-FileSystem-Legacy
  - ZnServer's #handleRequestProtected: will now also do a #logServerError  
unless #logServerDetails is false - this gives exception, signaller context  
details and a stack trace of depth 8 when an unhandled error occurs

When I conclude some real world testing, I will copy the versions in the  
inbox


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7375 in pharo: Zinc Update January 2013

pharo

Comment #1 on issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

There is also a new package, Zinc-Resource-Meta-FileSystem, containing  
bidirectional conversions between ZnUrl and FileReference using #asZnUrl  
and #asFileReference;
Includes ZnFileUrlTests;
Needs both Zinc-Resource-Meta-Core and (Pharo 2) FileSystem


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7375 in pharo: Zinc Update January 2013

pharo
Updates:
        Status: FixToInclude

Comment #2 on issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

Here are the exact versions to be integrated. They were copied to the inbox.
These correspond to ConfigurationOfZincHTTPComponents stable version 2.3.2.
This code works on Pharo 1.3, 1.4 and 2.0.

a MetacelloFetchingMCSpecLoader(linear load :
        linear load : 2.3.2 [ConfigurationOfZincHTTPComponents]
                load : Zinc-Character-Encoding-Core-SvenVanCaekenberghe.5
                load : Zinc-Character-Encoding-Tests-SvenVanCaekenberghe.3
                load : Zinc-Resource-Meta-Core-SvenVanCaekenberghe.9
                load : Zinc-Resource-Meta-Tests-SvenVanCaekenberghe.6
                load : Zinc-HTTP-SvenVanCaekenberghe.343
                load : Zinc-FileSystem-SvenVanCaekenberghe.9
                load : Zinc-Tests-SvenVanCaekenberghe.176
                load : Zinc-Zodiac-SvenVanCaekenberghe.24)

A class was moved from Zinc-HTTP to Zinc-FileSystem, take the order above  
when loading manually.

In addition, please load:

     Zinc-Resource-Meta-FileSystem-SvenVanCaekenberghe.1

If possible, integrate without changing the version numbers ;-)

Sven





_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7375 in pharo: Zinc Update January 2013

pharo
Updates:
        Status: Integrated

Comment #3 on issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

in 2.0 513


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7375 in pharo: Zinc Update January 2013

pharo
Updates:
        Status: WorkNeeded

Comment #4 on issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

No, I cant load it

I attach the file I used.

Attachments:
        20514-Pha-Zinc.cs  1.4 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7375 in pharo: Zinc Update January 2013

pharo
Updates:
        Status: Integrated

Comment #5 on issue 7375 by [hidden email]: Zinc Update January 2013
http://code.google.com/p/pharo/issues/detail?id=7375

ok. I copied the files and it worked


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker