Commit graph

24 commits

Author SHA1 Message Date
Rodrigo Fernandes
285c3fefc5
Improve rename paths
* Identify smallest different sub path of the changed files paths and
highlight the changed part
2016-05-20 23:17:03 +01:00
Rodrigo Fernandes
affd71eca0
Fix highlight for multiline elements
* Now highlight should be perfect except for cases where the diff
context is not enough to understant what is the code
2016-05-09 00:08:05 +01:00
Rodrigo Fernandes
cb145eddf6
Add support for parsing unified diffs
* Refactor code to separate parser parts
* Add test for unified example
2016-05-06 23:02:05 +01:00
Rodrigo Fernandes
95322eb87c
Update jscs, jquery and highlight.js 2016-04-25 18:25:39 +01:00
Rodrigo Fernandes
2463cb0270
Add more tests to hogan templates 2016-04-25 17:53:54 +01:00
Rodrigo Fernandes
50bbca6cc2
Fix build on webpack 2016-04-25 15:45:47 +01:00
Rodrigo Fernandes
8237c8da28 Use hogan.js as templating engine 2016-04-16 12:07:23 +01:00
Rodrigo Fernandes
75c4c2da46 Clean files summary and diff headers and line numbers 2016-02-21 16:46:07 +00:00
Rodrigo Fernandes
adc4b629c1 Prepare for nunjucks release 2016-02-21 14:45:50 +00:00
Rodrigo Fernandes
7638fbba52 Fix nunjucks in the browser 2016-02-21 11:16:36 +00:00
Rodrigo Fernandes
43666f655a Fix file summary switch
Introduce diff2html-ui to perform any ui anymations or dynamic changes
like hightlight or animations.
2016-02-07 14:19:23 +00:00
Rodrigo Fernandes
ff8eca3a7b Enable line matching on side-by-side sample 2015-12-19 22:54:03 +00:00
Rodrigo Fernandes
1dce15ad7a Use line matching as default 2015-12-19 21:14:58 +00:00
Rodrigo Fernandes
54b39158f5 fix changes summary on files headers
* since the alignment of the changes the file headers lost the style due to css changes
* update diff dependency and add dev dependencies
2015-10-31 21:55:15 +00:00
Nuno Teixeira
f1db9a9d6f Show the list of changed files
- Optionally show the file list before the diff
- Change usage to accept configuration instead of multiple methods
2015-10-19 12:47:49 +01:00
Rodrigo Fernandes
0bb7341d76 one more example in the sample 2015-10-13 11:34:29 +01:00
Rodrigo Fernandes
861459931b fix new and delete line identification
* add different prefixes for simple and combined diffs
2015-08-08 01:56:50 +01:00
Rodrigo Fernandes
de13e9506c use webpack for the browser
* add webpack bundling
* clean bower dependencies since we are using webpack
* add jscs node style support
2015-08-08 01:11:35 +01:00
Rodrigo Fernandes
6514ac7477 clean project, better module exposing and documentation
* use native JS in example instead of jQuery
 * better module exposing now using exports, module.export, self, window, global and this
 * add example link to bower and npm definition
 * add documentation on how to highlight
2015-07-19 22:08:17 +01:00
Rodrigo Fernandes
5ee366a01e update to highlightjs 8.6 2015-07-18 23:38:17 +01:00
Rodrigo Fernandes
d64f8a2d79 diff parser rules matching beginning of line
* diffs inside the diff where matching random line types
2015-07-11 23:38:08 +01:00
Rodrigo Fernandes
5cc3ebf63c fix html escaping on diff 2015-06-21 22:49:05 +01:00
Rodrigo Fernandes
e598a81aa2 avoid diff prefix on hightlight 2015-05-31 23:07:23 +01:00
Rodrigo Fernandes
5395562513 add release script 2015-05-03 14:09:07 +01:00