Hi, I'm introducing Mars (just another world) Mars is a world for Squeak (and all it's forks) builded as an MVC on top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC implementation who uses Cocoa. Why that "subtle" distinction? well, SqueakGTK is a full port of GTK+ library and for that reason, a little big a and a little too complex. I'm following simplicity as one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars (Mars world) will run in any fork of squeak who can load OmniBrowser. This is a big difference with wxSqueak, wich is a fork it self (and requires an special VM) And of course, while both efforts (SqueakGTK and wxWidgets) are cool, none of them can be executed (and won't ever be) in small environments, like the iphone, which is one of my main objectives (using John's new VM and Edgar's work on minimal image building) Mars is MIT and can be downloaded following instructions from here: http://www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallworks.com.ar/productos/Mars DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs and can be used) and I would love any contribution in the form of: bug reports (there will be a lot now), feature requests, comments, and of course, code :) Cheers, Esteban -- "Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo.
Hi esteban Cooool. Sounds exciting. What is the size of Mars? How did you get multiple windows :) Are call back from cocoa handled? Stef On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC implementation who uses Cocoa. Why that "subtle" distinction? well, SqueakGTK is a full port of GTK+ library and for that reason, a little big a and a little too complex. I'm following simplicity as one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars (Mars world) will run in any fork of squeak who can load OmniBrowser. This is a big difference with wxSqueak, wich is a fork it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are cool, none of them can be executed (and won't ever be) in small environments, like the iphone, which is one of my main objectives (using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http://www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallworks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs and can be used) and I would love any contribution in the form of: bug reports (there will be a lot now), feature requests, comments, and of course, code :)
Cheers, Esteban
-- "Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
This is super cool! I want to use that for my daily work. I used the installer script to load Mars into the latest Pharo image. During the last step I got an error that the class OBCmdAddWorkingCopy cannot be found, but other than that it worked nicely. The menu appears correctly and I can successfully open Transcript and Workspace. These two windows are fully functional too, however all the other browsers don't work. Nothing happens when I try to open them. Is there anything I am missing? Cheers, Lukas On Sun, Dec 21, 2008 at 1:10 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi esteban
Cooool. Sounds exciting. What is the size of Mars? How did you get multiple windows :) Are call back from cocoa handled?
Stef
On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC implementation who uses Cocoa. Why that "subtle" distinction? well, SqueakGTK is a full port of GTK+ library and for that reason, a little big a and a little too complex. I'm following simplicity as one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars (Mars world) will run in any fork of squeak who can load OmniBrowser. This is a big difference with wxSqueak, wich is a fork it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are cool, none of them can be executed (and won't ever be) in small environments, like the iphone, which is one of my main objectives (using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http://www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallworks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs and can be used) and I would love any contribution in the form of: bug reports (there will be a lot now), feature requests, comments, and of course, code :)
Cheers, Esteban
-- "Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch
The menu appears correctly and I can successfully open Transcript and Workspace. These two windows are fully functional too, however all the other browsers don't work. Nothing happens when I try to open them. Is there anything I am missing?
Ahh, String class>>#space is missing in my image. Adding that and it seems to work ;-) This is super cool what you are doing. Thanks again! Lukas -- Lukas Renggli http://www.lukas-renggli.ch
On 2008-12-21 10:10:22 -0200, Stéphane Ducasse <stephane.ducasse@inria.fr> said:
Hi esteban
Cooool. Sounds exciting. Thanks :)
What is the size of Mars? Currently is very small, but I really don't know how to messure this... there is a method counter or something around?
How did you get multiple windows :) They are just cocoa windows, created each time one is needed
Are call back from cocoa handled? Yes, but currently just "one-way" callbacks: cocoa fires a signal to squeak, and squeak know how to handle it. I'm studing a way to add (or simulate) squeak-to-cocoa callbacks, for solving some issues (like menu enabling/disabling, etc.). Basically, I'm studing Alien and ObjectiveC bridge to look what can I borrow ;)
Esteban
Stef
On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on
top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and
wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC
implementation who uses Cocoa. Why that "subtle" distinction? well,
SqueakGTK is a full port of GTK+ library and for that reason, a
little big a and a little too complex. I'm following simplicity as
one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars
(Mars world) will run in any fork of squeak who can load
OmniBrowser. This is a big difference with wxSqueak, wich is a fork
it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are
cool, none of them can be executed (and won't ever be) in small
environments, like the iphone, which is one of my main objectives
(using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http: //www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallwo rks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs
and can be used) and I would love any contribution in the form of:
bug reports (there will be a lot now), feature requests, comments,
and of course, code :)
Cheers, Esteban
--
"Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 2008-12-21 10:18:46 -0200, "Lukas Renggli" <renggli@gmail.com> said:
This is super cool! I want to use that for my daily work. Thanks :) I hope it works for daily work very soon (in fact I started the project because I wanted to use something like this for work) Currentlly is a little buggy, but I will stabilize it as my "summer project" (here is summer, and a very hot summer :) )
I used the installer script to load Mars into the latest Pharo image. During the last step I got an error that the class OBCmdAddWorkingCopy cannot be found, but other than that it worked nicely.
Strange... but OBCmdAddWorkingCopy is part of OB-Enhancements, and is changing very fast... I stopped support for OBPackageBrowser for a moment because it was changing faster that I can follow it. I hope to face OB-Enhancements support soon, though. Btw, it should work now, but OBTreeColumn from OBPackageBrowser (and it's OB-Mars representation) was very slow, because of all the introspection of monticello packages needed. Cheers, Esteban
The menu appears correctly and I can successfully open Transcript and Workspace. These two windows are fully functional too, however all the other browsers don't work. Nothing happens when I try to open them. Is there anything I am missing?
Cheers, Lukas
On Sun, Dec 21, 2008 at 1:10 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi esteban
Cooool. Sounds exciting. What is the size of Mars? How did you get multiple windows :) Are call back from cocoa handled?
Stef
On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC implementation who uses Cocoa. Why that "subtle" distinction? well, SqueakGTK is a full port of GTK+ library and for that reason, a little big a and a little too complex. I'm following simplicity as one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars (Mars world) will run in any fork of squeak who can load OmniBrowser. This is a big difference with wxSqueak, wich is a fork it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are cool, none of them can be executed (and won't ever be) in small environments, like the iphone, which is one of my main objectives (using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http ://www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallw orks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs and can be used) and I would love any contribution in the form of: bug reports (there will be a lot now), feature requests, comments, and of course, code :)
Cheers, Esteban
-- "Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
Lukas Renggli http://www.lukas-renggli.ch
On 2008-12-21 10:22:03 -0200, "Lukas Renggli" <renggli@gmail.com> said:
The menu appears correctly and I can successfully open Transcript and Workspace. These two windows are fully functional too, however all the other browsers don't work. Nothing happens when I try to open them. Is there anything I am missing?
Ahh, String class>>#space is missing in my image. Adding that and it seems to work ;-)
Well, Mars shouldn't be using String class>>#space... maybe something on OB?
This is super cool what you are doing. Thanks again!
Thanks again, I'm happy that you want to use something I'm doing... usually is the other way: I use a LOT of your stuff :D Cheers, Esteban
Lukas
What is the size of Mars? Currently is very small, but I really don't know how to messure this... there is a method counter or something around?
When I print this: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | marsClasses methods sizeOfAllMethods | marsClasses := Smalltalk allClasses select: [:cls | '*Mars*' match: cls category]. methods := marsClasses inject: Set new into: [:sum :cls | sum, cls methodDict values]. sizeOfAllMethods := methods inject: 0 into: [:sum :cm | sum + cm size]. { marsClasses size . methods size . sizeOfAllMethods } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I have: #(76 661 24663) The weight of all the mars methods is 24Kb. I do not know what is the impact on the overall pharo image although (anyone has an idea?). The size of bundle is 92Kb according to the mac finder.
How did you get multiple windows :) They are just cocoa windows, created each time one is needed
Are call back from cocoa handled?
doing a print on "10 + 20" prints "nil" It looks really good! Cheers, Alexandre
Stef
On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on
top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and
wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC
implementation who uses Cocoa. Why that "subtle" distinction? well,
SqueakGTK is a full port of GTK+ library and for that reason, a
little big a and a little too complex. I'm following simplicity as
one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars
(Mars world) will run in any fork of squeak who can load
OmniBrowser. This is a big difference with wxSqueak, wich is a fork
it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are
cool, none of them can be executed (and won't ever be) in small
environments, like the iphone, which is one of my main objectives
(using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http: //www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallwo rks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs
and can be used) and I would love any contribution in the form of:
bug reports (there will be a lot now), feature requests, comments,
and of course, code :)
Cheers, Esteban
--
"Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sun, Dec 21, 2008 at 12:23, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi, I'm introducing Mars (just another world)
Hi, tried it in Damien's dev image updated to pharo 10201, but it locks the image up :) When doing OBMarsWorld execute, the menu does change, but after that the image takes 100% cpu and will react to a couple interrupt keystrokes but that's it. I have to kill squeak. Maybe an incompatibility with another squeak plugin ? versions of OB ? PS. After re-reading Lukas's mails, Transcript and Workspace do work here too :)
Mars is a world for Squeak (and all it's forks) builded as an MVC on top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC implementation who uses Cocoa. Why that "subtle" distinction? well, SqueakGTK is a full port of GTK+ library and for that reason, a little big a and a little too complex. I'm following simplicity as one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars (Mars world) will run in any fork of squeak who can load OmniBrowser. This is a big difference with wxSqueak, wich is a fork it self (and requires an special VM) And of course, while both efforts (SqueakGTK and wxWidgets) are cool, none of them can be executed (and won't ever be) in small environments, like the iphone, which is one of my main objectives (using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http://www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallworks.com.ar/productos/Mars DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs and can be used) and I would love any contribution in the form of: bug reports (there will be a lot now), feature requests, comments, and of course, code :) Cheers, Esteban -- "Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
On Wed, Dec 24, 2008 at 19:43, Damien Pollet <damien.pollet@gmail.com> wrote:
PS. After re-reading Lukas's mails, Transcript and Workspace do work here too :)
Actually, after implementing String class>>space, most windows worked ;) -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
On 2008-12-22 14:04:10 -0200, Alexandre Bergel <alexandre@bergel.eu> said:
What is the size of Mars? Currently is very small, but I really don't know how to messure
this... there is a method counter or something around?
When I print this: -=-=-=-=-=-=-=-=-=-=-=-=-=-=- | marsClasses methods sizeOfAllMethods | marsClasses := Smalltalk allClasses select: [:cls | '*Mars*' match:
cls category]. methods := marsClasses inject: Set new into: [:sum :cls | sum, cls
methodDict values]. sizeOfAllMethods := methods inject: 0 into: [:sum :cm | sum + cm size]. { marsClasses size . methods size . sizeOfAllMethods } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I have: #(76 661 24663)
24kb is not so much, isn't?
The weight of all the mars methods is 24Kb. I do not know what is the
impact on the overall pharo image although (anyone has an idea?).
The size of bundle is 92Kb according to the mac finder.
How did you get multiple windows :) They are just cocoa windows, created each time one is needed
Are call back from cocoa handled?
doing a print on "10 + 20" prints "nil"
Are you selecting "10 + 20" before printing it? currently it does not work as expected: executing print-it (or any command) at the end of line performs the line. I'm working on that now (bah... I'm working on using OTWorkspace instead current workspace, and that should solve this minimal problems) Btw... "doit" inside a class method is not working properly either. Next release will solve this execution problems.
It looks really good!
Thanks, is great you like it :) Cheers, Esteban
On 2008-12-24 16:46:30 -0200, "Damien Pollet" <damien.pollet@gmail.com> said:
On Wed, Dec 24, 2008 at 19:43, Damien Pollet <damien.pollet@gmail.com> wrote:
PS. After re-reading Lukas's mails, Transcript and Workspace do work here too :)
Actually, after implementing String class>>space, most windows worked ;)
Lukas, Damien, Thanks for reporting this... I thought I wasn't using String space, but I found a place where I'm actually using it. It seems to not been supported on pharo, so I changed it to a "Character space asString" and now it shouldn't be a problem. Cheers, Esteban
participants (5)
-
Alexandre Bergel -
Damien Pollet -
Esteban Lorenzano -
Lukas Renggli -
Stéphane Ducasse