Commit Graph

163 Commits

Author SHA1 Message Date
nick black
2dcca32cd8
debrelease: support other distributions 2021-03-28 18:21:24 -04:00
nick black
5d57cd3c58
release.sh: leave objects out of doc tarball #1412 2021-03-14 16:58:44 -04:00
nick black
23c6b13ecf release.sh: fix up remaining context-free regexes #1340 2021-02-08 21:28:33 -05:00
nick black
3dd543d72b release.sh: make most regexes context-sensitive #1340 2021-02-08 21:28:33 -05:00
nick black
0a6056fde4
reproduce MIT license in ncart.c #1323 2021-02-03 00:43:15 -05:00
nick black
2cddb73962
add details to pkg-config Descriptions 2021-01-24 05:43:56 -05:00
nick black
3aae597ddd
add notcurses-core to Requires for rust linking 2021-01-21 02:05:38 -05:00
nick black
07ec5206cb
install notcurses-core.pc pkg-config support 2021-01-21 01:36:02 -05:00
nick black
feb592e590
add a note about static linking #1306 2021-01-21 01:26:58 -05:00
nick black
f638b5f12b
use Requires.private for static linking in pkg-config #1306 2021-01-21 00:53:39 -05:00
nick black
9cf2925f47
prepare NotcursesCoreConfig.cmake #1301 2021-01-19 08:37:21 -05:00
nick black
a5244632da
NotcursesConfig.cmake: list -lnotcurses-core #1301 2021-01-19 08:35:24 -05:00
Nick Black
9112185657
Split up notcurses/notcurses-core (#1297)
Extract `libnotcurses-core` from `libnotcurses`. The former contains everything except multimedia code. The latter contains multimedia stuff (a wrapper around FFmpeg or OIIO). If built with `-DUSE_MULTIMEDIA=none`, there will not be any `libnotcurses.so` generated. `libnotcurses.so` uses library constructors/destructors to insert its implementation into the `ncvisual` stack at runtime. Users linking `-lnotcurses` will get the full implementation; users linking `-lnotcurses-core` only will get the stack less multimedia code.

The upshot of this is that someone can compile/install only `libnotcurses-core`, and a program linked against it will work just fine. This eliminates the need to install the full (large) dependency stack of the multimedia code unless necessary. This will hopefully be useful for e.g. installers etc. Closes #339.
2021-01-18 14:10:04 -05:00
nick black
c4f61c528d
ncneofetch: center neologo #1260 2021-01-12 00:33:03 -05:00
nick black
aab28aadb4
ncneofetch: hook up ncart logos #1260 2021-01-11 23:46:56 -05:00
nick black
8acc6ea412
neofetch-ripper: escape backslashes correctly in logo text #1260 2021-01-10 16:47:01 -05:00
nick black
250d50134e
neofetch-ripper: build usable C code 2021-01-10 16:39:11 -05:00
nick black
b5bace8aa1
neofetch-ripper: don't emit duplicates #1260 2021-01-10 16:18:11 -05:00
nick black
1a597f2a50
neofetch-ripper: fix alignment 2021-01-10 10:08:14 -05:00
nick black
818e0941d6
ncneofetch: preserve Dylan Araps's copyright 2021-01-10 10:00:40 -05:00
nick black
d85aba798f
add neofetch-ripper #1260 2021-01-10 09:40:19 -05:00
joseLuís
b6fcd2783d tools: update funtion-summary.sh & generated data 2020-12-27 19:59:33 +01:00
joseLuís
1b5880c5d9 rust: use sh for the rust doc build script 2020-12-09 17:21:25 +01:00
joseLuís
a60a82ded9 rust: new script to update docs on release #1125 2020-12-09 17:10:45 +01:00
nick black
e60a7aa463
add stat for notcurses_refresh() 2020-12-06 13:45:35 -05:00
nick black
3f9d87f5e6 include data model on web page 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
e3b2c91999
add NOTCURSES_VERSION_COMPARABLE #1131 2020-11-27 16:13:44 -05:00
joseLuís
58c3d66c15 rust: add ncpile funcs & upd function-summary
- add functions ncpile_create, ncpile_render, ncpile_rasterize
- add new script tools/blame-nick.sh
- upd script tools/function-summary.sh and the generated data
- upd bindgen version
2020-11-26 13:31:04 +01:00
nick black
7b3c391643 Add more version-related defines (#1131)
Add NOTCURSES_VERNUM_* as integer preprocessor definitions of
the four version components. Add NOTCURSES_VERNUM_ORDERED as
a 32-bit totally comparable integer. Preserve the definitions
of NOTCURSES_VERSION_*, defining them in terms of VERNUMs.
Don't use TWEAK in version, since it usually isn't defined.
2020-11-24 04:19:47 -05:00
nick black
15892627db
update tools/release.sh for new python path 2020-11-22 01:47:09 -05:00
nick black
0097d76ab4
deal by hand with github-release filename changes 2020-11-22 00:24:48 -05:00
nick black
874026829e
release: note githubrelease dependency 2020-11-21 23:43:41 -05:00
joseLuís
446d2179d6 update function-summary.sh stats; remove oldest stats 2020-11-03 20:03:04 +01:00
nick black
da1b8d1d53
install version.h #1054 2020-10-10 20:53:45 -04:00
nick black
68dbfeafc8
add version unit test #1054 2020-10-10 20:33:23 -04:00
nick black
b809d5c7c5
s/USE_MULTIMEDIA/NOTCURSES_USE_MULTIMEDIA/g #1054 2020-10-10 19:37:01 -04:00
nick black
4360f3bec8
release: upload doc package to github #981 2020-10-08 17:44:54 -04:00
joseLuís
38314d5e76 update function-summary.sh stats 2020-09-22 14:08:32 +02:00
nick black
dd4b97e06e
drone: use 2020-08-31a builders 2020-08-31 22:28:58 -04:00
nick black
c834e2a78d
cell_simple_p(): fix for htole() #979 2020-08-31 14:36:46 -04:00
nick black
e1863317a3
CMake: conform to cmake capitalization conventions 2020-08-29 18:38:28 -04:00
nick black
fd9ff4ebe6 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
589c088b64
debrelease.sh: push it out 2020-08-27 15:45:31 -04:00
nick black
1b8706ab73
release.sh: use new webserv path 2020-08-25 18:23:13 -04:00
joseLuís
78a863790a improve function-summary.sh, encapsulate, tidy up 2020-08-26 00:08:31 +02:00
nick black
02f59d25c2
release.sh: clean up tarball signature 2020-08-23 22:35:28 -04:00
nick black
026b94969d cffi heap allocations are zero-initialized #942 2020-08-23 22:27:50 -04:00