Commit Graph

81 Commits

Author SHA1 Message Date
hyb1996
e56682162e fix some bugs 2018-10-11 12:00:50 +08:00
hyb1996
4851790ad9 update libraries and dependencies's version 2018-10-06 10:12:29 +08:00
hyb1996
02b1587f6b feat: intent task 2018-09-28 13:46:01 +08:00
hyb1996
dcc09c4034 fix: cannot set w and h on root element of ui;
fix: ui.post
2018-09-27 00:22:41 +08:00
hyb1996
16709529e3 fix:
Java.lang.NullPointerException: Attempt to invoke interface method 'com.stardust.autojs.engine.ScriptEngine com.stardust.autojs.execution.ScriptExecution.getEngine()' on a null object reference
com.stardust.autojs.ScriptEngineService$1.onFinish(ScriptEngineService.java:70)
com.stardust.autojs.ScriptEngineService$1.onSuccess(ScriptEngineService.java:66)
com.stardust.autojs.execution.ScriptExecutionObserver.onSuccess(ScriptExecutionObserver.java:22)
com.stardust.autojs.execution.ScriptExecuteActivity.finish(ScriptExecuteActivity.java:137)
com.stardust.autojs.engine.LoopBasedJavaScriptEngine.forceStop(LoopBasedJavaScriptEngine.java:69)
org.autojs.autojs.ui.main.task.Task$RunningTask.cancel(Task.java:100)
org.autojs.autojs.ui.main.task.TaskListRecyclerView$TaskViewHolder.stop(TaskListRecyclerView.java:246)
org.autojs.autojs.ui.main.task.TaskListRecyclerView$TaskViewHolder_ViewBinding$1.doClick(TaskListRecyclerView$TaskViewHolder_ViewBinding.java:34)
butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
android.view.View.performClick(View.java:5641)
android.view.View$PerformClick.run(View.java:22533)
android.os.Handler.handleCallback(Handler.java:751)
android.os.Handler.dispatchMessage(Handler.java:95)
android.os.Looper.loop(Looper.java:177)
android.app.ActivityThread.main(ActivityThread.java:6674)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
2018-09-19 16:47:19 +08:00
hyb1996
ac0e9952c8 feat(autojs): UiSelector.indexInParent 2018-05-28 13:14:59 +08:00
hyb1996
55f2e7b20a fix(autojs): screen request activity memory leak
fix(autojs): idStartsWith not working
2018-04-25 15:53:04 +08:00
hyb1996
278cfd2272 api(dialogs): dialogs.build() 2018-04-17 22:27:40 +08:00
hyb1996
34fb18cba3 fix(automator): click always return true if the widget with text exists 2018-04-13 22:55:08 +08:00
hyb1996
af8823b10f feat(rhino): java object and class can custom prototype in javascript 2018-04-07 13:22:41 +08:00
hyb1996
c0b03d89d5 fix: floaty.closeAll() not found 2018-02-28 09:52:32 +08:00
hyb1996
ce515e58e0 api(automator): auto.waitFor() 2018-02-27 17:28:50 +08:00
hyb1996
528171b77d api(events): events.setKeyInterceptionEnabled() 2018-02-27 17:03:09 +08:00
hyb1996
401b8cbad0 opt: floaty 2018-01-25 13:05:34 +08:00
hyb1996
d6c9fe4f09 opt: layout inspector toast 2018-01-24 20:54:46 +08:00
hyb1996
0e6616c1dc opt: layout inspector view 2017-12-09 12:36:43 +08:00
hyb1996
87c7cc73c3 fix: GlobalActionRecorder register invalid subscriber; opt: rememove getRootInActiveWindow on every onAccessibilitySerive() 2017-12-09 00:23:23 +08:00
hyb1996
8db26f5b11 optimize: code generation 2017-12-07 22:13:58 +08:00
hyb1996
e8bab643af add: timed task 2017-11-28 02:26:05 +08:00
hyb1996
9951ffae7a just to save works and use another computer to code 2017-11-27 21:11:49 +08:00
hyb1996
328ab6efa7 add: images.findImage; change images.findColor implementation to opencv 2017-11-26 17:47:17 +08:00
hyb1996
7c1decdc04 add: simple code generation 2017-11-06 23:45:36 +08:00
hyb1996
0b884f5747 * add: row, column, depth, etc. for UiObject
* add: row, column, depth, etc. conditions for UiGlobalSelector
* add: filter for UiGlobalSelector
2017-11-05 17:42:41 +08:00
hyb1996
ef02572f1d wtf 2017-11-03 19:56:50 +08:00
hyb1996
935a82099c add array's functions to UiCollection 2017-11-01 23:52:16 +08:00
hyb1996
a30019ab77 Revert "just to save works"
This reverts commit 8a55450d62.
2017-10-31 14:07:37 +08:00
hyb1996
8a55450d62 just to save works 2017-10-31 10:55:03 +08:00
hyb1996
cbd2600c33 add: notification listener service 2017-10-31 00:07:45 +08:00
hyb1996
716a44fb6f fix: VolatileBox dead lock issue 2017-10-28 15:46:03 +08:00
hyb1996
d830e13031 fix hyb1996-guest/AutoJsIssueReport#14544 2017-10-28 14:48:53 +08:00
hyb1996
1f7be092d8 fix: timer not working when script runs repeatedly 2017-10-27 23:56:40 +08:00
hyb1996
f55593a7a2 fix: user register; update dependencies 2017-10-26 17:01:29 +08:00
hyb1996
7616634e40 fix: crash on notification events 2017-09-25 16:30:09 +08:00
hyb1996
405075757e add: stable mode for AccessibilityService 2017-08-14 21:23:07 +08:00
hyb1996
19dac12614 refactor(module autojs): package com.stardust.autojs.runtime.inputevent
add: module engines
2017-08-04 15:19:57 +08:00
hyb1996
6a3392cfe6 add: root_automator 2017-08-01 21:42:32 +08:00
hyb1996
f51d791d98 fix: lag when accessibility service switch toggled 2017-07-31 21:28:13 +08:00
hyb1996
33cdef21c6 add: auto() function and two mode of fetching rootInActiveWindow 2017-07-31 10:15:39 +08:00
hyb1996
dc9f8f417a refactor: remove SimpleActionPerformHost and AccessibilityEventCommandHost 2017-07-30 16:28:26 +08:00
hyb1996
12037ba488 change JavaScriptEngine to LoopBasedJavaScriptEngine
Everything works like Node.js. loop() will not need be called explicitly any more.
Including some changes:
* Every thread of script has a looper.
* Use a servant thread in gestures functions of GlobalActionAutomator and image available listener of ScreenCapture.
* For keeping events key and touch listener alive, add Loopers.waitWhenIdle to control whether or not Looper should quit when it has nothing to do
2017-07-29 17:46:23 +08:00
hyb1996
6d62b40b21 imporve code completion 2017-07-21 17:05:01 +08:00
hyb1996
8f2a088111 add timers modules 2017-07-21 11:24:02 +08:00
hyb1996
52cc5214f1 add events module, including EventEmiiter, KeyEvent, TouchEvent 2017-07-20 15:39:17 +08:00
hyb1996
21c4a38b86 add files and docs of files and images 2017-07-17 23:26:15 +08:00
hyb1996
73773faedc fix fucking accessibility service 2017-07-16 10:19:07 +08:00
hyb1996
fcfb3a69e0 add setText and add group memeber script 2017-07-12 11:47:32 +08:00
hyb1996
e5cc3ef4f9 change getRootInActiveWindow back to 2.0.12 Beta 2017-07-12 10:50:34 +08:00
hyb1996
c6e31dcb41 release 2.0.13 Beta3 for YingYongBao 2017-07-09 11:28:28 +08:00
hyb1996
0b39c12572 release 2.0.13 Beta3 2017-07-08 23:31:07 +08:00
hyb1996
7c5a27a8d3 add script running repleatedly support, change min sdk version to 17 2017-07-08 22:31:31 +08:00