Quirin F. Schroll
cc6f184a66
Improve placement new changelog entry ( #20954 )
2025-03-06 15:58:46 +08:00
Walter Bright
73158d8a78
add Placement New
2025-03-03 16:23:02 +10:00
Dennis Korpel
efd10b140c
Print function bodies instead of __lambda in error messages
2025-02-17 00:41:33 +01:00
Dennis
961862c455
Deprecate typesafe variadic class arguments ( #20673 )
2025-02-16 21:35:11 +01:00
Quirin F. Schroll
38f0151910
Polish changelog ( #20864 )
2025-02-14 08:23:16 +08:00
Dennis
06d0cfe2ba
Improve error messages for opUnary
( #20801 )
2025-01-30 19:44:05 +08:00
Dennis
06e0096aca
Improve opOpAssign error messages ( #20800 )
2025-01-30 15:04:17 +08:00
Dennis
a55dff5f28
Improve opIndex/opSlice error messages ( #20791 )
2025-01-28 18:44:46 +08:00
Dennis
ea9ead9cae
Improve opBinary error messages ( #20789 )
2025-01-28 06:23:30 +08:00
IchorDev
32883d3994
Add Windows BCrypt bindings ( #20740 )
...
* Update sdkddkver/w32api bindings
* Add BCrypt bindings
---------
Co-authored-by: IchorDev <ichordev@noreply.git.sleeping.town>
2025-01-25 16:33:27 +01:00
Dennis
096c9c1528
Make delete
an identifier instead of keyword ( #20745 )
2025-01-21 23:33:50 +01:00
Dennis
12c1363f86
Add changelog entry for error message changes ( #20753 )
...
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-22 05:01:00 +08:00
Dennis
2a627016f6
Disallow initializing fields with themself ( #20696 )
2025-01-21 05:49:24 +08:00
Jonas Meeuws
d115713410
Add an assert-based segfault handler to etc.linux.memoryerror
( #20643 )
...
* Add an assert-based segfault handler to `etc.linux.memoryerror`
* Commit memoryAssertError review feedback
* Indent the MemoryErrorSupported version block
* Fix a bad ucontext_t in memoryerror.d
* Fix bad imports in memoryerror.d
* Use a module-scope version: in memoryerror.d
* Add a memoryerror.d unittest
* Prefer version-else-version... in memoryerror.d
2025-01-18 22:38:54 +01:00
Dennis
888917669c
Remove debug() / version() integers ( #20713 )
2025-01-16 15:20:06 +08:00
Dennis Korpel
646dc29eec
Remove 'samples' folder
2025-01-11 08:12:48 +08:00
Paul Backus
99b4a5dc76
Revert "Enable -preview=fieldwise by default"
...
This reverts commit 6a7bd45a8e
.
PR #17495 was originally merged in an incomplete state. Since there are
non-trivial obstacles to completing it, revert the incomplete changes
instead.
See PR #20670 for more information.
2025-01-09 13:38:03 -05:00
Dennis
69664b922d
Merge pull request #20577 from thewilsonator/pointer-subtract
...
Make subtracting pointers of different types an error
2025-01-09 15:06:33 +01:00
Nicholas Wilson
8d2fe40f4b
Fix #20330 - Make subtracting pointers of different types an error
2025-01-08 15:44:38 +08:00
Denis Feklushkin
439e068588
Always accept .o and .obj files ( #20609 )
2025-01-08 14:05:32 +08:00
Quirin F. Schroll
3f90de47c1
Fixes #20587 - Add align(default)
( #20589 )
2024-12-30 13:02:14 +08:00
Nicholas Wilson
8b90e07991
Add newline at EOF for changelog dmd.objc-improvements.dd ( #20563 )
2024-12-16 06:47:06 +08:00
The Dlang Bot
059b1ab407
Merge pull request #20559 from KitsunebiGames/objc
...
Objective-C Improvements
Signed-off-by: Dennis <dkorpel@users.noreply.github.com>
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Dennis <dkorpel@users.noreply.github.com>
2024-12-15 22:48:39 +01:00
Walter Bright
a99a3894be
add __rvalue(expression) builtin ( #17050 )
2024-12-15 12:13:28 -08:00
LunaTheFoxgirl
bfa9192eb4
Add changelog
2024-12-15 19:03:06 +01:00
Paul Backus
6a7bd45a8e
Enable -preview=fieldwise by default
...
Introduced in PR #9331 , this was changed from a normal bug fix to a
-preview switch because enabling it triggered a suprious "statement is
not reachable" warning in Phobos. That warning has since been removed
(in PR #15568 ).
2024-12-08 21:19:17 +01:00
Nick Treleaven
a7f6b04a0c
Don't allow short constructor with non-void expression except this()
and super()
( #17489 )
2024-12-08 17:21:42 +08:00
Nick Treleaven
a13b00fab1
Improve -preview=safer
changelog entry ( #17490 )
2024-12-08 15:54:18 +08:00
Dennis Korpel
56eb579a45
Allow shortened method syntax for constructors
2024-12-04 12:16:44 +01:00
Dennis Korpel
74c40e9be0
Merge branch 'stable' into master
2024-11-29 12:46:40 +01:00
Richard (Rikki) Andrew Cattermole
6567f6f4a4
Fix bugzilla issue 24882 - COM class is allocated using GC not malloc
2024-11-29 08:37:07 +01:00
Walter Bright
347c883586
Implement Safer D ( #17044 )
2024-11-27 22:59:29 -08:00
Walter Bright
b70e66033c
add __traits getBitfieldOffset and getBitfieldWidth ( #17043 )
2024-11-10 20:22:59 +01:00
Nick Treleaven
74a18b0953
Add link to new ref
item
2024-10-25 15:20:54 +08:00
Nick Treleaven
d6149fdf0f
Fix TT
2024-10-25 15:20:54 +08:00
Nick Treleaven
817ecde722
Fix link
2024-10-25 15:20:54 +08:00
Quirin F. Schroll
26727f988f
Rename mixin-assign.dd to dmd.mixin-assign.dd
2024-09-29 13:04:26 +08:00
Quirin F. Schroll
2d8ab65540
Changelog for solving Issue 21564
2024-09-29 13:04:26 +08:00
Nicholas Wilson
3bcdd191d2
Add expect
and trap
to core.builtins
...
This exists mostly as a way to harmonise between the different spellings of the same concepts in LDC and GDC, rather than to provide a useful implementation from DMD.
2024-09-18 15:18:59 +01:00
Tim Schendekehl
0e8e67097d
Fix bugzilla 23812 - ImportC: allow adding function attributes to imported C functions ( #16820 )
...
This adds a new pragma for ImportC, which allows to set default storage
classes. Only `nothrow`, `@nogc` and `pure` are supported for now.
They can be disabled later using `#pragma attribute(pop)`.
Unknown storage classes are ignored.
2024-09-14 10:58:00 -07:00
Dennis Korpel
64df340150
Fix bugzilla 24748 - DMD can't output object files with fully qualified name, making -od overwirte each other file
2024-09-13 15:38:28 +01:00
Amaury Séchet
cbbc96f5b1
Remove criticalRegionLock
...
1. It is unused.
2. It doesn't provide the guarantee one think it does. See https://issues.dlang.org/show_bug.cgi?id=24741
2024-09-03 23:47:00 +02:00
Nicholas Wilson
0834c750aa
[Deprecation -> Error] nothrow function contracts that throw ( #16801 )
2024-08-26 11:36:18 +03:00
Quirin F. Schroll
97b71f1c2a
Reword dmd.auto-ref-adjacent.dd ( #16786 )
2024-08-25 08:43:53 +08:00
Nicholas Wilson
df377af9fe
[Deprecation -> Error] destructor field attributes ( #16802 )
2024-08-22 09:35:39 +03:00
Nicholas Wilson
0276d7e50a
Remove deprecation for bugzilla 22999 ( #16800 )
2024-08-21 10:01:48 +03:00
Dennis Korpel
ae2dc11619
Require adjacent auto ref
keywords
2024-08-15 00:18:12 +02:00
ryuukk
05b2c0dfe2
Fix bugzilla issue 24669 - Make -i work with C modules ( #16776 )
2024-08-11 19:34:17 +08:00
Quirin F. Schroll
8dabb67ee5
Update dmd.reflocal.dd to include auto ref
( #16772 )
2024-08-11 12:59:07 +02:00
Dennis
04025fdba6
Add --ftime-trace to dmd ( #16363 )
...
* Add --ftime-trace to dmd
* Refactor timetrace code for dmd.
Pass Outbuffer by ref,
move timetrace filename logic to main.d
2024-07-29 14:48:03 +02:00