Commit Graph

72 Commits (a8b6843a886d93749e25b5349dc416633116c092)

Author SHA1 Message Date
Daniel Kolesa 133857205d remove ID_STUFF from public header 2016-08-10 18:33:43 +01:00
Daniel Kolesa 96f8f2f7d0 make it easier to grep 2016-08-10 00:54:51 +01:00
Daniel Kolesa b7ae0c500a exponse concat/format code to API and properly utilize it 2016-08-10 00:12:32 +01:00
Daniel Kolesa f618bf2367 format 2016-08-07 21:39:27 +01:00
Daniel Kolesa d1e877eeb5 remove get_str_len 2016-08-06 20:07:41 +01:00
Daniel Kolesa 43bf22e625 make set_macro not public 2016-08-06 19:51:32 +01:00
Daniel Kolesa 60b0e60dfc bytecode is now an opaque type 2016-08-06 19:12:38 +01:00
Daniel Kolesa f1b85d9133 rename Bytecode to BytecodeRef 2016-08-06 18:38:05 +01:00
Daniel Kolesa a0130089cf add code_is_empty API to check for dummy bytecode and remove cs_private 2016-08-06 17:33:01 +01:00
Daniel Kolesa db98021883 merge baselib back to main cubescript and make it initialize always 2016-08-06 16:34:10 +01:00
Daniel Kolesa f4e1c1a32e add copy_arg to TaggedValue 2016-08-03 23:03:44 +01:00
Daniel Kolesa 395615e2cb start splitting into multiple source files 2016-08-02 01:23:47 +01:00
Daniel Kolesa c50445ec34 move length to IdentValue 2016-08-01 21:46:50 +01:00
Daniel Kolesa 38e4270b56 fixes and cleanups 2016-08-01 21:35:42 +01:00
Daniel Kolesa 7e35653a43 do not pass CsState, can easily capture it when adding command 2016-08-01 19:33:40 +01:00
Daniel Kolesa d979a51c88 allow lambda captures on commands 2016-08-01 19:17:13 +01:00
Daniel Kolesa c6db0900ac remove commandn entirely (all funcs are converted) 2016-08-01 19:05:47 +01:00
Daniel Kolesa 3b478b111d disallow zero and one argument commandn 2016-08-01 03:00:58 +01:00
Daniel Kolesa 14b13365ab limit commandn to 6 arguments at most 2016-08-01 01:31:56 +01:00
Daniel Kolesa a12f01a8a2 var callbacks can now be lambdas 2016-08-01 01:10:21 +01:00
Daniel Kolesa 14678e0861 remove CommandFuncS 2016-08-01 00:49:28 +01:00
Daniel Kolesa 1c9d3d3aba swap add_command and add_commandn 2016-08-01 00:38:11 +01:00
Daniel Kolesa 49e09a117e add get_strr to retrieve read-only range without allocs 2016-07-31 00:49:32 +01:00
Daniel Kolesa 6922853d66 get_code for TaggedValue 2016-07-30 21:42:49 +01:00
Daniel Kolesa 364ca98e54 unexpose some APIs 2016-07-27 18:52:01 +01:00
Daniel Kolesa f87de11b19 per-thread rundepth instead of per-state 2016-07-23 01:08:58 +01:00
Daniel Kolesa d584bc3ca6 per-state rundepth 2016-07-21 18:47:24 +01:00
Daniel Kolesa 72fe46a097 style updates 2016-07-17 18:50:40 +01:00
Daniel Kolesa 66c0414395 get rid of most of global state 2016-07-13 20:13:52 +01:00
Daniel Kolesa f8034d2b74 add support for setting ostd::String 2016-07-13 18:46:35 +01:00
Daniel Kolesa afd381203a style 2016-04-02 20:16:09 +01:00
Daniel Kolesa 4d48366a24 visibility support 2016-03-17 21:21:45 +00:00
Daniel Kolesa f9f2c1c903 comment 2016-03-06 21:51:11 +00:00
Daniel Kolesa 2dffd79d46 fix shadow warnings 2016-03-04 21:30:46 +00:00
Daniel Kolesa b8e752b6ba don't shadow 2016-02-29 00:56:53 +00:00
Daniel Kolesa 78568e4161 change stdlib init stuff 2016-02-28 22:21:28 +00:00
Daniel Kolesa 22d0c5c26f fix unescape 2016-02-11 23:06:28 +00:00
Daniel Kolesa 38f3f5da64 trailing newlines 2016-02-07 21:22:39 +00:00
Daniel Kolesa e92c6ad831 style 2016-02-06 23:17:28 +00:00
Daniel Kolesa 833a1d1716 remove unused method 2015-12-24 15:58:50 +01:00
Daniel Kolesa 22f9373fe7 unexpose raw bytecode ref/unref (always use Bytecode objects) 2015-12-24 15:57:19 +01:00
Daniel Kolesa fa4381000e move Bytecode around a bit 2015-12-20 00:28:12 +01:00
Daniel Kolesa 6bcd53c51a operator bool for Bytecode objects 2015-12-20 00:21:19 +01:00
Daniel Kolesa 79f2db1f54 add API for handling safe bytecode objects (without manual refcount) 2015-12-19 16:05:38 +01:00
Daniel Kolesa 02fb88b9fd add new utility API to StackedValue 2015-12-16 19:05:28 +00:00
Daniel Kolesa f279ac4d51 fixes 2015-10-14 02:02:38 +01:00
Daniel Kolesa b96210e13f add temporary add_commandn 2015-10-11 16:59:36 +01:00
Daniel Kolesa 352dfd58f6 user definable flags for commands 2015-10-10 21:22:56 +01:00
Daniel Kolesa fb11619ef7 IDF_NOEXPAND for commands taking arg range 2015-10-09 18:50:43 +01:00
Daniel Kolesa 50d93877e0 slight command func refactoring 2015-10-08 18:34:38 +01:00