Commit Graph

302 Commits

Author SHA1 Message Date
nick black
361a253aea
v2.0.10 2020-12-06 13:22:26 -05:00
nick black
cc5f9f0cb7
cmake: run notcurses-tester first among tests 2020-12-06 12:36:31 -05:00
nick black
f3688f44fb
CMake: add demo target 2020-12-03 01:47:40 -05:00
nick black
8083b46e3b
v2.0.9 2020-12-01 04:37:37 -05:00
nick black
de3944b114 ncls getopt skeleton #693 2020-11-29 10:44:04 -05:00
nick black
c2671b6fef
data model: every plane gets an egcpool 2020-11-29 07:34:45 -05:00
nick black
3f9d87f5e6 include data model on web page 2020-11-28 20:45:16 -05:00
nick black
465a0ffbcb Improve handling of dot->graph documentation
Remove the pre-rendered model.png, a generated output. Add a
dot target to CMake, predicated on USE_DOXYGEN (since we have
REQUIRED dot in our Doxygen spec). Generate the png in the
output path. Rename stacks to piles in model.dot.
2020-11-28 20:45:16 -05:00
Marek Habersack
9135663529 [CMake] Restore old way of importing Notcurses into a cmake project
Partially reverts: c5c9432ac0
Context: https://github.com/dankamongmen/notcurses/pull/1146

The above commit implemented the much more convenient way of finding and
using a package from CMake, however it broke compatibility with the way
id had been before, which defined various `Notcurses_*` variables.

Revert the `Notcurses` component to the old way and add support for
`Notcurses++` in the same fashion.

Perhaps one day we should think of implementing `find_package` support
by way of a module, which should make it possible to have the cake and
eat the cake. One day.
2020-11-28 19:54:21 -05:00
Marek Habersack
c5c9432ac0 [Misc] A hodgepodge of tiny changes
CMake:
  Simplify cmake target+version config generation and make it actually
  work.  With the changes it is now possible to detect and use
  `Notcurses` in the following way:

     find_package(Notcurses REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses::notcurses)

  Also, added the same CMake configuration for `Notcurses++`, to be used
  in the following way:

     find_package(Notcurses REQUIRED
     find_package(Notcurses++ REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses++::notcurses++)

Docs:
  `notcurses_cell(3)`: `cell_styles_{on,off} -> cell_{on,off}_styles`
  and `cell_load_simple` -> `cell_load_char`

C++ API:
  * Plane: added constructors taking `ncplane_options const&` instead of
    the multitude of individual parameters
  * Plane: drop `struct` when `ncplane_options` is used.
  * Plane: added `strdup` (`cell_strdup`)
  * Plane: added `extract` (`cell_extract`)
2020-11-28 17:46:23 -05:00
nick black
2a45620cd6
v2.0.8 2020-11-27 16:49:56 -05:00
nick black
b7ea4e2359
run sgr-full and sgr-direct in test suite #1138 2020-11-27 15:38:36 -05:00
nick black
73b2f1bf19
v2.0.7 2020-11-22 00:22:11 -05:00
nick black
acdcf9e41f
v2.0.6 2020-11-21 23:35:24 -05:00
nick black
537caa2173
v2.0.5 2020-11-21 22:29:02 -05:00
Nick Black
47cc9f9ecd
Initial easybook chapter (#1129)
* some mdbook #785

* more chapter 1
2020-11-21 22:13:27 -05:00
nick black
1328fc7cf8
drop -V argument from CTest 2020-11-20 19:45:02 -05:00
nick black
1051210679
pandoc: don't use smart extension 2020-11-17 02:25:30 -05:00
nick black
7622cefc3a
v2.0.4 2020-11-10 10:50:30 -05:00
nick black
0d31a03be9
v2.0.3 2020-11-09 13:45:59 -05:00
nick black
a221ba2865
notcurses-static doesn't need an SOVERSION 2020-11-07 02:36:03 -05:00
nick black
8189d21709
v2.0.2 2020-10-25 10:10:50 -04:00
nick black
a4546c86e3
v2.0.1 2020-10-19 03:15:32 -04:00
nick black
65974aeb0b
v2.0.0 2020-10-12 12:33:21 -04:00
nick black
da1b8d1d53
install version.h #1054 2020-10-10 20:53:45 -04:00
nick black
8c9611d085
v1.7.6 2020-10-09 20:07:01 -04:00
nick black
20a49d053d
v1.7.5 2020-09-29 13:12:17 -04:00
nick black
8d347d14bb
move ncreel to PoCs, don't install #1033 2020-09-28 07:20:16 -04:00
nick black
f02263e977
v1.7.4 2020-09-20 17:30:46 -04:00
nick black
4459efa216
v1.7.3 2020-09-19 21:21:52 -04:00
nick black
bc097a5674
v1.7.2 2020-09-10 04:14:01 -04:00
nick black
1f59eef9d8
CMake: no need to link notcurses-view against libav 2020-09-09 07:44:54 -04:00
nick black
70f062aff5
v1.7.1 2020-08-31 21:49:39 -04:00
nick black
64fe8f6c07
v1.7.0 2020-08-30 19:12:16 -04:00
nick black
247706068e cmake: remove 4 c++ build options that aren't widely supported 2020-08-30 17:30:25 -04:00
nick black
c93243fd54
v1.6.20 2020-08-30 01:25:44 -04:00
nick black
a3f5ba2e5c
cmake: better use of feature_summary 2020-08-29 22:32:27 -04:00
nick black
af46b2aab6
CMake: don't run PoC tests with USE_POC=off 2020-08-29 19:16:55 -04:00
nick black
4d7941f1b9
CMake: add USE_POC to control building poc binaries 2020-08-29 18:55:21 -04:00
nick black
e1863317a3
CMake: conform to cmake capitalization conventions 2020-08-29 18:38:28 -04:00
nick black
cbcc19de0e CMake: same as it ever was 2020-08-29 18:24:45 -04:00
nick black
a413fb8bc9 notcurses->Notcurses for CMake module 2020-08-29 18:24:45 -04:00
nick black
e92b7fd6ea
v1.6.19 2020-08-27 12:43:28 -04:00
nick black
6526e58c00
v1.6.18.4 2020-08-27 12:30:29 -04:00
nick black
6ea73e6e45
v1.6.18.3 2020-08-27 08:18:38 -04:00
nick black
550c02d8ac
v1.6.18.2 2020-08-27 07:26:28 -04:00
nick black
d11d8175d0
v1.6.18.1 2020-08-27 03:10:48 -04:00
nick black
6d7f9eb501
v1.6.18 2020-08-25 18:24:19 -04:00
nick black
af80914efe
add libunistring unit tests #906 2020-08-24 15:30:17 -04:00
nick black
026b94969d cffi heap allocations are zero-initialized #942 2020-08-23 22:27:50 -04:00