Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham b2d0bd0da4 tree234.c: new search234() system.
This is a thing I've been meaning to set up for a while: it's a
pull-based search system (that is, the caller takes each step of the
search manually, rather than providing a callback), which lets the
caller inspect every step of the search, including the index of each
candidate element in the tree. This allows flexible kinds of query
that play the element and its index off against each other.

I've also rewritten the existing findrelpos234() search function using
the new one as a primitive, because that simplifies it a lot!
2018-09-19 23:08:28 +01:00
Simon Tatham 3730ada5ce Run entire source base through GNU indent to tidy up the varying
coding styles of the various contributors! Woohoo!

[originally from svn r1098]
2001-05-06 14:35:20 +00:00
Simon Tatham 03c9b6107b Replace PuTTY's 2-3-4 tree implementation with the shiny new counted
one, in preparation for using it to speed up scrollback.

[originally from svn r1053]
2001-04-16 17:18:24 +00:00
Simon Tatham 4471e3fe6c Add trailing newline in tree234.h
[originally from svn r659]
2000-10-02 11:47:30 +00:00
Simon Tatham 1ff320c8b2 Delete should be void not void *.
[originally from svn r593]
2000-09-15 10:48:42 +00:00
Simon Tatham 48d82b94b4 Header file for 2-3-4 tree routines
[originally from svn r588]
2000-09-14 15:02:50 +00:00