Releases: esotericpig/jeso
Releases Β· esotericpig/jeso
v0.3.10
v0.3.7
Changes
- Updated internal Gradle build system files.
- Formatted code (mainly trimmed trailing spaces).
v0.3.6
BotBuddy
now implements AutoCloseable so that you can use try-with-resource:
// This will automatically call buddy.releasePressed() for you
try(BotBuddy buddy = BotBuddy.builder().build()) {
// ...
}
v0.3.5
Changed
botbuddy.BotBuddy
- Added:
type(int x,int y,int keyCode)
type(String text), type(int x,int y,String text)
- This will type each char (code point) in
text
usingKeyCodes
. If the char's key code doesn't exist, then it usespaste(...)
for the char instead.
- This will type each char (code point) in
typeUnsurely(String text), typeUnsurely(int x,int y,String text)
- This is the same as
type(...)
, except that if the char's key code doesn't exist, it will not usepaste(...)
and instead try to look up the char usingKeyEvent
(which usually doesn't work).
- This is the same as
- Added:
botbuddy.BotBuddyCode
- Changed
type
Instruction to use newtype(...)
overloads (when possible) - Added
typeunsurely
Instruction
- Changed
Added
botbuddy.KeyCodes
- Various methods for converting a char (code point) to a
KeyEvent.VK_
virtual key code. getCharCodes(int keyChar)
getCharCodes(int keyChar,boolean getExKeyCode)
- Various methods for converting a char (code point) to a
Chars
toString(int codePoint)
Notes
KeyCodes
may or may not work with non-US keyboards at this time (plan on making it more generic in a future version).
For any chars that don't work, you can call putCharCodes(int keyChar,int[] keyCodes)
with your own custom ones. For example:
KeyCodes.putCharCodes('$',new int[] {KeyEvent.VK_SHIFT,KeyEvent.VK_DOLLAR});
v0.3.4
If your code used one of the following, it will break:
new BotBuddy(...)
new BotBuddy.Builder(...)
new BotBuddy.Stash(Stash)
new BotBuddyCode(...)
Instead, you should use:
BotBuddy.builder().build()
BotBuddy#dup()
BotBuddy.Stash#dup()
BotBuddyCode.builder().build()
The other methods were either removed or made protected so that there would be less init methods to maintain (and therefore less bugs).
v0.3.3
- Top Package
- Arys, Bools, Duplicable, OSFamily, Strs, Sys
- BotBuddy Package
- BotBuddy, BotBuddyCode, BotBuddyCodeApp
- Code Package
- LineOfCode, ParseCodeException
- IO Package
- StringListReader