Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | Changed to ignore lower/upper case | NEMESIS13cz | |
2015-09-13 | Fixed missing return | NEMESIS13cz | |
2015-09-13 | Fixed error tracing | NEMESIS13cz | |
2015-08-11 | Added support for hex strings | NEMESIS13cz | |
2015-08-11 | Rewrote a lot, added a lot | NEMESIS13cz | |
2015-08-10 | Changed calc to run on a separate thread | NEMESIS13cz | |
2015-06-06 | Fix /up | Dico200 | |
Tried a lot of shit but these 3 lines should do it. | |||
2015-03-19 | Changed all CommandExecutor arguments | Dico200 | |
Added arguments command and label to all command executor functions, hopefully for massive performance increase. This is due to the following mess in PythonLoader: ``` Java @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { boolean result; if (argcount == -1) { try { result = call(4, sender, command, label, args); argcount = 4; } catch (PyException e) { //this could goof up someone ... they'll probably yell at us and eventually read this code ... fuck them if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 3 arguments (4 given)") || e.value.toString().endsWith("takes exactly 4 arguments (5 given)"))) { result = call(3, sender, command, label, args); argcount = 3; } else if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 2 arguments (4 given)") || e.value.toString().endsWith("takes exactly 3 arguments (5 given)"))) { result = call(2, sender, command, label, args); argcount = 2; } else { throw e; } } } else { result = call(argcount, sender, command, label, args); } return result; } ``` Note: Still WIP on reports - I'm working on making it keep solved reports to fix issue 10 | |||
2015-01-17 | Removed . from operators, remade line 17 | PanFritz | |
2015-01-17 | Added check for . | PanFritz | |
2015-01-16 | added . to maths operator to support floats | PanFritz | |
2015-01-13 | Reverted changes | PanFritz | |
2015-01-13 | Added should_calc check and done expression var | PanFritz | |
2015-01-13 | removed should_calc condition from line 23, replaced break | PanFritz | |
2015-01-13 | testing | PanFritz | |
2015-01-11 | 420 = blazeit | jomo | |
2015-01-11 | only output numbers | jomo | |
we also support shifting (>>, <<), so the > and < characters are allowed which might lead to a bool type output we don't want to show bool output | |||
2015-01-10 | add >, <, ~ and % operators to calc | jomo | |
2015-01-07 | delete duplicate chat message | jomo | |
2015-01-06 | change indentation from 2 spaces to 4, fix #5 | jomo | |
2015-01-06 | Revert "Fixed calc when calling toggle" | jomo | |
This reverts commit 825acf330ab6200f9f6dabe438a1212f838452c4. | |||
2015-01-06 | Fixed calc when calling toggle | PanFritz | |
2015-01-02 | use name parameter for toggle() | jomo | |
2015-01-02 | /calc can only be used on sender | jomo | |
2015-01-02 | improve calc, make users savable | jomo | |
2015-01-02 | stfu pylint | jomo | |
2015-01-02 | more calc improvements | jomo | |
2015-01-02 | docs | jomo | |
2015-01-02 | better color | jomo | |
2015-01-02 | improve calc.py | jomo | |
2015-01-01 | Final modification for today | Gap | |
2015-01-01 | Removed debugging shit | Gap | |
2015-01-01 | (+Pan) Added small chat calculator | Gap | |