Gabriel Ebner
bfed11a6f7
fix(util/memory): fix jemalloc support
2017-06-29 11:26:41 +02:00
Sebastian Ullrich
426f1afb4e
feat(util/name): accept more subscripts in identifiers
2017-06-28 10:43:19 -07:00
Sebastian Ullrich
f53fa97c4a
feat(frontends/lean): escape identifiers when pretty-printing
2017-06-28 10:43:19 -07:00
Gabriel Ebner
33679a11b9
feat(shell/lean,util/log_tree): show currently executing task in lean --make
...
@dselsam @johoelzl This should make it easier to diagnose which proofs
time out or take a very long time.
2017-06-27 18:48:25 +02:00
Gabriel Ebner
af3f6fd181
fix(util/hash): add missing cast to unsigned
2017-06-25 14:58:18 +02:00
Gabriel Ebner
4a6513e5f5
refactor(util/serializer,library/module): use basic_ostream::write for the olean code
2017-06-23 15:13:40 +02:00
Gabriel Ebner
16c6e0ffaf
fix(util/object_serializer): do not compare chars
2017-06-19 20:48:24 +02:00
Gabriel Ebner
856a88833f
fix(util/debug,util/serializer): use basic_ios::eof to check for end-of-file
2017-06-19 13:04:06 +02:00
Gabriel Ebner
5528a26592
fix(library/tactic/tactic_state): make tactic.sleep interruptible
...
Fixes leanprover/vscode-lean#52
2017-06-15 17:16:40 +02:00
Sebastian Ullrich
a72687661b
fix(util/stackinfo): avoid and guard against negative overflow in g_stack_threshold computation
2017-06-07 13:22:11 +02:00
Leonardo de Moura
b9a22155da
perf(util/stackinfo): optimize check_stack
2017-06-06 16:35:20 -07:00
Gabriel Ebner
1e7e440951
fix(library/module_mgr): actually cancel invalidated tasks
2017-06-05 19:36:09 +02:00
Gabriel Ebner
86f4c9a794
fix(util/thread): disable thread finalizer manager finalization due to race condition
2017-06-04 23:29:34 +02:00
Gabriel Ebner
0c90e97134
fix(util/lp): fix compile error due to missing functions
2017-06-03 15:44:22 +02:00
Gabriel Ebner
9a706daf12
chore(util/debug): mark assertion failures as LEAN_UNLIKELY
2017-06-03 15:44:22 +02:00
Gabriel Ebner
88a1067435
fix(util/debug): extract exit-to-debugger functionality
2017-06-03 15:44:22 +02:00
Gabriel Ebner
910d63d314
refactor(util/compiler_hints): move LEAN_UNLIKELY macro out of vm code
2017-06-03 15:44:22 +02:00
Gabriel Ebner
d394654490
feat(util/debug): throw exceptions for failed assertions in server mode
2017-06-03 15:29:37 +02:00
Leonardo de Moura
6af3084f9a
feat(util/numerics/mpz): add mpz(uint64) constructor
2017-06-02 16:36:40 -07:00
Leonardo de Moura
56215b36e8
fix(*): [[fallthrough]] ==> /* fall-thru */
...
Older gcc compilers generate a warning when the attribute is used.
I found out that GCC 7 will not produce a warning if comments
such as /* fall-thru */ or /* FALLTHRU */ are used instead of the
attribute [[fallthrough]]
2017-05-31 21:18:47 -07:00
Leonardo de Moura
24048c4258
fix(*): gcc 7 weird uninitialized warnings
...
I think most of them are incorrect.
I didn't find a workaround for the one at json.hpp.
So, I just disabled this warning at server.cpp
2017-05-31 18:05:03 -07:00
Leonardo de Moura
ac17270894
fix(*): more gcc 7 warnings
2017-05-31 17:29:30 -07:00
Leonardo de Moura
603bbe5987
fix(*): gcc 7 linking errors
2017-05-31 16:35:09 -07:00
Leonardo de Moura
919cf420ea
fix(*): gcc 7 warnings
2017-05-31 16:35:09 -07:00
Leonardo de Moura
8ef5acd615
feat(util/numerics/mpz): add test_bit
2017-05-30 13:08:51 -07:00
Mario Carneiro
9d676776b5
feat(library/vm/vm_nat): implementations of bitwise ops
2017-05-30 12:47:44 -07:00
Leonardo de Moura
d0f73c7041
fix(util/trie): compilation issue
...
See #1619
2017-05-30 10:57:59 -07:00
Leonardo de Moura
9afb09cc1e
fix(util/trie): fix the build
2017-05-23 15:00:29 -07:00
Gabriel Ebner
02c744941e
fix(util/lean_path): do not crash if HOME is not set
2017-05-07 13:29:29 +02:00
Leonardo de Moura
a69052e7ee
feat(library/parray): add parray thread safe version
...
We will use the thread safe version for implementing persistent hash maps.
The hash maps will be used to implement decision procedures and refactor
the congruence closure and ematching modules.
The persistent hash maps based on thread safe parrays are performant
when most of the time there is a single thread updating them.
We use a small hack to make sure we don't have any overhead for
parray<T, false>
i.e., the thread unsafe version used in the VM.
2017-05-02 17:15:09 -07:00
Gabriel Ebner
dc4337779a
fix(util/lean_path): fix emscripten build
2017-05-01 14:11:38 -07:00
Gabriel Ebner
3810e8950d
refactor(util/lean_path,util/path): separate search path functions
2017-05-01 14:11:38 -07:00
Gabriel Ebner
d79909a1b8
refactor(util/lean_path): support leanpkg.path files
2017-05-01 14:11:38 -07:00
Gabriel Ebner
baa4c48f1f
refactor(util/lean_path): explicitly pass around search path
2017-05-01 14:11:38 -07:00
Gabriel Ebner
e6a62b8030
fix(util/sexpr/format): incorrect assertion
2017-05-01 13:13:07 +02:00
Sebastian Ullrich
cdd3f7fd6e
fix(util/rb_tree): fix remove(rb_tree)
2017-04-24 19:31:56 +02:00
Gabriel Ebner
9424e6fa24
refactor(frontends/lean/definition_cmds): make profiling threshold configurable
2017-04-23 11:22:41 -07:00
Sebastian Ullrich
7ac2f1be89
fix(util/name): segfault on name() == "foo"
...
Fixes #1505
2017-04-03 12:32:35 +02:00
Sebastian Ullrich
3f87755a2a
fix(frontends/lean/pp): qualify constant shadowed by local
2017-03-31 09:40:49 -07:00
Jared Roesch
dc4086d0ed
feat(library/vm/process): add basic process support
2017-03-28 18:08:06 -07:00
Gabriel Ebner
318910f99b
refactor(frontends/lean/parser): store snapshots in a lazy async list
2017-03-27 14:00:53 -07:00
Gabriel Ebner
34586a2e82
feat(util/log_tree): deindent _next nodes
2017-03-24 07:04:35 +01:00
Gabriel Ebner
fdd80c12dd
feat(util/log_tree): inherit description
2017-03-24 07:04:35 +01:00
Gabriel Ebner
69322cd523
fix(util/task): evaluate dependencies iteratively
2017-03-23 09:16:49 +01:00
Gabriel Ebner
73826eee54
chore(util/rb_tree): fix clang warning
2017-03-23 09:07:50 +01:00
Gabriel Ebner
5e29fe227e
fix(shell/server): set global ios in info and complete tasks
2017-03-23 09:03:43 +01:00
Gabriel Ebner
dfb5dad1a3
chore(util/log_tree): style
2017-03-23 09:03:43 +01:00
Gabriel Ebner
c7ca21625c
feat(util/log_tree): annotate nodes with detail levels
2017-03-23 09:03:43 +01:00
Gabriel Ebner
0853d9fd2a
fix(util/thread): fix single-threaded build
2017-03-23 09:03:42 +01:00
Gabriel Ebner
e35968cda1
feat(util/memory): implement get_current_rss using the jemalloc API
2017-03-23 09:01:00 +01:00