]>
git.mdlowis.com Git - projs/tide.git/log
Mike Lowis [Mon, 24 Oct 2016 13:18:04 +0000 (09:18 -0400)]
general cleanup of warnings and unused functions
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
Michael D. Lowis [Sun, 23 Oct 2016 04:03:42 +0000 (00:03 -0400)]
Move pointer on search
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
Michael D. Lowis [Sun, 23 Oct 2016 00:48:20 +0000 (20:48 -0400)]
added right click search functionality
Michael D. Lowis [Sat, 22 Oct 2016 02:57:24 +0000 (22:57 -0400)]
added command to change the dot
Michael D. Lowis [Sat, 22 Oct 2016 02:15:31 +0000 (22:15 -0400)]
updated todo file to remove implemented features
Michael D. Lowis [Sat, 22 Oct 2016 01:55:14 +0000 (21:55 -0400)]
fleshed out the mouse selection logic a bit more
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
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
Michael D. Lowis [Wed, 19 Oct 2016 23:50:56 +0000 (19:50 -0400)]
reworked keyboard handling
Mike Lowis [Wed, 19 Oct 2016 13:45:27 +0000 (09:45 -0400)]
reverted poorly conceived updates to key handling
Mike Lowis [Wed, 19 Oct 2016 12:55:43 +0000 (08:55 -0400)]
Switched keyboard handling to tables instead of switches
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
Mike Lowis [Tue, 18 Oct 2016 12:23:47 +0000 (08:23 -0400)]
fixed compiler warning
Michael D. Lowis [Tue, 18 Oct 2016 01:42:37 +0000 (21:42 -0400)]
added unix line ending test file
Michael D. Lowis [Tue, 18 Oct 2016 01:41:03 +0000 (21:41 -0400)]
Implemented CRLF handling
Michael D. Lowis [Sun, 16 Oct 2016 23:14:55 +0000 (19:14 -0400)]
Fixed cursor movement and column keeping between lines
Michael D. Lowis [Sun, 16 Oct 2016 04:00:15 +0000 (00:00 -0400)]
added absolute minimum set of vi bindings for cursor movement
Michael D. Lowis [Sun, 16 Oct 2016 02:51:17 +0000 (22:51 -0400)]
enter key now inserts \r\n in crlf mode
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
Michael D. Lowis [Sat, 15 Oct 2016 03:47:38 +0000 (23:47 -0400)]
update screen buffer to store color information
Michael D. Lowis [Sat, 15 Oct 2016 02:33:30 +0000 (22:33 -0400)]
General cleanup and commenting
Michael D. Lowis [Sat, 15 Oct 2016 01:37:53 +0000 (21:37 -0400)]
Added support for display of unicode characters
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
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
Mike Lowis [Mon, 10 Oct 2016 17:12:06 +0000 (13:12 -0400)]
Fixed loading of buffer contents from stdin
Mike Lowis [Mon, 10 Oct 2016 12:41:27 +0000 (08:41 -0400)]
fix getmillis on linux
Michael D. Lowis [Mon, 10 Oct 2016 01:57:55 +0000 (21:57 -0400)]
Fix target column tracking for insert mode
Michael D. Lowis [Sun, 9 Oct 2016 22:44:54 +0000 (18:44 -0400)]
Added TargetCol updates to home and end key handlers
Michael D. Lowis [Sun, 9 Oct 2016 15:18:02 +0000 (11:18 -0400)]
General refactroing and cleanup
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
Michael D. Lowis [Sun, 9 Oct 2016 03:57:04 +0000 (23:57 -0400)]
added detection for double and triple mouse clicks
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
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
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
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
Mike Lowis [Fri, 7 Oct 2016 15:24:45 +0000 (11:24 -0400)]
Fixed unit tests for cursor movement
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
Mike Lowis [Fri, 7 Oct 2016 14:53:02 +0000 (10:53 -0400)]
Removed test files from repo
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
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
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
Mike Lowis [Thu, 6 Oct 2016 16:58:11 +0000 (12:58 -0400)]
Cleanup unicode handling a bit
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
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
Mike Lowis [Thu, 6 Oct 2016 13:08:07 +0000 (09:08 -0400)]
General cleanup and commenting
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
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
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
Mike Lowis [Wed, 5 Oct 2016 15:54:31 +0000 (11:54 -0400)]
semi-fixed chopping of chars on scroll up
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
Mike Lowis [Wed, 5 Oct 2016 15:25:13 +0000 (11:25 -0400)]
Added more to the TODO file
Mike Lowis [Wed, 5 Oct 2016 14:46:40 +0000 (10:46 -0400)]
Added to TODO list
Mike Lowis [Wed, 5 Oct 2016 14:34:01 +0000 (10:34 -0400)]
Added todo list to document features i want to implement
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
Mike Lowis [Wed, 5 Oct 2016 13:36:08 +0000 (09:36 -0400)]
Added unicode sample docs
Mike Lowis [Wed, 5 Oct 2016 13:10:10 +0000 (09:10 -0400)]
Fixed horizontal cursor movement and init insert mode to false
Mike Lowis [Wed, 5 Oct 2016 13:00:08 +0000 (09:00 -0400)]
fixed tab handling for locating cursor coordinates
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
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
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
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
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
Mike Lowis [Tue, 4 Oct 2016 13:29:08 +0000 (09:29 -0400)]
Added support for delete key
Michael D. Lowis [Tue, 4 Oct 2016 00:43:11 +0000 (20:43 -0400)]
Added basic editing capabilties and mode toggling
Michael D. Lowis [Mon, 3 Oct 2016 13:24:00 +0000 (09:24 -0400)]
Implemented scrolling and cursor handling with screen buffer
Mike Lowis [Wed, 28 Sep 2016 19:25:15 +0000 (15:25 -0400)]
added screen.c for abstracting the display representation of the content
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.
Mike Lowis [Mon, 26 Sep 2016 20:42:28 +0000 (16:42 -0400)]
Added debugging code to debug xft issue on redrawing the screen
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
Mike Lowis [Mon, 26 Sep 2016 12:27:26 +0000 (08:27 -0400)]
Merged changes from upstream
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
Michael D. Lowis [Sun, 25 Sep 2016 21:46:43 +0000 (17:46 -0400)]
Replaced current implementation with gap-buffer and X11 ui
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
Michael D. Lowis [Tue, 5 Jan 2016 03:41:36 +0000 (22:41 -0500)]
made cursor_end work with vertical scrolling
Michael D. Lowis [Tue, 5 Jan 2016 02:03:24 +0000 (21:03 -0500)]
Renamed globals to be consistent
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
Michael D. Lowis [Tue, 5 Jan 2016 01:10:57 +0000 (20:10 -0500)]
Change from camelcase to underscores for functions
Mike Lowis [Tue, 5 Jan 2016 00:38:05 +0000 (19:38 -0500)]
Merge pull request #2 from abellenir/prs
stop at last line
a bellenir [Mon, 4 Jan 2016 21:27:45 +0000 (16:27 -0500)]
Merge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:27:18 +0000 (16:27 -0500)]
spaces instead of tabs
a bellenir [Mon, 4 Jan 2016 21:22:42 +0000 (16:22 -0500)]
Merge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:22:36 +0000 (16:22 -0500)]
don't move cursor past last line of file
Mike Lowis [Mon, 4 Jan 2016 21:17:27 +0000 (21:17 +0000)]
Merge pull request #1 from abellenir/prs
cursor movement functions
a bellenir [Mon, 4 Jan 2016 21:14:41 +0000 (16:14 -0500)]
Merge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:14:26 +0000 (16:14 -0500)]
remember cursor's desired column
a bellenir [Mon, 4 Jan 2016 21:08:08 +0000 (16:08 -0500)]
Merge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 21:07:59 +0000 (16:07 -0500)]
+cursorEnd
a bellenir [Mon, 4 Jan 2016 21:04:32 +0000 (16:04 -0500)]
reorganize functions
a bellenir [Mon, 4 Jan 2016 20:17:07 +0000 (15:17 -0500)]
Merge branch 'master' into prs
a bellenir [Mon, 4 Jan 2016 20:16:38 +0000 (15:16 -0500)]
rename binary to original name to facilitate merging upstream
a bellenir [Mon, 4 Jan 2016 20:15:14 +0000 (15:15 -0500)]
0 to move to beginning of line
a bellenir [Mon, 4 Jan 2016 19:48:29 +0000 (14:48 -0500)]
Merge branch 'master' of https://github.com/mikedlowis-prototypes/editor
a bellenir [Mon, 4 Jan 2016 19:48:20 +0000 (14:48 -0500)]
break cursor movement out into functions
a bellenir [Mon, 4 Jan 2016 19:31:57 +0000 (14:31 -0500)]
Merge branch 'master' of https://github.com/mikedlowis-prototypes/editor
Mike Lowis [Mon, 4 Jan 2016 14:45:35 +0000 (14:45 +0000)]
Fixed handling of blank lines with cursor
Mike Lowis [Mon, 4 Jan 2016 14:31:38 +0000 (14:31 +0000)]
Cap cursor at end of visible text of current line
Mike Lowis [Mon, 4 Jan 2016 13:25:21 +0000 (13:25 +0000)]
Implemented first-pass at horizontal scrolling with cursor
a bellenir [Sat, 2 Jan 2016 22:23:22 +0000 (17:23 -0500)]
Merge branch 'master' of https://github.com/mikedlowis-prototypes/editor