Leonardo de Moura
|
91df9a5550
|
feat(util/thread): add LEAN_THREAD_PTR macro, it uses boost::thread_specific_ptr instead of thread_local keyword when we compile with Boost
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-07 08:16:20 -07:00 |
|
Leonardo de Moura
|
6700cf1f73
|
fix(util/thread): add missing declaration when compiling with Boost
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-07 08:05:19 -07:00 |
|
Leonardo de Moura
|
af0b02f521
|
fix(util/thread_script_state): add a better workaround for clang++ bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 18:54:10 -07:00 |
|
Leonardo de Moura
|
89a7898054
|
fix(*): static variable initialization problems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 18:44:12 -07:00 |
|
Leonardo de Moura
|
3562c76161
|
fix(util/sexpr/options): add workaround for clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 18:14:39 -07:00 |
|
Leonardo de Moura
|
db36d465dc
|
chore(util/sexpr): cleanup
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 18:01:43 -07:00 |
|
Leonardo de Moura
|
8d4312d9d8
|
fix(util/thread): warning messages
|
2014-06-06 17:50:46 -07:00 |
|
Leonardo de Moura
|
06d2ff021b
|
feat(util/thread_script_state): add system_import procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 16:23:24 -07:00 |
|
Leonardo de Moura
|
e9ef59ab3e
|
feat(util): add global (thread local) script_state objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 15:46:16 -07:00 |
|
Leonardo de Moura
|
5b898aa3ed
|
refactor(util/trie): modify interface to avoid the creation of many temporary optional values and inc/dec reference counters
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-05 12:40:51 -07:00 |
|
Leonardo de Moura
|
fc4b6a92cc
|
fix(util/lru_cache): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 14:59:00 -07:00 |
|
Leonardo de Moura
|
b81d536946
|
fix(util/stackinfo): make sure check_stack can be invoked before 'main' (i.e., during initialization)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 14:57:32 -07:00 |
|
Leonardo de Moura
|
df3280e86e
|
feat(util): add lru cache
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 13:26:02 -07:00 |
|
Leonardo de Moura
|
a9a38675cb
|
feat(util/lua): add helper functions for checking expected number of arguments in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 10:16:27 -07:00 |
|
Leonardo de Moura
|
5a5d66edc8
|
feat(util/trie): add value() method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 01:19:23 -07:00 |
|
Leonardo de Moura
|
931ebf9637
|
chore(util/rb_tree): cleanup code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 00:40:52 -07:00 |
|
Leonardo de Moura
|
e155708dda
|
feat(util): add (functional) name_map
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 14:46:13 -07:00 |
|
Leonardo de Moura
|
dcacf6fbca
|
refactor(util): rename name_map to name_hash_map
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 14:34:22 -07:00 |
|
Leonardo de Moura
|
3145cee51f
|
refactor(library/aliases): move replace_prefix to util/name
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 15:11:22 -07:00 |
|
Leonardo de Moura
|
88440cbb3e
|
feat(util/name): add optional<name> helper functions for implementing Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-29 13:33:42 -07:00 |
|
Leonardo de Moura
|
5566186c34
|
feat(util/list_fn): add get_ith function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-19 09:00:09 -07:00 |
|
Leonardo de Moura
|
405b24861c
|
feat(util/name): add methods append_after and append_before
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-18 13:49:24 -07:00 |
|
Leonardo de Moura
|
4325b126d4
|
feat(util/list): add map2 for list<T1> -> list<T2>, where T1 and T2 may be different, we still keep map because compiler can automatically infer all template arguments, this is not the case for map2
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 19:18:18 -07:00 |
|
Leonardo de Moura
|
69e72c278d
|
feat(kernel): add proof irrelevance for classes
We can use this feature to implement proof irrelevance for Identity types.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 15:30:32 -07:00 |
|
Leonardo de Moura
|
28329a55b0
|
feat(util/name): use '.' instead of '::' as hierarchical name separator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 12:35:43 -07:00 |
|
Leonardo de Moura
|
a8124b41d0
|
feat(util/name): expose is_list_name function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 09:44:58 -07:00 |
|
Leonardo de Moura
|
01eda46b69
|
feat(util/trie): add for_each and display methods
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-13 18:23:27 -07:00 |
|
Leonardo de Moura
|
bfa6193bfe
|
feat(util/trie): add merge method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-13 17:59:20 -07:00 |
|
Leonardo de Moura
|
479685cb97
|
feat(util): add basic trie datastructure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-13 17:40:33 -07:00 |
|
Leonardo de Moura
|
3196cd19dc
|
chore(util/thread): add atomic_uint type
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-12 16:14:31 -07:00 |
|
Leonardo de Moura
|
ad2b1d0d91
|
chore(util/lua_list): improve error message in table_to_list aux function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-12 12:58:10 -07:00 |
|
Leonardo de Moura
|
0eaf1bb2cf
|
fix(util/lua_named_param): compilation warning
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-12 12:21:48 -07:00 |
|
Leonardo de Moura
|
bc1a91496a
|
feat(util/lua_list): allow Lua list objects to be moved between states
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-08 18:49:27 -07:00 |
|
Leonardo de Moura
|
5a7f181efc
|
feat(util/name_set): improve name_set Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-08 17:17:00 -07:00 |
|
Leonardo de Moura
|
3aa1afdf51
|
refactor(util): file name convention
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-08 14:15:28 -07:00 |
|
Leonardo de Moura
|
1e4c5f1761
|
feat(util/lua_named_param): add new functions for handling named parameters in Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-08 14:12:15 -07:00 |
|
Leonardo de Moura
|
bf57f951ea
|
refactor(util): move Lua named parameter support to a different file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-08 13:20:37 -07:00 |
|
Leonardo de Moura
|
1a8d75c4f0
|
feat(util): name_set Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-07 18:32:53 -07:00 |
|
Leonardo de Moura
|
7fe61bc69c
|
feat(util): name_generator Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-07 17:28:11 -07:00 |
|
Leonardo de Moura
|
208384b5b6
|
fix(util/rb_tree): missing const
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-07 14:07:15 -07:00 |
|
Leonardo de Moura
|
f568ed97b8
|
feat(util/lua): add functions for simulating python-like named arguments using Lua tables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-05 14:41:33 -07:00 |
|
Leonardo de Moura
|
b928f313d3
|
feat(util): add macro for exposing the type std::pair<T1, T2> in Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-02 16:30:17 -07:00 |
|
Leonardo de Moura
|
91069c5f7f
|
feat(util/list_lua): add length method to list Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-02 13:37:15 -07:00 |
|
Leonardo de Moura
|
107f139764
|
fix(util/list_lua): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-02 13:33:49 -07:00 |
|
Leonardo de Moura
|
a5229e5283
|
chore(util/lua): name convention
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-01 18:40:18 -07:00 |
|
Leonardo de Moura
|
739f98b642
|
fix(util/script_state): deadlock
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-01 14:10:57 -07:00 |
|
Leonardo de Moura
|
027614cebb
|
fix(kernel/metavar): wierd memory leak that only happens when compiling with clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-01 12:55:55 -07:00 |
|
Leonardo de Moura
|
9452d164ec
|
feat(util/script_state): use recursive_mutex instead of mutex
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-01 12:27:12 -07:00 |
|
Leonardo de Moura
|
dbf327bad9
|
feat(util): expose list<name> in Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-04-30 16:32:10 -07:00 |
|
Leonardo de Moura
|
03a32dcc77
|
feat(util): add macro for exposing the type list<T> in Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-04-30 16:31:44 -07:00 |
|