- 14 Feb, 2018 2 commits
-
-
François Bobot authored
-
Guillaume Melquiond authored
Compile and install the cmxs See merge request !3
-
- 09 Feb, 2018 1 commit
-
-
Sylvain Dailler authored
This reduces the differences between why3server of Adacore (which is known to be working on Windows) and why3server of Why3. Recovered src/driver/prove_client.ml whose version from Adacore is not suitable on Why3 side.
-
- 07 Feb, 2018 13 commits
-
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Sylvain Dailler authored
-
Johannes Kanig authored
The windows version of why3server (and client) now also handles a path as socket name. However, on windows sockets are not paths, so it just throws away the path part of the socket name, and just uses the basename. Change-Id: I11d5c0f1023cb21eb105a892f12065d918b9eb9c (cherry picked from commit 924dbfe1f52c9197939d763fb72df9b980efd511)
-
Johannes Kanig authored
Change-Id: Ic12eaeb437151a71a168b0f14f7a8db3343c5cb9 (cherry picked from commit 6c45b3cf5a559c064d136631a6d297f52d267afe)
-
Johannes Kanig authored
Unix sockets have the restriction that the path to the socket must be quite short (100 chars give or take depending on exact OS). We can workaround this limitation by chdir'ing to the dirname of the socket first. We need to do that in the client and server parts of the code, but only for Unix (windows doesn't use Unix sockets obviously). Right now this code is not strictly needed in gnatprove, because we don't pass a path, only a filename as the socket. But this will change later. * prove_client.ml (client_connect): save curdir, change to dirname, connect to basename, then go back to curdir * options.c rename socketname because it would clash with basename from libgen.h * server-unix.c rename of basename to socketname (server_init_listening): save curdir, change to dirname, connect to basename, then go back to curdir * server-win.c rename of basename to socketname Change-Id: Ib69587dfa136f6ced753c983bc37203c37acb936 (cherry picked from commit e6c15eb26d6077e814ab8c72deb92fc86e43600a)
-
Johannes Kanig authored
Change-Id: I0c71ac7e08df20f8135fe0cacc3716b2d1024991 (cherry picked from commit 4651501b2826c6976875e6280337d640c2f787b9)
-
MARCHE Claude authored
(cherry picked from commit 963190dc)
-
MARCHE Claude authored
(cherry picked from commit 28cd7354)
-
Johannes Kanig authored
On windows, when the why3server has accepted a client on the server socket, it continues to use that socket for the client communication. A new socket is created so that new clients can connect. However, there may be a little time between accepting the client and creating the new socket, where the connection of another client will be refused. This resulted in crashes. We now simply prepare more than one server socket, so that several clients can connect at the same time. More precisely, we create as many sockets as gnatwhy3 processes will be run in parallel. Concretely, we replace the previous server_socket and server_key variables by arrays, whose length is determined by the "parallel" option. The code which manipulated these variables needs to be adapted to know which of the sockets to manipulate. * server-win.c (shutdown_with_msg): close all handles (create_server_socket): new integer argument which specifies the cell to store the new server socket in (accept_client): new integer argument which specifies on which of the server sockets the connection was accepted. Used to create a new socket in that cell using create_server_socket. (init): create an array of sockets instead of just one (get_server_num): new function to determine the socket which got the new client (main): use get_server_num to know if it was a server socket that had an event, and which one. Call accept_client with the result. Change-Id: I5f7ff1b30c9340d897b75085ade61b2d79f87167 (cherry picked from commit f2cbded5da7a3fcbebb61ee98b8e6c8d9c1d2227)
-
Sylvain Dailler authored
-
Johannes Kanig authored
Change-Id: Ie756bd146b822782bac977326a6a2b996d075dec (cherry picked from commit 6339d6678c3260b6e4e42f944581c4515c2ed567)
-
- 06 Feb, 2018 1 commit
-
-
François Bobot authored
-
- 05 Feb, 2018 1 commit
-
-
MARCHE Claude authored
-
- 02 Feb, 2018 1 commit
-
-
MARCHE Claude authored
-
- 24 Jan, 2018 2 commits
-
-
MARCHE Claude authored
-
MARCHE Claude authored
loadpath is now reset to default when using why3config --detect
-
- 12 Jan, 2018 1 commit
-
-
Guillaume Melquiond authored
-
- 11 Jan, 2018 2 commits
-
-
Guillaume Melquiond authored
This commit also marks the dependency on ocamlfind as being build-only.
-
Guillaume Melquiond authored
-
- 26 Dec, 2017 7 commits
-
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
- 25 Dec, 2017 1 commit
-
-
Guillaume Melquiond authored
-
- 24 Dec, 2017 8 commits
-
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
Some people dump the content of tarballs into git repositories and thus experience compilation failures. Indeed, some directories from the tarball are empty and thus not preserved by git. So this commit creates these directories on the fly. As for plugins/printer, it has to be handled differently, since it is needed by ocamldep and thus cannot be created on the fly. So its .keepme file is put in the tarball to keep it nonempty.
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-
Guillaume Melquiond authored
-