[Pharo-project] loading Seaside 3.0.6.3 in Pharo 1.4
Hi, I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes: 1) KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) ifNil: [self addStream: TranscriptStream new] "TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript 2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth how can I proceed to apply this fixes into seaside (without breaking other platforms)? cheers, Esteban
thanks for the effort. Stef On Jan 29, 2012, at 9:30 PM, Esteban Lorenzano wrote:
El 29/01/2012, a las 5:23p.m., Esteban Lorenzano escribió:
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
I'm seeing this one, #trimBoth comes from grease... so I suppose seaside should use it, instead withBlanksTrimmed
best, Esteban
Marcus Denker IMHO is the only one, who is able to do a diff - diff - diff (with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!? SPORT was a great start, why was it discontinued??? Marcus? Hmm? Am 29.01.2012 21:24 schrieb "Esteban Lorenzano" <estebanlm@gmail.com>:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
how can I proceed to apply this fixes into seaside (without breaking other platforms)?
cheers, Esteban
2012/1/29 Guido Stepken <gstepken@googlemail.com>:
Marcus Denker IMHO is the only one, who is able to do a diff - diff - diff (with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!?
SPORT was a great start, why was it discontinued???
GPL?
Marcus? Hmm?
Am 29.01.2012 21:24 schrieb "Esteban Lorenzano" <estebanlm@gmail.com>:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript     self detachTheTranscript.     ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil])         ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
how can I proceed to apply this fixes into seaside (without breaking other platforms)?
cheers, Esteban
Am 29.01.2012 21:37 schrieb "Nicolas Cellier" < nicolas.cellier.aka.nice@gmail.com>:
2012/1/29 Guido Stepken <gstepken@googlemail.com>:
Marcus Denker IMHO is the only one, who is able to do a diff - diff -
diff
(with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!?
SPORT was a great start, why was it discontinued???
GPL?
Doing the right thing, not just things right!!!!!
Marcus? Hmm?
Am 29.01.2012 21:24 schrieb "Esteban Lorenzano" <estebanlm@gmail.com>:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone:
[nil])
ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
how can I proceed to apply this fixes into seaside (without breaking
other
platforms)?
cheers, Esteban
Am 29.01.2012 21:37 schrieb "Nicolas Cellier" <nicolas.cellier.aka.nice<nicolas.cellier.aka.nice@gmail.com> @ <nicolas.cellier.aka.nice@gmail.com>gmail.com<nicolas.cellier.aka.nice@gmail.com>
:
2012/1/29 Guido Stepken <gstepken <gstepken@googlemail.com>@<gstepken@googlemail.com> googlemail.com <gstepken@googlemail.com>>:
Marcus Denker IMHO is the only one, who is able to do a diff - diff - diff (with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!?
SPORT was a great start, why was it discontinued???
GPL?
See http://<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Smalltalk> www.cincomsmalltalk.com<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> /<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> userblogs<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> /<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> ralph<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> /<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> blogView<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> ?<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> searchCategory<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> =Smalltalk<http://www.cincomsmalltalk.com/userblogs/ralph/blogView?searchCategory=Small...> Pharo Team is repeating things, that Pavel Krivanek began already in 2006. Same Idea. "Don't do just things right, do the right things!" Means, the Pharo team has to invest into the port of Morphic to VS and VA to set Morphic AND indirectly Pharo as NEW STANDARD GUI in the Smalltalk community to enable programmers to start silently migrate complex applications to Pharo GUI, finally getting rid of license cost. There are lots of companies out there, who are paying hundreds of thousands each year for VA, VS licenses .... which better could be invested into Pharo + Morphic as Standard Smalltalk GUI AND COG VM or Lessers GVM. If the Roadmap is clear, the money is there. Always! Rule of market! Do the right things, not only things right!!!!! regards, Guido Stepken
On 29.01.2012 21:32, Guido Stepken wrote:
Marcus Denker IMHO is the only one, who is able to do a diff - diff - diff (with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!?
SPORT was a great start, why was it discontinued???
To my knowledge SPort is not discontinued. It's still used for Swazoo and AFAIK Burce is also working on it. But you probably wanted to ask why Seaside doesn't use it. The short answer is that it doesn't quite solve the problems of Seaside. The long answer is, well longer. Cheers Philippe
Esteban, If it were me, I'd isolate the specific changes in two new packages: KomHttpServerPortability.common KomHttpServerPortability.pharo14 existing implementation in the common branch and the Pharo1.4 changes in the pharo14 branch. I've attached a new version of the configuration that creates a new baseline and version with the necessary changes ... As other posters have mentioned #trimBoth could be used, but currently Kom does not depend upon Grease, so I would be curious whether other users of Kom would all of a sudden want Grease included in the image ... I'm not the Kom maintainer so I would choose to create the Portability package with the two branches as the the least impactful change ... TranscriptStream is currently not managed with Grease and it could be, but then Grease doesn't have any Pharo1.4 specific packages either (yet....)... My $0.02.. Dale ----- Original Message ----- | From: "Esteban Lorenzano" <estebanlm@gmail.com> | To: "Pharo Development" <pharo-project@lists.gforge.inria.fr>, "Seaside - general discussion" | <seaside@lists.squeakfoundation.org> | Sent: Sunday, January 29, 2012 12:23:45 PM | Subject: [Seaside] loading Seaside 3.0.6.3 in Pharo 1.4 | | Hi, | | I loaded last version of seaside into a pharo 1.4 image. | Everything looks working fine, but there a couple of fixes: | | 1) | | KomLogger>>#attachTranscript | self detachTheTranscript. | ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) | ifNil: [self addStream: TranscriptStream new] | | | "TranscriptStream" is not anymore on pharo and should be replaced | with ThreadSafeTranscript | | 2) String>>#withBlanksTrimmed is deprecated, and now it should use | #trimBoth | | how can I proceed to apply this fixes into seaside (without breaking | other platforms)? | | cheers, | Esteban_______________________________________________ | seaside mailing list | seaside@lists.squeakfoundation.org | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On 29.01.2012 21:23, Esteban Lorenzano wrote:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
Are you using full Comanche or KomHttpServerLight? We moved to KomHttpServerLight because we involuntarily have to maintain it and the KomHttpServerLight code base is much smaller. KomHttpServerLight doesn't have the KomLogger class.
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
Who's sending this? I have no such senders (with KomHttpServerLight).
how can I proceed to apply this fixes into seaside (without breaking other platforms)?
-> seaside-dev mailing list Cheers Philippe
On 29.01.2012 23:14, Philippe Marschall wrote:
On 29.01.2012 21:23, Esteban Lorenzano wrote:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
Are you using full Comanche or KomHttpServerLight? We moved to KomHttpServerLight because we involuntarily have to maintain it and the KomHttpServerLight code base is much smaller. KomHttpServerLight doesn't have the KomLogger class.
Or Zinc since you're on Pharo 1.4 and already have Zinc anyway. Cheers Philippe
Hi, I just did (ConfiguurationOfSeaside project version: #stable) load. I don't know which version is metacello configuration loading. best, Esteban El 29/01/2012, a las 7:14p.m., Philippe Marschall escribió:
On 29.01.2012 21:23, Esteban Lorenzano wrote:
Hi,
I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes:
1)
KomLogger>>#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream] ifNone: [nil]) ifNil: [self addStream: TranscriptStream new]
"TranscriptStream" is not anymore on pharo and should be replaced with ThreadSafeTranscript
Are you using full Comanche or KomHttpServerLight? We moved to KomHttpServerLight because we involuntarily have to maintain it and the KomHttpServerLight code base is much smaller. KomHttpServerLight doesn't have the KomLogger class.
2) String>>#withBlanksTrimmed is deprecated, and now it should use #trimBoth
Who's sending this? I have no such senders (with KomHttpServerLight).
how can I proceed to apply this fixes into seaside (without breaking other platforms)?
-> seaside-dev mailing list
Cheers Philippe
participants (6)
-
Dale Henrichs -
Esteban Lorenzano -
Guido Stepken -
Nicolas Cellier -
Philippe Marschall -
Stéphane Ducasse