]>
matita.cs.unibo.it Git - helm.git/log
Claudio Sacerdoti Coen [Tue, 14 Feb 2023 16:13:28 +0000 (17:13 +0100)]
made executable again
Claudio Sacerdoti Coen [Tue, 14 Feb 2023 14:26:47 +0000 (15:26 +0100)]
Merge branch 'dune' of git+ssh://matita.cs.unibo.it/srv/git/helm into dune
Claudio Sacerdoti Coen [Tue, 14 Feb 2023 14:20:06 +0000 (15:20 +0100)]
Ctr-C/break button behaviour fixed
Claudio Sacerdoti Coen [Sat, 4 Feb 2023 13:52:22 +0000 (14:52 +0100)]
new executables (ported by Ferruccio Guidi)
Claudio Sacerdoti Coen [Sat, 4 Feb 2023 13:38:50 +0000 (14:38 +0100)]
mod change (-x)
Ferruccio Guidi [Sun, 22 Jan 2023 00:05:23 +0000 (01:05 +0100)]
wip ....
+ a situation in which matita falls asleep was detected
Ferruccio Guidi [Tue, 10 Jan 2023 17:28:41 +0000 (18:28 +0100)]
unused componentsConf module removed
Ferruccio Guidi [Tue, 10 Jan 2023 16:59:08 +0000 (17:59 +0100)]
auxiliary executables (xoa, matitadep, probe, matex) ported to dune
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 22:06:57 +0000 (23:06 +0100)]
revert from camlp5o to standard syntax
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 20:56:17 +0000 (21:56 +0100)]
Dependency on ocaml_http replaced by ocaml_http_stubs stubs
- the stubs always fail with an assert false
- the code is still live in Matita, but currently unused in practice
- ocaml_http depends on ocamlnet, that is way too hard to port completely
to ocaml 5.0.0. A better path to restore the lost functionalities is
to reimplement ocaml_http_stubs on modern libraries (e.g. lwt-cohttp)
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 20:31:32 +0000 (21:31 +0100)]
camlp5.gramlib does not pull in camlp-streams by default
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 11:03:10 +0000 (12:03 +0100)]
registry already did not depend on ocamlnet any more
Claudio Sacerdoti Coen [Wed, 4 Jan 2023 14:38:38 +0000 (15:38 +0100)]
allow ocaml >= 4.14.1
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 23:17:53 +0000 (00:17 +0100)]
All previously auto-generated files from *.in committed
- the values are surely wrong, even if they should be mostly unused
or set by hand at each release
Once I will figure out what to do correctly, I will remove the .in files
too.
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 21:19:15 +0000 (22:19 +0100)]
METAS removed + matita.conf.xml committed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 21:00:06 +0000 (22:00 +0100)]
Bad spelling for camlzip
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:58:58 +0000 (21:58 +0100)]
Added dependency on caml-zip
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:54:19 +0000 (21:54 +0100)]
Added dependency on ocaml-http
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:50:27 +0000 (21:50 +0100)]
In last commit I forgot to regenerate matita.opam :-(
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:49:08 +0000 (21:49 +0100)]
Added pcre + depenencies relaxed using >=
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:46:37 +0000 (21:46 +0100)]
Drop zip dependency (no longer used)
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:59:47 +0000 (18:59 +0100)]
Remove all traces of autoconf/automake/makefile
- also fixes installation of help/C files to include only .xml files
and figures
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:44:57 +0000 (18:44 +0100)]
comment removed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:27:13 +0000 (18:27 +0100)]
Install into doc the PDF and HTML manuals
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:52:35 +0000 (17:52 +0100)]
Ignore *-stamp in matita/help/C
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:32:48 +0000 (17:32 +0100)]
Manual(s) fixed and committed to avoid rebuilding them in dune
- fixed a bug in the XSLT that used wrong linkends
- the HTML and PDF files are now committed to the repository
Note: there is a now old (4 years!) but in yelp with links to other
pages in XMLDOCs. Not my fault, but most hyperlinks are broken.
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:27:07 +0000 (17:27 +0100)]
Makefiles removed in favour of dune-only solution
- some Makefiles are still to be removed
- some Makefiles in legacy dirs that are no longer compiled will
be kept
- the Makefile in help is still useful!
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 10:59:56 +0000 (11:59 +0100)]
added comment about version number to be manually changed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 02:39:55 +0000 (03:39 +0100)]
Dune sites used to locate the standard library
- it works both before and after installation
- it definitely breaks the Makefiles
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 02:03:53 +0000 (03:03 +0100)]
Use dune-build-info to put the version in buildTimeConf
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 00:56:28 +0000 (01:56 +0100)]
componentsConf is unused (and automatically generated)
Do not compile it (to get rid of Makefile)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:36:37 +0000 (00:36 +0100)]
Remove dandling symbolic links from the repository
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:32:27 +0000 (00:32 +0100)]
Use source and licence accepted by opam
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:20:01 +0000 (00:20 +0100)]
Install what is needed by Matita (but not used yet!)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:19:15 +0000 (00:19 +0100)]
make_table is now private (= not installed)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:19:01 +0000 (00:19 +0100)]
I forgot Luca among the authors!
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 21:29:33 +0000 (22:29 +0100)]
Enable "dune build -p matita" + version bumped to 0.99.5
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 20:46:29 +0000 (21:46 +0100)]
Generated files (for dune) added to .gitignore
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:56:40 +0000 (20:56 +0100)]
Fix "dune build" for syntax_extensions
- pa_unicode_macro.cma no longer "includes" helm_syntax_extensions.cma
The only reason for this change, that makes camlp5o harder to call, is
that dune enforces modules to belong to one library only.
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:42:56 +0000 (20:42 +0100)]
Preliminary support for dune
- dune build matita/matita{,c,clean}.exe works
- dune build fails on components/syntax_extensions where we need
to add modules to two different libraries. I have found a
workaround (dune does not allow it!) that works when building
matita*.exe, but not when doing "dune build"
- the dune files and the Makefiles are not 100% equivalent
(e.g. some modules not dropped during compilation, the user
interface not generated by glade yet)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:39:10 +0000 (20:39 +0100)]
Use of standard OCaml syntax
- do not rely on camlp5o for many files
- comply with the most recent OCaml warnings
- gtkMisc splitted into gtkMisc and gtkMiscCli, the latter
does not depend on Gtk
- matitaclean is no longer a symbolic link to matita
(required to switch to dune)
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 21:27:33 +0000 (22:27 +0100)]
Worker thread killing fixed
In old Ocaml it used to work catching a Unix signal that was raised at the
end of each timeslice. It works no more in Ocaml5.
- we now use a fixed timer (every 1s) to trigger the Unix signal
- the signal is usually caught by the non-worker thread and for some reason
blocking the signal interferes with Gtk
- solution: if the signal is caught by the non-worker thread, the thread
goes to sleep for 3s to let the worker thread catch the signal
Most of the time the trick works, even if some delay is introdued.
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 21:23:44 +0000 (22:23 +0100)]
Ctr-C now is equivalent to pressing the Break button
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 20:31:23 +0000 (21:31 +0100)]
Avoid race conditions (deadlocks)
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 01:19:16 +0000 (02:19 +0100)]
Porting to ocaml 5
- old hashing dropped from ocaml code => hash.c is not part of ng_paramodulation
- as a consequence, bytecode is now compile in -custom mode
- requires patched versions of ocaml-expant, ocamlnet and ulex-camlp5
(all currently not accepted upstream yet)
- plenty of new warnings either turned off or applied to code
- ported to most recent version of camlp5
Claudio Sacerdoti Coen [Tue, 14 Feb 2023 14:20:06 +0000 (15:20 +0100)]
Ctr-C/break button behaviour fixed
Claudio Sacerdoti Coen [Sat, 4 Feb 2023 13:52:22 +0000 (14:52 +0100)]
new executables (ported by Ferruccio Guidi)
Claudio Sacerdoti Coen [Sat, 4 Feb 2023 13:38:50 +0000 (14:38 +0100)]
mod change (-x)
Ferruccio Guidi [Sun, 22 Jan 2023 00:05:23 +0000 (01:05 +0100)]
wip ....
+ a situation in which matita falls asleep was detected
Ferruccio Guidi [Fri, 20 Jan 2023 18:17:38 +0000 (19:17 +0100)]
update from master branch
Ferruccio Guidi [Wed, 18 Jan 2023 20:47:29 +0000 (21:47 +0100)]
update in delayed_updating
+ new operator on update functions
Ferruccio Guidi [Wed, 18 Jan 2023 19:56:10 +0000 (20:56 +0100)]
update in ground
+ some additions
+ some renaming
Ferruccio Guidi [Tue, 10 Jan 2023 17:28:41 +0000 (18:28 +0100)]
unused componentsConf module removed
Ferruccio Guidi [Tue, 10 Jan 2023 16:59:08 +0000 (17:59 +0100)]
auxiliary executables (xoa, matitadep, probe, matex) ported to dune
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 22:06:57 +0000 (23:06 +0100)]
revert from camlp5o to standard syntax
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 20:56:17 +0000 (21:56 +0100)]
Dependency on ocaml_http replaced by ocaml_http_stubs stubs
- the stubs always fail with an assert false
- the code is still live in Matita, but currently unused in practice
- ocaml_http depends on ocamlnet, that is way too hard to port completely
to ocaml 5.0.0. A better path to restore the lost functionalities is
to reimplement ocaml_http_stubs on modern libraries (e.g. lwt-cohttp)
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 20:31:32 +0000 (21:31 +0100)]
camlp5.gramlib does not pull in camlp-streams by default
Claudio Sacerdoti Coen [Thu, 5 Jan 2023 11:03:10 +0000 (12:03 +0100)]
registry already did not depend on ocamlnet any more
Claudio Sacerdoti Coen [Wed, 4 Jan 2023 14:38:38 +0000 (15:38 +0100)]
allow ocaml >= 4.14.1
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 23:17:53 +0000 (00:17 +0100)]
All previously auto-generated files from *.in committed
- the values are surely wrong, even if they should be mostly unused
or set by hand at each release
Once I will figure out what to do correctly, I will remove the .in files
too.
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 21:19:15 +0000 (22:19 +0100)]
METAS removed + matita.conf.xml committed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 21:00:06 +0000 (22:00 +0100)]
Bad spelling for camlzip
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:58:58 +0000 (21:58 +0100)]
Added dependency on caml-zip
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:54:19 +0000 (21:54 +0100)]
Added dependency on ocaml-http
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:50:27 +0000 (21:50 +0100)]
In last commit I forgot to regenerate matita.opam :-(
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:49:08 +0000 (21:49 +0100)]
Added pcre + depenencies relaxed using >=
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 20:46:37 +0000 (21:46 +0100)]
Drop zip dependency (no longer used)
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:59:47 +0000 (18:59 +0100)]
Remove all traces of autoconf/automake/makefile
- also fixes installation of help/C files to include only .xml files
and figures
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:44:57 +0000 (18:44 +0100)]
comment removed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 17:27:13 +0000 (18:27 +0100)]
Install into doc the PDF and HTML manuals
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:52:35 +0000 (17:52 +0100)]
Ignore *-stamp in matita/help/C
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:32:48 +0000 (17:32 +0100)]
Manual(s) fixed and committed to avoid rebuilding them in dune
- fixed a bug in the XSLT that used wrong linkends
- the HTML and PDF files are now committed to the repository
Note: there is a now old (4 years!) but in yelp with links to other
pages in XMLDOCs. Not my fault, but most hyperlinks are broken.
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 16:27:07 +0000 (17:27 +0100)]
Makefiles removed in favour of dune-only solution
- some Makefiles are still to be removed
- some Makefiles in legacy dirs that are no longer compiled will
be kept
- the Makefile in help is still useful!
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 10:59:56 +0000 (11:59 +0100)]
added comment about version number to be manually changed
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 02:39:55 +0000 (03:39 +0100)]
Dune sites used to locate the standard library
- it works both before and after installation
- it definitely breaks the Makefiles
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 02:03:53 +0000 (03:03 +0100)]
Use dune-build-info to put the version in buildTimeConf
Claudio Sacerdoti Coen [Tue, 3 Jan 2023 00:56:28 +0000 (01:56 +0100)]
componentsConf is unused (and automatically generated)
Do not compile it (to get rid of Makefile)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:36:37 +0000 (00:36 +0100)]
Remove dandling symbolic links from the repository
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:32:27 +0000 (00:32 +0100)]
Use source and licence accepted by opam
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:20:01 +0000 (00:20 +0100)]
Install what is needed by Matita (but not used yet!)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:19:15 +0000 (00:19 +0100)]
make_table is now private (= not installed)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 23:19:01 +0000 (00:19 +0100)]
I forgot Luca among the authors!
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 21:29:33 +0000 (22:29 +0100)]
Enable "dune build -p matita" + version bumped to 0.99.5
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 20:46:29 +0000 (21:46 +0100)]
Generated files (for dune) added to .gitignore
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:56:40 +0000 (20:56 +0100)]
Fix "dune build" for syntax_extensions
- pa_unicode_macro.cma no longer "includes" helm_syntax_extensions.cma
The only reason for this change, that makes camlp5o harder to call, is
that dune enforces modules to belong to one library only.
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:42:56 +0000 (20:42 +0100)]
Preliminary support for dune
- dune build matita/matita{,c,clean}.exe works
- dune build fails on components/syntax_extensions where we need
to add modules to two different libraries. I have found a
workaround (dune does not allow it!) that works when building
matita*.exe, but not when doing "dune build"
- the dune files and the Makefiles are not 100% equivalent
(e.g. some modules not dropped during compilation, the user
interface not generated by glade yet)
Claudio Sacerdoti Coen [Mon, 2 Jan 2023 19:39:10 +0000 (20:39 +0100)]
Use of standard OCaml syntax
- do not rely on camlp5o for many files
- comply with the most recent OCaml warnings
- gtkMisc splitted into gtkMisc and gtkMiscCli, the latter
does not depend on Gtk
- matitaclean is no longer a symbolic link to matita
(required to switch to dune)
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 21:27:33 +0000 (22:27 +0100)]
Worker thread killing fixed
In old Ocaml it used to work catching a Unix signal that was raised at the
end of each timeslice. It works no more in Ocaml5.
- we now use a fixed timer (every 1s) to trigger the Unix signal
- the signal is usually caught by the non-worker thread and for some reason
blocking the signal interferes with Gtk
- solution: if the signal is caught by the non-worker thread, the thread
goes to sleep for 3s to let the worker thread catch the signal
Most of the time the trick works, even if some delay is introdued.
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 21:23:44 +0000 (22:23 +0100)]
Ctr-C now is equivalent to pressing the Break button
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 20:31:23 +0000 (21:31 +0100)]
Avoid race conditions (deadlocks)
Claudio Sacerdoti Coen [Fri, 30 Dec 2022 01:19:16 +0000 (02:19 +0100)]
Porting to ocaml 5
- old hashing dropped from ocaml code => hash.c is not part of ng_paramodulation
- as a consequence, bytecode is now compile in -custom mode
- requires patched versions of ocaml-expant, ocamlnet and ulex-camlp5
(all currently not accepted upstream yet)
- plenty of new warnings either turned off or applied to code
- ported to most recent version of camlp5
Ferruccio Guidi [Wed, 28 Dec 2022 16:47:38 +0000 (17:47 +0100)]
update in delayed_updating
+ some renaming
Ferruccio Guidi [Tue, 27 Dec 2022 16:08:00 +0000 (17:08 +0100)]
update in delayed_updating
+ more complex example in which discarding num labels in b solves unwind
Ferruccio Guidi [Wed, 21 Dec 2022 15:33:06 +0000 (16:33 +0100)]
update in delayed_updating
+ couterexample to dbfr_ibfr when inner labels in b are not bound in b
Ferruccio Guidi [Tue, 20 Dec 2022 00:10:07 +0000 (01:10 +0100)]
update in delayed_updating
+ excess added to closure condition for path
+ height for path restored
Ferruccio Guidi [Mon, 19 Dec 2022 22:16:18 +0000 (23:16 +0100)]
update in ground
+ some renaming
Ferruccio Guidi [Wed, 14 Dec 2022 21:15:07 +0000 (22:15 +0100)]
update in delayed_updating
+ guard condition removed from reduction
Ferruccio Guidi [Wed, 14 Dec 2022 18:37:46 +0000 (19:37 +0100)]
update in ground
+ minor addition to relocation
Ferruccio Guidi [Sun, 11 Dec 2022 18:29:08 +0000 (19:29 +0100)]
update in delayed_updating
+ bug fixed in the "crux of the proof" allows to certify more reductions
+ restricted form of closed path not used anymore
Ferruccio Guidi [Wed, 7 Dec 2022 16:46:39 +0000 (17:46 +0100)]
update in ground
+ head-tail decomposition of a relocation map
+ injectivity of pnpred