1
0
Commit Graph

34 Commits

Author SHA1 Message Date
88fa144c9e Fixed alignment issue for certain tables. 2017-11-18 13:23:43 +01:00
856d9df690 Cdata is now being tested against again, and some unicode stuff has been implemented. 2017-10-22 14:26:19 +02:00
b62c4c1c6c Improved the function upvalue situation margially. 2017-10-09 14:01:29 +02:00
45d3958e17 Added new common file, where DISPLAY variable has been moved to. 2017-10-09 13:54:56 +02:00
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
bb67701f8f Fixed issue encounted when source contains a filename, but is missing '@' at the start. 2017-07-22 16:58:00 +02:00
e0552daf91 Chunks are now formatted correctly. 2017-07-22 15:09:20 +02:00
762b8f3d20 Updated readme, and a bit of commentary. 2017-07-22 14:44:24 +02:00
d0d8e6476f Bunch a' thoughts and documentation. 2017-07-17 21:33:11 +02:00
6a677a65b2 Found and fixed issue occuring when function was loaded from a module pretty couldn't find. 2017-07-15 23:29:51 +02:00
a9b2799e6c Changed a bit in the thoughts section in function.lua. 2017-07-15 23:11:54 +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
3790f4e8a3 Embedded functions now use info.params instead of the one pulled from the defining string. 2017-07-15 20:51:05 +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
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
b37a02c850 Now avoids analysing tables deeper than max_depth. 2017-06-15 19:02:54 +02:00
2cc9301c58 Improved alignment of functions. 2017-06-11 13:53:06 +02:00
48ca04bcb8 Changed all function signatures to exclude the old options arguments.. 2017-06-05 23:24:38 +02:00
0f26759ee2 Moved to doing seperator fixing just before returning from pretty. 2017-04-14 14:01:01 +02:00
ed252643e9 Added some thoughts on pretty printing of functions, into the header of function.lua 2017-04-06 14:46:45 +02:00
ec3ba2cab9 Improved error messages, and fixed issue with importing from other modules 2017-04-05 12:21:43 +02:00
e5e23422ef Indent to stirng 2017-04-03 17:03:32 +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