Commit graph

234 commits

Author SHA1 Message Date
Rodrigo Fernandes
ed8d33930d
Fix git diff with renames and hunk headers
When we have the file names we consider that the file is already past
the hunk header (@@) and since the renames were setting the names
before the diff was confused.
To fix this I kind of hacked a solution that only uses the rename
file paths if there is no hunk header comming.
We need to find a better way to decide when to start new hunk, finish
files etc
2016-09-02 17:45:35 +01:00
Rodrigo Fernandes
5ad783ae3d Add TypeScript test, use .eslintignore 2016-08-27 22:28:53 +01:00
Rodrigo Fernandes
3d0927a857 Create CNAME 2016-08-24 12:24:45 +01:00
Rodrigo Fernandes
06d506855e
Improve circle.yml 2016-08-24 12:02:03 +01:00
Rodrigo Fernandes
57a288a564
Migrate website to main branch 2016-08-23 18:33:49 +01:00
Rodrigo Fernandes
4b77d69d5a
Update diff2html website url 2016-08-23 17:33:54 +01:00
Rodrigo Fernandes
11c00bbd46 Release version 2.0.2 2016-08-23 17:25:18 +01:00
Rodrigo Fernandes
7821447330
Improve docs, lock npm versions, and update deps 2016-08-23 17:24:43 +01:00
Rodrigo Fernandes
0da16bbb4f
Update website link 2016-07-23 10:20:29 +01:00
Rodrigo Fernandes
3d7c48f17c Release version 2.0.1 2016-07-12 18:46:45 +01:00
Rodrigo Fernandes
e9e3d928ea
Only log failed hunk header parse if line starts with @@ 2016-07-12 18:44:09 +01:00
Rodrigo Fernandes
4bea8bb758 Release version 2.0.0 2016-07-12 18:28:29 +01:00
Rodrigo Fernandes
80d92ba181
Skip style tests in node 0.12 2016-07-12 18:05:14 +01:00
Rodrigo Fernandes
0f38cdeb79 Release version 2.0.0-rc.9 2016-07-12 16:19:22 +01:00
Rodrigo Fernandes
9bbc87ae89
Fix parsing of binary files 2016-07-12 16:18:42 +01:00
Rodrigo Fernandes
2f53bf777e
Use ESLint instead of JSCS 2016-07-12 13:47:29 +01:00
Rodrigo Fernandes
e0b8b4a53f
Update dependencies and add dependencyci badge 2016-07-12 13:13:44 +01:00
Rodrigo Fernandes
8fe49abaa4 2.0.0-rc.8 2016-06-28 22:19:44 +01:00
Rodrigo Fernandes
8679bc354d Merge pull request #88 from rtfpessoa/fix-parser
Fix parsing in cases where body lines can be confused with header lines
2016-06-28 22:17:30 +01:00
Rodrigo Fernandes
f2858f6c45 Fix parsing in cases where body lines can be confused with header lines 2016-06-28 22:15:03 +01:00
Rodrigo Fernandes
5e0ef645d1 2.0.0-rc.7 2016-06-27 21:21:07 +01:00
Rodrigo Fernandes
f500bb09ea Improve script for Ubuntu 2016-06-27 21:20:51 +01:00
Rodrigo Fernandes
7c79cc32db Fix parsing body lines starting with --- and +++ 2016-06-27 21:13:25 +01:00
Rodrigo Fernandes
730dccf069 Release version 2.0.0-rc.6 2016-05-26 16:33:51 +01:00
Rodrigo Fernandes
ae39ce97b6
Improve css prefixes 2016-05-26 16:33:27 +01:00
Rodrigo Fernandes
55a10d9f4a Merge pull request #83 from mrfyda/sync-horizontal-scroll
Add synchronised horizontal scroll
2016-05-21 23:29:48 +01:00
Rafael Cortês
90c9d08744
Add synchronised horizontal scroll 2016-05-21 23:24:52 +01:00
Rodrigo Fernandes
dbd8766966 Release version 2.0.0-rc.5 2016-05-21 02:13:08 +01:00
Rodrigo Fernandes
0e5c6cd892 Merge pull request #81 from rtfpessoa/improve-file-summary
Improve file summary
2016-05-21 02:12:21 +01:00
Rodrigo Fernandes
fa9bdebe4c
Update tests for new design improvements 2016-05-21 02:09:16 +01:00
Rodrigo Fernandes
f32c6c9f67
Migrate Side-by-Side diffs to hogan.js 2016-05-21 00:39:49 +01:00
Rodrigo Fernandes
5cba4efde9
Extract file path from diff wrapper 2016-05-20 23:59:37 +01:00
Rodrigo Fernandes
7c48e86a99 Add icons and tags to files indicating the type of change 2016-05-20 23:41:37 +01:00
Rodrigo Fernandes
024c37da67 Make file summary more appealing 2016-05-20 23:41:14 +01:00
Rodrigo Fernandes
15a2794ea3 Release version 2.0.0-rc.4 2016-05-20 23:34:13 +01:00
Rodrigo Fernandes
ae347be300 Merge pull request #80 from rtfpessoa/improve-paths
Improve paths
2016-05-20 23:33:14 +01:00
Rodrigo Fernandes
ce90977163
Use operator assignement and remove redundant else 2016-05-20 23:29:11 +01:00
Rodrigo Fernandes
146d951aca Merge pull request #79 from rtfpessoa/improve-removed-changed-line-color
Improve diff removed changed line background color
2016-05-20 23:21:52 +01:00
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
5cac9fd99f
Improve diff removed changed line background color 2016-05-19 18:11:54 +01:00
Rodrigo Fernandes
7ac83c9f34 Release version 2.0.0-rc.3 2016-05-14 13:47:17 +01:00
Rodrigo Fernandes
c5a5a57c04
Improve scripts to release npm and bower simultaneously 2016-05-14 13:46:38 +01:00
Rodrigo Fernandes
3a78226a6c 2.0.0-rc.2 2016-05-14 13:21:30 +01:00
Rodrigo Fernandes
07abb77208 Merge pull request #76 from rtfpessoa/improve-highlight
Improve highlight
2016-05-14 11:33:44 +01:00
Rodrigo Fernandes
978e54ab64
Extract highlight.js internal api code to its own file 2016-05-14 11:30:34 +01:00
Rodrigo Fernandes
93721e7e98
Add hljs class manually 2016-05-09 18:21:50 +01:00
Rodrigo Fernandes
73999bb782
Keep one state for old and another for the new diff 2016-05-09 11:15:57 +01:00
Rodrigo Fernandes
719b1cde71
Fix class names on highlighted elements 2016-05-09 10:50:46 +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
1e242ded9a
Improve fonts and font sizes 2016-05-07 15:15:29 +01:00