Commit Graph

406 Commits

Author SHA1 Message Date
Lucio Andrés Illanes Albornoz
318b4436f3 {libcanvas/Canvas,libgui/GuiCanvas{Interface,Panel}}.py: implement dirty flag.
libgui/GuiCanvasInterface.py:canvas{Exit,New,Open,Save,Import{Ansi,FromClipboard,Sauce}}(): prompt to save canvas if dirty.
libgui/GuiCanvasInterface.py: minor cleanup.
libcanvas/Canvas.py:resize(): don't push undo patches when extending canvas.
2019-09-08 18:00:11 +02:00
Lucio Andrés Illanes Albornoz
34dddd3e2b libtools/ToolText.py:onMouseEvent(): only set self.textPos on is{Left,Right}Down. 2019-09-08 17:02:41 +02:00
Lucio Andrés Illanes Albornoz
c9102f3462 Implements transparent colour.
libgui/Gui{CanvasInterface,{General,}Frame}.py: refactored.
{libcanvas/CanvasExportStore,libgui/GuiCanvas{Interface,WxBackend}}.py: implements transparent colour.
libgui/GuiCanvasPanel.py: updated.
libtools/ToolText.py: updated.
assets/text/TODO: updated.
2019-09-08 16:57:45 +02:00
Lucio Andrés Illanes Albornoz
391ee21612 assets/tools/MiRCART{Reduce,ToAnsi}.py: fixed.
libcanvas/CanvasExportStore.py: fixed.
assets/text/TODO: updated.
2019-09-07 17:38:28 +02:00
Lucio Andrés Illanes Albornoz
8abf95abee libcanvas/CanvasColours.py, libgui/GuiCanvasColours.py: split from libcanvas/CanvasColours.py.
libcanvas/Canvas.py, libgui/GuiCanvasPanel.py: split from libcanvas/Canvas.py.
libcanvas/CanvasImportStore.py:import{Ansi{Buffer,File},SauceFile}(): fixed (via spoke.)
{libgui/Gui{CanvasInterface,Frame},libtools/Tool{Fill,Select,Text},roar}.py: updated.
libgui/GuiCanvasWxBackend.py: merged from libcanvas/CanvasBackend.py.
2019-09-07 10:39:26 +02:00
Lucio Andrés Illanes Albornoz
c7ef599185 libcanvas/CanvasColours.py: renamed from libcanvas/Colours.py.
lib{canvas/Canvas{Backend,{Ex,Im}portStore},gui/GuiFrame}.py: updated.
2019-09-06 10:32:54 +02:00
Lucio Andrés Illanes Albornoz
997042ad90 libcanvas/Canvas{Ex,Im}portStore.py: cleanup.
assets/tools/MiRCARTReduce.py: fixed (for spoke.)
assets/tools/{MiRCARTTo{Ansi,PngFile},SAUCETo{Ansi,MiRCART}}.py: updated.
lib{canvas/Canvas,gui/Gui{CanvasInterface,Frame}}.py: updated.
lib{{canvas/Canvas{Backend,Journal},Colours},tools/ToolRect}.py: minor cleanup.
roar.py: updated.
2019-09-06 10:29:45 +02:00
Lucio Andrés Illanes Albornoz
80ff03e4b1 libcanvas/Canvas.py, libgui/GuiCanvasInterface.py: correctly set ImgurApiKey.
libcanvas/CanvasExportStore.py:_exportFileToImgur(): fixed.
libcanvas/CanvasExportStore.py:exportPastebin(): fixed.
2019-09-05 17:13:35 +02:00
Lucio Andrés Illanes Albornoz
bffcc644f2 Implements importing from {ANSI,SAUCE} and exporting to ANSI files.
assets/tools/{MiRCARTTo{Ansi,PngFile},SAUCETo{Ansi,MiRCART}}.py: reimplemented using Canvas{Ex,Im}portStore.
libcanvas/Canvas.py: minor cleanup.
libcanvas/CanvasExportStore.py:export{Ansi,Png}File(): merged from assets/tools/MiRCARTTo{Ansi,PngFile}.py.
libcanvas/CanvasImportStore.py:import{Ansi,Sauce}File(): merged from assets/tools/SAUCETo{Ansi,MiRCART}.py.
libcanvas/Colours.py:{AnsiBgToMiRCARTColours,AnsiFgToMiRCARTColours,AnsiFgBoldToMiRCARTColours}{}: merged from assets/tools/SAUCEToMiRCART.py.
libcanvas/Colours.py:{ColourMap{Bold,Normal}}[]: merged from assets/tools/MiRCARTToPngFile.py.
libcanvas/Colours.py: minor cleanup.
libgui/GuiCanvasInterface.py:canvas{ExportAsAnsi,Import{Ansi,Sauce}}(): implemented.
libgui/GuiFrame.py: adds CID_{EXPORT_AS_{ANSI,SAUCE},IMPORT_{ANSI,SAUCE}}.
assets/text/TODO: updated.
2019-09-05 16:55:07 +02:00
Lucio Andrés Illanes Albornoz
e481c8026c libgui/GuiCanvasInterface.py:canvasExportAsPng(): correctly pass self.parentFrame to wx.FileDialog().
libgui/GuiCanvasInterface.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 16:36:57 +02:00
Lucio Andrés Illanes Albornoz
dba97c9097 {assets/tools,lib{canvas,gui,rtl,tools}}/*.py: update copyright legends.
assets/text/ImgurApiKey.py.template: updated from assets/text/MiRCARTImgurApiKey.py.template.
librtl/IrcClient.py: minor cleanup.
2019-09-04 16:23:59 +02:00
Lucio Andrés Illanes Albornoz
48013617b2 assets/tools/deploy-python.sh: updated. 2019-09-04 16:13:47 +02:00
Lucio Andrés Illanes Albornoz
d193120312 Show toolbar tooltips.
libgui/GuiGeneralFrame.py:_initToolBars(): pass label to wx.ToolBar.Add{,Radio}Tool().
libgui/GuiGeneralFrame.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 16:09:46 +02:00
Lucio Andrés Illanes Albornoz
c81275bf2f Implements {un,re}doing resizing.
libcanvas/Canvas.py:_dispatchDeltaPatches(): handle `resize' delta patches.
libcanvas/Canvas.py:_dispatchPatch(): only commit to journal given commitUndo.
libcanvas/Canvas.py:resize(): commit `resize' & {deleted,added} cell deltas to journal.
libcanvas/Canvas.py: minor cleanup.
libcanvas/Canvas{Backend,{Export,Import}Store,Journal}.py: minor cleanup.
assets/text/arab-puke.txt: added from mircart/pack2/.
assets/text/TODO: updated.
2019-09-04 15:52:54 +02:00
Lucio Andrés Illanes Albornoz
0aa80899ff Implements {ex,im}port {to,from} clipboard.
libcanvas/CanvasExportStore.py:exportTextBuffer(): cloned from exportTextFile().
libcanvas/CanvasExportStore.py:exportTextFile(): correctly fetch cell colours & text.
libcanvas/CanvasImportStore.py:importTextFile{,Buffer}(): split from importTextFile().
libcanvas/CanvasImportStore.py: minor cleanup.
libgui/GuiCanvasInterface.py:canvas{ExportTo,ImportFrom}Clipboard(): implemented.
libgui/GuiFrame.py: adds CID_{EX,IM}PORT_CLIPB.
libgui/GuiFrame.py: minor cleanup.
libgui/GuiGeneralFrame.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 12:50:21 +02:00
Lucio Andrés Illanes Albornoz
c8429b3db2 libgui/GuiCanvasInterface.py: merged from libcanvas/CanvasInterface.py.
libgui/GuiCanvasInterfaceAbout.py: split from libgui/GuiCanvasInterface.py.
libcanvas/Canvas.py, libgui/GuiFrame.py: updated.
assets/text/TODO: updated.
2019-09-04 11:47:09 +02:00
Lucio Andrés Illanes Albornoz
d41f9468b7 assets/tools/SAUCEToMiRCART.py: added (for spoke.)
assets/text/TODO: updated.
2019-09-04 11:03:53 +02:00
Lucio Andrés Illanes Albornoz
2063ca86fc ROAR! 2019-09-03 18:58:50 +02:00
Lucio Andrés Illanes Albornoz
16b7d89b1d assets/text/TODO: merged from roar/. 2019-09-03 15:49:53 +02:00
Lucio Andrés Illanes Albornoz
807f59210c MiRCART.py: melp? 2019-09-03 15:48:52 +02:00
Lucio Andrés Illanes Albornoz
12089db11f libtools/MiRCARTToolSelect{,Clone,Move}.py: cleanup & bug fixes. 2019-09-03 15:48:48 +02:00
Lucio Andrés Illanes Albornoz
e9612855cb Replaces & merges MiRCART-{nw,python,www} w/ original MiRCART as of Thu Jul 5 2018. 2019-09-01 16:34:00 +02:00
Lucio Andrés Illanes Albornoz
ef91be0f48 Bump to v1.1.6. 2019-08-28 11:35:42 +02:00
Lucio Andrés Illanes Albornoz
2f62e20509 assets/html/index.html: fix asset pathnames.
assets/js/clipboard.js:import_ansi(): correctly handle {bold,faint,reset} SGR parameters.
assets/js/clipboard.js:import_ansi(): don't apply {bold,faint} to background colours.
assets/js/clipboard.js:import_ansi(): don't reset {background,foreground} colour & {bold,faint} flags on new row.
assets/js/clipboard.js:import_ansi(): emit missing cells if necessary.
assets/js/clipboard.js:import_ansi(): handle CUrsor Forward control sequence.
assets/js/color.js: removes ansi_bg_bold_import[].
2019-08-28 11:31:42 +02:00
Lucio Andrés Illanes Albornoz
f6a4e17463 Bump to v1.1.5. 2019-08-28 10:37:45 +02:00
Lucio Andrés Illanes Albornoz
d03a5b9294 MiRCART-nw/index.html: update symlink. 2019-08-28 10:37:27 +02:00
Lucio Andrés Illanes Albornoz
9bd706cbe0 Bump to v1.1.4. 2019-08-28 10:32:44 +02:00
Lucio Andrés Illanes Albornoz
155a15eeb4 SAUCEToAnsi.py: updated. 2019-08-28 10:32:26 +02:00
Lucio Andrés Illanes Albornoz
a7da0aa679 Bump to v1.1.3.
assets/shell/bump-version.sh: updated.
2019-08-28 10:31:44 +02:00
Lucio Andrés Illanes Albornoz
72f9657608 MiRCART-python/SAUCEToAnsi.py: added (for spoke.) 2019-08-28 10:29:28 +02:00
Lucio Andrés Illanes Albornoz
1542c66c64 assets/html/index.html: moved from index.html.
MiRCART-www/index.html: updates symlink.
2019-08-27 08:49:15 +02:00
Lucio Andrés Illanes Albornoz
f276aa34f5 assets/js/clipboard.js:import_ansi(): correctly support sequence of comma-separated SGR parameters.
assets/js/clipboard.js:import_ansi(): support {bold,faint,reset} SGR parameters.
assets/js/color.js: adds ansi_[bf]g_bold_import[].
2019-08-27 08:45:39 +02:00
Lucio Andrés Illanes Albornoz
179b6b7c2d assets/shell/bump-version.sh: removes MiRCART-cordoba support. 2019-08-27 08:01:35 +02:00
Lucio Andrés Illanes Albornoz
f63ee53191 assets/js/matrix.js:Matrix.prototype.{ansi,mirc}(): only reset {bg,fg}_ when processing a new row vs. new cell (via spoke.) 2019-08-27 07:59:35 +02:00
Lucio Andrés Illanes Albornoz
2efca3371f Removes MiRCART-cordoba. 2019-08-25 19:00:11 +02:00
Lucio Andrés Illanes Albornoz
922b9b6c5d Implements {ex,im}porting {as,from} ANSI.
Bump to v1.1.2.
2019-08-25 18:39:49 +02:00
Lucio Andrés Illanes Albornoz
a002cb96bb MiRCARTCanvasImportStore.py:importTextFile(): open() w/ encoding="utf-8-sig" due to potentially present BOM.
MiRCARTToPngFile.py:export(): disable PIL font anti-aliasing.
2019-08-18 13:02:33 +02:00
Lucio Andrés Illanes Albornoz
e9a90f5000 assets/js/matrix.js:Matrix.prototype.mirc(): don't assume default foreground colour (via spoke.) 2019-07-13 23:53:24 +02:00
Lucio Andrés Illanes Albornoz
76db3cacd5 MiRCART-python/MiRCARTReduce.py: added. 2019-04-11 14:54:29 +02:00
Lucio Andrés Illanes Albornoz
ab41c9a56d MiRCART-python/IrcMiRCARTBot.py: updated.
assets/text/TODO: updated.
2019-02-06 19:10:35 +01:00
Lucio Andrés Illanes Albornoz
400615c134 MiRCARTToAnsi.py: fix colours. 2019-01-21 20:21:11 +01:00
Lucio Andrés Illanes Albornoz
add023fa5f MiRCARTToAnsi.py: added.
MiRCARTToPngFile.py: clean up _ColourMap{Bold,Normal}.
2019-01-21 10:23:19 +01:00
Lucio Andrés Illanes Albornoz
ffdc3cb6e5 IrcMiRCARTBot.py:_{dispatchPrivmsg,uploadToImgur}(): gracefully handle invalid responses from Imgur.com. 2018-12-03 11:51:20 +01:00
Lucio Andrés Illanes Albornoz
fbf415816d Bump to v1.1.0. 2018-11-26 11:00:15 +01:00
Lucio Andrés Illanes Albornoz
8d22469df6 assets/shell/deploy-nw.sh:deploy(): consistent package names. 2018-11-26 10:59:56 +01:00
Lucio Andrés Illanes Albornoz
c6afbb6978 Bump to v1.0.9. 2018-11-26 10:55:55 +01:00
Lucio Andrés Illanes Albornoz
47046c87ae Fix LICENCEs. 2018-11-26 10:54:54 +01:00
Lucio Andrés Illanes Albornoz
b9cd1c4b45 assets/shell/bump-version.sh:main(): correctly update version in {index,assets/html/help}.html. 2018-11-26 10:46:53 +01:00
Lucio Andrés Illanes Albornoz
3ed735c6b5 Bump to v1.0.8. 2018-11-26 10:46:18 +01:00
Lucio Andrés Illanes Albornoz
2c0b0169b7 Renames asciiblaster{,*} to MiRCART. 2018-11-26 10:45:12 +01:00