]>
git.mdlowis.com Git - projs/tide.git/log
Michael D. Lowis [Thu, 4 May 2017 18:03:35 +0000 (14:03 -0400)]
use XEventsQueued to work around an issue where selection requests are sometimes not delivered promptly until some other event occurs.
Michael D. Lowis [Wed, 3 May 2017 12:56:36 +0000 (08:56 -0400)]
Documented command execution sigils in xedit
Michael D. Lowis [Wed, 3 May 2017 12:25:11 +0000 (08:25 -0400)]
Tweaked xedit documentation and filled out section detailing selection rules
Michael D. Lowis [Wed, 3 May 2017 01:01:00 +0000 (21:01 -0400)]
resize buffer on file load for efficiency
Michael D. Lowis [Wed, 3 May 2017 00:09:42 +0000 (20:09 -0400)]
Changed ctrl+h to highlight the thing under cursor rather than backspace
Michael D. Lowis [Tue, 2 May 2017 20:02:20 +0000 (16:02 -0400)]
Fixed a bug in crlf handling for keyboard shortcuts
Michael D. Lowis [Tue, 2 May 2017 18:50:53 +0000 (14:50 -0400)]
cleanup
Michael D. Lowis [Tue, 2 May 2017 17:30:44 +0000 (13:30 -0400)]
Added xcpd to clean task
Michael D. Lowis [Tue, 2 May 2017 17:28:08 +0000 (13:28 -0400)]
cleanup some unused utility files
Michael D. Lowis [Tue, 2 May 2017 17:21:29 +0000 (13:21 -0400)]
undo/redo should only center selection if the selection was off screen.
Michael D. Lowis [Tue, 2 May 2017 17:13:51 +0000 (13:13 -0400)]
Fixed shutdown behavior
Michael D. Lowis [Tue, 2 May 2017 16:52:48 +0000 (12:52 -0400)]
Tweaked redraw logic to ensure content is update *after* layout so that it can be done according to window/view size
Michael D. Lowis [Tue, 2 May 2017 16:19:28 +0000 (12:19 -0400)]
added a flush to initial draw to eliminate a lag at startup
Michael D. Lowis [Tue, 2 May 2017 16:13:55 +0000 (12:13 -0400)]
update all apps to use new layout/update hooks and fixed some segfaults in xpick
Michael D. Lowis [Tue, 2 May 2017 15:23:12 +0000 (11:23 -0400)]
Fixed bug in focus tracking that caused unnecessary redraws
Michael D. Lowis [Tue, 2 May 2017 11:58:48 +0000 (07:58 -0400)]
Tweaked pointer tracking to only redraw if the focus has indeeed changed
Michael D. Lowis [Tue, 2 May 2017 01:10:26 +0000 (21:10 -0400)]
updated logic for focus follows mouse to not override a change of focus from keyboard shortcut
Michael D. Lowis [Tue, 2 May 2017 00:14:51 +0000 (20:14 -0400)]
Heavily reworked event loop. Hopefully the thrashing stops here...
Michael D. Lowis [Mon, 1 May 2017 19:43:53 +0000 (15:43 -0400)]
ugh. try using xquerypointer instead of xflush to flush events *and* update pointer location
Michael D. Lowis [Mon, 1 May 2017 19:31:44 +0000 (15:31 -0400)]
really crappy optimization for pointer tracking. probably not the right way to do it but performance seems better...
Michael D. Lowis [Mon, 1 May 2017 19:10:27 +0000 (15:10 -0400)]
tweaked redraw logic to call onupdate before and after layout. This is a stop gap until i rework the redraw logic
Michael D. Lowis [Mon, 1 May 2017 14:21:01 +0000 (10:21 -0400)]
Moved font cache size config option to edit.h with the other tunable items
Michael D. Lowis [Mon, 1 May 2017 00:53:34 +0000 (20:53 -0400)]
Added GoTo tag to mirror ctrl+g functionality
Michael D. Lowis [Mon, 1 May 2017 00:32:01 +0000 (20:32 -0400)]
Added SaveAs tag to allow saving the file with a new name
Michael D. Lowis [Sun, 30 Apr 2017 20:41:29 +0000 (16:41 -0400)]
Put back in the flush after drawing. without that input events like the mouse can take way too long
Michael D. Lowis [Sun, 30 Apr 2017 20:36:11 +0000 (16:36 -0400)]
More optimization of x11 events and network traffic. No longer calling flush explicitly alos eliminated some unused events
Michael D. Lowis [Sun, 30 Apr 2017 18:12:51 +0000 (14:12 -0400)]
Optimize motion events by allowing the server to skip intermediate move events. Also potentially fixed an issue with selection callbacks not happening promptly when we own the selection. More testing required for that
Michael D. Lowis [Thu, 27 Apr 2017 16:10:13 +0000 (12:10 -0400)]
reworked event loop for x11 to have a 100ms timeout. This allows us to refresh periodically even when no X events have occurred
Michael D. Lowis [Thu, 13 Apr 2017 23:46:58 +0000 (19:46 -0400)]
rework edit script to support absolute paths
Michael D. Lowis [Wed, 5 Apr 2017 13:42:56 +0000 (09:42 -0400)]
Added xcpd to list of installed binaries
Michael D. Lowis [Wed, 5 Apr 2017 00:15:31 +0000 (20:15 -0400)]
Persiste the clipboard selection on quit if we own it
Michael D. Lowis [Tue, 4 Apr 2017 19:50:23 +0000 (15:50 -0400)]
Fixed implementation bug in right-click search
Michael D. Lowis [Tue, 4 Apr 2017 14:51:52 +0000 (10:51 -0400)]
removed some redundant code in view.c
Michael D. Lowis [Tue, 4 Apr 2017 14:12:44 +0000 (10:12 -0400)]
Tweaked right click behavior to always search the content region
Michael D. Lowis [Tue, 4 Apr 2017 01:29:51 +0000 (21:29 -0400)]
updated xedit man page
Michael D. Lowis [Mon, 3 Apr 2017 23:53:00 +0000 (19:53 -0400)]
updated xedit man page
Michael D. Lowis [Mon, 3 Apr 2017 02:00:12 +0000 (22:00 -0400)]
Updated man page documentation for edit and xedit
Michael D. Lowis [Sun, 2 Apr 2017 19:12:49 +0000 (15:12 -0400)]
jumpto now uses sync view to ensure we dont overscroll. Eventually sync_view should be made more efficient by doing a quick jump to an offset and then slide into place from there. for now this will be usable on all but the largest files
Michael D. Lowis [Sun, 2 Apr 2017 18:51:36 +0000 (14:51 -0400)]
don't reset the cursor to zero when setext is called
Michael D. Lowis [Sun, 2 Apr 2017 01:25:04 +0000 (21:25 -0400)]
fixed bug in tag completion shortcut
Michael D. Lowis [Wed, 29 Mar 2017 13:51:50 +0000 (09:51 -0400)]
Make sure markdown docs are actually markdown compatible
Michael D. Lowis [Wed, 29 Mar 2017 13:50:04 +0000 (09:50 -0400)]
Make sure markdown docs are actually markdown compatible
Michael D. Lowis [Tue, 28 Mar 2017 01:37:15 +0000 (21:37 -0400)]
started initial work on xedit man page
Michael D. Lowis [Tue, 28 Mar 2017 00:46:28 +0000 (20:46 -0400)]
Temporary fix for overlong status lines
Michael D. Lowis [Tue, 28 Mar 2017 00:39:30 +0000 (20:39 -0400)]
added logic to open target files with working dir set to root of containing projects
Michael D. Lowis [Mon, 27 Mar 2017 15:13:55 +0000 (11:13 -0400)]
Updated edit and xpick man pages
Michael D. Lowis [Mon, 27 Mar 2017 13:35:18 +0000 (09:35 -0400)]
Updated edit script to open files relative to the dir containing the project's ctags file
Michael D. Lowis [Mon, 27 Mar 2017 12:30:18 +0000 (08:30 -0400)]
Updated todo list
Michael D. Lowis [Mon, 27 Mar 2017 12:29:56 +0000 (08:29 -0400)]
Updated win.c api to allow creating a dialog or a normal window
Michael D. Lowis [Mon, 27 Mar 2017 01:57:46 +0000 (21:57 -0400)]
updated TODO list
Michael D. Lowis [Mon, 27 Mar 2017 01:56:10 +0000 (21:56 -0400)]
added more documentation to edit man page
Michael D. Lowis [Mon, 27 Mar 2017 00:48:28 +0000 (20:48 -0400)]
added man pages stubs and moved previous docs to testdocs
Michael D. Lowis [Sun, 26 Mar 2017 00:22:35 +0000 (20:22 -0400)]
selecting last line should not select past end of buffer on line-select
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