Thread overview
New DCD and dfmt betas
Jan 26, 2016
Brian Schott
Jan 26, 2016
Jacob Carlborg
Jan 26, 2016
Brian Schott
Jan 26, 2016
Jacob Carlborg
Jan 26, 2016
Brian Schott
Jan 27, 2016
Jacob Carlborg
January 26, 2016
https://github.com/Hackerpilot/dfmt/releases/tag/v0.5.0-beta2

This version of dfmt includes several whitespace and indentation fixes. There is also some fine-tuning in the line wrap calculation algorithm and a new option to control the formatting of template constraints. Bash-completion scripts are also new in this release.

https://github.com/Hackerpilot/DCD/releases/tag/v0.8.0-beta1

This version of DCD adds support for UNIX domain sockets to Mac/Linux/BSD builds. I also included some bash-completion scripts for the client and server commands.

A reminder: the announce mailing list is not a bug tracker, please file problems you encounter on Github.
January 26, 2016
On 2016-01-26 03:18, Brian Schott wrote:
> https://github.com/Hackerpilot/dfmt/releases/tag/v0.5.0-beta2
>
> This version of dfmt includes several whitespace and indentation fixes.
> There is also some fine-tuning in the line wrap calculation algorithm
> and a new option to control the formatting of template constraints.

In general, what can we assume of the line wrapping? What can we assume it will handle?

-- 
/Jacob Carlborg
January 26, 2016
On Tuesday, 26 January 2016 at 08:37:10 UTC, Jacob Carlborg wrote:
> On 2016-01-26 03:18, Brian Schott wrote:
>> https://github.com/Hackerpilot/dfmt/releases/tag/v0.5.0-beta2
>>
>> This version of dfmt includes several whitespace and indentation fixes.
>> There is also some fine-tuning in the line wrap calculation algorithm
>> and a new option to control the formatting of template constraints.
>
> In general, what can we assume of the line wrapping? What can we assume it will handle?

I recently ran dfmt on itself. You can get a pretty good idea of its default output by looking at the source.
January 26, 2016
On 2016-01-26 10:05, Brian Schott wrote:

> I recently ran dfmt on itself. You can get a pretty good idea of its
> default output by looking at the source.

I'm asking because it doesn't manage to line break this code at all:

void main()
{
    auto a = 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890 + 1234567890;
}

The line with "auto a" is actually one line. Not sure how it will show up in the newsgroup.

Should I report a bug?

-- 
/Jacob Carlborg
January 26, 2016
On Tuesday, 26 January 2016 at 13:37:45 UTC, Jacob Carlborg wrote:
> I'm asking because it doesn't manage to line break this code at all:

Fixed: https://github.com/Hackerpilot/dfmt/issues/226
January 27, 2016
On 2016-01-26 21:57, Brian Schott wrote:

> Fixed: https://github.com/Hackerpilot/dfmt/issues/226

Thanks.

-- 
/Jacob Carlborg