Bump version (0.4.0) [1/2]

This commit is contained in:
Alex Kotov 2022-06-16 18:27:48 +03:00
parent 1fdc733e69
commit e488eed240
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
10 changed files with 41 additions and 131 deletions

116
ChangeLog
View File

@ -1,115 +1,3 @@
2022-06-15 Alex Kotov <kotovalexarian@gmail.com>
2022-06-16 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/memmap.h: Added, made stable
* configure.ac: Added "--with-memmap", made stable
2022-06-13 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/version.h.in: Added
* include/kernaux/assert.h: Complete rewrite
2022-06-10 Alex Kotov <kotovalexarian@gmail.com>
* libc/include/string.h: Add funcs "memchr", "strcat", "strncat", "strchr"
* libc/include/inttypes.h: Added
* libc/include/sys/types.h: Added
2022-06-07 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/libc.h: Has been split into separate headers
* include/kernaux/print.h: Functions "[v]printf" renamed to "[v]fprintf"
* include/kernaux/io.h: Added
2022-06-06 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/libc.h: Add more functions
* include/kernaux/print.h: Remove Easter egg
2022-06-04 Alex Kotov <kotovalexarian@gmail.com>
* configure.ac: Remove feature "pic"
* configure.ac: Add feature "freestanding"
2022-06-02 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/assert.h: Macro "KERNAUX_PANIC" receives string
2022-06-01 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/ntoa.h: Protect from too long prefix
2022-05-30 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/ntoa.h: Functions "kernaux_utoa" and "kernaux_itoa"
receive prefix
* include/kernaux/ntoa.h: Constant "KERNAUX_UTOA_BUFFER_SIZE" renamed to
"KERNAUX_UTOA_MIN_BUFFER_SIZE", "KERNAUX_ITOA_BUFFER_SIZE" to
"KERNAUX_ITOA_MIN_BUFFER_SIZE"
* include/kernaux/ntoa.h: Functions "kernaux_[u|i]toa[10|16]" return the end
of a buffer
* include/kernaux/ntoa.h: Functions "kernaux_[u|i]toa16" put default prefix
* include/kernaux/ntoa.h: Add octal functions "kernaux_[u|i]toa8"
* include/kernaux/ntoa.h: Add binary functions "kernaux_[u|i]toa2"
* src/ntoa.h: Protect caller from invalid state in case of future assertions
2022-05-28 Alex Kotov <kotovalexarian@gmail.com>
libkernaux 0.3.0 released
2022-05-24 Alex Kotov <kotovalexarian@gmail.com>
* configure.ac: Test options made stable
* configure.ac: Feature "bloat" made stable
* src/: Use assertions everywhere (closes #14)
2022-02-02 Alex Kotov <kotovalexarian@gmail.com>
* configure.ac: Generate position-independent code by default, disable with
"--disable-pic"
* configure.ac: "-Werror" by default, disable with "--disable-werror"
2022-02-01 Alex Kotov <kotovalexarian@gmail.com>
* configure.ac: Generate headers conditionally depending on options
* src/printf.c: Fix potential buffer overflow
2022-01-24 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/ntoa.h: Add func "kernaux_itoa"
2022-01-23 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/assert.h: Require semicolon after macros
* include/kernaux/libc.h: Add funcs "atoi", "isdigit", "isspace"
* include/kernaux/ntoa.h: Rename const "KERNAUX_ITOA_BUFFER_SIZE" to
"KERNAUX_ITOA10_BUFFER_SIZE"
* include/kernaux/ntoa.h: Add funcs "kernaux_utoa16" and "kernaux_itoa16"
* include/kernaux/ntoa.h: Add consts "KERNAUX_UTOA10_BUFFER_SIZE" and
"KERNAUX_UTOA16_BUFFER_SIZE"
* include/kernaux/ntoa.h: Add func "kernaux_utoa"
2022-01-22 Alex Kotov <kotovalexarian@gmail.com>
libkernaux 0.2.0 released
* configure.ac: Made stable
* include/kernaux/cmdline.h: Made stable
2022-01-22 Alex Kotov <kotovalexarian@gmail.com>
* README.md: Configuration options now follow semver
* include/kernaux/assert.h: Do not allow to disable asserts and guards
2022-01-21 Alex Kotov <kotovalexarian@gmail.com>
* configure.ac: Allow to disable unnecessary heavy binary data
2022-01-20 Alex Kotov <kotovalexarian@gmail.com>
* include/kernaux/assert.h: Added unconditional assertion (panic)
* include/kernaux/assert.h: Added guards for unconditional assertion (panic)
* src/printf.c: Fix bug and actually enable floating-point arithmetics
2022-01-20 Alex Kotov <kotovalexarian@gmail.com>
libkernaux 0.1.0 released
libkernaux 0.4.0 released

25
NEWS.md
View File

@ -3,6 +3,31 @@ Releases
0.4.0 (2022-06-16)
------------------
225 files changed, 8625 insertions(+), 3744 deletions(-)
### Breaking changes
* `./configure` - feature `--(enable|disable)-bloat` has been removed.
* `./configure` - feature `--(enable|disable)-pic` has been removed.
* `<kernaux/assert.h>` - API has been completely changed.
* `<kernaux/libc.h>` - header has been removed.
* `<kernaux/ntoa.h>` - API has been completely changed.
* `<kernaux/printf.h>` - Easter egg has been removed.
* `<kernaux/printf.h>` - functions "[v]printf" have been renamed to "[v]fprintf",
API has been changed.
### New features
* `./configure` - new feature `--(enable|disable)-debug`.
* `./configure` - new package `--with[out]-io`.
* `./configure` - new package `--with[out]-memmap`.
* `<kernaux/memmap.h>` - new header. It's a memory map.
0.3.0 (2022-05-28)
------------------

View File

@ -40,7 +40,7 @@ zero). Work-in-progress APIs can change at any time.
* Runtime environment
* [Feature macros](/include/kernaux/version.h.in) (*work in progress*)
* [Assertions](/include/kernaux/assert.h) (*non-breaking since* **?.?.?**)
* [Assertions](/include/kernaux/assert.h) (*non-breaking since* **0.4.0**)
* [Assert](/examples/assert.c)
* [Panic](/examples/panic.c)
* Stack trace *(planned)*
@ -65,15 +65,15 @@ zero). Work-in-progress APIs can change at any time.
* Utilities
* [Measurement units utils](/include/kernaux/units.h) (*work in progress*)
* [To human](/examples/units_human.c)
* [Memory map](/include/kernaux/memmap.h.in) (*non-breaking since* **?.?.?**)
* [Memory map](/include/kernaux/memmap.h.in) (*non-breaking since* **0.4.0**)
* [Example](/examples/memmap.c)
* [printf format parser](/include/kernaux/printf_fmt.h) (*work in progress*)
* Code from [https://github.com/mpaland/printf](https://github.com/mpaland/printf). Thank you!
* [Example](/examples/printf_fmt.c)
* Usual functions
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*non-breaking since* **?.?.?**)
* [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*non-breaking since* **0.4.0**)
* [Example](/examples/ntoa.c)
* [printf replacement](/include/kernaux/printf.h.in) (*non-breaking since* **?.?.?**)
* [printf replacement](/include/kernaux/printf.h.in) (*non-breaking since* **0.4.0**)
* Code from [https://github.com/mpaland/printf](https://github.com/mpaland/printf). Thank you!
* [fprintf](/examples/fprintf.c)
* [vfprintf](/examples/fprintf_va.c)
@ -123,8 +123,6 @@ stable options.
#### Features
* `--enable-freestanding` - build for freestanding environment
* `--enable-split-libc` - split off libc
* `--enable-tests` - enable usual tests and examples
* `--enable-tests-all` - enable all tests
* `--enable-tests-python` - enable tests that require Python 3 with YAML and
@ -149,7 +147,7 @@ All packages are included by default. To exclude all packages except those
explicitly included, use `--without-all`.
* `--with[out]-cmdline` - command line parser
* `--with[out]-file` - file simulator
* `--with[out]-io` - input/output
* `--with[out]-memmap` - memory map
* `--with[out]-ntoa` - itoa/ftoa
* `--with[out]-printf` - printf

View File

@ -1 +1 @@
0.3.0
0.4.0

View File

@ -19,8 +19,7 @@ MRuby::Build.new do |conf|
# ...
conf.gem github: 'tailix/libkernaux',
path: 'bindings/mruby',
branch: 'v0.3.0',
checksum_hash: 'bab58f40b53800265084ee7c767916ad0817fe5c'
branch: 'v0.4.0'
# ...
end
```

View File

@ -1,5 +1,5 @@
MRuby::Gem::Specification.new 'mruby-kernaux' do |spec|
spec.version = '0.3.0'
spec.version = '0.4.0'
spec.license = 'MIT'
spec.homepage =
'https://github.com/tailix/libkernaux/tree/master/bindings/ruby'

View File

@ -15,7 +15,7 @@ Install
Add the following to your `Gemfile`:
```ruby
gem 'kernaux', '~> 0.3.0'
gem 'kernaux', '~> 0.4.0'
```
Or add the following to your `*.gemspec`:
@ -23,7 +23,7 @@ Or add the following to your `*.gemspec`:
```ruby
Gem::Specification.new do |spec|
# ...
spec.add_runtime_dependency 'kernaux', '~> 0.3.0'
spec.add_runtime_dependency 'kernaux', '~> 0.4.0'
# ...
end
```

View File

@ -2,7 +2,7 @@
module KernAux
# Gem version.
VERSION = '0.3.0'
VERSION = '0.4.0'
##
# This module includes functions to determine if specific features are

View File

@ -1,6 +1,6 @@
[package]
name = "kernaux-sys"
version = "0.3.0"
version = "0.4.0"
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
edition = "2021"
description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development"

View File

@ -1,6 +1,6 @@
[package]
name = "kernaux"
version = "0.3.0"
version = "0.4.0"
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
edition = "2021"
description = "Safe binding to libkernaux - auxiliary library for kernel development"
@ -21,7 +21,7 @@ ntoa = ["kernaux-sys/ntoa"]
ctor = "0.1.22"
[dependencies.kernaux-sys]
version = "0.3.0"
version = "0.4.0"
default-features = false
path = "../kernaux-sys"