Commit Graph

251 Commits

Author SHA1 Message Date
Tulir Asokan
ff7ee333a1 Rename UIString to TString, move ansimage to lib/ and switch to tcell fork 2018-04-11 17:57:15 +03:00
Tulir Asokan
c0705b02a0 Move notification package to lib/ and add open package 2018-04-11 15:05:42 +03:00
Tulir Asokan
8270bc0322 Move event parsing to ui/messages and add image displaying 2018-04-10 19:31:28 +03:00
Tulir Asokan
ee67c1446c Convert message buffer to use custom colorable strings 2018-04-10 16:07:16 +03:00
Tulir Asokan
eda2b575f0 Refactor UI to use interfaces everywhere 2018-04-09 23:45:54 +03:00
Tulir Asokan
2ba2fde396 Gofmt 2018-04-02 13:47:20 +03:00
Tulir Asokan
dd89fa621d Improve debug output options 2018-04-02 13:47:20 +03:00
Tulir Asokan
adce6d3211 Don't wrap user list 2018-03-26 22:03:30 +03:00
Tulir Asokan
d684187f42 Don't send notifications for current room 2018-03-26 20:59:58 +03:00
Tulir Asokan
e0298521c6 Add sounds to notifications 2018-03-26 18:04:10 +03:00
Tulir Asokan
b31d968814 Show notifications and highlights in room list. Fixes #8 2018-03-26 17:22:47 +03:00
Tulir Asokan
6095638fbb Fix and/or break scroll bar 2018-03-26 14:31:44 +03:00
Tulir Asokan
23bb46b18f Move room list to custom widget 2018-03-25 14:21:59 +03:00
Tulir Asokan
c128666109 Refactor things and add proper wheel scroll support 2018-03-25 12:35:50 +03:00
Tulir Asokan
e414e20215 Add mouse handler stub and keep track of focus 2018-03-24 22:14:17 +02:00
Tulir Asokan
1321e1a06a Possibly speed up syncs with filters 2018-03-24 14:16:11 +02:00
Tulir Asokan
38364646a7 Refactoring and documentation 2018-03-23 23:39:17 +02:00
Tulir Asokan
76cfbecc09 Remove panic when sending message if GetSessionOwner() returns nil 2018-03-23 17:45:58 +02:00
Tulir Asokan
7dc773c990 Render scroll position and indicate if at end/beginning of history. Fixes #9 2018-03-23 17:26:15 +02:00
Tulir Asokan
03e9a0d5ac Documentation and refactoring 2018-03-23 14:44:36 +02:00
Tulir Asokan
7cc55ade30 Fix membership event processing 2018-03-23 14:20:46 +02:00
Tulir Asokan
a3f48093eb gofmt and govet 2018-03-23 01:20:26 +02:00
Tulir Asokan
16635dcde7 Refactor PushRuleset#GetActions() and ViewMain event processing 2018-03-23 01:00:13 +02:00
Tulir Asokan
a5e7800ab6 Fix bugs and compile errors 2018-03-22 23:52:55 +02:00
Tulir Asokan
373b25c01c Rename matrix/room/ to matrix/rooms/ 2018-03-22 23:46:43 +02:00
Tulir Asokan
20a1a31fa8 Add doc.go files 2018-03-22 23:45:54 +02:00
Tulir Asokan
a9c899f0d5 Refactoring and documentation 2018-03-22 23:40:26 +02:00
Tulir Asokan
497ae566c0 Move LoginView to own struct 2018-03-22 23:03:45 +02:00
Tulir Asokan
b93dea2e1c Refactoring and documentation 2018-03-22 23:03:36 +02:00
Tulir Asokan
225dbdba4e Use display names in join/leave messages 2018-03-22 22:38:49 +02:00
Tulir Asokan
152b89ed5e Add support for m.emote. Fixes #6 2018-03-22 21:45:02 +02:00
Tulir Asokan
702a75a8c0 Save history to disk. Fixes #1 2018-03-22 19:54:31 +02:00
Tulir Asokan
232f7fe1be Update constants and demagicify RoomView drawing 2018-03-22 18:14:08 +02:00
Tulir Asokan
c32fffda15 Move history mutex to rooms.Room 2018-03-22 17:37:35 +02:00
Tulir Asokan
516ea42317 Use Flex as MainView base instead of Grid 2018-03-22 17:00:56 +02:00
Tulir Asokan
492a8752f1 Move input field to RoomView 2018-03-22 16:44:24 +02:00
Tulir Asokan
9fd67102ad Refactoring and godocs 2018-03-21 23:29:58 +02:00
Tulir Asokan
0e90972fe8 Handle some corner cases in MessageView 2018-03-21 19:46:30 +02:00
Tulir Asokan
35b6c7bd27 Add external debug file, refactoring and push rule parser 2018-03-21 18:46:25 +02:00
Tulir Asokan
7994c289aa Refactor some things and format everything 2018-03-21 00:21:24 +02:00
Tulir Asokan
85f289c98d Rename UpdateLogs back to LoadHistory 2018-03-20 23:31:04 +02:00
Tulir Asokan
095b982603 Show messages in message view while sending 2018-03-20 19:55:42 +02:00
Tulir Asokan
59cd900301 Simplify MessageView buffer recalculation to one loop 2018-03-20 17:26:37 +02:00
Tulir Asokan
508b4ea280 Add colon after username completion at beginning of line 2018-03-20 16:03:05 +02:00
Tulir Asokan
bfb5151cb6 Re-add colors to date change messages 2018-03-20 13:01:59 +02:00
Tulir Asokan
3897f23bc4 Add support for loading more history 2018-03-20 12:16:32 +02:00
Tulir Asokan
de2a8aee06 Add some vim-style keybindings to advanced inputfields 2018-03-20 12:14:30 +02:00
Tulir Asokan
160e8ff836 Don't panic if room list is empty 2018-03-19 15:19:44 +02:00
Tulir Asokan
43127dad0f Switch forms to use advanced inputfields and use user-friendly panics for UI errors 2018-03-19 10:57:31 +02:00
Tulir Asokan
7a4b108b37 Avoid showing panics directly if debug mode is not enabled 2018-03-19 01:21:53 +02:00
Tulir Asokan
72945c9a28 Organize files 2018-03-18 21:24:03 +02:00