- Remove riscv64-correct-comments.patch
- Update to version 0.24.2:
This release introduces a lot of breaking changes
* time::date now accepts a zone offset (zoff) parameter in
time:📅:reckon and time:📅:truncate.
* time:📅:calculus has been renamed to time:📅:rflag.
* time:📅:realize requires .vloc to be set, and no longer defaults
to UTC.
* time:📅:now() is renamed to time:📅:localnow() and
time:📅:nowutc() is renamed to time:📅:now()
* time:📅:EPOCHAL_JULIAN and EPOCHAL_GREGORIAN have been renamed to
EPOCHDAY_JULIAN and EPOCHDAY_GREGORIAN respectively
* time::chrono::eq has been removed and replaced with
time::chrono::simultaneous and time::chrono::coincident
* time::chrono::mzone has been renamed to time::chrono::ozone
* The type of time:📅:parsefail has been chnaged from rune (storing
the offending format specifier) to (size, rune), which adds the index
of the position where the parsing failure occured.
* Several constants for format layouts in time::date have been renamed:
[[EMAILZ]] => [[EMAILZONE]]
[[STAMP_NANO]] => [[STAMPNANO]]
[[STAMP_ZOFF]] => [[STAMPZOFF]]
[[STAMP_ZONE]] => [[STAMPZONE]]
[[STAMP_NOZL]] => [[STAMPLOC]]
* unix::hosts
* unix::passwd
* "done" is now a reserved word and cannot be used in user-defined names
* The following standard library symbols have been updated to use done
types in their API:
* bytes::next_token/bytes::prev_token
* encoding::utf8
* fs::next
* glob::next
* io::EOF
* mime
* path::nextiter
* strings::next/strings::prev
* strings::next_token/strings::prev_token
* In short, if your program matches on a function using the iterator
pattern with "void" and this causes an error from 0.24.2, the
correct solution is likely to rewrite it to use a for-each loop, or
replace "void" with "done" in the relevant match case.
* for-each loops and the "done" type
* Optional parameters for functions
* Support for shared memory and memfds on supported platforms
* Revised and improved APIs for unix::*
* Improved performance for bufio and related APIs
* regex:: now supports multiple alternation (i.e. (x|y|z))
* New cryptography APIs:
* crypto::ec
* crypto::ecdh
* crypto::ecdsa
OBS-URL: https://build.opensuse.org/request/show/1188270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=7
- Update to version 0.24.2:
This release introduces a lot of breaking changes
* time::date now accepts a zone offset (zoff) parameter in
time:📅:reckon and time:📅:truncate.
* time:📅:calculus has been renamed to time:📅:rflag.
* time:📅:realize requires .vloc to be set, and no longer defaults
to UTC.
* time:📅:now() is renamed to time:📅:localnow() and
time:📅:nowutc() is renamed to time:📅:now()
* time:📅:EPOCHAL_JULIAN and EPOCHAL_GREGORIAN have been renamed to
EPOCHDAY_JULIAN and EPOCHDAY_GREGORIAN respectively
* time::chrono::eq has been removed and replaced with
time::chrono::simultaneous and time::chrono::coincident
* time::chrono::mzone has been renamed to time::chrono::ozone
* The type of time:📅:parsefail has been chnaged from rune (storing
the offending format specifier) to (size, rune), which adds the index
of the position where the parsing failure occured.
* Several constants for format layouts in time::date have been renamed:
[[EMAILZ]] => [[EMAILZONE]]
[[STAMP_NANO]] => [[STAMPNANO]]
[[STAMP_ZOFF]] => [[STAMPZOFF]]
[[STAMP_ZONE]] => [[STAMPZONE]]
[[STAMP_NOZL]] => [[STAMPLOC]]
* unix::hosts
* unix::passwd
* "done" is now a reserved word and cannot be used in user-defined names
* The following standard library symbols have been updated to use done
types in their API:
* bytes::next_token/bytes::prev_token
* encoding::utf8
* fs::next
* glob::next
* io::EOF
* mime
* path::nextiter
* strings::next/strings::prev
* strings::next_token/strings::prev_token
* In short, if your program matches on a function using the iterator
pattern with "void" and this causes an error from 0.24.2, the
correct solution is likely to rewrite it to use a for-each loop, or
replace "void" with "done" in the relevant match case.
* for-each loops and the "done" type
* Optional parameters for functions
* Support for shared memory and memfds on supported platforms
* Revised and improved APIs for unix::*
* Improved performance for bufio and related APIs
* regex:: now supports multiple alternation (i.e. (x|y|z))
* New cryptography APIs:
* crypto::ec
* crypto::ecdh
* crypto::ecdsa
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=38
* OpenBSD: rt add kqueue(2) wrappers
* OpenBSD: rt fix termios structures
* .builds/freebsd.yml drop CC=cc workaround again
* Fix typo in crypto::chachapoly
* strings: Simplify fromutf8
* Makefile: more quoting
* remove harec2 from the makefile all target
* cmd/haredoc: close read end of pipe after passing it to command
* cmd/hare: fix cross-compiling qbe arch
* Advance after zero-length regex matches
* .builds/*: exit on non-master builds
* make bootstrap
* strings: rename pad functions per convention
* strings: improve docs and params for pad functions
* strings: readd pad functions
* time: change signature of *_to_timespec funcs
* notify hare-dev on ci failure
* encoding::utf8: Return invalid from utf8sz on invalid starting byte
* *BSD: fsflags_to_bsd return unsupported instead of abort()
* rt: BPF socket structs & option levels for Linux
* configs/*.mk: don't always assume cross-compilation
* fmt: Fix fmt::mods documentation
* unix::signal: fix typo in docs
* encoding::utf8: Rename valid() to validate() and change return type
* update ci for harec config.mk
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=31
* correct inotify_event to use [*]u8
* make rt/+{arch}/restore.s platform-specific to +linux
* rt/: prepare for IBT support
* strings: Further simplify sub
* os: handle errors on file system iteration
* strconv::stof32 fix doc
- Update specfile
* Always be specific with harec versions. Some hare versions won't
work if harec version is not specified.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=28
- Add filter to rpmlint
* filelist-forbidden-fhs23
- Move SRCDIR and HAREPATHs to `/usr/src` instead from `/usr/lib`
or `/usr/lib64`. Respect defaults if possible.
- Update to version 1702417101.ce67adb5:
* +libc: Avoid overriding the default linker script on other platforms
* FreeBSD: Fix build with +libc
* os fs.ha: s/errors::errno/fs_to_errno/
* OpenBSD: implement os::mkfifo and os::mkfile
* math: Accept types::signed instead of integer in absi
* cmd/{hare,haredoc}: remove unused imports
* cmd/{hare,haredoc}: Don't allocate tags
* haretype: use system architecture
* os: add arch type and functions
* cmd/haredoc: replace split with rtokenize
* io: improve seek and whence docs
* test: display special msg when no tests are run
* hare deps: print more intuitive msg when no deps
* os+linux: add mkfile
* os+linux: s/Unix/Unix-like/
* haredoc: submodules newline fixes
* hare build: fix order of flags
* getopt: improve docs
* all: always use tabs for indentation
* hare::parse::doc: add docs
* haredoc: error out when more than one arg supplied
* docs: rename hare-doc(5) to haredoc(5)
* os+openbsd: remove extra License: header
* rt+linux: fix some types
* hare::parse: improve assign expr error message
* strings: use type assertion in iter tests
* strings: test contains with no variadic arguments
* strings: test join with only one variadic argument
* strings: test concat with only one argument
* hare::ast: remove inaccurate comment
* path: mention fs::resolve in README
* docs/rfc-template: wrap at 72 columns
* memio+test: use defer for closing streams
* cmd/*: fix memory leaks
* ascii: add strlower_buf and strupper_buf
* hare::parse: disallow mixing @init, @fini, and @test
* hare::ast: s/constant/literal/g
* hare build: only overwrite executable files
* hare::parse+test: add labelled compound test
* hare::*: support for/switch/match labels
* all: update labelled loop syntax
* cmd::hare add comments and cleanup
OBS-URL: https://build.opensuse.org/request/show/1134149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=2
or `/usr/lib64`. Respect defaults if possible.
- Update to version 1702417101.ce67adb5:
* +libc: Avoid overriding the default linker script on other platforms
* FreeBSD: Fix build with +libc
* os fs.ha: s/errors::errno/fs_to_errno/
* OpenBSD: implement os::mkfifo and os::mkfile
* math: Accept types::signed instead of integer in absi
* cmd/{hare,haredoc}: remove unused imports
* cmd/{hare,haredoc}: Don't allocate tags
* haretype: use system architecture
* os: add arch type and functions
* cmd/haredoc: replace split with rtokenize
* io: improve seek and whence docs
* test: display special msg when no tests are run
* hare deps: print more intuitive msg when no deps
* os+linux: add mkfile
* os+linux: s/Unix/Unix-like/
* haredoc: submodules newline fixes
* hare build: fix order of flags
* getopt: improve docs
* all: always use tabs for indentation
* hare::parse::doc: add docs
* haredoc: error out when more than one arg supplied
* docs: rename hare-doc(5) to haredoc(5)
* os+openbsd: remove extra License: header
* rt+linux: fix some types
* hare::parse: improve assign expr error message
* strings: use type assertion in iter tests
* strings: test contains with no variadic arguments
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=25
* remove the fs::flag::TRUNC argument from os::create in cmd::hare
* crypto::aes check for AVX before using the native interface
* cmd::hare::build: separate tmpfile from lockfile
* FreeBSD: truncate files on creation by default
* scripts/moddirs: ignore configs/
* OpenBSD: add rt::unveil()
* OpenBSD: add rt::pledge()
* OpenBSD: rt:: sycalls introduce pathbuf1
* OpenBSD: truncate files on creation by default
* OpenBSD: arm64 is called aarch64 in hare
* OpenBSD: rt:: fix readlinkat, renameat
* strconv: Remove base restrictions from doc comment of integertosb
* OpenBSD: os::cpucount: Return the number of online CPUs
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=11