Commit graph

608 commits

Author SHA1 Message Date
db7abaf000 Update changelog 2022-08-08 21:31:12 +02:00
9e99c0706a Improve mark-older-as-unseen performance 2022-08-08 21:31:12 +02:00
0490ce394d Improve unseen cursor movement performance
It's only really noticeable when pressing H at the first unseen message
2022-08-08 21:31:12 +02:00
bfc221106d Move to prev/next unseen message 2022-08-08 21:31:12 +02:00
05ce069121 Fix reinserting existing messages overwriting seen 2022-08-08 21:31:12 +02:00
973a621a13 Fix type conversion error when cursor is at bottom 2022-08-08 21:31:12 +02:00
cee91695e0 Mark older messages as seen instead 2022-08-08 21:31:12 +02:00
573f231466 Mark all messages as seen 2022-08-08 21:31:12 +02:00
43247e2a5c Mark all visible messages as seen 2022-08-08 21:31:12 +02:00
de569211f6 Display seen status of messages 2022-08-08 21:31:12 +02:00
6166c5e366 Toggle messages' seen status 2022-08-08 21:31:09 +02:00
ff4118e21d Query and set seen status via store 2022-08-08 15:14:50 +02:00
20ec6ef3b3 Set messages' seen status when adding to vault 2022-08-08 15:14:50 +02:00
fdb8fc7bd0 Add 'seen' flag to euph msgs in vault 2022-08-08 15:14:50 +02:00
00f376c11b Add checklist for bumping version number 2022-08-07 01:03:48 +02:00
f430b0efc7 Fix db inconsistencies when deleting a room
Since the euph_trees table can't have any foreign key constraints
pointing to the euph_rooms table, deleting a room wouldn't delete that
room's trees in euph_trees. Upon reconnecting to the room, those trees
would then be displayed as placeholder messages without children.
2022-08-07 00:55:54 +02:00
a2b9f57a09 Fix room and nick dialog padding 2022-08-07 00:55:54 +02:00
d114857abd Update changelog 2022-08-07 00:55:54 +02:00
de095e74ae Change binding for external editor
In order to avoid collisions with ctrl+e, we need a new binding. In
bash/readline, ctrl+x is used as a sort of leader key to initiate
multi-key bindings. I don't think I'll implement multi-key combinations
any time soon, so now ctrl+x stands for 'edit in eXternal editor'.
2022-08-07 00:30:36 +02:00
9ebe2361a9 Move cursor one word left/right 2022-08-07 00:25:53 +02:00
51d03c6fe2 Fix moving to end of last line 2022-08-07 00:01:27 +02:00
4bf6d80988 Move to start/end of editor line 2022-08-06 23:54:53 +02:00
ba35a606a8 Increase F1 key binding column width 2022-08-06 23:54:43 +02:00
0d3131facd Add more readline-like key bindings 2022-08-06 23:54:22 +02:00
bfbdec4396 Move editor key handling to one place 2022-08-06 23:39:56 +02:00
f48a4a6416 Remove trailing newline of externally edited text 2022-08-06 23:39:56 +02:00
c4d3f5ba4d Move cursor in message editor vertically 2022-08-06 23:39:56 +02:00
8b66de44e0 Increase delay between log requests 2022-08-06 02:04:09 +02:00
345170698f Bump version to 0.1.0 2022-08-06 00:27:30 +02:00
df42fdf57b Add changelog 2022-08-06 00:27:30 +02:00
092c89e970 Add readme with screenshot and instructions 2022-08-06 00:27:30 +02:00
d97dff07e4 Add note about F1 to empty rooms list 2022-08-04 17:16:44 +02:00
a0f2f9500c Fix ? not working in normal room view 2022-08-04 17:03:38 +02:00
6c1ce49236 Show available key bindings with F1/? 2022-08-04 17:02:54 +02:00
a51bb60342 Add Resize widget 2022-08-04 16:53:05 +02:00
a958ccaccf Fix word wrapping
When displaying text widgets containing tabs, the calculated width would
not take those tabs into account and the widget would thus display
incorrectly. Fixed by updating toss so its width functions are tab-aware
and word wrapping is fixed as well.
2022-08-04 03:00:48 +02:00
8374552715 Fix cursor moving out of bounds
On a long line ending with whitespace, the cursor would be able to move
out of bounds if there was enough whitespace.
2022-08-04 02:22:20 +02:00
20ea96f83e Match key events using macros 2022-08-04 01:05:08 +02:00
df0403a782 Fix editor word wrapping 2022-08-03 22:00:56 +02:00
a3327a7a2c Fix HJoin/VJoin available space calculations 2022-08-03 21:38:54 +02:00
70e8755e6a Align nicks in nick list vertically 2022-08-03 19:57:06 +02:00
a85bdd306b Highlight /me messages in the editor 2022-08-03 15:18:36 +02:00
15f957c160 Stop logging 'e' presses 2022-08-03 13:46:27 +02:00
56507b4875 Fix mention highlighting
The mention color would sometimes go until the end of the line because
splitting Styled-s was buggy.
2022-08-03 13:23:17 +02:00
2dfdbbb4d2 Fix scrolling when composing a new thread
When composing a new thread and writing more than one line, the chat
wouldn't scroll to make the editor cursor visible again. My original
guess for when the scrolling code should run was a bit too restrictive.
2022-08-03 03:08:00 +02:00
4d1a42427a Add scrolloff 2022-08-03 02:52:53 +02:00
042f0ab78d Move cursor chronologically 2022-08-03 02:02:12 +02:00
1f19b4cdf5 Query store chronologically 2022-08-03 02:02:06 +02:00
01ee4b4ce8 Use new highlight colors for editor and pseudo messages 2022-08-03 01:12:31 +02:00
3fd08fd399 Refine @mention highlighting 2022-08-03 00:46:55 +02:00