Commit Graph

30 Commits

Author SHA1 Message Date
ce0f700253 abstract exception handler/logger into its own file 2025-08-04 09:03:47 +01:00
83634ef20e log exceptions that occur to a local file 2025-08-04 06:23:52 +01:00
16fdfc7ac2 print stack trace for when an exception occurs 2025-08-03 13:14:28 +01:00
7045b69ce8 eliminate instance of currying/partial application with constant value (a constant mailbox) is shell/shell.sml 2024-12-17 10:55:58 +00:00
90f8732f06 move msgs into AppType.app_type, and refactor AppUpdate.update function to have type (app_type -> app_type) instead of pervious case which was (app_type -> app_type * MailboxType.t list). Reason: no need to allocate/return tuple when can store messages in type directly; previous msg list will be reset after each app update. All tests after refactor are passing. 2024-12-17 10:40:06 +00:00
09d9945201 add function to build search list from specific range 2024-11-16 12:27:14 +00:00
2a2f64f00c add bgVertexBuffer and bgProgram to imperative shell, so we can draw bg and cursor without overlap, and without z-index 2024-11-15 10:26:22 +00:00
d5eb19f8d9 progress drawing spaces within search string, and drawing behind background of search string 2024-11-15 09:50:35 +00:00
025f9d2bf4 fix exception in bin-search.sml, by making sure that forwardLinearSearch always starts at 0 or more 2024-11-15 09:24:48 +00:00
54090ccf64 add yank functionality in imperative shell 2024-11-11 05:27:20 +00:00
6e66d4c968 done with imperative shell/ffi aspect of sending KEY_ESC to update thread when that action has occurred 2024-11-08 09:46:01 +00:00
428e5f2ecd complete implementation of rightwards navigation (viL) 2024-10-17 02:57:26 +01:00
c77777cc09 add CHAR_EVENT message type (next is to handle hjkl navigation) 2024-10-17 01:38:31 +01:00
ce23e50c8d scaffolding for char callback 2024-10-17 01:20:48 +01:00
5cc4357cc7 progress drawing cursor 2024-10-09 11:59:41 +01:00
9d7d00e8d1 add cursor buffer and cursor program to imperative shell 2024-10-09 11:22:39 +01:00
bfc5a3914c hardcode more pleasant (in my opinion) colour scheme for the moment 2024-10-09 01:23:26 +01:00
68a1787958 done scaffolding cml and adding resize functionality 2024-10-06 10:23:07 +01:00
b95fc48252 scaffolding for concurrent ml 2024-10-06 09:32:56 +01:00
6766fd1485 a bit of scaffolding to prepare for adding resize callback + message types 2024-10-06 08:18:24 +01:00
c5efc4640f return tuple from function 'startBuildTextLineGap' as function to move LineGap, used in 'startBuildTextLineGap' optimises nodes for better performance on subsequent operations 2024-10-05 23:27:25 +01:00
3f2f135a36 move LineGap to start after loading file in shell.sml, and fix wrong parameter passed in mutually recursive function, in buffer.sml 2024-10-05 15:07:23 +01:00
e64b7418ae use LineGap.append in shell/shell.sml 2024-10-05 12:56:23 +01:00
2f0630dd88 draw super basic text to screen 2024-10-05 02:03:17 +01:00
de70d31ee1 progress adding function to draw text 2024-10-04 23:23:25 +01:00
c5913c5ccb amend compiler error, and leave a couple of comments about drawText function 2024-10-03 07:28:58 +01:00
e6298e7b61 initialise text vertex buffer and text program in gl-draw.sml, and add functions to draw 2024-10-02 22:09:22 +01:00
eb0ca122d6 add draw module (very incomplete) 2024-10-01 08:25:12 +01:00
ae8005dceb add shader strings for open gl 2024-09-30 15:46:19 +01:00
c37c8d60e3 init 2024-09-30 13:43:43 +01:00