iolib:static-vectors.git
5 years agoRelease 1.4 v1.4
Stelian Ionescu [Fri, 1 Jun 2012 19:49:40 +0000 (21:49 +0200)]
Release 1.4

5 years agoCompile some tests at definition-time
Stelian Ionescu [Tue, 6 Mar 2012 18:09:06 +0000 (19:09 +0100)]
Compile some tests at definition-time

5 years agoFix detection of compiler-macro error
Stelian Ionescu [Tue, 6 Mar 2012 18:08:28 +0000 (19:08 +0100)]
Fix detection of compiler-macro error

5 years agoFix %ALLOCATE-VECTOR on SBCL
Stelian Ionescu [Tue, 6 Mar 2012 18:07:31 +0000 (19:07 +0100)]
Fix %ALLOCATE-VECTOR on SBCL

Use SB-SYS memory setters instead of CFFI's

5 years agoAdd test suite
Stelian Ionescu [Tue, 6 Mar 2012 15:30:11 +0000 (16:30 +0100)]
Add test suite

5 years agoRemove SYMBOL-MACRO-VALUE, use plain MACROEXPAND instead
Stelian Ionescu [Tue, 6 Mar 2012 15:29:26 +0000 (16:29 +0100)]
Remove SYMBOL-MACRO-VALUE, use plain MACROEXPAND instead

5 years agoEvaluate constant arguments as soon as possible, inside the compiler-macro of MAKE...
Stelian Ionescu [Tue, 6 Mar 2012 15:27:25 +0000 (16:27 +0100)]
Evaluate constant arguments as soon as possible, inside the compiler-macro of MAKE-STATIC-VECTOR

5 years agoQualify DEFSYSTEM
Stelian Ionescu [Tue, 6 Mar 2012 15:25:39 +0000 (16:25 +0100)]
Qualify DEFSYSTEM

5 years agoMove version string to version.lisp-expr
Stelian Ionescu [Tue, 6 Mar 2012 15:25:22 +0000 (16:25 +0100)]
Move version string to version.lisp-expr

5 years agoVersion 1.2 v1.2
Stelian Ionescu [Tue, 6 Dec 2011 09:06:37 +0000 (10:06 +0100)]
Version 1.2

5 years agoUse keyword to specify cffi-grovel file class
Stelian Ionescu [Tue, 6 Dec 2011 09:06:22 +0000 (10:06 +0100)]
Use keyword to specify cffi-grovel file class

5 years agoVersion 1.1 v1.1
Stelian Ionescu [Mon, 5 Dec 2011 21:13:39 +0000 (22:13 +0100)]
Version 1.1

5 years agoFix licence year
Stelian Ionescu [Mon, 5 Dec 2011 21:12:36 +0000 (22:12 +0100)]
Fix licence year

5 years agoMove dependency on cffi-grovel into :defsystem-depends-on
Stelian Ionescu [Mon, 5 Dec 2011 20:52:04 +0000 (21:52 +0100)]
Move dependency on cffi-grovel into :defsystem-depends-on

5 years agoRelease 1.0 v1.0
Stelian Ionescu [Wed, 16 Nov 2011 15:04:21 +0000 (16:04 +0100)]
Release 1.0

5 years agoAdd improved CONSTANTP, use EVAL-CONSTANT instead of EVAL
Stelian Ionescu [Wed, 16 Nov 2011 15:03:58 +0000 (16:03 +0100)]
Add improved CONSTANTP, use EVAL-CONSTANT instead of EVAL

7 years agoAdd support for CMUCL
Stelian Ionescu [Wed, 14 Jul 2010 22:04:04 +0000 (06:04 +0800)]
Add support for CMUCL

Minimum required version is snapshot 2010-07

7 years agoRemove obsolete versions of MAKE-STATIC-VECTOR from ECL and Lispworks implementations
Stelian Ionescu [Wed, 14 Jul 2010 21:57:17 +0000 (05:57 +0800)]
Remove obsolete versions of MAKE-STATIC-VECTOR from ECL and Lispworks implementations

7 years agoAdd argument :INITIAL-CONTENTS to MAKE-STATIC-VECTOR, some refactoring.
Stelian Ionescu [Wed, 16 Jun 2010 20:33:12 +0000 (04:33 +0800)]
Add argument :INITIAL-CONTENTS to MAKE-STATIC-VECTOR, some refactoring.

All implementations now use the same MAKE-STATIC-VECTOR and its
COMPILER-MACRO.

7 years agoFix file headers
Stelian Ionescu [Wed, 16 Jun 2010 20:23:35 +0000 (04:23 +0800)]
Fix file headers

7 years agoFix call to FOREIGN-ALLOC
Stelian Ionescu [Tue, 18 May 2010 18:16:08 +0000 (02:16 +0800)]
Fix call to FOREIGN-ALLOC

7 years agoRemove array alignment from SBCL implementation until implemented properly.
Stelian Ionescu [Tue, 18 May 2010 14:42:17 +0000 (22:42 +0800)]
Remove array alignment from SBCL implementation until implemented properly.

7 years agoAdd use notes
Stelian Ionescu [Tue, 18 May 2010 14:28:51 +0000 (22:28 +0800)]
Add use notes

7 years agoExecute the body of WITH-STATIC-VECTOR inside a LOCALLY where necessary.
Stelian Ionescu [Fri, 19 Mar 2010 12:44:11 +0000 (13:44 +0100)]
Execute the body of WITH-STATIC-VECTOR inside a LOCALLY where necessary.

7 years agoUse WITH-LOCAL-INTERRUPTS instead of WITH-INTERUPTS inside WITH-STATIC-VECTOR.
Stelian Ionescu [Mon, 15 Mar 2010 14:26:52 +0000 (15:26 +0100)]
Use WITH-LOCAL-INTERRUPTS instead of WITH-INTERUPTS inside WITH-STATIC-VECTOR.

Thanks to Gábor Melis for suggesting this.

7 years agoSlightly shorter code in STATIC-ALLOC.
Stelian Ionescu [Sat, 13 Mar 2010 04:16:19 +0000 (05:16 +0100)]
Slightly shorter code in STATIC-ALLOC.

7 years agoUse posix_memalign(3) to allocate pagesize-aligned arrays on SBCL.
Stelian Ionescu [Sat, 13 Mar 2010 04:00:21 +0000 (05:00 +0100)]
Use posix_memalign(3) to allocate pagesize-aligned arrays on SBCL.

7 years agoFix .asd clnet/master gitorious/master
Stelian Ionescu [Sun, 27 Dec 2009 23:44:05 +0000 (00:44 +0100)]
Fix .asd

7 years agoWhitespace.
Stelian Ionescu [Sun, 27 Dec 2009 16:54:30 +0000 (17:54 +0100)]
Whitespace.

7 years agoRename impl-ccl.lisp to impl-clozure.lisp
Stelian Ionescu [Fri, 25 Dec 2009 00:47:29 +0000 (01:47 +0100)]
Rename impl-ccl.lisp to impl-clozure.lisp

7 years agoFix for ECL
Stelian Ionescu [Mon, 9 Nov 2009 14:27:04 +0000 (15:27 +0100)]
Fix for ECL

7 years agoAdd ECL implementation
Stelian Ionescu [Mon, 9 Nov 2009 13:46:45 +0000 (14:46 +0100)]
Add ECL implementation

7 years agoRemove STATIC-VECTOR-ADDRESS from Allegro implementation and inline it.
Stelian Ionescu [Mon, 9 Nov 2009 13:46:05 +0000 (14:46 +0100)]
Remove STATIC-VECTOR-ADDRESS from Allegro implementation and inline it.

7 years agoRename COPY-FOREIGN-MEMORY to REPLACE-FOREIGN-MEMORY, swap order of source and destin...
Stelian Ionescu [Wed, 21 Oct 2009 10:20:19 +0000 (12:20 +0200)]
Rename COPY-FOREIGN-MEMORY to REPLACE-FOREIGN-MEMORY, swap order of source and destination pointers to match CL:REPLACE.

7 years agoUse FFI functions for FILL-FOREIGN-MEMORY and COPY-FOREIGN-MEMORY on Lispworks.
Stelian Ionescu [Wed, 21 Oct 2009 10:16:01 +0000 (12:16 +0200)]
Use FFI functions for FILL-FOREIGN-MEMORY and COPY-FOREIGN-MEMORY on Lispworks.

7 years agoAdd CFFI type translator.
Stelian Ionescu [Wed, 21 Oct 2009 01:55:05 +0000 (03:55 +0200)]
Add CFFI type translator.

7 years agoAdd ffi-types.lisp
Stelian Ionescu [Wed, 21 Oct 2009 01:49:21 +0000 (03:49 +0200)]
Add ffi-types.lisp

7 years agoGrovel size_t where using memset(3).
Stelian Ionescu [Wed, 21 Oct 2009 01:39:03 +0000 (03:39 +0200)]
Grovel size_t where using memset(3).

7 years agoVectors are now initialized only if INITIAL-ELEMENT is not NIL.
Stelian Ionescu [Wed, 21 Oct 2009 01:19:51 +0000 (03:19 +0200)]
Vectors are now initialized only if INITIAL-ELEMENT is not NIL.

The assumption is that specialized vectors cannot contain NIL,
therefore it is safe to use NIL in this fashion.

7 years agoAdd keyarg OFFSET to STATIC-VECTOR-POINTER.
Stelian Ionescu [Wed, 21 Oct 2009 00:36:05 +0000 (02:36 +0200)]
Add keyarg OFFSET to STATIC-VECTOR-POINTER.

7 years agoAdd Lispworks implementation.
Stelian Ionescu [Wed, 21 Oct 2009 00:30:03 +0000 (02:30 +0200)]
Add Lispworks implementation.

7 years agoRemove unused static-vector-address from CCL implementation.
Stelian Ionescu [Sun, 18 Oct 2009 15:22:07 +0000 (17:22 +0200)]
Remove unused static-vector-address from CCL implementation.

7 years agoRename STATIC-VECTOR-DATA-POINTER -> STATIC-VECTOR-POINTER.
Stelian Ionescu [Sun, 18 Oct 2009 15:11:10 +0000 (17:11 +0200)]
Rename STATIC-VECTOR-DATA-POINTER -> STATIC-VECTOR-POINTER.

7 years agoMinor change.
Stelian Ionescu [Sun, 18 Oct 2009 15:07:45 +0000 (17:07 +0200)]
Minor change.

7 years agoUnexport STATIC-VECTOR-ADDRESS.
Stelian Ionescu [Sun, 18 Oct 2009 15:07:30 +0000 (17:07 +0200)]
Unexport STATIC-VECTOR-ADDRESS.

7 years agoAdd Allegro implementation.
Stelian Ionescu [Sun, 18 Oct 2009 03:38:35 +0000 (05:38 +0200)]
Add Allegro implementation.

7 years agoFix WITH-STATIC-VECTOR.
Stelian Ionescu [Sun, 18 Oct 2009 03:12:37 +0000 (05:12 +0200)]
Fix WITH-STATIC-VECTOR.

7 years agoAlways return (VALUES) from FREE-STATIC-VECTOR.
Stelian Ionescu [Sun, 18 Oct 2009 03:12:25 +0000 (05:12 +0200)]
Always return (VALUES) from FREE-STATIC-VECTOR.

7 years agoClean ASDF file up.
Stelian Ionescu [Sun, 18 Oct 2009 02:42:34 +0000 (04:42 +0200)]
Clean ASDF file up.

7 years agoMove %CHOOSE-INITIAL-ELEMENT into common file.
Stelian Ionescu [Sun, 18 Oct 2009 01:38:51 +0000 (03:38 +0200)]
Move %CHOOSE-INITIAL-ELEMENT into common file.

7 years agoAdd CCL implementation.
Stelian Ionescu [Sun, 18 Oct 2009 01:33:35 +0000 (03:33 +0200)]
Add CCL implementation.

7 years agoReturn the pointer to the modified memory area in FILL-FOREIGN-MEMORY and COPY-FOREIG...
Stelian Ionescu [Sun, 18 Oct 2009 01:32:03 +0000 (03:32 +0200)]
Return the pointer to the modified memory area in FILL-FOREIGN-MEMORY and COPY-FOREIGN-MEMORY.

7 years agoUse the macro environment with CONSTANTP.
Stelian Ionescu [Sun, 18 Oct 2009 01:22:23 +0000 (03:22 +0200)]
Use the macro environment with CONSTANTP.

7 years agoFix docstring.
Stelian Ionescu [Sun, 18 Oct 2009 01:21:54 +0000 (03:21 +0200)]
Fix docstring.

7 years agoAdd SBCL implementation.
Stelian Ionescu [Sun, 18 Oct 2009 00:29:46 +0000 (02:29 +0200)]
Add SBCL implementation.

7 years agoAdd LICENCE.
Stelian Ionescu [Sun, 18 Oct 2009 00:25:19 +0000 (02:25 +0200)]
Add LICENCE.