SHA256
1
0
forked from pool/hare
Commit Graph

43 Commits

Author SHA256 Message Date
Dominique Leuenberger
3e126ac931 Accepting request 1194397 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1194397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=8
2024-08-17 10:44:18 +00:00
Soc Virnyl Estela
ba4c8ccf7e OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=42 2024-08-10 01:08:22 +00:00
Soc Virnyl Estela
4dc8b5d2d0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=41 2024-08-10 01:05:32 +00:00
Soc Virnyl Estela
04ed0275ae - Improve build logic.
* fixes version string output
  * no need to run `./scripts/version`
  * set our own cflags and ldflags

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=40
2024-08-10 01:05:03 +00:00
Ana Guerrero
a0c53548a9 Accepting request 1188270 from devel:tools:compiler
- 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
2024-07-19 13:26:48 +00:00
Soc Virnyl Estela
566eab795a - 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/package/show/devel:tools:compiler/hare?expand=0&rev=38
2024-07-17 06:49:34 +00:00
Ana Guerrero
b2f5c4e3a7 Accepting request 1173663 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1173663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=6
2024-05-13 15:58:39 +00:00
Soc Virnyl Estela
7046562628 Accepting request 1173642 from home:mcepl:hare
- Add riscv64-correct-comments.patch to fix the build on riscv64.

OBS-URL: https://build.opensuse.org/request/show/1173642
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=36
2024-05-13 12:22:43 +00:00
Ana Guerrero
60f28668a7 Accepting request 1148369 from devel:tools:compiler
- First pre-release version of hare 0.24.0
  * requires qbe 1.2 and harec 0.24.0

OBS-URL: https://build.opensuse.org/request/show/1148369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=5
2024-02-21 16:57:37 +00:00
Soc Virnyl Estela
58a3b10785 - First pre-release version of hare 0.24.0
* requires qbe 1.2 and harec 0.24.0

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=34
2024-02-17 01:04:29 +00:00
Ana Guerrero
aa40cd5e07 Accepting request 1141922 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1141922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=4
2024-01-28 18:42:32 +00:00
Soc Virnyl Estela
068dda3624 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=32 2024-01-20 07:29:10 +00:00
Soc Virnyl Estela
b5a19d9994 - Update to version 1705636831.933763ed:
* 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
2024-01-20 07:27:42 +00:00
Dominique Leuenberger
106ffb5d60 Accepting request 1136803 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1136803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=3
2024-01-04 15:47:18 +00:00
Soc Virnyl Estela
0fd475fd3e - Update to version 1703745713.f01c8eed:
* OpenBSD: rt fix munmap system call
  * OpenBSD: fix CI

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=29
2023-12-28 12:13:28 +00:00
Soc Virnyl Estela
61e02bc02d - Update to version 1703237889.6c1a836c:
* 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
2023-12-23 02:22:28 +00:00
Ana Guerrero
3e1d128850 Accepting request 1134149 from devel:tools:compiler
- 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
2023-12-20 20:02:27 +00:00
Soc Virnyl Estela
0f3dee59e0 - Add filter to rpmlint
* filelist-forbidden-fhs23

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=26
2023-12-16 01:10:43 +00:00
Soc Virnyl Estela
b376fae8b9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=25
2023-12-16 01:08:08 +00:00
Ana Guerrero
4168c05f18 Accepting request 1132330 from devel:tools:compiler
I want to add hare to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/1132330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hare?expand=0&rev=1
2023-12-11 20:50:08 +00:00
Soc Virnyl Estela
f203c4e382 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=23 2023-12-10 14:20:29 +00:00
Soc Virnyl Estela
060444da42 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=22 2023-12-10 14:17:42 +00:00
Soc Virnyl Estela
ce2044cb5a OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=21 2023-12-10 14:14:23 +00:00
Soc Virnyl Estela
daf814443b OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=20 2023-12-10 14:10:32 +00:00
Soc Virnyl Estela
7075ee7dd0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=19 2023-12-10 14:04:54 +00:00
Soc Virnyl Estela
823225a901 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=18 2023-12-10 14:02:28 +00:00
Soc Virnyl Estela
7bc56905b8 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=17 2023-12-10 14:00:42 +00:00
Soc Virnyl Estela
cc953707bd OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=16 2023-12-10 13:59:44 +00:00
Soc Virnyl Estela
ceabdd717c OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=15 2023-12-10 13:58:45 +00:00
Soc Virnyl Estela
bc1acefe97 - Add README-suse-maint.md
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=14
2023-12-08 14:28:12 +00:00
Soc Virnyl Estela
f933804a60 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=13 2023-12-08 13:36:24 +00:00
Soc Virnyl Estela
73cdbbece7 - Enable checks.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=12
2023-12-08 13:25:45 +00:00
Soc Virnyl Estela
2f8689cd0d - Update to version 1701969360.dbd2d7a5:
* 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
2023-12-08 13:21:09 +00:00
Soc Virnyl Estela
f3c99f2400 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=10 2023-12-03 00:01:07 +00:00
Soc Virnyl Estela
c6e9501bcd OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=9 2023-12-02 13:00:29 +00:00
Soc Virnyl Estela
8b99c1a704 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=8 2023-12-02 12:58:41 +00:00
Soc Virnyl Estela
117da27f3a OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=7 2023-12-02 10:37:09 +00:00
Soc Virnyl Estela
743fd23dd0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=6 2023-12-02 10:25:49 +00:00
Soc Virnyl Estela
7f63f93176 - Update specfile
- Update to version 1701471445.901444ae:
  * scripts/genbootstrap: reset platformtags
  * drop build status from readme
  * configs/openbsd.mk remove my local path
  * OpenBSD: add .builds/openbsd.yml
  * OpenBSD: make bootstrap
  * OpenBSD: unix::tty isatty() use fcntl(F_ISATTY)
  * OpenBSD: os::exec update for checkless for loops
  * MAINTAINERS: add Lorenz (xha) <me@xha.li> to OpenBSD
  * OpenBSD: add genbootstrap
  * OpenBSD: add net::unix
  * OpenBSD: add net::udp
  * OpenBSD: add net::tcp
  * OpenBSD: add net::ip
  * OpenBSD: add net
  * OpenBSD: add crypto::random
  * OpenBSD: add format::elf
  * OpenBSD: add unix::resolveconf
  * OpenBSD: add unix::hosts
  * OpenBSD: add unix::poll
  * OpenBSD: add unix::tty
  * OpenBSD: add unix::signal
  * OpenBSD: add unix
  * OpenBSD: add os::exec
  * OpenBSD: add os
  * OpenBSD: add time::chrono
  * OpenBSD: add time
  * OpenBSD: add path
  * OpenBSD: add io

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=5
2023-12-02 10:24:55 +00:00
Soc Virnyl Estela
5954857693 - Minor specfile change
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=4
2023-11-11 07:37:13 +00:00
Soc Virnyl Estela
e294400f35 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=3 2023-11-11 07:25:33 +00:00
Soc Virnyl Estela
5498266e5d - change incorrect license in specfile
- add groups section

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=2
2023-11-10 12:28:01 +00:00
Martin Pluskal
ac5f9f98bd Accepting request 1124792 from home:uncomfyhalomacro
I want to add hare to devel:tools:compiler. See sr#1124791.

OBS-URL: https://build.opensuse.org/request/show/1124792
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/hare?expand=0&rev=1
2023-11-10 08:52:22 +00:00