Commit Graph

556 Commits

Author SHA1 Message Date
hyb1996
67775055c1 feat: img attrs; disable CodeEditText autofill 2018-10-13 11:19:08 +08:00
hyb1996
506a68d816 feat: img attrs; disable CodeEditText autofill 2018-10-13 11:02:52 +08:00
hyb1996
4dc37bc4ff fix: floaty not working 2018-10-12 23:30:50 +08:00
hyb1996
aa7318bfbd feat(ui): default dimension dp 2018-10-12 20:54:48 +08:00
hyb1996
8a7966ba3c feat(ui): reset sample 2018-10-12 20:43:57 +08:00
hyb1996
f0d9ef1367 feat(autojs): list.on("item_bind") 2018-10-12 17:02:47 +08:00
hyb1996
03f1379fd5 fix: floating window cannot show 2018-10-12 14:21:59 +08:00
hyb1996
947236a4c5 fix: java.lang.IndexOutOfBoundsException
Inconsistency detected. Invalid view holder adapter positionViewHolder{b7a986a position=1 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached no parent} com.stardust.autojs.core.ui.widget.JsGridView{99f615b VFED..CL. ......ID 0,120-1080,1554 #133a2c2}, adapter:com.stardust.autojs.core.ui.widget.JsListView$Adapter@fe85df8, layout:android.support.v7.widget.GridLayoutManager@861c2d1, context:com.stardust.autojs.execution.ScriptExecuteActivity@6cd9514
2018-10-12 10:38:53 +08:00
hyb1996
253b88b152 Merge branch 'dev' of https://github.com/hyb1996/NoRootScriptDroid into dev
# Conflicts:
#	autojs/src/main/java/com/stardust/autojs/rhino/NativeJavaObjectWithPrototype.java
2018-10-11 16:14:26 +08:00
hyb1996
e56682162e fix some bugs 2018-10-11 12:00:50 +08:00
hyb1996
0c9d440832 Merge branch 'dev' of https://github.com/hyb1996/NoRootScriptDroid into dev 2018-10-11 10:11:38 +08:00
hyb1996
e39dad9da3 Merge branch 'dev' of https://github.com/hyb1996/NoRootScriptDroid into dev
# Conflicts:
#	.idea/caches/build_file_checksums.ser
2018-10-11 10:10:40 +08:00
hyb1996
f757083657 feat(ui): project icon setting 2018-10-10 16:47:20 +08:00
hyb1996
54146aa581 feat(ui): project icon setting 2018-10-10 15:26:48 +08:00
hyb1996
cce09209a3 fix: exposed uri error 2018-10-10 14:49:59 +08:00
hyb1996
6cebca179c feat: runtime.loadJar() cache dex 2018-10-10 00:31:55 +08:00
hyb1996
94395544b7 fix: linear.showDividers, text.ellipsize 2018-10-09 23:49:45 +08:00
hyb1996
51fedba26b fix(target O): static broadcast receiver not working 2018-10-06 14:08:00 +08:00
hyb1996
4cae6496b0 fix(ui): regex cannot show in editor 2018-10-06 11:42:13 +08:00
hyb1996
54cbb78d8e fix(target O): floating window cannot be shown 2018-10-06 11:16:27 +08:00
hyb1996
0ff7b1c208 fix: 5028 java.util.regex.PatternSyntaxException
java.util.regex.Pattern.compileImpl(Native Method)
2 java.util.regex.Pattern.compile(Pattern.java:1340)
3 java.util.regex.Pattern.<init>(Pattern.java:1324)
4 java.util.regex.Pattern.compile(Pattern.java:946)
5 java.lang.String.replaceAll(String.java:2216)
6 org.autojs.autojs.ui.edit.editor.CodeEditor.replaceAll(CodeEditor.java:246)
7 org.autojs.autojs.ui.edit.EditorView.replaceAll(EditorView.java:556)
8 org.autojs.autojs.ui.edit.FindOrReplaceDialogBuilder.findOrReplace(FindOrReplaceDialogBuilder.java:110)
9 org.autojs.autojs.ui.edit.FindOrReplaceDialogBuilder.access$100(FindOrReplaceDialogBuilder.java:25)
10 org.autojs.autojs.ui.edit.FindOrReplaceDialogBuilder$1.onClick(FindOrReplaceDialogBuilder.java:57)
2018-10-06 10:32:55 +08:00
hyb1996
4851790ad9 update libraries and dependencies's version 2018-10-06 10:12:29 +08:00
hyb1996
2259020403 fix: dev plugin save creating dir 2018-09-29 11:13:15 +08:00
hyb1996
9d1fdf3fe9 feat: intent task 2018-09-28 14:20:21 +08:00
hyb1996
02b1587f6b feat: intent task 2018-09-28 13:46:01 +08:00
hyb1996
025e594a01 feat: intent task 2018-09-28 00:56:34 +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
301a4286e5 fix: img.h not working; 2018-09-26 23:43:13 +08:00
hyb1996
bb130f56ea fix: sensors's callback persisted in loopers' ThreadLocal, causes ScriptExecuteActivity memory leak 2018-09-19 20:28:53 +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
723c7a7ff0 fix(ui): some bugs on back pressed 2018-09-19 16:41:01 +08:00
hyb1996
62aafaf06b fix: app memory leak; feat: app foreground service 2018-09-19 14:40:05 +08:00
hyb1996
44fe0079c3 fix: https://docs.qq.com/doc/Bx01Pn3VcgTn1sMR4T3EkjgU0LuPI60KdqgC2ETyTC4KNvuh39MYhP0gVL1S3wtZlQ2SUh123 : "悬浮窗选择器問題,如果點擊佈局图层分析,然後找到最下面一個長按,會出現無法顯示查看控件信息問題" 2018-09-18 21:12:27 +08:00
hyb1996
a01fdbc131 fix: forget to set package name to apk builder 2018-09-18 20:20:35 +08:00
hyb1996
8259a12e12 fix: invalid project cause ProjectConfigActivity and ExplorerToolbar crash 2018-09-18 20:01:24 +08:00
hyb1996
c8d2a6e7a2 feat: new project, project manager 2018-09-18 17:30:57 +08:00
hyb1996
36e9c9481a save works 2018-09-17 15:58:10 +08:00
hyb1996
04bffdc425 save works 2018-09-17 15:32:11 +08:00
hyb1996
5bfc6b6a4b commit ad lib file 2018-09-17 09:28:43 +08:00
hyb1996
37796048f4 refactor(ui): refactor ScriptListView 2018-09-17 09:24:22 +08:00
hyb1996
c5c9aaa8e1 fix(automator): RootAutomator (x, y) not correct on some devices 2018-09-16 01:49:33 +08:00
hyb1996
91d5eab872 fix(ui): CodeEditText rendering 2018-09-15 22:00:42 +08:00
hyb1996
a3ae309742 fix: app crash when a timer callback throws exception on main thread; feat: umeng ads 2018-09-15 14:04:01 +08:00
hyb1996
02c64cd7b1 feat: java class searching and import; fix: editor crash on edit when file is too large 2018-09-15 11:52:44 +08:00
hyb1996
fc0f5c479e feat: use web socket to connect with debug server 2018-09-14 14:41:03 +08:00
hyb1996
92e06867d7 fix: json socket receive data length 2018-09-14 09:18:28 +08:00
hyb1996
2c46e7d5bb fix: json socket send data length 2018-09-14 09:14:40 +08:00
hyb1996
9a5f6f014c feat(app): add intent task 2018-09-13 22:27:03 +08:00
hyb1996
c3f5c109be feat(ui): confirm when delete script or dir 2018-09-13 20:07:29 +08:00
hyb1996
0281563077 fix(ui): app crash when editor cannot open file 2018-09-13 16:52:38 +08:00
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