Ryan Young
Ryan Young
If you do a grep for `.mimetype` in ./apprise/plugins, you'll find the following plugins filter attachments against their MIME type: - NotifyPushover.py (rejects attachment, returns True, no notification) - NotifyPushSafer.py...
The structure is there if you want to build different versions of Lualib features for different versions of Lua; see [the code that selects which Lualib to load](https://github.com/TypeScriptToLua/TypeScriptToLua/blob/6b068dcf7e9647524b225c10eadca45ceedb236a/src/LuaLib.ts#L115) and [the...
I've submitted the type declarations with pull request https://github.com/TypeScriptToLua/lua-types/pull/59.
Okay, so here's a status update on this porting effort: - [X] Added a 5.0 mode to TSTL. - [X] Added type declarations for the 5.0 standard library (https://github.com/TypeScriptToLua/lua-types/pull/59). -...
Ok, so I've integrated my lualib changes and added a second lualib build specifically for 5.0. I've also made the necessary changes to the testing framework to run against the...
All tests should pass with the latest commits.
> I do not agree with this 'one lualib for all versions' setup. I much prefer the way it was set up before, where there was a separate src/lualib/lua50 directory...
I managed to achieve different source files for different Lua targets with https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1263/commits/f390622c5b7d50376cb5d121a957162c55f31657! I used tsconfig.json's `rootDirs` feature while also stripping the sub-directories from the output paths as they are...
I've addressed all feedback and believe this is ready for a re-review. You need https://github.com/TypeScriptToLua/lua-types/pull/75 and https://github.com/TypeScriptToLua/lua-wasm-bindings/pull/5 to get the tests to pass.
The math (a geometric discrete probability distribution) tells us that, on average, it will take `32^(# of chars)` iterations to find a desired address. So take that number and divide...