libkc3/env.c


Log

Author Commit Date CI Message
Thomas de Grivel 57b18ebd 2025-09-17T00:34:12 fix loading kc3 from non source dir
Thomas de Grivel 6ddab394 2025-09-12T22:28:18 fix test_httpd
Thomas de Grivel d5792817 2025-09-12T21:32:14 wip
Thomas de Grivel 2fcec34e 2025-09-11T23:19:23 fix test/httpd/kc3.dump
Thomas de Grivel bbec7555 2025-09-11T20:58:57 fix KC3.require
Thomas de Grivel 3f685486 2025-09-11T16:54:22 fix make fx
Thomas de Grivel a6e50037 2025-09-11T15:21:45 libkc3: env_if_then_else
Thomas de Grivel 4a42c25a 2025-09-07T16:16:00 return sysctl for ncpu on NetBSD
Thomas de Grivel 9e0cf3c1 2025-09-05T14:01:46 refactor *_new_ref -> p*_init_copy
Thomas de Grivel b4f08176 2025-09-04T15:43:13 wip tests
Thomas de Grivel 22c655b6 2025-09-04T13:44:44 fix bugs in call/pcall refactor
Thomas de Grivel a9077c87 2025-09-04T01:19:32 wip memory corruption or bug in facts_remove_fact
Thomas de Grivel 8c37a1ae 2025-09-03T16:31:20 wip call
Thomas de Grivel 627943a3 2025-09-02T17:37:53 securelevel > 1 → no facts add or remove unless cleaning global env
Thomas de Grivel a28c0299 2025-09-02T17:10:52 block all env_def* and kc3_def* if securelevel(0) > 1
Thomas de Grivel 7cd070cb 2025-09-02T15:55:10 comment on securelevel in file comments
Thomas de Grivel bdf0f1e5 2025-08-29T20:58:04 fix env_address_of
Perle 305a2316 2025-08-29T20:26:11 WIP refactor: buf_read_str into str
Thomas de Grivel 8fe68293 2025-08-28T16:12:52 refactor STR_1 -> STR and STR_CONST
Thomas de Grivel 6e96d970 2025-08-28T14:11:51 add support for pointers to facts database
Thomas de Grivel 5800825e 2025-08-27T12:25:25 refactored cfn tag_address -> cfn_macro kc3_address_of, env_address_of
Thomas de Grivel 122a9823 2025-08-20T14:13:19 fix memleak and memory corruption in env_facts_with_transaction
Thomas de Grivel 68f20e99 2025-08-20T13:39:09 fix resurrection of binary log
Thomas de Grivel 4e8fe683 2025-08-20T11:40:20 fix binary log resurrection after pfacts dump with log open
Thomas de Grivel 6fc802e8 2025-08-19T22:54:33 wip binary log, make dump is ok
Thomas de Grivel f7200b12 2025-08-19T21:41:36 refactor file_open to accept s_str
Thomas de Grivel b37d9735 2025-08-19T16:06:45 dump and restore pfacts
Google Search Manual 362d5a5b 2025-08-18T16:31:01 fix: made paths portable for dlopen
Thomas de Grivel 3f26eb8a 2025-08-18T13:39:55 catch one more memleak in env_init/clean
Thomas de Grivel 7c964434 2025-08-18T13:26:54 env_clean: env->dlopen_list
Thomas de Grivel 39f44866 2025-08-17T20:06:55 trying to revive www from dump
Thomas de Grivel 32d162e3 2025-08-14T22:48:00 wip dump/restore env
Thomas de Grivel 7289f9da 2025-08-14T17:23:32 wip marshall/read env
Thomas de Grivel 61ad534c 2025-08-14T15:39:24 all tests pass, restoring from lib/kc3/0.1/kc3.dump automatically. Use make dump to update the dump.
Thomas de Grivel dfa0bce9 2025-08-14T14:58:31 dump and restore env
Thomas de Grivel 32f06b35 2025-08-13T22:55:45 clean
Thomas de Grivel cddd79c0 2025-08-13T20:43:11 make dump
Thomas de Grivel 928e66d4 2025-08-13T18:50:48 wip env_args_init and ikc3 --dump and --restore
Thomas de Grivel cd368cb7 2025-08-13T18:13:54 stub env marshall functions
Thomas de Grivel 415fbad3 2025-08-13T17:47:12 KC3.dump((Str) path) and parse optional argument --restore PATH
Thomas de Grivel 01dcc482 2025-08-13T13:58:55 fix compilation
Google Search Manual 1f4e6d07 2025-08-11T17:09:18 fix: memory leaks
Thomas de Grivel 7bc4b709 2025-08-11T12:48:00 start refactor of facts/binary
Thomas de Grivel ad7318cc 2025-08-10T15:15:37 refactor f_clean into p_callable and use env_eval_call_callable_args to call the callable at struct clean time.
Thomas de Grivel feb371e5 2025-08-05T15:40:49 fix config_common and config.subr for config_have_generic_sw_uw.
Thomas de Grivel f8317f48 2025-08-05T05:07:47 wip
Thomas de Grivel a21f47fa 2025-08-05T01:59:28 wip backup
Thomas de Grivel 261cc860 2025-08-03T12:58:47 dereference arguments to _inspect_* for basic C numeric types.
Thomas de Grivel 2d20dcd1 2025-08-02T19:08:26 feat: KC3 uptime and pcallable and pvar names
Thomas de Grivel 6ed7c240 2025-08-02T13:12:29 vibe coding kc3_uptime and time_diff_to_str and kc3 wrappers for those two functions.
Thomas de Grivel d933af02 2025-08-01T14:42:03 add support for basic types in set and implemented set_has__NAME
Thomas de Grivel 979b3eef 2025-07-26T19:48:21 refactor types.h
Thomas de Grivel dec6e133 2025-07-25T12:49:22 time.c -> timespec.c
lyzer-px bbd83477 2025-07-25T18:02:09 refactor: TAG_LIST -> TAG_PLIST
Thomas de Grivel c7c622ca 2025-07-22T04:57:55 ws: 72 columns
lyzer-px 2fe26722 2025-07-24T17:15:45 refactor: list_new_copy -> list_new_copy_all; fix: marshall_test expected strings
Thomas de Grivel 6160bff2 2025-07-21T13:03:11 tests pass: refactor p_*
Thomas de Grivel 944c07d2 2025-07-21T02:28:03 wip p_*
Thomas de Grivel 87826002 2025-07-21T01:59:24 refactor types.h p_* types
Thomas de Grivel a1a0a02b 2025-07-20T17:34:38 fix env_while unwind protect jmp_buf order on stack
Thomas de Grivel 7158549a 2025-07-20T17:11:55 wip tests, test_asan
Thomas de Grivel bb00d0c3 2025-07-20T15:11:03 fix setjmp clobbering of dest in env_while
Thomas de Grivel 94d38022 2025-07-19T15:14:26 wip
Thomas de Grivel 6a257091 2025-07-17T08:25:08 remove auto loading in env and env_eval
Thomas de Grivel 35420107 2025-07-17T07:51:33 remove module autoloading at struct init
Thomas de Grivel 62130b38 2025-07-15T15:51:17 fix volatile
Thomas de Grivel cf6d70db 2025-07-15T13:41:09 fix env_eval_call_fn_args
Thomas de Grivel d5a23dfa 2025-07-15T12:34:55 fix unwind protect
Thomas de Grivel 8bd8369b 2025-07-14T23:09:08 fix double free
Thomas de Grivel e5d2d2fe 2025-07-14T22:44:30 wip pvar
Thomas de Grivel 8381525f 2025-07-14T22:19:22 wip memleaks tag_pvar clean
Thomas de Grivel 5f401137 2025-07-14T21:46:33 wip pvar
Thomas de Grivel 08729c30 2025-07-14T17:09:37 wip pvar
Thomas de Grivel 9a99c242 2025-07-14T00:42:16 wip pvar
Thomas de Grivel 149669c1 2025-07-04T23:45:20 wip frame
Thomas de Grivel ca3863a3 2025-06-29T19:07:31 env_frame_capture
Thomas de Grivel c494637b 2025-06-16T14:29:43 bugfix for env_facts_first_with_tags
Thomas de Grivel d859e66b 2025-06-15T21:15:21 minor tweaks
Thomas de Grivel 0ae53fa7 2025-06-13T17:24:14 unwind_protect and minor tweaks
Thomas de Grivel 2cd20c1a 2025-06-12T19:25:32 refactor env_init_*, env_clean_*.
Thomas de Grivel 747d0ec2 2025-06-12T18:58:09 wip memleak call callable
Thomas de Grivel d9f11eda 2025-06-11T17:10:53 facts_with stack pointer leak
Thomas de Grivel 3fbc9b37 2025-05-26T14:20:14 fix env_facts_with_macro unwind protect
Thomas de Grivel 4d2244bf 2025-05-26T11:38:30 fix compilation under Linux gcc
Thomas de Grivel fb7cf950 2025-05-23T20:03:57 unwind protect for function call
Thomas de Grivel 193b6cf0 2025-05-22T20:13:33 env_facts_with*: unwind_protect
Thomas de Grivel 3765ba91 2025-05-22T19:06:49 unwind_protect env_facts_with
Thomas de Grivel f6983ea4 2025-05-20T19:40:31 unwind protect for transactions
Thomas de Grivel 2728807f 2025-05-20T13:38:49 env_facts_collect_with: as the callback argument is local put it on the stack.
Thomas de Grivel 6f8ac880 2025-05-13T15:52:19 hook unwind_protect logic into kc3.c, renamed tests for do_block and added tests for block and unwind_protect
Thomas de Grivel 26820d0b 2025-05-12T17:02:48 kc3_access -> str_access
Thomas de Grivel 036ad8d8 2025-04-29T23:18:03 fix file_close, list_filter_
Thomas de Grivel a16819fb 2025-04-29T21:16:54 refactor: rename block into do_block
Thomas de Grivel 6c1aa873 2025-04-17T12:41:42 lock transactions rw
Thomas de Grivel e44c8427 2025-04-14T23:17:37 facts with transaction
Thomas de Grivel 5fbd1604 2025-04-09T20:53:17 add path to env
Thomas de Grivel 21faa3df 2025-04-08T18:21:23 wip freebsd
Thomas de Grivel 722af4ce 2025-04-07T21:03:42 wip install
Thomas de Grivel 707aacf6 2025-04-07T18:18:36 wip install img
Thomas de Grivel e51bbe40 2025-03-26T19:16:44 fix various bugs