NvDialog is a C library that lets you create modal dialog boxes, file dialogs, notifications and other kinds of popups using the system's native API for user interfaces.
MIT License
This is a patch release that fixes some bugs from the v0.8.0 release. Read the changelog below for further details. If you intend to run your application on Apple-based systems, then an upgrade may be necessary.
nvd_init
, which was already unused since v0.7 (Previously compiled executables may not work)NvdAboutDialog
on Windows. (This may not work as expected yet, the next release will fix any bugs, especially with Wine)NvdAboutDialog
on Gtk3.NvdAboutDialog
on Linux not having an icon.NvdDialogBox
will no longer be marked as a popup on Linux/Gtk3. This will fix incorrect positioning on Wayland/GNOME.Full Changelog: https://github.com/tseli0s/nvdialog/compare/v0.8.0...v0.8.1
Published by tseli0s 10 months ago
Apologies for the delay on this release. Although it did take some time due to me working on other projects simultaneously, it is a massive release with many bugs fixed and many improvements added. Make sure to read the changelog carefully; Some of these changes may break older binaries! (Though they shouldn't)
const
assignments when compiling the library.nvd_get_capabilities()
will now set an error code if the query is not supported (eg. Invalid enum).nvd_dialog_box_set_accept_text
crashing on Linux.Full Changelog: https://github.com/tseli0s/nvdialog/compare/v0.7.0...v0.8.0
Published by tseli0s over 1 year ago
Not a spectacular release, but surely better than nothing. This was planned for May 1st but I decided to leave it for the weekend. Enjoy :)
nvd_init
: The parameter 'program' of the function is now deprecated.dlopen()
errors.NULL
pointer or a negative integer).Full Changelog: https://github.com/tseli0s/nvdialog/compare/v0.6.1...v0.7.0
Published by tseli0s over 1 year ago
Mainly fixes some bugs on a few newer distros. Recommended to upgrade if you notice issues with your application.
For extensive commit message click here: https://github.com/AndroGR/nvdialog/compare/v0.6.0...v0.6.1
NvdError
member: NVD_BACKEND_FAILURE
.Published by tseli0s over 1 year ago
This release includes a series of bug fixes and additions. It's a release that took time as there was a lot of work on all backends.
For a full changelog, see here: https://github.com/AndroGR/nvdialog/compare/v0.5.0...v0.6.0
nvd_get_error
return type.NVD_API
macro to export functions to Windows (or import them). This will only be used internally for better optimization.nvd_about_dialog_gtk
not working properly under the Gtk3 backend when custom icons were used instead of the default ones.nvd_add_notification_action
. The description of this function is rather long,include/nvdialog_notification.h
for the declaration and its documentation.nvd_init
will check if the library has been initialized already and return if so.doxygen
will be used to generate documentation.NVD_NO_NOTIFS
to 1
will disable the libnotify
dependencyPublished by tseli0s almost 2 years ago
This release is the first fully-complete release of NvDialog, focusing largely on stability. From now on, new features will only be added if all backends support them. There was an exception for the styling API (See the changelog below) as it could only be implemented for Gtk3.
NvdCSSManager
).NvdNotification
).nvd_stringify_error
returning invalid pointer, causing undefined behavior.NVD_FILE_INACCESSIBLE
(A file NvDialog tried to access is not accessible),NVD_BACKEND_INVALID
(A backend is invalid, eg. A symbol can't be accessed)NVD_VERSION
macro -- Stores the compile time version of NvDialog to the NvdVersion
variable passed.nvd_*_get_raw()
functions -- Allows to get the window implementation behind the dialog to use for the styling API.pkg-config
script to make NvDialog compatible with other build systems.Adwaita
backend, the NvdAboutDialog
will now use AdwAboutWindow
instead, to make development easier.NvdFileDialog
support for save file dialog, mostly working.Full Changelog: https://github.com/AndroGR/nvdialog/compare/v0.3.0...v0.5.0
Published by tseli0s almost 2 years ago
v0.3.0 is released, bringing a lot of fundamental changes to NvDialog. See the changelog below for more.
Along with the changes on the library's API, and others described below, as you can see you can now download NvDialog precompiled for your platform. Feel free to use them if you want something that "works".
NvdAboutDialog
with a better UI for Linux.NvdFileDialog
not working under the Gtk3 backend.Full Changelog: https://github.com/AndroGR/nvdialog/compare/v0.2.0...v0.3.0
Published by tseli0s about 2 years ago
nvd_about_dialog_new
- Shows a window with information about your application.nvd_set_parent
- Allows to set a foreign window as the parent of every dialog.nvd_get_parent
- Returns the current parent window or NULL otherwise.nvd_delete_parent
- Marks that no window is currently considered the parent.nvd_about_dialog_new
-> Window size is now more compact (Gtk3 only)setlinebuf(stdout)
will no longer be called on Windows.nvd-shell
is no longer part of this project, considered deprecated until later notice.nvd_stringify_error
where a local string would be returned instead of a heap one.main
to become int main(int, char**)
.PKGBUILD
for Arch Linux.Published by tseli0s about 2 years ago
NVDIALOG_MAXBUF
instead of a fixed 128 byte buffer.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.libadwaita
support complete.nvdialog/
directory in the standard include directory.Full Changelog: https://github.com/AndroGR/nvdialog/compare/v0.1.2...v0.1.3
This release brings alot of new features since 0.1.2. This means code linked with the previous version has a chance of breaking. Since nvdialog can't guarantee everything works, make sure to open issues for API breakage. However, the main changes will only be detected at compile time since everything existing hasn't changed much.
Published by tseli0s about 2 years ago
Full Changelog: https://github.com/AndroGR/nvdialog/compare/v0.1.1...v0.1.2
Published by tseli0s about 2 years ago
strdup()
to avoid undefined behavior (Remember to free them).nvd_dialog_question_new
| This function creates a question dialog. A variant for custom buttons is also coming soon.Full Changelog: https://github.com/AndroGR/nvdialog/compare/v0.1.0...v0.1.1
Published by tseli0s about 2 years ago
This changelog only covers changes since August 31
nvd_open_file_dialog_new()
. This function opens a window that asks for a file through a GUI interface. Not working on Windows and Flatpak, and Unix implementation is still buggy.