]> git.mdlowis.com Git - archive/tide-ocaml.git/log
archive/tide-ocaml.git
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

7 years agoadded file descriptor polling to event loop
Michael D. Lowis [Tue, 17 Oct 2017 02:01:58 +0000 (22:01 -0400)]
added file descriptor polling to event loop

7 years agoAdded some timestamps for event loop profiling
Michael D. Lowis [Mon, 16 Oct 2017 18:39:06 +0000 (14:39 -0400)]
Added some timestamps for event loop profiling

7 years agotweak glyph drawing
Michael D. Lowis [Mon, 16 Oct 2017 01:36:48 +0000 (21:36 -0400)]
tweak glyph drawing

7 years agoAdded logic to draw edit buffer to the edit region
Michael D. Lowis [Fri, 13 Oct 2017 02:36:08 +0000 (22:36 -0400)]
Added logic to draw edit buffer to the edit region

7 years agoreplaced imperative iterator with more idiomatic iter_from function
Michael D. Lowis [Wed, 11 Oct 2017 02:26:11 +0000 (22:26 -0400)]
replaced imperative iterator with more idiomatic iter_from function

7 years agoadded glyph caching to X11 module to speed up redraw
Michael D. Lowis [Mon, 9 Oct 2017 15:29:57 +0000 (11:29 -0400)]
added glyph caching to X11 module to speed up redraw

7 years agoimplemented Buf.load
Michael D. Lowis [Sat, 7 Oct 2017 01:57:14 +0000 (21:57 -0400)]
implemented Buf.load

7 years agoAdded function to load file to string
Michael D. Lowis [Sat, 7 Oct 2017 00:31:53 +0000 (20:31 -0400)]
Added function to load file to string

7 years agominor cleanup
Michael D. Lowis [Tue, 3 Oct 2017 01:53:13 +0000 (21:53 -0400)]
minor cleanup

7 years agorefactored drawing code to draw each region's background separately
Michael D. Lowis [Mon, 2 Oct 2017 20:06:02 +0000 (16:06 -0400)]
refactored drawing code to draw each region's background separately

7 years agosketched out basic window drawing code
Michael D. Lowis [Thu, 28 Sep 2017 18:55:58 +0000 (14:55 -0400)]
sketched out basic window drawing code

7 years agoAdded preliminary buffer implementation based on a naive rope implementation
Michael D. Lowis [Wed, 27 Sep 2017 18:22:17 +0000 (14:22 -0400)]
Added preliminary buffer implementation based on a naive rope implementation

7 years agotweaked draw_glyph to align proportional font glyphs
Michael D. Lowis [Wed, 13 Sep 2017 02:13:27 +0000 (22:13 -0400)]
tweaked draw_glyph to align proportional font glyphs

7 years agoprototyped drawing a cursor
Michael D. Lowis [Tue, 12 Sep 2017 20:25:47 +0000 (16:25 -0400)]
prototyped drawing a cursor

7 years agoAdded logic for drawing strings to the window
Michael D. Lowis [Tue, 12 Sep 2017 17:56:27 +0000 (13:56 -0400)]
Added logic for drawing strings to the window

7 years agoimplemented glyph retrieval primitive for loaded font
Michael D. Lowis [Tue, 12 Sep 2017 01:28:48 +0000 (21:28 -0400)]
implemented glyph retrieval primitive for loaded font

7 years agomore minor cleanup
Michael D. Lowis [Mon, 11 Sep 2017 20:27:01 +0000 (16:27 -0400)]
more minor cleanup

7 years agominor cleanup
Michael D. Lowis [Mon, 11 Sep 2017 20:21:26 +0000 (16:21 -0400)]
minor cleanup

7 years agoadded primitive for laoding a font into an ocaml type for querying during redisplay...
Michael D. Lowis [Mon, 11 Sep 2017 20:12:27 +0000 (16:12 -0400)]
added primitive for laoding a font into an ocaml type for querying during redisplay. Still need to add logic to get the glyphs.

7 years agofixed update event to ensure correct behavior
Michael D. Lowis [Fri, 8 Sep 2017 20:27:10 +0000 (16:27 -0400)]
fixed update event to ensure correct behavior

7 years agoSketched out config option handling
Michael D. Lowis [Fri, 8 Sep 2017 17:12:55 +0000 (13:12 -0400)]
Sketched out config option handling

7 years agoAdded draw rectangle fucntion to x11
Michael D. Lowis [Thu, 7 Sep 2017 16:54:52 +0000 (12:54 -0400)]
Added draw rectangle fucntion to x11

7 years agoonshutdown wasnt a fucntion before but is now. ocaml can be super confusing
Michael D. Lowis [Thu, 7 Sep 2017 01:58:18 +0000 (21:58 -0400)]
onshutdown wasnt a fucntion before but is now. ocaml can be super confusing

7 years agofixed segfault in handling of TShutdown
Michael D. Lowis [Thu, 7 Sep 2017 01:07:53 +0000 (21:07 -0400)]
fixed segfault in handling of TShutdown

7 years agorework event handling to call dedicated functions for each event
Michael D. Lowis [Wed, 6 Sep 2017 20:31:42 +0000 (16:31 -0400)]
rework event handling to call dedicated functions for each event

7 years agoadded code to destructure events and call subfunctions for each
Michael D. Lowis [Wed, 6 Sep 2017 02:10:42 +0000 (22:10 -0400)]
added code to destructure events and call subfunctions for each

7 years agoremoved resize event in favor of Update event with width+height
Michael D. Lowis [Tue, 5 Sep 2017 20:09:25 +0000 (16:09 -0400)]
removed resize event in favor of Update event with width+height

7 years agoFixed xevent type handling in x11 primitives
Michael D. Lowis [Tue, 5 Sep 2017 14:21:39 +0000 (10:21 -0400)]
Fixed xevent type handling in x11 primitives

7 years agofleshed out event handling primitives a bit more. still dont get how to create the...
Michael D. Lowis [Mon, 4 Sep 2017 20:00:34 +0000 (16:00 -0400)]
fleshed out event handling primitives a bit more. still dont get how to create the xevent type from C but working on it.

7 years agoimplemented skeleton event loop as an x11 primitive
Michael D. Lowis [Fri, 1 Sep 2017 01:57:52 +0000 (21:57 -0400)]
implemented skeleton event loop as an x11 primitive