4 Commits

Author SHA256 Message Date
b61977f8df Accepting request 1267281 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1267281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmd?expand=0&rev=42
2025-04-07 15:37:11 +00:00
3be25695f1 - Update to version 2.111.0
* Compiler changes
    + Storage classes ref and auto ref can now be applied to local, static, 
      extern, and global variables
    + Keywords auto and ref must be adjacent
    + The align attribute now allows specifying default explicitly
    + Remove delete as a keyword
    + Case fallthough for multivalued cases is an error now
    + An error is now given for constructors when a field's destructor has 
      stricter attributes
    + Initializing a field with itself has been deprecated
    + An error is now given for subtracting pointers of different types
    + An error is now issued for in/out contracts of nothrow functions that may
      throw
    + Typesafe variadic class parameters have been deprecated
    + Integers in debug or version statements have been removed from the 
      language
    + Many error messages have changed
    + The compiler now accepts -extern-std=c++23
    + Build time profiling has been added to DMD
    + New traits getBitfieldOffset and getBitfieldWidth for built-in bitfields
    + Using the compiler flag -i will now properly pick up C source files
    + A pragma for ImportC allows to set nothrow, @nogc or pure
    + Mixin templates can now use assignment syntax
    + Object file extensions .o and .obj are now accepted on all platforms
    + Objective-C selectors are now automatically generated when not specified
      with @selector.
    + New compiler switch -oq for DMD
    + Added Placement New Expression
    + Postfix type qualifier method attributes for -H and -D

OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/dmd?expand=0&rev=111
2025-04-05 13:15:05 +00:00
dd3fa4134b Accepting request 1250764 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1250764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmd?expand=0&rev=41
2025-03-07 15:40:16 +00:00
f3b12f8f91 - Update to version 2.110.0
* Copying from const(void)[] to void[] is disallowed with -preview=fixImmutableConv
  * Import expressions are now treated as hex strings
  * New trait isCOMClass to detect if a type is a COM class
  * bool values other than 0 or 1 are not @safe
  * dub.selections.json files are now looked up in parent directories too
for details see https://dlang.org/changelog/2.110.0.html#bugfix-list

OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/dmd?expand=0&rev=109
2025-03-06 17:07:33 +00:00
6 changed files with 78 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c2ce18945e3807a1568f6ec6ce0a8f2b88efa472ce0397ea1305fc2a1b8a587
size 6017602

3
dmd-2.111.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40b64dd049642dcdaef60815451d5c718ef6c861b6a02a3da998a6a3377900c1
size 6110729

View File

@@ -1,3 +1,71 @@
-------------------------------------------------------------------
Fri Apr 4 09:29:24 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 2.111.0
* Compiler changes
+ Storage classes ref and auto ref can now be applied to local, static,
extern, and global variables
+ Keywords auto and ref must be adjacent
+ The align attribute now allows specifying default explicitly
+ Remove delete as a keyword
+ Case fallthough for multivalued cases is an error now
+ An error is now given for constructors when a field's destructor has
stricter attributes
+ Initializing a field with itself has been deprecated
+ An error is now given for subtracting pointers of different types
+ An error is now issued for in/out contracts of nothrow functions that may
throw
+ Typesafe variadic class parameters have been deprecated
+ Integers in debug or version statements have been removed from the
language
+ Many error messages have changed
+ The compiler now accepts -extern-std=c++23
+ Build time profiling has been added to DMD
+ New traits getBitfieldOffset and getBitfieldWidth for built-in bitfields
+ Using the compiler flag -i will now properly pick up C source files
+ A pragma for ImportC allows to set nothrow, @nogc or pure
+ Mixin templates can now use assignment syntax
+ Object file extensions .o and .obj are now accepted on all platforms
+ Objective-C selectors are now automatically generated when not specified
with @selector.
+ New compiler switch -oq for DMD
+ Added Placement New Expression
+ Postfix type qualifier method attributes for -H and -D
+ The folder samples has been removed from DMD installations
+ New keyword __rvalue
+ Add -preview=safer switch for safety checking on unattributed functions
+ Shortened method syntax can now be used in constructors
* Runtime changes
+ Add Windows BCrypt bindings under core.sys.windows.bcrypt
+ Remove criticalRegionLock
+ Adds expect, likely, unlikely, and trap to core.builtins
+ New segfault handler showing backtraces for null access / call stack
overflow on linux
* Library changes
+ Added std.conv.bitCast
+ Extend the functionality of formattedRead to permit a std.file.slurp
like execution.
+ Added fromHexString and fromHexStringAsRange functions to std.digest.
+ ODBC Bindings in etc.c.odbc have been updated to ODBC 4.0.
+ Added popGrapheme function to std.uni.
+ Added readfln and File.readfln to std.stdio
+ Added the SharedAllocatorList, as the thread-safe version of the regular
AllocatorList.
+ New procedural API for std.sumtype
+ std.uni has been upgraded from Unicode 15.1.0 to 16.0.0
-------------------------------------------------------------------
Thu Mar 6 16:47:30 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 2.110.0
* Copying from const(void)[] to void[] is disallowed with -preview=fixImmutableConv
* Import expressions are now treated as hex strings
* New trait isCOMClass to detect if a type is a COM class
* bool values other than 0 or 1 are not @safe
* dub.selections.json files are now looked up in parent directories too
for details see https://dlang.org/changelog/2.110.0.html#bugfix-list
-------------------------------------------------------------------
Wed Jul 3 06:44:10 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package dmd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
%define sover 0_109
%define sover 0_111
%define bootstrap_with_gdmd 1
%if %{bootstrap_with_gdmd}
%if 0%{?suse_version} < 1550
@@ -29,7 +29,7 @@ BuildRequires: dmd
BuildRequires: phobos-devel-static
%endif
Name: dmd
Version: 2.109.1
Version: 2.111.0
Release: 0
Summary: D Programming Language 2.0
License: BSL-1.0
@@ -170,8 +170,7 @@ cp -r %{_builddir}/dmd/compiler/docs/man/* %{buildroot}%{_mandir}/
install -dm755 %{buildroot}%{_datadir}/licenses/dmd
install -Dm644 %{_builddir}/dmd/LICENSE.txt %{buildroot}%{_datadir}/licenses/dmd/LICENSE.txt
install -dm755 %{buildroot}%{_datadir}/%{name}/samples
cp -r %{_builddir}/dmd/compiler/samples/* %{buildroot}%{_datadir}/dmd/samples/
install -dm755 %{buildroot}%{_datadir}/%{name}
# phobos
install -dm755 %{buildroot}%{_libdir}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28974debe14d18eb58591db0dad3ddd4139e8f34783c3648c86619b67d7ba6f2
size 2781164

3
phobos-2.111.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4a7beb5acac54457dc6dc2ab0899a713e446be10a9a584089238babf4e16d5a
size 2852400