1
0
Commit Graph

123 Commits

Author SHA1 Message Date
7dca1a697d Misc. 2017-10-09 13:05:28 +02:00
1781f8267a Merged cdata into master, and added some tests. 2017-08-07 10:39:45 +02:00
a0008a5c5c Some utf8 tests and fixing minor library issues. 2017-07-31 16:29: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
fe1c166044 Minor documentation and restructure. 2017-07-25 15:37:37 +02:00
aa4ca9d67d Depricated short_builtins. 2017-07-24 19:35:19 +02:00
0250c0f014 TODO structure 2017-07-24 19:16:29 +02:00
3ea1aa2efe Minor changes to imports 2017-07-24 11:49:45 +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
6d56713627 Implemented tabular style, for appropriate tables. Turned out to be more robust than I anticipated. 2017-07-22 16:36:32 +02:00
e0552daf91 Chunks are now formatted correctly. 2017-07-22 15:09:20 +02:00
9a46a959e9 Library fix: loadstring was missing, and loadfile had loadstrings documentation 2017-07-22 15:08:56 +02:00
762b8f3d20 Updated readme, and a bit of commentary. 2017-07-22 14:44:24 +02:00
6021ff8ec6 Removed some debug prints, and improved code structure 2017-07-22 13:53:15 +02:00
6f7e767b68 Many bad unicode sequences are now properly escaped 2017-07-21 16:44:46 +02:00
bfbfe4de56 Added additional tests for parseability and idempotency. 2017-07-21 13:55:50 +02:00
a8cbe42a05 Implemented format_concatted_string. 2017-07-21 13:46:46 +02:00
f3cddec4d0 Improved handling of strings. Code is much clearer. cut_strings option has been removed. 2017-07-21 13:15:04 +02:00
39dc9ce84e Added recursion option for displaying every table even if already displayed. 2017-07-21 13:12:02 +02:00
1f20c29f68 Moved strings and their tests to new file. 2017-07-20 19:20:29 +02:00
33fb88fdd7 What is an is not an identifier is now automatically determined by is_identifier. 2017-07-20 18:58:06 +02:00
8f8e5b9c7f Fixed issue where default values would leak when calling pretty
A clone of the given options are maintained instead.
2017-07-20 13:43:30 +02:00
ff2c70082a Very minor adjustments to README 2017-07-20 13:00:26 +02:00
93beb4bd1e Finally implemented column alignment
It's currently a bit limited in scope, but looks great when active.
2017-07-20 12:01:46 +02:00
0b0c2330ec Minor work and documentation. 2017-07-20 10:38:24 +02:00
f9e9f91663 Minor documentation 2017-07-18 13:38:05 +02:00
d0d8e6476f Bunch a' thoughts and documentation. 2017-07-17 21:33:11 +02:00
00d3f653a8 Improved loading of pretty. 2017-07-17 13:36:56 +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
41b274146a Update README.md 2017-07-15 17:25:18 +00:00
fcbd5f84c6 Merge branch 'master' of gitfub.space:Jmaa/pretty 2017-07-15 19:21:57 +02:00
20bbe82b96 Improved readme. 2017-07-15 19:21:21 +02:00
346afd61c0 Major restructure for finding documentation and function source. Fixes some issues 2017-07-14 16:51:19 +02:00
575cc8918d Added License. 2017-07-03 07:29:45 +00:00
6bd797c75e Improved sorting. 2017-06-25 13:16:34 +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
4a41111d1e analyse_structure is not automatically called, if no info regarding a table could be found. 2017-06-24 18:36:01 +02:00
8d88f6195d analyse_structure can now extend a previously used info table. 2017-06-24 17:59:55 +02:00