https://issues.dlang.org/show_bug.cgi?id=24617
Issue ID: 24617
Summary: array runtime erroneously copies flags from existing
block
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Tuesday, 18 June 2024 at 02:26:00 UTC, Steven Schveighoffer
wrote:
All the code you posted here looks fine to me. It compiles and
runs fine on run.dlang.io (even with the `version(none)`
changed to `version(all)`, or using `scoped!B`).
Thank You for checking.
Also to add to the weirdness,
On Friday, 24 May 2024 at 17:45:31 UTC, Lewis wrote:
Hello! Not sure if it's of interest, but I've been developing a
3D game and engine in D for a few years, and finally have a
demo up on Steam for anyone interested in poking around
(Windows only unfortunately).
[...]
On Tuesday, 18 June 2024 at 03:21:25 UTC, Forest wrote:
On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote:
"Slang" is actually a great name for a programming language.
Someone else thought so, too:
https://www.jedsoft.org/slang/doc/html/slang.html
Weird..
Because S language is pretty
https://issues.dlang.org/show_bug.cgi?id=24616
anonymous4 changed:
What|Removed |Added
Status|NEW |RESOLVED
On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote:
"Slang" is actually a great name for a programming language.
In german we can have a D-alekt of D :-)
Hi,
How can I create a SHA256 signature hash in D? Something similar
to the PHP code below:
```php
openssl_sign($body, $signature, $secret, OPENSSL_ALGO_SHA256);
```
I've tried the code below without success:
```d
auto signature =
On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote:
https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline
Nice catch!
Funkwerk could definitely apply.
Their system is valuable for society.
https://issues.dlang.org/show_bug.cgi?id=24616
THC Gummies changed:
What|Removed |Added
URL||https://www.veronapress.com
On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote:
"Slang" is actually a great name for a programming language.
Someone else thought so, too:
https://www.jedsoft.org/slang/doc/html/slang.html
On Monday, 17 June 2024 at 19:45:18 UTC, realhet wrote:
Hello,
I'm having a weird case of access violation.
Often times, you are focused on something that isn't the problem,
but *triggers* the problem. Not saying it's not a compiler error,
it could be. But chances are pretty low.
If you
Hi,
Has anyone here had experience implementing the Google Auth
Library in DLang? Specifically, I am looking for guidance on
handling OAuth 2.0 using JWT. Are there any current libraries
available for this purpose?
https://issues.dlang.org/show_bug.cgi?id=24602
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24615
Atila Neves changed:
What|Removed |Added
Keywords||ImportC
--
https://issues.dlang.org/show_bug.cgi?id=24615
Issue ID: 24615
Summary: ImportC can't import Python 3.12 header
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=24583
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
and GDC 14:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=09992f8b881aa2dfbee1e9d6954c3ca90cd3fe41
So GDC 14.1 includes the D language at v2.108.0.
This is wonderful:
Synchronizing with the upstream release of v2.108.0.
BTW, if the following two pages are updated with version
information,
https://issues.dlang.org/show_bug.cgi?id=12885
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #9 from Dlang Bot ---
@ntrel
Hello,
I'm having a weird case of access violation.
I tried to narrow the problem and put up a reproducible testCase
on compilerexploer, but it requires my framework too which
overrides std.stdio.writeln() in order to produce colorful text,
and logging, etc.
The error is an access
"Slang" is actually a great name for a programming language.
On Monday, 17 June 2024 at 17:46:30 UTC, M. M. wrote:
On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote:
https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline
Chance for slang to apply?
Slang --> Dlang
https://issues.dlang.org/show_bug.cgi?id=24602
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Dlang Bot ---
On Monday, 17 June 2024 at 16:20:55 UTC, mw wrote:
On Monday, 17 June 2024 at 15:33:46 UTC, Dejan Lekic wrote:
On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote:
Hi,
What's the latest GDC stable release version?
Stable release version is the same as stable GCC release
version. Find it
On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote:
https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline
Chance for slang to apply?
Slang --> Dlang
On Monday, 17 June 2024 at 15:33:46 UTC, Dejan Lekic wrote:
On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote:
Hi,
What's the latest GDC stable release version?
Stable release version is the same as stable GCC release
version. Find it here: https://gcc.gnu.org/
(GDC is part of the GCC
On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote:
Hi,
What's the latest GDC stable release version?
Stable release version is the same as stable GCC release version.
Find it here: https://gcc.gnu.org/
(GDC is part of the GCC project for years)
On Monday, 17 June 2024 at 05:05:06 UTC, Jonathan M Davis wrote:
alias Unshared(T) = T;
alias Unshared(T: shared U, U) = U;
...
Unshared is an eponymous template.
https://dlang.org/spec/template.html#implicit_template_properties
And it's using a shortcut syntax.
...
The second
https://issues.dlang.org/show_bug.cgi?id=24587
--- Comment #2 from Bolpat ---
I just found out `cast(const)` not only adds `const` if it’s not present, it
also removes any other qualifiers.
(In reply to RazvanN from comment #1)
> I don't find this very useful.
Not an argument.
> It seems that
https://issues.dlang.org/show_bug.cgi?id=21644
anonymous4 changed:
What|Removed |Added
URL|https://www.fieldengineer.c |
|om/blogs
https://issues.dlang.org/show_bug.cgi?id=24588
anonymous4 changed:
What|Removed |Added
URL|http://www.veronapress.com/ |
https://issues.dlang.org/show_bug.cgi?id=24605
anonymous4 changed:
What|Removed |Added
Keywords|accepts-invalid |
https://issues.dlang.org/show_bug.cgi?id=23797
--- Comment #1 from Bolpat ---
As for the right-hand side of `is(Type == Keyword)` for function pointer and
delegate types, it also makes sense to ask if they’re carrying attributes. The
keyword attributes should be allowed, but I think also
https://issues.dlang.org/show_bug.cgi?id=24608
anonymous4 changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=24611
--- Comment #1 from Bolpat ---
Grammar change needed for the suggested fix:
```diff
TemplateArgument:
Type
+ ref Type
AssignExpression
Symbol
```
--
https://issues.dlang.org/show_bug.cgi?id=24614
Richard (Rikki) Andrew Cattermole changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=24614
Issue ID: 24614
Summary: Can’t throw in -betterC mode with -preview=dip1008
(@nogc Exceptions)
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=24607
Nick Treleaven changed:
What|Removed |Added
Summary|__traits(isDeprecated, ...) |__traits(isDeprecated, ...)
https://issues.dlang.org/show_bug.cgi?id=24607
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
https://issues.dlang.org/show_bug.cgi?id=17148
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On Sunday, June 16, 2024 10:32:50 PM MDT Andy Valencia via Digitalmars-d-learn
wrote:
> In the alias:
>
> alias Unshared(T) = T;
> alias Unshared(T: shared U, U) = U;
>
> as used in:
>
> cast(Unshared!mytype)value
>
> turns a mytype with shared att
On Monday, 17 June 2024 at 04:32:50 UTC, Andy Valencia wrote:
In the alias:
alias Unshared(T) = T;
alias Unshared(T: shared U, U) = U;
as used in:
cast(Unshared!mytype)value
turns a mytype with shared attribute into one without shared.
I deduce the alias is using some sort of
In the alias:
alias Unshared(T) = T;
alias Unshared(T: shared U, U) = U;
as used in:
cast(Unshared!mytype)value
turns a mytype with shared attribute into one without shared.
I deduce the alias is using some sort of type matching and
decomposition?
I've read through the
https://issues.dlang.org/show_bug.cgi?id=24592
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24613
Issue ID: 24613
Summary: Bitfield with 64 bits always zero
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority:
https://issues.dlang.org/show_bug.cgi?id=24592
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
On Friday, 24 May 2024 at 17:45:31 UTC, Lewis wrote:
Hello! Not sure if it's of interest, but I've been developing a
3D game and engine in D for a few years, and finally have a
demo up on Steam for anyone interested in poking around
(Windows only unfortunately).
- All code (engine and game)
Hi,
What's the latest GDC stable release version?
The GDC link on:
https://dlang.org/download.html
is very out dated.
I think it at least should show the latest version number, and
link to the announcement.
Thanks.
# BEERCONF!
Beerconf for June is approaching, it will be here in 2 weeks on
June 29-30. Hope to see you all then!
Obligatory link to beerconf T's:
https://www.zazzle.com/store/dlang_swag/products?cg=196874696466206954
## What is Beerconf?
Check out the [wiki
https://issues.dlang.org/show_bug.cgi?id=24612
Issue ID: 24612
Summary: Explicitly given `auto ref` parameter can’t bind by
lvalue by value
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=24612
Bolpat changed:
What|Removed |Added
Priority|P1 |P2
CC|
https://issues.dlang.org/show_bug.cgi?id=24611
Bolpat changed:
What|Removed |Added
Priority|P1 |P2
CC|
https://issues.dlang.org/show_bug.cgi?id=24611
Issue ID: 24611
Summary: Cannot explicitly instantiate template function with
`auto ref`
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=24610
Max Samukha changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24610
--- Comment #1 from Max Samukha ---
`import std.stdio;` is unnecessary.
--
https://issues.dlang.org/show_bug.cgi?id=24610
Issue ID: 24610
Summary: Basic range-based `toString` not recognized
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=24597
--- Comment #3 from Dlang Bot ---
dlang/dmd pull request #16589 "merge stable" was merged into master:
- aa5f1b4a6014a52c7118dde37274f8d336dc2ec0 by Brian Callahan:
Fix Bugzilla 24597
https://github.com/dlang/dmd/pull/16589
--
https://issues.dlang.org/show_bug.cgi?id=24566
--- Comment #3 from Dlang Bot ---
dlang/dmd pull request #16589 "merge stable" was merged into master:
- d92734bdac94e09538911838051f8edb54b25185 by Timon Gehr:
Fix bugzilla issue 24566 - condition that starts with runtime value and uses
compile
https://issues.dlang.org/show_bug.cgi?id=24595
--- Comment #3 from Dlang Bot ---
dlang/dmd pull request #16589 "merge stable" was merged into master:
- f56d15b9f007d55b4e17c9d7942eed38fbc7db39 by Brian Callahan:
Fix Bugzilla 24595 (#16575)
https://github.com/dlang/dmd/pull/16589
--
https://issues.dlang.org/show_bug.cgi?id=24603
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24596
--- Comment #3 from Dlang Bot ---
dlang/phobos pull request #9015 "merge stable" was merged into master:
- 539dc473ba79db0e5e8cf9ee059a5cc137b88bda by FeepingCreature:
Fix bugzilla issue 24596: std.typecons.Rebindable2: Don't destroy classes!
https://issues.dlang.org/show_bug.cgi?id=24579
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On Friday, 14 June 2024 at 17:39:00 UTC, Ferhat Kurtulmuş wrote:
...
I remember that hid comes with a windows SDK, and used there
for usb interfacing.
https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/
I have a fish memory and didn't touch the repo for a while.
You may have to
https://issues.dlang.org/show_bug.cgi?id=24579
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=24609
Issue ID: 24609
Summary: Array of struct with immutable field implicitly
converts to void[]
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status:
https://issues.dlang.org/show_bug.cgi?id=21856
--- Comment #4 from Nick Treleaven ---
(In reply to RazvanN from comment #2)
> The safest and most restrictive solution would be to simply allow the
> conversion only if the function is strongly pure, thus disallowing the
> latter case, however,
https://issues.dlang.org/show_bug.cgi?id=24608
Magic Mushrooms changed:
What|Removed |Added
URL||https://www.themountainmail
https://issues.dlang.org/show_bug.cgi?id=24608
Issue ID: 24608
Summary: Magic Mushrooms
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=24607
Issue ID: 24607
Summary: __traits(isDeprecated, ...) not working on a member
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=14445
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
--- Comment #2 from Nick
https://issues.dlang.org/show_bug.cgi?id=24606
Issue ID: 24606
Summary: A way __traits(allMembers, ???) to exclude "alias" &
"deprecated" member(s)
Product: D
Version: D2
Hardware: All
OS: All
https://issues.dlang.org/show_bug.cgi?id=24605
Nick Treleaven changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=24588
veronapressdcs changed:
What|Removed |Added
CC||carrereleah...@gmail.com
--- Comment #1
On Friday, 14 June 2024 at 17:39:00 UTC, Ferhat Kurtulmuş wrote:
On Friday, 14 June 2024 at 17:27:20 UTC, Menjanahary R. R.
wrote:
On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş
wrote:
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its
On Friday, 14 June 2024 at 17:27:20 UTC, Menjanahary R. R. wrote:
On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş
wrote:
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its adoption?
Is GUI App in D frequent?
...
On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş wrote:
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its adoption?
Is GUI App in D frequent?
...
https://github.com/aferust/testds5
Wow, Awesome project! Good illustration of using DWT
On Thursday, 13 June 2024 at 09:21:50 UTC, Dejan Lekic wrote:
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its adoption?
Is GUI App in D frequent?
There are quite few D GUI projects we are aware of, Tilix being
one of the popular ones. I have few
https://issues.dlang.org/show_bug.cgi?id=24604
Issue ID: 24604
Summary: Need CI task to build dmd, druntime & phobos with next
edition semantics
Product: D
Version: D2
Hardware: x86_64
OS: Linux
https://issues.dlang.org/show_bug.cgi?id=21856
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
Summary|Implicit
https://issues.dlang.org/show_bug.cgi?id=24603
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
@ntrel
https://issues.dlang.org/show_bug.cgi?id=24603
Nick Treleaven changed:
What|Removed |Added
Keywords||safe
--
https://issues.dlang.org/show_bug.cgi?id=24603
Nick Treleaven changed:
What|Removed |Added
Severity|enhancement |normal
--
https://issues.dlang.org/show_bug.cgi?id=24603
Issue ID: 24603
Summary: Can copy from non-void array into void[] in safe code
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity:
bachmeier kirjoitti 14.6.2024 klo 16.48:
See the example I posted elsewhere in this thread:
https://forum.dlang.org/post/mwerxaolbkuxlgfep...@forum.dlang.org
I defined
```
@nogc ~this() {
free(ptr);
printf("Data has been freed\n");
}
```
and that gets called when the reference count
On Friday, 14 June 2024 at 07:52:35 UTC, Dukc wrote:
Lance Bachmeier kirjoitti 14.6.2024 klo 4.23:
We must be talking about different things. You could, for
instance, call a function in a C library to allocate memory at
runtime. That function returns a pointer and you pass it to
https://issues.dlang.org/show_bug.cgi?id=24584
--- Comment #5 from kinke ---
(In reply to Nick Treleaven from comment #3)
> I have an old PC (I don't use -j as I only have 2 cores and 1 I keep for
> other things):
>
> time make unittest
> ...
> make[1]: Leaving directory '/home/nick/git/phobos'
https://issues.dlang.org/show_bug.cgi?id=24584
--- Comment #4 from Nick Treleaven ---
(In reply to kinke from comment #2)
> ```
> $ make -j$(nproc) std/algorithm/mutation.test # single module
> $ make -j$(nproc) std/algorithm.test # whole package
> $ make -j$(nproc)
https://issues.dlang.org/show_bug.cgi?id=24584
--- Comment #3 from Nick Treleaven ---
> There are multiple existing options for running the unittests of a single
> module or package
Oh great, thanks. I completely missed that but I see now that .test is
mentioned at the top of the Makefile.
>
https://issues.dlang.org/show_bug.cgi?id=17148
--- Comment #3 from Nick Treleaven ---
> Probably void[] shouldn't be writable
Assuming only slice assignment can write to it, I think we can just disallow
copying from const(void)[]. That's what the pull does.
--
https://issues.dlang.org/show_bug.cgi?id=17148
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
Summary|implicit
https://issues.dlang.org/show_bug.cgi?id=17148
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Dlang Bot ---
@ntrel
https://issues.dlang.org/show_bug.cgi?id=24584
kinke changed:
What|Removed |Added
CC||ki...@gmx.net
--- Comment #2 from kinke ---
(In
Lance Bachmeier kirjoitti 14.6.2024 klo 4.23:
We must be talking about different things. You could, for instance, call
a function in a C library to allocate memory at runtime. That function
returns a pointer and you pass it to SafeRefCounted to ensure it gets
freed. Nothing is known about the
On Thursday, 13 June 2024 at 07:18:48 UTC, Dukc wrote:
Lance Bachmeier kirjoitti 13.6.2024 klo 1.32:
Why would it be different from calling malloc and free
manually? I guess I'm not understanding, because you put the
same calls to malloc and free that you'd otherwise be doing
inside this
On Thursday, 13 June 2024 at 10:20:03 UTC, Mike Parker wrote:
[...]
Thanks!
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its adoption?
Is GUI App in D frequent?
I am not sure if this is a known usage scenario with DWT. Once I
wanted to use DWT. Since it is a port to SWT of Java. You can use
existing GUI designers of SWT.
The D Language Foundation's monthly meeting for February 2024
took place on Friday the 9th. It lasted around an hour.
Razvan was the only member who sent in any agenda items before
the meeting.
## The Attendees
The following people attended:
* Paul Backus
* Walter Bright
* Iain Buclaw
*
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R.
wrote:
How important is its adoption?
Is GUI App in D frequent?
There are quite few D GUI projects we are aware of, Tilix being
one of the popular ones. I have few personal projects that are
based, like Tilix, on GtkD
https://issues.dlang.org/show_bug.cgi?id=24582
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
Dukc kirjoitti 13.6.2024 klo 10.18:
So for example, if you have a program that sometimes needs 600Mib and
sometimes needs 1100MiB, you can in any case allocate all that in one go
with one `malloc` or one `new`, but you'll need at least 38/59
`SafeRefCounted` static arrays, and therefore
Lance Bachmeier kirjoitti 13.6.2024 klo 1.32:
Why would it be different from calling malloc and free manually? I guess
I'm not understanding, because you put the same calls to malloc and free
that you'd otherwise be doing inside this and ~this.
Because with `SafeRefCounted`, you have to
On Wednesday, 12 June 2024 at 16:50:04 UTC, Vinod K Chandran
wrote:
On Wednesday, 12 June 2024 at 01:35:26 UTC, monkyyy wrote:
rather then worring about the gc, just have 95% of data on the
stack
How's that even possible ? AFAIK, we need heap allocated memory
in order to make GUI lib as a
501 - 600 of 275313 matches
Mail list logo