Commit Graph

556 Commits

Author SHA1 Message Date
hyb1996
4fe8e4add4 fix(ui): cannot redo and undo 2018-09-13 16:30:18 +08:00
hyb1996
ccf85fe2f5 opt(ui): js beautifier supports formatting xml 2018-09-13 11:07:19 +08:00
hyb1996
23f817f4e3 Revert "opt(ui): use new js beautifier"
This reverts commit a69152f719.
2018-09-13 09:10:37 +08:00
hyb1996
a69152f719 opt(ui): use new js beautifier 2018-09-13 09:09:28 +08:00
hyb1996
e45c72853c opt(ad): minus ad loading timeout 2018-09-12 17:56:48 +08:00
hyb1996
777b3e1163 fix(ui): issue report not working 2018-09-12 17:42:18 +08:00
hyb1996
a2ed727477 feat: use bugly to report crash 2018-09-12 16:43:11 +08:00
hyb1996
a902081c1c fix(autojs): loadDex and loadJar bugs 2018-09-12 10:00:39 +08:00
hyb1996
89897e3294 fix(dev): fix bugs of json socket 2018-09-11 17:23:26 +08:00
hyb1996
8c8d4bd89c fix(dev): fix bugs of json socket 2018-09-11 16:06:18 +08:00
hyb1996
8401ce40c6 feat(debug): use json socket to connect to remote debug client 2018-09-11 13:01:37 +08:00
hyb1996
834280428d refactor(debug): 从DebugToolFragment中分离debug逻辑 2018-09-11 08:11:59 +08:00
hyb1996
0b84d755dc fix(ui): jump to line crash when line input is empty 2018-09-10 07:56:26 +08:00
hyb1996
769529585d fix(autojs): EventEmitter.once(), view._id() ; feat(autojs): auto.getService(), auto.getWindows(), auto.setWindowFilter(), util.java.toJsArray() 2018-09-09 21:37:53 +08:00
hyb1996
e09966505c opt(timing): request for ignore battery optimization; optimize TimedTaskScheduler to schedule task 2018-09-09 15:10:31 +08:00
hyb1996
f62958655a opt(autojs): optimize TimedTaskScheduler to schedule task 2018-09-09 13:47:23 +08:00
hyb1996
94a17c3118 feat(ui): supports adding or removing breakpoint on debug 2018-09-08 20:22:26 +08:00
hyb1996
031fc56131 feat(ui): supports touching gutter to set breakpoint 2018-09-08 18:05:09 +08:00
hyb1996
a2c46d0787 feat(debug): supports debugging across files; supports watching variables; supports evaluate code on debug; 2018-09-08 17:30:01 +08:00
hyb1996
c56157d8da feat(ui): fix debug mode exception on orientation change 2018-09-08 01:53:51 +08:00
hyb1996
32805aad34 feat(ui): supports debugging 2018-09-07 22:26:03 +08:00
hyb1996
e5e1b567e7 refactor(ui): toolbar menu design; 2018-09-07 12:36:13 +08:00
hyb1996
220473c109 fix: Permission for drawing overlays on MIUI 10 2018-07-29 17:55:02 +08:00
hyb1996
de77cd7509 Merge branch 'dev' of https://github.com/hyb1996/NoRootScriptDroid into dev
# Conflicts:
#	.idea/caches/build_file_checksums.ser
2018-07-18 23:48:44 +08:00
hyb1996
093a19c491 feat(ui): spinner: textSize, textColor, textStyle, entryTextSize, entryTextColor, entryTextStyle 2018-07-17 23:01:19 +08:00
hyb1996
6e481a3841 修复每次打包都会增加project.json的assets条目 2018-07-13 14:29:41 +08:00
hyb1996
5251028b0b 修复无法直接下载最新版本的问题 2018-07-11 17:59:04 +08:00
hyb1996
f78f569461 移除了主动请求READ_PHONE_STATE权限 2018-07-11 17:30:06 +08:00
hyb1996
d5c38ae537 fix:
java.lang.IllegalStateException: Calling View methods on another thread than the UI thread.
	at com.android.webview.chromium.WebViewChromium.createThreadException(WebViewChromium.java:248)
	at com.android.webview.chromium.WebViewChromium.checkThread(WebViewChromium.java:263)
	at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:163)
	at android.webkit.WebView.<init>(WebView.java:548)
	at android.webkit.WebView.<init>(WebView.java:483)
	at android.webkit.WebView.<init>(WebView.java:466)
	at android.webkit.WebView.<init>(WebView.java:453)
	at org.autojs.autojs.ui.widget.CommonMarkdownView.<init>(CommonMarkdownView.java:49)
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
	at android.view.LayoutInflater.createView(LayoutInflater.java:611)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:508)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:418)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
	at android.view.View.inflate(View.java:18461)
	at org.autojs.autojs.ui.update.UpdateInfoDialogBuilder.updateInfo(UpdateInfoDialogBuilder.java:45)
	at org.autojs.autojs.ui.update.UpdateInfoDialogBuilder.<init>(UpdateInfoDialogBuilder.java:40)
	at org.autojs.autojs.ui.update.VersionGuard.showUpdateInfoIfNeeded(VersionGuard.java:58)
	at org.autojs.autojs.ui.update.VersionGuard.access$200(VersionGuard.java:21)
	at org.autojs.autojs.ui.update.VersionGuard$1.onNext(VersionGuard.java:49)
	at org.autojs.autojs.ui.update.VersionGuard$1.onNext(VersionGuard.java:42)
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:51)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:37)
	at com.jakewharton.retrofit2.adapter.rxjava2.CallObservable.subscribeActual(CallObservable.java:43)
	at io.reactivex.Observable.subscribe(Observable.java:10901)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:34)
	at io.reactivex.Observable.subscribe(Observable.java:10901)
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2018-07-11 16:57:41 +08:00
hyb1996
b9c7250cf8 Not show ad on first day 2018-07-09 16:28:50 +08:00
hyb1996
e247943035 修复在Android O上创建快捷方式失败的问题;替换默认快捷方式图标 2018-07-07 22:47:20 +08:00
hyb1996
dc468c7de4 fix bugs 2018-07-01 20:20:06 +08:00
hyb1996
997b652df9 fix(app): change documentation source and refresh cannot apply changes immediately
docs: update to latest
2018-06-03 21:07:11 +08:00
hyb1996
023b8a79d9 feat(app): supports changing default script dir path 2018-06-03 18:05:17 +08:00
hyb1996
7036fa994e fix(autojs): ui.emitter.emit() may make app crash if callback throws exception
add(sample): 界面模板一.js
2018-06-03 11:57:49 +08:00
hyb1996
28a551324a fix(app): orientation changing causes floating window keep to side 2018-06-03 09:54:14 +08:00
hyb1996
debcb1d7b8 api(autojs): supports ui label toolbar, appbar, tabs, viewpager, drawer 2018-05-31 01:38:36 +08:00
hyb1996
22185346e8 save works 2018-05-29 20:26:21 +08:00
hyb1996
0ffb8d1ec5 docs: update to latest 2018-05-28 21:57:40 +08:00
hyb1996
8379764193 fix(app): #328 2018-05-28 21:23:35 +08:00
hyb1996
5e36c12236 remove splash banner ad 2018-05-28 21:09:19 +08:00
hyb1996
2d6fed4c99 api(runtime): runtime.requestPermissions() 2018-05-28 20:51:05 +08:00
hyb1996
faa5ef4c48 add(sample): 护眼模式
fix(floaty): xml.toString() return empty when xml has just one node
2018-05-28 20:02:40 +08:00
hyb1996
9911c9146d fix(sample): 通知监听 2018-05-26 10:59:34 +08:00
hyb1996
d5630876d9 add missing files 2018-05-25 20:09:51 +08:00
hyb1996
9b90f574b8 fix(app): open drawer menu crash when user is offline 2018-05-25 13:30:09 +08:00
hyb1996
7839bc6813 refactor: rename package name to 'org.autojs.autojs' 2018-05-25 13:20:00 +08:00
hyb1996
b81db30f3f add: google admob ads for testing 2018-05-24 21:22:21 +08:00
hyb1996
64c7152736 fix(app): splash forever 2018-05-22 20:59:16 +08:00
hyb1996
5237ac7ea4 remove GDT SDK 2018-05-22 20:30:38 +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
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