]> git.mdlowis.com Git - projs/tide.git/log
projs/tide.git
8 years agouse XEventsQueued to work around an issue where selection requests are sometimes...
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.

8 years agoDocumented command execution sigils in xedit
Michael D. Lowis [Wed, 3 May 2017 12:56:36 +0000 (08:56 -0400)]
Documented command execution sigils in xedit

8 years agoTweaked xedit documentation and filled out section detailing selection rules
Michael D. Lowis [Wed, 3 May 2017 12:25:11 +0000 (08:25 -0400)]
Tweaked xedit documentation and filled out section detailing selection rules

8 years agoresize buffer on file load for efficiency
Michael D. Lowis [Wed, 3 May 2017 01:01:00 +0000 (21:01 -0400)]
resize buffer on file load for efficiency

8 years agoChanged ctrl+h to highlight the thing under cursor rather than backspace
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

8 years agoFixed a bug in crlf handling for keyboard shortcuts
Michael D. Lowis [Tue, 2 May 2017 20:02:20 +0000 (16:02 -0400)]
Fixed a bug in crlf handling for keyboard shortcuts

8 years agocleanup
Michael D. Lowis [Tue, 2 May 2017 18:50:53 +0000 (14:50 -0400)]
cleanup

8 years agoAdded xcpd to clean task
Michael D. Lowis [Tue, 2 May 2017 17:30:44 +0000 (13:30 -0400)]
Added xcpd to clean task

8 years agocleanup some unused utility files
Michael D. Lowis [Tue, 2 May 2017 17:28:08 +0000 (13:28 -0400)]
cleanup some unused utility files

8 years agoundo/redo should only center selection if the selection was off screen.
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.

8 years agoFixed shutdown behavior
Michael D. Lowis [Tue, 2 May 2017 17:13:51 +0000 (13:13 -0400)]
Fixed shutdown behavior

8 years agoTweaked redraw logic to ensure content is update *after* layout so that it can be...
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

8 years agoadded a flush to initial draw to eliminate a lag at startup
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

8 years agoupdate all apps to use new layout/update hooks and fixed some segfaults in xpick
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

8 years agoFixed bug in focus tracking that caused unnecessary redraws
Michael D. Lowis [Tue, 2 May 2017 15:23:12 +0000 (11:23 -0400)]
Fixed bug in focus tracking that caused unnecessary redraws

8 years agoTweaked pointer tracking to only redraw if the focus has indeeed changed
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

8 years agoupdated logic for focus follows mouse to not override a change of focus from keyboard...
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

8 years agoHeavily reworked event loop. Hopefully the thrashing stops here...
Michael D. Lowis [Tue, 2 May 2017 00:14:51 +0000 (20:14 -0400)]
Heavily reworked event loop. Hopefully the thrashing stops here...

8 years agough. try using xquerypointer instead of xflush to flush events *and* update pointer...
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

8 years agoreally crappy optimization for pointer tracking. probably not the right way to do...
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...

8 years agotweaked redraw logic to call onupdate before and after layout. This is a stop gap...
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

8 years agoMoved font cache size config option to edit.h with the other tunable items
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

8 years agoAdded GoTo tag to mirror ctrl+g functionality
Michael D. Lowis [Mon, 1 May 2017 00:53:34 +0000 (20:53 -0400)]
Added GoTo tag to mirror ctrl+g functionality

8 years agoAdded SaveAs tag to allow saving the file with a new name
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

8 years agoPut back in the flush after drawing. without that input events like the mouse can...
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

8 years agoMore optimization of x11 events and network traffic. No longer calling flush explicit...
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

8 years agoOptimize motion events by allowing the server to skip intermediate move events. Also...
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

8 years agoreworked event loop for x11 to have a 100ms timeout. This allows us to refresh period...
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

8 years agorework edit script to support absolute paths
Michael D. Lowis [Thu, 13 Apr 2017 23:46:58 +0000 (19:46 -0400)]
rework edit script to support absolute paths

8 years agoAdded xcpd to list of installed binaries
Michael D. Lowis [Wed, 5 Apr 2017 13:42:56 +0000 (09:42 -0400)]
Added xcpd to list of installed binaries

8 years agoPersiste the clipboard selection on quit if we own it
Michael D. Lowis [Wed, 5 Apr 2017 00:15:31 +0000 (20:15 -0400)]
Persiste the clipboard selection on quit if we own it

8 years agoFixed implementation bug in right-click search
Michael D. Lowis [Tue, 4 Apr 2017 19:50:23 +0000 (15:50 -0400)]
Fixed implementation bug in right-click search

8 years agoremoved some redundant code in view.c
Michael D. Lowis [Tue, 4 Apr 2017 14:51:52 +0000 (10:51 -0400)]
removed some redundant code in view.c

8 years agoTweaked right click behavior to always search the content region
Michael D. Lowis [Tue, 4 Apr 2017 14:12:44 +0000 (10:12 -0400)]
Tweaked right click behavior to always search the content region

8 years agoupdated xedit man page
Michael D. Lowis [Tue, 4 Apr 2017 01:29:51 +0000 (21:29 -0400)]
updated xedit man page

8 years agoupdated xedit man page
Michael D. Lowis [Mon, 3 Apr 2017 23:53:00 +0000 (19:53 -0400)]
updated xedit man page

8 years agoUpdated man page documentation for edit and xedit
Michael D. Lowis [Mon, 3 Apr 2017 02:00:12 +0000 (22:00 -0400)]
Updated man page documentation for edit and xedit

8 years agojumpto now uses sync view to ensure we dont overscroll. Eventually sync_view should...
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

8 years agodon't reset the cursor to zero when setext is called
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

8 years agofixed bug in tag completion shortcut
Michael D. Lowis [Sun, 2 Apr 2017 01:25:04 +0000 (21:25 -0400)]
fixed bug in tag completion shortcut

8 years agoMake sure markdown docs are actually markdown compatible
Michael D. Lowis [Wed, 29 Mar 2017 13:51:50 +0000 (09:51 -0400)]
Make sure markdown docs are actually markdown compatible

8 years agoMake 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

8 years agostarted initial work on xedit man page
Michael D. Lowis [Tue, 28 Mar 2017 01:37:15 +0000 (21:37 -0400)]
started initial work on xedit man page

8 years agoTemporary fix for overlong status lines
Michael D. Lowis [Tue, 28 Mar 2017 00:46:28 +0000 (20:46 -0400)]
Temporary fix for overlong status lines

8 years agoadded logic to open target files with working dir set to root of containing projects
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

8 years agoUpdated edit and xpick man pages
Michael D. Lowis [Mon, 27 Mar 2017 15:13:55 +0000 (11:13 -0400)]
Updated edit and xpick man pages

8 years agoUpdated edit script to open files relative to the dir containing the project's ctags...
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

8 years agoUpdated todo list
Michael D. Lowis [Mon, 27 Mar 2017 12:30:18 +0000 (08:30 -0400)]
Updated todo list

8 years agoUpdated win.c api to allow creating a dialog or a normal window
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

8 years agoupdated TODO list
Michael D. Lowis [Mon, 27 Mar 2017 01:57:46 +0000 (21:57 -0400)]
updated TODO list

8 years agoadded more documentation to edit man page
Michael D. Lowis [Mon, 27 Mar 2017 01:56:10 +0000 (21:56 -0400)]
added more documentation to edit man page

8 years agoadded man pages stubs and moved previous docs to testdocs
Michael D. Lowis [Mon, 27 Mar 2017 00:48:28 +0000 (20:48 -0400)]
added man pages stubs and moved previous docs to testdocs

8 years agoselecting last line should not select past end of buffer on line-select
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

8 years agoCorrect the positioning of the ruler
Michael D. Lowis [Sun, 26 Mar 2017 00:12:54 +0000 (20:12 -0400)]
Correct the positioning of the ruler

8 years agoadded optional column ruler
Michael D. Lowis [Sat, 25 Mar 2017 23:12:18 +0000 (19:12 -0400)]
added optional column ruler

8 years agoMerge changes from common-ui branch
Michael D. Lowis [Sat, 25 Mar 2017 18:36:11 +0000 (14:36 -0400)]
Merge changes from common-ui branch

8 years agoswitch picker over to common ui common-ui
Michael D. Lowis [Sat, 25 Mar 2017 18:27:25 +0000 (14:27 -0400)]
switch picker over to common ui

8 years agogenral cleanup
Michael D. Lowis [Fri, 24 Mar 2017 18:40:56 +0000 (14:40 -0400)]
genral cleanup

8 years agoGeneralized scrollbar behavior to hopefully apply to picker and editor with ease
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

8 years agoMake sure files end in newlines
Michael D. Lowis [Fri, 17 Mar 2017 17:18:41 +0000 (13:18 -0400)]
Make sure files end in newlines

8 years agoUpdated TODO list
Michael D. Lowis [Fri, 17 Mar 2017 16:27:03 +0000 (12:27 -0400)]
Updated TODO list

8 years agoreprioritized selection logic so that blocks will be selected when the brace is the...
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

8 years agosearching should only change focus and warp pointer when a match is found
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

8 years agoadded shortcut to complete tag using fuzzy picker
Michael D. Lowis [Sun, 5 Mar 2017 00:45:45 +0000 (19:45 -0500)]
added shortcut to complete tag using fuzzy picker

8 years agoAdded a keyboard shortcut to search for previous search term (even if its been deleted)
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)

8 years agoremoved dead code
Michael D. Lowis [Fri, 3 Mar 2017 21:33:44 +0000 (16:33 -0500)]
removed dead code

8 years agoreworked row limiting code to properly handle long lines that wrap in the tag region
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

8 years agoFixed crash when saving an empty file
Michael D. Lowis [Fri, 3 Mar 2017 20:30:25 +0000 (15:30 -0500)]
Fixed crash when  saving an empty file

8 years agoFixed delete functionality to make deleting by word work as expected. Also tweaked...
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

8 years agoFixed a bug in the new shortcut handler
Michael D. Lowis [Fri, 3 Mar 2017 01:04:39 +0000 (20:04 -0500)]
Fixed a bug in the new shortcut handler

8 years agoadded shortcuts to create new line before or after the current line
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

8 years agoupdated TODO
Michael D. Lowis [Tue, 28 Feb 2017 15:45:15 +0000 (10:45 -0500)]
updated TODO

8 years agoFixed issue where default crlf was being ignored for new files
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

8 years agotweaked algorithm for middle click jumping through a document. still not quite right...
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

8 years agorefactored mouse handlers and fixed a divide by zero in scrollbar math
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

8 years agocorrected some of the math for drawing the scroll bar
Michael D. Lowis [Sun, 26 Feb 2017 21:43:45 +0000 (16:43 -0500)]
corrected some of the math for drawing the scroll bar

8 years agoinverted colors of thumb and scroll region
Michael D. Lowis [Sun, 26 Feb 2017 19:55:27 +0000 (14:55 -0500)]
inverted colors of thumb and scroll region

8 years agoadded logic to draw the scrollbar thumb proportional to the visible content and posit...
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

8 years agoimplemented scrollbar with left/right mouse button
Michael D. Lowis [Sun, 26 Feb 2017 00:59:10 +0000 (19:59 -0500)]
implemented scrollbar with left/right mouse button

8 years agoFixed bug in makefile
Michael D. Lowis [Sat, 25 Feb 2017 23:14:10 +0000 (18:14 -0500)]
Fixed bug in makefile

8 years agoAdded back in pointer warping logic for search
Michael D. Lowis [Sat, 25 Feb 2017 22:18:42 +0000 (17:18 -0500)]
Added back in pointer warping logic for search

8 years agoadded scrollbar to TODO list
Michael D. Lowis [Fri, 24 Feb 2017 22:43:50 +0000 (17:43 -0500)]
added scrollbar to TODO list

8 years agofixed selection bug when running a reverse selection through an external command
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

8 years agoTweaked build scripts
Michael D. Lowis [Fri, 24 Feb 2017 22:13:02 +0000 (17:13 -0500)]
Tweaked build scripts

8 years agoAll tests except cut/copy/paste tests are now passing
Michael D. Lowis [Mon, 6 Feb 2017 19:43:24 +0000 (14:43 -0500)]
All tests except cut/copy/paste tests are now passing

8 years agomajority of unit tests for xedit.c back up and running with the hidden X11 window
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

8 years agoCheckpoint commit. unit tests back to building and running but with several confusing...
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

8 years agoRestructured code to better facilitate unit testing
Michael D. Lowis [Fri, 3 Feb 2017 21:23:49 +0000 (16:23 -0500)]
Restructured code to better facilitate unit testing

8 years agoReworked unit tests to have one test executable per real executable and one catch...
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

8 years agoFixed an issue where dragging with the left button would change the selection in...
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

8 years agoxedit.c is now 100% functional using the new win ui layer. unit tests no longer build...
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.

8 years agoInitial commit of new win module to commonize the ui
Michael D. Lowis [Thu, 2 Feb 2017 18:54:07 +0000 (13:54 -0500)]
Initial commit of new win module to commonize the ui

8 years agoTweaked some existing rc functions and added the term function to launch terminal...
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

8 years agoDon't bother setting the callback if there is no selection owner
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

8 years agofixed view api to not segfault when a view has 0 rows
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

8 years agoRemoved unused commands left over from pre-X11 selection handling
Michael D. Lowis [Thu, 2 Feb 2017 17:37:56 +0000 (12:37 -0500)]
Removed unused commands left over from pre-X11 selection handling

8 years agoAdded hex editing routines and a shebang to clearly mark the file as a bash script...
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

8 years agorearranged TODO list
Michael D. Lowis [Wed, 1 Feb 2017 13:47:23 +0000 (08:47 -0500)]
rearranged TODO list

8 years agoAdded rc function to add line numbers to a document
Michael D. Lowis [Wed, 1 Feb 2017 13:47:03 +0000 (08:47 -0500)]
Added rc function to add line numbers to a document

8 years agoAdded ignore macro to atf to skip problematic tests
Michael D. Lowis [Wed, 1 Feb 2017 13:39:57 +0000 (08:39 -0500)]
Added ignore macro to atf to skip problematic tests