Erik Svedäng
|
7982057061
|
Tests run.
|
2018-06-15 14:46:44 +02:00 |
|
Erik Svedäng
|
8e1c8ce79a
|
Rename variable to not clash with keyword 'fn'.
|
2018-06-15 12:07:32 +02:00 |
|
Erik Svedäng
|
c9bc42ef44
|
Merge pull request #250 from hellerve/docs
Document Test, Statistics, and Vector modules
|
2018-06-14 17:43:08 +02:00 |
|
hellerve
|
1212eedbea
|
core: document statistics module
|
2018-06-14 11:21:59 +02:00 |
|
hellerve
|
a58cc23af6
|
core: document vector3 and vectorN
|
2018-06-14 11:14:59 +02:00 |
|
hellerve
|
fe30c29baf
|
core: document vector2
|
2018-06-14 11:11:07 +02:00 |
|
hellerve
|
c04aab7d47
|
core: document test
|
2018-06-14 10:49:28 +02:00 |
|
hellerve
|
db3848f639
|
core: documet map module
|
2018-06-13 17:14:39 +02:00 |
|
Erik Svedäng
|
275947dc35
|
BUGFIX: Can't define '=' in terms of '=' on generic members of type, see Pair.=
|
2018-06-13 12:29:54 +02:00 |
|
hellerve
|
671116e59c
|
core: remove statistics.sum
|
2018-06-11 21:35:25 +02:00 |
|
hellerve
|
2e742a9c18
|
core: do not use Array in Map
|
2018-06-11 21:23:34 +02:00 |
|
hellerve
|
913e8e3892
|
core: add map
|
2018-06-11 20:50:54 +02:00 |
|
hellerve
|
289fa8b011
|
core: add to-bytes
|
2018-06-07 18:30:57 +02:00 |
|
Erik Svedäng
|
644119a7ec
|
Added 'Core.carp' file that contains files to load at boot.
|
2018-06-05 13:28:28 +02:00 |
|
Erik Svedäng
|
669aca2b96
|
Added dynamic function 'Project.no-echo' to disable echoing in examples.
|
2018-06-05 10:05:33 +02:00 |
|
Erik Svedäng
|
1079075637
|
Various tweaks.
|
2018-06-01 16:40:14 +02:00 |
|
Erik Svedäng
|
12dbe36adc
|
Added function 'zip' and 'enumerated' for Array.
|
2018-06-01 11:18:34 +02:00 |
|
Erik Svedäng
|
f05efea2fe
|
Added function 'copy-map-2'.
|
2018-06-01 11:00:50 +02:00 |
|
Erik Svedäng
|
b438edf09c
|
BUGFIX: Parser now must consume whole input.
|
2018-06-01 10:24:46 +02:00 |
|
hellerve
|
99fb38de73
|
core: add assert-signal
|
2018-05-23 15:13:13 +02:00 |
|
hellerve
|
a55c953396
|
core: add inspection of forked processes (references #235)
|
2018-05-23 13:58:04 +02:00 |
|
Chris Hall
|
7c1dd210d7
|
Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
|
2018-05-23 10:03:42 +10:00 |
|
Erik Svedäng
|
c93621b5de
|
Merge pull request #241 from hellerve/random
Add random module
|
2018-05-22 20:01:28 +02:00 |
|
hellerve
|
032249b342
|
core: add random module (referencing #227)
|
2018-05-22 19:34:38 +02:00 |
|
Erik Svedäng
|
707614e999
|
Merge pull request #232 from mkfifo/string-library-improvements
String library improvements
|
2018-05-22 19:10:22 +02:00 |
|
Erik Svedäng
|
6a787b93aa
|
Merge pull request #240 from hellerve/char-str
Split Char.prn and Char.str
|
2018-05-21 21:31:34 +02:00 |
|
hellerve
|
42918e3ef6
|
core: split Char.prn and Char.str (only prn should add slashes
|
2018-05-21 18:26:05 +02:00 |
|
Chris Hall
|
3cea541ae6
|
Removing stray comma from String.carp
|
2018-05-20 18:47:27 +10:00 |
|
Chris Hall
|
45311a2d92
|
Adding String.index-of-from
Issue #94
|
2018-05-20 18:44:01 +10:00 |
|
Chris Hall
|
4524188490
|
Adding String.index-of
Issue #94
|
2018-05-20 18:27:31 +10:00 |
|
Chris Hall
|
0a1bc6af42
|
Moving Array.concat to also use 'StringBuilder' pattern (like String.concat)
|
2018-05-20 17:24:57 +10:00 |
|
Chris Hall
|
bc41cfa140
|
Moving String.join to also use StringBuilder, adding String.join-with-char
Issue #94
|
2018-05-20 17:11:26 +10:00 |
|
Chris Hall
|
45feaa6ec1
|
Fixing whitespace for String.concat
Issue #94
|
2018-05-20 16:56:51 +10:00 |
|
Chris Hall
|
9df81836f3
|
Adding docs for String.sum-count
Issue #94
|
2018-05-20 16:51:00 +10:00 |
|
Chris Hall
|
c5d23b75b9
|
String.concat now uses StringBuilder pattern to avoid intermediate allocations and string copies
Issue #94
|
2018-05-20 16:48:20 +10:00 |
|
Chris Hall
|
56c6133a91
|
Adding String.allocate function
Issue #94
|
2018-05-20 15:18:34 +10:00 |
|
Chris Hall
|
b46b2a39e8
|
String.append is now by reference, StringCopy.append is by copy/linear
Adding memory leak tests to String.append and StringCopy.append
Issue #94
|
2018-05-20 14:16:10 +10:00 |
|
Chris Hall
|
148003c241
|
Adding String.string-set-at!
Issue #94
|
2018-05-20 13:53:30 +10:00 |
|
Chris Hall
|
92832e540e
|
Adding asserts to String.string-set!
Issue #94
|
2018-05-20 13:31:21 +10:00 |
|
Chris Hall
|
bc43a413e1
|
Adding String.string-set!
Issue #94
|
2018-05-20 13:28:01 +10:00 |
|
Chris Hall
|
9126f24db8
|
Renaming String.join -> String.concat, and String.join-with to String.join
This naming matches s-el and other languages/libraries.
Issue #94
|
2018-05-20 12:48:50 +10:00 |
|
Chris Hall
|
202092fe45
|
Adding TODOs to String.carp to point out mismatch in Carp naming compared to s-el and others
|
2018-05-20 12:48:50 +10:00 |
|
Chris Hall
|
513de1f738
|
Adding join-with [sep strings] to Core.String
Issue #94
|
2018-05-20 12:48:50 +10:00 |
|
Chris Hall
|
c6e4c9001f
|
Documenting some functions in String module
Issue #94
|
2018-05-20 12:48:50 +10:00 |
|
Chris Hall
|
0c881bc0ff
|
Removing String.duplicate in favour of String.copy
Issue #94
|
2018-05-20 12:05:23 +10:00 |
|
hellerve
|
0071399134
|
core: fix stray closing bracket (thanks @mkfifo)
|
2018-05-16 06:11:04 +02:00 |
|
hellerve
|
97d1259687
|
core: remove docs from interfaces
|
2018-05-12 16:08:48 +02:00 |
|
hellerve
|
db0a3d4417
|
core: document integer, interfaces, pattern, safeint, and system
|
2018-05-12 16:08:48 +02:00 |
|
hellerve
|
f3e559dc28
|
docs: more documentation work
|
2018-05-12 16:08:48 +02:00 |
|
hellerve
|
03b52d73ba
|
array: defn->doc
|
2018-05-12 16:08:48 +02:00 |
|
hellerve
|
b2c57e16d3
|
core: initial documentation work
|
2018-05-12 16:08:48 +02:00 |
|
hellerve
|
e3c1a31ec6
|
core: add neg protocol and add to int and long
|
2018-05-07 21:57:15 +02:00 |
|
Erik Svedäng
|
d25e1619ab
|
Updated render-text-to-texture to allow setting the color of the text.
|
2018-04-24 15:02:06 +02:00 |
|
Erik Svedäng
|
d84ea0cb31
|
/= for int refs
|
2018-04-24 10:57:58 +02:00 |
|
Erik Svedäng
|
9370275097
|
Filepath module.
|
2018-04-23 16:14:40 +02:00 |
|
Erik Svedäng
|
ba16a6ed8e
|
SDL.Hint module.
|
2018-04-23 12:47:32 +02:00 |
|
Erik Svedäng
|
2d9ca99c58
|
Array.concat function.
|
2018-04-23 12:20:00 +02:00 |
|
Erik Svedäng
|
5648a87779
|
0 is not positive.
|
2018-04-21 15:45:05 +02:00 |
|
Erik Svedäng
|
744bfd067a
|
Add SDL.render-draw-point function.
|
2018-04-21 15:44:10 +02:00 |
|
Erik Svedäng
|
4a88903158
|
Added pos? and neg? functions, some changes to SDL library.
|
2018-04-20 13:18:58 +02:00 |
|
Fyodor Shchukin
|
bbe27953ce
|
sdl_image.carp -> SDL_image.carp
|
2018-04-08 21:31:03 +03:00 |
|
hellerve
|
b9ae704dcc
|
all: change system argument api
|
2018-04-04 09:00:20 +02:00 |
|
hellerve
|
4d70811479
|
all: add System.args
|
2018-04-03 17:51:37 +02:00 |
|
Chris Hall
|
e1e80e2b81
|
Adding time.h header to carp_bench.h to resolve bug #208
Under POSIX clock_gettime and timespec are defined in time.h
I don't think we need sys/time.h
|
2018-04-02 10:27:36 +10:00 |
|
Erik Svedäng
|
518a0a2165
|
Function for leaking memory on purpose.
|
2018-03-29 07:03:00 +02:00 |
|
Fyodor Shchukin
|
0b50f65671
|
Fixed SDL file name, examples are running fine
|
2018-03-27 21:48:58 +03:00 |
|
Erik Svedäng
|
570ae954e2
|
Hidden bindings don't print with info command.
|
2018-03-27 14:21:12 +02:00 |
|
Erik Svedäng
|
c1e427688d
|
Weird typos fixed.
|
2018-03-27 14:14:30 +02:00 |
|
Erik Svedäng
|
dd726410ed
|
private? hidden?
|
2018-03-27 14:08:49 +02:00 |
|
Erik Svedäng
|
891b34f0d1
|
Sidebar.
|
2018-03-27 10:51:16 +02:00 |
|
Erik Svedäng
|
ef1549250f
|
More work on docs.
|
2018-03-27 09:43:39 +02:00 |
|
Erik Svedäng
|
32eaae7a5c
|
Pretty nice looking docs.
|
2018-03-27 09:05:58 +02:00 |
|
Erik Svedäng
|
95b74e4179
|
Can set and preserve meta before def/defn/defmacro/defdynamic.
|
2018-03-26 16:51:43 +02:00 |
|
Erik Svedäng
|
92454c4f94
|
More keycodes.
|
2018-03-26 14:09:43 +02:00 |
|
Erik Svedäng
|
83cf727133
|
Moved keycodes into submodule.
|
2018-03-26 13:52:34 +02:00 |
|
Erik Svedäng
|
0cd8b4d3ac
|
draw-texture-centered
|
2018-03-26 11:54:20 +02:00 |
|
Erik Svedäng
|
73d7f2fda4
|
BUGFIX: Can refer to external function with overriden name in the same
module using qualifier.
|
2018-03-26 11:00:06 +02:00 |
|
Erik Svedäng
|
2bb4179b2d
|
Merge branch 'carp-read-eof' of https://github.com/goodmind/Carp into goodmind-carp-read-eof
|
2018-03-24 19:24:30 +01:00 |
|
Erik Svedäng
|
222f547c13
|
Merge branch 'master' of https://github.com/Nananas/Carp into Nananas-master
|
2018-03-24 19:20:19 +01:00 |
|
Erik Svedäng
|
3d3b34f70f
|
Bugfixes and cleanup of minimal example.
|
2018-03-24 16:28:35 +01:00 |
|
Erik Svedäng
|
07878fc4a9
|
Nicer event handling with the help of 'foreach' macro and 'SDL.Event.all' function.
|
2018-03-24 11:17:56 +01:00 |
|
Erik Svedäng
|
6279d46bc0
|
'load-and-use' macro
|
2018-03-24 10:28:19 +01:00 |
|
Thomas Dendale
|
74c61e468d
|
Fix: Pattern.substitute sprint src & dest overlap = undefined behavior
|
2018-03-23 18:24:52 +01:00 |
|
andretshurotshka
|
6246ceb7b3
|
Replace with Carp version of function
|
2018-03-23 20:24:32 +05:00 |
|
Erik Svedäng
|
3889dff434
|
Still trying to figure out music playback...
|
2018-03-23 16:01:30 +01:00 |
|
Erik Svedäng
|
2253b890fa
|
Can play sound effect but music is not working yet.
|
2018-03-23 15:13:17 +01:00 |
|
andretshurotshka
|
863e55c3e0
|
Replace snprintf with strncat
|
2018-03-23 18:18:55 +05:00 |
|
andretshurotshka
|
a8481b2184
|
Add read-file-eof function for dynamic files
|
2018-03-23 17:28:04 +05:00 |
|
Erik Svedäng
|
e2aa4792a4
|
Starting wrapping SDL_mixer.
|
2018-03-23 09:55:32 +01:00 |
|
Erik Svedäng
|
6b7804a5c1
|
Added wrapped version of render text blended.
|
2018-03-23 07:55:55 +01:00 |
|
Erik Svedäng
|
a87753e3f4
|
Address sanitizer does not complain.
|
2018-03-22 21:21:46 +01:00 |
|
Erik Svedäng
|
e037a481cd
|
Some helper functions to make code much cleaner.
|
2018-03-22 14:17:26 +01:00 |
|
Erik Svedäng
|
482170ccd7
|
Nicer rendering of font.
|
2018-03-22 13:36:16 +01:00 |
|
Erik Svedäng
|
99132e3926
|
Basic support for font rendering (more to come).
|
2018-03-22 13:25:30 +01:00 |
|
Erik Svedäng
|
2f345525ef
|
int-to-enum not working...
|
2018-03-20 21:06:25 +01:00 |
|
Erik Svedäng
|
fb830c81d7
|
Refactoring of SDL complete?
|
2018-03-20 16:48:56 +01:00 |
|
Erik Svedäng
|
415600eb87
|
Better support for choosing if you want to use callbacks or not.
|
2018-03-20 16:38:50 +01:00 |
|
Erik Svedäng
|
179da13d1c
|
Slight cleanup in SDLHelper.h
|
2018-03-20 16:18:44 +01:00 |
|
Erik Svedäng
|
e18cba50c6
|
Submodule for mouse state in SDL.
|
2018-03-20 16:15:26 +01:00 |
|
Erik Svedäng
|
f2742fe032
|
Moved event-related things into a submodule.
|
2018-03-20 16:05:52 +01:00 |
|