Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed May 6, 2023
1 parent e97f8b6 commit 70d619b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 121 deletions.
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.6.1 DESCRIPTION "A simple and minimal dialog library, with cross-platform support")
project(libnvdialog LANGUAGES C VERSION 0.7.0 DESCRIPTION "A simple and minimal dialog library, with cross-platform support")

option(WIN32_TARGET "Build the library for Windows usage. Requires i686-w64-mingw32-gcc-win32." OFF)
option(COCOA_TARGET "Build the library for MacOS/Cocoa usage." ON)
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = NvDialog
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 0.6.1
PROJECT_NUMBER = 0.7.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=nvdialog
_pkgname=nvdialog
pkgver=0.6.1
pkgver=0.7.0
pkgrel=1
epoch=
pkgdesc="Cross-platform dialog box library written in C, using the host's standard backend."
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<a href="https://github.com/AndroGR/nvdialog/releases">Releases</a>
<h5><b>A simple, cross-platform dialog box library.</b></h5>
<code>libnvdialog</code> is a simple dialog box library written in C
for multiple purposes such as games, app development, simple UI boxes for terminal apps or pretty much anything else. NvDialog uses the host's UI library (eg. <a href="https://gtk.org">Gtk3 / Gtk4</a> on Linux and other Unix like OSes, <a href="https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaFundamentals/WhatIsCocoa/WhatIsCocoa.html">the Cocoa API</a> on MacOS X or the <a href="https://learn.microsoft.com/en-us/windows/win32/apiindex/windows-api-list">WinAPI</a> for Windows) to achieve a look and feel that follows the system theme and design guidelines. In addition, NvDialog allows custom styling support for certain backends to make it easier to follow your application's style if necessary.
for multiple purposes such as games, app development, simple UI boxes for terminal apps or pretty much anything else. NvDialog uses the host's UI library (eg. <a href="https://gtk.org">Gtk3 / Gtk4</a> on Linux and other Unix like OSes, <a href="https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaFundamentals/WhatIsCocoa/WhatIsCocoa.html">the Cocoa API</a> on MacOS X or the <a href="https://learn.microsoft.com/en-us/windows/win32/apiindex/windows-api-list">WinAPI</a> for Windows) to achieve a look and feel that follows the system theme and design guidelines.
<br>
<br>
<img src="https://img.shields.io/github/license/tseli0s/nvdialog?color=blue&label=License">
<img src="https://img.shields.io/github/issues/tseli0s/nvdialog">
<img src="https://img.shields.io/github/commits-since/tseli0s/nvdialog/v0.5.0?label=Commits%20since%200.5.0&logo=git">
<img src="https://img.shields.io/github/commits-since/tseli0s/nvdialog/v0.6.1?label=Commits%20since%200.6.1&logo=git">
<br>
<img src="https://img.shields.io/github/actions/workflow/status/AndroGR/nvdialog/x86_64-pc-linux-gnu.yml?label=Ubuntu">
<img src="https://img.shields.io/github/actions/workflow/status/AndroGR/nvdialog/x86_64-apple-darwin.yml?branch=master&label=MacOS%20X&logo=github">
Expand Down
7 changes: 2 additions & 5 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Features to implement in the future versions:
- [ ] Move to version 1.0 (Targeted for 0.7.0 and afterwards).
- [x] Add portal support (For sandboxed environments such as Flatpak).
- [ ] Make accept, cancel and reject buttons have custom text if needed (Targeted for 0.7.0)
- [x] Add file extensions support in open file dialogs.
- [ ] Add raw window support (X11, Wayland, ...).
- [x] Deprecate styling support.
- [ ] Make accept, cancel and reject buttons have custom text if needed (Targeted for >=0.7.1)
- [ ] Add raw window handle support (X11, Wayland, ...).
4 changes: 2 additions & 2 deletions include/nvdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ extern "C" {
/** Major version of NvDialog at compile time. */
#define NVDIALOG_VERSION_MAJOR 0
/** Minor version of NvDialog at compile time. */
#define NVDIALOG_VERSION_MINOR 6
#define NVDIALOG_VERSION_MINOR 7
/** Patch version of NvDialog at compile time. */
#define NVDIALOG_VERSION_PATCH 1
#define NVDIALOG_VERSION_PATCH 0

/** @brief A macro to set the version at compile time. */
#define NVD_VERSION(x) { \
Expand Down
2 changes: 0 additions & 2 deletions include/nvdialog_tutorial.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
* This page provides a simple tutorial of the NvDialog library. For more information about the
* library itself, see <b>https://androgr.github.io/nv.dialog</b>.
* Proper documentation of the API used in this tutorial is also available in the documentation.
* If you are interested in it, visit https://androgr.github.io/nv.dialog/index.html .
*
* This tutorial assumes you have already installed NvDialog in your system. If not, visit the [GitHub Repo](https://github.com/AndroGR/nvdialog/#installation).
* NvDialog is compiler and platform independent, so this tutorial should work as expected on all platforms.
* # 1. Creating our environment.
Expand Down
106 changes: 0 additions & 106 deletions scripts/create-prebuilt.sh

This file was deleted.

2 changes: 1 addition & 1 deletion src/nvdialog_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ NVD_THREAD_LOCAL(const short verminor) = NVDIALOG_VERSION_MINOR;
NVD_THREAD_LOCAL(const short verpatch) = NVDIALOG_VERSION_PATCH;

NvdVersion nvd_get_version() {
return ((NvdVersion) {vermajor, verminor, verpatch, "0.6.1"});
return ((NvdVersion) {vermajor, verminor, verpatch, "0.7.0"});
}

0 comments on commit 70d619b

Please sign in to comment.