]>
git.mdlowis.com Git - projs/tide.git/log
Michael D. Lowis [Tue, 6 Jun 2017 16:50:13 +0000 (12:50 -0400)]
Added logic to allowing toggling line numbers in win.c. Default is off but config.h defaults them to on for tide. Also fixed a bug for line numbers on an empty buffer
Michael D. Lowis [Tue, 6 Jun 2017 16:21:31 +0000 (12:21 -0400)]
renamed helper function for checking if line number resyncing is needed
Michael D. Lowis [Tue, 6 Jun 2017 16:18:07 +0000 (12:18 -0400)]
Fixed an issue where undo/redo were not causing line numbers to recalculate
Michael D. Lowis [Tue, 6 Jun 2017 02:47:13 +0000 (22:47 -0400)]
fixed line number updates for scroll up and optimized line number updates to only recalculate line numbers when changes are made above the visible space
Michael D. Lowis [Tue, 6 Jun 2017 01:37:08 +0000 (21:37 -0400)]
fixed line numbers on scroll down
Michael D. Lowis [Mon, 5 Jun 2017 16:00:58 +0000 (12:00 -0400)]
edit region columns should shrink when gutter is enabled
Michael D. Lowis [Mon, 5 Jun 2017 13:16:45 +0000 (09:16 -0400)]
ruler needs to adjust position if the gutter is visible
Michael D. Lowis [Mon, 5 Jun 2017 13:12:09 +0000 (09:12 -0400)]
first, super inefficient crack at showing line numbers
Michael D. Lowis [Sat, 3 Jun 2017 02:00:53 +0000 (22:00 -0400)]
Added a gutter and logic for displaying line numbers. Next step is to calculate and track them...
Michael D. Lowis [Thu, 1 Jun 2017 16:17:43 +0000 (12:17 -0400)]
killed xman
Michael D. Lowis [Thu, 1 Jun 2017 13:51:35 +0000 (09:51 -0400)]
turns out it wasnt pointless after all. Added a comment to clarify
Michael D. Lowis [Thu, 1 Jun 2017 13:21:19 +0000 (09:21 -0400)]
removed silly setting of the cursor on file load
Michael D. Lowis [Thu, 1 Jun 2017 13:00:13 +0000 (09:00 -0400)]
refactored selection handling code
Michael D. Lowis [Thu, 1 Jun 2017 12:28:50 +0000 (08:28 -0400)]
refactored selection movement code to share common logic
Michael D. Lowis [Thu, 1 Jun 2017 01:07:47 +0000 (21:07 -0400)]
minor reorginization in buf.c and view.c
Michael D. Lowis [Wed, 31 May 2017 15:51:06 +0000 (11:51 -0400)]
tweaked implicit mark behavior on search and fixed a bug where ctrl+d was selecting one fewer rune than required
Michael D. Lowis [Wed, 31 May 2017 13:51:59 +0000 (09:51 -0400)]
Fixed some bad memory accesses found with valgrind
Michael D. Lowis [Wed, 31 May 2017 13:14:25 +0000 (09:14 -0400)]
changed pick title env var from XPICKTITLE to PICKTITLE
Michael D. Lowis [Wed, 31 May 2017 13:12:28 +0000 (09:12 -0400)]
rename xfilepick and xtagpick
Michael D. Lowis [Wed, 31 May 2017 13:01:56 +0000 (09:01 -0400)]
Rename xpick to just pick
Michael D. Lowis [Wed, 31 May 2017 01:36:42 +0000 (21:36 -0400)]
tweaked logic for setting implicit marks. local cursor movements no longer set the implicit mark
Michael D. Lowis [Tue, 30 May 2017 15:16:47 +0000 (11:16 -0400)]
Updated todos
Michael D. Lowis [Tue, 30 May 2017 15:16:21 +0000 (11:16 -0400)]
updated xcpd cd to root on daemonization
Michael D. Lowis [Tue, 30 May 2017 15:13:53 +0000 (11:13 -0400)]
fixed logic for clearing a selection on moving with the arrow keys
Michael D. Lowis [Tue, 30 May 2017 15:07:29 +0000 (11:07 -0400)]
fixed a bug in edit_relative function, added a cursor summoning shortcut fixed linking on linux for term.c
Michael D. Lowis [Tue, 30 May 2017 12:35:07 +0000 (08:35 -0400)]
Added column tracking to page up/dn
Michael D. Lowis [Tue, 30 May 2017 12:29:29 +0000 (08:29 -0400)]
Merge branch 'master' into testing
Michael D. Lowis [Tue, 30 May 2017 02:50:45 +0000 (22:50 -0400)]
sketched out pseudotty logic for term
Michael D. Lowis [Tue, 30 May 2017 02:49:21 +0000 (22:49 -0400)]
updated TODO
Michael D. Lowis [Tue, 30 May 2017 02:33:38 +0000 (22:33 -0400)]
added first/last line logic to page-up/dn
Michael D. Lowis [Tue, 30 May 2017 02:07:41 +0000 (22:07 -0400)]
center cursor on page up/dn
Michael D. Lowis [Tue, 30 May 2017 01:55:33 +0000 (21:55 -0400)]
page-up/dn testing
Michael D. Lowis [Sat, 27 May 2017 02:07:52 +0000 (22:07 -0400)]
added shortcut to select all
Michael D. Lowis [Sat, 27 May 2017 01:44:07 +0000 (21:44 -0400)]
tweaked ctrl+d behavior to select based on context
Michael D. Lowis [Sat, 27 May 2017 00:59:27 +0000 (20:59 -0400)]
update TODO
Michael D. Lowis [Sat, 27 May 2017 00:54:48 +0000 (20:54 -0400)]
rename to tide
Michael D. Lowis [Sat, 27 May 2017 00:36:48 +0000 (20:36 -0400)]
remove edit wrapper script
Michael D. Lowis [Fri, 26 May 2017 22:33:51 +0000 (18:33 -0400)]
moved ctags project file detection logic from edit shell script into xedit binary.
Michael D. Lowis [Fri, 26 May 2017 13:00:42 +0000 (09:00 -0400)]
Added shortcuts for adding and jumping to bookmarks
Michael D. Lowis [Fri, 26 May 2017 02:08:01 +0000 (22:08 -0400)]
add shortcut to jump back to previous cursor location
Michael D. Lowis [Fri, 26 May 2017 01:40:57 +0000 (21:40 -0400)]
added color, copy indent, and expand tab settings to config.h
Michael D. Lowis [Thu, 25 May 2017 20:17:23 +0000 (16:17 -0400)]
update todo list
Michael D. Lowis [Thu, 25 May 2017 19:42:16 +0000 (15:42 -0400)]
reordered options for resolving external file changes
Michael D. Lowis [Thu, 25 May 2017 19:39:17 +0000 (15:39 -0400)]
diagnostic messages printed to tags region now steal focus
Michael D. Lowis [Thu, 25 May 2017 18:25:49 +0000 (14:25 -0400)]
moved configuration stuff to config.h for easier tweaking and customization
Michael D. Lowis [Thu, 25 May 2017 00:29:28 +0000 (20:29 -0400)]
tweak makefile to build on systems with insane default LD commands (I'm looking at you Ubuntu)
Michael D. Lowis [Wed, 24 May 2017 23:58:32 +0000 (19:58 -0400)]
Removed junk files from syncthing
Michael D. Lowis [Wed, 24 May 2017 23:56:16 +0000 (19:56 -0400)]
tweaked handling of cursor keys while selection is non-null
Michael D. Lowis [Wed, 24 May 2017 20:24:12 +0000 (16:24 -0400)]
updated button tracking code to accurately reflect button state
Michael D. Lowis [Wed, 24 May 2017 20:16:17 +0000 (16:16 -0400)]
Hopefully fixed performance regression with mouse dragging
Michael D. Lowis [Wed, 24 May 2017 12:54:52 +0000 (08:54 -0400)]
Implement mouse chording like acme
Michael D. Lowis [Tue, 23 May 2017 12:54:16 +0000 (08:54 -0400)]
check for external changes to file when focus is lost or gained
Michael D. Lowis [Tue, 23 May 2017 01:47:27 +0000 (21:47 -0400)]
added logic to check for external file changes on save. Added 'Reload' and 'Overwrite' builtins to address them
Michael D. Lowis [Mon, 22 May 2017 13:02:50 +0000 (09:02 -0400)]
Tweaked trimming logic to trime withespace even if its only one char worth.
Michael D. Lowis [Sun, 21 May 2017 01:16:57 +0000 (21:16 -0400)]
tiny optimization for trimming logic on save
Michael D. Lowis [Sun, 21 May 2017 01:14:50 +0000 (21:14 -0400)]
Added logic to trim trailing whitespace on save
Michael D. Lowis [Sat, 20 May 2017 01:30:06 +0000 (21:30 -0400)]
reworked logic to report errors when writing the file instead of just dieing
Michael D. Lowis [Fri, 19 May 2017 13:09:27 +0000 (09:09 -0400)]
Tweaked the join shortcut to make the undo operation more intuitive
Michael D. Lowis [Fri, 19 May 2017 13:06:44 +0000 (09:06 -0400)]
Fixed cursor column tracking for keyboard shortcuts and context selection
Michael D. Lowis [Fri, 19 May 2017 02:11:39 +0000 (22:11 -0400)]
added common text editing shortcuts for xpick
Michael D. Lowis [Fri, 19 May 2017 01:29:56 +0000 (21:29 -0400)]
added shortcut for selecting the current line
Michael D. Lowis [Fri, 19 May 2017 01:22:07 +0000 (21:22 -0400)]
Addeded shortcut for joining lines
Michael D. Lowis [Thu, 18 May 2017 13:26:02 +0000 (09:26 -0400)]
Added shortcuts to move line or selection up or down with Ctrl+Up,Down
Michael D. Lowis [Thu, 18 May 2017 02:16:17 +0000 (22:16 -0400)]
tweaked copy command to select current line if nothing selected
Michael D. Lowis [Thu, 18 May 2017 02:14:27 +0000 (22:14 -0400)]
change line spacing to 0 on osx
Michael D. Lowis [Wed, 17 May 2017 19:54:04 +0000 (15:54 -0400)]
Make common action handlers shareable so xpick and term can use them
Michael D. Lowis [Wed, 17 May 2017 19:30:28 +0000 (15:30 -0400)]
Ctrl+X now cuts the current line if there is no current selection
Michael D. Lowis [Wed, 17 May 2017 14:52:24 +0000 (10:52 -0400)]
changed font selection options to match my st config. This looks correct now (not squished)
Michael D. Lowis [Wed, 17 May 2017 14:19:08 +0000 (10:19 -0400)]
freetype appears to have changed some metrics i was relying on so now the fonts render weird. This fixes that but it needs more testing still
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