mirror of
https://github.com/tailix/libkernaux.git
synced 2026-08-15 11:00:07 -04:00
Bump version (0.3.0) [1/2]
This commit is contained in:
parent
2676c04342
commit
bab58f40b5
11 changed files with 49 additions and 23 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
|
@ -41,17 +41,17 @@ jobs:
|
||||||
- name: dist
|
- name: dist
|
||||||
run: make dist
|
run: make dist
|
||||||
- name: extract
|
- name: extract
|
||||||
run: tar -xzf libkernaux-0.2.0.tar.gz
|
run: tar -xzf libkernaux-0.3.0.tar.gz
|
||||||
- working-directory: libkernaux-0.2.0
|
- working-directory: libkernaux-0.3.0
|
||||||
name: configure
|
name: configure
|
||||||
run: ./configure --enable-tests --enable-tests-python
|
run: ./configure --enable-tests --enable-tests-python
|
||||||
- working-directory: libkernaux-0.2.0
|
- working-directory: libkernaux-0.3.0
|
||||||
name: make
|
name: make
|
||||||
run: make
|
run: make
|
||||||
- working-directory: libkernaux-0.2.0
|
- working-directory: libkernaux-0.3.0
|
||||||
name: check
|
name: check
|
||||||
run: make check || (cat test-suite.log && false)
|
run: make check || (cat test-suite.log && false)
|
||||||
- working-directory: libkernaux-0.2.0
|
- working-directory: libkernaux-0.3.0
|
||||||
name: install
|
name: install
|
||||||
run: sudo make install
|
run: sudo make install
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,13 @@
|
||||||
2022-05-28 Alex Kotov <kotovalexarian@gmail.com>
|
2022-05-28 Alex Kotov <kotovalexarian@gmail.com>
|
||||||
|
|
||||||
* include/kernaux/printf_fmt.h: Change API
|
libkernaux 0.3.0 released
|
||||||
|
|
||||||
2022-05-24 Alex Kotov <kotovalexarian@gmail.com>
|
2022-05-24 Alex Kotov <kotovalexarian@gmail.com>
|
||||||
|
|
||||||
* src/multiboot2/info_is_valid.c: Fix division by zero
|
|
||||||
* configure.ac: Test options made stable
|
* configure.ac: Test options made stable
|
||||||
* configure.ac: Feature "bloat" made stable
|
* configure.ac: Feature "bloat" made stable
|
||||||
* src/: Use assertions everywhere (closes #14)
|
* src/: Use assertions everywhere (closes #14)
|
||||||
|
|
||||||
2022-02-10 Alex Kotov <kotovalexarian@gmail.com>
|
|
||||||
|
|
||||||
* configure.ac: Normalize args
|
|
||||||
|
|
||||||
2022-02-02 Alex Kotov <kotovalexarian@gmail.com>
|
2022-02-02 Alex Kotov <kotovalexarian@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Generate position-independent code by default, disable with
|
* configure.ac: Generate position-independent code by default, disable with
|
||||||
|
|
|
||||||
32
NEWS.md
32
NEWS.md
|
|
@ -3,6 +3,38 @@ Releases
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
0.3.0 (2022-05-28)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
|
||||||
|
* `<kernaux/assert.h>` - a semicolon is required after macros.
|
||||||
|
* `<kernaux/assert.h>` - the constant `KERNAUX_ITOA_BUFFER_SIZE` is renamed to
|
||||||
|
`KERNAUX_ITOA10_BUFFER_SIZE`.
|
||||||
|
|
||||||
|
### New features
|
||||||
|
|
||||||
|
* `./configure` - testing may be enabled with `--enable-tests`,
|
||||||
|
`--enable-tests-all`, `--enable-tests-python`.
|
||||||
|
* `./configure` - the heavy binary data may be disabled with `--disable-bloat`.
|
||||||
|
* `./configure` - position-independent code is generated by default, disable
|
||||||
|
with `--disable-pic`.
|
||||||
|
* `./configure` - compiler warnings turn into errors by default, disable with
|
||||||
|
`--disable-werror`.
|
||||||
|
* `<kernaux/libc.h>` - added functions `atoi`, `isdigit`, `isspace`.
|
||||||
|
* `<kernaux/ntoa.h>` - added functions `kernaux_[u|i]toa`, `kernaux_[u|i]toa16`
|
||||||
|
and related constants.
|
||||||
|
|
||||||
|
### Other changes
|
||||||
|
|
||||||
|
* Assertions are used more broadly.
|
||||||
|
* `<kernaux.h>` - the header is now generated from template depending on
|
||||||
|
configuration options, so you may safely require it when some packages are
|
||||||
|
missing, it won't cause compilation error.
|
||||||
|
* `<kernaux/printf.h>` - a potential buffer overflow is fixed.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
0.2.0 (2022-01-22)
|
0.2.0 (2022-01-22)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ zero). Work-in-progress APIs can change at any time.
|
||||||
* Architecture-specific code (*work in progress*)
|
* Architecture-specific code (*work in progress*)
|
||||||
* [Declarations](/include/kernaux/arch/)
|
* [Declarations](/include/kernaux/arch/)
|
||||||
* [Functions](/include/kernaux/asm/)
|
* [Functions](/include/kernaux/asm/)
|
||||||
* [Assertions](/include/kernaux/assert.h) (*stable since* **0.1.0**, *non-breaking since* **?.?.?**)
|
* [Assertions](/include/kernaux/assert.h) (*stable since* **0.1.0**, *non-breaking since* **0.3.0**)
|
||||||
* [Assert: simple](/examples/assert_simple.c)
|
* [Assert: simple](/examples/assert_simple.c)
|
||||||
* [Assert: guards](/examples/assert_guards.c)
|
* [Assert: guards](/examples/assert_guards.c)
|
||||||
* [Panic: simple](/examples/panic_simple.c)
|
* [Panic: simple](/examples/panic_simple.c)
|
||||||
|
|
@ -66,7 +66,7 @@ zero). Work-in-progress APIs can change at any time.
|
||||||
* [To human](/examples/units_human.c)
|
* [To human](/examples/units_human.c)
|
||||||
* Usual functions
|
* Usual functions
|
||||||
* [libc replacement](/include/kernaux/libc.h) (*stable since* **0.1.0**)
|
* [libc replacement](/include/kernaux/libc.h) (*stable since* **0.1.0**)
|
||||||
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*stable since* **0.1.0**, *non-breaking since* **?.?.?**)
|
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*stable since* **0.1.0**, *non-breaking since* **0.3.0**)
|
||||||
* [printf replacement](/include/kernaux/printf.h) (*stable since* **0.1.0**)
|
* [printf replacement](/include/kernaux/printf.h) (*stable since* **0.1.0**)
|
||||||
* Code from [https://github.com/mpaland/printf](https://github.com/mpaland/printf). Thank you!
|
* Code from [https://github.com/mpaland/printf](https://github.com/mpaland/printf). Thank you!
|
||||||
* [printf](/examples/printf.c)
|
* [printf](/examples/printf.c)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
AC_PREREQ([2.68])
|
AC_PREREQ([2.68])
|
||||||
AC_INIT([libkernaux],
|
AC_INIT([libkernaux],
|
||||||
[0.2.0],
|
[0.3.0],
|
||||||
[https://github.com/tailix/libkernaux/issues],
|
[https://github.com/tailix/libkernaux/issues],
|
||||||
[libkernaux],
|
[libkernaux],
|
||||||
[https://github.com/tailix/libkernaux])
|
[https://github.com/tailix/libkernaux])
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,7 @@ MRuby::Build.new do |conf|
|
||||||
# ...
|
# ...
|
||||||
conf.gem github: 'tailix/libkernaux',
|
conf.gem github: 'tailix/libkernaux',
|
||||||
path: 'pkgs/mruby',
|
path: 'pkgs/mruby',
|
||||||
branch: 'v0.2.0',
|
branch: 'v0.3.0'
|
||||||
checksum_hash: '50e35b187426f8ce814b9580777b96c48767e4bc'
|
|
||||||
# ...
|
# ...
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
MRuby::Gem::Specification.new 'mruby-kernaux' do |spec|
|
MRuby::Gem::Specification.new 'mruby-kernaux' do |spec|
|
||||||
spec.version = '0.0.0'
|
spec.version = '0.3.0'
|
||||||
spec.license = 'MIT'
|
spec.license = 'MIT'
|
||||||
spec.homepage = 'https://github.com/tailix/libkernaux/tree/master/pkgs/ruby'
|
spec.homepage = 'https://github.com/tailix/libkernaux/tree/master/pkgs/ruby'
|
||||||
spec.author = 'Alex Kotov'
|
spec.author = 'Alex Kotov'
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ Install
|
||||||
Add the following to your `Gemfile`:
|
Add the following to your `Gemfile`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem 'kernaux', '~> 0.2.0'
|
gem 'kernaux', '~> 0.3.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
Or add the following to your `*.gemspec`:
|
Or add the following to your `*.gemspec`:
|
||||||
|
|
@ -23,7 +23,7 @@ Or add the following to your `*.gemspec`:
|
||||||
```ruby
|
```ruby
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
# ...
|
# ...
|
||||||
spec.add_runtime_dependency 'kernaux', '~> 0.2.0'
|
spec.add_runtime_dependency 'kernaux', '~> 0.3.0'
|
||||||
# ...
|
# ...
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
module KernAux
|
module KernAux
|
||||||
# Gem version.
|
# Gem version.
|
||||||
VERSION = '0.2.0'
|
VERSION = '0.3.0'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "kernaux-sys"
|
name = "kernaux-sys"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development"
|
description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "kernaux"
|
name = "kernaux"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Safe binding to libkernaux - auxiliary library for kernel development"
|
description = "Safe binding to libkernaux - auxiliary library for kernel development"
|
||||||
|
|
@ -13,5 +13,5 @@ categories = ["api-bindings", "embedded", "parsing"]
|
||||||
publish = true
|
publish = true
|
||||||
|
|
||||||
[dependencies.kernaux-sys]
|
[dependencies.kernaux-sys]
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
path = "../kernaux-sys"
|
path = "../kernaux-sys"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue