vladchicos
cd9fd4edb8
the description of what byUTF returns is more clear
2021-08-03 15:39:58 +03:00
vladchicos
5d7d9a1d9f
early returns in back() functions
2021-08-03 15:39:58 +03:00
vladchicos
c76af82422
Fix Issue 16210 - std.utf.byUTF can be made into a bidirectional range.
2021-08-03 15:39:58 +03:00
Tomoya Tanjo
9bb5abdd45
Fix import
2021-08-03 12:57:03 +03:00
Tomoya Tanjo
f468c8290b
Make Tid.toString
@safe-able
2021-08-03 12:57:03 +03:00
Geod24
c01b9a5b6f
Remove dead demangling code for funcattr / param stc
...
This code is dead since we now have a dedicated trait in the frontend,
instead of deriving it from the mangling.
2021-08-03 17:54:31 +09:00
vladchicos
95329239c9
Windows readImpl is now marked @trusted
2021-08-02 17:55:56 +03:00
vladchicos
f3be11dc29
Fix Issue 16218 - Windows std.file.readImpl should be marked @system.
2021-08-01 14:59:39 +03:00
The Dlang Bot
1a0e4e7965
Merge pull request #7506 from Biotronic/Issue20665
...
Fix issue 20665 - std.concurrency.spawn should document not working with delegates
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-08-01 04:36:13 +00:00
lucica28
95c0aa6786
[DSSv3] Fix issue - 16339 ( #8181 )
...
[DSSv3] Fix issue - 16339
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-07-30 15:40:04 +00:00
RazvanN7
69800d9475
Fix Issue 20665 - std.concurrency.spawn should document not working with delegates
2021-07-30 14:13:43 +03:00
Biotronic
abb2156487
Fix issue 20665
2021-07-30 12:30:59 +03:00
Razvan Nitu
b48cca57e8
Merge pull request #8151 from DoctorNoobingstoneIPresume/210615_std_container_array_Payload_insertBack_01h
...
std.container.Array: insertBack: Extra checks (including addition overflow).
2021-07-28 18:30:26 +08:00
Walter Bright
3301a20c16
fix Issue 22146 - std.algorithm.searching.findAdjacent() can fall off end of function
2021-07-26 14:37:43 +00:00
Nathan Sashihara
1bdcf1f512
isSomeChar!(Unqual!T) -> isSomeChar!T
...
Removing the redundant `Unqual` does not change the result.
2021-07-24 09:26:46 +00:00
The Dlang Bot
4ea930b6cd
Merge pull request #8172 from MartinNowak/merge_stable
...
merge stable
Signed-off-by: Petar Kirov <PetarKirov@users.noreply.github.com>
Merged-on-behalf-of: Petar Kirov <PetarKirov@users.noreply.github.com>
2021-07-23 06:23:34 +00:00
dandrei279
11bf097658
[DSSv3] Fix Issue #21100 : Add data() function to std.container.array.Array ( #8174 )
...
[DSSv3] Fix Issue #21100 : Add data() function to std.container.array.Array
Signed-off-by: Max Haughton <maxhaton@users.noreply.github.com>
Merged-on-behalf-of: Max Haughton <maxhaton@users.noreply.github.com>
2021-07-21 02:23:10 +00:00
John Colvin
220e92223e
Change private variable canExtend to tryExtendBlock to reflect use
2021-07-20 10:42:00 +00:00
Martin Nowak
df280fd7ab
Merge remote-tracking branch 'upstream/stable' into merge_stable
2021-07-20 10:54:24 +02:00
Max Haughton
734d46591d
Merge pull request #8170 from maxhaton/DocNamedCaptures
...
Fix Issue 21600 - (Try to) Document named captures
2021-07-20 03:41:06 +01:00
Max Haughton
3415c253a0
Fix Issue 21495 - File.readf documentation does not state what what is returned.
2021-07-20 02:07:01 +01:00
Max Haughton
e0ce464118
Fix Issue 21600 - (Try to) Document named captures
2021-07-20 01:55:01 +01:00
aG0aep6G
26bb8fcae4
add cast(void) to silence warnings in tests ( #8169 )
2021-07-20 08:19:00 +08:00
Razvan Nitu
a5757262be
Merge pull request #8167 from CyberShadow/pull-20210714-205027
...
Fix Issue 22125 - std.process.Config was changed to a struct but miss…
2021-07-16 16:47:46 +08:00
Razvan Nitu
cf83da3ec7
Merge pull request #8164 from dkorpel/fromstringz-array
...
Fix issue 18632 - enable use of fromStringz with char[n]
2021-07-16 16:35:14 +08:00
Dennis
7b90fa3e60
remove usage of octal literals ( #8168 )
2021-07-16 08:10:10 +08:00
Vladimir Panteleev
baf6ede6de
Fix Issue 22125 - std.process.Config was changed to a struct but miss operator overloads
2021-07-15 12:17:39 +00:00
Ate Eskola
06983381cf
Issue 19842 - only class member functions must be used be used as slots
2021-07-13 10:33:38 +00:00
Martin Nowak
3fff60bc50
Merge remote-tracking branch 'upstream/stable' into merge_stable
2021-07-13 12:24:06 +02:00
Dennis
1cb398ffcd
Disable non-@nogc unittest in -betterC ( #8163 )
2021-07-13 08:55:35 +08:00
dkorpel
66698dc5f5
Fix issue 18632 - enable use of fromStringz with char[n]
2021-07-12 01:33:15 +02:00
dkorpel
9ec24190b1
add explicit scope/return for pure functions
2021-07-11 13:34:25 +00:00
Walter Bright
ef28dede87
specialize max/min for common case ( #7499 )
...
specialize max/min for common case
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-07-09 13:20:43 +00:00
Luís Ferreira
5ed958c773
Fix #22110 : std.traits: isCallable fails for templated opCall ( #8161 )
...
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-07-08 06:45:54 +08:00
Luís Ferreira
47546dd850
std: array: refactor std.array unittest blocks and attribute annotation ( #8155 )
...
std: array: refactor std.array unittest blocks and attribute annotation
Signed-off-by: Mathias LANG <pro.mathias.lang@gmail.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-07-07 14:14:44 +00:00
Vladimir Panteleev
73e51d395e
Fix Issue 22100 - Support chained assignment of Nullable
2021-07-05 16:23:44 +00:00
berni44
b3e9f42da1
std.utf: Add isValidCodepoint.
2021-07-05 10:00:30 +00:00
Razvan Nitu
23f53c3870
Merge pull request #8159 from CyberShadow/pull-20210705-073502
...
Fix Issue 22101 - Nullable.get(fallback) cannot be used with non-@saf…
2021-07-05 16:45:13 +08:00
Vladimir Panteleev
7d666a26c0
Fix Issue 22101 - Nullable.get(fallback) cannot be used with non-@safe/pure/nothrow types
2021-07-05 07:35:03 +00:00
Vladimir Panteleev
9baab6030a
std.container.array: Hide unintentionally-public unittest
...
This is a unittest for a bug, not a public example.
2021-07-05 05:40:36 +00:00
Nathan Sashihara
c441b2ad59
Fix 22093 - [Reg 2.097] std.typecons.RefCounted!T for struct T without an explicit toString or alias this previously could be converted to string even when uninitialized but now cannot
2021-06-30 05:51:01 +00:00
DoctorNoobingstoneIPresume
7f9cc3fbbb
std.container.Array: insertBack: Extra checks (including addition overflow).
2021-06-22 19:33:33 +03:00
Nathan Sashihara
61c00065a8
Streamline std.traits.BuiltinTypeOf & IntegralTypeOf
...
This incidentally fixes a 'TODO' in BuiltinTypeOf: ifloat/idouble/ireal
and cfloat/cdouble/creal were being collapsed to ireal and creal and
their qualifiers were being discarded.
2021-06-22 12:32:40 +00:00
Nathan Sashihara
136b750df1
Improve memory usage & speed of std.traits.isIntegral & isSomeChar
2021-06-21 10:12:39 +00:00
Nathan Sashihara
6c329ba358
Fix 22056, 22057, 22058 - [Reg 2.074] std.traits.isFloatingPoint, isNumeric, isUnsigned, and isSigned should never be true for SIMD vectors, imaginary/complex numbers, or enums with character base types
2021-06-21 05:26:43 -04:00
Luís Ferreira
808dca99af
file: document dirEntries as no garantee of sorted output
...
Some unittests should compare with a sorted array to be
correct.
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-06-20 10:52:39 +00:00
Ramanuj
afb382485b
Fix Issue 20393 - formattedRead accepts input, that should be rejected ( #8144 )
2021-06-16 16:08:53 +08:00
DoctorNoobingstoneIPresume
0b7bf8dc1f
std.container.Array: Simplify implementation of length (by calling reserve).
2021-06-14 05:05:39 +00:00
Atila Neves
815a718c81
Fix static assert message in std.json
2021-06-08 15:12:25 +00:00
Walter Bright
13d84801e7
declaring templates inside static foreach is not reliable
2021-06-08 10:57:08 +00:00