Commit graph

128 commits

Author SHA1 Message Date
TrianguloY
aa6547fbbd Avoid infinite 'onTextChanged' events 2019-03-31 20:49:43 +02:00
TrianguloY
7a3ec59da4 Improved autoindentation with brackets 2019-03-29 00:40:32 +01:00
Pierrot
d10b0b6516 Remove the invalid use of a flag which is not defined for the target platform in this code branch. 2019-03-25 16:07:22 +01:00
Pierrot
e9cdffcacf Merge branch 'scriptAPI' of lightning-dev/lightning_launcher into 14.3-beta5 2019-03-25 15:51:14 +01:00
TrianguloY
66564f381b shortcut buttons are placed outside the editor 2019-03-23 18:13:27 +01:00
TrianguloY
fbf32b7c64 Remove deprecated class 'array' from autocompletion
Some other import changes (by android studio)
2019-03-23 18:12:25 +01:00
TrianguloY
61881cc835 Added shortcut buttons. Currently two types: text and keys. 2019-03-23 13:18:21 +01:00
Pierrot
7c8f723002 Light status and navigation bars 2019-03-22 09:30:27 +01:00
Pierrot
4a513c18c0 New beta branch 2019-03-22 09:28:50 +01:00
TrianguloY
4bd3f7635d Automatic indentation on newline.
When you enter a newline, spaces are inserted automatically based on the indent of the previous line and the last character.
This is not a final change, more of a proof of concept regarding the script editor. More to come! (hopefully)
2019-03-18 20:41:59 +01:00
TrianguloY
5894104e6d Show toast when disabling scripts.
(note: I don't fully understand the string naming convention, probably needs a different name)
2019-03-16 23:21:20 +01:00
TrianguloY
e7a5b19775 Imports changes (automatic by Android Studio) 2019-03-16 11:39:09 +01:00
TrianguloY
0fb38829da Added entry points for almost all classes (An instance of this object can be create/retrieved with...) 2019-03-16 11:38:13 +01:00
TrianguloY
909a54d8f9 Hide some methods that (I think) shouldn't be publicly available because they require objects that can't be created with the api. 2019-03-16 11:33:34 +01:00
TrianguloY
bd6b001a57 Added descriptions for some classes and methods. Fixed small typos in some of them. 2019-03-16 11:31:49 +01:00
TrianguloY
5242393ff7 imports cleanup 2019-03-15 12:25:41 +01:00
TrianguloY
e5eee7381d Adds a Lightning#toast function. Discussion needed. 2019-03-13 21:17:34 +01:00
TrianguloY
8668ca8b2a Removed 'LL' main autocompletion from the script editor.
Replaced with 'getEvent' due to their importance, but can be discussed to be replaced with one (or more!) different methods/classes.
2019-03-13 13:45:24 +01:00
TrianguloY
6f3fb13e83 Updated builtin scripts to use LL alternatives 2019-03-12 21:02:45 +01:00
TrianguloY
722336f012 Updated easter egg script to use LL alternatives. 2019-03-11 20:07:57 +01:00
TrianguloY
3475cee41f Removed 'LL.' mentions from API overview.
Fixed typos.
2019-03-11 20:07:57 +01:00
TrianguloY
c03fdef970 Removed 'LL.' mention from Event class.
Requires substitution getEvent_ -> getEvent
2019-03-11 20:07:56 +01:00
TrianguloY
9176dc189c Removed and reworded 'LL.' mention from Lightning class description 2019-03-11 20:07:56 +01:00
TrianguloY
1d69eb9003 Removed 'LL.' methods from api messages, replaced with alternatives 2019-03-11 20:07:56 +01:00
Pierrot
66b94f3353 Version 14.3-beta4, again 2019-03-10 18:50:32 +01:00
Pierrot
10e82a3838 Fix merge 2019-03-10 18:49:38 +01:00
Pierrot
0790e0505b Version 14.3-beta4 2019-03-10 18:38:44 +01:00
Pierrot
dbe42ff975 More automation in the documentation generation script 2019-03-08 09:57:39 +01:00
Pierrot
33c04f93e0 Merge remote-tracking branch 'origin/ScriptingAPI' into 14.3-beta4
# Conflicts:
#	app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Lightning.java
2019-03-08 09:31:53 +01:00
Pierrot
a60d265744 Load and import backup files from external sources 2019-03-08 09:25:56 +01:00
TrianguloY
210a6f9b1f Added alternatives to missing last get_Desktop() functions. 2019-03-06 21:23:02 +01:00
Pierrot
f892fd575f Fix undo/redo operations on folders 2019-03-06 10:13:02 +01:00
Pierrot
26fa970473 Workaround for hidden apply template dialog buttons in landscape mode 2019-03-06 09:36:07 +01:00
Pierrot
9b8f8cb73b Merge bug 2019-03-06 09:31:00 +01:00
Pierrot
bcc84d267c Merge branch 'master' of git.lightninglauncher.com:lightning-dev/lightning_launcher 2019-03-06 09:09:07 +01:00
Pierrot
96ea5f8304 Permission ACCESS_WIFI_STATE 2019-03-06 09:07:31 +01:00
Pierrot
8acdf1d746 Allow desktop bookmarks to use page coordinates, and make that the default for newly created bookmarks. 2019-03-04 09:44:38 +01:00
Pierrot
49f08d35e8 Handle pin item request in shortcut creation 2019-02-27 08:50:54 +01:00
Pierrot
eb71ae68bf Remove buildToolsVersion from build.gradle files since it receives a default and different value. 2019-02-22 10:59:06 +01:00
Pierrot
c175f6d140 Fix sharing of backup files 2019-02-22 10:55:02 +01:00
TrianguloY
2b9d2db8c3 alternative to isPaused
Although the alternative is different, isPaused is defined as whether the current context is paused (the activity, I guess) which should be the state of the homeScreen, not the other Screens. Still, this difference is explained.
2019-02-18 18:03:12 +01:00
TrianguloY
e90df80bd6 alternative to getFloatingDesktop 2019-02-18 17:49:29 +01:00
TrianguloY
efc9801c61 fixed wrong cast on LockScreen 2019-02-18 17:48:02 +01:00
TrianguloY
4433e90f52 fixed nullexception when creating a null screen 2019-02-18 17:46:11 +01:00
TrianguloY
9b234678f1 fixed wrong <br> codes 2019-02-17 00:09:54 +01:00
TrianguloY
f2515c6d28 fixed wrong Screen links 2019-02-16 23:44:36 +01:00
TrianguloY
9ea924b7fa line breaks for readability 2019-02-16 23:41:24 +01:00
TrianguloY
82cf1bbce7 deprecated all functions in LL, explained alternatives
first version, some functions have no alternatives (couldn't find them)
2019-02-16 22:42:15 +01:00
TrianguloY
92b90b7967 added line breaks for consistency 2019-02-16 22:26:16 +01:00
TrianguloY
f6bc1e22b4 minor changes of existing comments 2019-02-16 22:18:25 +01:00
f43nd1r
74301debc9 update remoter to allow parameter to be named data 2019-02-15 03:15:15 +01:00
f43nd1r
f4fb7023d2 rename permission and add label and description 2019-02-11 17:18:53 +01:00
f43nd1r
20a1649529 don't define constants in two locations 2019-02-11 17:13:11 +01:00
f43nd1r
f016b6c3a0 add deletescript and getscriptsmatching. also make all methods identify scripts by either id or name/path 2019-02-11 17:04:49 +01:00
f43nd1r
5d2ae92e81 rename plugin service to script service 2019-02-11 16:39:46 +01:00
f43nd1r
f520811567 merge exceptions 2019-02-11 16:38:27 +01:00
f43nd1r
6a2d8c587c fix executor issues by utilizing already present code 2019-02-09 02:16:46 +01:00
f43nd1r
a445a97608 fix parcel 2019-02-08 21:55:36 +01:00
f43nd1r
6191ae9f0f move plugin api to own module, improve api with remoter 2019-02-08 21:46:09 +01:00
f43nd1r
1cf35eb132 add plugin service 2019-02-05 19:51:48 +01:00
Pierrot
84f504ff98 V14.3-beta3 2019-01-30 09:12:26 +01:00
Pierrot
81eb82907c File provider path restriction 2019-01-30 09:07:26 +01:00
Pierrot
2850c09c05 V14.3-beta2 2019-01-30 08:19:22 +01:00
Pierrot
44cdc618c7 A fix for exposed files in URIs 2019-01-30 07:22:28 +01:00
Pierrot
2f9687d6bb New style of shortcut and widget creation 2019-01-30 06:15:49 +01:00
Pierrot
80dd88bf36 Update the community link. 2019-01-27 14:55:29 +01:00
Pierrot
0f9deba478 V14.3-beta 2019-01-14 08:38:46 +01:00
Pierrot
93fd8adb43 Allow a container to be dragged when scrolling a child container beyond its limits 2019-01-14 08:37:11 +01:00
Pierrot
ef88259729 Use the jcenter version of the lsvg library. 2019-01-12 12:34:35 +01:00
Pierrot
6c329b74da Version 322 / 14.2.1 2019-01-07 20:23:03 +01:00
Pierrot
32e34dd7fe Register the broadcast receiver for package change events at runtime, only for Android O. 2019-01-07 10:59:28 +01:00
Pierrot
5e1bebb518 Fix the overlay thanks to Abel. 2019-01-07 10:06:59 +01:00
Pierrot
f6e9004a78 Extend Android permission handling. Display some informative message regarding the READ_CALL_LOG and READ_SMS permissions that are removed in this version due to Google Play Store policy changes. 2019-01-06 14:35:36 +01:00
Pierrot
5eb1eff992 Use the same signing config for debug and release builds 2019-01-06 14:21:34 +01:00
Pierrot
76f728fa64 Fix gradle sync if there is no signing config defined 2019-01-05 15:17:21 +01:00
Pierrot
a1609096c5 Link to an external properties file to get the release signing config, and avoid local modifications of the build.gradle file. 2019-01-05 14:24:34 +01:00
Pierrot
5d060169ef Update .gitignore 2018-12-15 18:35:42 +01:00
Pierrot
8dc3e31329 Initial import of the main app 2018-12-15 17:57:52 +01:00