Commit Graph

326 Commits

Author SHA1 Message Date
Gavin MacGregor
4024efaf01 Rename packet variables
"y": packet number
"d": designation code
"t": triplet number

"packet" renamed to "pkt" in method parameters to avoid ambiguity with
the "packet" method.
2025-02-11 18:46:01 +00:00
Gavin MacGregor
42176f2fc0 Tag version 0.7.1-beta 0.7.1-beta 2025-02-11 10:20:34 +00:00
Gavin MacGregor
b937102139 Fix crash when copy constructing unhandled packets
Actually this is a workaround: it does not attempt to copy construct
unhandled packets, to avoid a bug in the base class where pointers were
copy constructed without copying the contents.

A proper fix will need refactoring of the packet storage code.
2025-02-11 09:43:36 +00:00
Gavin MacGregor
df1122f621 Fix clang compile warnings 2025-01-19 19:22:09 +00:00
Gavin MacGregor
6e4f1df285 Tag version 0.7-beta 0.7-beta 2025-01-12 19:19:54 +00:00
Gavin MacGregor
69eb891e7f Remove "ready" message on startup 2025-01-12 18:49:26 +00:00
Gavin MacGregor
21a9972ecb Default to minimal border size 2025-01-12 16:35:25 +00:00
Gavin MacGregor
f893ad5e1b Fix geometry when loading with zoom set to minimum 2025-01-12 15:36:18 +00:00
Gavin MacGregor
203e44ee87 Fix pixel 1:2 aspect ratio not being remembered 2025-01-12 15:06:35 +00:00
Gavin MacGregor
d5d173bb84 Fix filename suggestion of exported image
If the filename had a non-TTI extension it would not have been changed to
PNG or GIF.
2025-01-12 14:54:08 +00:00
Gavin MacGregor
cdfcdd8754 Add export to animated GIF, wrt GH-9 2025-01-08 23:23:14 +00:00
Gavin MacGregor
e2f794c658 Update copyright notices to 2025 2024-12-31 10:51:06 +00:00
Gavin MacGregor
568469d41e Fix deprecation warnings 2024-12-29 18:24:37 +00:00
Gavin MacGregor
dfbfd47191 Add mosaic manipulation across a selected area 2024-12-08 21:21:13 +00:00
Gavin MacGregor
900c2a79b2 Separate finding of mosaics within selection 2024-12-08 14:08:13 +00:00
Gavin MacGregor
cf4f85cc51 Tag version 0.6.5-beta 0.6.5-beta 2024-12-04 12:33:03 +00:00
Gavin MacGregor
f96b973ff3 Warn when Active Position differs between Levels 2024-12-01 21:51:32 +00:00
Gavin MacGregor
1d889ab724 Update MXE notes 2024-12-01 18:07:43 +00:00
Gavin MacGregor
48a2b48964 Add monochrome rendering modes
These modes can be used to see the inner workings of colourful artworks that
frequently use "foreground colour, new background, foreground colour",
particularly to show exactly which colours are represented by set or clear
sixels.

One mode renders all characters in white on a black background and the other
mode renders black characters on a white background. The latter could be used
to save ink if the resulting image is printed.

Flash is suppressed in these mono modes, this may or may not change.
2024-12-01 17:44:58 +00:00
Gavin MacGregor
26b5974421 Remove duplicate row from template 2024-11-26 18:05:00 +00:00
G.K.MacGregor
4743b26400 Remove duplicate widget disabling 2024-08-28 13:40:43 +01:00
G.K.MacGregor
40fc1e38d8 Port to CMake from qmake, and split decoder into subdirectory
Qt 5 has had to be dropped as CMakeLists.txt uses qt_* specific commands
which are implemented in Qt 6 onwards.

cmake --install is only working on Linux at the moment; it installs the
executable and the bundled example tti files into /usr/local/share/doc

The teletext decoder with its document storage has been moved to a
subdirectory with the intention of making it possible to use in other
projects, but some further separation of editing stuff will be needed.
2024-08-11 15:35:49 +01:00
G.K.MacGregor
cf6c4855ce Disable triplet editing widgets when X/26 list is changed 2024-08-08 22:13:02 +01:00
G.K.MacGregor
343fd2cf26 Tag version 0.6.4-beta 0.6.4-beta 2024-07-14 16:09:55 +01:00
G.K.MacGregor
d184c50246 Implement mosaic shifting
When a selection box is dragged, holding Ctrl while pressing the arrow
keys will shift the mosaics one sixel at a time.

If a shifting sixel encounters a non-mosaic cell it will pass through to
the other side of it.
2024-07-10 21:13:54 +01:00
G.K.MacGregor
9045160d3a Convert storeCharacters to a function 2024-07-09 22:16:58 +01:00
G.K.MacGregor
98071d823c Split out X28 commands 2024-07-09 18:01:17 +01:00
G.K.MacGregor
eb0dd7266b Remove secret F6 refresh key
Not needed as all non-refresh bugs seem to be squashed now.
2024-07-08 21:32:39 +01:00
G.K.MacGregor
c32876600b Tweaks to mosaic character editing 2024-07-07 19:41:39 +01:00
G.K.MacGregor
fbdde54fe4 Allow monochrome images to be cut and pasted as mosaic sixels
For cut and copy sixels are converted to a monochrome image; unset sixels
are black and set sixels are white. Alphanumerics and control codes are
ignored. Held mosaics are not considered.

For paste a clipboard with only an image is converted to black and white
for unset and set sixels. This only works reliably with fully-black and
fully-white pixels.
2024-07-07 13:20:47 +01:00
G.K.MacGregor
54bdf1783a Don't paste plain text at column 0 unless selection is active 2024-07-02 16:33:49 +01:00
G.K.MacGregor
23a0d3c47e Add QIcon to font encapsulation 2024-07-02 15:52:44 +01:00
G.K.MacGregor
9b4ee66e1c Revert "Convert font image straight to QIcons"
This reverts commit 7cd632b4e2.

The commit would cause the font icons to be inverted sometimes. This
reversion is altered to return the font bitmaps as a QPixmap instead of a
QBitmap to be compatible with Qt6.
2024-06-25 18:49:38 +01:00
G.K.MacGregor
7cd632b4e2 Convert font image straight to QIcons
Fixes a compile error with recent Qt6 versions
2024-06-17 22:11:38 +01:00
G.K.MacGregor
a0dd98144a Show blast-through alphanumerics in G1 character selection 2024-06-09 22:13:24 +01:00
G.K.MacGregor
80a450e0de Implement object invoke context menu 2024-06-09 21:57:55 +01:00
G.K.MacGregor
f90ea6ca9c Add an easy way to get list of object definitions 2024-06-04 18:13:59 +01:00
G.K.MacGregor
dfff4c5e17 Implement font style context menu 2024-05-26 19:27:48 +01:00
G.K.MacGregor
e9855ceba3 Implement display attributes context menu 2024-05-26 18:24:21 +01:00
G.K.MacGregor
238515006d Implement flash functions context menu 2024-05-26 17:39:21 +01:00
G.K.MacGregor
771bc66b89 Add insert options to context menu 2024-05-22 17:28:43 +01:00
G.K.MacGregor
5b688d47ea Present same context menu in all table columns 2024-05-07 21:58:45 +01:00
G.K.MacGregor
05cf313b63 Implement CLUT context menu 2024-04-30 21:12:35 +01:00
G.K.MacGregor
12649e3adf Implement character context menu 2024-04-28 18:46:31 +01:00
G.K.MacGregor
539c6c9b32 Make the model return character set numbers 2024-04-24 19:51:06 +01:00
G.K.MacGregor
5d0241ad43 Implement right-click to change triplet mode 2024-04-24 17:57:01 +01:00
G.K.MacGregor
9e64033d7c Break out triplet mode menu 2024-04-22 22:15:10 +01:00
G.K.MacGregor
ecefa03559 Encapsulate the font bitmap 2024-04-17 22:15:01 +01:00
G.K.MacGregor
3db1815772 Add zoom slider to status bar 2024-04-09 21:33:17 +01:00
G.K.MacGregor
ebb389b6d7 Tag version 0.6.3-beta 0.6.3-beta 2024-02-05 18:02:30 +00:00