1
0
Commit Graph

24 Commits

Author SHA1 Message Date
f332d6bf95 Major restructure in how tables are formatted. Options max_depth and recursion has been deprecated. 2017-07-25 17:49:06 +02:00
aa4ca9d67d Depricated short_builtins. 2017-07-24 19:35:19 +02:00
e0552daf91 Chunks are now formatted correctly. 2017-07-22 15:09:20 +02:00
00d3f653a8 Improved loading of pretty. 2017-07-17 13:36:56 +02:00
33daa3b8be Restructure and removal of some debug options. 2017-07-15 22:56:10 +02:00
69e5755c5f Include function names in embedded functions. 2017-07-15 22:11:16 +02:00
3c5db269d6 Lots of minor formatting fixes for embedded functions. 2017-07-15 21:58:27 +02:00
8005e75794 Figured out that even more tests require AST traversal. Now we insert ... instead of attempting to find them. 2017-07-15 21:25:32 +02:00
410978c4c4 Turned out that some of the tests require _very_ advanced capabilities.
These have been "removed".
2017-07-15 21:00:01 +02:00
43581963d8 The function body search were too restrictive and ignored OOP-style functions and unicode named functions, resulting in a crash. This has been fixed. The error message for that specific error has been made for descriptive. 2017-07-15 20:43:25 +02:00
e5f53b9b63 The embed_loaded_funcs option has been removed, and 'short' loaded functions will automatically be embedded. 2017-07-15 20:10:49 +02:00
346afd61c0 Major restructure for finding documentation and function source. Fixes some issues 2017-07-14 16:51:19 +02:00
3d6c7dbfbc Updated README and fixed some test issues with lua 5.1 2017-06-25 12:18:24 +02:00
f4d6e301a1 The documentation for builtins will now be wrapped, to prevent extremely long lines. 2017-06-24 20:37:43 +02:00
9a6a5b4b51 Function formatting will now automatically pull documentation from a lua file, if it knows where to look. 2017-06-24 20:06:36 +02:00
3bb599e976 Updated test_function.lua to reflect the new design. The system also warns against using experimental and debug options. 2017-06-24 18:53:59 +02:00
965e99abcc Added new tests for various unicode issues, mostly aligment and sorting. 2017-06-15 19:03:42 +02:00
2cc9301c58 Improved alignment of functions. 2017-06-11 13:53:06 +02:00
5c7354e40f Made four spaces the default indent, instead of a tab character. 2017-06-09 17:24:05 +02:00
155c877987 Alternative process for determining short tables
This one is based on the representative width of the table. Not only
does this produce better results, but it's also more futureproof.
2017-04-14 12:19:23 +02:00
6ac8a2d6de Added more tests. 2017-04-12 15:15:03 +02:00
9695a27394 Added short_builtins 2017-04-03 13:56:06 +02:00
588e5588ac Added closure creation. 2017-04-03 13:49:18 +02:00
8f956bf444 Moved function formatting into own file. 2017-04-03 11:55:49 +02:00