Commit graph

51 commits

Author SHA1 Message Date
Javier Olaechea
26c7107ad3
Refactor int Encoders
Instead of Shifting bits and masking in order to extract a subset of
the bits Lisp provides the function LBD, which allows us to extract a
number of bits from an integer. This approach is more direct,
communicates the intent better and allows the compiler to do less work.
2022-08-24 18:43:15 +02:00
rick
85cc0ebeed
remind user of the docs of ip addr syntax 2022-08-24 18:40:35 +02:00
rick
2b250fb46c
fixup after testing on ccl 2022-08-24 18:39:22 +02:00
rick
52040ea82a
use usocket in osc-examples for portability 2022-08-24 18:34:17 +02:00
ErikR
829bf7cfc1
Cleaning 2022-08-24 18:25:04 +02:00
652a10dfe1
README 2022-08-24 17:44:23 +02:00
e1ac269e25
Merge pull request #6 from PuercoPop/fix-defint-decoder-bug
Fix DEFINT-DECODER
2019-05-02 08:48:45 +02:00
Javier Olaechea
012df52daf DEFINT-DECODER: Add missing unquote
Otherwise we return the unbound symbol INT instead of the value of the
we built in the decoder.

Fixes bug introduced in 9facf44.
2019-05-01 23:34:42 -05:00
624709e253
Update README.md 2019-04-02 09:36:28 +02:00
655f8c26a4
Update README.md 2019-04-02 09:35:44 +02:00
158bd6860d
Merge pull request #5 from PuercoPop/avoid-c-isms
encoder/decoder refactoring
2019-04-02 09:25:06 +02:00
Javier Olaechea
db5dd2b166 Use Read-time evaluation to make code more readable 2019-03-27 22:59:21 -05:00
Javier Olaechea
9facf444f4 Refactor uint Decoders
Instead bit-shifting to 'place' the bits where we want them to be and
adding Lisp provides the DPB function that allows us to deposit bits
where we want them in an integer.
2019-03-27 22:58:55 -05:00
Javier Olaechea
d130e45f58 Reuse uint decoders when possible
The int decoder does the same work as its corresponding uint decoder
before encoding the integer in Two's complement. We can re-use the
uint decoder instead of writing the same code in the corresponding int
decoder.
2019-03-27 22:58:25 -05:00
Javier Olaechea
5a1eaaebad Refactor int Encoders
Instead of Shifting bits and masking in order to extract a subset of
the bits Lisp provides the function LBD, which allows us to extract a
number of bits from an integer. This approach is more direct,
communicates the intent better and allows the compiler to do less work.
2019-03-27 22:56:50 -05:00
55fa48658d
Update README.md 2017-12-10 14:24:16 +01:00
1f6340aef2
Merge pull request #4 from boqs/master
Make osc-examples use usocket for portability
2017-12-10 13:42:02 +01:00
rick
ab0e2a0d3b remind user of the docs of ip addr syntax 2017-12-01 09:47:42 -08:00
rick
e1f055a828 fixup after testing on ccl 2017-11-30 15:23:13 -08:00
rick
8169205c89 make osc-examples use usocket for portability 2017-11-30 15:01:08 -08:00
7a147fa702 Update README.md 2015-09-15 17:04:25 +02:00
3a07a1b4fe Update README.md
ql
2015-09-15 16:57:57 +02:00
815ed4683f Merge pull request #1 from erikronstrom/master
Encoding and decoding blobs now follows the spec with regards to size
2015-08-26 11:18:09 +02:00
ErikR
3bde47386a Cleaning 2015-08-25 21:59:32 +02:00
ErikR
953af87fe4 Added support for 64-bit integers 2015-08-25 21:54:38 +02:00
ErikR
be1a4f5d4b Encoding and decoding blobs now follows the spec with regards to size 2015-08-25 21:25:05 +02:00
8af92db17f deutoscolex
further markedown edits
2011-04-19 12:04:51 +08:00
28822841be osculum
more markdown edits
2011-04-19 11:45:08 +08:00
ccb96d61a1 ventroscopy
converted README to markdown and moved to github
2011-04-19 11:25:22 +08:00
ec7bbbe3ec isosceles
encode-int32 and decode-int32 should work for allegro, using a patch from Vincent Akkermans.

darcs-hash:20070226152053-2648a-ebccfc38619ab82bb8572b66e69d95dd12d658a3.gz
2007-02-26 23:20:53 +08:00
1d89af7ea1 proscolex
darcs-hash:20060405104230-2648a-475be6b5d86af1c4fa67f101c2be56c6e6de837c.gz
2006-04-05 18:42:30 +08:00
8f887a7c3b toscanite
darcs-hash:20060405103333-2648a-eb806b6fcd6ccccc51457ffc3fb418fbba4b4c7c.gz
2006-04-05 18:33:33 +08:00
a7a6d742f6 proscapula
removed assumption based on value of internal-time-units-per-second

darcs-hash:20060210234410-2648a-b283b634b2afc41b84a0a47fb5778e7a890a2572.gz
2006-02-11 07:44:10 +08:00
5b98b79ee7 aproscapula
extended timetag support, including a first attempt at using (get-universal-time)
for timestamping. still not ntp compatible.

darcs-hash:20060210233840-2648a-b16d4ceb60e9ed6d0a18b8b4ed051ebaf7336752.gz
2006-02-11 07:38:40 +08:00
73f33aac45 semifloscular
openmcl version of decode-float32 uses decode-uint32 for correct negative float values.

darcs-hash:20051205190701-2648a-06b565475c79901f26175fd84374bdb0314381b6.gz
2005-12-06 03:07:01 +08:00
d8ffcab7b3 recognosce
added openmcl float support and a few minor cleanups

darcs-hash:20051129111126-2648a-1f3055c480c24f4352e87e40d966b01a4aa1921e.gz
2005-11-29 19:11:26 +08:00
1a1abf68bd inosculate
darcs-hash:20050812092011-2648a-e137705e5ce7ab583a168c84593bfa0a390874f9.gz
2005-08-12 17:20:11 +08:00
9bcc4ffcc2 atroscine
darcs-hash:20050811090231-2648a-b62b40c5f0df7e8f5231240a1d3698146582da42.gz
2005-08-11 17:02:31 +08:00
814298e0dc oscelot
should be asdf-installable . ..

darcs-hash:20050316155934-2648a-2a095e2002d4f0864350e17075c8dbafff47e8aa.gz
2005-03-16 23:59:34 +08:00
f8cc808c44 podoscaph
#bundle support added to the feet. small step towards watertightness

darcs-hash:20050314140505-2648a-268ae71e964c269e196c590d867970411d786804.gz
2005-03-14 22:05:05 +08:00
c7a22c9e4a roscid
darcs-hash:20050307100957-2648a-88dd27d3a86b2c718ef38e3bb089556683b3eedd.gz
2005-03-07 18:09:57 +08:00
57772e2bd3 oscar
darcs-hash:20050306133533-2648a-78c19a39c75c8a5f14315c01425b7bc241c940cb.gz
2005-03-06 21:35:33 +08:00
271545fbad pseudoscholastic
darcs-hash:20050306124728-2648a-e3eb0f8e6157cd343a9b7b7fe114b5894ceb5cf7.gz
2005-03-06 20:47:28 +08:00
c22a4e1389 roscoelite
A green micaceous mineral occurring in minute scales. Various 'declares' for speed, safety and cluttering. Small bug fixes and optimi[sz]ations.

darcs-hash:20050306122501-2648a-2a2946d523deea88f35d8c262352c1cfd65ef222.gz
2005-03-06 20:25:01 +08:00
02bf197a6a groschen
darcs-hash:20050302172356-2648a-b99e953e8920e6a6a0c5155c050ea04a46719c11.gz
2005-03-03 01:23:56 +08:00
424b187234 zymoscope
removed the 'osc-' prefix from most of the function names and packaged it as :osc

darcs-hash:20050210133251-2648a-94a88ade8074d89e0f7de8a9bff440e99235fa05.gz
2005-02-10 21:32:51 +08:00
d22ba88cc5 acroscopic
darcs-hash:20050126151943-2648a-fa2e062470c777a1b3cd7b5874e0d0bfeab979d3.gz
2005-01-26 23:19:43 +08:00
371b1f650e reisoc
darcs-hash:20050126144903-2648a-9167a29d9c7501980cf0da1e3d09f66af4a47400.gz
2005-01-26 22:49:03 +08:00
dc9e11e3bc isosceles
darcs-hash:20050126143620-2648a-9ed0c63eccd67d10b88ab1b321f952b7345ec488.gz
2005-01-26 22:36:20 +08:00
b357030cea suffix
darcs-hash:20050126135937-2648a-f2b1c255475cde542d079d4a9451cb58fd08fede.gz
2005-01-26 21:59:37 +08:00