aboutsummaryrefslogtreecommitdiffhomepage
path: root/freebsd
AgeCommit message (Collapse)AuthorFilesLines
2024-12-25prepared v2.3.0 releasev2.3.0Robin Haberkorn1-3/+3
2024-12-25FreeBSD port: overwrite BINMODE, fixing `make package` without rootRobin Haberkorn1-0/+4
Turns out that the FreeBSD ports Makefiles install programs and scripts with 0555 by default, i.e. without write permissions. This broke the install-exec-hook unless building as root. Unfortunately, this also broke the Poudriere builds at the FreeBSD build servers. See https://pkg-status.freebsd.org/package19/data/141amd64-default-build-as-user/aa1f9b124e36/logs/errors/sciteco-curses-2.2.0.log
2024-12-23Curses: don't install PNG iconsRobin Haberkorn1-3/+3
* They are used at runtime only by the GTK port. * Their existence can cause problems if OS-specific build systems have to clean these files from the staging directory afterwards. This was the case on FreeBSD where the committer refused to remove these files after installation. In the official FreeBSD port, we therefore currently ship the PNG icons unnecessarily. * They are now installed and shipped only on GTK builds.
2024-12-23uploaded target release to v2.3.0Robin Haberkorn1-1/+1
2024-12-22freebsd port: enabled LTORobin Haberkorn1-0/+2
This is not done automatically when building ports. The FreeBSD binaries were thus the only ones without LTO. We should prefer WITH_LTO, even once we add something like --enable-lto, as WITH_LTO enables Clang-specific ThinLTO support.
2024-12-17freebsd port: synced with the version in FreeBSD portsRobin Haberkorn2-2/+3
Rodrigo Osorio re-included the PNGs even for sciteco-curses. Should be fixed at the Autoconf-level, by only installing the PNGs on GTK.
2024-12-13implemented Scintilla lexer for SciTECO code, i.e. TECO syntax highlightingRobin Haberkorn1-0/+1
* this works by embedding the SciTECO parser and driving it always (exclusively) in parse-only mode. * A new teco_state_t::style determines the Scintilla style for any character accepted in the given state. * Therefore, the SciTECO lexer is always 100% exact and corresponds to the current SciTECO grammer - it does not have to be maintained separately. There are a few exceptions and tweaks, though. * The contents of curly-brace escapes (`@^Uq{...}`) are rendered as ordinary code using a separate parser instance. This can be disabled with the lexer.sciteco.macrodef property. Unfortunately, SciTECO does not currently allow setting lexer properties (FIXME). * Labels and comments are currently styled the same. This could change in the future once we introduce real comments. * Lexers are usually implemented in C++, but I did not want to draw in C++. Especially not since we'd have to include parser.h and other SciTECO headers, that really do not want to keep C++-compatible. Instead, the lexer is implemented "in the container". @ES/SCI_SETILEXER/sciteco/ is internally translated to SCI_SETILEXER(NULL) and we get Scintilla notifications when styling the view becomes necessary. This is then centrally forwarded to the teco_lexer_style() which uses the ordinary teco_view_ssm() API for styling. * Once the command line becomes a Scintilla view even on Curses, we can enabled syntax highlighting of the command line macro.
2024-12-09updated FreeBSD package to v2.2.0Robin Haberkorn3-34/+36
2024-11-18Debian/Ubuntu, FreeBSD and website updates for v2.1.1 releaseRobin Haberkorn2-4/+4
2024-10-18FreeBSD package: changed website to https://rhaberkorn.github.io/sciteco/Robin Haberkorn1-1/+1
2024-10-16updated FreeBSD port for v2.1.0 releasev2.1.0Robin Haberkorn2-7/+7
2024-10-16updated ChangeLog, FreeBSD and Debian packages for v2.1.0 releaseRobin Haberkorn1-1/+1
2024-09-15FreeBSD package: add the git.tes lexer configRobin Haberkorn1-0/+1
2024-08-23fully support out of tree buildsRobin Haberkorn1-3/+1
* You no longer have to copy contrib/scintilla, contrib/scinterm and contrib/lexilla manually to the build directory. * It turns out, that Scintilla/Lexilla was supporting this since 2016. Scintilla allows pointing to a source directory (srdir) and Lexilla to a binary directory (DIR_O). * For Scinterm I opened a pull request in order to add srcdir/basedir variables: https://github.com/orbitalquark/scinterm/pull/21 * `make distcheck` is therefore now also fixed. * The FreeBSD package is now allowed to build out of source. I haven't tested it yet. * See also https://github.com/ScintillaOrg/lexilla/issues/266
2024-08-18added troff/nroff lexerRobin Haberkorn1-0/+1
* This is optimized for Groff, but works for Heirloom Troff and Neatroff as well. Currently, the Heirloom and Neatroff requests are just added ontop of the Groff ones. Theoretically, we could also try to separate the keyword lists into a base K&R set with Groff, Heirloom and Neatroff ontop. * The lexer necessarily has many restrictions, as Troff is fundamentally unparseable (like classic TECO) and needs a lot of per-request knowledge. * The "*.mm" extension has been removed from the lexers/cpp.tes. I don't know what language this was for, and I prefer `*.mm` files to be considered Troff. * Temporarily changed the lexilla submodule URL. The corresponding Lexila lexer is in the process of being upstreamed. Once it is, I will probably revert the submodule to the official repository, as the "troff" branch is not stable (can be rebased).
2024-01-22FreeBSD port: allow `make test` and appease `make check-plist`Robin Haberkorn1-0/+6
2024-01-22FreeBSD port: moved xvfb-run.sh to scripts/ subdirRobin Haberkorn2-1/+1
2024-01-21FreeBSD port: I am now the maintainer and will try to submit it to the ↵Robin Haberkorn1-2/+2
FreeBSD ports tree * see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276492 * also the license is GPLv3+ to be precise
2023-07-23FreeBSD port: fixed the LEXILLA optionRobin Haberkorn2-76/+77
* The lexer scripts are not installed if the LEXILLA option is disabled, so they need to be excluded from pkg-plist.
2023-07-23FreeBSD port: modified the pkg-message.in to use UCL formatRobin Haberkorn1-0/+7
* The plain text format is deprecated. * Thanks to Bob Eager.
2023-07-03fixup 69b4bbb8341cfda5d8456ccbf951034d63e4340c: added missing Makefile for ↵Robin Haberkorn1-0/+87
FreeBSD port * Makefiles are in .gitignore.
2023-07-02added FreBSD port (for ports tree)Robin Haberkorn5-0/+236
* it is supposed to be mainstreamed, but this did not yet happen * even if it will eventually become part of the ports tree, I won't have access to this repo and could not keep it up to date. But I can keep this copy here up to date and it can serve as an upstream source for the ports tree maintainer. * Also, it can be used to build FreeBSD binary packages even now without being part of the official ports tree.