Skip to content

Commit

Permalink
v0.1.3 released !
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Sep 17, 2022
1 parent 1f16bed commit b3327f0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Changelog -- 0.1.3

- Fixed multiple compiler / linker errors
- Fixed a buffer overflow by using `NVDIALOG_MAXBUF` instead of a fixed 128 byte buffer.
- New function (Incomplete): `nvd_about_dialog_new`. This function shows a simple dialog similar to those found in some 'About' app menu items. It will be stabilized in 0.2.
- Added new example.
- Removed deprecated code, replaced with more modern and accurate alternatives.
- Partial `libadwaita` support complete.
- New assertion system.
- Remove fallback backend, replaced with raw runtime assertions.
- Headers are now installed inside the `nvdialog/` directory in the standard include directory.
- New logo (May change again)

**WARNING: API breakage may occur. If you are worried, do not upgrade to this release.**

# Changelog -- 0.1.2

- Fixed multiple miscalleneous bugs from 0.1.1 and a few memory leaks.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is part of libnvdialog and is released under the MIT license.

cmake_minimum_required(VERSION 3.18)
project(libnvdialog LANGUAGES C VERSION 0.1.2 DESCRIPTION "A simple and minimal dialog library, with cross-platform support")
project(libnvdialog LANGUAGES C VERSION 0.1.3 DESCRIPTION "A simple and minimal dialog library, with cross-platform support")

option(WIN32_TARGET "Build the library for Windows usage. Requires x86_64-w64-mingw32." OFF)
option(NVD_USE_GTK4 "Instead of using the old Gtk3 backend, use Gtk4 and libadwaita for Linux. Experimental.")
Expand Down
2 changes: 1 addition & 1 deletion include/nvdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern "C" {

#define NVDIALOG_VERSION_MAJOR 0
#define NVDIALOG_VERSION_MINOR 1
#define NVDIALOG_VERSION_PATCH 1
#define NVDIALOG_VERSION_PATCH 3

/**
* @brief Returns the version of nvdialog currently linked with.
Expand Down
4 changes: 2 additions & 2 deletions src/nvdialog_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
/* The versions of nvdialog are held as statics in the global scope. */
static short __vermajor = 0;
static short __verminor = 1;
static short __verpatch = 2;
static short __verpatch = 3;

NvdVersion nvd_get_version() {
NvdVersion version = {__vermajor, __verminor, __verpatch, "0.1.2"};
NvdVersion version = {__vermajor, __verminor, __verpatch, "0.1.3"};
return version;
}

0 comments on commit b3327f0

Please sign in to comment.