3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-19 20:33:38 +00:00
Commit graph

2340 commits

Author SHA1 Message Date
Nikolaj Bjorner
c1b03e8ca6 Merge branch 'master' of https://github.com/z3prover/z3 2018-12-11 09:38:44 -08:00
Nikolaj Bjorner
021c5315a7
Merge pull request #2034 from Bronsa/patch-1
Change error message from "internal failure" to "Object allocation failed"
2018-12-11 09:32:32 -08:00
Nikolaj Bjorner
a3f9e3168d simplify ~context #1948
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-12-11 09:29:59 -08:00
Nicola Mometto
06fc94818f
Change error message from "internal failure" to "Object allocation failed"
For consistency with ad49c3269a and Java/dotNet APIs
2018-12-11 12:09:22 +00:00
Nikolaj Bjorner
092c25d596 fix #2007
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-12-10 18:37:30 -08:00
Bruce Mitchener
51a947b73d Change how 64 bit builds are detected.
Instead of doing this at configure time, we look at the actual
compile time status. This also avoids hardcoding checks based on
what CPU architecture is present, which doesn't work when Z3 is
being built on non-x86_64 platforms.
2018-12-09 16:16:20 +07:00
Bruce Mitchener
0231bc44bc Simplify boolean code.
Now that the C API is using bool, this can be simplified.
2018-12-07 22:06:51 +07:00
Sebastian Buchwald
5690dbcbfd Fix enum type of case labels 2018-12-06 00:08:29 +01:00
Bruce Mitchener
4bc1b0b8c8 Fix typos. 2018-12-05 21:07:34 +07:00
Nikolaj Bjorner
3b54575340
Revert "Use nullptr, not 0 in the C++ API impl." 2018-12-04 12:06:44 -08:00
Nikolaj Bjorner
0223846b4f
Merge pull request #2015 from waywardmonkeys/c++-api-use-nullptr
Use nullptr, not 0 in the C++ API impl.
2018-12-04 10:18:23 -08:00
Nikolaj Bjorner
7aaacbfc62
Merge pull request #2014 from waywardmonkeys/simplify-boolean-returns
Simplify some boolean returns.
2018-12-04 10:17:53 -08:00
Nikolaj Bjorner
4b94ea112d
Merge pull request #2013 from waywardmonkeys/remove-get-manager
Remove Z3_get_manager.
2018-12-04 10:17:29 -08:00
Nikolaj Bjorner
3551d12168
Merge pull request #2011 from waywardmonkeys/missing-Z3_API
Z3_fixedpoint_add_constraint: decl missing Z3_API.
2018-12-04 10:17:12 -08:00
Bruce Mitchener
924776eaa6 Use nullptr, not 0 in the C++ API impl. 2018-12-04 22:43:01 +07:00
Bruce Mitchener
5fa861fa95 Simplify some boolean returns. 2018-12-04 22:41:31 +07:00
Bruce Mitchener
374b80f37f Remove Z3_get_manager.
This was publicly exported from the shared library, but it isn't
in any header files and isn't used anywhere in the repository.
2018-12-04 21:38:33 +07:00
Bruce Mitchener
15e1a5ee86 Fix up more documentation formatting. 2018-12-04 20:20:21 +07:00
Bruce Mitchener
6c21d3d9e8 Z3_fixedpoint_add_constraint: decl missing Z3_API. 2018-12-04 12:24:42 +07:00
Bruce Mitchener
42d2a46826 Mark up Z3_L_TRUE and friends correctly in the docs. 2018-12-04 09:12:12 +07:00
Bruce Mitchener
afc9de960c Improve JavaDoc. 2018-11-30 08:42:28 +07:00
Bruce Mitchener
38ca9ddfeb Swapped significand and exponent in call to Context.mkFPNumeral.
Fixes #973.
2018-11-30 08:42:01 +07:00
Nikolaj Bjorner
c5f280ae6e
Merge pull request #1969 from Bronsa/master
Catch and print exceptions in Z3_mk_config
2018-11-27 10:43:43 -08:00
Nikolaj Bjorner
5df29daa35
Merge pull request #1972 from waywardmonkeys/use-vector-empty
Prefer using empty rather than size comparisons.
2018-11-27 10:39:34 -08:00
Bruce Mitchener
7fb0106ead Fix typo in OCaml API docs. 2018-11-27 22:14:41 +07:00
Bruce Mitchener
e570940662 Prefer using empty rather than size comparisons. 2018-11-27 21:42:04 +07:00
Nicola Mometto
21158d87e3 override n_mk_config in ml bindings to catch exception path 2018-11-27 12:31:00 +00:00
Nicola Mometto
29a28f544d catch and print exceptions in Z3_mk_config instead of letting them
bubble up the stack
2018-11-27 12:31:00 +00:00
Nicola Mometto
f18227bf2d Add Memory.reset to OCaml API 2018-11-26 17:24:51 +00:00
Bruce Mitchener
b2123136b1 Remove unused DEFINE_VOID macro. 2018-11-26 09:20:04 +07:00
Bruce Mitchener
236f85d82b Improve intra-doc linking. 2018-11-21 19:13:02 +07:00
Nikolaj Bjorner
2cc654081c
Merge pull request #1955 from waywardmonkeys/Z3_bool_to_bool
Switch from using Z3_bool to using bool.
2018-11-20 20:29:28 -08:00
Nikolaj Bjorner
37ef3cbeb2 add rc2 sample
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-20 14:32:01 -08:00
Bruce Mitchener
b93ffe676b Fix broken link. It is Z3_add_rec_def, not Z3_mk_rec_def. 2018-11-20 11:34:32 +07:00
Bruce Mitchener
edf8ba44d1 Switch from using Z3_bool to using bool.
This is a continuation of the work started by using stdbool and
continued by switching from Z3_TRUE|FALSE to true|false.
2018-11-20 11:27:09 +07:00
Nikolaj Bjorner
7d0d7e6343 have replayer handle oom natively
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-19 10:59:12 -08:00
Nikolaj Bjorner
5a825d7ac3 true is true, false is not true, it is false
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-19 09:37:23 -08:00
Bruce Mitchener
56bbed173e Remove usages of Z3_TRUE / Z3_FALSE.
Now that this is all using stdbool.h, we can just use true/false.

For now, we leave the aliases in place in z3_api.h.
2018-11-20 00:25:37 +07:00
Nikolaj Bjorner
8b2450aba7
Merge pull request #1949 from waywardmonkeys/fix-doc-precondition
Fix precondition in Z3_get_symbol_string doc comment.
2018-11-19 08:43:52 -08:00
Bruce Mitchener
115256e353 Improve intra-doc linking. 2018-11-19 20:32:00 +07:00
Bruce Mitchener
e1388a838c Fix precondition in Z3_get_symbol_string doc comment. 2018-11-19 18:58:09 +07:00
Bruce Mitchener
93835eab05 Correct Z3_(fixedpoint|optimize)_from_file param doc. 2018-11-19 13:04:07 +07:00
Nikolaj Bjorner
6ef2557e2a investigate #1946
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-18 09:34:33 -08:00
Nikolaj Bjorner
1603075189 add empty/full to java #1944
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-17 15:46:06 -08:00
Nikolaj Bjorner
d45b8a3ac8 fix debug build, add access to numerics from model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-17 15:24:54 -08:00
Nikolaj Bjorner
b7ecd4fa7a
Merge pull request #1942 from waywardmonkeys/fix-missing-word
Fix missing word in doc comment.
2018-11-17 09:18:13 -08:00
Bruce Mitchener
69dc749239 Fix missing word in doc comment. 2018-11-17 21:02:00 +07:00
Nikolaj Bjorner
9b4cf1559d recover error stream from dimacs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-12 15:33:46 -08:00
Nikolaj Bjorner
72400f1869 fix #1927
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-12 03:43:04 -08:00
Nikolaj Bjorner
69e2f33ecf undefine min/max #1927
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-11 09:50:52 -08:00