Commit Graph
9 Commits
Author SHA1 Message Date
Matt Godbolt 6fc5c166da Lint fixes 2016-10-12 13:26:16 -05:00
Matt Godbolt c52fa286bc Fix up an async thing. 2016-08-06 15:58:12 -05:00
Matt Godbolt dc57abaa74 Better errors if diff fails 2016-08-06 15:50:06 -05:00
Matt Godbolt a3e82b54ee Make diff asynchronous 2016-08-05 20:01:01 -05:00
Matt Godbolt 533216438f Formatting and lint fixes 2016-08-05 19:41:17 -05:00
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