24 Pull Requests
dlang

dlang/phobos

The standard library of the D programming language
D
View on GitHub https://dlang.org
bug
feature
documentation
refactoring
Contribulator score: 33 Last scored 2023-11-07 20:33:58 UTC
Contributors (1)
  • wilzbach

Pull requests (27)

wilzbach

find: return named tuples instead of anonymous to dlang/phobos 2017-12-24 10:52:19 UTC

Motivation: Named tuples are a lot better to read.

There has been a precedent for this, see https://github.com/dlang/phobos/pull/5436

wilzbach

std.range.nullSink - allow convenient use of the NullSink to dlang/phobos 2017-12-24 10:23:44 UTC

nullSink returns the NullSink by reference and thus allows using it
directly in code which expects an OutputRange by reference.

The pattern is providing convenience wrappers for struct construction is
very common in Phobos, e.g. `re…

wilzbach

Update CodeCov configuration to be always green/successful to dlang/phobos 2017-12-22 11:02:39 UTC

Propagating the config from https://github.com/dlang/dmd/pull/7470.

wilzbach

Remove global debug import in std.typecons to dlang/phobos 2017-12-21 14:53:36 UTC

Following https://github.com/dlang/phobos/pull/5948#discussion_r158286141

> I think we should make it a guideline that version(unittest) top-level imports should be used with caution.

In fact we have been removing unused debug stat…

wilzbach

Fix Issue 5489 - std.typecons tuples dynamically iterable to dlang/phobos 2017-12-21 14:25:31 UTC

This already works nicely, so imho just adding a public example should do the trick.

wilzbach

[RFC] Add -betterC testsuite for Phobos to dlang/phobos 2017-12-21 13:11:57 UTC

I'm not sure how people want to start testing -betterC compatibility with Phobos. I assume the best way would be to do extract all unittests marked with @betterC?

unittest @betterC
{
....
}

For now I went with a m…

wilzbach

[Preview] Use a common Makefile between DMD, DRuntime and Phobos to dlang/phobos 2017-12-20 14:36:03 UTC

See https://github.com/dlang/dmd/pull/7476 for more details

wilzbach

Make import of std.internal.unicode_tables lazy. to dlang/phobos 2017-12-19 15:05:58 UTC

There's no need to open and open and parse the gigantic
std.internal.unicode_tables if it's never needed.

My journey:

std.net.curl -> etc.c.curl -> std.socket -> std.stdio -> std.uni -> std.internal.unicode_tables.
…

wilzbach

Revive std.range.slide from the dead to dlang/phobos 2017-12-18 15:42:02 UTC

This is a revival of std.range.slide … finally!

History

std.range.slide was introduced in https://github.com/dlang/phobos/pull/4027 and I delayed its release in https://github.com/dlang/phobos/pull/5614 as at the …

wilzbach

Use a common Makefile for win{32,64}.mak to dlang/phobos 2017-12-18 09:00:44 UTC

Gets rid off of a huge chunk of redundancy by simply moving common variables to a shared file.

wilzbach

win64.mak: Try to unify source files to dlang/phobos 2017-12-18 08:00:04 UTC

According to Bugzilla 3372 has been fixed six years ago.

In lack of a machine to test it and as it needs to work on auto-tester anyhow. Here's an attempt to remove the split into differ…

wilzbach

Remove docs build from the Windows Makefiles to dlang/phobos 2017-12-18 07:46:39 UTC

Building the documentation under Windows has been abandoned (see e.g. https://github.com/dlang/dlang.org/pull/1976).

Hence the Windows doc targets here aren't run by any CI. This will leave a bad impression when used and being broken….

wilzbach

Fix Issue 18092 - takeExactly cannot deduce function from generic forward range to dlang/phobos 2017-12-17 03:50:06 UTC

The problem is that Take explicitly avoid nesting itself, which usually is really smart, because take takes care of removing nested take calls:

https://github.com/dlang/phobos/blob/2f539a4c34fbe3c26b2bb951040aac19ee1a51a7/std…

wilzbach

[DO NOT MERGE] Test Circleci with debug GC to dlang/phobos 2017-12-16 14:07:49 UTC

Trying @rainers's advice from https://github.com/dlang/phobos/pull/5929#issuecomment-352184482 to debug the DScanner failure.

wilzbach

Temporarily allow DScanner failures to dlang/phobos 2017-12-16 12:25:00 UTC

I really don't want to do this as we then most likely will forget about it, but the failures are getting more persistent :/

This works by replacing the Makefile target with dscanner_disabled and then executing it separately with the…

wilzbach

Upgrade to CircleCi 2.0 to dlang/phobos 2017-12-15 17:58:37 UTC

Looks fairly straight-forward so far.

Note that CircleCi 2.0 allows to use custom Docker images.
So for example, we could built the DMD compiler into it and avoid the network issues during it's download.
Also allows this other custo…

wilzbach

Run CircleCi in BUILD=debug to dlang/phobos 2017-12-15 15:40:40 UTC

To investigate the repeated, spurious failures on CircleCi.
This should allow us to get a better stack trace.
It also tweaks the gdb command.

wilzbach

Issue 18024 - checkedint.Warn should be @safe to dlang/phobos 2017-12-15 14:55:15 UTC

Same pattern as in https://github.com/dlang/phobos/blob/5964600c8d15fa28d7a6c4321b1e3705d03e492c/std/stdio.d#L3575-L3578

Maybe instead of the trustedStdout workaround makeGlobal should have been made @safe?

https://github.com…

wilzbach

[RFC] Add a UnittestPhobos version to dlang/phobos 2017-12-15 10:51:19 UTC

There's still quite a bit of stuff in Phobos, that shouldn't be parsed & executed when Phobos is imported by a user who runs his tests.

For the motivation of excluding unittest in templates, please see https://wiki.dlang.org/DIP82
…

wilzbach

Make imports in std.net.curl local & lazy to dlang/phobos 2017-12-15 10:37:48 UTC

A first step for https://github.com/dlang/phobos/pull/5916 - there's still much work to do.

wilzbach

[RFC] Add a pull request template to dlang/phobos 2017-12-14 09:20:43 UTC

This is a proposal for experimenting with a pull request template.

More details about this:

  • https://github.com/blog/2111-issue-and-pull-request-templates
  • https://help.github.com/articles/creating-a-pull-request-template-for-your…
wilzbach

Import wording in the Transposed changelog entry to dlang/phobos 2017-12-12 12:42:58 UTC

The current changelog can be previewed at https://dlang.org/changelog/pending.html

@ reviewers DAutotest builds the pending changelog too, s.t. changes to it can be conveniently previewed.

In this case, just dropping the Bugzilla l…

wilzbach

Add a global convenience package file to dlang/phobos 2017-12-09 15:02:58 UTC

So after I have been thinking about this for quite a while, I realized that I am almost weekly in a case where import std would make my life easier.
Other reasons include:

  • Very convenient for short scripts, REPLs and things like…
wilzbach

Compile Phobos with -dip1000 to dlang/phobos 2017-12-09 04:30:28 UTC

AFAICT we have finally reached the point.

wilzbach

Run DScanner with gdb to catch the stack on a SEGFAULT to dlang/phobos 2017-12-08 23:53:47 UTC

As neither @MartinNowak nor I can reproduce the spurious DScanner failures locally, getting a stack trace on a SEFAULT is probably the best thing we can do.

CC @CyberShadow @ZombineDev @JackStouffer

1 2 Next › Last »
  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!