Commit Graph

556 Commits

Author SHA1 Message Date
hyb1996
55f2e7b20a fix(autojs): screen request activity memory leak
fix(autojs): idStartsWith not working
2018-04-25 15:53:04 +08:00
hyb1996
c488e9ccbb fix(ui): circular menu keep to edge behavior on screen orientation change 2018-04-21 16:53:00 +08:00
hyb1996
ae243719b1 fix(dialogs): dialog.select() shows checkbox 2018-04-21 14:23:42 +08:00
hyb1996
4f9f79f33b sample(dialogs): add 模拟更新下载对话框.js 2018-04-19 11:56:58 +08:00
hyb1996
278cfd2272 api(dialogs): dialogs.build() 2018-04-17 22:27:40 +08:00
hyb1996
f6dec28e49 fix(ui): layout inspect failed when dumping 2018-04-15 17:00:03 +08:00
hyb1996
7e2f09b9aa feat(ui): add pointer location and stop all scripts to circular menu 2018-04-15 16:29:09 +08:00
hyb1996
a00bd293b3 doc: update to lastest 2018-04-13 22:31:02 +08:00
hyb1996
2162bd5b28 feat: checks plugin version 2018-04-13 22:10:40 +08:00
hyb1996
51fa9bde49 fix(images): java.lang.IllegalArgumentException: x must be < bitmap.width() in images.findMultiColors() 2018-04-11 17:11:15 +08:00
hyb1996
c39ba26e1f feat(ui): show forum notification count on drawer menu 2018-04-03 18:17:36 +08:00
hyb1996
aeae51bb74 fix: #268 2018-04-03 16:09:26 +08:00
hyb1996
ebf086af90 docs: update docs and indics to latest 2018-04-02 15:49:35 +08:00
hyb1996
b381f28470 api(app, globals): app.autojs, app.versionCode, app.versionName, requiresApi, requiresAutojsVersion 2018-04-02 14:30:03 +08:00
hyb1996
2a8b0ce3e0 feat(editor): auto restore text after screen orientation changed 2018-04-01 15:03:08 +08:00
hyb1996
b3f000d240 api(engines): engines.all(), ScriptEngine.emit()
api(events): events.broadcast
2018-04-01 14:07:18 +08:00
hyb1996
0e2a49cd6f fix(images): another mat released causes the mat recycled??? 2018-03-31 22:07:31 +08:00
hyb1996
3dffb02bad add: 955 material icons 2018-03-31 14:10:48 +08:00
hyb1996
5226f41d33 remove built-in icons 2018-03-31 13:46:02 +08:00
hyb1996
09a43dd7c0 remove leak canary 2018-03-31 12:41:15 +08:00
hyb1996
32f9fd3359 fix(canvas): emit should call with view as this
fix(sample): 贪吃蛇重力感应版: some typo and bugs
2018-03-31 12:25:38 +08:00
hyb1996
7a4eb33245 opt(dev_plugin): add require path to remote script; optimize saved remote script's name 2018-03-30 17:51:11 +08:00
hyb1996
af5bf8ecf2 feat(ui): supports label grid 2018-03-30 17:37:31 +08:00
hyb1996
a7ed49d8b1 sample(ui): music file browser 2018-03-29 21:17:49 +08:00
hyb1996
bac87f2591 refactor(ui): refactor dynamic layout inflater
feat(ui):  xml one way data binding
feat(ui): label `list`
2018-03-29 16:50:21 +08:00
hyb1996
9a61bbe64d add: 300 built-in icons 2018-03-28 10:52:04 +08:00
hyb1996
9c43b1f41c opt: API of canvas 2018-03-24 13:37:10 +08:00
hyb1996
a009eb02b0 refactor: use GlobalAppContext to replace App.getApp()
add: Canvas
2018-03-23 14:45:48 +08:00
hyb1996
efa31915c2 add: sample Gluttonous Snake for canvas 2018-03-21 16:04:43 +08:00
hyb1996
9e4cdb4723 fix: EditText of floaty window cannot request focus 2018-03-20 22:09:51 +08:00
hyb1996
b46e08e6bf api: event click, long_click, touch_down and so on for view 2018-03-20 21:27:02 +08:00
hyb1996
f16b3ad922 feat: new ui widget canvas 2018-03-19 19:17:06 +08:00
hyb1996
c5e3050732 just to save works 2018-03-17 14:34:59 +08:00
hyb1996
9679830c75 fix: generated selector code is wrong for exists and waitFor 2018-03-15 19:30:29 +08:00
hyb1996
0d94c36d8c fix: thread.interrupt() not quit looper 2018-03-15 16:35:22 +08:00
hyb1996
16b39b550d fix(selector): the behavior of findOnce() is different from docs point out 2018-03-09 13:36:52 +08:00
hyb1996
c0b03d89d5 fix: floaty.closeAll() not found 2018-02-28 09:52:32 +08:00
hyb1996
3de96662c6 docs: events, automator 2018-02-27 17:59:12 +08:00
hyb1996
ce515e58e0 api(automator): auto.waitFor() 2018-02-27 17:28:50 +08:00
hyb1996
235115edf3 api(app): app.startActivity() for string param 2018-02-27 16:16:32 +08:00
hyb1996
66c436cd99 index: sensors, media 2018-02-27 13:24:07 +08:00
hyb1996
724fd115eb docs: sensors, media 2018-02-27 13:16:11 +08:00
hyb1996
ab121f23c3 global key observer lazy initialize 2018-02-27 09:59:36 +08:00
hyb1996
86c1371e93 touch record lazy initialize 2018-02-27 09:39:58 +08:00
hyb1996
43e3a75676 feat: any words' completion 2018-02-26 20:35:06 +08:00
hyb1996
84ab4d481c chore: find and replace 2018-02-26 19:52:47 +08:00
hyb1996
a3fd8f2423 feat: uncaught exception on non-ui threads does not cause crash report any more 2018-02-26 14:04:25 +08:00
hyb1996
ced53c729f feat(editor): inline some methods and fields to improve drawing efficiency(?) 2018-02-26 13:55:03 +08:00
hyb1996
3b2aac78fd feat: brackets matching 2018-02-26 13:12:36 +08:00
hyb1996
445bcfa462 feat(editor): auto indent 2018-02-25 18:02:44 +08:00
hyb1996
451960008a chore 2018-02-24 23:11:54 +08:00
hyb1996
011008df93 feat: util.format() supports java array 2018-02-24 20:42:01 +08:00
hyb1996
dfc75dab94 feat: supports changing editor text size 2018-02-24 18:49:39 +08:00
hyb1996
dab33831cb feat: current line highlight 2018-02-24 12:05:05 +08:00
hyb1996
198a694064 fix: engines.execScriptFile() missing executePath config 2018-02-23 22:42:53 +08:00
hyb1996
622bb4c277 fix: editor cannot scroll horizontally if editor's height < parent's height 2018-02-23 19:01:46 +08:00
hyb1996
69861e8b4f feat: editor toolbar menu item status sync 2018-02-23 12:51:34 +08:00
hyb1996
6f9b302e9b fix: get visible char start and end are not correct 2018-02-23 12:35:07 +08:00
hyb1996
e4cda0b64f feat: verify dex files 2018-02-23 11:21:18 +08:00
hyb1996
29402055ab feat: light theme for new editor 2018-02-22 17:32:29 +08:00
hyb1996
1861b5fa53 fix: editor auto breaking line if line is too long 2018-02-22 14:28:03 +08:00
hyb1996
0f35fe3a3a adjust editor menu 2018-02-22 14:03:35 +08:00
hyb1996
f6e0b0d806 feat: js beautifier for new editor 2018-02-22 11:31:03 +08:00
hyb1996
f852837488 fix: console input box not showing on some devices 2018-02-22 10:38:00 +08:00
hyb1996
66cf6dbbf8 fix: getRealScrollY() return unreal scroll y 2018-02-21 23:27:11 +08:00
hyb1996
6ca73623a2 opt: draw only visible chars for a line 2018-02-21 23:22:21 +08:00
hyb1996
ea5f80b437 feat: new editor: jsdroid editor 2018-02-21 21:32:08 +08:00
hyb1996
79900f43da chore 2018-02-12 10:30:29 +08:00
hyb1996
76fd77f1c7 api: module sensors
index: all.json
2018-02-06 12:41:23 +08:00
hyb1996
464c2498db opt: communication between editor and javascript 2018-02-04 19:46:59 +08:00
hyb1996
204acdaf82 fix some many bugs 2018-02-04 16:18:05 +08:00
hyb1996
2e1f09061c fix hyb1996-guest/auto.js3-issues#19755 2018-02-04 14:41:23 +08:00
hyb1996
9a64b1ef2b fix hyb1996-guest/auto.js3-issues#19765
Closes hyb1996-guest/auto.js3-issues#19765
2018-02-04 14:37:25 +08:00
hyb1996
3b398ec732 index: update all.json 2018-02-04 11:23:03 +08:00
hyb1996
399cb29dd5 feat: permission checking dialog 2018-02-04 11:02:07 +08:00
hyb1996
231b11c22b feat: accessibility white list 2018-02-04 10:34:55 +08:00
hyb1996
5fed594bf1 feat: accessibility white list 2018-02-03 22:54:06 +08:00
hyb1996
d6707d7dd6 opt: use my code completion implement instead CodeMirror's 2018-02-03 20:39:15 +08:00
hyb1996
757afa0635 release 3.0.0 Beta 2018-02-02 20:17:40 +08:00
hyb1996
4e7e4184b8 feat: add plugin download url 2018-02-02 19:31:07 +08:00
hyb1996
9f55444e33 fix: floaty.closeAll() 2018-02-02 19:21:36 +08:00
hyb1996
c75337a767 api: colors.isSimilar, colors.equals
fix: circular menu icon is not circular when recording
feat: splash ui for built apk
docs: update to latest docs
fix: floating menu not showing automatically
2018-02-02 18:30:08 +08:00
hyb1996
d1221d530e docs 2018-02-01 20:43:56 +08:00
hyb1996
ee638e3d6b fix: #281
feat: built-in lodash.js

close #281
2018-02-01 16:34:40 +08:00
hyb1996
a06fca1971 update tutorial url 2018-02-01 14:28:16 +08:00
hyb1996
032e294da7 res: add some translation 2018-02-01 12:30:27 +08:00
hyb1996
d61e47cf6b docs 2018-01-30 11:45:54 +08:00
hyb1996
d3899fa3f3 feat(floaty): wait for floating permission granted when creating a window 2018-01-30 10:37:03 +08:00
hyb1996
8bab1330fd save works 2018-01-29 22:22:37 +08:00
hyb1996
0c042f7f07 fix: selected pyramid level too small 2018-01-27 13:50:30 +08:00
hyb1996
1e8183f756 fix: files.join(); RootShell.isRootAvailable() crash 2018-01-27 09:18:42 +08:00
hyb1996
76f02863f7 docs 2018-01-25 17:13:03 +08:00
hyb1996
7908190ab6 daily: ui adjustment 2018-01-25 17:10:41 +08:00
hyb1996
b860c9ee5b daily: ui adjustment 2018-01-25 15:49:01 +08:00
hyb1996
80a7792ccd fix: cannot run .auto file on script list 2018-01-25 14:30:07 +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
4876ca4097 feat: relative path support for module "engines" 2018-01-24 17:42:20 +08:00
hyb1996
2f987305cd fix: notification service label is not built app label 2018-01-24 17:35:18 +08:00
hyb1996
c93c27fcaa feat: build apk from project(dir) support 2018-01-24 17:29:25 +08:00
hyb1996
316415343f feat: relative path support for ui image source 2018-01-24 12:31:12 +08:00
hyb1996
5ccf434f1b fix: cannot login or register 2018-01-24 10:34:06 +08:00
hyb1996
78f6fbbd3c fix #282 2018-01-24 10:27:24 +08:00
hyb1996
7f6e9dd210 feat: #274 2018-01-23 14:45:17 +08:00
hyb1996
bb6d44e696 fix: PrefSwitch is reset to false when app exit 2018-01-23 14:23:09 +08:00
hyb1996
af0dbcefb7 sync 2018-01-22 16:06:38 +08:00
hyb1996
26d2ce972f fix: download script failed when dir does not exist 2018-01-07 14:04:19 +08:00
hyb1996
acaf199675 fix: check for updates 2018-01-07 13:43:55 +08:00
hyb1996
130827cab5 fix: files.cwd() 2018-01-07 13:41:46 +08:00
hyb1996
a51b9c24ed fix: app crash when longClick throws exception 2018-01-04 21:13:12 +08:00
hyb1996
2d287f720c * refactor: move library dynamic layout inflater to autojs module
* fix: ScriptExecuteActivity memory leak
* fix: InterruptedException on script exit event
2018-01-04 16:22:38 +08:00
hyb1996
3e592370dc try to fix hyb1996-guest/auto.js3-issues#20 2017-12-31 22:21:23 +08:00
hyb1996
c0dde41fc1 fix hyb1996-guest/auto.js3-issues#1 2017-12-31 19:27:07 +08:00
hyb1996
55ea745d57 fix: colors.red() return NaN 2017-12-31 18:52:03 +08:00
hyb1996
1784a9f84d fix: send script file not working 2017-12-31 18:00:54 +08:00
hyb1996
5ed6e2bea8 add: logout button on drawer menu 2017-12-31 17:56:35 +08:00
hyb1996
002a11149e docs 2017-12-30 17:41:41 +08:00
hyb1996
2f01f2ab10 fix hyb1996-guest/auto.js3-issues#2 2017-12-30 17:35:43 +08:00
hyb1996
fba9f0b4e9 fix hyb1996-guest/auto.js3-issues#6 2017-12-30 17:22:20 +08:00
hyb1996
403e19f568 fix hyb1996-guest/auto.js3-issues#4 2017-12-30 17:18:38 +08:00
hyb1996
123f86aa27 fix: connect to dev plugin with wrong host 2017-12-30 17:10:58 +08:00
hyb1996
6d9fda6862 api: floaty 2017-12-30 15:23:48 +08:00
hyb1996
e8e73aac14 add: two samples for floaty 2017-12-29 21:45:16 +08:00
hyb1996
084a8ea033 fix: FloatyWindow.setSize() not working 2017-12-29 20:53:51 +08:00
hyb1996
4188b2027c fix: console resize not working 2017-12-29 17:06:28 +08:00
hyb1996
de4f086415 api: device.keepScreenOn(), device.keepScreenDim(), device.wakeUp(), device.vibrate();
fix: crash when rotating editor
2017-12-29 14:09:27 +08:00
hyb1996
ee0c7f4916 docs 2017-12-28 21:23:35 +08:00
hyb1996
3647cef81b api: threads, events 2017-12-28 21:21:41 +08:00
hyb1996
729958d419 api: threads, files 2017-12-27 16:47:32 +08:00
hyb1996
25e9c90bf4 api: app 2017-12-11 19:10:01 +08:00
hyb1996
6e6cefbb24 fix: import file 2017-12-10 18:40:22 +08:00
hyb1996
0d8a3e41fb opt: error message of login and register 2017-12-10 17:29:58 +08:00
hyb1996
39932de8ce feat: add community drawer menu 2017-12-10 16:41:52 +08:00
hyb1996
5f2abf2d85 refactor: implements DrawerMenu with RecyclerView 2017-12-10 15:47:53 +08:00
hyb1996
0c83d4d96a opt: functions keyboard auto insert brackets 2017-12-10 01:06:47 +08:00
hyb1996
f939dac3fd feat: functions keyboard 2017-12-10 00:44:57 +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
b6f251da0b opt: independent runtime 2017-12-08 22:45:31 +08:00
hyb1996
e8179cae94 feat: can set app icon of apk building 2017-12-08 20:08:28 +08:00
hyb1996
fbc567355e Revert "Revert "feat: can set packageName of apk building""
This reverts commit 18bab90f68.
2017-12-08 17:33:49 +08:00
hyb1996
18bab90f68 Revert "feat: can set packageName of apk building"
This reverts commit df838f7e5d.
2017-12-08 17:32:38 +08:00
hyb1996
df838f7e5d feat: can set packageName of apk building 2017-12-08 17:29:06 +08:00
hyb1996
be023ceefe optimize: code generation 2017-12-07 22:32:13 +08:00
hyb1996
8db26f5b11 optimize: code generation 2017-12-07 22:13:58 +08:00
hyb1996
cd5def8700 fix: download failed while contentLength = -1 2017-12-06 23:04:32 +08:00
hyb1996
98e0e39e13 refactor: replace RxDownload with my own implementation 2017-12-06 22:35:53 +08:00
hyb1996
093c299fc1 add: docs searching backward support 2017-12-06 21:26:28 +08:00
hyb1996
cf4c4af31f add: docs search 2017-12-06 21:03:49 +08:00
hyb1996
f98c239ac3 refactor: remove all scripts about Tencent 2017-12-06 20:34:31 +08:00
hyb1996
a2f0e8d63b optimize module floaty and add two samples 2017-12-06 15:02:37 +08:00
hyb1996
c871b474f5 add: console.setPosition, console.setSize 2017-12-06 13:58:49 +08:00
hyb1996
346487b0ef change circular menu icon 2017-12-05 22:49:30 +08:00
hyb1996
02ec8f7fb5 add: circular menu alpha and limited in screen 2017-12-05 22:26:53 +08:00
hyb1996
e9346f0794 add: http.postMultipart 2017-12-05 17:59:42 +08:00
hyb1996
0473dfbf60 fix: app ANR when crash 2017-12-04 23:28:29 +08:00
hyb1996
1f31dd51d1 docs: storages, threads 2017-12-04 17:22:02 +08:00
hyb1996
6e617d83e8 add: module storages 2017-12-04 17:20:40 +08:00
hyb1996
8c52a892c4 fix: hard key(home, menu, back) not working when app crashes 2017-12-03 16:56:33 +08:00
hyb1996
56b5f5b6b8 add: script list remember sorting config 2017-12-03 16:35:05 +08:00
hyb1996
08571f409b merge commits 2017-12-03 14:17:18 +08:00
hyb1996
6fb6e14369 add: module threads; read and write binary file supports 2017-12-03 14:13:34 +08:00
hyb1996
d06171d549 add: module device 2017-12-02 21:06:01 +08:00
hyb1996
1413bf21a5 add: promise support; fix: dialogs and setClip ANR on ui thread; 2017-12-01 20:52:51 +08:00
hyb1996
45bbc33ab7 add: some samples of ui widgets 2017-11-30 14:14:54 +08:00
hyb1996
7bf9b3f0d9 update dynamic layout inflater to latest version; add some ui samples 2017-11-30 00:49:06 +08:00
hyb1996
92f296cc19 optimize: util.format 2017-11-29 20:04:50 +08:00
hyb1996
6dfd35683a add: apk builder plugin support; fix: inrt AutoJs.ensureServiceEnabled 2017-11-29 16:07:52 +08:00
hyb1996
ec8f6a3092 add: start and stop rtc repeating; fix: task list view refresh not working 2017-11-28 23:07:04 +08:00
hyb1996
0d8f96eff7 add: support for weekly task 2017-11-28 22:12:48 +08:00
hyb1996
97382965da add: supports for daily task and disposable task 2017-11-28 20:59:29 +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
00c972ce8c docs: http, images 2017-11-27 14:43:14 +08:00
hyb1996
d882877573 add: option 'docs source' 2017-11-27 14:40:37 +08:00
hyb1996
f99e844747 add: images.load(), landscape param of requestScreenCapture() 2017-11-27 14:29:21 +08:00
hyb1996
d775b5e77c fix: require for absolute path 2017-11-27 00:12:43 +08:00
hyb1996
328ab6efa7 add: images.findImage; change images.findColor implementation to opencv 2017-11-26 17:47:17 +08:00
hyb1996
35955faba9 update DynamicLayoutInflater to lastest version 2017-11-07 13:49:37 +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
99466e2c33 Merge branch 'dev' of https://github.com/hyb1996/NoRootScriptDroid into dev 2017-11-04 14:27:50 +08:00
hyb1996
72bb380776 fix: input method select all button not working 2017-11-04 14:21:10 +08:00
hyb1996
ef02572f1d wtf 2017-11-03 19:56:50 +08:00
hyb1996
36c6b38b17 remove unnessary files of editor; add 'delete line' and 'copy line' options to editor context menu 2017-11-02 23:29:54 +08:00
hyb1996
37445b7905 fix: JSON.stringify() throws StackOverflow for Java objects 2017-11-02 15:27:49 +08:00
hyb1996
9b9b37b940 add: module util
fix: console.log for format %j
2017-11-02 13:41:13 +08:00
hyb1996
e8110c76a2 move LOG from tab TASK to action menu 2017-11-02 00:39:31 +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
bb7adfa5f5 refactor: SublimePlugin 2017-10-30 14:50:00 +08:00
hyb1996
f3ee94b1cf fix: connection and log of SublimePluginClient
add: VSCode Extension support
2017-10-29 22:26:55 +08:00
hyb1996
b6b204a057 fix: crash on create directory 2017-10-28 19:08:12 +08:00
hyb1996
56c0ad3415 add: tab "Samples" 2017-10-28 19:01:15 +08:00
hyb1996
716a44fb6f fix: VolatileBox dead lock issue 2017-10-28 15:46:03 +08:00
hyb1996
02a9091ddb add: floating window switch saves state on exit 2017-10-28 15:07:22 +08:00
hyb1996
d830e13031 fix hyb1996-guest/AutoJsIssueReport#14544 2017-10-28 14:48:53 +08:00
hyb1996
2c990e1966 refactor: move some classes in package api to package core 2017-10-27 19:46:31 +08:00
hyb1996
19bbbe9fe1 fix: root_automator cannot be force stopped 2017-10-27 11:34:41 +08:00