Commit Graph

745 Commits

Author SHA1 Message Date
K. Lange
7a81724595 Unify more format strings 2021-03-26 12:17:14 +09:00
K. Lange
9a0b940302 Fix functions from C extensions that got disappeared 2021-03-26 07:01:53 +09:00
K Lange
8c63995342 Actually return from krk_runfile on read failure 2021-03-25 22:58:23 +09:00
K Lange
60f148c3e2 Silly hack to get -- options working in Windows 2021-03-25 22:58:10 +09:00
K. Lange
1ec1e59c5d Pull some little tricks for performance 2021-03-25 19:51:08 +09:00
K. Lange
41c77de753 Implement overridable hashing and speed up property access 2021-03-25 19:49:18 +09:00
K. Lange
857da44509 Swap out bitfields for flags for flexibility 2021-03-25 19:47:19 +09:00
K. Lange
2e56d238a2 Fix set literal compilation 2021-03-25 19:42:27 +09:00
K. Lange
555100c3c9 Try to ignore imported functions, classes in tools.gendoc 2021-03-25 15:52:54 +09:00
K. Lange
9659be93ba Teach Doxygen KRK_METHOD, KRK_FUNC 2021-03-25 15:52:54 +09:00
K. Lange
0306890f89 Add function.__code__, codeobject.__constants__ 2021-03-25 15:52:54 +09:00
K. Lange
a347af917e Add codeobjects to dis.dis, filenames as optional arg to dis.build 2021-03-25 15:52:54 +09:00
K. Lange
445c34fed2 Clean up headers a bit 2021-03-25 15:52:54 +09:00
K. Lange
28ed8151ac Include <time.h> from vm.h 2021-03-25 15:52:40 +09:00
K Lange
e95a43c535 Reset ANSI escape mode when clearing rest of line in rline 2021-03-25 13:18:14 +09:00
K. Lange
6892b1e4f6 Cleanups recommended by clang; no inline function call for dbl/val conversion 2021-03-25 13:13:12 +09:00
K. Lange
d648155dc3 Make Thread.tid work on Windows 2021-03-25 12:57:16 +09:00
K. Lange
04a95fa779 Add docstrings to 'callgrind' module 2021-03-25 09:54:23 +09:00
K. Lange
50f94d9d3b Update doc generation for properties, type hints 2021-03-25 09:54:07 +09:00
K. Lange
5c3256e4d1 Free vm.binpath on freeVM 2021-03-25 09:14:00 +09:00
K. Lange
6b41476e8d Fix highlighting of parens in some situations due to invalid read 2021-03-25 08:37:43 +09:00
K Lange
a58ca88bd3 Cleanup callgrind output 2021-03-24 21:52:10 +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
K Lange
dbe6ae13d9 Add flag to report GC collections 2021-03-24 21:23:15 +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
2ed8e65c89 Rework KrkValue to use NaN-boxing 2021-03-24 20:49:44 +09:00
K Lange
073a5828d0 Don't include tracing on emscripten, it lacks clock_gettime 2021-03-24 20:49:44 +09:00
K Lange
9da1577245 Make sure ctags includes headers 2021-03-24 20:49:44 +09:00
K Lange
ecf2adbc13 Quick fixes 2021-03-24 20:20:50 +09:00
K. Lange
d05dc4fd08 Include codeobject pointer reference in callgrind output so lambdas, etc. can be differentatiated 2021-03-24 12:37:25 +09:00
K. Lange
573e9b7074 Bundle socket module 2021-03-24 12:28:04 +09:00
K. Lange
6638d10def Put math module docstrings behind KRK_DOC macro 2021-03-24 12:27:12 +09:00
K. Lange
b5c22f77c5 Preallocate table space for krk_dict_of 2021-03-23 20:26:39 +09:00
K. Lange
49066f7ae2 Trace function calls 2021-03-23 19:17:54 +09:00
K. Lange
6f92af28a2 Update test/day7.krk to not just be a test of list.pop 2021-03-23 12:50:04 +09:00
K. Lange
955d5a68e5 Avoid mallocing space for small argument lists to native functions? 2021-03-23 12:21:30 +09:00
K. Lange
15b25cd634 Method names can be pointers, so gcc actually merges them as constants... 2021-03-23 11:26:10 +09:00
K. Lange
3b03b0267f More string normalization 2021-03-23 11:11:50 +09:00
K. Lange
d874ad0537 Don't use prefix characters in defineNative to mark methods (was a no-op anyway) 2021-03-23 10:21:42 +09:00
K. Lange
3c861ca167 Port print() to util macro 2021-03-23 09:43:01 +09:00
K. Lange
b153c5899d Normalize 'kuroko' module functions to util macros 2021-03-23 09:39:53 +09:00
K. Lange
3b77ecf669 Don't use __func__ for exception messages, embed _method_name instead 2021-03-23 09:26:30 +09:00
K. Lange
45e11b58e4 Port range to util macros 2021-03-23 09:09:06 +09:00
K. Lange
a598fc5615 Cleanup error tokens 2021-03-23 08:58:36 +09:00
K. Lange
f3e6b83597 remove --help text with NO_DOCUMENTATION 2021-03-23 08:58:24 +09:00
K. Lange
ea0baf0f3e Add delattr(), hasattr() 2021-03-22 18:31:27 +09:00
K. Lange
289537ff00 Add issubclass() 2021-03-22 18:23:09 +09:00
K. Lange
a63aef6b92 Try to make builds smaller
... by:
    - Normalizing some exception strings.
    - Putting the 'dis' module behind -DDEBUG.
2021-03-22 18:09:25 +09:00
K. Lange
6746ccf001 Add docstrings to socket module 2021-03-22 12:49:31 +09:00