Commit Graph

65 Commits

Author SHA1 Message Date
Tristan B. Kildaire 426a65cf96 Sucked those offsets out of my thumb, I couldn't be ared right now 2021-01-28 16:39:08 +02:00
Tristan B. Kildaire 66bb86e4cd WIP: Direct messages woith `from` field
Just offset incorrectly it seems
2021-01-28 16:26:57 +02:00
Tristan B. Kildaire 3d6e01fb2a Oh lol, they're unchecked 2021-01-28 16:11:26 +02:00
Tristan B. Kildaire e0bd021db1 Fok idk 2021-01-28 15:57:34 +02:00
Tristan B. Kildaire f2120f5fd4 Call `findUser` on direct message notification received 2021-01-28 15:32:03 +02:00
Tristan B. Kildaire ddee77a5b7 Corrected array-base offset 2021-01-28 15:29:04 +02:00
Tristan B. Kildaire 75ac2e16d4 WIP: Direct messages 2021-01-28 15:21:08 +02:00
Tristan B. Kildaire 302603a6f6 Removed debug 2021-01-28 14:18:41 +02:00
Tristan B. Kildaire 40342772c2 Fixed bug 2021-01-28 14:17:21 +02:00
Tristan B. Kildaire 13d5176a89 No class cast exception, the cast went ahead, had UB that caused a segfault somewhere 2021-01-28 13:56:39 +02:00
Tristan B. Kildaire e6ef053f13 Added a new debugs 2021-01-28 13:55:10 +02:00
Tristan B. Kildaire 602d23e067 MessageArea is responsible for box 2021-01-28 13:40:49 +02:00
Tristan B. Kildaire 4c687b06eb It's a delegate, we have access to `this`, use it 2021-01-28 13:34:16 +02:00
Tristan B. Kildaire e75aee2221 Added direct message button to UserNode 2021-01-28 13:28:56 +02:00
Tristan B. Kildaire 4ff60a02c9 Remove dunused fields 2021-01-28 13:03:31 +02:00
Tristan B. Kildaire a3d70929e5 Renamed `chans` -> `areas`
Renamed `focusedChan` -> `focusedArea`
2021-01-28 13:00:02 +02:00
Tristan B. Kildaire 029cd5a3ee Only loop through Channel objects 2021-01-28 12:57:58 +02:00
Tristan B. Kildaire 31611d6f94 Restructure and inherit 2021-01-28 11:41:19 +02:00
Tristan B. Kildaire 1420e8e86f Use gogga for some debug messages 2021-01-28 11:08:18 +02:00
Tristan B. Kildaire 185e5efd5f Pass in Connection instead 2020-10-25 23:43:43 +02:00
Tristan B. Kildaire 29fba2f7bd Test 1 2020-10-23 22:03:44 +02:00
Tristan B. Kildaire 3b22f095bb Disallow re-ordering S IT DOWNS'T ALIGN WWITH ARRAY ACCESSES 2020-10-23 17:00:04 +02:00
Tristan B. Kildaire 9ea68ca748 2020-10-21 09:00:33 +02:00
Tristan B. Kildaire 953493cb07 Now messages are received and placed in the respective channel 2020-10-20 23:39:56 +02:00
Tristan B. Kildaire bf36f033be Set status to available on startup 2020-10-20 21:11:24 +02:00
Tristan B. Kildaire ed909a0558 Print out received data 2020-10-20 20:14:29 +02:00
Tristan B. Kildaire 4bab9d04c5 Fuck Pango 2020-10-20 18:59:10 +02:00
Tristan B. Kildaire 0e30d54fe6 Clean up 2020-10-19 19:19:28 +02:00
Tristan B. Kildaire 8546dff6e6 Removed uneeded method call 2020-10-19 19:08:15 +02:00
Tristan B. Kildaire 7da8efee61 Migrated channel joining code (the majority of it) from gui.d to Connection.d (only the needed left overs are in gui.d - for the handler)
Also set the fields back to private
2020-10-19 19:07:56 +02:00
Tristan B. Kildaire 5332d26be9 Channel sidebar is now for switching between channels you have joined, to join a channel you now will have to go to the list channels menu 2020-10-19 18:45:23 +02:00
Tristan B. Kildaire 99f22f96e3 Moved channel selection over to list box (accessible via toolbar).
I should clean up accessing this stuff, although I don't mind the crossover accessing to instance fields, I would lik to keep it to a minimum
2020-10-19 18:32:53 +02:00
Tristan B. Kildaire c0e55329df Made `addChannel(string)` public 2020-10-19 18:28:27 +02:00
Tristan B. Kildaire de38f78432 Made `findChannel` pblic 2020-10-19 18:26:56 +02:00
Tristan B. Kildaire 301c09c063 Allow reordering of channel tab 2020-10-19 14:58:00 +02:00
Tristan B. Kildaire 29556a6d8c Allow reordering on connection tabs 2020-10-19 14:57:16 +02:00
Tristan B. Kildaire 7ae11e120e Added status message fetch 2020-10-19 14:06:14 +02:00
Tristan B. Kildaire 5ab62e5c4a Align messages not sent (i.e. received) to the start (left) 2020-10-19 13:44:58 +02:00
Tristan B. Kildaire 65720725c3 Make channel tabs scrollable 2020-10-18 22:47:51 +02:00
Tristan B. Kildaire 72cf00a614 Added a toolbar.
Added status buttons to the toolbar for setting your status.
2020-10-18 21:41:22 +02:00
Tristan B. Kildaire 2abc0ce956 Fixed leave message 2020-10-18 14:26:50 +02:00
Tristan B. Kildaire 8989d00db6 Code cleanup 2020-10-18 13:44:42 +02:00
Tristan B. Kildaire aabc1f7768 Now shows leave and join messages for the correct channels 2020-10-18 13:43:23 +02:00
Tristan B. Kildaire 8ee893e73a Updated to new protocol 2020-10-18 13:27:47 +02:00
Tristan B. Kildaire b442c36101 Set the tab's title to that of the channel's name 2020-10-18 12:34:06 +02:00
Tristan B. Kildaire 5da6691c4a Kinda works. 2020-10-18 12:24:30 +02:00
Tristan B. Kildaire 4f1fc32f8b Bug fix whereby `findChannel(string)` would never find the channel requested 2020-10-18 12:21:23 +02:00
Tristan B. Kildaire 695d624fe9 Now adds, just need to sort out redrawing 2020-10-18 12:16:48 +02:00
Tristan B. Kildaire e4f373ceb3 Use notebook per channel 2020-10-18 12:12:03 +02:00
Tristan B. Kildaire a928733263 Disabled a lot of code for transition to new system. 2020-10-18 12:06:05 +02:00