Renames asciiblaster{,*} to MiRCART.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-11-26 10:45:12 +01:00
parent bffd7711a1
commit 2d4d14266e
553 changed files with 115 additions and 99 deletions

4
.gitattributes vendored
View File

@ -1,2 +1,2 @@
asciiblaster-cordoba/* linguist-vendored
asciiblaster-nw/* linguist-vendored
MiRCART-cordoba/* linguist-vendored
MiRCART-nw/* linguist-vendored

14
.gitignore vendored
View File

@ -1,8 +1,8 @@
*.sw[op]
asciiblaster-cordoba/node_modules
asciiblaster-cordoba/platforms/android/.gradle
asciiblaster-cordoba/platforms/android/app/build
asciiblaster-cordoba/platforms/android/CordovaLib/build
asciiblaster-cordoba/releases/*
asciiblaster-nw/releases/*
asciiblaster-www/releases/*
MiRCART-cordoba/node_modules
MiRCART-cordoba/platforms/android/.gradle
MiRCART-cordoba/platforms/android/app/build
MiRCART-cordoba/platforms/android/CordovaLib/build
MiRCART-cordoba/releases/*
MiRCART-nw/releases/*
MiRCART-www/releases/*

View File

@ -1,12 +1,12 @@
<?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">
<author email="lucio@lucioillanes.de" href="https://github.com/lalbornoz/asciiblaster#readme">
<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/MiRCART#readme">
Lucio Andrés Illanes Albornoz &lt;lucio@lucioillanes.de&gt;, based on work by JOLLO NET NA
</author>
<description>
asciiblaster (standalone Apache Córdoba app)
MiRCART (standalone Apache Córdoba app)
</description>
<name>asciiblaster-cordoba</name>
<name>MiRCART-cordoba</name>
<access origin="*" />
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />

View File

@ -1,5 +1,5 @@
{
"name": "asciiblaster-cordoba",
"name": "MiRCART-cordoba",
"version": "1.0.7",
"lockfileVersion": 1,
"requires": true,

View File

@ -1,7 +1,7 @@
{
"author": "Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA",
"bugs": {
"url": "https://github.com/lalbornoz/asciiblaster/issues"
"url": "https://github.com/lalbornoz/MiRCART/issues"
},
"cordova": {
"plugins": {
@ -15,17 +15,17 @@
"cordova-android": "^7.1.3",
"cordova-plugin-whitelist": "^1.3.3"
},
"description": "asciiblaster (standalone Apache Córdoba app)",
"description": "MiRCART (standalone Apache Córdoba app)",
"directories": {
"www": "www"
},
"homepage": "https://github.com/lalbornoz/asciiblaster#readme",
"license": "Jollo LNT license <https://raw.githubusercontent.com/lalbornoz/asciiblaster/master/LICENCE>",
"homepage": "https://github.com/lalbornoz/MiRCART#readme",
"license": "Jollo LNT license <https://raw.githubusercontent.com/lalbornoz/MiRCART/master/LICENCE>",
"main": "index.html",
"name": "asciiblaster-cordoba",
"name": "MiRCART-cordoba",
"repository": {
"type": "git",
"url": "git+https://github.com/lalbornoz/asciiblaster.git"
"url": "git+https://github.com/lalbornoz/MiRCART.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"

View File

@ -19,7 +19,7 @@
},
"installed_plugins": {
"cordova-plugin-whitelist": {
"PACKAGE_NAME": "com.lalbornoz.asciiblaster"
"PACKAGE_NAME": "com.lalbornoz.MiRCART"
}
},
"dependent_plugins": {},
@ -27,4 +27,4 @@
"plugin_metadata": {
"cordova-plugin-whitelist": "1.3.3"
}
}
}

View File

@ -1,5 +1,5 @@
<?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" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">

View File

@ -7,30 +7,29 @@
<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" />
<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>
<!-- }}} -->
<!-- {{{ BODY -->
<body>
<div id="box_wrapper">
<div id="box">
<h1>asciiblaster documentation</h1>
<p>
These are some handy documents which address some of the more obscure features of asciiblaster:
</p>
<h1>MiRCART documentation</h1>
<h2>Tips on using the keyboard</h2>
<pre>
[ Decrease brush size
] Increase brush size
&lt;Alt&gt; + &lt;LMB&gt; on canvas Fill brush with sampled color
&lt;Alt&gt; + &lt;Shift&gt; + &lt;LMB&gt; on canvas Copy canvas to brush
&lt;Ctrl&gt; + &lt;LMB&gt; on brush Erase cell
&lt;Ctrl&gt; + &lt;LMB&gt; on canvas Draw with background color
&lt;Shift&gt; + &lt;LMB&gt; on canvas Draw line from last position
&lt;Shift&gt; + &lt;LMB&gt; on character box Switch to next character set
&lt;Shift&gt; + &lt;LMB&gt; on stored brush Delete stored brush
&lt;RMB&gt; on palette Set background color (when drawing with a letter)
[ Decrease brush size
] Increase brush size
&lt;Alt&gt; + &lt;LMB&gt; on canvas Fill brush with sampled color
&lt;Alt&gt; + &lt;Shift&gt; + &lt;LMB&gt; on canvas Copy canvas to brush
&lt;Ctrl&gt; + &lt;LMB&gt; on brush Erase brush cell
&lt;Ctrl&gt; + &lt;LMB&gt; on canvas Draw with background color
&lt;Shift&gt; + &lt;LMB&gt; on canvas Draw line from last position
&lt;Shift&gt; + &lt;LMB&gt; on character box Switch to next character set
&lt;Shift&gt; + &lt;LMB&gt; on stored brush Delete stored brush
&lt;LMB&gt; on brush Fill brush cell
&lt;RMB&gt; on brush Erase brush cell
&lt;RMB&gt; on palette Set background color (when drawing with a letter)
</pre>
<h2>Notate bene</h2>

View File

@ -37,25 +37,25 @@ main() {
fi;
done;
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}"'"/' \
asciiblaster-cordoba/package.json \
asciiblaster-cordoba/package-lock.json;
MiRCART-cordoba/package.json \
MiRCART-cordoba/package-lock.json;
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}"'"/' \
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}"'"/' \
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}"'"/' \
asciiblaster-nw/package.json \
asciiblaster-nw/package-lock.json;
MiRCART-nw/package.json \
MiRCART-nw/package-lock.json;
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 \
asciiblaster-cordoba/www/ \
asciiblaster-cordoba/platforms/android/app/src/main/assets/www/;
rc git add asciiblaster-cordoba/platforms/android/app/src/main/assets/www;
MiRCART-cordoba/www/ \
MiRCART-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}.";
};

View File

@ -23,7 +23,7 @@ main() {
shift $((${OPTIND}-1));
for _build in cordoba nw www; do
msgf "Deploying ${_build}...";
cd "asciiblaster-${_build}";
cd "MiRCART-${_build}";
if [ "${_vflag:-0}" -eq 0 ]; then
./deploy.sh "${@}";
else

View File

@ -2,7 +2,7 @@
#
CORDOBA_PLATFORMS="android";
PACKAGE_NAME="asciiblaster-cordoba";
PACKAGE_NAME="MiRCART-cordoba";
RELEASE_DEPS_CMD="cordova cp";
RELEASE_DEPS_ENV="ANDROID_HOME JAVA_HOME";
RELEASES_DNAME_DEST="releases";

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
PACKAGE_NAME="asciiblaster-nw";
PACKAGE_NAME="MiRCART-nw";
RELEASE_DEPS="cpio find gunzip rm sed tar unzip wget zip";
NWJS_MANIFEST_FNAME="nwjs.manifest";
NWJS_PLATFORMS="linux-ia32 linux-x64 win-ia32 win-x64";

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
PACKAGE_NAME="asciiblaster-www";
PACKAGE_NAME="MiRCART-www";
RELEASE_DEPS="cpio find rm sed zip";
RELEASES_DNAME="releases";
@ -13,7 +13,7 @@ msgf() {
deploy() {
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_fname="${_release_dname}.zip";

View File

@ -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

View File

@ -1,10 +1,12 @@
1) feature: {bold,italic,underline} attributes
2) feature: draw w/ keyboard instead of [LR]MB
3) feature: {line,measuring} tool
4) feature: status bar w/ position, etc.
5) feature: zoom {in,out} (esp. on Android)
6) reimplement: ANSI (maybe,) {save,upload} as PNG & gallery, cutoff (print line #(s) affected, tunably,) shaders (maybe)
7) releases: merge w/ MiRCARTools (into asciiblaster,) provide signed release APK
1) feature: animation; Blender mIRCart Python importer plugin
2) feature: {bold,italic,underline} attributes
3) feature: draw w/ keyboard instead of [LR]MB
4) feature: {line,measuring} tool
5) feature: multiplayer realtime editing
6) feature: status bar w/ position, etc.
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:
1) each newly created & modified(!) ascii is assigned an ascii UUID, if not present already

View File

@ -9,7 +9,7 @@
<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="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>
<!-- }}} -->
<!-- {{{ BODY -->

View File

@ -17,7 +17,7 @@
under the License.
*/
package com.lalbornoz.asciiblaster;
package com.lalbornoz.MiRCART;
import android.os.Bundle;
import org.apache.cordova.*;

Some files were not shown because too many files have changed in this diff Show More