]> git.mdlowis.com Git - archive/tide-ocaml.git/log
archive/tide-ocaml.git
7 years agoupdated to acm-like color scheme master
Michael D. Lowis [Thu, 5 Apr 2018 18:31:00 +0000 (14:31 -0400)]
updated to acm-like color scheme

7 years agoadded tracking of modifiers
Michael D. Lowis [Fri, 23 Feb 2018 20:48:34 +0000 (15:48 -0500)]
added tracking of modifiers

7 years agoadded themes for when i acutally support that...
Michael D. Lowis [Fri, 23 Feb 2018 20:47:01 +0000 (15:47 -0500)]
added themes for when i acutally support that...

7 years agoadded region tracking logic
Michael D. Lowis [Tue, 20 Feb 2018 03:30:51 +0000 (22:30 -0500)]
added region tracking logic

7 years agorework event handlers in preparation for region focus handling
Michael D. Lowis [Mon, 19 Feb 2018 02:45:41 +0000 (21:45 -0500)]
rework event handlers in preparation for region focus handling

7 years agodependencies changed
Michael D. Lowis [Sun, 18 Feb 2018 20:09:57 +0000 (15:09 -0500)]
dependencies changed

7 years agoeliminated status region in favor of acme dual-region approach
Michael D. Lowis [Sun, 18 Feb 2018 20:08:54 +0000 (15:08 -0500)]
eliminated status region in favor of acme dual-region approach

7 years agoadded stubs for fetch and exec
Michael D. Lowis [Fri, 26 Jan 2018 02:51:46 +0000 (21:51 -0500)]
added stubs for fetch and exec

7 years agominor refactoring
Michael D. Lowis [Fri, 26 Jan 2018 02:12:57 +0000 (21:12 -0500)]
minor refactoring

7 years agoupdated cursor logic to allow selecting ranges of cursors with the mouse
Michael D. Lowis [Thu, 25 Jan 2018 19:19:57 +0000 (14:19 -0500)]
updated cursor logic to allow selecting ranges of cursors with the mouse

7 years agofixed click to character mapping code
Michael D. Lowis [Thu, 25 Jan 2018 02:48:07 +0000 (21:48 -0500)]
fixed click to character mapping code

7 years agocleaned up some warning
Michael D. Lowis [Thu, 25 Jan 2018 00:08:08 +0000 (19:08 -0500)]
cleaned up some warning

7 years agofixed logic for picking character on a given line
Michael D. Lowis [Wed, 24 Jan 2018 13:36:08 +0000 (08:36 -0500)]
fixed logic for picking character on a given line

7 years agoadded logic to pick char on line with mouse
Michael D. Lowis [Wed, 24 Jan 2018 03:08:28 +0000 (22:08 -0500)]
added logic to pick char on line with mouse

7 years agocan now move cursor around by clicking
Michael D. Lowis [Sat, 20 Jan 2018 02:22:58 +0000 (21:22 -0500)]
can now move cursor around by clicking

7 years agoAdded line tracking to buffer drawing code so that clicks can be mapped easier
Michael D. Lowis [Fri, 19 Jan 2018 21:06:29 +0000 (16:06 -0500)]
Added line tracking to buffer drawing code so that clicks can be mapped easier

7 years agostarted implementing click handling
Michael D. Lowis [Fri, 19 Jan 2018 03:32:52 +0000 (22:32 -0500)]
started implementing click handling

7 years agoimplemented cursor and selection logic
Michael D. Lowis [Wed, 20 Dec 2017 18:47:34 +0000 (13:47 -0500)]
implemented cursor and selection logic

7 years agoadded logic to determine if a drawn character is selected and tweaked cursor pos api
Michael D. Lowis [Wed, 20 Dec 2017 03:16:02 +0000 (22:16 -0500)]
added logic to determine if a drawn character is selected and tweaked cursor pos api

7 years agoAdded logic to draw cursor
Michael D. Lowis [Wed, 20 Dec 2017 02:59:36 +0000 (21:59 -0500)]
Added logic to draw cursor

7 years agoremoved print statements for utf8 decoder
Michael D. Lowis [Tue, 19 Dec 2017 20:18:23 +0000 (15:18 -0500)]
removed print statements for utf8 decoder

7 years agoadded logic to respond to window manager shutdown message
Michael D. Lowis [Tue, 19 Dec 2017 19:05:07 +0000 (14:05 -0500)]
added logic to respond to window manager shutdown message

7 years agofixed bug when opening empty files or nonexistent files
Michael D. Lowis [Tue, 19 Dec 2017 18:51:31 +0000 (13:51 -0500)]
fixed bug when opening empty files or nonexistent files

7 years agorename Rope.iteri to Rope.each_byte
Michael D. Lowis [Tue, 19 Dec 2017 18:23:10 +0000 (13:23 -0500)]
rename Rope.iteri to Rope.each_byte

7 years agorenamed rope functions to getc and getb for codepoint and byte respectively
Michael D. Lowis [Tue, 19 Dec 2017 18:07:04 +0000 (13:07 -0500)]
renamed rope functions to getc and getb for codepoint and byte respectively

7 years agofixed some bugs in utf8 decoding
Michael D. Lowis [Tue, 19 Dec 2017 14:02:22 +0000 (09:02 -0500)]
fixed some bugs in utf8 decoding

7 years agoremoved dead code and fixed types in x11.ml
Michael D. Lowis [Mon, 18 Dec 2017 14:24:31 +0000 (09:24 -0500)]
removed dead code and fixed types in x11.ml

7 years agofirst crack at loading alternative fonts for runes
Michael D. Lowis [Mon, 18 Dec 2017 13:31:41 +0000 (08:31 -0500)]
first crack at loading alternative fonts for runes

7 years agofixed rope.ml to not choke on malformed utf-8 docs
Michael D. Lowis [Fri, 15 Dec 2017 17:34:53 +0000 (12:34 -0500)]
fixed rope.ml to not choke on malformed utf-8 docs

7 years agoFirst pass at utf8 support. single font, no alternative lookups
Michael D. Lowis [Thu, 14 Dec 2017 21:14:55 +0000 (16:14 -0500)]
First pass at utf8 support. single font, no alternative lookups

7 years agotweaked lexers for text and ruby lexers
Michael D. Lowis [Tue, 12 Dec 2017 02:23:59 +0000 (21:23 -0500)]
tweaked lexers for text and ruby

7 years agofirst attempt at extending lexers
Michael D. Lowis [Tue, 12 Dec 2017 01:55:50 +0000 (20:55 -0500)]
first attempt at extending lexers

7 years agoAdded logic to pick lexers based on filename and filetype
Michael D. Lowis [Tue, 12 Dec 2017 01:08:10 +0000 (20:08 -0500)]
Added logic to pick lexers based on filename and filetype

7 years agoadded context to lexer logic and added range handling code
Michael D. Lowis [Sat, 9 Dec 2017 02:38:08 +0000 (21:38 -0500)]
added context to lexer logic and added range handling code

7 years agoupdated docs
Michael D. Lowis [Sat, 9 Dec 2017 00:46:25 +0000 (19:46 -0500)]
updated docs

7 years agofleshed out highlighter rules for C
Michael D. Lowis [Fri, 8 Dec 2017 20:10:33 +0000 (15:10 -0500)]
fleshed out highlighter rules for C

7 years agofirst pass at syntax highlighting for c. most things work except block comments
Michael D. Lowis [Fri, 8 Dec 2017 04:19:43 +0000 (23:19 -0500)]
first pass at syntax highlighting for c. most things work except block comments

7 years agostarted integrating lexers
Michael D. Lowis [Thu, 7 Dec 2017 02:17:42 +0000 (21:17 -0500)]
started integrating lexers

7 years agolaid the ground work for lexer integration for syntax highlighting
Michael D. Lowis [Mon, 4 Dec 2017 21:22:08 +0000 (16:22 -0500)]
laid the ground work for lexer integration for syntax highlighting

7 years agoadded lexers to libtide
Michael D. Lowis [Sun, 3 Dec 2017 01:35:24 +0000 (20:35 -0500)]
added lexers to libtide

7 years agoadded rule for generating lexers
Michael D. Lowis [Sat, 25 Nov 2017 03:39:17 +0000 (22:39 -0500)]
added rule for generating lexers

7 years agooverhauled makefile rules
Michael D. Lowis [Thu, 23 Nov 2017 19:17:53 +0000 (14:17 -0500)]
overhauled makefile rules

7 years agoupdated html docs
Michael D. Lowis [Mon, 20 Nov 2017 14:30:52 +0000 (09:30 -0500)]
updated html docs

7 years agoupdated dependency tracking
Michael D. Lowis [Sat, 18 Nov 2017 03:50:14 +0000 (22:50 -0500)]
updated dependency tracking

7 years agoadded descriptions to tools
Michael D. Lowis [Sat, 18 Nov 2017 03:39:53 +0000 (22:39 -0500)]
added descriptions to tools

7 years agoupdated docs
Michael D. Lowis [Sat, 18 Nov 2017 03:39:27 +0000 (22:39 -0500)]
updated docs

7 years agofixed ocamldeps dependency tracking
Michael D. Lowis [Sat, 18 Nov 2017 03:38:48 +0000 (22:38 -0500)]
fixed ocamldeps dependency tracking

7 years agoAdded some tool scripts for use later. Also added the first lexer for C/C++
Michael D. Lowis [Tue, 14 Nov 2017 20:51:35 +0000 (15:51 -0500)]
Added some tool scripts for use later. Also added the first lexer for C/C++

7 years agofleshed out tests for rope module
Michael D. Lowis [Tue, 14 Nov 2017 02:15:44 +0000 (21:15 -0500)]
fleshed out tests for rope module

7 years agoadded stub unit test files and switched Draw.ml over to use the Cfg font setting
Michael D. Lowis [Mon, 13 Nov 2017 21:28:08 +0000 (16:28 -0500)]
added stub unit test files and switched Draw.ml over to use the Cfg  font setting

7 years agofixed Rope.nextln/prevln which was breaking scrolling
Michael D. Lowis [Mon, 13 Nov 2017 15:49:08 +0000 (10:49 -0500)]
fixed Rope.nextln/prevln which was breaking scrolling

7 years agoFixed an out of bounds error in rope. Turned on exception backtraces and added a...
Michael D. Lowis [Mon, 13 Nov 2017 14:32:23 +0000 (09:32 -0500)]
Fixed an out of bounds error in rope. Turned on exception backtraces and added a try-with block to the event handler. Exceptions will not cause the editor to exit.

7 years agobroke view module out into it's own file and updated status to display filename
Michael D. Lowis [Sat, 11 Nov 2017 03:46:16 +0000 (22:46 -0500)]
broke view module out into it's own file and updated status to display filename

7 years agofixed up scroll parameters
Michael D. Lowis [Sat, 11 Nov 2017 02:04:42 +0000 (21:04 -0500)]
fixed up scroll parameters

7 years agoUpdated scrollbar to adjust thumb position based on first visible position in the...
Michael D. Lowis [Fri, 10 Nov 2017 03:38:42 +0000 (22:38 -0500)]
Updated scrollbar to adjust thumb position based on first visible position in the buffer

7 years agoadded minimum thumb size
Michael D. Lowis [Fri, 10 Nov 2017 02:50:55 +0000 (21:50 -0500)]
added minimum thumb size

7 years agoupdated drawing code to draw scrollbar thumb based on visible part of the file
Michael D. Lowis [Fri, 10 Nov 2017 02:47:10 +0000 (21:47 -0500)]
updated drawing code to draw scrollbar thumb based on visible part of the file

7 years agofixed join operation and some broken unit tests. Also implemented crude ascii-only...
Michael D. Lowis [Thu, 9 Nov 2017 14:03:01 +0000 (09:03 -0500)]
fixed join operation and some broken unit tests. Also implemented crude ascii-only version of putc

7 years agoAdded node coalescing to join
Michael D. Lowis [Thu, 9 Nov 2017 03:53:02 +0000 (22:53 -0500)]
Added node coalescing to join

7 years agoImplemented various cursor and offset movement and test functions as curried wrappers...
Michael D. Lowis [Wed, 8 Nov 2017 16:27:48 +0000 (11:27 -0500)]
Implemented various cursor and offset movement and test functions as curried wrappers around cursor functionality

7 years agoFixed scrolling and cleaned up buffer/cursor interface
Michael D. Lowis [Wed, 8 Nov 2017 14:09:13 +0000 (09:09 -0500)]
Fixed scrolling and cleaned up buffer/cursor interface

7 years agototally broke scrolling but im not sure how...
Michael D. Lowis [Wed, 8 Nov 2017 01:30:22 +0000 (20:30 -0500)]
totally broke scrolling but im not sure how...

7 years agoRemoved rope accessor from buf.ml and switched scrollmap completely over to cursor...
Michael D. Lowis [Tue, 7 Nov 2017 15:41:01 +0000 (10:41 -0500)]
Removed rope accessor from buf.ml and switched scrollmap completely over to cursor usage

7 years agoSwitched scrollmap over to using the cursor
Michael D. Lowis [Tue, 7 Nov 2017 13:42:35 +0000 (08:42 -0500)]
Switched scrollmap over to using the cursor

7 years agoswitched glyph cache from a map to a hashtable
Michael D. Lowis [Tue, 7 Nov 2017 13:28:46 +0000 (08:28 -0500)]
switched glyph cache from a map to a hashtable

7 years agosketched out cursor inerface a bit more
Michael D. Lowis [Tue, 7 Nov 2017 03:56:28 +0000 (22:56 -0500)]
sketched out cursor inerface a bit more

7 years agoadded cursor type and manipulation functions
Michael D. Lowis [Tue, 7 Nov 2017 03:44:54 +0000 (22:44 -0500)]
added cursor type and manipulation functions

7 years agoreworked index manipulation for next and previous lines into rope.ml. Still need...
Michael D. Lowis [Tue, 7 Nov 2017 02:00:19 +0000 (21:00 -0500)]
reworked index manipulation for next and previous lines into rope.ml. Still need a more abstracted and efficient interface

7 years agoAdded todo file to track bugs and issues that need to be addressed
Michael D. Lowis [Mon, 6 Nov 2017 21:05:31 +0000 (16:05 -0500)]
Added todo file to track bugs and issues that need to be addressed

7 years agofixed bug in scrollmap creation that was creating empty lines
Michael D. Lowis [Mon, 6 Nov 2017 21:05:09 +0000 (16:05 -0500)]
fixed bug in scrollmap creation that was creating empty lines

7 years agoAdded documentation generation for lib files
Michael D. Lowis [Mon, 6 Nov 2017 19:09:14 +0000 (14:09 -0500)]
Added documentation generation for lib files

7 years agoadded and tested nextc and prevc functions. Updated scrollmap to use them
Michael D. Lowis [Sat, 4 Nov 2017 03:38:29 +0000 (23:38 -0400)]
added and tested nextc and prevc functions. Updated scrollmap to use them

7 years agoadded getb function and height tracking to rope
Michael D. Lowis [Fri, 3 Nov 2017 02:02:17 +0000 (22:02 -0400)]
added getb function and height tracking to rope

7 years agogetc now returns newlines for windows line endings
Michael D. Lowis [Tue, 31 Oct 2017 01:25:22 +0000 (21:25 -0400)]
getc now returns newlines for windows line endings

7 years agowhittled down rope.ml and added an interface file
Michael D. Lowis [Tue, 31 Oct 2017 01:02:17 +0000 (21:02 -0400)]
whittled down rope.ml and added an interface file

7 years agoadded some more utf8 examples
Michael D. Lowis [Sat, 28 Oct 2017 01:45:52 +0000 (21:45 -0400)]
added some more utf8 examples

7 years agoAdded test documents to test preformance for specific use case
Michael D. Lowis [Fri, 27 Oct 2017 19:10:58 +0000 (15:10 -0400)]
Added test documents to test preformance for specific use case

7 years agoFixed compiler warnings
Michael D. Lowis [Fri, 27 Oct 2017 15:11:37 +0000 (11:11 -0400)]
Fixed compiler warnings

7 years agoremoved vestigial run_unit_tests function from scrollmap
Michael D. Lowis [Fri, 27 Oct 2017 14:48:53 +0000 (10:48 -0400)]
removed vestigial run_unit_tests function from scrollmap

7 years agomoved unit tests to separate modules and folder
Michael D. Lowis [Fri, 27 Oct 2017 14:47:41 +0000 (10:47 -0400)]
moved unit tests to separate modules and folder

7 years agotweaked scrollmap implementation. Behavior is still buggy but it can scroll down...
Michael D. Lowis [Fri, 27 Oct 2017 12:52:48 +0000 (08:52 -0400)]
tweaked scrollmap implementation. Behavior is still buggy but it can scroll down smoothly for long lines

7 years agoFirst, buggy, attempt at scrolling using a scrollmap. First line seems to disappear...
Michael D. Lowis [Thu, 26 Oct 2017 17:40:26 +0000 (13:40 -0400)]
First, buggy, attempt at scrolling using a scrollmap. First line seems to disappear sometimes when redrawing and the line jumps around when the map needs ot regenerate

7 years agoimplemented scanning portion of scrollmap generation
Michael D. Lowis [Thu, 26 Oct 2017 01:53:49 +0000 (21:53 -0400)]
implemented scanning portion of scrollmap generation

7 years agoAdded skeleton logic for building the scrollmap
Michael D. Lowis [Wed, 25 Oct 2017 20:13:49 +0000 (16:13 -0400)]
Added skeleton logic for building the scrollmap

7 years agooverhauled drawing code to hopefully allow reuse for scrollmap generation
Michael D. Lowis [Wed, 25 Oct 2017 13:26:38 +0000 (09:26 -0400)]
overhauled drawing code to hopefully allow reuse for scrollmap generation

7 years agofixed some warnings about record member access in draw.ml
Michael D. Lowis [Wed, 25 Oct 2017 02:03:32 +0000 (22:03 -0400)]
fixed some warnings about record member access in draw.ml

7 years agooverhauled drawing code to use new mutable cursor type
Michael D. Lowis [Wed, 25 Oct 2017 01:58:30 +0000 (21:58 -0400)]
overhauled drawing code to use new mutable cursor type

7 years agoAdded functions for drawing the regions. stubs currently but will be filled out later
Michael D. Lowis [Tue, 24 Oct 2017 20:18:04 +0000 (16:18 -0400)]
Added functions for drawing the regions. stubs currently but will be filled out later

7 years agoAdded acme command cheatsheet
Michael D. Lowis [Tue, 24 Oct 2017 20:08:24 +0000 (16:08 -0400)]
Added acme command cheatsheet

7 years agoAdded draw module and functions for common drawing operations
Michael D. Lowis [Tue, 24 Oct 2017 20:04:35 +0000 (16:04 -0400)]
Added draw module and functions for common drawing operations

7 years agotweaked interfaces and added a scrollmap hook for unit tests
Michael D. Lowis [Tue, 24 Oct 2017 17:01:08 +0000 (13:01 -0400)]
tweaked interfaces and added a scrollmap hook for unit tests

7 years agoAdded scrollmap and remove some unnecessary functions
Michael D. Lowis [Tue, 24 Oct 2017 15:11:46 +0000 (11:11 -0400)]
Added scrollmap and remove some unnecessary functions

7 years agoimplemented tab handling
Michael D. Lowis [Tue, 24 Oct 2017 02:34:04 +0000 (22:34 -0400)]
implemented tab handling

7 years agoadded some basic functions for navigating a rope
Michael D. Lowis [Mon, 23 Oct 2017 16:21:45 +0000 (12:21 -0400)]
added some basic functions for navigating a rope

7 years agoadded function to create a cursor
Michael D. Lowis [Sat, 21 Oct 2017 17:42:18 +0000 (13:42 -0400)]
added function to create a cursor

7 years agoAdded unit minimal unit testing framework
Michael D. Lowis [Sat, 21 Oct 2017 16:47:12 +0000 (12:47 -0400)]
Added unit minimal unit testing framework

7 years agostripped buf down to bare minimum
Michael D. Lowis [Fri, 20 Oct 2017 01:39:17 +0000 (21:39 -0400)]
stripped buf down to bare minimum

7 years agoremoved X11.flip
Michael D. Lowis [Wed, 18 Oct 2017 18:29:07 +0000 (14:29 -0400)]
removed X11.flip

7 years agoadded grouping logic to glyphs drawn with the same color
Michael D. Lowis [Wed, 18 Oct 2017 18:24:47 +0000 (14:24 -0400)]
added grouping logic to glyphs drawn with the same color

7 years agosimplified event loop until the implementation is fleshed out a bit more
Michael D. Lowis [Wed, 18 Oct 2017 13:51:41 +0000 (09:51 -0400)]
simplified event loop until the implementation is fleshed out a bit more