Commit Graph

641 Commits

Author SHA1 Message Date
Pavol Bielik
b9b419c55c Update README.md 2015-01-26 20:06:52 +01:00
Pavol Bielik
def341c8ff minor update 2015-01-26 19:51:13 +01:00
Pavol Bielik
41e457e865 Merge branch 'master' of https://github.com/eth-srl/UnuglifyJS 2015-01-26 19:50:06 +01:00
Pavol Bielik
cdd1247b6a update package.json with UnuglifyJS info 2015-01-26 19:42:51 +01:00
Pavol Bielik
7a7675efa8 update package.json with UnuglifyJS info 2015-01-26 17:12:47 +01:00
Pavol Bielik
1ef640da8e update tests 2015-01-26 17:10:36 +01:00
Pavol Bielik
c54754e7f2 script name refactoring 2015-01-26 16:53:24 +01:00
Pavol Bielik
3e9fe8aea8 Add support for UnuglifyJS packaging 2015-01-26 16:49:55 +01:00
Pavol Bielik
072e0c16e1 update rename functionality 2015-01-26 15:39:51 +01:00
Pavol Bielik
db76bb3c1f Merge branch 'master' of https://github.com/eth-srl/UnuglifyJS 2015-01-26 12:58:13 +01:00
Pavol Bielik
d08e08f913 minor update 2015-01-26 12:48:28 +01:00
Pavol Bielik
b92319d8e6 Update README.md 2015-01-26 02:33:43 +01:00
Pavol Bielik
4fdfd6a04c Add support for renaming directly from command line 2015-01-26 02:31:07 +01:00
Pavol Bielik
2afb966fbf Update encoding.
Note that using some unicode characters is broken due to UglifyJS.
2015-01-25 16:37:14 +01:00
Pavol Bielik
b2198226dd fix encoding and stack overflow 2015-01-25 15:20:50 +01:00
Pavol Bielik
d9424d8794 minor fix 2015-01-25 12:40:03 +01:00
Pavol Bielik
ff5757d187 Add colored console output 2015-01-25 12:19:30 +01:00
Pavol Bielik
1e3d236aed do not output constrains if there are no features 2015-01-25 01:50:10 +01:00
Pavol Bielik
38b01e67dc refactor 2015-01-25 00:12:10 +01:00
Pavol Bielik
797aa1d035 Add child_id to features 2015-01-25 00:11:59 +01:00
Pavol Bielik
09f3edad48 Add unique name for constants 2015-01-25 00:11:36 +01:00
Pavol Bielik
b0412a6ae8 Add generating scope constraints 2015-01-25 00:11:19 +01:00
Pavol Bielik
23f79f2a10 Update README.md 2015-01-23 14:49:44 +01:00
Pavol Bielik
0c4e54d82c Update README.md 2015-01-22 18:20:47 +01:00
Pavol Bielik
4abdab7174 Update README.md 2015-01-22 18:05:01 +01:00
Pavol Bielik
c2bb1e9f25 Update README.md 2015-01-22 17:48:25 +01:00
Pavol Bielik
f10cf4fd9d Update README.md 2015-01-22 17:45:29 +01:00
Pavol Bielik
f7485c6df0 Update README.md 2015-01-22 17:34:27 +01:00
Pavol Bielik
301b513224 Update README.md 2015-01-22 16:47:11 +01:00
Pavol Bielik
874b20eaff Add support for extracting features from JavaScript files 2015-01-22 16:21:02 +01:00
Mihai Bazon
d36067cd35 Merge pull request #615 from avdg/unicode
Give parser more unicode support
2015-01-20 13:00:31 +02:00
Anthony Van de Gejuchte
f1b2134dd1 Add test 2015-01-20 00:31:44 +01:00
Anthony Van de Gejuchte
74cda80d3b Add unicode digit parsing support 2015-01-20 00:17:24 +01:00
Anthony Van de Gejuchte
9a3a848cc8 Update unicode letter 2015-01-20 00:17:03 +01:00
Tal Ater
a1a4c2ada7 Optimize conditionals where the consequent and alternative are both booleans and not equivalent 2015-01-13 18:27:21 +01:00
Mihai Bazon
189dbf02b6 Merge pull request #612 from rvanvelzen/issue-611
Replace the correct node when replacing in `void` sequences
2015-01-12 18:18:55 +02:00
Richard van Velzen
42ecd42ac0 Replace the correct node when replacing in void sequences
Close #611.
2015-01-12 17:09:34 +01:00
Mihai Bazon
a10f6a96d7 Merge pull request #482 from arty-name/inline-ng-inject
added @ngInject support for inline functions
2015-01-11 12:10:42 +02:00
Mihai Bazon
0d232a1422 Merge pull request #606 from rvanvelzen/document-double-dash
Document `--` for usage in CLI class
2015-01-07 23:17:08 +02:00
Richard van Velzen
285bffd2c6 Document -- for usage in CLI class
Close #518
2015-01-07 19:04:10 +01:00
Mihai Bazon
61c233a08e Fix make_node_from_constant for Regexp-s
Close #588
2015-01-07 11:20:04 +02:00
Mihai Bazon
d2d716483a aborts(AST_If) returns the if node
Previously it returned the abort node from the alternative branch.  This is
not much use as it can be different from the one in the body
branch (i.e. return vs. throw) and can trick us into issues like #591.

Fix #591
2015-01-06 14:01:35 +02:00
Ingvar Stepanyan
f16033aafd Location fix for Mozilla AST start token. 2015-01-06 11:32:41 +01:00
Ingvar Stepanyan
ae5366a31d Track ending lines/columns; fix end locations in Mozilla AST. 2015-01-06 11:32:41 +01:00
Mihai Bazon
6b23cbc852 AST_Do nodes: walk body before condition 2015-01-06 12:29:07 +02:00
Richard van Velzen
7f9bc9e863 Pass mangle options to figure_out_scope and compute_char_frequence
Fix #219. Because the options were not set and `toplevel` is `false` by default, some toplevel names would sometimes not be mangled correctly.
2015-01-05 19:10:32 +01:00
Mihai Bazon
13219cebcb Fix handling \r\n
Close #437
2015-01-05 12:14:42 +02:00
Mihai Bazon
93a6e5780e Declare boolean type for --keep-fnames 2015-01-05 11:20:00 +02:00
Mihai Bazon
fe55e0d93d Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2 2015-01-05 11:11:38 +02:00
Mihai Bazon
e1f0747e4c Support keep_fnames in compressor, and --keep-fnames. #552
Passing `--keep-fnames` will enable it both for compressor/mangler, so that
function names will not be dropped (when unused) nor mangled.
2015-01-05 11:03:13 +02:00