* Add setClipboardText(s)
Add function to set clipboard text
* Moved setClipboardText(s) into debug
Moved setClipboardText(s) from its own extension to debug.
Also moved e2helper description to a more appropriate location
* Add setClipboardText limit convar and fixed error
Added a convar to limit the amount of characters the server is willing to send.
Made use of `#` operator
Limit check now returns nil
* Add setClipboardText cooldown
Added a cooldown convar and fixed limit test
* Correcting linting mistakes
* Removed print
oops forgot to remove that
* Changed E2 helper description
Change to some less confusing
* Add setClipboardText toggle convar
* Change convar check to use boolean
minor nitpicks, I agree its nicer.
* Change clipboard access toggle from server side to client side
* Changed setClipboardText cooldown
Removed timer as suggested and added table to track when last called.
* Simplify
---------
Co-authored-by: Vurv <56230599+Vurv78@users.noreply.github.com>
* Add quick fixes for warnings
* Support for multiple changes, Error fixes
* Support multiple replacements
* Quick fix support for Error, although none currently implemented.
* Add (Quick fix available) at the end of a problem instead of changing icon. It's more clear and works for errors too.
* Parser, Preprocessor, Tokenizer support
* Preprocessor rewritten to use traces instead of mostly columns
* Quick fixes to convert `normal` -> `number` for preprocessor
* Quick fixes to convert non CamelCase variables to camelCase in preprocessor
* Parser supports quick fixes now
* Add warning for use of `normal` type in parser (this should really be handled in analyzer, though..)
* Add quick fix for normal use in parser
* Tokenizer supports quick fixes now
* Added invalid escape quick fix (deletes the \)
* Up Gps, Sd, Cd materials to 256x256
* Target finder mat to 256x256
* Gyroscope mat to 256x256
* Use DTX1 for textures with 255 alpha
* delete unused
* hammy smart textures
* shrink single-color cheeze
* fix stupid cheeze ram
* increase quality for these two
+ move "polar cds" to its own branch
* fix cog
* fix neglected thrusteraddon textures
---------
Co-authored-by: Redox <mail@redox.to>
* Improve user-generated entity/wirelink outputs
- Add output remover
- Made adding entity and wirelink outputs more sensible
- Cleaned up port assignment to not give bad indices
- Removed using CreateWirelinkOutput when it's not necessary
- Removed E2 `entity:wirelink()` creates a wirelink output
- ??? other magic to make this work
* Move link removal to wire_adv
Refactored wire_adv netcode to use a single networkstring
* Small lints
* Rewrite number library
* Fixes, more tests
* Fix using incorrect arguments in functions
* Tag more functions as explicitly `number` parameters
* More test coverage
* Address busses can now have offsets to read/writes
A feature previously only possible with the extended bus
* offset to internal offset, read/write to external offset
* Excessive parenthesis removed
* Initial lambda implementation
* Add ops on creation
* New implementation
* Functions are now tables, containing parameter signature, return type and inner function
* function:getParameterTypes()
* function:getReturnType()
* Don't reset global variables on `@strict`, fixing issue with top level locals not working as upvalues since they'd be reset by the runtime. I don't think this would actually affect anyone since you shouldn't be able to use variables before they're assigned, but it's `@strict` only behavior anyway.
* Fix missing parity change
I'd already fixed this bug with functions that have return values but this was not fixed for functions without return values. Also added a test case for this.
* More tests, enforce returns at compile time
* Add tests to ensure variadic parameters, void parameters and implicit parameters aren't allowed
* Fix lambdas potentially not returning at all codepaths like functions now are expected to do. Added a test for that.
* Fix early returns
I should stop prematurely optimizing this.. This is like the third or second time I've made this mistake lol
* Fix highlighting
Actually a really easy fix. Surprising
* Fix merge regression
* Don't allow overriding functions with `@strict`
* Add nested function warning
* Lower base op cost
5 ops on `@strict`, 8 without
* Remove extra 4 ops
* Add tests and fix methods
* Use ParseEscapes in Tokenizer
* Lints
* Store sequence before escaping
* Rewrite the thing
* Handle case for \u{\u{x}}
to parse as "\u{", "\u{x}" instead of "\u{\u{x}}" or "\u{", "\u{x}}"
* Cooler error handling
* Fix oversight in hex escapes
* lol. lmao
* Add tests
* Implement Vurv's toUnicodeChar implementation
Fix unicode escape could be less than 0
Harden unicode escapes against bad input strings