Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.7.2.0 release. #15

Merged
merged 4 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@byteverse/l3c
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: build
on:
pull_request:
branches:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
with:
cabal-file: posix-api.cabal
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: release
on:
push:
tags:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
dist
dist-*
cabal-dev
Expand Down
31 changes: 16 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,54 +7,55 @@ added, changed, deprecated, etc. subsections.

This project adheres to the [Haskell Package Versioning Policy](https://pvp.haskell.org/).

## [0.7.2.0] - 2023-??-??
## 0.7.2.0 -- 2024-02-28

- Add `socket` as alias for `uninterruptibleSocket`.
- Add `withSocket`.
- Removed `UNLIFTEDARRAYFUNCTIONS` flag and support for GHC < 9.4.

## [0.7.1.0] - 2023-10-03
## 0.7.1.0 -- 2023-10-03

- Add `uninterruptibleOpenModeUntypedFlags`.
- Add `Posix.Struct.AddressInfo.Poke`.
- Add `Posix.File.uninterruptibleReadMutableByteArray`.

## [0.7.0.0] - 2023-08-30
## 0.7.0.0 -- 2023-08-30

- For now, remove all of the functions that work on UnliftedArray. These
will be added back later once hackage starts using GHC 9.4. They are
now guarded by CPP, so if anyone was using them, build this library
with the `UNLIFTEDARRAYFUNCTIONS` flag to get them back.
- Add `uninterruptibleConnectPtr` for better compatibility with `network`.

## [0.6.1.0] - 2023-08-14
## 0.6.1.0 -- 2023-08-14

- Add `uninterruptibleWriteBytesCompletelyErrno`
- Add `writeBytesCompletelyErrno`
- Add `uninterruptibleAccept4_`

## [0.6.0.1] - 2023-07-13
## 0.6.0.1 -- 2023-07-13

- Fix mistake in header file that caused builds to fail

## [0.6.0.0] - 2023-07-13
## 0.6.0.0 -- 2023-07-13

- Use Int instead of CInt for all offsets into byte arrays

## [0.5.0.0] - 2023-07-13
## 0.5.0.0 -- 2023-07-13

- Move Linux.Systemd to systemd-api library to make docs build on hackage.

## [0.4.0.1] - 2023-06-27
## 0.4.0.1 -- 2023-06-27

- Build with GHC 9.4

## [0.4.0.0] - 2022-12-08
## 0.4.0.0 -- 2022-12-08

- Add `writeMutableByteArray`
- In the 0.3.5.0 release, the major version was supposed to be bumped.
This is being done now instead.

## [0.3.5.0] - 2021-07-02
## 0.3.5.0 -- 2021-07-02

- Breaking: Start using pattern synonyms for macros.
- Add dedicated modules for peeking at structures.
Expand All @@ -63,26 +64,26 @@ This project adheres to the [Haskell Package Versioning Policy](https://pvp.hask
- Add `uninterruptibleSetSocketOption`.
- Add socket options `SO_BINDTODEVICE` and `SO_REUSEADDR`.

## [0.3.4.0] - 2020-03-09
## 0.3.4.0 -- 2020-03-09

- Add `Posix.File`
- Add lower bound for `hsc2hs` build tool

## [0.3.3.0] - 2019-12-18
## 0.3.3.0 -- 2019-12-18

- Support several POSIX message queue functions.
- Support Linux systemd functions.

## [0.3.2.0] - 2019-07-21
## 0.3.2.0 -- 2019-07-21

- Add more functions.

## [0.3.1.0] - YYYY-MM-DD
## 0.3.1.0 -- YYYY-MM-DD

- Make the test suite build again.
- Add `uninterruptibleSendByteArrays`.

## [0.1.0.0] - 2018-01-02
## 0.1.0.0 -- 2018-01-02
- Initial release.
- Includes a ton of sockets API stuff.
- Includes the get working directory function.
2 changes: 0 additions & 2 deletions Setup.hs

This file was deleted.

51 changes: 51 additions & 0 deletions fourmolu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Number of spaces per indentation step
indentation: 2

# Max line length for automatic line breaking
column-limit: 200

# Styling of arrows in type signatures (choices: trailing, leading, or leading-args)
function-arrows: trailing

# How to place commas in multi-line lists, records, etc. (choices: leading or trailing)
comma-style: leading

# Styling of import/export lists (choices: leading, trailing, or diff-friendly)
import-export-style: leading

# Whether to full-indent or half-indent 'where' bindings past the preceding body
indent-wheres: false

# Whether to leave a space before an opening record brace
record-brace-space: true

# Number of spaces between top-level declarations
newlines-between-decls: 1

# How to print Haddock comments (choices: single-line, multi-line, or multi-line-compact)
haddock-style: multi-line

# How to print module docstring
haddock-style-module: null

# Styling of let blocks (choices: auto, inline, newline, or mixed)
let-style: auto

# How to align the 'in' keyword with respect to the 'let' keyword (choices: left-align, right-align, or no-space)
in-style: right-align

# Whether to put parentheses around a single constraint (choices: auto, always, or never)
single-constraint-parens: always

# Output Unicode syntax (choices: detect, always, or never)
unicode: never

# Give the programmer more choice on where to insert blank lines
respectful: true

# Fixity information for operators
fixities: []

# Module reexports Fourmolu should know about
reexports: []

1 change: 0 additions & 1 deletion include/HaskellPosix.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ int recvmmsg_sockaddr_in (int sockfd , int *lens , struct sockaddr_in *addrs
int recvmmsg_sockaddr_discard (int sockfd , int *lens
, StgArrBytes **bufs // used for output
, unsigned int vlen , int flags);

1 change: 0 additions & 1 deletion include/custom.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@
} else { \
hsc_printf ("BAD_BYTEARRAY_ALIGNMENT"); \
}

Loading
Loading