iolib:static-vectors.git
3 years agoMake macro-generated binding ignorable master
Stelian Ionescu [Fri, 29 Nov 2013 16:29:52 +0000 (17:29 +0100)]
Make macro-generated binding ignorable

3 years agoSimplify compiler-macro for MAKE-STATIC-VECTOR
Stelian Ionescu [Fri, 29 Nov 2013 16:28:38 +0000 (17:28 +0100)]
Simplify compiler-macro for MAKE-STATIC-VECTOR

3 years agoIntroduce macro CMFUNCALL to ensure that a compiler macro is used
Stelian Ionescu [Fri, 29 Nov 2013 16:27:54 +0000 (17:27 +0100)]
Introduce macro CMFUNCALL to ensure that a compiler macro is used

3 years agoRename test package to STATIC-VECTORS/TEST
Stelian Ionescu [Fri, 29 Nov 2013 16:27:13 +0000 (17:27 +0100)]
Rename test package to STATIC-VECTORS/TEST

3 years agoTest INITIAL-ELEMENT-P and INITIAL-CONTENTS-P for constance
Stelian Ionescu [Fri, 29 Nov 2013 16:26:13 +0000 (17:26 +0100)]
Test INITIAL-ELEMENT-P and INITIAL-CONTENTS-P for constance

3 years agoCosmetic changes
Stelian Ionescu [Fri, 29 Nov 2013 16:24:12 +0000 (17:24 +0100)]
Cosmetic changes

3 years agoEvaluate +STATIC-VECTORS-ARE-GARBAGE-COLLECTED+ always
Stelian Ionescu [Fri, 29 Nov 2013 16:21:29 +0000 (17:21 +0100)]
Evaluate +STATIC-VECTORS-ARE-GARBAGE-COLLECTED+ always

4 years agoBring back reader conditionals in .asd file
Stelian Ionescu [Fri, 26 Jul 2013 22:30:35 +0000 (00:30 +0200)]
Bring back reader conditionals in .asd file

4 years agoDisqualify ASDF symbols
Stelian Ionescu [Fri, 26 Jul 2013 22:26:54 +0000 (00:26 +0200)]
Disqualify ASDF symbols

4 years agoSignal ASDF compatibility error at read-time
Stelian Ionescu [Fri, 26 Jul 2013 22:26:15 +0000 (00:26 +0200)]
Signal ASDF compatibility error at read-time

4 years agoCosmetic changes
Stelian Ionescu [Fri, 26 Jul 2013 22:25:50 +0000 (00:25 +0200)]
Cosmetic changes

4 years agoMove version specifier into version.sexp
Stelian Ionescu [Fri, 26 Jul 2013 22:25:38 +0000 (00:25 +0200)]
Move version specifier into version.sexp

4 years agoRequire ASDF 2.32
Stelian Ionescu [Fri, 26 Jul 2013 22:25:09 +0000 (00:25 +0200)]
Require ASDF 2.32

4 years agoRelease 1.5 v1.5
Stelian Ionescu [Sat, 13 Apr 2013 14:31:33 +0000 (16:31 +0200)]
Release 1.5

4 years agoRemove inline declarations from the test suite
Stelian Ionescu [Sat, 13 Apr 2013 14:31:05 +0000 (16:31 +0200)]
Remove inline declarations from the test suite

4 years agoRemove unused variable
Stelian Ionescu [Tue, 19 Mar 2013 21:41:03 +0000 (22:41 +0100)]
Remove unused variable

4 years agoStyle fix
Stelian Ionescu [Tue, 19 Mar 2013 19:44:20 +0000 (20:44 +0100)]
Style fix

4 years agoElide %INITIALIZE-VECTOR if neither INITIAL-ELEMENT nor INITIAL-CONTENTS are supplied
Stelian Ionescu [Tue, 19 Mar 2013 17:35:18 +0000 (18:35 +0100)]
Elide %INITIALIZE-VECTOR if neither INITIAL-ELEMENT nor INITIAL-CONTENTS are supplied

4 years agoAdd explanatory comment
Stelian Ionescu [Tue, 19 Mar 2013 17:34:07 +0000 (18:34 +0100)]
Add explanatory comment

4 years agoFurther adjust EVAL-CONSTANT placement
Ryan Pavlik [Thu, 18 Oct 2012 17:15:12 +0000 (12:15 -0500)]
Further adjust EVAL-CONSTANT placement

4 years agoChanges to activate CONSTANTP compiler-macro branch.
Ryan Pavlik [Thu, 18 Oct 2012 16:27:34 +0000 (11:27 -0500)]
Changes to activate CONSTANTP compiler-macro branch.

4 years agoAdapt .asd file for ASDF3
Stelian Ionescu [Fri, 22 Feb 2013 20:40:00 +0000 (21:40 +0100)]
Adapt .asd file for ASDF3

4 years agoUnignore variable
Stelian Ionescu [Thu, 24 Jan 2013 21:45:49 +0000 (22:45 +0100)]
Unignore variable

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

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

6 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

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

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

8 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.

8 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.

8 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.

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

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

8 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).

8 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.

8 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.

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

8 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.

8 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.

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

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

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

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

8 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.

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

8 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.

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

8 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.

8 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.

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

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

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