Branch: Tag:

2019-08-08

2019-08-08 11:14:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_from_string_buffer: Improved type safety.

2019-08-01

2019-08-01 09:57:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_append_disassembly: Fixed opcode length threshold.

2019-08-01 07:26:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_append_disassembly: Reduce white space at EOL.

2019-07-31

2019-07-31 07:51:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder: Improved robustness against freed string_builders.

The string_builder embedded in Stdio.Buffer has a NULL s->s while empty.
Most of the string_builder_*() functions did not like that.

2019-07-30

2019-07-30 08:11:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added string_builder_from_string_buffer().

2019-07-27

2019-07-27 08:35:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added string_builder_append_disassembly_data().

This function outputs ".data" directives matching the given memory
dump on a format compatible with string_builder_append_disassembly().

2019-07-27 08:31:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_vsprintf: Support min_width with %q.

NB: min_width padding is outside (before or after) the string,
NOT inside the string quotes.

2019-07-26

2019-07-26 13:13:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_quote_string: Adjusted semantics of max_len.

max_len now specifies the maximum length of the input string.
Previously it specified the maximum length of the result buffer.

Also string_builder_{v,}sprintf() now includes the quote ("\"")
characters in "%q" and supports the precision argument.

2019-07-26 09:48:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added write_and_reset_string_builder().

The typical use for this function is to flush a string_builder
used as a buffer for debug output to stderr.

2019-07-26 09:45:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added string_builder_{v,}sprintf_disassembly().

2019-07-25

2019-07-25 17:06:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_append_disassembly: Fixed bug in memory dumping.

2019-07-25 17:04:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_builder_sprintf: Added support for %q.

2019-07-23

2019-07-23 13:34:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Support multiple lines of opcode in string_builder_append_disassembly().

2019-07-22

2019-07-22 11:58:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Move string_builder_append_disassembly() to string_builder.cmod.

Some minor API-changes to string_builder_append_disassembly() to make
it architecture-independant, and suitable for more use-cases than
just byte-code disassembly. The displayed address is now independant
of the actual address of the memory dump.

Also adds some documentation.

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-03-27

2018-03-27 16:13:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed duplication of escaped quotes in string_builder_quote_string().

Fixes cpp failure of bin/install.pike.

2018-03-24

2018-03-24 21:46:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some more operation modes for string_builder_quote_string().

2018-03-17

2018-03-17 20:13:55 by Martin Nilsson <nilsson@fastmail.com>

Remove redundant includes.

2018-02-12

2018-02-12 21:49:35 by Marcus Comstedt <marcus@mc.pp.se>

Fix spelling of FALLTHRU directive

The non-standard spelling "FALL_THROUGH" is not recognized by gcc 7.3.
Also, the comment must not contain any other text, or be placed inside
braces.

2018-02-08

2018-02-08 12:44:04 by Stephen R. van den Berg <srb@cuci.nl>

Fix typos and docs.

2018-02-05

2018-02-05 17:14:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

String.Buffer: Moved implementation.

Moves implementation of String.Buffer from builtin.cmod to
string_builder.cmod.

Adds initialization of the module to happen before that of cpp.
This will allow cpp.cmod to rely on String.Buffer to exist at
compile time.

2018-02-04

2018-02-04 20:30:48 by Martin Nilsson <nilsson@fastmail.com>

Added emacs marker