Commit Graph

20 Commits (main)

Author SHA1 Message Date
Maxime Coste a4dd89f214 Improve code-generation for Strings
Make String::Data use trivial copy of the short/long union to avoid
unnecessary branching there, inline release() as it can be elided by
the compiler on moved-from Strings.
2021-07-20 22:30:41 +10:00
Maxime Coste e929b1531f Add Regex support in gdb pretty printing 2017-02-06 22:26:56 +00:00
Maxime Coste dc2c5eaaa4 Make gdb ArrayIterator python 3 compatible 2017-02-06 22:22:24 +00:00
Maxime Coste a00e40e151 Fix gdb pretty printers after rename of the coordinate types 2016-10-04 19:37:21 +01:00
Maxime Coste 090dc53e7e Fix StringDataPtr gdb pretty printer 2016-07-25 20:33:36 +01:00
Maxime Coste 54dfd8605a Improve gdb pretty printer a bit more 2016-04-13 23:33:21 +01:00
Maxime Coste 7521165011 Tweak gdb pretty printer to respect more flake8, and fix String display 2016-04-13 13:42:16 +01:00
Maxime Coste 3cab727f53 Add gdb pretty printing for Kakoune::Color 2016-01-24 07:11:52 +00:00
Maxime Coste 51f6c52013 Fix StringDataPtr gdb pretty printer 2015-05-13 13:28:23 +01:00
Maxime Coste 7bc923658e Fix gdb String pretty printer 2015-03-24 13:40:34 +00:00
Maxime Coste 6843740840 Add pretty printer for ref_ptr<StringStorage> 2015-01-27 23:31:23 +00:00
Maxime Coste 2d9aa24e9d Update gdb pretty printer 2015-01-23 13:53:20 +00:00
Maxime Coste e86e5b1b81 Fix gdb pretty printer 2014-05-14 22:16:51 +01:00
Maxime Coste 02826ff2ca update gdb pretty printer for new String implementation 2013-03-29 19:35:48 +01:00
Maxime Coste 9effba2c66 fix BufferIterator gdb pretty printer 2012-11-26 18:50:09 +01:00
Maxime Coste 6b2f8ed70c gdb: support ByteCount pretty printing 2012-10-22 13:13:18 +02:00
Maxime Coste 8d24d2aa2b Support CharCount and LineCount in gdb pretty printers 2012-09-05 19:20:13 +02:00
Maxime Coste be47802058 update kakoune gdb printers 2012-06-14 12:58:24 +00:00
Maxime Coste 0ba7c7286d Store buffer content in a list of lines
Instead of a big std::string, buffer now store it's content in a
list of lines. In order to achieve O(log(n)) random access, lines
contains both their content and their offset since the start of
the file, making binary search usable.

BufferIterator now have a LineAndColumn coordinate into the buffer
instead of an offset so that access is still O(1).
2012-03-30 11:37:18 +00:00
Maxime Coste 8bc6ed6cbb add gdb pretty printers for kakoune data structures 2012-03-08 20:32:13 +00:00