Commit Graph

26 Commits (master)

Author SHA1 Message Date
Christian Burger 8784bb2ce3 distributed files to `src/` directory 2022-05-28 13:19:16 +02:00
Christian Burger 01b90fe0ef closes #17: own headers are not system headers
This was stupid as it prevented the compiler from doing code analysis
and discovering the bug leading to a segmentation fault when using
compiler optimization (see christian/shellipt#44).

Long overdue update of `README.md`.
2022-05-28 12:39:03 +02:00
Christian Burger c6218e9acc enabled compiler flags "-pedantic", "-Wall", …
… "-Werror" and "-Wextra". Corrected some issues resulting from the
switch.
2022-05-22 13:54:05 +02:00
Christian Burger 4b709c92fb fixing problem with packaging
Multiline strings are problematic in cmake.
2022-05-21 00:05:07 +02:00
Christian Burger f48641bb58 cmake: changed project homepage URL 2022-05-18 23:30:04 +02:00
Christian Burger 9ddb769cb4 added `HorizontalWindowManager` to `DemoApp` 2022-05-08 21:37:06 +02:00
Christian Burger 4fb2e6a976 renamed `App.*` to `DemoApp.*` 2022-05-08 21:26:12 +02:00
Christian Burger 792f12c96c created abstract class `TilingWindowManager`
`TilingWindowManager` was created from `VerticalTilingWindowManager` and
separated its functionality so that there can be a
`HorizontalTilingWindowManager` next.
2022-05-08 20:57:48 +02:00
Christian Burger 1357a7f6bf renamed to project to `kNCurses` 2022-05-06 22:42:09 +02:00
Christian Burger 0462a68c54 added simple vertical tiling window manager 2022-05-03 11:23:32 +02:00
Christian Burger f8db9dc660 renamed project to `NCurses` 2022-05-01 22:51:17 +02:00
Christian Burger 2601d78453 cmake: missed to add `PtyWindow.hpp` to package 2022-05-01 22:37:49 +02:00
Christian Burger 3af1284cf8 refactoring: wide character methods to `Window` 2022-04-25 15:55:39 +02:00
Christian Burger 746e458cd2 renamed `Window` to `PtyWindow`
Making space for a more general base window class with support for wide
characters.
2022-04-25 11:10:07 +02:00
Christian Burger ae6130f095 cmake: some improvements
* not depending on "-dev" packages for the built Debian package
* some refactoring in if-clauses and with "quotes"
* libvterm dependency: if something is missing, made clear what
2022-04-23 22:24:08 +02:00
Christian Burger f994cb2261 moved library system headers to separate folder
Gave the library a version in case it is build statically.
2022-04-23 20:27:55 +02:00
Christian Burger 2d7dda88c5 cmake: determines version from latest Git tag
Some other changes to the CMake-files done as well:
* documentation looks more like Doxygen-style
* prevent mix-up with C++ GSL library ("Guidelines support library" not
"GNU scientific library")
2022-04-23 10:00:33 +02:00
Christian Burger bc76ae227c fixed homepage for Debian package 2022-04-21 12:36:18 +02:00
Christian Burger d3bdb305d0 fixes issue with wrong description in DEB package
* added homepage URL as well
2022-04-21 10:28:45 +02:00
Christian Burger 0a916fe01a made package (.deb and .tar.gz) 2022-04-18 22:59:36 +02:00
Christian Burger f1d0c012b7 fixing debug facility in when NDEBUG is set
- changed libvterm.cmake so it is easier to integrate in other projects
2022-04-14 09:31:19 +02:00
Christian Burger 4ca933a158 refactoring: closes #10 2022-04-13 19:41:41 +02:00
Christian Burger 8e71512f12 cmake: locate or build `libvterm` dependency
There is no version detection. If there is any vterm library, it is
used. If it is the wrong version, there will be an build error.
`libvterm.so.0.0.2` is preferred, which hopefully is compatible to
revision 740 or Ubuntu `libvterm0` version 0.1.2-2.

If no library is found, the correct one is downloaded and build.
2022-04-13 13:10:55 +02:00
Christian Burger ef07c3ac06 fixes #5, touches on #8
* using `get_wch()` now and mapping most of the function keys documented
in `vterm_keycodes.h` (not num keypad)
* there are still a lot of mappings from ncurses missing (in conjunction
with modifier keys, related issue #11)
* using mutex to make sure writing to terminal client is serialized
2022-04-13 10:46:44 +02:00
Christian Burger 2171a3daa4 consistent naming of project `NCursesPtyWindow` 2022-04-05 10:28:10 +02:00
Christian Burger 28643632ce prototype: ncurses window class wrapping a PTY 2022-04-03 10:16:20 +02:00