Commit Graph

67 Commits

Author SHA1 Message Date
K. Lange
13fea2ce96 Add deploy-docs phony make target 2021-03-29 09:26:24 +09:00
K Lange
551b5d8f2e Add cloc language definition file 2021-03-26 22:47:54 +09:00
K Lange
4f94919bc1 Need to make target directory for codecs module on install 2021-03-24 21:26:52 +09:00
K Lange
8a36b92343 Don't rebuild codec data files unless the sources changed 2021-03-24 21:23:41 +09:00
HarJIT
5c2de206b9
Codecs package (#4)
Codecs package

Co-authored-by: HarJIT <harjit@harjit.moe>
2021-03-24 04:53:02 -07:00
K Lange
9da1577245 Make sure ctags includes headers 2021-03-24 20:49:44 +09:00
K. Lange
573e9b7074 Bundle socket module 2021-03-24 12:28:04 +09:00
K. Lange
c905809197 macos doesn't even have objcopy? meh 2021-03-22 12:38:28 +09:00
K Lange
a13fb0a837 Remove srv/vendor/*.o on clean 2021-03-22 10:17:09 +09:00
K. Lange
a0ad38e225 Header reorg I've been meaning to do for a while 2021-03-22 09:22:39 +09:00
K Lange
8c1ebe531a socket.connect(), general win32 support 2021-03-21 22:27:32 +09:00
K. Lange
658eeb6afd Separate debug symbols from libkuroko.so by default 2021-03-20 21:23:05 +09:00
K. Lange
23839cde76 Add a Make flag for KRK_NO_DOCUMENTATION 2021-03-20 09:29:32 +09:00
K Lange
3daf95bd47 (win32) only link static deps on the core library 2021-03-03 23:37:44 +09:00
K. Lange
9ecbc894ed Build against tcmalloc on win32 2021-03-03 10:41:11 +09:00
K. Lange
e06a132a21 Resolve link resolution issue on Darwin 2021-03-03 10:36:44 +09:00
K Lange
9faec7b318 Threading support in mingw win32 builds 2021-03-02 23:24:52 +09:00
K Lange
4c94aab5c1 win32 build fixes 2021-02-26 22:18:40 +09:00
K. Lange
73feea3cc0 Makefile should also install tools 2021-02-24 12:54:54 +09:00
K. Lange
db4185d035 I think that should fix up installs to /usr/local ? 2021-02-24 11:22:18 +09:00
K. Lange
361aeb3927 Fixup LDLIBS linking for libkuroko, interpreter, tools, modules? 2021-02-23 16:30:10 +09:00
K. Lange
7df8c0803f Don't use 'git' to do comparison for tests 2021-02-23 14:01:55 +09:00
K. Lange
21afbb3fb1 Actually try to determine the required min libc for deb package 2021-02-23 10:50:37 +09:00
K. Lange
d5d3d721e7 The big documentation system overhaul 2021-02-20 14:10:36 +09:00
K. Lange
f14cc086e0 Just always enable threading outside of Emscripten and Windows 2021-02-19 13:32:45 +09:00
K. Lange
c53b532e9f Fix static build 2021-02-13 09:01:12 +09:00
K. Lange
ce28992c83 Clean exec versions of tools 2021-02-13 08:55:03 +09:00
K. Lange
e6a50d6746 Clean tools on 'make clean' 2021-02-12 15:54:13 +09:00
K. Lange
13371611e2 Add tools (and tools/kuroko contains symlinks to headers) 2021-02-12 11:48:50 +09:00
K. Lange
a15e936d87 Fixes from building on macOS 2021-02-11 20:52:30 +09:00
K. Lange
6f95124bcd Threading
Don't be deceived by its size: this commit is mostly a bunch of
sed replacements to move thread state out of "vm" and introduce
a thread-local "KrkThreadState" object to hold stack pointers and
call frames for individual threads.

Threading support is incomplete and there's almost definitely a
bunch of really easy ways to break everything just by allocating
objects, but really simple stuff like carefully modifying a
a list of ints should work okay.

The README has been rewritten to remove code samples, which have
moved to the Wiki (as has the section on integrating with C).

Some other stuff has also moved around because the threading changes
necessitated a major API break anyway, so I also took the time to
fix some ABI issues.
2021-02-09 18:51:09 +09:00
K. Lange
20676f790e bump libc for deb to 2.29
math module built on Ubuntu 20.04 has a symbol dep for 2.29 for
log, pow, exp
2021-02-09 09:16:02 +09:00
K. Lange
b3b56c8e44 Clean up Makefile and add install target 2021-02-08 17:36:03 +09:00
K. Lange
90b219cdce Eliminate builtins.krk 2021-02-05 17:22:08 +09:00
K. Lange
8388e53235 Improve build support and prep a 1.0.1 bugfix 2021-01-31 11:00:01 +09:00
K. Lange
070a11b461 Makefile changes from building for macos 2021-01-21 21:09:01 +09:00
K. Lange
f1811fe23c Fixup Makefile after relocating files 2021-01-21 18:45:16 +09:00
K. Lange
b4344f7d21 Start reorganizing codebase 2021-01-21 09:11:55 +09:00
K Lange
d4c601ba75 Link with -lm when bundling. 2021-01-20 22:35:16 +09:00
K Lange
e5bda9df8d Use ms_printf format strings in Windows so we can print our long longs 2021-01-19 23:28:26 +09:00
K. Lange
dd22d86abe If we are going to link the modules back to libkuroko, it needs to be built first... 2021-01-19 13:58:34 +09:00
K Lange
a9b04cceb2 Experimental Windows support 2021-01-19 12:52:22 +09:00
K. Lange
9d9d5d5be7 Add math module 2021-01-16 10:18:19 +09:00
K. Lange
cc236b8da3 Add stress-test target to run valgrind 2021-01-12 07:34:42 +09:00
K. Lange
881864a5b2 'make test' should get an exit code from 'git diff' 2021-01-09 14:01:21 +09:00
K. Lange
0599ad0775 Replace Makefile.static with a complicated combination of config options 2021-01-08 20:26:29 +09:00
K. Lange
0d2e115c93 Make sure we rebuild everything on a header file change... 2021-01-08 16:53:17 +09:00
K. Lange
3735b9c16b Raise KeyboardInterrupt on ^C 2021-01-08 16:40:43 +09:00
K. Lange
80c307e12a Remove src/*.o on 'make clean' 2021-01-08 12:15:53 +09:00
K. Lange
ee518f9643 Fix two symbols missing namespacing prefixes 2021-01-08 06:49:27 +09:00