Commit Graph
4 Commits
Author SHA1 Message Date
Gabriel Devillers 90894e8abc Added wdiff configuration options.
Configuration is read from gccexplorer config file.
Default values are:
/tmp for temporary directory
/usr/bin/wdiff for the wdiff executable

Also: Cleaned lib/diff.js.
2016-08-05 11:51:49 +02:00
Gabriel Devillers 4c279d734e Minor cleanings.
Cleans app.js output from previous debug outputs.
Renamed debug functions concerning window.localStorage settings.
2016-08-05 11:51:49 +02:00
Gabriel Devillers 269615a9ae Move computation of diff *color zones* server side.
(The diff was already done server side.)
Sorry for the messy diff in this commit: I changed my mind on how I compute the
zones to colorise.
Possible improvement: use regex to take into account first occurence of '{++}'
or '[--]', then remove the marks '{++}' or '[--]' then continue until no
occurence is found.
2016-08-05 11:51:48 +02:00
Gabriel Devillers 711af7a7d8 Ajax request to compute diff server side.
WIP.
2016-08-05 11:51:48 +02:00