ac8cb7d247- port-has-port-position? and port-position are now honest wrt the supplied arguments for custom port constructors.
Abdulaziz Ghuloum
2008-11-11 16:31:35 -0500
5d3e70fa83- removed note about "equal? not terminating" in documentation.
Abdulaziz Ghuloum
2008-11-11 00:59:31 -0500
766eb7f539- fixed equal? to terminate on all inputs as mandated by R6RS. (thanks to Michael Adams and Kent Dybvig for making the code available in its entirety in their ICFP 2008 paper)
Abdulaziz Ghuloum
2008-11-11 00:39:02 -0500
25f40fefb0Added the following file system primitives - file-readable? path -> boolean - file-writable? path -> boolean - file-executable? path -> boolean - file-size path -> integer - rename-file source dest -> void (thanks to Andreas Rottmann)
Abdulaziz Ghuloum
2008-11-10 23:36:11 -0500
2903b7f9e0fixed printing of #<output-port ---> (were written as #<input-port --->).
Abdulaziz Ghuloum
2008-11-09 23:12:51 -0500
122f4f1663- added configure option for supporting large files.
Abdulaziz Ghuloum
2008-11-09 22:24:04 -0500
bdda213120fixed lookahead-char so that it doesn't advance the port position on decoding errors.
Abdulaziz Ghuloum
2008-11-07 22:09:02 -0500
a9da844a46- fixed minor bug when reading an identifier from a port with an invalid unicode decoding sequence.
Abdulaziz Ghuloum
2008-11-07 21:53:55 -0500
9c60997b02- invoking ikarus in r6rs mode now takes optional library files arguments as in $ ikarus <library-file> ... --r6rs-script <script-file> args ...
Abdulaziz Ghuloum
2008-11-01 16:19:35 -0400
ae9d095527- fixed bug in printing "-0.0i" on some archs (cygwin, solaris, etc.) - fixed bug reading non-ascii strings in 64-bit mode.
Abdulaziz Ghuloum
2008-11-01 15:13:27 -0400
069bd683cd- added file-mtime - Ikarus fasl files and source files are not compared using (< (file-mtime ikfasl) (file-mtime filename)) instead of (<= (file-ctime ikfasl) (file-ctime filename))
Abdulaziz Ghuloum
2008-11-01 07:28:08 -0400
74a1d302ec- added better hashing function for flonums and bignums.
Abdulaziz Ghuloum
2008-10-31 23:53:15 -0400
8afcbbef67- fixed function cast in ikarus-ffi. - added "make check" rule in the scheme directory.
Abdulaziz Ghuloum
2008-10-31 16:55:43 -0400
359aa1d2c9- fixed errors where multiple internal definitions were silently allowed if typed in the repl. - added some tests for the interaction environment.
Abdulaziz Ghuloum
2008-10-31 16:22:25 -0400
db2604ad2aopen-file-input-port and open-file-output-port now signal an error when file-options are not enum-sets.
Abdulaziz Ghuloum
2008-10-29 14:10:24 -0400
d2022faf53fixed a few gcc warnings as reported in bug 288824.
Abdulaziz Ghuloum
2008-10-29 13:54:06 -0400
5ed3f80901- fixed problem with importing (main) when (main main) is available. - fixed decoding of library names containing funny characters.
Abdulaziz Ghuloum
2008-10-23 13:26:07 -0400
32a260ebb0added doc/ikarus-scheme-users-guide.pdf which I've deleted by mistake.
Abdulaziz Ghuloum
2008-10-23 08:45:44 -0400
d3fb9eeb96Added an "_" to the file name obtained from library-name->file-name if the last symbol of the library name matches the regex "^main_*$".
Abdulaziz Ghuloum
2008-10-23 00:40:50 -0400
c19b79927e- Changed set of library extensions to be: ("/main.ikarus.sls" "/main.ikarus.ss" "/main.ikarus.scm" "/main.sls" "/main.ss" "/main.scm" ".ikarus.sls" ".ikarus.ss" ".ikarus.scm" ".sls" ".ss" ".scm") and updated documentation accordingly.
Abdulaziz Ghuloum
2008-10-22 21:15:12 -0400
cc686d8e8futf16-coded output port do not produce a BOM now.
Abdulaziz Ghuloum
2008-10-21 23:00:10 -0400
f1013454dbfixed wrong endianness in bytevector-[su]32-native-ref.
Abdulaziz Ghuloum
2008-10-21 06:03:31 -0400
d8058e0cbfutf16 output ports now work.
Abdulaziz Ghuloum
2008-10-21 03:31:44 -0400
b63055aed0- changed argument type passed to ik_mmap* to be long int. - mmap errors report request size (for debugging 64-bit errors) - added a config definition for FLAT_TABLES which is not yet used (32-bit ikarus will use flat segment and dirty tables while 64-bit ikarus will use two-level tables)
Abdulaziz Ghuloum
2008-10-21 00:43:27 -0400
c0978044a5fixed a big in string->utf16 and string->utf32 that I introduced in the last commit.
Abdulaziz Ghuloum
2008-10-19 23:10:34 -0400
0da61d51cb- input ports can now handle utf-16 codecs.
Abdulaziz Ghuloum
2008-10-19 18:43:42 -0400
8cd9d6ef16- supplying <init-files> for --r6rs-script or --script now raises an error (as suggested by Derick Eddington). - The -h or [-b <bootfile>] options must now come first, so, the rest of the command-line arguments are not scanned: only the first one or two. The docs (in ikarus -h) already suggested the correct invocation arguments, so, this conforms to the previously documented behavior.
Abdulaziz Ghuloum
2008-10-18 17:49:20 -0400
c464e8ebce- open-file-output-port now understands "none" as a buffer-mode. Previously, all output ports were unbuffered. - the console error port is made unbuffered.
Abdulaziz Ghuloum
2008-10-18 17:01:57 -0400
8844e118b8- flushing of output ports now happens as soon as the port is full rather than at subsequent write operations.
Abdulaziz Ghuloum
2008-10-18 15:42:11 -0400
7b32940d04- fixed a silly bug in (/ <bignum> x/y) which evaluated to (/ (* <bignum> x) y) instead of (/ (* <bignum> y) x).
Abdulaziz Ghuloum
2008-10-18 13:34:18 -0400
69d573a54ffixed bugs in char-ci-*? procedures in the 3+ args case. E.g., (char-ci<=? #\a #\r #\z)
Abdulaziz Ghuloum
2008-10-18 13:19:01 -0400
29edb9d800cleaned up the test suite a little.
Abdulaziz Ghuloum
2008-10-18 13:03:17 -0400
06e9d149c9- fixed bug in tag annotation for primitives that are applied an incorrect number of arguments.
Abdulaziz Ghuloum
2008-10-17 21:37:05 -0400
0d91ab9774- pretty-printing record type now work properly and share/graph marks are propagated between record fields and surrounding context.
Abdulaziz Ghuloum
2008-10-16 02:43:03 -0400
f570ea8c2a- interface between write/display and custom struct writers is changed in order to allow large structures (e.g., libraries, syntax objects, etc.) to print efficiently. This is done by only traversing the parts of the structure that will actually be printed, rather than traversing the whole data structure (which is what write/display used to do). Pretty-print should be fixed in a similar manner (TODO).
Abdulaziz Ghuloum
2008-10-15 07:44:06 -0400
fd567eb0c6- fasl reader did not know how to read strings containing unicode chars, fixed.
Abdulaziz Ghuloum
2008-10-14 02:28:46 -0400
afa61cc1a7- synching scheme/psyntax.*.ss from the psyntax distribution.
Abdulaziz Ghuloum
2008-10-13 17:33:25 -0400
442f6e9049- native bytevector operations on 16-bit values were implemented using the wrong endianness.
Abdulaziz Ghuloum
2008-10-13 02:40:26 -0400
1be0f2af6e- changed foreign accessors and mutator names to have '-c-' in their names as suggested by Ken Dickey.
Abdulaziz Ghuloum
2008-10-12 02:06:25 -0400
811c94361b- fixed bugs in pass-specify-rep where some (known) types were unhandled causing compile time errors. - fixed some bootstrapping issues with pointer? (which was moved out of the (ikarus) library) - freshened up the bootfiles for both 32- and 64-bit version of ikarus.
Abdulaziz Ghuloum
2008-10-12 01:15:20 -0400
69c62649cc- defined RTLD_LOCAL for cygwin (possibly incorrect) - added a missing save to a callee-save register (%edi) when entering/reentering to Scheme which caused Ikarus not to run properly depending on whether or not gcc places the pcb in %edi or not during Scheme execution. - updated lab/test-ffi.ss to use the new names for foreign types, etc.
Abdulaziz Ghuloum
2008-10-07 02:46:56 -0400
1e5e516b08- added (ikarus foreign) library that should be used instead of (ikarus system $foreign). - changed the names of some of the pointer primitives - changed the name of the procedure make-ffi to make-callout - updated examples and libraries to conform with new names - updated the users guide to provide a complete description of the (ikarus foreign) library - updated list of missing R6RS features in the users guide
Abdulaziz Ghuloum
2008-10-06 01:19:27 -0400
997c75fabbfixed a bug that caused (- <bignum> <bignum>) to crash or yield incorrect result if gc is triggered while allocating the resulting bignum.
Abdulaziz Ghuloum
2008-10-04 01:59:34 -0400
cd4e12be68One can now create (at runtime) objective-c classes and add methods to them to get them to do things. See lab/objc-create-class.ss for a cute example.
Abdulaziz Ghuloum
2008-09-29 01:40:58 -0400
0a7a3a8266made load feel like a top-level by consuming the contents of the given file one expression at a time. Most notable difference is observed when the loaded file captures a conitnuation in one expression. Re-invoking this continuation should evaluate the next expression that has not been evaluated yet, and not the expression following the call/cc.
Abdulaziz Ghuloum
2008-09-28 00:08:34 -0400
a2c910d990Got the apple menu to work in cocoa.
Abdulaziz Ghuloum
2008-09-27 01:55:06 -0400
60f5142143Added a Cocoa library exporting some useful Cocoa stuff.
Abdulaziz Ghuloum
2008-09-26 04:11:18 -0400
8c30f0715bManaged to a simple Ikarus -> Objective-C interface to work. Ikarus can now open a Cocoa window under Mac OS X. Happy Happy Joy Joy!!
Abdulaziz Ghuloum
2008-09-26 02:46:07 -0400
89d9a472a5"darwin" is no longer hardcoded in lib/ypsilon-compat.ikarus.ss, instead, it is obtained from the target info that autoconf generates.
Abdulaziz Ghuloum
2008-09-24 23:18:35 -0400
3969e56c2dglGetString works (returning a char* which is converted to a string)
Abdulaziz Ghuloum
2008-09-24 07:55:23 -0400
55c3fbcc4dmoved the opengl libraries from lab/ to lib/ so that they get installed as user libraries.
Abdulaziz Ghuloum
2008-09-24 07:22:25 -0400
6a9de3e974the opengl demos now work unmodified under both ikarus and ypsilon.
Abdulaziz Ghuloum
2008-09-24 06:00:42 -0400
c8d0baa341rewrote ypsilon FFI compatibility layer to be simpler and to provide better error checking.
Abdulaziz Ghuloum
2008-09-24 05:22:53 -0400
9f53841fb9fixed endianness error in bytevector-native-[us]32-native-set!.
Abdulaziz Ghuloum
2008-09-23 08:02:47 -0400
61ecbe0dd1- opengl demos from ypsilon (gears and glut-demo) now work under ikarus's ffi using a compatibility layer.
Abdulaziz Ghuloum
2008-09-23 07:48:16 -0400
abe97b4053- argument conversion for callbacks now work. - added more tests in lab/test-ffi.ss
Abdulaziz Ghuloum
2008-09-23 03:21:41 -0400
876ab09eee- gc during callbacks now works. - system continuations are now maintained as part of the list in pcb->next_k.
Abdulaziz Ghuloum
2008-09-23 01:49:06 -0400
df4cb7a6cefixed an off-by-one bug in ffi callbacks.
Abdulaziz Ghuloum
2008-09-23 00:24:41 -0400
09657334c0fixed autoconf so that ffi.h and libffi are checked iff ffi is enabled. Also made prep-callback return #f if libffi does not support closures.
Abdulaziz Ghuloum
2008-09-22 21:55:05 -0400
58d937c520upgraded to using latest versions of autoconf, aclocal, and m4.
Abdulaziz Ghuloum
2008-09-13 15:16:14 -0700
8e750562d6- Added memory operations on pointer types for setting and accessing char, short, int, and long values from pointer arrays.
Abdulaziz Ghuloum
2008-09-13 07:49:17 -0700
e05e84d1c2Added dlopen, dlclose, dlerror, dlsym, malloc, and free to (ikarus system $foreign).
Abdulaziz Ghuloum
2008-09-12 14:22:57 -0700
30cd6a2de8made environment-symbols work on the interaction-environment.
Abdulaziz Ghuloum
2008-09-10 11:02:42 -0700
0b017898a8- minor change to how export (with renaming) is parsed. When you rename from-name to to-name, the from-name is now treated as an identifier while the to-name is treated as a symbol.
Abdulaziz Ghuloum
2008-09-10 08:17:18 -0700
fcef21c693- Added (environment-symbols <env>) which returns a list of symbols exported by the environment. Try > (environment-symbols (environment '(rnrs)))
Abdulaziz Ghuloum
2008-09-10 06:35:18 -0700
a9193018a6added a cgi-server example to lab.
Abdulaziz Ghuloum
2008-09-10 05:22:21 -0700
c597e7a4b3Added option for searching for socket and nanosleep in libraries -lsocket and -lrt (makes it work on SunOS).
Abdulaziz Ghuloum
2008-09-08 14:43:47 -0700
814c797633- removed bset/h instruction from the compiler (it was rarely used and not implemented 100% correctly) - fixed parameterize to allow (parameterize () def ... exp exp ...)
Abdulaziz Ghuloum
2008-09-06 04:17:20 -0700
9b9464229a- fixed how stack overflow check is performed (now using unsigned arithmetic to compare the stack pointer with the redline). - disabled stack overflow check elimination due to a bug in the logic that assumes primitive calls are not recursive.
Abdulaziz Ghuloum
2008-08-13 22:28:22 -0700
b9085e15da- more work on trig functions - mkstx now checks that double wraps are not merged incorrectly
Abdulaziz Ghuloum
2008-08-12 01:17:04 -0700
476a0cb6d8fixed small bug in rationalize
Abdulaziz Ghuloum
2008-08-11 13:38:28 -0700
c64fda7619fixed a few problems in geometric functions when they are passed complex numbers or when they're passed real numbers but the results are complex.
Abdulaziz Ghuloum
2008-08-11 10:37:05 -0700
e58c53cca5symbols containing unicode characters now print properly and respect the print-unicode parameter.
Abdulaziz Ghuloum
2008-08-10 11:50:39 -0700
fdca9ed33fcommand line arguments are now interpreted as utf8 strings.
Abdulaziz Ghuloum
2008-08-10 11:33:10 -0700
2ad6d9bddfstrings containing non-ascii characters are written using either hex escaping or as-is depending on the value of the print-unicode parameter.
Abdulaziz Ghuloum
2008-08-10 11:03:09 -0700
22d216f9ed- fixed a problem with loading an empty file. - added ikarus.reader.annotated.ss to Makefile.am.
Abdulaziz Ghuloum
2008-08-10 10:46:24 -0700
16284e6545fixed a bug that might cause ikarus to crash in directory-list.
Abdulaziz Ghuloum
2008-08-10 10:37:39 -0700
7bacb4a0a5Added string-downcase and string-upcase. String-downcase does not handle greek-final-sigma properly.
Abdulaziz Ghuloum
2008-08-09 07:12:22 -0700
e24356eb4ascheme-script is now its own program; it does not fork and exec ikarus, and therefore does not interfere with ikarus's command line parsing.
Abdulaziz Ghuloum
2008-08-09 05:47:44 -0700