Re: [Chicken-users] Automated builds

2007-07-03 Thread Mario Domenech Goulart
On Mon, 2 Jul 2007 07:21:35 +0200 "felix winkelmann" <[EMAIL PROTECTED]> wrote: > > 3. Maybe we could add a platform specifier to the eggs' metafiles, > > in order for this process to be able to summarily skip e.g. > > OS-X-specific eggs which won't build on Linux anyway? (They could show > > "N

Re: [Chicken-users] A more concrete FFI question.

2007-07-03 Thread Robin Lee Powell
On Tue, Jul 03, 2007 at 05:00:43PM -0700, Robin Lee Powell wrote: > > The following C code (trimmed) works fine: > > xmmsc_connection_t *connection; > xmmsc_result_t *result; > > unsigned int id; > > result = xmmsc_playback_current_id (connection); > > xmmsc_result_wait (re

[Chicken-users] A more concrete FFI question.

2007-07-03 Thread Robin Lee Powell
The following C code (trimmed) works fine: xmmsc_connection_t *connection; xmmsc_result_t *result; unsigned int id; result = xmmsc_playback_current_id (connection); xmmsc_result_wait (result); if (!xmmsc_result_get_uint (result, &id)) { fprintf (stderr, "xm

Re: [Chicken-users] How to FFI?

2007-07-03 Thread Robin Lee Powell
On Tue, Jul 03, 2007 at 11:44:02PM +0200, felix winkelmann wrote: > Do you need good error-checking? Do you want to access CDK in a > low-level manner, or would you prefer a complete CDK wrapper? Or > are you just interested in getting it to work quickly. I answered this already, but let me ask th

Re: [Chicken-users] How to FFI?

2007-07-03 Thread Robin Lee Powell
On Tue, Jul 03, 2007 at 11:44:02PM +0200, felix winkelmann wrote: > On 7/3/07, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > > > >I'm looking at using CDK (the widget library for ncurses) for a > >TUI app (unless anyone else has any better TUI library > >suggestions? I'd love to hear them). > > > >

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-03 Thread Peter Keller
On Wed, Jul 04, 2007 at 12:42:18AM +0700, Ivan Shmakov wrote: >Well, I program C since 1995 or so (started to study x86 >assembler about the same time.) In my programs, I tend to >distinguish NULL (or 0) from false. E. g., I'd write: ASIDE: As a small note. 0 is not ent

Re: [Chicken-users] How to FFI?

2007-07-03 Thread felix winkelmann
On 7/3/07, Robin Lee Powell <[EMAIL PROTECTED]> wrote: I'm looking at using CDK (the widget library for ncurses) for a TUI app (unless anyone else has any better TUI library suggestions? I'd love to hear them). My primary question is, how should I be doing FFI to make it nice and simple for me?

Re: [Chicken-users] qt4 layouts

2007-07-03 Thread Martin DeMello
On 7/2/07, felix winkelmann <[EMAIL PROTECTED]> wrote: On 7/1/07, Martin DeMello <[EMAIL PROTECTED]> wrote: > The qt egg currently doesn't seem to support QLayoutWidget - it fails with > > QFormBuilder: Cannot create widget of class QLayoutWidget. > > Are there any plans to add this? > IIRC, thi

[Chicken-users] How to FFI?

2007-07-03 Thread Robin Lee Powell
I'm looking at using CDK (the widget library for ncurses) for a TUI app (unless anyone else has any better TUI library suggestions? I'd love to hear them). My primary question is, how should I be doing FFI to make it nice and simple for me? http://www.call-with-current-continuation.org/eggs/lazy

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-03 Thread Ivan Shmakov
Thomas Christian Chust <[EMAIL PROTECTED]> writes: >>> adding a few functions and macros to implement ternary logic sounds >>> good to me. [...] > Hello, > if those things were put into a separate library along with a NULL > singleton, the SQLite3 egg could be modified to use this NULL value

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-03 Thread Thomas Christian Chust
Ivan Shmakov wrote: > Thomas Christian Chust <[EMAIL PROTECTED]> writes: > >> [...] >> adding a few functions and macros to implement ternary logic >> sounds good to me. > >... And these should be in a separate library, so that they >could be used along with any SQL engine. Hello

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-03 Thread John Cowan
Ivan Shmakov scripsit: >I feel that the semantics of an ``unspecified value'' is, well, >underspecified. Is it guaranteed, e. g., that (eq? (void) >(void)) will always be true? (So that (sql-null? o) function >could be implemented.) In Chicken it definitely is gu

Re: [Chicken-users] Automated builds

2007-07-03 Thread Arto Bendiken
On 7/2/07, felix winkelmann <[EMAIL PROTECTED]> wrote: On 6/28/07, Arto Bendiken <[EMAIL PROTECTED]> wrote: > > 3. Maybe we could add a platform specifier to the eggs' metafiles, > in order for this process to be able to summarily skip e.g. > OS-X-specific eggs which won't build on Linux anyway

[Chicken-users] Preferred Gui

2007-07-03 Thread William Ramsay
What is the currently preferred cross-platform gui library to use with chicken? Are there any examples of real-world gui applications? I have been working a great deal with Gtk 2.0 via EasyFFI. I looked at the Gtk egg being developed, but had no success in trying to test it. I think what the

Re: [Chicken-users] preferred gui library

2007-07-03 Thread Martin DeMello
On 7/3/07, Jong-Hyouk Yun <[EMAIL PROTECTED]> wrote: Hi, I found some mailings in archive. http://lists.gnu.org/archive/html/chicken-users/2007-02/msg00055.html I went through that thread, but it seems to be mostly about future directions for a toolkit. I want to know which if any of the curre