Commit Graph

437 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
188347be34 fix(dialogs): cannot use 'in' in non-object for following code alert("", "", ()=>{})
`
2018-04-21 14:50:05 +08:00
hyb1996
ae243719b1 fix(dialogs): dialog.select() shows checkbox 2018-04-21 14:23:42 +08:00
hyb1996
4833471879 api(dialogs): change dialog setter thread to ui thread 2018-04-18 18:10:59 +08:00
hyb1996
baaa820d09 api(dialogs): change dialog event callback thread to caller thread 2018-04-18 17:48:26 +08:00
hyb1996
97198ad668 fix(autojs): bridges.call() convert boolean to java.lang.Boolean 2018-04-18 16:36:40 +08:00
hyb1996
278cfd2272 api(dialogs): dialogs.build() 2018-04-17 22:27:40 +08:00
hyb1996
6ed82afa53 api(colors): color.RED, colors.DKGRAY, ..., colors.TRANSPARENT 2018-04-15 14:36:35 +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
8b82a294d7 fix(ui): Don't call setOn(Long)ClickListener for an AdapterView 2018-04-11 16:41:16 +08:00
hyb1996
b49ea34585 fix(http): timeout on http request 2018-04-11 16:25:15 +08:00
hyb1996
16692dadf3 fix(selector): UiObjectCollection.find() conflicts with Array.find() 2018-04-07 14:03:14 +08:00
hyb1996
af8823b10f feat(rhino): java object and class can custom prototype in javascript 2018-04-07 13:22:41 +08:00
hyb1996
aeae51bb74 fix: #268 2018-04-03 16:09:26 +08:00
hyb1996
0656a64468 api(engines): ScriptEngine.getSource() 2018-04-02 15:35:08 +08:00
hyb1996
b381f28470 api(app, globals): app.autojs, app.versionCode, app.versionName, requiresApi, requiresAutojsVersion 2018-04-02 14:30:03 +08:00
hyb1996
737f1a901f fix(images): src or template image may be recycled on findImage 2018-04-02 11:41:38 +08:00
hyb1996
e31297794d fix(ui): ui callbacks still alive after script exit 2018-04-01 14:18:23 +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
18a2543bb1 fix(images): another mat released causes the mat recycled??? 2018-03-31 22:05:36 +08:00
hyb1996
77c0d6bd19 cleanup(autojs): ScriptRuntime.requiresApi() 2018-03-31 21:29:30 +08:00
hyb1996
e3335f4b79 fix(floaty): bugs of floaty's view inflation 2018-03-31 20:55:33 +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
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
af5bf8ecf2 feat(ui): supports label grid 2018-03-30 17:37:31 +08:00
hyb1996
47faa1f69e fix(images): it seems that memory leak of images has been fixed
closes #323
2018-03-30 12:48:09 +08:00
hyb1996
61ba5dbed5 fix: try to fix memory leak of images 2018-03-29 21:34:24 +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
d098c77827 fix(ui): textStyle 2018-03-21 17:50:49 +08:00
hyb1996
e7103b3187 api(images): images.toBase64(), images.fromBase64(), images.save(), images.toBytes(), images.fromBytes() 2018-03-21 17:41:44 +08:00
hyb1996
e705d7f688 fix(ui): app crash when some ui events' handlers throw exception 2018-03-21 16:43:44 +08:00
hyb1996
90ab184310 fix(canvas): rendering thread not restart when a destroyed surface is recreated 2018-03-21 16:27:09 +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
976e78e07d fix: requestScreenCapture() dead lock if request activity destroyed 2018-03-15 20:22:13 +08:00
hyb1996
9679830c75 fix: generated selector code is wrong for exists and waitFor 2018-03-15 19:30:29 +08:00
hyb1996
714cbd5759 fix: engines.exec*** reports error 2018-03-15 16:48:24 +08:00
hyb1996
0d94c36d8c fix: thread.interrupt() not quit looper 2018-03-15 16:35:22 +08:00
hyb1996
40f7941064 fix: extras option for app.intent() handles data types incorrectly 2018-03-10 16:35:49 +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
528171b77d api(events): events.setKeyInterceptionEnabled() 2018-02-27 17:03:09 +08:00
hyb1996
a43ac939e9 refactor: rewrite init.js 2018-02-27 16:32:10 +08:00
hyb1996
235115edf3 api(app): app.startActivity() for string param 2018-02-27 16:16:32 +08:00
hyb1996
724fd115eb docs: sensors, media 2018-02-27 13:16:11 +08:00
hyb1996
37e4ebc91e api: add module media 2018-02-27 11:27:37 +08:00
hyb1996
011008df93 feat: util.format() supports java array 2018-02-24 20:42:01 +08:00
hyb1996
198a694064 fix: engines.execScriptFile() missing executePath config 2018-02-23 22:42:53 +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
ea5f80b437 feat: new editor: jsdroid editor 2018-02-21 21:32:08 +08:00
hyb1996
4b4c823db5 api: media module 2018-02-13 09:57:53 +08:00
hyb1996
79900f43da chore 2018-02-12 10:30:29 +08:00
hyb1996
28333c2a3e fix: project files not released when project updated 2018-02-06 15:18:28 +08:00
hyb1996
76fd77f1c7 api: module sensors
index: all.json
2018-02-06 12:41:23 +08:00
hyb1996
204acdaf82 fix some many bugs 2018-02-04 16:18:05 +08:00
hyb1996
5fed594bf1 feat: accessibility white list 2018-02-03 22:54:06 +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
f83b2fb923 feat: findMultiColors 2018-02-01 20:36:44 +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
1205fc08e3 fix #291 2018-02-01 12:42:20 +08:00
hyb1996
032e294da7 res: add some translation 2018-02-01 12:30:27 +08:00
hyb1996
fccfe85287 feat(selector): supports javascript regex 2018-01-30 11:41:15 +08:00
hyb1996
ec7a0412af fix: built apk showing unpacked script's path on console 2018-01-30 11:00:45 +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
a683e84140 fix: images.save() 2018-01-27 09:47:21 +08:00
hyb1996
771511e939 fix: images.detectsColor() and images.pixel() cause "x > image.width" exception when image is landscape 2018-01-27 09:43:22 +08:00
hyb1996
1e8183f756 fix: files.join(); RootShell.isRootAvailable() crash 2018-01-27 09:18:42 +08:00
hyb1996
8713027efe feat: hiding logs support when launch a project on built app 2018-01-25 14:12:54 +08:00
hyb1996
43de5913f5 fix: inflate layout with activity instead of application context 2018-01-25 13:35:13 +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
25a9a6b870 feat: #275 images.clip() 2018-01-24 18:04:25 +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
c8450dfc3a feat: relative path support for module "files" and require() 2018-01-24 11:14:58 +08:00
hyb1996
78f6fbbd3c fix #282 2018-01-24 10:27:24 +08:00
hyb1996
af2c3940ed feat: #266 2018-01-23 14:37:12 +08:00
hyb1996
bb6d44e696 fix: PrefSwitch is reset to false when app exit 2018-01-23 14:23:09 +08:00
hyb1996
130827cab5 fix: files.cwd() 2018-01-07 13:41:46 +08:00
hyb1996
13aa6ed341 fix: dialogs.rawInput() keeps blocking when canceled 2018-01-04 22:26:51 +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
7145faa533 fix: captureScreen() return null 2018-01-01 14:12:47 +08:00
hyb1996
3e592370dc try to fix hyb1996-guest/auto.js3-issues#20 2017-12-31 22:21:23 +08:00
hyb1996
55ea745d57 fix: colors.red() return NaN 2017-12-31 18:52:03 +08:00
hyb1996
5ed6e2bea8 add: logout button on drawer menu 2017-12-31 17:56:35 +08:00
hyb1996
6d9fda6862 api: floaty 2017-12-30 15:23:48 +08:00
hyb1996
f39516a4b4 fix: crash when a exception is thrown by script on ui thread 2017-12-30 00:22:01 +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
174e1d933c fix: Thread.interrupt() not working 2017-12-29 15:48:43 +08:00
hyb1996
e296c0ebd8 api: device.isScreenOn(), device.wakeUpIfNeeded() 2017-12-29 14:50:38 +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
c12814769f fix: timer for ui thread is null in non-ui script 2017-12-29 00:35:22 +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
4f8c2d1f35 fix: fastTemplateMatching always return null when template.width/height < 14 2017-12-10 00:55:21 +08:00
hyb1996
0e6616c1dc opt: layout inspector view 2017-12-09 12:36:43 +08:00
hyb1996
6128aa28a6 chore: add ensureAccessibilityServiceEnabled() to currentPackage(), currentActivity(), events.observeKey() 2017-12-09 10:45:14 +08:00
hyb1996
b6f251da0b opt: independent runtime 2017-12-08 22:45:31 +08:00
hyb1996
1ea8b34f01 fix: app.getPackageName typo 2017-12-08 17:31:20 +08:00
hyb1996
e6811c2f5a fix: dialogs.select() arguments' parsing 2017-12-07 22:46:16 +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
6ea30c6fcc api: selector.findOne(timeout), selector.findOnce(index) 2017-12-07 00:09:17 +08:00
hyb1996
338192ad17 fix: captureScreen() return null 2017-12-06 20:30:06 +08:00
hyb1996
9a09d6f57a add: some properties of device 2017-12-06 20:04:42 +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
e33ce733d5 add: module floaty; events.on('exit') 2017-12-06 13:18:36 +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
6e617d83e8 add: module storages 2017-12-04 17:20:40 +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
028c5c91f4 fix: http wrapResponse crash 2017-11-28 23:11:35 +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
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
d3c60049b7 fix: app crash when ui script throws exception 2017-11-07 12:56:19 +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
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
43263a62ff * change rhino to 1.7.7.2
* fix: wrap java.lang.String to native string
2017-11-02 13:18:29 +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
bfd6a0c40a fix: images.captureScreen() return null or throw exception when called too often 2017-10-30 19:05:57 +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
2c7ede3e1c fix: crash of ui script 2017-10-28 19:20:15 +08:00
hyb1996
3923daeaf8 fix: GlobalStardustConsole memory leak 2017-10-28 16:05:29 +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
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
hyb1996
f55593a7a2 fix: user register; update dependencies 2017-10-26 17:01:29 +08:00
hyb1996
1e5c05efb9 fix: user login; refactor: move package widget to package ui 2017-10-26 13:16:34 +08:00
hyb1996
60f9e8e74f fix: permission issues of inrt 2017-10-25 22:06:09 +08:00
hyb1996
cf82cd2802 add: search for scripts and posts 2017-10-25 13:23:46 +08:00
hyb1996
9077e4928d add: build apk from js file 2017-10-24 15:49:45 +08:00
hyb1996
e301e5952c refactor: move package console to package core 2017-10-22 18:40:54 +08:00
hyb1996
38740657b8 fix: console lagged with too many logs 2017-10-22 18:33:12 +08:00
hyb1996
4b43434b25 apply plugin retrolambda 2017-10-19 15:34:51 +08:00
hyb1996
51cda012d2 refactor: remove unused resources, cleanup the code structure 2017-10-19 13:33:21 +08:00
hyb1996
a478278135 replace hover with custom circular menu 2017-10-18 20:53:21 +08:00
hyb1996
e6c0500358 add: module http 2017-10-04 14:43:41 +08:00
hyb1996
e1f95c09f3 add: jump, find, replace, copy, paste for editor 2017-09-28 21:09:16 +08:00
hyb1996
7616634e40 fix: crash on notification events 2017-09-25 16:30:09 +08:00
hyb1996
8c9777c138 fix #232 2017-09-24 22:26:01 +08:00
hyb1996
601019cab2 i don't know what i did 2017-09-22 16:12:07 +08:00
hyb1996
a64a92276c i don't know what I did 2017-09-11 13:42:07 +08:00
hyb1996
602b84fc92 add: fab and toolbar hide when scrolling 2017-08-21 10:48:11 +08:00
hyb1996
68de90b718 initial status 2017-08-19 12:18:46 +08:00
hyb1996
8dd93e55cf update readme 2017-08-16 11:10:21 +08:00
hyb1996
7b1a5fc675 fix: setInterval & setTimeout not working when waitWhenIdle is false 2017-08-15 21:12:58 +08:00
hyb1996
a72147fcf2 docs: RootAutomator 2017-08-15 20:17:27 +08:00
hyb1996
febb709279 fix: #225 2017-08-15 10:25:08 +08:00
hyb1996
4c0d01c961 fix: forceStop not working when recorded file is executed in loop 2017-08-15 10:13:25 +08:00
hyb1996
405075757e add: stable mode for AccessibilityService 2017-08-14 21:23:07 +08:00