]>
git.mdlowis.com Git - projs/tide.git/log
Michael D. Lowis [Sun, 26 Mar 2017 00:12:54 +0000 (20:12 -0400)]
Correct the positioning of the ruler
Michael D. Lowis [Sat, 25 Mar 2017 23:12:18 +0000 (19:12 -0400)]
added optional column ruler
Michael D. Lowis [Sat, 25 Mar 2017 18:36:11 +0000 (14:36 -0400)]
Merge changes from common-ui branch
Michael D. Lowis [Sat, 25 Mar 2017 18:27:25 +0000 (14:27 -0400)]
switch picker over to common ui
Michael D. Lowis [Fri, 24 Mar 2017 18:40:56 +0000 (14:40 -0400)]
genral cleanup
Michael D. Lowis [Fri, 24 Mar 2017 17:07:35 +0000 (13:07 -0400)]
Generalized scrollbar behavior to hopefully apply to picker and editor with ease
Michael D. Lowis [Fri, 17 Mar 2017 17:18:41 +0000 (13:18 -0400)]
Make sure files end in newlines
Michael D. Lowis [Fri, 17 Mar 2017 16:27:03 +0000 (12:27 -0400)]
Updated TODO list
Michael D. Lowis [Fri, 17 Mar 2017 16:26:50 +0000 (12:26 -0400)]
reprioritized selection logic so that blocks will be selected when the brace is the first character on a line
Michael D. Lowis [Fri, 17 Mar 2017 16:25:26 +0000 (12:25 -0400)]
searching should only change focus and warp pointer when a match is found
Michael D. Lowis [Sun, 5 Mar 2017 00:45:45 +0000 (19:45 -0500)]
added shortcut to complete tag using fuzzy picker
Michael D. Lowis [Sat, 4 Mar 2017 18:53:27 +0000 (13:53 -0500)]
Added a keyboard shortcut to search for previous search term (even if its been deleted)
Michael D. Lowis [Fri, 3 Mar 2017 21:33:44 +0000 (16:33 -0500)]
removed dead code
Michael D. Lowis [Fri, 3 Mar 2017 21:13:55 +0000 (16:13 -0500)]
reworked row limiting code to properly handle long lines that wrap in the tag region
Michael D. Lowis [Fri, 3 Mar 2017 20:30:25 +0000 (15:30 -0500)]
Fixed crash when saving an empty file
Michael D. Lowis [Fri, 3 Mar 2017 14:43:43 +0000 (09:43 -0500)]
Fixed delete functionality to make deleting by word work as expected. Also tweaked movement by word so it behaves more reasonably
Michael D. Lowis [Fri, 3 Mar 2017 01:04:39 +0000 (20:04 -0500)]
Fixed a bug in the new shortcut handler
Michael D. Lowis [Fri, 3 Mar 2017 01:02:16 +0000 (20:02 -0500)]
added shortcuts to create new line before or after the current line
Michael D. Lowis [Tue, 28 Feb 2017 15:45:15 +0000 (10:45 -0500)]
updated TODO
Michael D. Lowis [Tue, 28 Feb 2017 15:37:55 +0000 (10:37 -0500)]
Fixed issue where default crlf was being ignored for new files
Michael D. Lowis [Tue, 28 Feb 2017 14:10:38 +0000 (09:10 -0500)]
tweaked algorithm for middle click jumping through a document. still not quite right but i'll revisit it later
Michael D. Lowis [Mon, 27 Feb 2017 19:57:09 +0000 (14:57 -0500)]
refactored mouse handlers and fixed a divide by zero in scrollbar math
Michael D. Lowis [Sun, 26 Feb 2017 21:43:45 +0000 (16:43 -0500)]
corrected some of the math for drawing the scroll bar
Michael D. Lowis [Sun, 26 Feb 2017 19:55:27 +0000 (14:55 -0500)]
inverted colors of thumb and scroll region
Michael D. Lowis [Sun, 26 Feb 2017 19:50:29 +0000 (14:50 -0500)]
added logic to draw the scrollbar thumb proportional to the visible content and position in the file
Michael D. Lowis [Sun, 26 Feb 2017 00:59:10 +0000 (19:59 -0500)]
implemented scrollbar with left/right mouse button
Michael D. Lowis [Sat, 25 Feb 2017 23:14:10 +0000 (18:14 -0500)]
Fixed bug in makefile
Michael D. Lowis [Sat, 25 Feb 2017 22:18:42 +0000 (17:18 -0500)]
Added back in pointer warping logic for search
Michael D. Lowis [Fri, 24 Feb 2017 22:43:50 +0000 (17:43 -0500)]
added scrollbar to TODO list
Michael D. Lowis [Fri, 24 Feb 2017 22:13:48 +0000 (17:13 -0500)]
fixed selection bug when running a reverse selection through an external command
Michael D. Lowis [Fri, 24 Feb 2017 22:13:02 +0000 (17:13 -0500)]
Tweaked build scripts
Michael D. Lowis [Mon, 6 Feb 2017 19:43:24 +0000 (14:43 -0500)]
All tests except cut/copy/paste tests are now passing
Michael D. Lowis [Mon, 6 Feb 2017 17:30:06 +0000 (12:30 -0500)]
majority of unit tests for xedit.c back up and running with the hidden X11 window
Michael D. Lowis [Mon, 6 Feb 2017 00:13:47 +0000 (19:13 -0500)]
Checkpoint commit. unit tests back to building and running but with several confusing failures
Michael D. Lowis [Fri, 3 Feb 2017 21:23:49 +0000 (16:23 -0500)]
Restructured code to better facilitate unit testing
Michael D. Lowis [Fri, 3 Feb 2017 19:01:38 +0000 (14:01 -0500)]
Reworked unit tests to have one test executable per real executable and one catch-all for the library
Michael D. Lowis [Fri, 3 Feb 2017 14:13:34 +0000 (09:13 -0500)]
Fixed an issue where dragging with the left button would change the selection in multiple regions
Michael D. Lowis [Fri, 3 Feb 2017 14:08:10 +0000 (09:08 -0500)]
xedit.c is now 100% functional using the new win ui layer. unit tests no longer build though. Need to rethink how those work.
Michael D. Lowis [Thu, 2 Feb 2017 18:54:07 +0000 (13:54 -0500)]
Initial commit of new win module to commonize the ui
Michael D. Lowis [Thu, 2 Feb 2017 17:45:52 +0000 (12:45 -0500)]
Tweaked some existing rc functions and added the term function to launch terminal in the current dir
Michael D. Lowis [Thu, 2 Feb 2017 17:40:00 +0000 (12:40 -0500)]
Don't bother setting the callback if there is no selection owner
Michael D. Lowis [Thu, 2 Feb 2017 17:38:48 +0000 (12:38 -0500)]
fixed view api to not segfault when a view has 0 rows
Michael D. Lowis [Thu, 2 Feb 2017 17:37:56 +0000 (12:37 -0500)]
Removed unused commands left over from pre-X11 selection handling
Michael D. Lowis [Wed, 1 Feb 2017 15:45:21 +0000 (10:45 -0500)]
Added hex editing routines and a shebang to clearly mark the file as a bash script. This is mostly for documentation purposes
Michael D. Lowis [Wed, 1 Feb 2017 13:47:23 +0000 (08:47 -0500)]
rearranged TODO list
Michael D. Lowis [Wed, 1 Feb 2017 13:47:03 +0000 (08:47 -0500)]
Added rc function to add line numbers to a document
Michael D. Lowis [Wed, 1 Feb 2017 13:39:57 +0000 (08:39 -0500)]
Added ignore macro to atf to skip problematic tests
Michael D. Lowis [Wed, 1 Feb 2017 00:08:17 +0000 (19:08 -0500)]
added functions to rc file for adding and removing line numbers as well as trimming trailing whitespace
Michael D. Lowis [Tue, 31 Jan 2017 19:41:54 +0000 (14:41 -0500)]
Fixed issue with unit tests, added a new etabs function to the rc file and tweaked the edit script to load the rc file exactly once
Michael D. Lowis [Tue, 31 Jan 2017 17:03:49 +0000 (12:03 -0500)]
Fixed X11 selection protocol. Now we respond to targets requests instead of ignoring them
Michael D. Lowis [Tue, 31 Jan 2017 16:38:21 +0000 (11:38 -0500)]
Merge changes from master
Michael D. Lowis [Tue, 31 Jan 2017 13:42:08 +0000 (08:42 -0500)]
Added function to rc file for grepping the buffer
Michael D. Lowis [Tue, 31 Jan 2017 13:35:17 +0000 (08:35 -0500)]
Added example editrc file with some useful tools and tag lines
Michael D. Lowis [Tue, 31 Jan 2017 13:31:27 +0000 (08:31 -0500)]
Added logic to load an RC file in the edit wrapper script and each subshell for command execution. This allows the user to define functions that may be used from within the editor for some shells (bash) nad to configure environment variables for use in and by the editor
Michael D. Lowis [Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)]
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before looking for shortcut entries
Michael D. Lowis [Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)]
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before looking for shortcut entries
Michael D. Lowis [Mon, 30 Jan 2017 17:46:03 +0000 (12:46 -0500)]
Switch cut/copy/paste over to using X11 clipboard selection
Michael D. Lowis [Tue, 17 Jan 2017 15:29:58 +0000 (10:29 -0500)]
Added option to override tag region contents with EDITTAGS env var
Michael D. Lowis [Mon, 16 Jan 2017 15:15:25 +0000 (10:15 -0500)]
Fixed crappy implementation of chomp with slightly less crappy version of chomp
Michael D. Lowis [Thu, 12 Jan 2017 15:39:43 +0000 (10:39 -0500)]
> dumps output to the tags buffer so the output should be chomped to ensure we dont wast screen space with a blank line
Michael D. Lowis [Thu, 12 Jan 2017 14:52:12 +0000 (09:52 -0500)]
the > sigil should append the output to the tags buffer
Michael D. Lowis [Thu, 12 Jan 2017 14:30:02 +0000 (09:30 -0500)]
Fixed open at line number functionality
Michael D. Lowis [Thu, 12 Jan 2017 13:38:32 +0000 (08:38 -0500)]
Fixed unit tests that broke due to copy paste behavior change
Michael D. Lowis [Thu, 12 Jan 2017 04:24:25 +0000 (23:24 -0500)]
ctrl+d should execute the selection if there is one
Michael D. Lowis [Thu, 12 Jan 2017 04:14:40 +0000 (23:14 -0500)]
ctrl+d should select the command under cursor if nothing selected
Michael D. Lowis [Thu, 12 Jan 2017 03:36:09 +0000 (22:36 -0500)]
context sensitive selection for mouse buttons
Michael D. Lowis [Wed, 11 Jan 2017 21:22:42 +0000 (16:22 -0500)]
tweaked escpae key handling for highlighting previous selection. Still not 100% correct but it is better
Michael D. Lowis [Tue, 10 Jan 2017 13:57:00 +0000 (08:57 -0500)]
Added a tools directory using the edit wrapper script. This will allow for segragating editing utilities from the normal PATH var while still making them available in the editor
Michael D. Lowis [Tue, 10 Jan 2017 13:25:52 +0000 (08:25 -0500)]
Added brace balancing to the block selection
Michael D. Lowis [Fri, 6 Jan 2017 13:40:30 +0000 (08:40 -0500)]
Added search direction to the status line
Michael D. Lowis [Fri, 6 Jan 2017 02:26:46 +0000 (21:26 -0500)]
Shift key inverts the search direction for literal searches
Michael D. Lowis [Thu, 5 Jan 2017 18:28:16 +0000 (13:28 -0500)]
Tweaked > sigil to dump command output into the tags region. This allows it to be used for subsequent commands
Michael D. Lowis [Thu, 5 Jan 2017 17:59:46 +0000 (12:59 -0500)]
Undo and Redo tags now always apply to the edit region. ctrl+z + ctrl+y still apply to the focused region
Michael D. Lowis [Thu, 5 Jan 2017 17:46:50 +0000 (12:46 -0500)]
Combined libx and libedit
Michael D. Lowis [Tue, 3 Jan 2017 13:38:19 +0000 (08:38 -0500)]
Explictly maerk buf.c as requiring posix APIs (truncate)
Michael D. Lowis [Mon, 2 Jan 2017 04:04:43 +0000 (23:04 -0500)]
shift+click should extend the selection to the clicked location
Michael D. Lowis [Mon, 2 Jan 2017 03:47:46 +0000 (22:47 -0500)]
ctrl+f warps pointer to the next match
Michael D. Lowis [Mon, 2 Jan 2017 03:17:18 +0000 (22:17 -0500)]
rename charset.c to filetype.c
Michael D. Lowis [Sun, 1 Jan 2017 04:22:21 +0000 (23:22 -0500)]
Presence of tabs in the opened file turns of expand_tabs. This should do the right thing in most cases. for everything else theres the Tabs tagcommand
Michael D. Lowis [Sun, 1 Jan 2017 02:53:05 +0000 (21:53 -0500)]
switched stdio usage over to mmap and unix standard io
Michael D. Lowis [Thu, 22 Dec 2016 21:51:33 +0000 (16:51 -0500)]
Fixed infinite loop in indent/unindent code
Michael D. Lowis [Thu, 22 Dec 2016 18:19:37 +0000 (13:19 -0500)]
Implemented a fix for window managers being able to kill the editor with no warning
Michael D. Lowis [Thu, 22 Dec 2016 14:07:34 +0000 (09:07 -0500)]
Escape now clears the selection if one already exists. Otherwise it will select the previously inserted text
Michael D. Lowis [Thu, 22 Dec 2016 02:29:45 +0000 (21:29 -0500)]
fixed issue where scrolling calls a null pointer
Michael D. Lowis [Thu, 22 Dec 2016 02:21:42 +0000 (21:21 -0500)]
fixed middle click bug on whitespace
Michael D. Lowis [Wed, 21 Dec 2016 20:20:35 +0000 (15:20 -0500)]
update TODO list
Michael D. Lowis [Wed, 21 Dec 2016 20:14:07 +0000 (15:14 -0500)]
Updated TODO list
Michael D. Lowis [Wed, 21 Dec 2016 17:51:42 +0000 (12:51 -0500)]
Focus follows mouse between regions and the initial content in the tag line can no longer be undone
Michael D. Lowis [Wed, 21 Dec 2016 03:13:51 +0000 (22:13 -0500)]
undo/redo now select the re-inserted text
Michael D. Lowis [Wed, 21 Dec 2016 02:26:58 +0000 (21:26 -0500)]
'\!' sigil should not select anything
Michael D. Lowis [Tue, 20 Dec 2016 23:45:25 +0000 (18:45 -0500)]
add shortcut to open a new window
Michael D. Lowis [Tue, 20 Dec 2016 23:41:30 +0000 (18:41 -0500)]
tweaked the selection handling for command execution
Michael D. Lowis [Tue, 20 Dec 2016 23:02:06 +0000 (18:02 -0500)]
Fixed broken backspace code
Michael D. Lowis [Tue, 20 Dec 2016 21:06:09 +0000 (16:06 -0500)]
copyindent now literally copies the indent characters from the previous line. This allows for better handling of non-standard indents as well as mixing of tab and space characters
Michael D. Lowis [Tue, 20 Dec 2016 13:35:13 +0000 (08:35 -0500)]
Fixed a bug when indenting reverse selection
Michael D. Lowis [Mon, 19 Dec 2016 21:08:34 +0000 (16:08 -0500)]
reverted changes to risword. Instead broke out the extra symbols into separate functions for use based on context
Michael D. Lowis [Mon, 19 Dec 2016 20:29:52 +0000 (15:29 -0500)]
Reworked undo/redo logic to allow for batch operations. The first implemented batch operation is a change or replacement. This constitutes inserting text with a non-empty selection. This will log a delete and an insert with the same transaction id allowing both operations to be undone and redone as if they were a single operation
Michael D. Lowis [Fri, 16 Dec 2016 20:40:46 +0000 (15:40 -0500)]
Fix tests for the new default CRLF mode
Michael D. Lowis [Fri, 16 Dec 2016 17:53:55 +0000 (12:53 -0500)]
Change default line ending to LF
Michael D. Lowis [Fri, 16 Dec 2016 17:48:25 +0000 (12:48 -0500)]
Added an Eol tag which toggles the line ending mode between CRLF and LF