From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,74d953d10520ed5e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-30 02:01:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: using charles library Date: Fri, 30 May 2003 09:01:05 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054285265 20947 129.241.83.78 (30 May 2003 09:01:05 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 30 May 2003 09:01:05 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38055 Date: 2003-05-30T09:01:05+00:00 List-Id: Roman V. Isaev wrote: > Just start GVD on WinXX and go to preferences. Every tab is so > jerky, they redraw themselves several times and it's quite visible. > Most funny are Source and Data tabs, when you click them widgets > run around like cockroaches before settling on their places. May be > it's fixed in 2.2 but all I see is only 1.3 for win available for > download. I'm not that brave to venture into compiling 2.0 on windoze > and I see no 2.2 at all there at http://libre.act-europe.fr/GtkAda/ :) > Sluggish Gtk behaviour makes applications look sloppy and low-quality. OK I think then perhaps it is an issue with the windows port of Gtk, because I don't see this in any of the following programs: gvd, gimp, galeon, gtop, gedit, glimmer, civclient-gtk, gnumeric, abiword, rox, gvim, glosa etc... on Linux. All use GTK+. > They didn't. If you want to use gettext you have to haul > its dll on winXX and use -lintl on unix. They simply made binding > for C gettext library (and no ada parser so far). That's why I said you could look at making a binding. > I wrote tiny library that loads .mo files and translates text > using table from that file as I played with Ada: Nice, but your Strings are they expecting UTF-8? > If anyone interested I can publish it (although code is crappy > by any standard and doesn't handle errors well, it's my first > experience with ada dammit). I don't like its dependency on charles > library, gettext package should come alone (unless ada gets > something like perl CPAN interface and autodownload of dependent > libraries) or depend only on standard library (not GNAT > specific). .mo files alredy come with precomputed hash, but > I don't know Ada well enough to make this package work with > hash yet :) Why not depend on charles? We need sooner or later to *pick* one container library so I don't she why charles should be it. When I have time I plan to look at it in order to use it in my applications. > Calculating oil well characteristics given certain pump, pipes, > fluid type and other 70+ parameters... but I'm afraid it might > be faster to take all math and write anew than wade through > fortran-like code, and I won't have enough spare time for either > endeavour. But the calculations are still applicable? -- Preben Randhol http://www.pvv.org/~randhol/