]> git.mdlowis.com Git - projs/tide.git/log
projs/tide.git
8 years agomajor reorginization to allow reuse of gui and edit buffer code
Michael D. Lowis [Fri, 4 Nov 2016 00:01:15 +0000 (20:01 -0400)]
major reorginization to allow reuse of gui and edit buffer code

8 years agoreorganized tests for buf.c
Michael D. Lowis [Mon, 31 Oct 2016 22:08:01 +0000 (18:08 -0400)]
reorganized tests for buf.c

8 years agoAdded more unit tests for buf.c
Michael D. Lowis [Mon, 31 Oct 2016 02:01:24 +0000 (22:01 -0400)]
Added more unit tests for buf.c

8 years agoAdded tests for buf.c
Michael D. Lowis [Fri, 28 Oct 2016 20:23:28 +0000 (16:23 -0400)]
Added tests for buf.c

8 years agoImplemented log coalescing for inserts
Michael D. Lowis [Fri, 28 Oct 2016 16:36:41 +0000 (12:36 -0400)]
Implemented log coalescing for inserts

8 years agocleaned up undo/redo logic
Michael D. Lowis [Thu, 27 Oct 2016 01:45:48 +0000 (21:45 -0400)]
cleaned up undo/redo logic

8 years agofirst crack at undo/redo. *horribly* inefficient
Michael D. Lowis [Thu, 27 Oct 2016 00:47:03 +0000 (20:47 -0400)]
first crack at undo/redo. *horribly* inefficient

8 years agoFix bigword click selection
Mike Lowis [Tue, 25 Oct 2016 20:39:03 +0000 (16:39 -0400)]
Fix bigword click selection

8 years agorenamed Dot* to Sel in preparation for a new selection management module
Mike Lowis [Tue, 25 Oct 2016 20:25:11 +0000 (16:25 -0400)]
renamed Dot* to Sel in preparation for a new selection management module

8 years agoAdded support for gcov to makefile
Mike Lowis [Tue, 25 Oct 2016 20:24:02 +0000 (16:24 -0400)]
Added support for gcov to makefile

8 years agosketch out some of the keyboard shortcuts
Michael D. Lowis [Tue, 25 Oct 2016 01:38:27 +0000 (21:38 -0400)]
sketch out some of the keyboard shortcuts

8 years agoFixed a buffer overflow for long paths in the status bar
Michael D. Lowis [Mon, 24 Oct 2016 22:57:50 +0000 (18:57 -0400)]
Fixed a buffer overflow for long paths in the status bar

8 years agoFixed a bug where successive right clicks erroneously expand search selection
Michael D. Lowis [Mon, 24 Oct 2016 22:48:38 +0000 (18:48 -0400)]
Fixed a bug where successive right clicks erroneously expand search selection

8 years agofixed a bug in search selection and updated TODO
Mike Lowis [Mon, 24 Oct 2016 14:15:57 +0000 (10:15 -0400)]
fixed a bug in search selection and updated TODO

8 years agogeneral cleanup of warnings and unused functions
Mike Lowis [Mon, 24 Oct 2016 13:18:04 +0000 (09:18 -0400)]
general cleanup of warnings and unused functions

8 years agofixed a bug where search results that are off screen don't cause the view to shift
Michael D. Lowis [Mon, 24 Oct 2016 02:16:57 +0000 (22:16 -0400)]
fixed a bug where search results that are off screen don't cause the view to shift

8 years agoMove pointer on search
Michael D. Lowis [Sun, 23 Oct 2016 04:03:42 +0000 (00:03 -0400)]
Move pointer on search

8 years agoadded logic to select big words on triple click and non alpha-numeric chars
Michael D. Lowis [Sun, 23 Oct 2016 01:27:51 +0000 (21:27 -0400)]
added logic to select big words on triple click and non alpha-numeric chars

8 years agoadded right click search functionality
Michael D. Lowis [Sun, 23 Oct 2016 00:48:20 +0000 (20:48 -0400)]
added right click search functionality

8 years agoadded command to change the dot
Michael D. Lowis [Sat, 22 Oct 2016 02:57:24 +0000 (22:57 -0400)]
added command to change the dot

8 years agoupdated todo file to remove implemented features
Michael D. Lowis [Sat, 22 Oct 2016 02:15:31 +0000 (22:15 -0400)]
updated todo file to remove implemented features

8 years agofleshed out the mouse selection logic a bit more
Michael D. Lowis [Sat, 22 Oct 2016 01:55:14 +0000 (21:55 -0400)]
fleshed out the mouse selection logic a bit more

8 years agoimplemented color logic for screen buffer and adjusted colors for the status bar
Michael D. Lowis [Fri, 21 Oct 2016 02:07:00 +0000 (22:07 -0400)]
implemented color logic for screen buffer and adjusted colors for the status bar

8 years agoreworked color handling and moved status line handling from screen.c to xedit.c
Michael D. Lowis [Thu, 20 Oct 2016 01:02:39 +0000 (21:02 -0400)]
reworked color handling and moved status line handling from screen.c to xedit.c

8 years agoreworked keyboard handling
Michael D. Lowis [Wed, 19 Oct 2016 23:50:56 +0000 (19:50 -0400)]
reworked keyboard handling

8 years agoreverted poorly conceived updates to key handling
Mike Lowis [Wed, 19 Oct 2016 13:45:27 +0000 (09:45 -0400)]
reverted poorly conceived updates to key handling

8 years agoSwitched keyboard handling to tables instead of switches
Mike Lowis [Wed, 19 Oct 2016 12:55:43 +0000 (08:55 -0400)]
Switched keyboard handling to tables instead of switches

8 years agoFixed CRLF handling and added some defines for default charset and default CRLF mode
Mike Lowis [Tue, 18 Oct 2016 19:30:18 +0000 (15:30 -0400)]
Fixed CRLF handling and added some defines for default charset and default CRLF mode

8 years agofixed compiler warning
Mike Lowis [Tue, 18 Oct 2016 12:23:47 +0000 (08:23 -0400)]
fixed compiler warning

8 years agoadded unix line ending test file
Michael D. Lowis [Tue, 18 Oct 2016 01:42:37 +0000 (21:42 -0400)]
added unix line ending test file

8 years agoImplemented CRLF handling
Michael D. Lowis [Tue, 18 Oct 2016 01:41:03 +0000 (21:41 -0400)]
Implemented CRLF handling

8 years agoFixed cursor movement and column keeping between lines
Michael D. Lowis [Sun, 16 Oct 2016 23:14:55 +0000 (19:14 -0400)]
Fixed cursor movement and column keeping between lines

8 years agoadded absolute minimum set of vi bindings for cursor movement
Michael D. Lowis [Sun, 16 Oct 2016 04:00:15 +0000 (00:00 -0400)]
added absolute minimum set of vi bindings for cursor movement

8 years agoenter key now inserts \r\n in crlf mode
Michael D. Lowis [Sun, 16 Oct 2016 02:51:17 +0000 (22:51 -0400)]
enter key now inserts \r\n in crlf mode

8 years agoFixed display and selection of multi-column unicode characters. Also cleaned up tab...
Michael D. Lowis [Sat, 15 Oct 2016 21:18:42 +0000 (17:18 -0400)]
Fixed display and selection of multi-column unicode characters. Also cleaned up tab handling logic in screen.c

8 years agoupdate screen buffer to store color information
Michael D. Lowis [Sat, 15 Oct 2016 03:47:38 +0000 (23:47 -0400)]
update screen buffer to store color information

8 years agoGeneral cleanup and commenting
Michael D. Lowis [Sat, 15 Oct 2016 02:33:30 +0000 (22:33 -0400)]
General cleanup and commenting

8 years agoAdded support for display of unicode characters
Michael D. Lowis [Sat, 15 Oct 2016 01:37:53 +0000 (21:37 -0400)]
Added support for display of unicode characters

8 years agofirst, borken, attempt at looking up fonts for unicode characters not supported by...
Mike Lowis [Tue, 11 Oct 2016 16:55:15 +0000 (12:55 -0400)]
first, borken, attempt at looking up fonts for unicode characters not supported by the default font. Performance is terrible *and* the algorithm is unsuccessful. I am unsure why

8 years agoupdated xman to squelch output and fork the program in the background with nohup
Mike Lowis [Mon, 10 Oct 2016 20:37:15 +0000 (16:37 -0400)]
updated xman to squelch output and fork the program in the background with nohup

8 years agoFixed loading of buffer contents from stdin
Mike Lowis [Mon, 10 Oct 2016 17:12:06 +0000 (13:12 -0400)]
Fixed loading of buffer contents from stdin

8 years agofix getmillis on linux
Mike Lowis [Mon, 10 Oct 2016 12:41:27 +0000 (08:41 -0400)]
fix getmillis on linux

8 years agoFix target column tracking for insert mode
Michael D. Lowis [Mon, 10 Oct 2016 01:57:55 +0000 (21:57 -0400)]
Fix target column tracking for insert mode

8 years agoAdded TargetCol updates to home and end key handlers
Michael D. Lowis [Sun, 9 Oct 2016 22:44:54 +0000 (18:44 -0400)]
Added TargetCol updates to home and end key handlers

8 years agoGeneral refactroing and cleanup
Michael D. Lowis [Sun, 9 Oct 2016 15:18:02 +0000 (11:18 -0400)]
General refactroing and cleanup

8 years agoInverted status bar color and added simple column tracking to cursor movements
Michael D. Lowis [Sun, 9 Oct 2016 13:35:26 +0000 (09:35 -0400)]
Inverted status bar color and added simple column tracking to cursor movements

8 years agoadded detection for double and triple mouse clicks
Michael D. Lowis [Sun, 9 Oct 2016 03:57:04 +0000 (23:57 -0400)]
added detection for double and triple mouse clicks

8 years agoadded content to status bar for tracking charset, modified state of buffer and path...
Michael D. Lowis [Sun, 9 Oct 2016 01:13:20 +0000 (21:13 -0400)]
added content to status bar for tracking charset, modified state of buffer and path to the file

8 years agoGeneral cleanup of charset handling. Fixed save functionality for utf8 and binary...
Michael D. Lowis [Sat, 8 Oct 2016 17:36:21 +0000 (13:36 -0400)]
General cleanup of charset handling. Fixed save functionality for utf8 and binary files

8 years agoAdded *extremely* basic character set detection logic. Only binary and UTF-8 are...
Michael D. Lowis [Sat, 8 Oct 2016 04:04:17 +0000 (00:04 -0400)]
Added *extremely* basic character set detection logic. Only binary and UTF-8 are supported at the moment

8 years agoTweaked makefile and test files to ensure the tests rebuild on updates to tested...
Mike Lowis [Fri, 7 Oct 2016 17:00:12 +0000 (13:00 -0400)]
Tweaked makefile and test files to ensure the tests rebuild on updates to tested files

8 years agoFixed unit tests for cursor movement
Mike Lowis [Fri, 7 Oct 2016 15:24:45 +0000 (11:24 -0400)]
Fixed unit tests for cursor movement

8 years agoOnly add the newline for new files. Existing files without eols should not get eols...
Mike Lowis [Fri, 7 Oct 2016 15:08:23 +0000 (11:08 -0400)]
Only add the newline for new files. Existing files without eols should not get eols added. Also fixed byrune to allow placing the cursor just after the last rune in the document

8 years agoRemoved test files from repo
Mike Lowis [Fri, 7 Oct 2016 14:53:02 +0000 (10:53 -0400)]
Removed test files from repo

8 years agoAdded ability to save file and exit. Also allow passing path to nonexistent file...
Mike Lowis [Fri, 7 Oct 2016 14:52:34 +0000 (10:52 -0400)]
Added ability to save file and exit. Also allow passing path to nonexistent file at launch

8 years agofixed the scrolling logic and line chopping issue for lines with tabs
Michael D. Lowis [Fri, 7 Oct 2016 02:36:07 +0000 (22:36 -0400)]
fixed the scrolling logic and line chopping issue for lines with tabs

8 years agoreworked cursor movements. no longer tracking column. will implement again later
Michael D. Lowis [Thu, 6 Oct 2016 23:19:28 +0000 (19:19 -0400)]
reworked cursor movements. no longer tracking column. will implement again later

8 years agoCleanup unicode handling a bit
Mike Lowis [Thu, 6 Oct 2016 16:58:11 +0000 (12:58 -0400)]
Cleanup unicode handling a bit

8 years agoAdded new mouse event data structure and moved mouse handling to it's own module
Mike Lowis [Thu, 6 Oct 2016 16:49:26 +0000 (12:49 -0400)]
Added new mouse event data structure and moved mouse handling to it's own module

8 years agoMoved keyboard controls to a separate C file to abstract from the UI handling code
Mike Lowis [Thu, 6 Oct 2016 15:37:43 +0000 (11:37 -0400)]
Moved keyboard controls to a separate C file to abstract from the UI handling code

8 years agoGeneral cleanup and commenting
Mike Lowis [Thu, 6 Oct 2016 13:08:07 +0000 (09:08 -0400)]
General cleanup and commenting

8 years agogeneral cleanup and commenting. Also added generic definitions for keys encoded as...
Michael D. Lowis [Thu, 6 Oct 2016 00:00:20 +0000 (20:00 -0400)]
general cleanup and commenting. Also added generic definitions for keys encoded as runes

8 years agoAdded basic mouse functionality to move the cursor to the clicked location
Mike Lowis [Wed, 5 Oct 2016 18:43:35 +0000 (14:43 -0400)]
Added basic mouse functionality to move the cursor to the clicked location

8 years agoAdded support for loading buffer contents from stdin and added an xman script for...
Mike Lowis [Wed, 5 Oct 2016 16:17:24 +0000 (12:17 -0400)]
Added support for loading buffer contents from stdin and added an xman script for piping man pages into the editor. This will be useful later on for jumping around man pages via plumbing

8 years agosemi-fixed chopping of chars on scroll up
Mike Lowis [Wed, 5 Oct 2016 15:54:31 +0000 (11:54 -0400)]
semi-fixed chopping of chars on scroll up

8 years agoFixed unit test build by adding an empty test suite for utf-8. This will eventually...
Mike Lowis [Wed, 5 Oct 2016 15:35:26 +0000 (11:35 -0400)]
Fixed unit test build by adding an empty test suite for utf-8. This will eventually contain tests for the utf-8 encoder/decoder

8 years agoAdded more to the TODO file
Mike Lowis [Wed, 5 Oct 2016 15:25:13 +0000 (11:25 -0400)]
Added more to the TODO file

8 years agoAdded to TODO list
Mike Lowis [Wed, 5 Oct 2016 14:46:40 +0000 (10:46 -0400)]
Added to TODO list

8 years agoAdded todo list to document features i want to implement
Mike Lowis [Wed, 5 Oct 2016 14:34:01 +0000 (10:34 -0400)]
Added todo list to document features i want to implement

8 years agoAdded some very basic support for utf-8. Combining characters don't display properly...
Mike Lowis [Wed, 5 Oct 2016 13:53:54 +0000 (09:53 -0400)]
Added some very basic support for utf-8. Combining characters don't display properly but they still read in properly

8 years agoAdded unicode sample docs
Mike Lowis [Wed, 5 Oct 2016 13:36:08 +0000 (09:36 -0400)]
Added unicode sample docs

8 years agoFixed horizontal cursor movement and init insert mode to false
Mike Lowis [Wed, 5 Oct 2016 13:10:10 +0000 (09:10 -0400)]
Fixed horizontal cursor movement and init insert mode to false

8 years agofixed tab handling for locating cursor coordinates
Mike Lowis [Wed, 5 Oct 2016 13:00:08 +0000 (09:00 -0400)]
fixed tab handling for locating cursor coordinates

8 years agoMoved insert mode flag into buffer data structure and added logic to reflow the scree...
Mike Lowis [Wed, 5 Oct 2016 12:30:41 +0000 (08:30 -0400)]
Moved insert mode flag into buffer data structure and added logic to reflow the screen every update when in insert mode

8 years agoreworked the screen buffer code so that it is only *fully* updated on screen resize...
Michael D. Lowis [Wed, 5 Oct 2016 02:52:35 +0000 (22:52 -0400)]
reworked the screen buffer code so that it is only *fully* updated on screen resize. Every other update is merely linebased

8 years agoMoved the screen scrolling logic from xedit.c to screen.c and fixed some odd behaviors
Michael D. Lowis [Wed, 5 Oct 2016 02:26:37 +0000 (22:26 -0400)]
Moved the screen scrolling logic from xedit.c to screen.c and fixed some odd behaviors

8 years agoAdded offset tracking per line in the screen buffer. Also moved the rune to display...
Mike Lowis [Tue, 4 Oct 2016 20:26:27 +0000 (16:26 -0400)]
Added offset tracking per line in the  screen buffer. Also moved the rune to display glyph logic to the screen module

8 years agoFixed tab handling for scrolling and changed cursor to highlight full width of the... screen-buf
Mike Lowis [Tue, 4 Oct 2016 15:11:43 +0000 (11:11 -0400)]
Fixed tab handling for scrolling and  changed cursor to highlight full width of the tab character

8 years agoAdded support for delete key
Mike Lowis [Tue, 4 Oct 2016 13:29:08 +0000 (09:29 -0400)]
Added support for delete key

8 years agoAdded basic editing capabilties and mode toggling
Michael D. Lowis [Tue, 4 Oct 2016 00:43:11 +0000 (20:43 -0400)]
Added basic editing capabilties and mode toggling

8 years agoImplemented scrolling and cursor handling with screen buffer
Michael D. Lowis [Mon, 3 Oct 2016 13:24:00 +0000 (09:24 -0400)]
Implemented scrolling and cursor handling with screen buffer

8 years agoadded screen.c for abstracting the display representation of the content
Mike Lowis [Wed, 28 Sep 2016 19:25:15 +0000 (15:25 -0400)]
added screen.c for abstracting the display representation of the content

8 years agoInitial implementation of screen buffer. Fixed size for now until behavior is verifie...
Mike Lowis [Tue, 27 Sep 2016 16:01:15 +0000 (12:01 -0400)]
Initial implementation of screen buffer. Fixed size for now until behavior is verified. Cursor handling needs to be rewritten.

8 years agoAdded debugging code to debug xft issue on redrawing the screen
Mike Lowis [Mon, 26 Sep 2016 20:42:28 +0000 (16:42 -0400)]
Added debugging code to debug xft issue on redrawing the screen

8 years agoAdded edit.h as dep for all .o files and fixed some missing includes
Mike Lowis [Mon, 26 Sep 2016 15:20:15 +0000 (11:20 -0400)]
Added edit.h as dep for all .o files and fixed some missing includes

8 years agoMerged changes from upstream
Mike Lowis [Mon, 26 Sep 2016 12:27:26 +0000 (08:27 -0400)]
Merged changes from upstream

8 years agoAdded large sample doc and added insert mode toggling for cursor
Michael D. Lowis [Mon, 26 Sep 2016 01:56:39 +0000 (21:56 -0400)]
Added large sample doc and added insert mode toggling for cursor

8 years agoReplaced current implementation with gap-buffer and X11 ui
Michael D. Lowis [Sun, 25 Sep 2016 21:46:43 +0000 (17:46 -0400)]
Replaced current implementation with gap-buffer and X11 ui

9 years agocursor_end now causes the cursor to stay at the end of the line when moving up or...
Mike Lowis [Thu, 7 Jan 2016 10:57:25 +0000 (10:57 +0000)]
cursor_end now causes the cursor to stay at the end of the line when moving up or down the document as well

9 years agomade cursor_end work with vertical scrolling
Michael D. Lowis [Tue, 5 Jan 2016 03:41:36 +0000 (22:41 -0500)]
made cursor_end work with vertical scrolling

9 years agoRenamed globals to be consistent
Michael D. Lowis [Tue, 5 Jan 2016 02:03:24 +0000 (21:03 -0500)]
Renamed globals to be consistent

9 years agoFixed some bugs with the cursor movement so now it behaves better
Michael D. Lowis [Tue, 5 Jan 2016 01:52:38 +0000 (20:52 -0500)]
Fixed some bugs with the cursor movement so now it behaves better

9 years agoChange from camelcase to underscores for functions
Michael D. Lowis [Tue, 5 Jan 2016 01:10:57 +0000 (20:10 -0500)]
Change from camelcase to underscores for functions

9 years agoMerge pull request #2 from abellenir/prs
Mike Lowis [Tue, 5 Jan 2016 00:38:05 +0000 (19:38 -0500)]
Merge pull request #2 from abellenir/prs

stop at last line

9 years agoMerge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:27:45 +0000 (16:27 -0500)]
Merge branch 'master' into prs

9 years agospaces instead of tabs
a bellenir [Mon, 4 Jan 2016 21:27:18 +0000 (16:27 -0500)]
spaces instead of tabs

9 years agoMerge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:22:42 +0000 (16:22 -0500)]
Merge branch 'master' into prs

9 years agodon't move cursor past last line of file
a bellenir [Mon, 4 Jan 2016 21:22:36 +0000 (16:22 -0500)]
don't move cursor past last line of file

9 years agoMerge pull request #1 from abellenir/prs
Mike Lowis [Mon, 4 Jan 2016 21:17:27 +0000 (21:17 +0000)]
Merge pull request #1 from abellenir/prs

cursor movement functions

9 years agoMerge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:14:41 +0000 (16:14 -0500)]
Merge branch 'master' into prs