Re: [Chicken-users] no trunk build on mingw since friday

2007-10-04 Thread felix winkelmann
On 10/4/07, Jerry van Dijk [EMAIL PROTECTED] wrote: The build now succeeds, but none of the executables run. (Instruction on address 0x7c93426d points to address 0x). However, running under gdb does work so it seems something is still missing. Sorry, I don't know how to fix this. I

Re: [Chicken-users] build on Windows with cygwin

2007-10-02 Thread felix winkelmann
Hi, Shawn! The problem is that I don't know how to link dlls properly. The build log you've sent me only generated the static libs, due to a missing libdl.so (dll, or whatever). I need to see the exact build steps for a full build with dynamic linking. The shared lib generation options for

Re: [Chicken-users] no trunk build on mingw since friday

2007-10-02 Thread felix winkelmann
On 10/2/07, Jerry van Dijk [EMAIL PROTECTED] wrote: BTW, the current trunk is failing again: |$ ./build.sh |make -f Makefile.mingw all |make[1]: Entering directory `/c/Home/src/chicken/trunk' |gcc chicken-bug.o -o chicken-bug.exe libchicken.a -lm

Re: [Chicken-users] Choosing a programming language for a web project

2007-10-02 Thread felix winkelmann
On 10/2/07, Graham Fawcett [EMAIL PROTECTED] wrote: That, I think, is about as minimal as you can get, while still being robust and being flexible enough to accommodate many protocols and many app frameworks. I think the power of personal mini-frameworks is greatly underappreciated. Truly

Re: [Chicken-users] no trunk build on mingw since friday

2007-10-02 Thread felix winkelmann
Hi, Jerry! One more question: what's the output of gcc -dM -E - /dev/null on your machine? cheers, felix On 10/2/07, Jerry van Dijk [EMAIL PROTECTED] wrote: Kon Lovett writes: It works w/o the named option w/ MinGW32. Mingw32 does not offer a build environment so this cannot

Re: [Chicken-users] no trunk build on mingw since friday

2007-10-01 Thread felix winkelmann
On 9/30/07, Jerry van Dijk [EMAIL PROTECTED] wrote: * To get chicken.info to install the end of line 763 in rules.make should actually read: --info-file=chicken.info instead of just chicken.info This doesn't work, at least on Linux (I reverted the current trunk to the old way of installing

Re: [Chicken-users] stable version?

2007-09-28 Thread felix winkelmann
On 9/27/07, Dan Muresan [EMAIL PROTECTED] wrote: While I understand your annoyance with MSVC, it's nevertheless an important environment, and I maintain that supporting it lends more credence to Chicken in the industry. I understand that you do not wish to spend time on it. I still hope we

[Chicken-users] Re: [Chicken-hackers] remove symbol extra-slot feature and add general symbol property-lists?

2007-09-28 Thread felix winkelmann
On 9/27/07, Kon Lovett [EMAIL PROTECTED] wrote: On Sep 26, 2007, at 10:48 PM, felix winkelmann wrote: Yes or no? See the proplist egg. Yes, that one does indeed provides an interface to functionally equivalent stuff. But with real symbol plists, the extraslot becomes obsolete and access

Re: [Chicken-users] build on Windows with cygwin

2007-09-28 Thread felix winkelmann
Hi! I have added a cygwin platform/target to the current chicken (2.713). Please give it a try. Since your build somehow didn't create shared libraries of the runtime, I currently have guessed at the correct options, so this may fail. Any feedback is welcome. cheers felix

Re: [Chicken-users] stable version?

2007-09-26 Thread felix winkelmann
On 9/21/07, Dan Muresan [EMAIL PROTECTED] wrote: I don't understand why cmake was dropped. Was it hard to maintain But more importantly, Chicken used to be build-able with MSVC before cmake, IIRC. What happened to that? MSVC support is gone. The Microsoft compilers are not particularly

Re: [Chicken-users] javahack bug?

2007-09-24 Thread felix winkelmann
On 9/20/07, Fred Morain-Nicolier [EMAIL PROTECTED] wrote: Hello, i try to use the javahack eggs in order to debug java-based programs. I get confused when trying to create Arrays. I finally find a problem (a bug?) when sending some expressions to jscheme. Here is an example : session

Re: [Chicken-users] -ldl problem

2007-09-24 Thread felix winkelmann
On 9/18/07, naruto canada [EMAIL PROTECTED] wrote: hi my attemp to compile chicken scheme run into -ldl problem: ... ./libchicken.so: undefined reference to `dlerror' ./libchicken.so: undefined reference to `dlclose' ./libchicken.so: undefined reference to `dlopen' ./libchicken.so:

Re: [Chicken-users] -ldl problem

2007-09-24 Thread felix winkelmann
On 9/24/07, naruto canada [EMAIL PROTECTED] wrote: On 9/24/07, felix winkelmann [EMAIL PROTECTED] wrote: On 9/18/07, naruto canada [EMAIL PROTECTED] wrote: hi my attemp to compile chicken scheme run into -ldl problem: ... ./libchicken.so: undefined reference to `dlerror

Re: [Chicken-users] stable version?

2007-09-21 Thread felix winkelmann
On 9/20/07, Dan Muresan [EMAIL PROTECTED] wrote: Hi all, what happened to the stable version download? The homepage now says to go to http://chicken.wiki.br/dev-snapshots/current; the dev-snapshots part doesn't provide the same assurance as a stable version... Is there a mailing list thread

Re: [Chicken-users] build on Windows with cygwin

2007-09-21 Thread felix winkelmann
On 9/19/07, Shawn Rutledge [EMAIL PROTECTED] wrote: http://www.cygwin.com/ml/cygwin/2002-05/msg01665.html Incidentally, gcc distributed with cygwin is actually multi-targeted -- it can produce binaries for two different platforms -- cygwin and mingw. By default the resulting binary is

Re: [Chicken-users] (include) in (repl)

2007-09-21 Thread felix winkelmann
On 9/20/07, Dan Muresan [EMAIL PROTECTED] wrote: Hi, if I compile x.scm which contains simply (repl) with csc -v -R syntax-case -run-time-macros x.scm -run-time-macros has no effect with syntax-case. You might as well compile with csc x.scm. I get the following error during (repl)

Re: [Chicken-users] mathh does not compile on cygwin

2007-09-19 Thread felix winkelmann
Hi, Terence! Cygwin is currently not supported by chicken. You are using a completely invalid build (mingw32?), which is illegal. Expect law enforcement personnel homing in on you at any time. cheers, felix On 9/18/07, Terrence Brannon [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /tmp :

Re: [Chicken-users] build on Windows with cygwin

2007-09-19 Thread felix winkelmann
On 9/18/07, Shawn Rutledge [EMAIL PROTECTED] wrote: On 9/18/07, felix winkelmann [EMAIL PROTECTED] wrote: What makefile did you use? Makefile.mingw Invalid. Wrong. Utterly. mingw != cygwin. (and (not (eq? 'mingw 'cygwin)) (not (equal? 'mingw 'cygwin)) ) On 9/18/07, felix

[Chicken-users] 2.710: new BINARYVERSION

2007-09-19 Thread felix winkelmann
Hi! Since eggs installed with an older chicken and linked with chicken runtime libraries created from that older version may throw up all sorts of trouble on some platforms, the repository pathname (in particular, the number in $PREFIX/lib/chicken/BUILDVERSION) has been changed to avoid these

Re: [Chicken-users] build on Windows with MS compiler

2007-09-18 Thread felix winkelmann
On 9/17/07, Shawn Rutledge [EMAIL PROTECTED] wrote: I just tried it. With chicken-2.637, cmake can still generate the vcproj files if I remove the stuff about chicken.info from CMakeLists.txt; but it generates a couple warnings. I was disappointed that it did not generate a makefile for

Re: [Chicken-users] mathh does not compile on cygwin

2007-09-18 Thread felix winkelmann
On 9/18/07, Terrence Brannon [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /tmp : chicken-setup mathh The extension mathh does not exist. Do you want to download it ? (yes/no/abort) [yes] downloading mathh.egg from (www.call-with-current-continuation.org eggs 80) gunzip -c ../mathh.egg | tar

Re: [Chicken-users] build on Windows with cygwin

2007-09-18 Thread felix winkelmann
What makefile did you use? cheers, felix On 9/17/07, Shawn Rutledge [EMAIL PROTECTED] wrote: With cygwin, it helps if I add the flag -mno-cygwin, like this: C_COMPILER_OPTIONS = -fno-strict-aliasing -mno-cygwin -DHAVE_CHICKEN_CONFIG_H There is an explanation here:

Re: [Chicken-users] build on Windows with cygwin

2007-09-18 Thread felix winkelmann
On 9/18/07, Shawn Rutledge [EMAIL PROTECTED] wrote: That link says it can build against either cygwin or mingw. If I do not use -mno-cygwin, it complains about not finding direct.h. Depending on the makefile (a piece of information I need before I can say much more), this may be caused by

Re: [Chicken-users] (no subject)

2007-09-17 Thread felix winkelmann
On 9/16/07, Todd Ingalls [EMAIL PROTECTED] wrote: i built snapshot chicken-2.708 on intel mac, and now every egg i try to use results in a segmentation fault (use easyffi) ; loading /usr/local/lib/chicken/1/easyffi.so ... Segmentation fault ;1 (use loop) ; loading

Re: [Chicken-users] confirmed builds

2007-09-17 Thread felix winkelmann
On 9/16/07, Harri Haataja [EMAIL PROTECTED] wrote: On 14/09/2007, felix winkelmann [EMAIL PROTECTED] wrote: On 9/13/07, Shawn Rutledge [EMAIL PROTECTED] wrote: On 9/13/07, felix winkelmann [EMAIL PROTECTED] wrote: http://chicken.wiki.br/portability Please consider contributing more

Re: [Chicken-users] chicken-setup on Windows

2007-09-15 Thread felix winkelmann
I found a problem with the latest SVN check out of Chicken. chicken-setup could download and compile extensions all right, but failed when copying them because the paths passed to the copy command contained both forward- and back-slashes. I've attached a patch that will, under Windows only,

Re: [Chicken-users] confirmed builds

2007-09-14 Thread felix winkelmann
On 9/13/07, Shawn Rutledge [EMAIL PROTECTED] wrote: On 9/13/07, felix winkelmann [EMAIL PROTECTED] wrote: http://chicken.wiki.br/portability Please consider contributing more information to this page! I added ARM. Thanks! Maybe we should add a column for last version of Chicken which

Re: [Chicken-users] inlining

2007-09-13 Thread felix winkelmann
On 9/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all. Why do all the following commands produce identical binaries (using chicken's svn version)? 1. csc -d0 -disable-interrupts -disable-stack-overflow-checks -feature srfi-1 -inline -inline-limit 50 -no-lambda-info -no-trace -O3

[Chicken-users] confirmed builds

2007-09-13 Thread felix winkelmann
Hi! I've created a page listing the platforms where the current chicken is confirmed to build and run: http://chicken.wiki.br/portability Please consider contributing more information to this page! cheers, felix ___ Chicken-users mailing list

Re: [Chicken-users] Extending R5RS

2007-09-13 Thread felix winkelmann
On 9/13/07, Alex Queiroz [EMAIL PROTECTED] wrote: Hallo, It seens that the revolution is on the way: http://groups.google.com/group/comp.lang.scheme/browse_thread/thread/758f28cdc6058cf6?hl=en That doesn't actually look too bad: I was somewhat unsure whether to take that effort

Re: [Chicken-users] highlevel macros are not supported error

2007-09-10 Thread felix winkelmann
On 9/10/07, Kon Lovett [EMAIL PROTECTED] wrote: #;9 ; loading /usr/local/lib/chicken/1/pos.scm ... Error: (define-syntax) during expansion of (define-syntax ...) - highlevel macros are not supported I am of two minds about placing '(use syntax-case)' in syntax files that only work w/

[Chicken-users] serious bug in current uninstall make target

2007-09-08 Thread felix winkelmann
Hi! Please take care before doing a make uninstall with recent chicken versions: the uninstall target would nuke your entire $PREFIX/share ! (this is fixed now, BTW) cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] synonyms for module sought

2007-09-08 Thread felix winkelmann
On 9/7/07, Peter Bex [EMAIL PROTECTED] wrote: http://www.exploratorium.edu/cooking/eggs/eggcomposition.html suggests some more obscure names of things that are inside eggs. Splendid link, I say! Thanks for this one. cheers, felix ___

[Chicken-users] synonyms for module sought

2007-09-07 Thread felix winkelmann
IHi! could came up with these, so far: module (boring) package structure (misleading) library (impossible, due to political reasons, and also misleading) component (nah...) enclosure(...) Has anybody more to suggest? cheers, felix

Re: [Chicken-users] Any way to draw lines with bb *without* using GL?

2007-09-05 Thread felix winkelmann
On 9/4/07, Matt Welland [EMAIL PROTECTED] wrote: I'd like to draw simple polygons etc. in bb but I can't figure out how. Here is some example code from the web that does the kind of thing I want to do. Can it be done using bb? bb has no graphics API, I'm afraid. It wouldn't be too hard to add

Re: [Chicken-users] srfi-19 time, flonums and s11n

2007-09-03 Thread felix winkelmann
On 9/3/07, Shawn Rutledge [EMAIL PROTECTED] wrote: It would be nice if there were a way to keep 32-bit numbers that have been received from C, store them that way inside the time object, pass them across s11n that way, and only convert to bignum when you call (time-second). You could pass an

Re: [Chicken-users] Runtime syntax-case macros

2007-09-03 Thread felix winkelmann
On 9/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a bunch of syntax-case macros that should be available at runtime, so that eval is able to use them. I'm compiling statically. What is the simplest way to achieve this? You first have to create a statically linkable version

Re: [Chicken-users] Callback question

2007-09-01 Thread felix winkelmann
On 8/25/07, William Ramsay [EMAIL PROTECTED] wrote: Hi, When handling a callback with define-external, how do you get it to fall through. In other words, I'm watching for a Return keystroke in a dialog box. If the user presses a letter key, the key should be passed on to normal data entry.

Re: [Chicken-users] Returning a value from foreign-lambda*

2007-09-01 Thread felix winkelmann
On 8/28/07, Zbigniew [EMAIL PROTECTED] wrote: This is strange. What it used to say, at some point, was that the argument to return had to be wrapped in parentheses, i.e. return(x). That's because return() itself is a macro which does all the proper cleanup and calls the current continuation.

Re: [Chicken-users] Bug in chicken-2.636

2007-09-01 Thread felix winkelmann
On 8/30/07, Benedikt Rosenau [EMAIL PROTECTED] wrote: Hi Mario, Try $ LD_LIBRARY_PATH=/path/to/chicken-prefix/lib csi Thank you, I knew. What I meant is that this should be done in the setup/install scripts as it was done before. I think it is better when a system does run after

Re: [Chicken-users] Bug in chicken-2.636

2007-09-01 Thread felix winkelmann
On 9/1/07, Zbigniew [EMAIL PROTECTED] wrote: Hi Felix, Although I haven't been able to track this down (compilation works for me), this is the output for Benedikt's ldd: $ ldd `which csi` linux-gate.so.1 = (0xe000) libchicken.0 = not found libdl.so.2 =

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Sunnan [EMAIL PROTECTED] wrote: felix winkelmann wrote: I agree with Benedikt that dependencies should be kept at a minimum. It starts with simple sharing of code but quickly everything ends up in a tangle of dependencies that no one can comprehend. What's the alternative

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Arto Bendiken [EMAIL PROTECTED] wrote: I believe this is simply a case of a situation where more of the generally useful stuff should be pushed down to Chicken's standard library, whence all eggs could rely on that functionality always being available (unless compiled out e.g.

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Will M Farr [EMAIL PROTECTED] wrote: For an interesting perspective on this issue (which could probably be incorporated by minor changes in the egg system), you guys might have a look at PLT's PLaneT server. You can find a design paper at

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/24/07, John Cowan [EMAIL PROTECTED] wrote: If you need to make backward-incompatible changes to the API of an egg, make a new egg with a new name related to the old. Then persuade people to change over to the new egg. When you decide to pull support for the old egg, announce that in

Re: [Chicken-users] Seg fault in lookup-table egg

2007-08-22 Thread felix winkelmann
On 8/20/07, Kon Lovett [EMAIL PROTECTED] wrote: On Aug 20, 2007, at 6:46 AM, Alex Queiroz wrote: Hallo, After updating to the latest lookup-table egg, I get seg faults in chicken-meta-setup check, both in x86 and x86-64 Linux boxes. I don't. If misc-extn is out-of-date then a

Re: [Chicken-users] c-callbacks

2007-08-19 Thread felix winkelmann
On 8/17/07, Bastian Müller [EMAIL PROTECTED] wrote: ODE uses the following callback: typedef void dNearCallback (void *data, dGeomID o1, dGeomID o2); that I interfaced by (define-foreign-type dNearCallback (function void (c-pointer dGeomID dGeomID))) For the collision detection call

Re: [Chicken-users] c-callbacks

2007-08-19 Thread felix winkelmann
so, I put the define-external in graphics.scm, where I do now: (ode-space-collide space #f (location foobar)) and throws again: Error: (location) bad argument type - locative can not refer to objects of this type: #procedure (foobar data81 geom182 geom283) Does the definition of foobar

Re: [Chicken-users] C callback with SWIG

2007-08-19 Thread felix winkelmann
On 8/18/07, Bastian Müller [EMAIL PROTECTED] wrote: Anonymous functions and even normal ones don't work. How can I get this to work? Unfortunately, SWIG does not directly support callbacks. I don't know how the gtk egg handles this, but you will need to delve into typemaps for doing the

Re: [Chicken-users] SWIG and c-callback with arguments

2007-08-19 Thread felix winkelmann
On 8/20/07, Bastian Müller [EMAIL PROTECTED] wrote: Still, the code doesn't work with callback arguments. It would be very cool if somebody with more knowledge about scheme, chicken and swig could have a look at this. Again, safe calls must be used to avoid callbacks from crashing (check the

Re: [Chicken-users] SWIG and c-callback with arguments

2007-08-19 Thread felix winkelmann
On 8/20/07, Bastian Müller [EMAIL PROTECTED] wrote: The code doesn't crash. The callback get's called. That's not the problem. Oh, well. Then everything is fine. What's missing, is the support for argument passing. C_save should work ok. What exactly does happen? cheers, felix

Re: [Chicken-users] darcs repository?

2007-08-13 Thread felix winkelmann
On 8/14/07, Shawn W. [EMAIL PROTECTED] wrote: I went to update my local copy of the darcs repository for chicken, and it failed, looking like the URL for the repository is now some wiki page. http://galinha.ucpel.tche.br/chicken is what I've been pulling from. Did that change? All development

Re: [Chicken-users] loading tinyclos class definition into an executable - howto?

2007-08-12 Thread felix winkelmann
On 8/11/07, Matthew Welland [EMAIL PROTECTED] wrote: Why can't I use (load bar.scm), where bar.scm contains class definitions, in a compiled block? I'm writing a cgi based web app (a chicken based, primitive RoR) and I'd like to be able to compile most of my app but keep parts of it definable

Re: [Chicken-users] Packaging libraries securely

2007-08-09 Thread felix winkelmann
On 8/8/07, felix winkelmann [EMAIL PROTECTED] wrote: The sandbox egg will be the only thing that gives a bit of security, but it provides only a very basic Scheme dialect and is pretty slow. The only (somewhat brute-forcish) solution that comes to mind is to compile to a static executable

Re: [Chicken-users] Packaging libraries securely

2007-08-08 Thread felix winkelmann
On 8/8/07, Tony Sidaway [EMAIL PROTECTED] wrote: And so on. It seems to me that I need to do this otherwise just about everything in the namespace will be available at runtime, co-optable for bad stuff. Or am I just being a silly sausage? Is there a better way of doing this? The sandbox

Re: [Chicken-users] Question about easyffi

2007-08-06 Thread felix winkelmann
On 8/6/07, Ivan Raikov [EMAIL PROTECTED] wrote: The whole file is a bit long, but the neighborhood of line 55 is pasted below. I am guessing the reason for the error message is the fact that #define pyobject is after the function declaration? ___declare(type, pyobject;(c-pointer

Re: [Chicken-users] Question about easyffi

2007-08-06 Thread felix winkelmann
On 8/6/07, Ivan Raikov [EMAIL PROTECTED] wrote: Splitting the #! did help, thanks. Also, if a C function returns NULL, is the equivalent Scheme value #f, or is it a value that satisfies the null-pointer? predicate? It seems like my null-pointer? checks are complaining about bad argument

Re: [Chicken-users] Question about easyffi

2007-08-05 Thread felix winkelmann
On 8/6/07, Ivan Raikov [EMAIL PROTECTED] wrote: ;; Parse embed #! ___declare(type, pyobject;\PyObject\;py-object-to;py-object-from) PyObject *PyObject_CallObject (PyObject *, PyObject *); # [...] It compiles, but when I actually try to evaluate this:

Re: [Chicken-users] Question about easyffi

2007-08-05 Thread felix winkelmann
On 8/6/07, Ivan Raikov [EMAIL PROTECTED] wrote: This results in an error message from the C compiler: pyffi-support.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyObject_CallObject' Can you show me the relevant C code line, or even attach the whole compiled file?

Re: [Chicken-users] Question about easyffi

2007-08-03 Thread felix winkelmann
On 8/3/07, Ivan Raikov [EMAIL PROTECTED] wrote: Hi all, If I understand correctly, the easyffi extension translates types of the form TYPE * as (pointer TYPE). Is there some way to specify custom conversion procedures for a particular TYPE? For example, for the following C function:

Re: [Chicken-users] all bound symbols?

2007-08-03 Thread felix winkelmann
tcp timeouts are only available in newer chicken's (2.633 I think). cheers, felix On 8/3/07, Shawn Rutledge [EMAIL PROTECTED] wrote: On 8/3/07, felix winkelmann [EMAIL PROTECTED] wrote: On 8/3/07, Shawn Rutledge [EMAIL PROTECTED] wrote: Is there a way to list all bound symbols, or even

[Chicken-users] development snapshots

2007-08-02 Thread felix winkelmann
Hello, folks! Thanks to Mario, automatically built (daily) development snapshots are now available: http://chicken.wiki.br/dev-snapshots cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] External procedures at runtime

2007-08-01 Thread felix winkelmann
On 8/1/07, felix winkelmann [EMAIL PROTECTED] wrote: (bloody browser...) (define foo (letrec ((foo (extend-procedure (lambda () (print I'm foo, my data is: (procedure-data foo))) 99))) foo) ) cheers, felix

Re: [Chicken-users] External procedures at runtime

2007-08-01 Thread felix winkelmann
*cough* (define foo (letrec ((foo (extend-procedure (lambda () (print I'm foo, my data is: (procedure-data foo))) 99))) foo) ) cheers, felix ___ Chicken-users

Re: [Chicken-users] External procedures at runtime

2007-08-01 Thread felix winkelmann
On 8/1/07, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: You could also use letrec to refer to the procedure itself from inside the procedure. I'm probably being thick, but I don't see how. Can you show an example of this? (define foo (letrec ((foo (extend-procedure

Re: [Chicken-users] Some reorganization of Eggs Unlimited sections

2007-07-31 Thread felix winkelmann
True enough. That raise another question, though - can an egg be in multiple categories? Currently not. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Some reorganization of Eggs Unlimited sections

2007-07-31 Thread felix winkelmann
On 7/31/07, Ivan Shmakov [EMAIL PROTECTED] wrote: felix winkelmann [EMAIL PROTECTED] writes: True enough. That raise another question, though - can an egg be in multiple categories? Currently not. Any chance to get it working that way anytime soon? The .meta file may hold

Re: [Chicken-users] threaded TCP server

2007-07-30 Thread felix winkelmann
On 7/28/07, Shawn Rutledge [EMAIL PROTECTED] wrote: When I type (exit) into the telnet session, I get errors like this on the server side: Warning (#thread: thread6): : port already closed: #output port (tcp) Call history: eval (environment-copy

Re: [Chicken-users] wiki-texi converter

2007-07-30 Thread felix winkelmann
On 7/29/07, Ivan Raikov [EMAIL PROTECTED] wrote: Hi all, I have further improved the wiki-texi converter, to the point where it is able to produce a usable Chicken manual in Texinfo format. I have created a ticket on trac.calcc.org that includes a texinfo-related patch to stream-wiki,

Re: [Chicken-users] Realtime / Multi-embedding

2007-07-27 Thread felix winkelmann
On 7/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm working on a project where: (1) I need the gc to be as close to real time as possible (2) I would like to have multiple instances of embedeed scheme interpreters (not being able to directly effect each other). What is the easiest

Re: [Chicken-users] Scheme-themed cloth badges?

2007-07-26 Thread felix winkelmann
On 7/25/07, Alaric Snell-Pym [EMAIL PROTECTED] wrote: Just out of interest, is anybody interested in cloth badges with a lambda in parens? http://www.snell-pym.org.uk/archives/2007/06/12/cloth-badges/ Sorry, not interested unless their is a chicken in there somewhere. :-) cheers, felix

Re: [Chicken-users] Scheme-themed cloth badges?

2007-07-26 Thread felix winkelmann
On 7/26/07, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Just out of interest, is anybody interested in cloth badges with a lambda in parens? Sorry, not interested unless their is a chicken in there somewhere. :-) Ah, but in the Lambda Order* the lambda is the essence

Re: [Chicken-users] External procedures at runtime

2007-07-24 Thread felix winkelmann
On 7/24/07, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: What exactly do you mean with externally callable. Do you mean that it should be possible to recognize procedures defined with define-external? This shouldn't be too hard: the lolevel unit has some functions

Re: [Chicken-users] External procedures at runtime

2007-07-23 Thread felix winkelmann
On 7/24/07, John Cowan [EMAIL PROTECTED] wrote: IWBNI there were some way to examine a procedure object at runtime to see if the procedure is externally callable. That would make it possible to pass (certain) Scheme procedures safely to C code. What exactly do you mean with externally

Re: [Chicken-users] Signal woes.

2007-07-22 Thread felix winkelmann
On 7/21/07, Robin Lee Powell [EMAIL PROTECTED] wrote: I have an app that uses a couple of C libraries. The general problem I'm trying to solve is providing status updates to the user in a timely fashion (ideally, about 750ms). I've tried two approaches, both of which have failed: 1.

Re: [Chicken-users] Signal woes.

2007-07-22 Thread felix winkelmann
On 7/22/07, Thomas Christian Chust [EMAIL PROTECTED] wrote: Unfortunately, CHICKEN apparently doesn't support subsecond resolution for file-select. Indeed. Must fix that. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Bundling chicken.

2007-07-18 Thread felix winkelmann
On 7/17/07, Robin Lee Powell [EMAIL PROTECTED] wrote: I eventually found http://galinha.ucpel.tche.br:8080//linking%20eggs%20statically (which appears to be orphaned, by the way) and things are working now. So all is well? cheers, felix ___

Re: [Chicken-users] Bundling chicken.

2007-07-18 Thread felix winkelmann
On 7/18/07, Robin Lee Powell [EMAIL PROTECTED] wrote: On Wed, Jul 18, 2007 at 08:28:27AM +0200, felix winkelmann wrote: On 7/17/07, Robin Lee Powell [EMAIL PROTECTED] wrote: I eventually found http://galinha.ucpel.tche.br:8080//linking%20eggs%20statically (which appears to be orphaned

Re: [Chicken-users] Bundling chicken.

2007-07-16 Thread felix winkelmann
On 7/15/07, Robin Lee Powell [EMAIL PROTECTED] wrote: I've got an app that is almost 1.0 ready. I've seen the page on what C files you have to bundle to allow things to be compiled by people that don't have Chicken, but what I'm unclear on is what you have to do to allow people to run an app

[Chicken-users] operations

2007-07-16 Thread felix winkelmann
A quick and dirty implementation of T's (http://mumble.net/~jar/tproject/) object system is now available at: http://chicken.wiki.br/operations cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread felix winkelmann
Hi! Try passing -DWITHOUT_LIBFFI=TRUE to ccmake (or cmake). I don't know why this fails. cheers, felix On 7/13/07, Sunnan [EMAIL PROTECTED] wrote: I haven't compiled chicken for a while, but now I'm trying to compile darcs head. The first step is to run ccmake . , right? Well, it says

Re: [Chicken-users] libffi and cmake on gnu/linux again

2007-07-13 Thread felix winkelmann
BTW, in ccmake you can simply press e and continue. It should still be able to generate a makefile. cheers, felix On 7/13/07, Sunnan [EMAIL PROTECTED] wrote: I haven't compiled chicken for a while, but now I'm trying to compile darcs head. The first step is to run ccmake . , right? Well,

Re: [Chicken-users] openssl problem

2007-07-12 Thread felix winkelmann
On 7/11/07, Mark Voortman [EMAIL PROTECTED] wrote: Folks, I just ran into a problem with the openssl egg. If I run the code below and browse to https://localhost/ it shows the certificate and everything, but the page keeps loading. Only when I kill the server it actually shows the page. My

Re: [Chicken-users] chicken-profile: negative call numbers

2007-07-11 Thread felix winkelmann
On 7/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all. What do negative call numbers in the output of chicken-profile mean? Example: procedure callsseconds average percent ... g-compare 1657774727.0 4188.5200.000

[Chicken-users] Re: Lua

2007-07-11 Thread felix winkelmann
On 7/11/07, John Cowan [EMAIL PROTECTED] wrote: John Cowan scripsit: Excellent! Can you put it in the repository? Also, I think you should consider using the unspecified object as Lua nil; conceptually they are pretty much the same. That frees up symbols (as well as strings) to be

Re: [Chicken-users] chicken-profile: negative call numbers

2007-07-11 Thread felix winkelmann
Could you try the current darcs head? I have modfied the profiling runtime code and chicken-profile to handle fixnum overlflow in this case. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] openssl problem

2007-07-11 Thread felix winkelmann
On 11 Jul 2007 12:01:30 -0300, Mario Domenech Goulart [EMAIL PROTECTED] A random thought: isn't it a buffering problem? In case it makes sense, take a look at http://chicken.wiki.br/Unit%20posix#set-buffering-mode! I don't think so - closing the port should flush all remaining output.

[Chicken-users] Re: Lua

2007-07-10 Thread felix winkelmann
On 7/7/07, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: I have most of it working, where you thinking of something particular? Or is evaluating Lua code enough? I'd like to see. Why not publish it as an 0.1 egg? Have a look at http://chicken.wiki.br/lua cheers, felix

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

2007-07-10 Thread felix winkelmann
On 7/10/07, John Cowan [EMAIL PROTECTED] wrote: Thomas Christian Chust scripsit: I have now changed the sqlite3 egg to represent NULL values as (void) on the CHICKEN side. I have also made the necessary changes to the sqlite3-tinyclos object relation mapper egg. Excellent! It would be good

Re: [Chicken-users] Automated builds

2007-07-09 Thread felix winkelmann
On 7/3/07, Arto Bendiken [EMAIL PROTECTED] wrote: Perhaps, then, we could use a form like (platforms ...) to indicate that an egg will only build on some specific platforms. One would probably like to refer to some existing build/package management platform for a good standard set of symbolic

Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-09 Thread felix winkelmann
On 7/8/07, Martin DeMello [EMAIL PROTECTED] wrote: No, I want a C function whose body is a string generated by combining a template and some arguments that fill in slots in the template. (define-macro (foo name x) `(define ,name (foreign-lambda* void ((c-string arg)) ,(format #f

Re: [Chicken-users] Automated builds

2007-07-09 Thread felix winkelmann
On 09 Jul 2007 13:22:35 -0300, Mario Domenech Goulart [EMAIL PROTECTED] Maybe it should be used only when the egg is platform-specific, since we have only a few eggs in this situation. If (platform ...) is ommited, it means that the egg is platform-independent. Otherwise, as far as I

Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-09 Thread felix winkelmann
On 7/10/07, Martin DeMello [EMAIL PROTECTED] wrote: Thanks! I was trying to use string-concatenate, but couldn't manage to make it available at macro expansion time (is this possible?) (require-for-syntax 'sfi-13) cheers, felix ___

Re: [Chicken-users] ffi - the right way to return a list holding integers and strings

2007-07-06 Thread felix winkelmann
On 7/4/07, foobar [EMAIL PROTECTED] wrote: hi, as the title allready suggests i'm looking for a way to return a list from within a c-function. I know how to return a list, but what i don't know is how to fill some of the elements with strings. More importantly how does the

Re: [Chicken-users] ffi - the right way to return a list holding integers and strings

2007-07-06 Thread felix winkelmann
On 7/6/07, foobar [EMAIL PROTECTED] wrote: Great thanks. Just to be sure i've done it correctly. Here is an example on how i would return a list of one string element. (define return-a-list-with-string-elt (foreign-primitive scheme-object () char str[] = \hallo\;

Re: [Chicken-users] How to FFI?

2007-07-05 Thread felix winkelmann
On 7/4/07, Robin Lee Powell [EMAIL PROTECTED] wrote: What's SWIG? A heavy duty version of easyffi: http://www.swig.org I'm actually doing both CDK and libxmmsclient, and I don't need a compelet wrapper for either of them; I just want things to work, and I don't mind adding bits of CDK in

Re: [Chicken-users] Automated builds

2007-07-05 Thread felix winkelmann
On 03 Jul 2007 21:50:54 -0300, Mario Domenech Goulart [EMAIL PROTECTED] The problem is that salmonella doesn't check .meta files contents and .meta files are not part of .egg files. Recently, the .meta files are also included in the eggs (automatically, via egg-post-commit). cheers, felix

Re: [Chicken-users] preferred gui library

2007-07-05 Thread felix winkelmann
On 7/6/07, John Cowan [EMAIL PROTECTED] wrote: Alex Queiroz scripsit: It's developed at the same university of one of my preferred languages, Lua. Hmmm. Chicken needs a Lua egg! I have most of it working, where you thinking of something particular? Or is evaluating Lua code enough?

Re: [Chicken-users] wxWidgets

2007-07-05 Thread felix winkelmann
On 7/6/07, Alex Queiroz [EMAIL PROTECTED] wrote: Hallo, On 7/5/07, Brandon Van Every [EMAIL PROTECTED] wrote: Ok, so, like, refresh my memory why people object to wxWidgets. Because, you know, like, it seems a pretty obvious choice for cross-platform GUI work. http://www.wxwidgets.org Is

Re: [Chicken-users] Columnar text display code?

2007-07-05 Thread felix winkelmann
On 05 Jul 2007 23:22:10 -0300, Mario Domenech Goulart [EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007 22:44:35 -0300 Bruno Deferrari [EMAIL PROTECTED] wrote: Maybe the fmt combinator formatting library by Alex Shinn is what you need: http://synthcode.com/scheme/fmt/ Also available as an egg:

<    4   5   6   7   8   9   10   11   12   13   >