Commit graph

698 commits

Author SHA1 Message Date
Rodrigo Fernandes
465dde689a Fix repeated variable name in same scope (thanks Codacy) 2016-02-24 00:13:43 +00:00
Rodrigo Fernandes
9205e5e0a1 Fix filename parsing on filenames with tabs
* Why would someone create files with tabs?
2016-02-23 21:40:56 +00:00
Rodrigo Fernandes
64c1e827b7 Prepare for release 2.0.0-beta2 2016-02-23 18:46:01 +00:00
Rodrigo Fernandes
e64ac60b98 Merge pull request #63 from rtfpessoa/fix-filenames-parsing
Fix filename parsing with special characters and prefixes
2016-02-23 18:43:03 +00:00
Rodrigo Fernandes
e44b2a2885 Fix filename parsing with special characters and prefixes
* Add support for diffs with prefixes through configuration
* Fix parsing of filenames with special chars
2016-02-23 18:21:34 +00:00
Rodrigo Fernandes
c0f7c7abd8 Merge pull request #62 from rtfpessoa/clean-css
Clean files summary and diff headers and line numbers
2016-02-21 17:11:19 +00:00
Rodrigo Fernandes
75c4c2da46 Clean files summary and diff headers and line numbers 2016-02-21 16:46:07 +00:00
Rodrigo Fernandes
208a98b88d Merge pull request #52 from rtfpessoa/pbu88-use_nunjucks_templates
Use nunjucks templates
2016-02-21 16:42:56 +00:00
Rodrigo Fernandes
d6a03668c4 Fix line wrapping 2016-02-21 16:40:22 +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
Paulo Bu
e15cde2d6f Adds test for whitespaces and indentation and adds template for the wrapper 2016-02-21 11:05:53 +00:00
Paulo Bu
da2cd63a75 Attempt to use nunjuck templates in Line By Line 2016-02-21 11:05:53 +00:00
Rodrigo Fernandes
82f0fb629e Merge pull request #60 from Jameskmonger/patch-1
Update david-dm.org dependency status badges
2016-02-13 00:40:43 +00:00
Jameskmonger
693c725866 Update david-dm.org dev dependency status badge 2016-02-13 00:35:54 +00:00
Jameskmonger
249fb07eae Update david-dm.org dependency status badge 2016-02-13 00:35:01 +00:00
Rodrigo Fernandes
7acee5186b Add url hashtag for file summary state override 2016-02-12 23:11:59 +00:00
Rodrigo Fernandes
71de8ea7f1 Gather file languages from the html 2016-02-09 21:26:22 +00:00
Rodrigo Fernandes
f0363ecefc Prepare for release and update packages 2016-02-07 14:41:06 +00:00
Rodrigo Fernandes
59914f1a10 Merge pull request #58 from rtfpessoa/fix-file-summary-switch
Fix file summary switch
2016-02-07 14:27:48 +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
4e9dfa76ba Merge pull request #59 from rtfpessoa/fix-windows-parsing
Fix parsing on Windows
2016-02-07 12:56:13 +00:00
Rodrigo Fernandes
93dd322382 Add more eol tests for old os x and mixed eols 2016-02-07 12:47:00 +00:00
Rodrigo Fernandes
269a6268c4 Fix parsing on Windows
Replace windows EOL by Unix EOL
2016-02-06 18:50:47 +00:00
Rodrigo Fernandes
6abfbdb6a8 Improve bower.json main field
* Add dist css and js to main field

Thanks to @fedescarpa
Closes #53
2016-02-01 09:39:07 +00:00
Rodrigo Fernandes
b00ca04832 Merge pull request #50 from mrfyda/master
Fix line count when EOF is added to file
2016-01-16 22:42:39 +00:00
Rafael Cortês
f7bc1552e5 Fix line count when EOF is added to file
Removes '\\ No newline at end of file' information from the diff lines.
The test case is based on Bitbucket's diff attached to issue #49.
2016-01-16 21:53:54 +00:00
Rodrigo Fernandes
cc6ed43f25 Remove extra white space 2016-01-10 18:49:16 +00:00
Rodrigo Fernandes
8d738452be Merge pull request #48 from pbu88/refactors_html_code_into_methods
Refactors html code into methods for SideBySidePrinter
2016-01-10 18:38:30 +00:00
Paulo Bu
2cdb67d938 Refactors HTML code into their own methods in SideBySidePrinter 2016-01-10 18:16:43 +01:00
Paulo Bu
f6a9ecf450 Add tests to generateSingleLineHtml for SideBySide tests 2015-12-30 22:01:41 +01:00
Rodrigo Fernandes
8955020e9e Merge pull request #47 from pbu88/refactors_html_code_into_methods
Refactors html code into methods for LineByLinePrinter
2015-12-27 16:39:06 +00:00
Paulo Bu
a37176cc26 Refactors HTML code into their own methods 2015-12-27 12:29:58 +01:00
Paulo Bu
97eafcd2f7 Add tests to generateLineHtml for LineByLine tests 2015-12-27 11:08:24 +01:00
Rodrigo Fernandes
f5c05aa91e Add more badges 2015-12-24 11:27:07 +00:00
Rodrigo Fernandes
219bcea51b Add contributing docs and help 2015-12-23 20:19:10 +00:00
Rodrigo Fernandes
8558bab3ca Merge pull request #46 from rtfpessoa/test-html-prefixes
Test html line prefixes
2015-12-23 19:54:17 +00:00
Rodrigo Fernandes
57369ae2e4 Add JSCS script and update dependencies 2015-12-23 19:47:09 +00:00
Rodrigo Fernandes
f3d2946aa4 Force JSCS style 2015-12-23 19:34:39 +00:00
Rodrigo Fernandes
7244f07e0a Test html line prefixes 2015-12-23 16:05:30 +00:00
Rodrigo Fernandes
246e459749 Merge pull request #45 from pbu88/side_by_side_prefix_bug
Fixes prefix bug on side by side diff
2015-12-23 15:05:36 +00:00
Paulo Bu
7f08de9c67 Fixes prefix bug on side by side diff 2015-12-23 15:34:44 +01:00
Rodrigo Fernandes
598c2d365c Merge pull request #44 from pbu88/add-mocha-tests
Adds simple tests for utils and diff2html
2015-12-23 14:18:27 +00:00
Paulo Bu
09d422be79 Adds simple tests for utils and diff2html 2015-12-23 14:14:29 +01:00
Rodrigo Fernandes
d184017bf2 Merge pull request #43 from rtfpessoa/add-mocha-tests
Start using mocha with istambul to test and setup circleci
2015-12-22 22:56:31 +00:00
Rodrigo Fernandes
9e550c2b65 Start using mocha with istambul to test and setup circleci 2015-12-22 15:48:33 +00:00
Rodrigo Fernandes
7920de8924 Merge pull request #42 from pbu88/adding_unit_tests
Adds unit tests using node-unit
2015-12-22 14:44:22 +00:00
Paulo Bu
678e5147d8 Adds unit tests using node-unit
First approach to include unit tests in the code using node-unit.

- Adds node unit dependency
- Adds 2 very basic tests for LineByLine and SideBySide printers
2015-12-22 12:37:39 +01:00
Rodrigo Fernandes
af9d00b56e Merge pull request #41 from pbu88/fixes_wrong_use_of_self
Use more object oriented style in SideBySidePrinter
2015-12-21 23:47:55 +00:00
Paulo Bu
c5f54d29f8 Passes config in the SideBySide constructor and uses it from within the class 2015-12-21 15:26:08 +01:00