| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Win32, Sys.readdir translates the file names to the charset of the
local "code page", which may be not compatible with utf8.
Warnings referring to these names can be generated. These warnings may
be sent to CoqIDE. To ensure a utf8 compliant communication, we escape
non-utf8 file names under win32.
In the CoqIDE/Coq communication, Glib.IO.read_chars expects an
utf8-encoding and raises otherwise a Glib.Error "Invalid byte sequence in
conversion input".
This fixes bug #5715 (Hangul characters not recognized in file names)
but this does not solve the case of an operating system mounting a
file system with a different coding convention than the default one,
i.e. unicode using "Normalization Form Canonical Decomposition" in
UTF-8 for HFS+ on MacOS X, no encoding for ext3/ext4 on Linux,
(non-normalized?) UTF-16 for NTFS on Windows.
|
|
|
|
| |
In particular, checking that it is at most 4 bytes.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The internal detype function takes an additional arguments dictating
whether it should be eager or lazy.
We introduce a new type of delayed `DAst.t` AST nodes and use it for
`glob_constr`.
Such type, instead of only containing a value, it can contain a lazy
computation too. We use a GADT to discriminate between both uses
statically, so that no delayed terms ever happen to be
marshalled (which would raise anomalies).
We also fix a regression in the test-suite:
Mixing laziness and effects is a well-known hell. Here, an exception
that was raised for mere control purpose was delayed and raised at a
later time as an anomaly. We make the offending function eager.
|
|\ \ |
|
|\ \ \
| | | |
| | | |
| | | | |
implementation from Detyping.
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also adding fold_right_map by consistency.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also renaming fold_map' into fold_right_map, and fold_map2' into
fold_right2_map.
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | | |
- Adding fold_left2_map/fold_right2_map.
- Canonically renaming fold_map/fold_map' into fold_left_map/fold_right_map.
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
from Detyping.
|
| |/
|/| |
|
|\ \
| | |
| | |
| | | |
trailing / and \ on windows)
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This refines e234f3ef. By the way, note that e234f3ef fixed #5391
(command line tools do not accept trailing "/" - or "\" - in windows).
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a second try at removing the hooks for the legacy xml export
system which can't currently be tested.
It is also not included in the API, so it should either be included in
it or this PR be applied.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| |/ |
|
|\ \
| | |
| | |
| | | |
flag is set.
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Calling it only when there is something to profile, or when profiling
is explicitly required with the profile flags, so that profiling in
plugins is possible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
No need to call Gc functions nor Unix timing functions when there is
nothing to report.
Moreover, PMP observed problems with these functions in the
debugger. PMP also reported that Gc.minor takes some noticeable time,
so no need to trigger some when unneeded.
|
|\ \ |
|
|\ \ \
| |_|/
|/| | |
|
| |/
|/|
| |
| | |
Fix bug introduced by a Haskell programmer.
|
|\ \
| | |
| | |
| | | |
rather than colors
|
| | |
| | |
| | |
| | |
| | | |
eval thunks once in prlist_sep_lastsep, make code clearer
add typeclass debug output test
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This is usable for no-color terminal.
For instance, a typical application in mind is the Coq-generate names
marker which can be rendered with a color if the interface supports it
and a prefix "~" if the interface does not support colors.
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The status of a warning can now be set before the warning is declared
(typically by a plugin). However, I had to remove the "unknown warning"
warning.
|
|\ \ |
|
| | | |
|
|/ / |
|
|\ \ |
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
versions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Plugin-writers can now use:
-bypass-API
parameter with "coq_makefile".
The effect of that is that instead of
-I API
the plugin will be compiled with:
-I config" -I dev -I lib -I kernel -I library -I engine -I pretyping -I interp -I parsing -I proofs -I tactics -I toplevel -I printing -I intf -I grammar -I ide -I stm -I vernac
|
| | | |
|
|/ / |
|