From e488eed240ec9cf238d17948bd8431fa93190293 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 16 Jun 2022 18:27:48 +0300 Subject: [PATCH] Bump version (0.4.0) [1/2] --- ChangeLog | 116 +-------------------------- NEWS.md | 25 ++++++ README.md | 12 ++- VERSION | 2 +- bindings/mruby/README.md | 3 +- bindings/mruby/mrbgem.rake | 2 +- bindings/ruby/README.md | 4 +- bindings/ruby/lib/kernaux/version.rb | 2 +- bindings/rust/kernaux-sys/Cargo.toml | 2 +- bindings/rust/kernaux/Cargo.toml | 4 +- 10 files changed, 41 insertions(+), 131 deletions(-) diff --git a/ChangeLog b/ChangeLog index 93a1964f..d5128188 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,115 +1,3 @@ -2022-06-15 Alex Kotov +2022-06-16 Alex Kotov - * include/kernaux/memmap.h: Added, made stable - * configure.ac: Added "--with-memmap", made stable - -2022-06-13 Alex Kotov - - * include/kernaux/version.h.in: Added - * include/kernaux/assert.h: Complete rewrite - -2022-06-10 Alex Kotov - - * 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 - - * 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 - - * include/kernaux/libc.h: Add more functions - * include/kernaux/print.h: Remove Easter egg - -2022-06-04 Alex Kotov - - * configure.ac: Remove feature "pic" - * configure.ac: Add feature "freestanding" - -2022-06-02 Alex Kotov - - * include/kernaux/assert.h: Macro "KERNAUX_PANIC" receives string - -2022-06-01 Alex Kotov - - * include/kernaux/ntoa.h: Protect from too long prefix - -2022-05-30 Alex Kotov - - * 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 - - libkernaux 0.3.0 released - -2022-05-24 Alex Kotov - - * configure.ac: Test options made stable - * configure.ac: Feature "bloat" made stable - * src/: Use assertions everywhere (closes #14) - -2022-02-02 Alex Kotov - - * 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 - - * configure.ac: Generate headers conditionally depending on options - * src/printf.c: Fix potential buffer overflow - -2022-01-24 Alex Kotov - - * include/kernaux/ntoa.h: Add func "kernaux_itoa" - -2022-01-23 Alex Kotov - - * 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 - - libkernaux 0.2.0 released - - * configure.ac: Made stable - * include/kernaux/cmdline.h: Made stable - -2022-01-22 Alex Kotov - - * README.md: Configuration options now follow semver - * include/kernaux/assert.h: Do not allow to disable asserts and guards - -2022-01-21 Alex Kotov - - * configure.ac: Allow to disable unnecessary heavy binary data - -2022-01-20 Alex Kotov - - * 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 - - libkernaux 0.1.0 released + libkernaux 0.4.0 released diff --git a/NEWS.md b/NEWS.md index b4f07630..b6b57165 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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. +* `` - API has been completely changed. +* `` - header has been removed. +* `` - API has been completely changed. +* `` - Easter egg has been removed. +* `` - 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`. +* `` - new header. It's a memory map. + + + 0.3.0 (2022-05-28) ------------------ diff --git a/README.md b/README.md index 282a6459..c010c4c7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/VERSION b/VERSION index 0d91a54c..1d0ba9ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 +0.4.0 diff --git a/bindings/mruby/README.md b/bindings/mruby/README.md index 94e67445..59949fd4 100644 --- a/bindings/mruby/README.md +++ b/bindings/mruby/README.md @@ -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 ``` diff --git a/bindings/mruby/mrbgem.rake b/bindings/mruby/mrbgem.rake index eadaa6fa..ac4d288b 100644 --- a/bindings/mruby/mrbgem.rake +++ b/bindings/mruby/mrbgem.rake @@ -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' diff --git a/bindings/ruby/README.md b/bindings/ruby/README.md index 7658a913..97c4c899 100644 --- a/bindings/ruby/README.md +++ b/bindings/ruby/README.md @@ -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 ``` diff --git a/bindings/ruby/lib/kernaux/version.rb b/bindings/ruby/lib/kernaux/version.rb index 7619db7a..65748ab0 100644 --- a/bindings/ruby/lib/kernaux/version.rb +++ b/bindings/ruby/lib/kernaux/version.rb @@ -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 diff --git a/bindings/rust/kernaux-sys/Cargo.toml b/bindings/rust/kernaux-sys/Cargo.toml index 287d09a6..ae7544d2 100644 --- a/bindings/rust/kernaux-sys/Cargo.toml +++ b/bindings/rust/kernaux-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kernaux-sys" -version = "0.3.0" +version = "0.4.0" authors = ["Alex Kotov "] edition = "2021" description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development" diff --git a/bindings/rust/kernaux/Cargo.toml b/bindings/rust/kernaux/Cargo.toml index 38e333d5..242533a6 100644 --- a/bindings/rust/kernaux/Cargo.toml +++ b/bindings/rust/kernaux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kernaux" -version = "0.3.0" +version = "0.4.0" authors = ["Alex Kotov "] 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"