Commit Graph

2244 Commits

Author SHA1 Message Date
Diego Zilioti
88fd75760e Draft for defaultOptions 2018-10-06 19:31:10 -03:00
Liam Newman
d98c27bcf2
Merge pull request #1563 from MacKLess/scripts
Add tests for indent scripts option
2018-09-27 17:52:41 -07:00
L. D. MacKrell
096a070ab3 Add tests for indent scripts option
*Add indent_scripts to README
2018-09-27 15:01:08 -07:00
Liam Newman
234369df03
Merge pull request #1476 from ganes1410/add-tests
Add unit tests for input scanner
2018-09-27 13:32:24 -07:00
Liam Newman
74009348f2
Merge branch 'master' into add-tests 2018-09-27 13:15:25 -07:00
Liam Newman
e5bc182f43
Merge pull request #1559 from MacKLess/include
Fix extendscript #include
2018-09-27 13:14:43 -07:00
Liam Newman
c748b9597a Change shebang tokenizing to use inputscanner.read
The point of inputscanner is to avoid having the tokenizer
looping over input and use patterns instead.

This commit switches tokenizing of shebangs to from looping to pattern reading.
2018-09-27 12:32:49 -07:00
Liam Newman
ab7c9f9c51 Fixed alternate newline handling
The previous implmentation only handle slash-n.
Added tests with more inputs revealed issues with slash-rn.
Fixed up regex to handle them.
2018-09-27 12:13:32 -07:00
L. D. MacKrell
52ce863275 Update inputscanner tests
* fixed js tests
* wrote python equivalent tests
* found and fixed bug in inputscanner.py for test_Char
2018-09-27 12:04:36 -07:00
MacKLess
1e99b57827
Merge branch 'master' into add-tests 2018-09-27 09:32:29 -07:00
L. D. MacKrell
b32ef2d705 Fix extendscript #include 2018-09-26 17:36:26 -07:00
L. D. MacKrell
fe0006ae0f Fix dynamic import arrow support 2018-09-26 16:46:26 -07:00
Liam Newman
5e1d87bd50
Merge pull request #1556 from MacKLess/named_function
Add option for space before named function
2018-09-26 16:32:52 -07:00
L. D. MacKrell
cd49403caf Add option for space before named function 2018-09-26 15:32:51 -07:00
Liam Newman
04fab5b365 Bump version numbers for 1.8.6 2018-09-10 15:47:48 -07:00
Liam Newman
c0cd2e6eea Update Changelog 2018-09-10 15:47:20 -07:00
Liam Newman
082ffb6d79 Bump version numbers for 1.8.5 2018-09-10 15:44:37 -07:00
Liam Newman
928d849a3a
Merge pull request #1545 from MacKLess/declare
Fix formatting for Typescript declare
2018-09-10 15:41:07 -07:00
Liam Newman
837226eed6
Merge pull request #1546 from MacKLess/comments
Fixes indentation in second comment on webpage
2018-09-10 15:30:07 -07:00
L. D. MacKrell
bae5a5a090 Fixes indentation in second comment on webpage 2018-09-10 15:21:34 -07:00
L. D. MacKrell
677b0dc762 Fix formatting for Typescript declare 2018-09-10 14:39:51 -07:00
Liam Newman
5681ad4ec9
Merge pull request #1543 from bitwiseman/io-move
Move to beauitifier.io
2018-09-10 13:16:38 -07:00
Liam Newman
6469217c8d
Merge branch 'master' into io-move 2018-09-10 12:54:00 -07:00
Liam Newman
5aec460246
Merge pull request #1540 from bitwiseman/uri
Fixed support for data URI with test
2018-09-10 12:53:43 -07:00
Liam Newman
ee99c9b829
Merge branch 'master' into io-move 2018-09-10 12:53:17 -07:00
Liam Newman
7f36731035
Merge pull request #1541 from bitwiseman/issue-1469
Preserve new line at start of handlebars contents
2018-09-10 12:52:49 -07:00
Liam Newman
e287d16411 Fixed #1408
This failed due to script path moving.
Automated Test for this is possible, but might be better to create
a manual checklist for change review.
2018-09-09 14:08:04 -07:00
Liam Newman
2d48af82f3 Move all references to beautifier.io 2018-09-09 13:57:13 -07:00
Liam Newman
aadec2b867 Preserve new line at start of handlebars contents
Fixes #1469
2018-09-08 17:01:56 -07:00
Liam Newman
ac6450f425 Fixed support for data URI with test
Fixes #1535
2018-09-08 13:37:05 -07:00
Liam Newman
930c050a56 Bump version numbers for 1.8.4 2018-09-04 15:05:16 -07:00
Liam Newman
ae5c95358e Update Changelog 2018-09-04 15:03:55 -07:00
Liam Newman
0ef7b81973 Fix for unformatted and content_unformatted
Fixes #1534
2018-09-04 14:56:01 -07:00
Liam Newman
ab54c743a9 Fix merge error 2018-09-04 13:28:29 -07:00
Liam Newman
886f6d315c Fixed unindent chained methods under-indent 2018-09-04 13:24:56 -07:00
Liam Newman
d33e70d77a Bump version numbers for 1.8.3 2018-09-04 09:41:55 -07:00
Liam Newman
b092116033 Update Changelog 2018-09-04 09:40:55 -07:00
Liam Newman
f76d933f67
Merge pull request #1529 from MacKLess/last_token
Refactor _flags.last_text to _flags.last_token.text
2018-09-02 19:43:16 -07:00
L. D. MacKrell
b5ef9b4727 Refactor _flags.last_text to _flags.last_token.text 2018-09-02 19:21:12 -07:00
Liam Newman
cfa13d9d6d
Merge pull request #1528 from MacKLess/reserved_word
Improved default handling in case blocks
2018-09-02 16:54:16 -07:00
L. D. MacKrell
e849cb905c Refactor TOKEN.RESERVED to reserved_word and reserved_array functions 2018-09-02 16:46:20 -07:00
Liam Newman
866cfca259 Simplified error handling 2018-09-02 13:18:59 -07:00
Liam Newman
d46410fcc0 Fix unicode test for windows 2018-09-02 12:45:30 -07:00
Liam Newman
418fc7a6b9 Refactor end_with_newline in Output settings 2018-09-01 14:42:41 -07:00
Liam Newman
a46d717eb3 Refactor indent_string calculation into Output 2018-09-01 14:35:46 -07:00
Liam Newman
02d89694af Added single selection options 2018-09-01 14:08:00 -07:00
Liam Newman
de834fd0a1 Python test should not run node build 2018-09-01 14:08:00 -07:00
Liam Newman
b89cdb9627 Better output for unicode decoding errors
Fixes #1134
2018-09-01 14:08:00 -07:00
Liam Newman
4924fbc2a5 Push gh-pages changes during release 2018-08-31 18:53:33 -07:00
Liam Newman
d6a2c6c785 Bump version numbers for 1.8.3-rc3 2018-08-31 18:50:36 -07:00