[Pharo-project] Markup Builder in Smalltalk Alpha 2.0
Usable first alpha version with refactoring fixes to make it a cleaner base. http://skrishnamachari.wordpress.com/2010/07/19/markupbuilder-alpha-2-0/ http://squeaksource.com/PharoGoodies/MarkupBuilder-Skrish.alpha.2.0.mcz HtmlBuilderTableWidget is fairly fleshed out as an example of component that is flexible and extensible with a plugin system Working on Forms to make it like RAILS.. Integrated MarkupBuilder with Seaside examples in Tests.. * Read through MarkupBuilder-Tests for all reqd examples * Launch Seaside and register all the subclasses of HtmlBuilderComponent (class>>initialize) to see the examples live on browser with code and source from http://localhost:8080/seaside Comments are hugely welcome to make it more useable/ core for as many as can use it.. and reach the release 1.0 sooner. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] [Survey] Assess the cycles in your software
Hi Pharoers, and Smalltalkers in general, Have you seen waited to assess the cycles in your software? Now you can :) We request some of you to perform an experiment using DSM to see your software package structure and to fix cycles between packages. Our tool shows dependencies between packages and highlight some bad dependencies generating structure cycles. It also helps to understand dependencies. Your goal is to fill a survey using our tool. I prepared a mini-tutorial about DSM and eDSM. It can help you to understand the visualization tool. To ease the use of our tool, I loaded it in a PharoCore1.2. And there are two archives available: - the first contains an image with our tool with a model of Pharo loaded in it, so you can play with our tool on pharo itself. It can be downloaded here: http://dl.dropbox.com/u/7739334/dsmWithPharo.zip. Pay attention, the image is slow. - the second contains the same thing without the model of Pharo. Here, you have to load your code, then populate a moose model and use the tool. It can be downloaded here: http://dl.dropbox.com/u/7739334/dsmWithoutPharo.zip The two archives contain the tutorial and the survey. If you are a pharo integrator, we suggest you to take the one with Pharo model loaded, else the other. To use our tool, load your tool in Pharo. Then do "MoosePanel open", and import your software in Moose by "import from Smalltalk image". When it is imported, select your project in the list on the left of MoosePanel, and select "all model packages" on the list on center. Then, you have two choices: - you can scan all your project: right click on "all model packages" and do DSM. - or select "all model packages" then select some packages in the next list and right click, do DSM. After that, you can perform the survey (with reading of the tutorial). We need your answers for the end of August. So, you have two months to do it. If you have any question, just let me know. Best regards, Jannik. --- Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr --- ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] showstopper for 1.1
Also the new/broken behavior of the Monticello Browser that screws up the ancestry when the username/password is wrong is a showstopper. Lukas On 19 July 2010 00:00, stephane ducasse wrote: > HI guys > > I checked and Class definition are not logged in the changes file as well as > methods removal. > > So this is clearly a doit missing and we should investigate that. > > Stef > > > ___ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] how do I turn off "smart" quotes in Pharo Seaside one-click image
The new one-click image is based on the Pharo-Dev images. Various people seem to have reported issues with these images, please create bug reports (in addition to reporting them here). You can still download the images from my build server if you want. They are built on Pharo-Core 1.1, they are configured to my personal likings and I use them daily. The setting in question is definitely there. Previous one-click images were based on these images. http://hudson.lukas-renggli.ch/job/Seaside%203.0/lastSuccessfulBuild/artifact/seaside3/*zip*/seaside3.zip Lukas On 19 July 2010 08:08, Randal L. Schwartz wrote: >> "Lukas" == Lukas Renggli writes: > > Lukas> World -> System -> Settings -> Code browsing -> eCompletion -> > Lukas> Smart Characters > > No such thing in the Seaside One-click image. Just an abbreviated > "settings" browser that doesn't include smart characters. > > Lukas> Alternatively: > > Lukas> ECPreferences smartCharacters: false > > I found "PreferencesBrowser open" (doit), which opens the real > preferences browser. > > It's unfortunate that I had to struggle with this. Or maybe fortunate, > so that whomever is building this crippled image learns that sometimes > you can't predict all preferences, so maybe you ought to leave them all > selectable. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] how do I turn off "smart" quotes in Pharo Seaside one-click image
> "Lukas" == Lukas Renggli writes: Lukas> World -> System -> Settings -> Code browsing -> eCompletion -> Lukas> Smart Characters No such thing in the Seaside One-click image. Just an abbreviated "settings" browser that doesn't include smart characters. Lukas> Alternatively: Lukas> ECPreferences smartCharacters: false I found "PreferencesBrowser open" (doit), which opens the real preferences browser. It's unfortunate that I had to struggle with this. Or maybe fortunate, so that whomever is building this crippled image learns that sometimes you can't predict all preferences, so maybe you ought to leave them all selectable. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] how do I turn off "smart" quotes in Pharo Seaside one-click image
World -> System -> Settings -> Code browsing -> eCompletion -> Smart Characters Alternatively: ECPreferences smartCharacters: false On 19 July 2010 03:36, Randal L. Schwartz wrote: > > In Squeak, the preference pane includes a "smart quotes" setting > (defaulting on, so I turn it off immediately). > > I don't see one for Pharo. It appears to be stuck on. > > I need to turn this feature off, or my typing speed drastically reduces, > and my annoyance level is greatly increased. > > It's not under Editing (Smart Updating isn't it). > > Where's the preference? > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > > ___ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] Unicode everywhere
This is a newbie question. I really don't understand the issue with Unicode and the image/vm/os in Pharo/SqueakVM/Linux,Windows. I searched the lists for references to utf-8 and the long discussions about leadingChar encodings convert*Encoding methods Strings WideStrings Text DisplayText WAKom and WAKomEncoded keyboard input text file input/output vm's -encoding -textenc options So, the people that know about this things, can you please give a newbie explanation about this. What is needed for we users to: 1. Input text by keyboard with accents (and maybe in the language of Mordor too) and they look not like a diamond with a ? sign in the image system browser. 2. This text be correctly send to a modern web browser and rendered in utf-8 encoding correctly. 3. Upload a java messages bundle (or a file with characters outside ASCII) with a web browser posted to a Seaside application, stored temporaly in disk on the server and processed correctly (by opening it with some FileStream class) inside the image. Or is this really hard to do and I'm asking for the imposible? I understand that there are performance issues with full unicode image/vm but supposing that premature optimization rule applies here, what we need to do to achieve this (utopian maybe) goal? Why the question, because I put some strings inside the image (they look fine as I type them). Then I used them to put labels in my Seaside app. In the image I typed and saw in a code browser: Búsqueda de información But the web browser (firefox) I see: B�squeda de informaci�n If I change the web browser encoding to iso8859-1 I see it correctly. Now if I evaluate 'Búsqueda de información' convertToEncoding: 'utf-8' this gives: 'Búsqueda de información' and if I use this weird, uneditable by hand, string as the string for my Seaside app, I correctly see the string in the web browser: Búsqueda de información. So, I really don't understand. Should I always write my strings in the image as I want them, use convertToEncoding: method and use the output as if that were my string? Well, thanks for your answers. P.S. I am using pharo core 1.0, Seaside 2.8 and squeakvm version: 4.0.3-2202 #1 XShm Sat Apr 17 18:21:07 UTC 2010 gcc 4.4.3 in a 64 bit Debian Linux with full utf-8 locale: mig...@laptop:~/proyectos/azteca$ locale LANG=es_MX.UTF-8 LC_CTYPE="es_MX.UTF-8" LC_NUMERIC="es_MX.UTF-8" LC_TIME="es_MX.UTF-8" LC_COLLATE="es_MX.UTF-8" LC_MONETARY="es_MX.UTF-8" LC_MESSAGES="es_MX.UTF-8" LC_PAPER="es_MX.UTF-8" LC_NAME="es_MX.UTF-8" LC_ADDRESS="es_MX.UTF-8" LC_TELEPHONE="es_MX.UTF-8" LC_MEASUREMENT="es_MX.UTF-8" LC_IDENTIFICATION="es_MX.UTF-8" LC_ALL= Cheers -- Miguel Cobá http://miguel.leugim.com.mx ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] XML Demarshalling (Hern?n Morales Durand)
On Sun, 18 Jul 2010 12:46:48 -0700 Alexandre Bergel wrote > > #test = ' test' evaluates to true, but this is not portable and, as you > > pointed out, results in a degradation of performance. > > I am sure Jaayer meant #test = 'test', without space between the '' > > Cheers, > Alexandre Oops. Good catch. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] how do I turn off "smart" quotes in Pharo Seaside one-click image
In Squeak, the preference pane includes a "smart quotes" setting (defaulting on, so I turn it off immediately). I don't see one for Pharo. It appears to be stuck on. I need to turn this feature off, or my typing speed drastically reduces, and my annoyance level is greatly increased. It's not under Editing (Smart Updating isn't it). Where's the preference? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
Yes, Indeed, I mean, I used a driver to access, but can't remember now the brand, but I'm sure I not payed for it :) May be I used some trial version 2010/7/18 Levente Uzonyi : > > On Sun, 18 Jul 2010, Germán Arduino wrote: > >> Not, I'm not talking of propietary software. >> >> I'm talking of one I used when helped Diego with the testing of the >> odbc package. Don't remember now, but may be this >> http://www.unixodbc.org/ ? > > ODBC is just an API, if you don't have a driver for yourdatabase, then it > won't help. > > > Levente > >> >> About Mac, sorry, never touched a mac in all my life >> >> Cheers. >> >> >> 2010/7/18 Levente Uzonyi : >>> >>> On Sun, 18 Jul 2010, Germán Arduino wrote: >>> Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). >>> >>> I don't know any free ODBC drivers for Access on un*x. I only know a >>> driver >>> which costs 4-5 times more than the windows OS itself :). But >>> there's a driver for mac which costs only 30 usd if you're interested. >>> >>> >>> Levente >>> Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : > > On Sun, 18 Jul 2010, Tudor Girba wrote: > >> Thanks Mariano! >> >> Indeed, if I load ConfigurationOfFFI first, everything loads well. >> >> I am a complete newbie in this area. Can anyone tell me what I should >> do >> next? >> >> I imagine that I should connect to an Access server. If yes, how would >> I >> do that? >> >> Also, do I need anything else, like a C plugin/library to get the C >> calls >> from ODBCLibrary going? > > First you'll need a pc running windows. Then you have to create an ODBC > Data > Source for your Access file. Then you'll be able to create a connection > to > that datasource from your image. > > > Levente > >> >> Cheers, >> Doru >> >> >> On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: >> >>> >>> >>> On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba >>> wrote: >>> Hi, >>> >>> I tried loading it, but I get : >>> "This package depends on the following classes: >>> ExternalLibrary >>> ExternalStructure" >>> >>> Can anyone tell me where to find these from? >>> >>> This means that you need Metacello ;) >>> >>> Those classes are from FFI, a pre-requisite for ODBC to work. >>> Maybe there is a ConfigurationOfODBC somewhere... >>> >>> For the moment, I recommend you to install FFI using the >>> ConfigurationOfFFI. >>> >>> Cheers >>> >>> Mariano >>> >>> >>> Also, are there eternal prerequisites to work with ODBC? >>> >>> Cheers, >>> Doru >>> >>> >>> >>> On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: >>> >>> On Sat, 17 Jul 2010, Tudor Girba wrote: >>> >>> Hi, >>> >>> Is there a way to connect to a Microsoft Access database from Pharo? >>> >>> Yes, with ODBC. >>> >>> >>> Levente >>> >>> >>> I have an mdb file of 300 Mb that I would need to analyze. >>> >>> Cheers, >>> Doru >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "Next time you see your life passing by, say 'hi' and get to know >>> her." >>> >>> >>> >>> >>> ___ >>> 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 >>> >>> -- >>> www.tudorgirba.com >>> >>> "Speaking louder won't make the point worthier." >>> >>> >>> >>> ___ >>> 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 >> >> -- >> www.tudorgirba.com >> >> "When people care, great things can happen." >> >> >> >> >> ___ >> 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.i
[Pharo-project] showstopper for 1.1
HI guys I checked and Class definition are not logged in the changes file as well as methods removal. So this is clearly a doit missing and we should investigate that. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Sugar theme for Pharo Smalltalk
No problem. I can review/help. Regards, Gary Sent from my iPad On 18 Jul 2010, at 01:55 PM, Hilaire Fernandes wrote: > Thanks for your words. How is going the Smalltalk Camp in London? > > Next, I will need to change a bit Polymoprh, I want to do it at the upstream > level of course, and with someonce who can double check my suggestions, > changes, Gary or Alain? > > Hilaire > > Le 18/07/2010 12:40, Stéphane Ducasse a écrit : >> Cool keep pushing >> We will get a smaller and nicer system. >> >> Stef >> On Jul 18, 2010, at 9:29 AM, Hilaire Fernandes wrote: >> >>> It starts to take shape. >>> Here is a note with screen shot >>> http://blog.ofset.org/hilaire/index.php?post/2010/07/17/Sugar-theme-fpr-Pharo >>> >>> To conform at best to the Sugar UI, it may need change within Polymorph or >>> very deeper knowledge. >>> >>> There are some aspect in Polymorph as PaneColor I don't really understand >>> well its behavior. >>> >>> Hilaire >>> >>> >>> >>> ___ >>> 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 ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
On Sun, 18 Jul 2010, Germán Arduino wrote: Not, I'm not talking of propietary software. I'm talking of one I used when helped Diego with the testing of the odbc package. Don't remember now, but may be this http://www.unixodbc.org/ ? ODBC is just an API, if you don't have a driver for yourdatabase, then it won't help. Levente About Mac, sorry, never touched a mac in all my life Cheers. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Germán Arduino wrote: Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested. Levente Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 ___ 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 -- = Germán S. Arduino Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com = ___ 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
Re: [Pharo-project] connection to access databases
On Sun, 18 Jul 2010, laurent laffont wrote: 2010/7/18 Levente Uzonyi On Sun, 18 Jul 2010, Germán Arduino wrote: Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested. On Linux I've used libmdbodbc from mdbtools http://mdbtools.sourceforge.net/ to migrate an access database 2 years ago. (using ruby & rubyodbc binding) This looks good and probably works on a Mac too: http://www.automatthew.com/2008/02/how-to-compile-mdbtools-on-mac-os-x.html Levente Cheers, Laurent Laffont Levente Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 ___ 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 ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
2010/7/18 Levente Uzonyi > On Sun, 18 Jul 2010, Germán Arduino wrote: > > Hi Tudor: >> >> Is as Levente says, you must define an ODBC source on a Windows PC >> (Alternatively on Unix you can use ODBC also). >> > > I don't know any free ODBC drivers for Access on un*x. I only know a driver > which costs 4-5 times more than the windows OS itself :). But > there's a driver for mac which costs only 30 usd if you're interested. > On Linux I've used libmdbodbc from mdbtools http://mdbtools.sourceforge.net/ to migrate an access database 2 years ago. (using ruby & rubyodbc binding) Cheers, Laurent Laffont > > > Levente > > > >> Some examples on: http://wiki.squeak.org/squeak/2480 >> >> Cheers. >> Germán. >> >> >> 2010/7/18 Levente Uzonyi : >> >>> On Sun, 18 Jul 2010, Tudor Girba wrote: >>> >>> Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? >>> >>> First you'll need a pc running windows. Then you have to create an ODBC >>> Data >>> Source for your Access file. Then you'll be able to create a connection >>> to >>> that datasource from your image. >>> >>> >>> Levente >>> >>> Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: > > On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba > wrote: > Hi, > > I tried loading it, but I get : > "This package depends on the following classes: > ExternalLibrary > ExternalStructure" > > Can anyone tell me where to find these from? > > This means that you need Metacello ;) > > Those classes are from FFI, a pre-requisite for ODBC to work. > Maybe there is a ConfigurationOfODBC somewhere... > > For the moment, I recommend you to install FFI using the > ConfigurationOfFFI. > > Cheers > > Mariano > > > Also, are there eternal prerequisites to work with ODBC? > > Cheers, > Doru > > > > On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: > > On Sat, 17 Jul 2010, Tudor Girba wrote: > > Hi, > > Is there a way to connect to a Microsoft Access database from Pharo? > > Yes, with ODBC. > > > Levente > > > I have an mdb file of 300 Mb that I would need to analyze. > > Cheers, > Doru > > > -- > www.tudorgirba.com > > "Next time you see your life passing by, say 'hi' and get to know her." > > > > > ___ > 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 > > -- > www.tudorgirba.com > > "Speaking louder won't make the point worthier." > > > > ___ > 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 > -- www.tudorgirba.com "When people care, great things can happen." ___ 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 >>> >>> >> ___ >> 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 > ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
Not, I'm not talking of propietary software. I'm talking of one I used when helped Diego with the testing of the odbc package. Don't remember now, but may be this http://www.unixodbc.org/ ? About Mac, sorry, never touched a mac in all my life Cheers. 2010/7/18 Levente Uzonyi : > On Sun, 18 Jul 2010, Germán Arduino wrote: > >> Hi Tudor: >> >> Is as Levente says, you must define an ODBC source on a Windows PC >> (Alternatively on Unix you can use ODBC also). > > I don't know any free ODBC drivers for Access on un*x. I only know a driver > which costs 4-5 times more than the windows OS itself :). But > there's a driver for mac which costs only 30 usd if you're interested. > > > Levente > >> >> Some examples on: http://wiki.squeak.org/squeak/2480 >> >> Cheers. >> Germán. >> >> >> 2010/7/18 Levente Uzonyi : >>> >>> On Sun, 18 Jul 2010, Tudor Girba wrote: >>> Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? >>> >>> First you'll need a pc running windows. Then you have to create an ODBC >>> Data >>> Source for your Access file. Then you'll be able to create a connection >>> to >>> that datasource from your image. >>> >>> >>> Levente >>> Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: > > > On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba > wrote: > Hi, > > I tried loading it, but I get : > "This package depends on the following classes: > ExternalLibrary > ExternalStructure" > > Can anyone tell me where to find these from? > > This means that you need Metacello ;) > > Those classes are from FFI, a pre-requisite for ODBC to work. > Maybe there is a ConfigurationOfODBC somewhere... > > For the moment, I recommend you to install FFI using the > ConfigurationOfFFI. > > Cheers > > Mariano > > > Also, are there eternal prerequisites to work with ODBC? > > Cheers, > Doru > > > > On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: > > On Sat, 17 Jul 2010, Tudor Girba wrote: > > Hi, > > Is there a way to connect to a Microsoft Access database from Pharo? > > Yes, with ODBC. > > > Levente > > > I have an mdb file of 300 Mb that I would need to analyze. > > Cheers, > Doru > > > -- > www.tudorgirba.com > > "Next time you see your life passing by, say 'hi' and get to know her." > > > > > ___ > 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 > > -- > www.tudorgirba.com > > "Speaking louder won't make the point worthier." > > > > ___ > 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 >>> >> >> ___ >> 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 > -- = Germán S. Arduino Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com = _
Re: [Pharo-project] connection to access databases
No idea about that. But let us know if you succeed. Good luck, Alexandre On 17 Jul 2010, at 23:35, Tudor Girba wrote: > Hi, > > Is there a way to connect to a Microsoft Access database from Pharo? > > I have an mdb file of 300 Mb that I would need to analyze. > > Cheers, > Doru > > > -- > www.tudorgirba.com > > "Next time you see your life passing by, say 'hi' and get to know her." > > > > > ___ > 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] XML Demarshalling (Hern?n Morales Durand)
> #test = ' test' evaluates to true, but this is not portable and, as you > pointed out, results in a degradation of performance. I am sure Jaayer meant #test = 'test', without space between the '' Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
On Sun, 18 Jul 2010, Tudor Girba wrote: Hi, Thanks for the pointers. Levente, could you point me to this driver for mac? Sure: http://www.actualtech.com/product_access.php Note that I have no experience with it, but there's a trial version. Levente Cheers, Doru On 18 Jul 2010, at 20:34, Levente Uzonyi wrote: On Sun, 18 Jul 2010, Germán Arduino wrote: Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested. Levente Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 ___ 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 -- www.tudorgirba.com "It's not how it is, it is how we see it." ___ 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
Re: [Pharo-project] connection to access databases
Hi, Thanks for the pointers. Levente, could you point me to this driver for mac? Cheers, Doru On 18 Jul 2010, at 20:34, Levente Uzonyi wrote: On Sun, 18 Jul 2010, Germán Arduino wrote: Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested. Levente Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba > wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 ___ 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 -- www.tudorgirba.com "It's not how it is, it is how we see it." ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
On Sun, 18 Jul 2010, Germán Arduino wrote: Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested. Levente Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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 ___ 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
Re: [Pharo-project] connection to access databases
Hi Tudor: Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also). Some examples on: http://wiki.squeak.org/squeak/2480 Cheers. Germán. 2010/7/18 Levente Uzonyi : > On Sun, 18 Jul 2010, Tudor Girba wrote: > >> Thanks Mariano! >> >> Indeed, if I load ConfigurationOfFFI first, everything loads well. >> >> I am a complete newbie in this area. Can anyone tell me what I should do >> next? >> >> I imagine that I should connect to an Access server. If yes, how would I >> do that? >> >> Also, do I need anything else, like a C plugin/library to get the C calls >> from ODBCLibrary going? > > First you'll need a pc running windows. Then you have to create an ODBC Data > Source for your Access file. Then you'll be able to create a connection to > that datasource from your image. > > > Levente > >> >> Cheers, >> Doru >> >> >> On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: >> >>> >>> >>> On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba >>> wrote: >>> Hi, >>> >>> I tried loading it, but I get : >>> "This package depends on the following classes: >>> ExternalLibrary >>> ExternalStructure" >>> >>> Can anyone tell me where to find these from? >>> >>> This means that you need Metacello ;) >>> >>> Those classes are from FFI, a pre-requisite for ODBC to work. >>> Maybe there is a ConfigurationOfODBC somewhere... >>> >>> For the moment, I recommend you to install FFI using the >>> ConfigurationOfFFI. >>> >>> Cheers >>> >>> Mariano >>> >>> >>> Also, are there eternal prerequisites to work with ODBC? >>> >>> Cheers, >>> Doru >>> >>> >>> >>> On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: >>> >>> On Sat, 17 Jul 2010, Tudor Girba wrote: >>> >>> Hi, >>> >>> Is there a way to connect to a Microsoft Access database from Pharo? >>> >>> Yes, with ODBC. >>> >>> >>> Levente >>> >>> >>> I have an mdb file of 300 Mb that I would need to analyze. >>> >>> Cheers, >>> Doru >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "Next time you see your life passing by, say 'hi' and get to know her." >>> >>> >>> >>> >>> ___ >>> 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 >>> >>> -- >>> www.tudorgirba.com >>> >>> "Speaking louder won't make the point worthier." >>> >>> >>> >>> ___ >>> 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 >> >> -- >> www.tudorgirba.com >> >> "When people care, great things can happen." >> >> >> >> >> ___ >> 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 > ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
On Sun, 18 Jul 2010, Tudor Girba wrote: Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image. Levente Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ 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
[Pharo-project] [update 1.2] #12061
12061 - removing donor and partBin. Stef, gary and marcus :) ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] XML Demarshalling (Hern?n Morales Durand)
excellent! tx alex On Jul 18, 2010, at 5:01 PM, jaayer wrote: > > > On Sun, 18 Jul 2010 04:01:33 -0700 Stéphane Ducasse wrote > >> is there a configurationOfXMLParser for metacelloRepository? >> >> Stef >> > > Alexandre uploaded two ConfigurationOfXMLSupport packages: > http://www.squeaksource.com/XMLSupport.html > > > ___ > 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
Re: [Pharo-project] connection to access databases
Thanks Mariano! Indeed, if I load ConfigurationOfFFI first, everything loads well. I am a complete newbie in this area. Can anyone tell me what I should do next? I imagine that I should connect to an Access server. If yes, how would I do that? Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going? Cheers, Doru On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote: On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: Hi, I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure" Can anyone tell me where to find these from? This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano Also, are there eternal prerequisites to work with ODBC? Cheers, Doru On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: On Sat, 17 Jul 2010, Tudor Girba wrote: Hi, Is there a way to connect to a Microsoft Access database from Pharo? Yes, with ODBC. Levente I have an mdb file of 300 Mb that I would need to analyze. Cheers, Doru -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." ___ 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 -- www.tudorgirba.com "Speaking louder won't make the point worthier." ___ 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 -- www.tudorgirba.com "When people care, great things can happen." ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] [ANN 1.2] pre-built 1.2#12061 Core
https://gforge.inria.fr/frs/download.php/27291/PharoCore-1.2-12061.zip -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] XML Demarshalling (Hern?n Morales Durand)
On Sun, 18 Jul 2010 04:01:33 -0700 Stéphane Ducasse wrote >is there a configurationOfXMLParser for metacelloRepository? > >Stef > Alexandre uploaded two ConfigurationOfXMLSupport packages: http://www.squeaksource.com/XMLSupport.html ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] selection in OB browser
On Jul 18, 2010, at 3:23 PM, Lukas Renggli wrote: >> It happened to us a lot when we pushed up a method. So you select the >> method, bring push up and then you go to the next one >> but the list is not selected just the item. >> I got that a lot during our refactoring session. > > Name: OmniBrowser-lr.483 > Author: lr > Time: 18 July 2010, 3:20:03 pm > UUID: f8c1b3df-4fda-4cf2-a533-e721c0cd5088 > Ancestors: OmniBrowser-lr.482 > > - more agressively refresh display when a node disappears > >> BTW lukas could you have >> rename class > rename class refactoring close to rename class? > > Consistency is more important in my option. Otherwise we have to move > all other refactorings too and we end up with a mess. no no no this is not a question of consistency. this is question of use. Rename class and rename class refactoring should be together. Believe the user. Stef > > Lukas > > -- > Lukas Renggli > www.lukas-renggli.ch > > ___ > 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
[Pharo-project] [update 1.2] #12060
12060 - Large cleaning of PasteUpMorph underway Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Sugar theme for Pharo Smalltalk
On Jul 18, 2010, at 2:55 PM, Hilaire Fernandes wrote: > Thanks for your words. How is going the Smalltalk Camp in London? Great. I'm pair programming with gary and we folded all the XXXPlus into their superclasses and lot more Stef > Next, I will need to change a bit Polymoprh, I want to do it at the upstream > level of course, and with someonce who can double check my suggestions, > changes, Gary or Alain? > > Hilaire > > Le 18/07/2010 12:40, Stéphane Ducasse a écrit : >> Cool keep pushing >> We will get a smaller and nicer system. >> >> Stef >> On Jul 18, 2010, at 9:29 AM, Hilaire Fernandes wrote: >> >>> It starts to take shape. >>> Here is a note with screen shot >>> http://blog.ofset.org/hilaire/index.php?post/2010/07/17/Sugar-theme-fpr-Pharo >>> >>> To conform at best to the Sugar UI, it may need change within Polymorph or >>> very deeper knowledge. >>> >>> There are some aspect in Polymorph as PaneColor I don't really understand >>> well its behavior. >>> >>> Hilaire >>> >>> >>> >>> ___ >>> 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 ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] selection in OB browser
> It happened to us a lot when we pushed up a method. So you select the method, > bring push up and then you go to the next one > but the list is not selected just the item. > I got that a lot during our refactoring session. Name: OmniBrowser-lr.483 Author: lr Time: 18 July 2010, 3:20:03 pm UUID: f8c1b3df-4fda-4cf2-a533-e721c0cd5088 Ancestors: OmniBrowser-lr.482 - more agressively refresh display when a node disappears > BTW lukas could you have > rename class rename class refactoring close to rename class? Consistency is more important in my option. Otherwise we have to move all other refactorings too and we end up with a mess. Lukas -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] OBConfirmationRequest without cancel and input
This input box comes from PSUIManager>>#chooseFrom:values:lines:title: Older images do not show the text-input field. Lukas On 18 July 2010 15:18, Lukas Renggli wrote: > That's a bug in Polymorph. I don't know why it displays an input box > for simple selections? > > Lukas > > 2010/7/18 Mariano Martinez Peck : >> I even think >> >> PluggableTextMorph >> promptForCancel >> "Ask if it is OK to cancel changes to text" >> (self confirm: >> 'Changes have not been saved. >> Is it OK to cancel those changes?' translated) >> ifTrue: [model clearUserEditFlag]. >> >> >> is better ;) >> >> >> On Sun, Jul 18, 2010 at 2:56 PM, Mariano Martinez Peck >> wrote: >>> >>> sorry, I attach picture. >>> >>> On Sun, Jul 1orry8, 2010 at 2:56 PM, Mariano Martinez Peck >>> wrote: Hi Lukas. I was taking a look to the OBDefinitionPanel >> aboutToChange: because it sucks for me those popups. First, it has a TWO cancel option, and an input (to type and subselect items from the menu) that has no sense for two only options. So, I would like something simple. I want a popup with a label: "'Changes have not been saved." and two simple buttons: "save" and "discard". Not hirzontal selection lines, but buttons. I take a look into the methods and hierrarchy of OBInteractionRequest but I didn't find how to do it. Thanks in advance for any hints you can give me. Cheers Mariano >>> >> >> >> ___ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] OBConfirmationRequest without cancel and input
That's a bug in Polymorph. I don't know why it displays an input box for simple selections? Lukas 2010/7/18 Mariano Martinez Peck : > I even think > > PluggableTextMorph >> promptForCancel > "Ask if it is OK to cancel changes to text" > (self confirm: > 'Changes have not been saved. > Is it OK to cancel those changes?' translated) > ifTrue: [model clearUserEditFlag]. > > > is better ;) > > > On Sun, Jul 18, 2010 at 2:56 PM, Mariano Martinez Peck > wrote: >> >> sorry, I attach picture. >> >> On Sun, Jul 1orry8, 2010 at 2:56 PM, Mariano Martinez Peck >> wrote: >>> >>> Hi Lukas. I was taking a look to the OBDefinitionPanel >> aboutToChange: >>> >>> because it sucks for me those popups. >>> First, it has a TWO cancel option, and an input (to type and subselect >>> items from the menu) that has no sense for two only options. >>> >>> So, I would like something simple. I want a popup with a label: "'Changes >>> have not been saved." and two simple buttons: "save" and "discard". >>> Not hirzontal selection lines, but buttons. >>> >>> I take a look into the methods and hierrarchy of OBInteractionRequest but >>> I didn't find how to do it. >>> >>> Thanks in advance for any hints you can give me. >>> >>> Cheers >>> >>> Mariano >> > > > ___ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] OBConfirmationRequest without cancel and input
I even think PluggableTextMorph >> promptForCancel "Ask if it is OK to cancel changes to text" (self confirm: 'Changes have not been saved. Is it OK to cancel those changes?' translated) ifTrue: [model clearUserEditFlag]. is better ;) On Sun, Jul 18, 2010 at 2:56 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > sorry, I attach picture. > > > On Sun, Jul 1orry8, 2010 at 2:56 PM, Mariano Martinez Peck < > marianop...@gmail.com> wrote: > >> Hi Lukas. I was taking a look to the OBDefinitionPanel >> aboutToChange: >> >> because it sucks for me those popups. >> First, it has a TWO cancel option, and an input (to type and subselect >> items from the menu) that has no sense for two only options. >> >> So, I would like something simple. I want a popup with a label: "'Changes >> have not been saved." and two simple buttons: "save" and "discard". >> Not hirzontal selection lines, but buttons. >> >> I take a look into the methods and hierrarchy of OBInteractionRequest but >> I didn't find how to do it. >> >> Thanks in advance for any hints you can give me. >> >> Cheers >> >> Mariano >> > > ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] OBConfirmationRequest without cancel and input
Hi Lukas. I was taking a look to the OBDefinitionPanel >> aboutToChange: because it sucks for me those popups. First, it has a TWO cancel option, and an input (to type and subselect items from the menu) that has no sense for two only options. So, I would like something simple. I want a popup with a label: "'Changes have not been saved." and two simple buttons: "save" and "discard". Not hirzontal selection lines, but buttons. I take a look into the methods and hierrarchy of OBInteractionRequest but I didn't find how to do it. Thanks in advance for any hints you can give me. Cheers Mariano ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Sugar theme for Pharo Smalltalk
Thanks for your words. How is going the Smalltalk Camp in London? Next, I will need to change a bit Polymoprh, I want to do it at the upstream level of course, and with someonce who can double check my suggestions, changes, Gary or Alain? Hilaire Le 18/07/2010 12:40, Stéphane Ducasse a écrit : Cool keep pushing We will get a smaller and nicer system. Stef On Jul 18, 2010, at 9:29 AM, Hilaire Fernandes wrote: It starts to take shape. Here is a note with screen shot http://blog.ofset.org/hilaire/index.php?post/2010/07/17/Sugar-theme-fpr-Pharo To conform at best to the Sugar UI, it may need change within Polymorph or very deeper knowledge. There are some aspect in Polymorph as PaneColor I don't really understand well its behavior. Hilaire ___ 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
[Pharo-project] [update 1.2] #12058
12058 - Issue 2676 - remove PluggableButtonMorphPlus ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] XML Demarshalling (Hern?n Morales Durand)
is there a configurationOfXMLParser for metacelloRepository? Stef On Jul 18, 2010, at 7:27 AM, jaayer wrote: > > > On Fri, 16 Jul 2010 15:54:31 -0700 Levente Uzonyi wrote > >> On Fri, 16 Jul 2010, Alexandre Bergel wrote: >> (Btw the idea that XMLElement >> #tag is returning a symbol and the #tags*[dD]o: methods are expecting a symbol for tag is a very bad idea. It degrades performance.) >>> >>> Feel free to provide a fix. I will be pleased to review and include it. > > It was fixed some time ago; I posted about it on this very group a few months > back. > >> Well, thinking about it again I found that it depends on the use case. >> It's faster if the xml is small, has only a few different tags and not >> many tags use namespaces. It's slower in other cases. Also the >> parse/extract matters. Btw I still can't find the package in a core image. > > > The package is XMLSupport on squeaksource.com. > > > ___ > 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
[Pharo-project] [update 1.2] #12057
12057 - Issue 2676 - Really removing the classes PluggableListMorphPlus removed the classes this times :) Stef and Gary ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] apparently renameClass
Lukas we did a rename class and we got a message like Class is a global or ... at the end. We continue. And now we realized that the class was (appeared to be) removed but when we published the code with MC. The class was not removed. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Pharocasts: Start Pharo on GNU/Linux
This is good we will have a really nice set of videos for beginners. May be after we will have to organize them. Stef On Jul 17, 2010, at 11:38 PM, laurent laffont wrote: > For beginners, how to download image, sources, VM and open Pharo. Start > spreading :) > > http://pharocasts.blogspot.com/2010/07/pharo-install.html > > Cheers, > > Laurent Laffont > > http://pharocasts.blogspot.com/ > http://magaloma.blogspot.com/ > ___ > 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
Re: [Pharo-project] selection in OB browser
On Jul 18, 2010, at 11:10 AM, Lukas Renggli wrote: >>after the method is moved, the method with the same name but self >> halt is selected. >>I think that it would be better to select another one, like that we >> can directly refactor the next one. >>Else you read again the code during 2 s and think ok this is the old >> one but this is really taking cycle of attention. > > The refactoring is performed in a different thread than the one that > updates the GUI and refreshes the display. So it takes a few hundred > milliseconds to propagate the changes to all other browser windows. > You can see the same when you edit a method. > > I've committed a little change that forces the browser that opened the > refactoring change browser to immediately refresh the original > browser. For all the other windows it still takes a short time to > refresh. Thanks lukas > > Name: OB-Refactory-lr.221 > Author: lr > Time: 18 July 2010, 11:09:39 am > UUID: ea66aaba-9f9e-4f48-9cfd-9710601065b8 > Ancestors: OB-Refactory-lr.220 > > - force the browser that performs a refactoring to refresh > immediately (all other browsers still take a few 100 milliseconds to > get the system change notification and to refresh the display) > >>The selection is strange, often I got an item kind of selected >> because it was in light blue but the list itself was >>not selected so I could select the refactoring to happy but the >> system barked telling me that the selection was not >>good and I have to click again on the item so select it for real (in >> the case I could see the selection because the list >>was surrounded by a blue line). > > Can you describe step by step how to reproduce that? I am not aware of > such a problem. It happened to us a lot when we pushed up a method. So you select the method, bring push up and then you go to the next one but the list is not selected just the item. I got that a lot during our refactoring session. BTW lukas could you have rename class >>>rename class refactoring close to rename class? Because this is something that we do often. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Sugar theme for Pharo Smalltalk
Cool keep pushing We will get a smaller and nicer system. Stef On Jul 18, 2010, at 9:29 AM, Hilaire Fernandes wrote: > It starts to take shape. > Here is a note with screen shot > http://blog.ofset.org/hilaire/index.php?post/2010/07/17/Sugar-theme-fpr-Pharo > > To conform at best to the Sugar UI, it may need change within Polymorph or > very deeper knowledge. > > There are some aspect in Polymorph as PaneColor I don't really understand > well its behavior. > > Hilaire > > > > ___ > 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
[Pharo-project] [update 1.2] #12056
12056 - Issue 2676 - Remove PluggableListMorphPlus Stef and Gary from c...@london ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] help to update actions done in Pharo 1.1
Hi. We are very near to release 1.1. We need help to remember all we all have been doing on it ;) Here is the current list: http://code.google.com/p/pharo/wiki/ActionsInPharoOneDotOne Please, feel free to add/modify actions. Cheers Mariano ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] [update 1.2] #12055
12055 - Remove PreferenceBrowser Stef and Gary ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] [update 1.2] #12054
12054 - preparing unload of preferences 2 Stef and Gary ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] [update 1.2] #12053
12053 - preparing unload of preferences Stef and Gary ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] selection in OB browser
> after the method is moved, the method with the same name but self halt > is selected. > I think that it would be better to select another one, like that we > can directly refactor the next one. > Else you read again the code during 2 s and think ok this is the old > one but this is really taking cycle of attention. The refactoring is performed in a different thread than the one that updates the GUI and refreshes the display. So it takes a few hundred milliseconds to propagate the changes to all other browser windows. You can see the same when you edit a method. I've committed a little change that forces the browser that opened the refactoring change browser to immediately refresh the original browser. For all the other windows it still takes a short time to refresh. Name: OB-Refactory-lr.221 Author: lr Time: 18 July 2010, 11:09:39 am UUID: ea66aaba-9f9e-4f48-9cfd-9710601065b8 Ancestors: OB-Refactory-lr.220 - force the browser that performs a refactoring to refresh immediately (all other browsers still take a few 100 milliseconds to get the system change notification and to refresh the display) > The selection is strange, often I got an item kind of selected because > it was in light blue but the list itself was > not selected so I could select the refactoring to happy but the system > barked telling me that the selection was not > good and I have to click again on the item so select it for real (in > the case I could see the selection because the list > was surrounded by a blue line). Can you describe step by step how to reproduce that? I am not aware of such a problem. Lukas -- Lukas Renggli www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] selection in OB browser
Hi lukas I refactored a lot of code with gary yesterday and when we used refactor like push up method for example, we got bitten by two problems after the method is moved, the method with the same name but self halt is selected. I think that it would be better to select another one, like that we can directly refactor the next one. Else you read again the code during 2 s and think ok this is the old one but this is really taking cycle of attention. The selection is strange, often I got an item kind of selected because it was in light blue but the list itself was not selected so I could select the refactoring to happy but the system barked telling me that the selection was not good and I have to click again on the item so select it for real (in the case I could see the selection because the list was surrounded by a blue line). If you have time this would be great to fix these two problems. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] Sugar theme for Pharo Smalltalk
It starts to take shape. Here is a note with screen shot http://blog.ofset.org/hilaire/index.php?post/2010/07/17/Sugar-theme-fpr-Pharo To conform at best to the Sugar UI, it may need change within Polymorph or very deeper knowledge. There are some aspect in Polymorph as PaneColor I don't really understand well its behavior. Hilaire ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] connection to access databases
On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba wrote: > Hi, > > I tried loading it, but I get : > "This package depends on the following classes: > ExternalLibrary > ExternalStructure" > > Can anyone tell me where to find these from? > This means that you need Metacello ;) Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere... For the moment, I recommend you to install FFI using the ConfigurationOfFFI. Cheers Mariano > > Also, are there eternal prerequisites to work with ODBC? > > Cheers, > Doru > > > > On 18 Jul 2010, at 00:35, Levente Uzonyi wrote: > > On Sat, 17 Jul 2010, Tudor Girba wrote: >> >> Hi, >>> >>> Is there a way to connect to a Microsoft Access database from Pharo? >>> >> >> Yes, with ODBC. >> >> >> Levente >> >> >>> I have an mdb file of 300 Mb that I would need to analyze. >>> >>> Cheers, >>> Doru >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "Next time you see your life passing by, say 'hi' and get to know her." >>> >>> >>> >>> >>> ___ >>> 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 >> > > -- > www.tudorgirba.com > > "Speaking louder won't make the point worthier." > > > > ___ > 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
Re: [Pharo-project] connection to access databases
On Sun, Jul 18, 2010 at 8:51 AM, Tudor Girba wrote: > From the webpage, it looks like Access is not among the supported backends. > > But, I would be happy to be wrong :). Does anyone have a more precise idea? > > SqueakDBX doesn't support Access but does ODBC. However, I think using the ODBC driver would be easier for you. > Doru > > > > On 18 Jul 2010, at 02:14, Gabriel Brunstein wrote: > > Maybe squeakDBX, i don't know if it supports Access. >> >> On Sat, Jul 17, 2010 at 7:35 PM, Levente Uzonyi wrote: >> On Sat, 17 Jul 2010, Tudor Girba wrote: >> >> Hi, >> >> Is there a way to connect to a Microsoft Access database from Pharo? >> >> Yes, with ODBC. >> >> >> Levente >> >> >> >> I have an mdb file of 300 Mb that I would need to analyze. >> >> Cheers, >> Doru >> >> >> -- >> www.tudorgirba.com >> >> "Next time you see your life passing by, say 'hi' and get to know her." >> >> >> >> >> ___ >> 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 >> >> ___ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > -- > www.tudorgirba.com > > "Don't give to get. Just give." > > > > > > ___ > 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