Renames asciiblaster{,*} to MiRCART.
4
.gitattributes
vendored
@ -1,2 +1,2 @@
|
|||||||
asciiblaster-cordoba/* linguist-vendored
|
MiRCART-cordoba/* linguist-vendored
|
||||||
asciiblaster-nw/* linguist-vendored
|
MiRCART-nw/* linguist-vendored
|
||||||
|
14
.gitignore
vendored
@ -1,8 +1,8 @@
|
|||||||
*.sw[op]
|
*.sw[op]
|
||||||
asciiblaster-cordoba/node_modules
|
MiRCART-cordoba/node_modules
|
||||||
asciiblaster-cordoba/platforms/android/.gradle
|
MiRCART-cordoba/platforms/android/.gradle
|
||||||
asciiblaster-cordoba/platforms/android/app/build
|
MiRCART-cordoba/platforms/android/app/build
|
||||||
asciiblaster-cordoba/platforms/android/CordovaLib/build
|
MiRCART-cordoba/platforms/android/CordovaLib/build
|
||||||
asciiblaster-cordoba/releases/*
|
MiRCART-cordoba/releases/*
|
||||||
asciiblaster-nw/releases/*
|
MiRCART-nw/releases/*
|
||||||
asciiblaster-www/releases/*
|
MiRCART-www/releases/*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.lalbornoz.asciiblaster" version="1.0.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.lalbornoz.MiRCART" version="1.0.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<author email="lucio@lucioillanes.de" href="https://github.com/lalbornoz/asciiblaster#readme">
|
<author email="lucio@lucioillanes.de" href="https://github.com/lalbornoz/MiRCART#readme">
|
||||||
Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA
|
Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA
|
||||||
</author>
|
</author>
|
||||||
<description>
|
<description>
|
||||||
asciiblaster (standalone Apache Córdoba app)
|
MiRCART (standalone Apache Córdoba app)
|
||||||
</description>
|
</description>
|
||||||
<name>asciiblaster-cordoba</name>
|
<name>MiRCART-cordoba</name>
|
||||||
<access origin="*" />
|
<access origin="*" />
|
||||||
<content src="index.html" />
|
<content src="index.html" />
|
||||||
<plugin name="cordova-plugin-whitelist" spec="1" />
|
<plugin name="cordova-plugin-whitelist" spec="1" />
|
2
asciiblaster-cordoba/package-lock.json → MiRCART-cordoba/package-lock.json
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "asciiblaster-cordoba",
|
"name": "MiRCART-cordoba",
|
||||||
"version": "1.0.7",
|
"version": "1.0.7",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"author": "Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA",
|
"author": "Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/lalbornoz/asciiblaster/issues"
|
"url": "https://github.com/lalbornoz/MiRCART/issues"
|
||||||
},
|
},
|
||||||
"cordova": {
|
"cordova": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
@ -15,17 +15,17 @@
|
|||||||
"cordova-android": "^7.1.3",
|
"cordova-android": "^7.1.3",
|
||||||
"cordova-plugin-whitelist": "^1.3.3"
|
"cordova-plugin-whitelist": "^1.3.3"
|
||||||
},
|
},
|
||||||
"description": "asciiblaster (standalone Apache Córdoba app)",
|
"description": "MiRCART (standalone Apache Córdoba app)",
|
||||||
"directories": {
|
"directories": {
|
||||||
"www": "www"
|
"www": "www"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/lalbornoz/asciiblaster#readme",
|
"homepage": "https://github.com/lalbornoz/MiRCART#readme",
|
||||||
"license": "Jollo LNT license <https://raw.githubusercontent.com/lalbornoz/asciiblaster/master/LICENCE>",
|
"license": "Jollo LNT license <https://raw.githubusercontent.com/lalbornoz/MiRCART/master/LICENCE>",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"name": "asciiblaster-cordoba",
|
"name": "MiRCART-cordoba",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/lalbornoz/asciiblaster.git"
|
"url": "git+https://github.com/lalbornoz/MiRCART.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"installed_plugins": {
|
"installed_plugins": {
|
||||||
"cordova-plugin-whitelist": {
|
"cordova-plugin-whitelist": {
|
||||||
"PACKAGE_NAME": "com.lalbornoz.asciiblaster"
|
"PACKAGE_NAME": "com.lalbornoz.MiRCART"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependent_plugins": {},
|
"dependent_plugins": {},
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<manifest android:hardwareAccelerated="true" android:versionCode="10007" android:versionName="1.0.7" package="com.lalbornoz.asciiblaster" xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest android:hardwareAccelerated="true" android:versionCode="10007" android:versionName="1.0.7" package="com.lalbornoz.MiRCART" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
|
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
@ -7,30 +7,29 @@
|
|||||||
<link charset="utf-8" href="../css/fonts.css" rel="stylesheet" type="text/css" />
|
<link charset="utf-8" href="../css/fonts.css" rel="stylesheet" type="text/css" />
|
||||||
<link charset="utf-8" href="../css/help.css" rel="stylesheet" type="text/css" />
|
<link charset="utf-8" href="../css/help.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||||
<title>asciiblaster v1.0.6 documentation</title>
|
<title>MiRCART v1.0.7 documentation</title>
|
||||||
</head>
|
</head>
|
||||||
<!-- }}} -->
|
<!-- }}} -->
|
||||||
<!-- {{{ BODY -->
|
<!-- {{{ BODY -->
|
||||||
<body>
|
<body>
|
||||||
<div id="box_wrapper">
|
<div id="box_wrapper">
|
||||||
<div id="box">
|
<div id="box">
|
||||||
<h1>asciiblaster documentation</h1>
|
<h1>MiRCART documentation</h1>
|
||||||
<p>
|
|
||||||
These are some handy documents which address some of the more obscure features of asciiblaster:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Tips on using the keyboard</h2>
|
<h2>Tips on using the keyboard</h2>
|
||||||
<pre>
|
<pre>
|
||||||
[ Decrease brush size
|
[ Decrease brush size
|
||||||
] Increase brush size
|
] Increase brush size
|
||||||
<Alt> + <LMB> on canvas Fill brush with sampled color
|
<Alt> + <LMB> on canvas Fill brush with sampled color
|
||||||
<Alt> + <Shift> + <LMB> on canvas Copy canvas to brush
|
<Alt> + <Shift> + <LMB> on canvas Copy canvas to brush
|
||||||
<Ctrl> + <LMB> on brush Erase cell
|
<Ctrl> + <LMB> on brush Erase brush cell
|
||||||
<Ctrl> + <LMB> on canvas Draw with background color
|
<Ctrl> + <LMB> on canvas Draw with background color
|
||||||
<Shift> + <LMB> on canvas Draw line from last position
|
<Shift> + <LMB> on canvas Draw line from last position
|
||||||
<Shift> + <LMB> on character box Switch to next character set
|
<Shift> + <LMB> on character box Switch to next character set
|
||||||
<Shift> + <LMB> on stored brush Delete stored brush
|
<Shift> + <LMB> on stored brush Delete stored brush
|
||||||
<RMB> on palette Set background color (when drawing with a letter)
|
<LMB> on brush Fill brush cell
|
||||||
|
<RMB> on brush Erase brush cell
|
||||||
|
<RMB> on palette Set background color (when drawing with a letter)
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h2>Notate bene</h2>
|
<h2>Notate bene</h2>
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@ -37,25 +37,25 @@ main() {
|
|||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-cordoba/config.xml;
|
MiRCART-cordoba/config.xml;
|
||||||
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-cordoba/package.json \
|
MiRCART-cordoba/package.json \
|
||||||
asciiblaster-cordoba/package-lock.json;
|
MiRCART-cordoba/package-lock.json;
|
||||||
rc sed -i"" '/android:versionCode="/s/\(android:versionCode=\)"[0-9]\+"/\1"'"${_version_new_code}"'"/' \
|
rc sed -i"" '/android:versionCode="/s/\(android:versionCode=\)"[0-9]\+"/\1"'"${_version_new_code}"'"/' \
|
||||||
asciiblaster-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
MiRCART-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
||||||
rc sed -i"" '/android:versionName="/s/\(android:versionName=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/android:versionName="/s/\(android:versionName=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
MiRCART-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
||||||
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-cordoba/platforms/android/app/src/main/res/xml/config.xml;
|
MiRCART-cordoba/platforms/android/app/src/main/res/xml/config.xml;
|
||||||
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-nw/package.json \
|
MiRCART-nw/package.json \
|
||||||
asciiblaster-nw/package-lock.json;
|
MiRCART-nw/package-lock.json;
|
||||||
rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(<\)/\1'"${_version_new}"'\2/' \
|
rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(<\)/\1'"${_version_new}"'\2/' \
|
||||||
index.html;
|
index.html assets/html/help.html;
|
||||||
rc rsync -aiLPv --delete \
|
rc rsync -aiLPv --delete \
|
||||||
asciiblaster-cordoba/www/ \
|
MiRCART-cordoba/www/ \
|
||||||
asciiblaster-cordoba/platforms/android/app/src/main/assets/www/;
|
MiRCART-cordoba/platforms/android/app/src/main/assets/www/;
|
||||||
rc git add asciiblaster-cordoba/platforms/android/app/src/main/assets/www;
|
rc git add MiRCART-cordoba/platforms/android/app/src/main/assets/www;
|
||||||
rc git commit -avm "Bump to v${_version_new}.";
|
rc git commit -avm "Bump to v${_version_new}.";
|
||||||
};
|
};
|
||||||
|
|
@ -23,7 +23,7 @@ main() {
|
|||||||
shift $((${OPTIND}-1));
|
shift $((${OPTIND}-1));
|
||||||
for _build in cordoba nw www; do
|
for _build in cordoba nw www; do
|
||||||
msgf "Deploying ${_build}...";
|
msgf "Deploying ${_build}...";
|
||||||
cd "asciiblaster-${_build}";
|
cd "MiRCART-${_build}";
|
||||||
if [ "${_vflag:-0}" -eq 0 ]; then
|
if [ "${_vflag:-0}" -eq 0 ]; then
|
||||||
./deploy.sh "${@}";
|
./deploy.sh "${@}";
|
||||||
else
|
else
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CORDOBA_PLATFORMS="android";
|
CORDOBA_PLATFORMS="android";
|
||||||
PACKAGE_NAME="asciiblaster-cordoba";
|
PACKAGE_NAME="MiRCART-cordoba";
|
||||||
RELEASE_DEPS_CMD="cordova cp";
|
RELEASE_DEPS_CMD="cordova cp";
|
||||||
RELEASE_DEPS_ENV="ANDROID_HOME JAVA_HOME";
|
RELEASE_DEPS_ENV="ANDROID_HOME JAVA_HOME";
|
||||||
RELEASES_DNAME_DEST="releases";
|
RELEASES_DNAME_DEST="releases";
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
|
|
||||||
PACKAGE_NAME="asciiblaster-nw";
|
PACKAGE_NAME="MiRCART-nw";
|
||||||
RELEASE_DEPS="cpio find gunzip rm sed tar unzip wget zip";
|
RELEASE_DEPS="cpio find gunzip rm sed tar unzip wget zip";
|
||||||
NWJS_MANIFEST_FNAME="nwjs.manifest";
|
NWJS_MANIFEST_FNAME="nwjs.manifest";
|
||||||
NWJS_PLATFORMS="linux-ia32 linux-x64 win-ia32 win-x64";
|
NWJS_PLATFORMS="linux-ia32 linux-x64 win-ia32 win-x64";
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
|
|
||||||
PACKAGE_NAME="asciiblaster-www";
|
PACKAGE_NAME="MiRCART-www";
|
||||||
RELEASE_DEPS="cpio find rm sed zip";
|
RELEASE_DEPS="cpio find rm sed zip";
|
||||||
RELEASES_DNAME="releases";
|
RELEASES_DNAME="releases";
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ msgf() {
|
|||||||
deploy() {
|
deploy() {
|
||||||
local _vflag="${1}" _release_fname="" _release_dname="" _release_version="";
|
local _vflag="${1}" _release_fname="" _release_dname="" _release_version="";
|
||||||
|
|
||||||
_release_version="$(sed -n '/^\s*<title>/s/^\s*<title>asciiblaster v\([0-9.]\+\)<\/title>\s*$/\1/p' index.html)";
|
_release_version="$(sed -n '/^\s*<title>/s/^\s*<title>MiRCART v\([0-9.]\+\)<\/title>\s*$/\1/p' index.html)";
|
||||||
_release_dname="${RELEASES_DNAME}/${PACKAGE_NAME}-${_release_version}";
|
_release_dname="${RELEASES_DNAME}/${PACKAGE_NAME}-${_release_version}";
|
||||||
_release_fname="${_release_dname}.zip";
|
_release_fname="${_release_dname}.zip";
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
## MiRCART-{cordoba,nw,www} -- mIRC art editor for {Android,{Linux,Windows},browsers} (WIP)
|
||||||
|
Originally based on [[1](#r1)].
|
||||||
|
|
||||||
|
## IrcMiRCARTBot.py -- IRC<->MiRC2png bot (for EFnet #MiRCART) (pending cleanup)
|
||||||
|
* Prerequisites: python3 && python3-{json,requests,urllib3} on Debian-family Linux distributions
|
||||||
|
* IrcMiRCARTBot.py usage: IrcMiRCARTBot.py `<IRC server hostname>` [`<IRC server port; defaults to 6667>`] [`<IRC bot nick name; defaults to pngbot>`] [`<IRC bot user name; defaults to pngbot>`] [`<IRC bot real name; defaults to pngbot>`] [`<IRC bot channel name; defaults to #MiRCART>`]
|
||||||
|
|
||||||
|
## MiRCARTToPngFile.py -- convert ASCII w/ mIRC control codes to monospaced PNG (pending cleanup)
|
||||||
|
* Prerequisites: python3 && python3-pil on Debian-family Linux distributions
|
||||||
|
* MiRC2png.py usage: MiRC2png.py `<MiRCART input file pathname>` `<PNG image output file pathname>` [`<Font file pathname; defaults to DejaVuSansMono.ttf>`] [`<Font size; defaults to 11>`]
|
||||||
|
|
||||||
|
## References
|
||||||
|
``Fri, 05 Jan 2018 17:01:47 +0100 [1]`` <a href="https://asdf.us/asciiblaster" id="r1">asciiblaster</a>
|
||||||
|
|
||||||
|
vim:tw=0
|
@ -1,10 +1,12 @@
|
|||||||
1) feature: {bold,italic,underline} attributes
|
1) feature: animation; Blender mIRCart Python importer plugin
|
||||||
2) feature: draw w/ keyboard instead of [LR]MB
|
2) feature: {bold,italic,underline} attributes
|
||||||
3) feature: {line,measuring} tool
|
3) feature: draw w/ keyboard instead of [LR]MB
|
||||||
4) feature: status bar w/ position, etc.
|
4) feature: {line,measuring} tool
|
||||||
5) feature: zoom {in,out} (esp. on Android)
|
5) feature: multiplayer realtime editing
|
||||||
6) reimplement: ANSI (maybe,) {save,upload} as PNG & gallery, cutoff (print line #(s) affected, tunably,) shaders (maybe)
|
6) feature: status bar w/ position, etc.
|
||||||
7) releases: merge w/ MiRCARTools (into asciiblaster,) provide signed release APK
|
7) feature: zoom {in,out} (esp. on Android)
|
||||||
|
8) reimplement: ANSI (maybe,) {save,upload} as PNG & gallery, cutoff (print line #(s) affected, tunably,) shaders (maybe)
|
||||||
|
9) releases: provide signed release APK
|
||||||
|
|
||||||
In progress:
|
In progress:
|
||||||
1) each newly created & modified(!) ascii is assigned an ascii UUID, if not present already
|
1) each newly created & modified(!) ascii is assigned an ascii UUID, if not present already
|
@ -9,7 +9,7 @@
|
|||||||
<link charset="utf-8" href="assets/css/sally.css" rel="stylesheet" type="text/css" />
|
<link charset="utf-8" href="assets/css/sally.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||||
<meta content="width=device-width, maximum-scale=1.0, user-scalable=yes" name="viewport" />
|
<meta content="width=device-width, maximum-scale=1.0, user-scalable=yes" name="viewport" />
|
||||||
<title>asciiblaster v1.0.7</title>
|
<title>MiRCART v1.0.7</title>
|
||||||
</head>
|
</head>
|
||||||
<!-- }}} -->
|
<!-- }}} -->
|
||||||
<!-- {{{ BODY -->
|
<!-- {{{ BODY -->
|
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lalbornoz.asciiblaster;
|
package com.lalbornoz.MiRCART;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import org.apache.cordova.*;
|
import org.apache.cordova.*;
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 222 KiB |
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 286 KiB |