diff --git a/ChangeLog b/ChangeLog index 5c380a82..5edaf275 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,51 +1,3 @@ 2022-11-26 Alex Kotov - * include/kernaux/printf.h: Change API - -2022-06-30 Alex Kotov - - * include/kernaux/macro.h: Added macros "KERNAUX_BITS[8|16|32|64]" - -2022-06-27 Alex Kotov - - * include/kernaux/macro.h: Added macro "KERNAUX_CONTAINER_OF" - -2022-06-25 Alex Kotov - - * configure.ac: Removed package "io" - * include/kernaux/io.h: Removed - -2022-06-24 Alex Kotov - - * configure.ac: Added packages "arch-*" and "asm" - -2022-06-23 Alex Kotov - - * configure.ac: Added package "drivers" - -2022-06-22 Alex Kotov - - * include/kernaux/free_list.h: Finished - -2022-06-21 Alex Kotov - - * include/kernaux/generic/malloc.h: Added - -2022-06-20 Alex Kotov - - * include/kernaux/generic/mutex.h: Mutex moved here - * include/kernaux/macro.h: Definitions "KERNAUX_ACCESS_*" made stable - * include/kernaux/macro.h: Macro "KERNAUX_PROTECTED_FIELD" added - -2022-06-18 Alex Kotov - - * include/kernaux/mutex.h: Added - -2022-06-17 Alex Kotov - - * configure.ac: Added package "free-list" - * include/kernaux/free_list.h: Added - -2022-06-16 Alex Kotov - - libkernaux 0.4.0 released + libkernaux 0.5.0 released diff --git a/NEWS.md b/NEWS.md index b6b57165..a4148139 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,39 @@ Releases +0.5.0 (2022-11-26) +------------------ + +138 files changed, 2962 insertions(+), 1741 deletions(-) + +### Breaking changes + +* `./configure` - feature `--with[out]-io` has been removed. +* `` - the header has been removed. +* `` - the API of the functions functions "[v]fprintf" has + been changed. + +### New features + +* `./configure` - package `--with[out]-asm` has been added. +* `./configure` - packages `--with[out]-arch-(all|i386|riscv64|x86-64)` have + been added. +* `./configure` - package `--with[out]-drivers` has been added. +* `./configure` - package `--with[out]-free-list` has been added. +* `` - new header. It's a free list memory allocator. +* `` - new header. It's a set of macros. +* `` - macro `KERNAUX_PRIVATE_FIELD` has been added. +* `` - macro `KERNAUX_PROTECTED_FIELD` has been added. +* `` - macros `KERNAUX_BITS[8|16|32|64]` have been added. +* `` - macros `KERNAUX_CONTAINER_OF` have been added. +* `` - new header. It's a generic memory allocator + interface. +* `` - new header. It's a generic mutex interface. +* Definition `KERNAUX_ACCESS_PRIVATE` has been added. +* Definition `KERNAUX_ACCESS_PROTECTED` has been added. + + + 0.4.0 (2022-06-16) ------------------ diff --git a/README.md b/README.md index 445171e2..cc2a9a61 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ zero). Work-in-progress APIs can change at any time. * Basic features * [Feature macros](/include/kernaux/version.h.in) (*work in progress*) - * [Macros](/include/kernaux/macro.h) (*non-breaking since* **?.?.?**) + * [Macros](/include/kernaux/macro.h) (*non-breaking since* **0.5.0**) * [Example: CONTAINER_OF](/examples/macro_container_of.c) * [Example: BITS](/examples/macro_bits.c) * [Assertions](/include/kernaux/assert.h) (*non-breaking since* **0.4.0**) @@ -48,12 +48,12 @@ zero). Work-in-progress APIs can change at any time. * [Example: Panic](/examples/panic.c) * Stack trace *(planned)* * Generic types - * [Memory allocator](/include/kernaux/generic/malloc.h) (*non-breaking since* **?.?.?**) + * [Memory allocator](/include/kernaux/generic/malloc.h) (*non-breaking since* **0.5.0**) * [Example](/examples/generic_malloc.c) - * [Mutex](/include/kernaux/generic/mutex.h) (*non-breaking since* **?.?.?**) + * [Mutex](/include/kernaux/generic/mutex.h) (*non-breaking since* **0.5.0**) * [Example](/examples/generic_mutex.c) * Algorithms - * [Free list memory allocator](/include/kernaux/free_list.h) (*non-breaking since* **?.?.?**) + * [Free list memory allocator](/include/kernaux/free_list.h) (*non-breaking since* **0.5.0**) * [Simple command line parser](/include/kernaux/cmdline.h) (*non-breaking since* **0.2.0**) * [Example](/examples/cmdline.c) * [Page Frame Allocator](/include/kernaux/pfa.h) (*work in progress*) @@ -72,7 +72,7 @@ zero). Work-in-progress APIs can change at any time. * Usual functions * [itoa/ftoa replacement](/include/kernaux/ntoa.h) (*non-breaking since* **0.4.0**) * [Example](/examples/ntoa.c) - * [printf replacement](/include/kernaux/printf.h) (*non-breaking since* **?.?.?**) + * [printf replacement](/include/kernaux/printf.h) (*non-breaking since* **0.5.0**) * [Example: fprintf](/examples/printf_file.c) * [Example: vfprintf](/examples/printf_file_va.c) * [Example: snprintf](/examples/printf_str.c) diff --git a/VERSION b/VERSION index 1d0ba9ea..8f0916f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 +0.5.0 diff --git a/bindings/mruby/README.md b/bindings/mruby/README.md index 29284c73..96a61e4a 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.4.0', - checksum_hash: 'e488eed240ec9cf238d17948bd8431fa93190293' + branch: 'v0.5.0' # ... end ``` diff --git a/bindings/mruby/mrbgem.rake b/bindings/mruby/mrbgem.rake index ac4d288b..c3669a44 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.4.0' + spec.version = '0.5.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 97c4c899..07729f30 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.4.0' +gem 'kernaux', '~> 0.5.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.4.0' + spec.add_runtime_dependency 'kernaux', '~> 0.5.0' # ... end ``` diff --git a/bindings/ruby/lib/kernaux/version.rb b/bindings/ruby/lib/kernaux/version.rb index 65748ab0..cfce28f5 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.4.0' + VERSION = '0.5.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 ae7544d2..d8e87a99 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.4.0" +version = "0.5.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 242533a6..9eae2295 100644 --- a/bindings/rust/kernaux/Cargo.toml +++ b/bindings/rust/kernaux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kernaux" -version = "0.4.0" +version = "0.5.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.4.0" +version = "0.5.0" default-features = false path = "../kernaux-sys"