sgt/tweak
14 years agoIncrease the size of the 'message' buffer, which is currently master
simon [Sat, 16 May 2009 18:01:08 +0000 (18:01 +0000)]
Increase the size of the 'message' buffer, which is currently
overflowing on really big files.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@8579 cda61777-01e9-0310-a592-d414129be87e

15 years agoPrevent obvious NULL dereference if you paste before cutting or copying.
simon [Tue, 20 Jan 2009 18:40:07 +0000 (18:40 +0000)]
Prevent obvious NULL dereference if you paste before cutting or copying.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@8423 cda61777-01e9-0310-a592-d414129be87e

17 years agoFix memory overwrite when increasing display width in mid-editing.
simon [Thu, 26 Apr 2007 08:44:41 +0000 (08:44 +0000)]
Fix memory overwrite when increasing display width in mid-editing.
(That operation increases the amount of data displayed on screen,
but failed to trigger a realloc of the buffer used to hold that data
during display.)

git-svn-id: svn://svn.tartarus.org/sgt/tweak@7478 cda61777-01e9-0310-a592-d414129be87e

17 years agoBuild script to make Tweak releases simpler.
simon [Thu, 8 Feb 2007 18:50:07 +0000 (18:50 +0000)]
Build script to make Tweak releases simpler.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@7256 cda61777-01e9-0310-a592-d414129be87e

17 years agoBah, another thing I left out: documentation of reverse search. I
simon [Thu, 18 May 2006 08:26:41 +0000 (08:26 +0000)]
Bah, another thing I left out: documentation of reverse search. I
suppose I should shift the 3.01 tag _again_ for this. *sigh*

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6701 cda61777-01e9-0310-a592-d414129be87e

17 years agoBah, there's always one. Update version number in source...
simon [Wed, 17 May 2006 18:00:33 +0000 (18:00 +0000)]
Bah, there's always one. Update version number in source...

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6697 cda61777-01e9-0310-a592-d414129be87e

17 years agoUpdate the man page to remove two of the BUGS.
simon [Wed, 17 May 2006 17:56:11 +0000 (17:56 +0000)]
Update the man page to remove two of the BUGS.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6695 cda61777-01e9-0310-a592-d414129be87e

17 years agoResults of a design discussion with Charlie. One new policy
simon [Wed, 17 May 2006 15:17:56 +0000 (15:17 +0000)]
Results of a design discussion with Charlie. One new policy
statement about a feature which is just too horrid to even consider.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6694 cda61777-01e9-0310-a592-d414129be87e

17 years agoUpdate TODO list for more recent thinking.
simon [Wed, 3 May 2006 13:10:30 +0000 (13:10 +0000)]
Update TODO list for more recent thinking.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6647 cda61777-01e9-0310-a592-d414129be87e

17 years agoPatch from Richard Boulton for large-file support. Works by using
simon [Tue, 2 May 2006 17:32:25 +0000 (17:32 +0000)]
Patch from Richard Boulton for large-file support. Works by using
fseeko/ftello and defining magic preprocessor symbols which cause
off_t to be 64 bits wide. Pass XFLAGS=-DNO_LARGE_FILES on the make
command line to build a 32-bit-only version on systems which don't
support this. (I haven't actually found such a system to test-build
on, but I _think_ it should work.)

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6646 cda61777-01e9-0310-a592-d414129be87e

17 years agoFix ctype carelessnesses. (Thanks to Solaris gcc for bothering to
simon [Tue, 2 May 2006 09:38:40 +0000 (09:38 +0000)]
Fix ctype carelessnesses. (Thanks to Solaris gcc for bothering to
warn me about them. No thanks for Debian for being over-clever as
usual.)

git-svn-id: svn://svn.tartarus.org/sgt/tweak@6645 cda61777-01e9-0310-a592-d414129be87e

19 years agoChanges to make Tweak compile on Mac OS X (still as a Unix/curses
simon [Tue, 25 Jan 2005 23:53:57 +0000 (23:53 +0000)]
Changes to make Tweak compile on Mac OS X (still as a Unix/curses
application, of course). A couple of declarations and prototypes had
to be moved higher up main.c (Apple's gcc installation is pleasingly
pedantic, and I'm not quite sure how I got away with the previous
code for so long!), and I've also had to arrange that Tweak can cope
with curses being unwilling to allocate colour pairs.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@5211 cda61777-01e9-0310-a592-d414129be87e

19 years agoTweak was incorrectly handling the terminal default colour scheme.
simon [Tue, 7 Dec 2004 12:05:50 +0000 (12:05 +0000)]
Tweak was incorrectly handling the terminal default colour scheme.
I've fixed this using use_default_colors(), which I believe are
ncurses extensions (but I think I was ncurses-specific already owing
to KEY_RESIZE).

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4949 cda61777-01e9-0310-a592-d414129be87e

19 years agoImplement reverse searching (via ^R, of course).
simon [Sun, 21 Nov 2004 10:25:03 +0000 (10:25 +0000)]
Implement reverse searching (via ^R, of course).

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4858 cda61777-01e9-0310-a592-d414129be87e

19 years agoAdd `make install' target.
simon [Sun, 21 Nov 2004 09:34:12 +0000 (09:34 +0000)]
Add `make install' target.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4857 cda61777-01e9-0310-a592-d414129be87e

19 years agoAnd add LICENCE to the release archive.
simon [Fri, 19 Nov 2004 21:43:03 +0000 (21:43 +0000)]
And add LICENCE to the release archive.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4835 cda61777-01e9-0310-a592-d414129be87e

19 years agoOops; add a licence.
simon [Fri, 19 Nov 2004 21:41:33 +0000 (21:41 +0000)]
Oops; add a licence.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4834 cda61777-01e9-0310-a592-d414129be87e

19 years agoEr, that's svn:keywords not svn_keywords. Fix property.
simon [Fri, 19 Nov 2004 18:48:59 +0000 (18:48 +0000)]
Er, that's svn:keywords not svn_keywords. Fix property.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4828 cda61777-01e9-0310-a592-d414129be87e

19 years agoSet up for an initial release: polish the TODO, bump the version
simon [Fri, 19 Nov 2004 18:48:18 +0000 (18:48 +0000)]
Set up for an initial release: polish the TODO, bump the version
number, write a `make release' target, and (most importantly) add a
writeup of the data structure.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4827 cda61777-01e9-0310-a592-d414129be87e

19 years agoAdd an ignore property.
simon [Fri, 19 Nov 2004 11:48:39 +0000 (11:48 +0000)]
Add an ignore property.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4825 cda61777-01e9-0310-a592-d414129be87e

19 years agoFix compiler warnings (missing #includes etc) thrown up by RedHat.
simon [Fri, 19 Nov 2004 11:45:20 +0000 (11:45 +0000)]
Fix compiler warnings (missing #includes etc) thrown up by RedHat.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4824 cda61777-01e9-0310-a592-d414129be87e

19 years agoMy hex editor `axe' has existed in prototype for about ten years,
simon [Fri, 19 Nov 2004 11:01:14 +0000 (11:01 +0000)]
My hex editor `axe' has existed in prototype for about ten years,
but since I never published it, someone else has grabbed the name
out from under me in the meantime. Hence, I'm renaming it `tweak'.

git-svn-id: svn://svn.tartarus.org/sgt/tweak@4823 cda61777-01e9-0310-a592-d414129be87e