Christoph M. Wintersteiger
ed1e8b73ed
formatting
2015-12-17 17:39:23 +00:00
Christoph M. Wintersteiger
fc5b9156cf
Merge pull request #363 from delcypher/dotnet_configure_assembly_info
...
Refactor ``mk_all_assembly_infos()`` to use the ``configure_file()`` and misc fixes for dotnet bindings
2015-12-15 11:35:14 +00:00
Christoph M. Wintersteiger
c33a8794a4
Merge branch 'master' of https://github.com/Z3Prover/z3 into new_ocaml_install
2015-12-14 16:32:48 +00:00
Christoph M. Wintersteiger
e652b7d2c7
Follow-up fix for #377 .
2015-12-14 16:31:10 +00:00
Christoph M. Wintersteiger
4f5a2e432d
For for Python 3.x __eq__/__hash__.
...
Fixes #377 .
2015-12-14 16:27:39 +00:00
Christoph M. Wintersteiger
ced6809cd8
Removed old, unnecessary file.
2015-12-14 14:43:28 +00:00
Christoph M. Wintersteiger
134b93b43e
ML API build fixes for Windows.
2015-12-14 14:41:19 +00:00
Christoph M. Wintersteiger
1f0b5cd0bc
Merge branch 'master' of https://github.com/Z3Prover/z3 into new_ocaml_install
2015-12-14 13:02:49 +00:00
Dan Liew
28eb21442e
Bump the copyright year in `AssemblyInfo.cs.in
`. Perhaps we should
...
automatically generate this year during the configure step with a
``@COPYRIGHT_END_YEAR@`` substitution instead?
2015-12-14 09:51:45 +00:00
Dan Liew
288fb3b7c1
Remove some trailing spaces in `AssemblyInfo.cs.in
`
2015-12-14 09:51:45 +00:00
Dan Liew
81c98cf3ee
Refactor `mk_all_assembly_infos()
to use the
configure_file()
`
...
function. The old implementation was buggy under Python 3.5 and
unsafe (not using with statements on calls to ``open()``).
2015-12-14 09:51:45 +00:00
Nikolaj Bjorner
72883df134
fix build, add seq features
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-13 16:02:17 -08:00
Christoph M. Wintersteiger
5a357097c0
ML API Windows build fixes
2015-12-12 20:01:52 +00:00
Christoph M. Wintersteiger
d5f79c1f17
build fix for ML API
2015-12-12 19:30:25 +00:00
Nikolaj Bjorner
d4a90d7ec3
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 19:30:24 +00:00
Nikolaj Bjorner
9769322690
reworking cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 19:30:23 +00:00
Nikolaj Bjorner
e08bfb62f8
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 19:30:23 +00:00
Nikolaj Bjorner
589626b738
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 19:30:23 +00:00
Nikolaj Bjorner
f2f9578c0a
cleanup cancelation logic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 19:30:22 +00:00
Nikolaj Bjorner
9c597e9eea
Merge branch 'master' of https://github.com/Z3Prover/z3
2015-12-11 17:47:03 -08:00
Nikolaj Bjorner
1aea9722cb
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:56:23 -08:00
Nikolaj Bjorner
baee4225a7
reworking cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:21:24 -08:00
Nikolaj Bjorner
981f8226fe
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 13:36:47 -08:00
Nikolaj Bjorner
32b6b2da44
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 13:13:11 -08:00
Nikolaj Bjorner
61dbb6168e
cleanup cancelation logic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 12:35:35 -08:00
Christoph M. Wintersteiger
12ee1d342c
Improved argument validation in FP API.
...
Fixes #372
2015-12-11 17:48:40 +00:00
Christoph M. Wintersteiger
b25f517a89
Bugfix for C++ API.
...
Fixes #371 .
2015-12-11 14:03:41 +00:00
Christoph M. Wintersteiger
cc8e685f45
whitespace
2015-12-11 14:03:24 +00:00
Christoph M. Wintersteiger
383d06b225
Bugfix for Expr.isInt in .NET, Java, ML.
...
Fixes #370
2015-12-10 15:13:55 +00:00
Christoph M. Wintersteiger
3626d9f69f
Bugfix for floating-point API.
...
Fixes #358 .
2015-12-07 19:24:09 +00:00
Christoph M. Wintersteiger
2a0bbad524
Bugfix for ML API
2015-12-07 14:42:40 +00:00
Christoph M. Wintersteiger
cfc25b5094
Merge branch 'master' of https://github.com/Z3Prover/z3
2015-12-07 13:14:00 +00:00
Nikolaj Bjorner
4550b7ed91
Merge branch 'master' of https://github.com/NikolajBjorner/z3
2015-12-07 03:27:04 +00:00
Andres Notzli
ced9ba17e9
Fix misc issues in Python API docstrings
2015-12-06 19:00:17 -08:00
Nikolaj Bjorner
b5fcbd7099
Merge branch 'mono_dotnet_bindings' of https://github.com/delcypher/z3-1
2015-12-06 13:51:43 -08:00
Dan Liew
c8a2b6645a
Teach the build system to generate and install a pkg-config file for the
...
".NET" bindings. This file is required for Monodevelop to find the
bindings because Monodevelop uses pkg-config to find packages
(it doesn't use the GAC).
For lack of a better name the GAC (and pkg-config) package name is now
``Microsoft.Z3.Sharp``. I don't want to call it ``Microsoft.Z3`` because
someone may want to create a ``Microsoft.Z3.pc`` file in the future for
the native Z3 library (i.e. C++ or C bindings).
In addition there is a new utility function ``configure_file()``
which reads a template file, applies some substitutions and writes
the result to another file. This very similar to what CMake does.
There is a new environment variable ``Z3_INSTALL_PKGCONFIG_DIR``
which allows pkgconfig directory to be controlled for the install.
2015-12-05 07:52:31 +00:00
Dan Liew
61d1cd524e
Teach the build system to build and install the ".NET bindings"
...
under non Windows systems (i.e. Using mono).
Building these bindings is unfortunately on by default because
I didn't want to change the command line interface (i.e. ``--nodotnet``)
which people might be relying on. This should really be changed to
match the other binding flags (e.g. ``--java``) but I will leave
this for now.
To perform the build a C# compiler and the GAC utility are required.
The script will try to automatically detect them but the user can
override this by setting the ``CSC`` and ``GACUTIL`` environment
variables.
In order for the ".NET bindings" to be installed the assembly
(``Microsoft.Z3.dll``) needs to have a strong name which means
we need a Strong name key file which is what the
``Microsoft.Z3.mono.snk`` is for. This is the public and private
key so this key **must never** be used for checking integrity. Instead its
only purpose is to avoid any name clashes in the GAC.
It is also worth noting that slightly different flags needs to
be passed to the C# compiler on non Windows platforms. I don't
understand why some of the flags are being used on Windows but I left
a comment there that hopefully someone can fix...
2015-12-05 07:52:31 +00:00
Christoph M. Wintersteiger
36a4828526
Whitespace
2015-12-03 17:55:31 +00:00
Christoph M. Wintersteiger
00271e5531
C API cleanup. Mainly removal of ML-specific macros that are not used anymore and inline documentation fixes.
2015-12-03 17:33:25 +00:00
Christoph M. Wintersteiger
d23dce4f7b
Bugfix for finite domains in Python API.
2015-12-02 22:34:09 +00:00
Christoph M. Wintersteiger
b77f20fb0c
Merge branch 'master' of https://github.com/Z3Prover/z3
2015-12-02 17:06:42 +00:00
Christoph M. Wintersteiger
2f86ab98a8
Added finite-domain expressions to the Python pretty printer
2015-12-02 17:04:06 +00:00
Christoph M. Wintersteiger
5510e0ddef
Added finite-domain constant to Z3_decl_kind
2015-12-02 17:03:37 +00:00
Christoph M. Wintersteiger
5a43d8a469
Whitespace
2015-12-02 17:02:39 +00:00
Christoph M. Wintersteiger
cbda38ee80
Added finite domain expressions and numerals to the .NET, Java, and Python APIs.
...
Relates to #318
2015-12-02 17:01:52 +00:00
Nikolaj Bjorner
6580f1daf3
expose main interpolation routines in C++ API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-02 07:40:06 -08:00
Christoph M. Wintersteiger
9e756fb6db
Warning fix for Comparable<T> in Java API
2015-12-02 14:42:36 +00:00
Christoph M. Wintersteiger
00ce124db3
Bugfix for Z3_is_numeral for finite-domain numerals.
...
Relates to #318
2015-12-02 14:41:46 +00:00
Christoph M. Wintersteiger
52bbd67cd3
Whitespace
2015-12-02 14:40:47 +00:00
Dan Liew
b0bc50a75c
Fixed stray UTF-8 Byte order mark in `InterpolationContext.cs
`.
...
Old versions of the mono compiler don't like it.
2015-11-30 15:02:02 +00:00