Skip to content

Commit

Permalink
[bitmaps] remove redundant PixelWipeBlocks test
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Mar 28, 2021
1 parent 5e4c078 commit 57114c8
Show file tree
Hide file tree
Showing 45 changed files with 44 additions and 65 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 3.14.0 introduced NAME_WLE
cmake_minimum_required(VERSION 3.14.0)
project(notcurses VERSION 2.2.3
project(notcurses VERSION 2.2.4
DESCRIPTION "Blingful UI for modern terminal emulators"
HOMEPAGE_URL "https://nick-black.com/dankwiki/index.php/notcurses"
LANGUAGES C CXX)
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This document attempts to list user-visible changes and any major internal
rearrangements of Notcurses.

* 2.2.4 (not yet released)
* 2.2.4 (2021-03-29)
* Implemented **EXPERIMENTAL** `NCBLIT_PIXEL` for terminals reporting the
Kitty pixel graphics protocol.
* Added `notcurses_debug_caps()` to dump terminal properties, both those
Expand Down
2 changes: 1 addition & 1 deletion cffi/notcurses-pydemo.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses-pydemo(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion cffi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def read(fname):

setup(
name="notcurses",
version="2.2.3",
version="2.2.4",
packages=['notcurses'],
scripts=['notcurses-pydemo', 'ncdirect-pydemo'],
package_dir={'': 'src'},
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = Notcurses
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.2.3
PROJECT_NUMBER = 2.2.4

# 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 doc/man/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
<hr>
<iframe align="right" width="560" height="315" src="https://www.youtube.com/embed/cYhZ7myXyyg" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h2><a href="https://nick-black.com/dankwiki/index.php/Notcurses">notcurses</a> manual pages (v2.2.3)</h2>
<h2><a href="https://nick-black.com/dankwiki/index.php/Notcurses">notcurses</a> manual pages (v2.2.4)</h2>
<a href="notcurses.3.html">notcurses(3)</a>—a blingful TUI library<br/>
<h3>Executables (section 1)</h3>
<a href="ncls.1.html">ncls</a>—list files, displaying multimedia along with them<br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/ncls.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% ncls(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/ncneofetch.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% ncneofetch(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/ncplayer.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% ncplayer(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/nctetris.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% nctetris(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/notcurses-demo.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses-demo(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/notcurses-input.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses-input(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man1/notcurses-tester.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses-tester(1)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_capabilities.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_capabilities(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_cell.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_cell(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_channels.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_channels(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_core.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_core(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_direct.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_direct(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_fade.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_fade(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_fds.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_fds(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_init.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_init(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_input.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_input(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_lines.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_lines(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_menu.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_menu(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_metric.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_metric(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_multiselector.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_multiselector(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_output.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_output(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_palette.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_palette(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_plane.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_plane(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_plot.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_plot(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_reader.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_reader(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_reel.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_reel(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_refresh.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_refresh(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_render.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_render(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_selector.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_selector(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_stats.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_stats(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_stdplane.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_stdplane(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_stop.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_stop(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_tabbed.3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% notcurses_tabbed(3)
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_tree.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_tree(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME

Expand Down
2 changes: 1 addition & 1 deletion doc/man/man3/notcurses_visual.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% notcurses_visual(3)
% nick black <[email protected]>
% v2.2.3
% v2.2.4

# NAME
notcurses_visual - notcurses multimedia
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libnotcurses-sys"
version = "2.2.3"
version = "2.2.4"
authors = [
"nick black <[email protected]>",
"José Luis Cruz <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion rust/build/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::path::PathBuf;
// largely taken from https://rust-lang.github.io/rust-bindgen/tutorial-3.html
fn main() {
let plib = pkg_config::Config::new()
.atleast_version("2.2.3")
.atleast_version("2.2.4")
.probe("notcurses")
.unwrap();

Expand Down
21 changes: 0 additions & 21 deletions src/tests/pixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,27 +147,6 @@ TEST_CASE("Pixel") {
}

#ifdef NOTCURSES_USE_MULTIMEDIA
SUBCASE("PixelWipeBlocks") {
auto ncv = ncvisual_from_file(find_data("blocks.png"));
REQUIRE(ncv);
struct ncvisual_options vopts{};
vopts.blitter = NCBLIT_PIXEL;
vopts.flags = NCVISUAL_OPTION_NODEGRADE;
auto newn = ncvisual_render(nc_, ncv, &vopts);
REQUIRE(newn);
CHECK(0 == notcurses_render(nc_));
const auto s = newn->sprite;
for(int y = 0 ; y < s->dimy ; ++y){
for(int x = 0 ; x < s->dimx ; ++x){
CHECK(0 == sprite_wipe_cell(nc_, s, y, x));
CHECK(0 == notcurses_render(nc_));
}
}
ncplane_destroy(newn);
CHECK(0 == notcurses_render(nc_));
ncvisual_destroy(ncv);
}

SUBCASE("PixelWipeImage") {
auto ncv = ncvisual_from_file(find_data("worldmap.png"));
REQUIRE(ncv);
Expand Down

0 comments on commit 57114c8

Please sign in to comment.