Skip to content

Commit 6025037

Browse files
committed
wip 1.4.165
1 parent 712924e commit 6025037

327 files changed

Lines changed: 22921 additions & 38637 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
node_modules
2-
platforms
3-
.vscode
4-
build.json
5-
www/js/build
6-
www/css/build
7-
package-lock.json
1+
node_modules
2+
platforms
3+
build.json
4+
www/js/build
5+
www/css/build
6+
package-lock.json
7+
keystore.jks

.idea/workspace.xml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.vscode/plugins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"plugins":["cordova-clipboard","cordova-plugin-statusbar","cordova-plugin-vibration","cordova-plugin-navigationbar-color","cordova-plugin-file","cordova-plugin-buildinfo","cordova-plugin-device","cordova-plugin-whitelist","cordova-plugin-ftp","cordova-plugin-sftp","cordova-plugin-sdcard","cordova-plugin-intent","cordova-plugin-webserver","cordova-plugin-system"]}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
// Type definitions for Apache Cordova
2+
// Project: http://cordova.apache.org
3+
// Definitions by: Microsoft Open Technologies Inc. <http://msopentech.com>
4+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
5+
//
6+
// Copyright (c) Microsoft Open Technologies, Inc.
7+
// Licensed under the MIT license.
8+
9+
interface Cordova {
10+
/** Invokes native functionality by specifying corresponding service name, action and optional parameters.
11+
* @param success A success callback function.
12+
* @param fail An error callback function.
13+
* @param service The service name to call on the native side (corresponds to a native class).
14+
* @param action The action name to call on the native side (generally corresponds to the native class method).
15+
* @param args An array of arguments to pass into the native environment.
16+
*/
17+
exec(success: () => any, fail: () => any, service: string, action: string, args?: string[]): void;
18+
/** Gets the operating system name. */
19+
platformId: string;
20+
/** Gets Cordova framework version */
21+
version: string;
22+
/** Defines custom logic as a Cordova module. Other modules can later access it using module name provided. */
23+
define(moduleName: string, factory: (require: any, exports: any, module: any) => any): void;
24+
/** Access a Cordova module by name. */
25+
require(moduleName: string): any;
26+
/** Namespace for Cordova plugin functionality */
27+
plugins:CordovaPlugins;
28+
}
29+
30+
interface CordovaPlugins {}
31+
32+
interface Document {
33+
addEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
34+
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
35+
addEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
36+
addEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
37+
addEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
38+
addEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
39+
addEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
40+
addEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
41+
addEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
42+
addEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
43+
44+
removeEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
45+
removeEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
46+
removeEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
47+
removeEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
48+
removeEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
49+
removeEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
50+
removeEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
51+
removeEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
52+
removeEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
53+
removeEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
54+
55+
addEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
56+
removeEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
57+
}
58+
59+
interface Window {
60+
cordova:Cordova;
61+
}
62+
63+
// cordova/argscheck module
64+
interface ArgsCheck {
65+
checkArgs(argsSpec: string, functionName: string, args: any[], callee?: any): void;
66+
getValue(value?: any, defaultValue?: any): any;
67+
enableChecks: boolean;
68+
}
69+
70+
// cordova/urlutil module
71+
interface UrlUtil {
72+
makeAbsolute(url: string): string
73+
}
74+
75+
/** Apache Cordova instance */
76+
declare var cordova: Cordova;
77+
78+
declare module 'cordova' {
79+
export = cordova;
80+
}

jsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"include": [
3-
"src/**/*"
2+
"exclude": [
3+
"**/node_modules",
4+
"**/platforms",
5+
"**/plugings",
6+
"**/www"
47
]
58
}

package.json

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lang": "node ./utils/lang.js",
99
"build": "sh utils/scripts/build.sh",
1010
"start": "sh utils/scripts/start.sh",
11+
"start:debug": "sh utils/scripts/start.sh",
1112
"clean": "sh utils/scripts/clean.sh",
1213
"plugin": "sh utils/scripts/plugin.sh",
1314
"test": "jest"
@@ -20,20 +21,17 @@
2021
"cordova": {
2122
"plugins": {
2223
"cordova-clipboard": {},
23-
"cordova-plugin-statusbar": {},
2424
"cordova-plugin-vibration": {},
25-
"cordova-plugin-navigationbar-color": {},
2625
"cordova-plugin-file": {},
2726
"cordova-plugin-buildinfo": {},
2827
"cordova-plugin-device": {},
29-
"cordova-plugin-webserver": {},
3028
"cordova-plugin-whitelist": {},
3129
"cordova-plugin-ftp": {},
32-
"cordova-plugin-sftp": {},
33-
"cordova-plugin-system": {},
34-
"cordova-plugin-inappbrowser": {},
3530
"cordova-plugin-sdcard": {},
36-
"cordova-plugin-intent": {}
31+
"cordova-plugin-intent": {},
32+
"cordova-plugin-sftp": {},
33+
"cordova-plugin-webserver": {},
34+
"cordova-plugin-system": {}
3735
},
3836
"platforms": [
3937
"android"
@@ -63,16 +61,13 @@
6361
"cordova-plugin-buildinfo": "^4.0.0",
6462
"cordova-plugin-device": "^2.0.3",
6563
"cordova-plugin-file": "^6.0.2",
66-
"cordova-plugin-ftp": "file:src/plugins/cordova-plugin-ftp",
67-
"cordova-plugin-inappbrowser": "file:src/plugins/cordova-plugin-inappbrowser",
68-
"cordova-plugin-intent": "file:src/plugins/cordova-plugin-intent",
69-
"cordova-plugin-navigationbar-color": "^0.1.0",
64+
"cordova-plugin-ftp": "file:src/plugins/ftp",
65+
"cordova-plugin-intent": "file:src/plugins/intent",
7066
"cordova-plugin-sdcard": "^1.0.9",
71-
"cordova-plugin-sftp": "file:src/plugins/cordova-plugin-sftp",
72-
"cordova-plugin-statusbar": "^2.4.3",
73-
"cordova-plugin-system": "file:src/plugins/cordova-plugin-system",
67+
"cordova-plugin-sftp": "file:src/plugins/sftp",
68+
"cordova-plugin-system": "file:src/plugins/system",
7469
"cordova-plugin-vibration": "^3.1.1",
75-
"cordova-plugin-webserver": "file:src/plugins/cordova-plugin-webserver",
70+
"cordova-plugin-webserver": "file:src/plugins/webserver",
7671
"cordova-plugin-whitelist": "^1.3.5",
7772
"css-loader": "^6.2.0",
7873
"mini-css-extract-plugin": "^2.1.0",
@@ -93,6 +88,7 @@
9388
"core-js": "^3.13.0",
9489
"crypto": "^1.0.1",
9590
"crypto-js": "^4.0.0",
91+
"esprima": "^4.0.1",
9692
"filesize": "^8.0.6",
9793
"html-tag-js": "^1.0.2",
9894
"irid": "^2.0.2",
@@ -107,4 +103,4 @@
107103
"resolutions": {
108104
"dummy": "^0.1.5"
109105
}
110-
}
106+
}

plugins/android.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,28 @@
1919
"cordova-plugin-file": {
2020
"PACKAGE_NAME": "com.foxdebug.acode"
2121
},
22-
"cordova-plugin-ftp": {
22+
"cordova-plugin-sdcard": {
2323
"PACKAGE_NAME": "com.foxdebug.acode"
2424
},
25-
"cordova-plugin-inappbrowser": {
25+
"cordova-plugin-vibration": {
2626
"PACKAGE_NAME": "com.foxdebug.acode"
2727
},
28-
"cordova-plugin-intent": {
28+
"cordova-plugin-whitelist": {
2929
"PACKAGE_NAME": "com.foxdebug.acode"
3030
},
31-
"cordova-plugin-navigationbar-color": {
31+
"cordova-plugin-ftp": {
3232
"PACKAGE_NAME": "com.foxdebug.acode"
3333
},
34-
"cordova-plugin-sdcard": {
34+
"cordova-plugin-intent": {
3535
"PACKAGE_NAME": "com.foxdebug.acode"
3636
},
3737
"cordova-plugin-sftp": {
3838
"PACKAGE_NAME": "com.foxdebug.acode"
3939
},
40-
"cordova-plugin-statusbar": {
41-
"PACKAGE_NAME": "com.foxdebug.acode"
42-
},
43-
"cordova-plugin-system": {
44-
"PACKAGE_NAME": "com.foxdebug.acode"
45-
},
46-
"cordova-plugin-vibration": {
47-
"PACKAGE_NAME": "com.foxdebug.acode"
48-
},
4940
"cordova-plugin-webserver": {
5041
"PACKAGE_NAME": "com.foxdebug.acode"
5142
},
52-
"cordova-plugin-whitelist": {
43+
"cordova-plugin-system": {
5344
"PACKAGE_NAME": "com.foxdebug.acode"
5445
}
5546
},
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
- GoldRaccoon is under [original author's license](https://github.com/albertodebortoli/GoldRaccoon/blob/master/LICENSE.markdown)
2-
- ftp4j is under [LGPL](http://opensource.org/licenses/LGPL-2.1)
3-
- All other codes (writen by me) are under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
1+
- GoldRaccoon is under [original author's license](https://github.com/albertodebortoli/GoldRaccoon/blob/master/LICENSE.markdown)
2+
- ftp4j is under [LGPL](http://opensource.org/licenses/LGPL-2.1)
3+
- All other codes (writen by me) are under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)

0 commit comments

Comments
 (0)