[phobos] [D-Programming-Language/phobos] 614751: Position unittests just after `emplace` they test

GitHub noreply at github.com
Wed Dec 12 07:41:08 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 614751003b12c2a409e2b6d89b4360dadf52cad8
      https://github.com/D-Programming-Language/phobos/commit/614751003b12c2a409e2b6d89b4360dadf52cad8
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Position unittests just after `emplace` they test


  Commit: d207cd00e1fa200ba823722066fa40cf13d70cbd
      https://github.com/D-Programming-Language/phobos/commit/d207cd00e1fa200ba823722066fa40cf13d70cbd
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Divide unittest and position its parts just after `emplace` they test


  Commit: 6639900267df5041c462665f614fc34b3ccd7445
      https://github.com/D-Programming-Language/phobos/commit/6639900267df5041c462665f614fc34b3ccd7445
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Refactor `emplace`


  Commit: e62b241351d0510f2373d35f28394507ba9a10ff
      https://github.com/D-Programming-Language/phobos/commit/e62b241351d0510f2373d35f28394507ba9a10ff
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Fix `emplace` issue with structs with disabled ctors


  Commit: 63503202b74a5e97e7755847feac886db0bbe64f
      https://github.com/D-Programming-Language/phobos/commit/63503202b74a5e97e7755847feac886db0bbe64f
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Fix `emplace` part of issue 6436

* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6436


  Commit: 98061d298e8f3e63e19fd4b5cc10f05061025be9
      https://github.com/D-Programming-Language/phobos/commit/98061d298e8f3e63e19fd4b5cc10f05061025be9
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/traits.d
    M std/typecons.d

  Log Message:
  -----------
  Create `std.traits.classInstanceAlignment`


  Commit: 524fe42efc77cf67f8cd12539d58aecee456d3a0
      https://github.com/D-Programming-Language/phobos/commit/524fe42efc77cf67f8cd12539d58aecee456d3a0
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Segregate `std.conv.testEmplaceChunk` function


  Commit: 4bc219451bac54d1b61e14ecd3e3dd2bdcd6c419
      https://github.com/D-Programming-Language/phobos/commit/4bc219451bac54d1b61e14ecd3e3dd2bdcd6c419
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Fix Issue 6635 - std.conv.emplace: enforcement is too weak

* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6635


  Commit: dab3b2a7dda8459b5f609761a984811d3e7aec5d
      https://github.com/D-Programming-Language/phobos/commit/dab3b2a7dda8459b5f609761a984811d3e7aec5d
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Fix Issue 6436 - Refcounted initialization bug

* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6436


  Commit: 9cf123aff32a09cc766202bef13a77c6c1a05e21
      https://github.com/D-Programming-Language/phobos/commit/9cf123aff32a09cc766202bef13a77c6c1a05e21
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Fix terrible `std.typecons.scoped` bug

For misaligned buffer it emplaces object to incorrect memory location.


  Commit: 2840e44b21a3e5617069a1fd7f894282e229e48c
      https://github.com/D-Programming-Language/phobos/commit/2840e44b21a3e5617069a1fd7f894282e229e48c
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Fix `std.typecons.scoped` issue similar to `RefCounted` issue 6436.

* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6436


  Commit: 10375d681ba2f5c6114689fb341cf1d24a519d66
      https://github.com/D-Programming-Language/phobos/commit/10375d681ba2f5c6114689fb341cf1d24a519d66
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Add comments to `emplace` unittests


  Commit: ca9ef194a4cef77e73fff1f97737822cc45ede2f
      https://github.com/D-Programming-Language/phobos/commit/ca9ef194a4cef77e73fff1f97737822cc45ede2f
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Improve `emplace` unittests


  Commit: 4269dd53c484650ffe844602bdf8e4e169327e5b
      https://github.com/D-Programming-Language/phobos/commit/4269dd53c484650ffe844602bdf8e4e169327e5b
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-27 (Sat, 27 Oct 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Add unittest for `emplace` with struct without constructor


  Commit: b3d3c44cc1e879b6ca6850abf94df5ffb6fc37b0
      https://github.com/D-Programming-Language/phobos/commit/b3d3c44cc1e879b6ca6850abf94df5ffb6fc37b0
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Fix `std.typecons.scoped` name clashes issue

One was unable to call `alignment` or `aligned` class members because `Scoped(T)` struct has such private members and name lookup is done before protection resolution.


  Commit: deb33d0f7949d640d7b30f41b883cd370be29234
      https://github.com/D-Programming-Language/phobos/commit/deb33d0f7949d640d7b30f41b883cd370be29234
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Remove outdated comment from `std.typecons.scoped` unittest.


  Commit: 3e0f69c3df5d10d9c4b2f62096f0b6947e84abe3
      https://github.com/D-Programming-Language/phobos/commit/3e0f69c3df5d10d9c4b2f62096f0b6947e84abe3
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Added unittests for fixed `std.typecons.scoped` alignment issue.

* issue fixed in commit 9cf123aff32a09cc766202bef13a77c6c1a05e21


  Commit: 95c5ba378ce12648a82b27bbf204d7bfb61118c7
      https://github.com/D-Programming-Language/phobos/commit/95c5ba378ce12648a82b27bbf204d7bfb61118c7
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Added unittests for fixed `std.typecons.scoped` initialization issue.

* issue fixed in commit 2840e44b21a3e5617069a1fd7f894282e229e48c


  Commit: d038acb44356e364a4ba041da167b0f5b8d0f4dc
      https://github.com/D-Programming-Language/phobos/commit/d038acb44356e364a4ba041da167b0f5b8d0f4dc
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Workaround for an issue on Posix that fails b3d3c44cc1e879b6ca6850abf94df5ffb6fc37b0 with the following linker error:

generated/linux/debug/32/unittest/std/typecons.o: In function `_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped14Scoped_payloadMNgFNdZNgC3std8typecons18__unittestL3287_53FZv1A':
/home/braddr/sandbox/d/d-tester/client/pull-346162/phobos/std/typecons.d:3090: undefined reference to `_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped7alignedFkZk'


  Commit: 0511b07cfa9b02b79cca1379f9da9eb1caa5913d
      https://github.com/D-Programming-Language/phobos/commit/0511b07cfa9b02b79cca1379f9da9eb1caa5913d
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Fix typo in ddoc comment


  Commit: 525fb51c87fcc8bea8e117ae91f978415059126b
      https://github.com/D-Programming-Language/phobos/commit/525fb51c87fcc8bea8e117ae91f978415059126b
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Prefix `EmplaceTest{Struct|Class}` with `__conv_` to avoid possible name clashes

* also make it `private`


  Commit: 603d2e22f3d5ece339faea9f526975bb5e4d821a
      https://github.com/D-Programming-Language/phobos/commit/603d2e22f3d5ece339faea9f526975bb5e4d821a
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Rename private `std.typecons._aligned` to `_alignUp` and add constraint.


  Commit: c31fcdcea029e5d88a667e2c8cff65b087085334
      https://github.com/D-Programming-Language/phobos/commit/c31fcdcea029e5d88a667e2c8cff65b087085334
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Remove explicit `emplace` specialization in unittest.


  Commit: 44ac2b77744e0eb18498d2f9ae387ca87e2a185b
      https://github.com/D-Programming-Language/phobos/commit/44ac2b77744e0eb18498d2f9ae387ca87e2a185b
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Don't use `l` as symbol name.


  Commit: 44310012fea6751561a852cc5ef4056a0ba9d272
      https://github.com/D-Programming-Language/phobos/commit/44310012fea6751561a852cc5ef4056a0ba9d272
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-18 (Sun, 18 Nov 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Add note about Issue 8902 workaround

* Issue 8902 URL: http://d.puremagic.com/issues/show_bug.cgi?id=8902


  Commit: e541499ea7bb0a801c7be0e4dfdb96f0df8f6c39
      https://github.com/D-Programming-Language/phobos/commit/e541499ea7bb0a801c7be0e4dfdb96f0df8f6c39
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-19 (Mon, 19 Nov 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Add comments to `std.typecons.Scoped` implementation


  Commit: 1450381ba6837956e1aa0fcef45e7e5d468b07a1
      https://github.com/D-Programming-Language/phobos/commit/1450381ba6837956e1aa0fcef45e7e5d468b07a1
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-11-19 (Mon, 19 Nov 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Add workaround for unaligned `Scoped` movement in memory

* class instance now moved accordingly


  Commit: f12c860a234a287c5424c7e5d30a498bd4727943
      https://github.com/D-Programming-Language/phobos/commit/f12c860a234a287c5424c7e5d30a498bd4727943
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-12-12 (Wed, 12 Dec 2012)

  Changed paths:
    M std/conv.d
    M std/traits.d
    M std/typecons.d

  Log Message:
  -----------
  Merge pull request #896 from denis-sh/std.conv.emplace-fixes

`std.conv.emplace` fixes & improvements


Compare: https://github.com/D-Programming-Language/phobos/compare/0fcca44b8d22...f12c860a234a


More information about the phobos mailing list