Up to [cvs.NetBSD.org] / pkgsrc / editors / tp-note
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for jpeg -> libjpeg-turbo switch
editors/tp-note: update to 1.25.7 Reduce false positives when guessing languages v1.25.6 introduced the new feature: "detect multiple languages in the clipboard input". This release adds 3 configuration parameters which can help to reduce false positives when Tp-Note guesses languages: ```toml [base_scheme.tmpl] filter.get_lang.language_candidates = [ "en", "fr", "de" ] filter.get_lang.relative_distance_min = 0.3 filter.get_lang.consecutive_words_min = 7 filter.get_lang.words_total_percentage_min = 10 ``` Please consult Tp-Note's Manpage for more information on how to fine-tune the recognition algorithm by modifying the above default values.
editors/tp-note: update to 1.25.6 v1.25.6 New feature: detect multiple languages in clipboard and stdin The template filter `get_lang` now detects multiple languages in the input text usually provided by the clipboard and stdin. The templates have been extended to emit the new template variable `languages:` in the header of new note files. The variable lists all languages found in the input text. The first language of this list is displayed as `lang:`. v1.25.5 Minor regression fix: Format `--config-default` output correctly. In v1.25.4 the top level configuration file variable `base_scheme` was added. From now on, all other schemes inherit from this structure. This release v1.25.5 updates the formatting of the configuration file generated by the command line option `--config-default`. In the generated configuration file all variables are commented out with `#` and shown with their default values. To change a default value, uncomment the corresponding line(s) and update the value. Rename the file `tpnote.toml` and place it in one of the searched locations. To get a list of those locations type `tpnote -V`.
editors/tp-note: update to 1.25.4 Add `reStructuredText` support in templates This release adds `reStructuredText` code to the `annotate_file_content` template. (All other templates are markup language agnostic). To create a new ReStructuredText note invoke Tp-Note with: ```sh TPNOTE_EXTENSION_DEFAULT=rst tpnote ``` To make ReStructuredText the default markup language for all future new notes, write a configuration file '`~/.config/tpnote/tpnote.toml`' with the following content: ```toml [base_scheme.filename] extension_default="rst" ``` Other new features: * Make `exporter_highlighting_css` configurable * Make `viewer_highlighting_css` configurable Some minor bug fixes shipped with this release: * errorpage: display correct path to browsed doc * Rst renderer: always `trim()` input
editors/tp-note: update to 1.25.3 Viewer: add dark mode This release adds a dark mode to Tp-Note's viewer. In order to activate the dark mode in Firefox go to: Settings -> General _Language and Appearance_ _Website appearance_ -> Select [*] "Dark"
editors/tp-note: update to 1.25.2 Improve the clipboard HTML to Markdown converter: add table conversion New and improved features of the clipboard HTML to Markdown filter: * Conversion of tables * Better whitespace handling * Extension API This release migrates to the `html2md` crate with some patches applied. The author of `html2md` grants to this repository the MIT license.
editors/tp-note: update to 1.25.1 Bugfix release: this release fixes a minor regression introduced with v1.25.0 The commit: d79a706 Centralize HTML stream tagging code did not detect the empty clipboard properly and therefor the template `from_clipboard` was applied in cases where `from_dir` were the right choice. Fixed. This release completes the new feature introduced in v1.25.0: When you copy a chapter with its heading in your browser, Tp-Note will place the heading in the `title:` field of the new note's YAML header. Technical details: A new filter `html_heading` used in the `from_clipboard_content` template extracts the first HTML heading in the HTML clipboard.
editors/tp-note: update to 1.25.0 New feature: detect the first heading in the HTML clipboard A new filter `html_heading` used in the `from_clipboard_content` template extracts the first HTML heading in the HTML clipboard. When you copy a chapter with a heading in your browser, Tp-Note will place this heading in the `title:` field of the new note's YAML header.
*: recursive bump for pango requiring fontconfig 2.15
editors/tp-note: update tp 1.24.12 Maintenance release: replace HTML to Markdown library This maintenance release migrates to the `htmd` library used by Tp-Note's internal HTML to Markdown clipboard filter to improve stability.
editors/tp-note: update to 1.24.11 Breaking change: rename `.tpnote.toml` to `tpnote.toml` The former marker filename was `.tpnote.toml`. As the marker file and the configuration file `~/.config/tpnote/tpnote.toml` have the same syntax and semantics, it is more consistent that they have the same filename. If you have used marker files, please rename them from `.tpnote.toml` to `tpnote.toml`.
*: recursive bump for default-on option of at-spi2-core
editors/tp-note: update to 1.24.10 Upgrade dependencies
editors/tp-note: update to 1.24.9 This release improves the internal HTML to Markdown filter `html_to_markup`, which is used in the templates `from_clipboard_content` and `from_clipboard_yaml_content` when the clipboard contains HTML content: URLs containing spaces are now correctly enclosed with angle brackets.
*: recursive bump for merging at-spi2-atk and atk into at2-spi-core Remove at-spi2-atk and atk
editors/tp-note: update to 1.24.8 Group front-matter variables in templates Breaking configuration change. If you use custom templates, please update them: Front matter variables in templates must be preceeded with `fm.`, e.g. `fm_author` becomes `fm.fm_author`, `fm_title` becomes `fm.fm_title`, `fm_subtitle` becomes `fm.fm_subtitle` and so on.
editors/tp-note: add note on the MSRV for newer versions
editors/tp-note: update to 1.24.7 v1.24.7 Viewer: add $$ syntax for inline formula Since the version 1.19.8 Tp-Note can render mathematical formula. So far inline formula had to be enclosed between `$ and $`. e.g. `$\alpha$`. This former syntax, is still supported, is now deprecated. The present release adds support for the standard syntax with simple $ enclosure, e.g. $\alpha$. The former syntax for display formula: ```math \alpha ``` can now be written as: $$ \alpha $$ v1.24.6 Revert migration to the `mdka` crate The reverted change was introduced in v1.24.5. Unfortunately everyday usage shows, that the `mdka` crate is not as mature as the former solution with the `fast_html2md` crate. Otherwise, no new features. The `extensions` table of the `zettel` scheme was updated. This concerns only users of the `zettel` scheme _not_ using Markdown. v1.24.5 Migrate to a different HTML to Markdown filter used in internal templates. This release has no new features. The `html_to_markup` template filter now resorts back to the `mdka` crate. Unlike the previous dependency, this crate is published under the Apache-2.0 license. v1.24.4 Downgrade some dependencies to comply with rustc 1.77.2, no code changes v1.24.3 Enhance the HTML clipboard configuration options This release extends the `html_to_markup` filter by adding a `default=` parameter in case the filter fails, its result is the empty string, or if the filter is disabled for a certain markup language with the configuration variable `extensions.1`. The `clipboard` variable is replaced by the variables `txt_clipboard` and `html_clipbaord`. They both represent the clipboard's text content. The difference is, that the `html_clipboard` carries HTML formatting along the text, while `txt_clipboard` holds the plain text only.
editors/tp-note: add note on required Rust Cannot be updated, newer versions require Rust >= 1.77.2
editors/tp-note: update to 1.24.2 v1.24.2 Regression fix: repair broken Windows installer This updates the tool chain that produces the Windows installer. The `.msi` installer was broken in version 1.24.1. Minor bug fix: * Windows: do not insert double `\r\r` when input comes from both: stdin and the clipboard. v1.24.1 Regression bug fix: no HTML in X11 clipboard, fallback to text This release fixes a regression (commit dc9fd8d) introduced with the migration to the `clipboard-rs` crate (commit b532b71) under Linux/X11: When the clipboard contains no HTML, now the plain text content is correctly used (again). Minor internal improvements: * Refactor clipboard related templates
editors/tp-note: update to 1.24.0 Add clipboard HTML to Markdown converter This release of adds internal clipboard HTML detection and conversion to Markdown. In earlier versions the conversion of clipboard HTML content into Markdown was performed in the Browser by the plugins _Copy Selection as Markdown_ and _Copy as Markdown_ only. Now, this conversion can be done by Tp-Note also without browser plugin. For best results browser plugins are still preferred, because in addition to the selected content, the plugins insert also a link to the displayed page. Without plugin this information must be completed by hand. Nevertheless, the internal converter does a good job with quickly copying hyperlinks into Tp-Note files.
*: bump for cairo buildlink3.mk change lzo was made an option
* recursive bump for libxkbcommon 1.7.0 Marc Baudoin reported problems with using old binary packages with the new libkxbcommon, so force everything to 1.7.0
editors/tp-note: upadate to 1.23.10 Security release for RUSTSEC-2024-0019, no new features The vulnerability RUSTSEC-2024-0019 was found in one of Tp-Note's dependencies. For those who compile Tp-Note, this is fixed by a simple `cargo update`. Nevertheless, some distributions (e.g. NixOS), refer to the exact versions in `Cargo.lock`, which motivates this new release. Internal changes and refactoring: * Build chain: migrate from Docker to Podman * Encapsulation of the clipboard related code.
editors/tp-note: update to 1.23.9 Correct the last git release tag. No source code change. This corrects the last git release tag (without `v`) which caused downstream build scripts to fail.
editors/tp-note: update to 1.23.8 Add page numbers for PDF rendition with WeasyPrint Highlights in this release: * Allow PDF rendition with WeasyPrint tpnote --export=- mydoc.md | weasyprint - mydoc.pdf * Refactor `tmpl_html` templates * Disable library logging when invoking with `--debug <LEVEL>` * Remove some workaround for early versions of the `notify` crate. * Bug fix: source also `tmpl_html` section when given in a configuration file
editors/tp-note: update to 1.23.7 v1.23.7 Fix regression: viewer: render error page again This regression was introduced with Tp-Note version 1.23.6, commit 37ef6ea and fixed with commit bf19d70. Minor change: * Give '--force-lang' precedence over TPNOTE_LANG_DETECTION v1.23.6 Maintenance release, no new features: - Refactor main 'tpnote-lib' API.
editors/tp-note: update to 1.23.5 Minor breaking change: format string syntax See chapter: 6.2.3. Local links with format strings https://blog.getreu.net/projects/tp-note/tpnote--manpage.html#links-to-resources-and-other-documents Format strings
editors/tp-note: update to 1.23.4 - Maintenance release: update documentation
editors/tp-note: update to 1.23.3 Fix: shorthand links with `--export` New feature: * dump internal default configuration to stdout with `-C -`
editors/tp-note: update to 1.23.2 New option `--config-defaults` / Viewer: serve links with URL fragments From version v1.23 on, Tp-Note merges configuration files into its internal configuration. Consequently, without custom changes no configuration file is required at all. Nevertheless, to get a copy from the internal configuration (you can base your custom configuration file upon) a `--config-defaults` option is added. Another improvement concerns the viewer's link rewriting code: with this release URL fragments (starting with `#`) are rendered correctly. This allows you for example to add a hyperlinked table of contents at the beginning of your notes. Also footnotes like `[^1]` are rendered correctly.
editors/tp-note: update to 1.23.1 v1.23.1 Maintenance release This reverts the commit `72bc7f2` that had been mistakenly merged into master. 72bc7f2 Rename the root path marker file to `tpnote.toml` It restores the original name of the marker file: `.tpnote.toml` v1.23.0 Merge config files / Zettelkasten support Tp-Note is shipped with a default internal configuration that can be customized by merging a series of configuration files from various locations into the default values. This happens in the following order: 1. Unix and MacOS only: '`/etc/tpnote/tpnote.toml`' 2. The file where the environment variable '`TPNOTE_CONFIG`' points to. 3. The user's configuration file: - Unix: '`~/.config/tpnote/tpnote.toml`' - Windows: '`C:\Users\<LOGIN>\AppData\Roaming\tpnote\config\tpnote.toml>`' - MacOS: '`/Users/<LOGIN>/Library/Application Support/tpnote`' 4. At startup all parent directories of the note file path '`<PATH>`'are searched for a marker file named '`tpnote.toml`'. If found, the document root moves from '`/`' the found location. If present and its content is not empty, Tp-Note interprets the file's content as configuration file. 5. The file indicated by the command line parameter '`--config <FIlE>`'. When Tp-Note starts, it first merges all available configuration files into the default configuration. Then the resulting syntax is checked. If not correct, the last sourced configuration file is renamed (thus disabled) and Tp-Note starts with its internal default configuration. For debugging, you can print out the merge result with '`-V -b -d trace`'. To write a custom configuration file, first start with a complete default configuration you can generate by invoking Tp-Note with '`-V -b -c`' (no '`-d`'). ```sh tpnote -V -b -c ~/.config/tpnote/tpnote.toml ``` Some filename and template related variables are grouped into a '`scheme`'. The shipped configuration file lists two schemes: '`default`' and '`zettel`'. The scheme used when creating a new note, is selected by the commend line option '`--scheme`', the environment variable '`TPNOTE_SCHEME`' or the configuration variable '`arg_default.scheme`'. The scheme selected when synchronizing a Tp-Note header with its filename depends on the value of the header variable '`scheme:`' which defaults to '`default`' (cf. '`scheme_sync_default`').
*: recursive bump for cairo dependency changes
cairo-gobject: remove Point users at cairo>=1.18.
*: revebump for new brotli option for freetype2 Addresses PR 57693
editors/tp-note: update to 1.22.13 Viewer bugfix: store the path to non-base-documents This fixes a regression introduced with d1c0ed4 2023-10-31 Error when `fm_sort_tag` is sequential and duplicate in Tp-Note version v1.22.11
editors/tp-note: update to 1.22.12 New feat.: localize new note's front matter / theme selection * Localize new note's front matter * Theme selection: A theme is an interchangeable set of configuration file variables. Tp-Note is shipped with two scheme: `default`, `zettel` (for Zettelkasten, experimental). The user can select a scheme with: * the command line option `--scheme SCHEME_NAME`, * environment variable `TPNOTE_SCHEME` or * the configuration file variable `arg_default.scheme`. * The command line option: `--force-lang='-'` is replaced with `--force-lang=''`
editors/tp-note: update to 1.22.11 Internal improvements: better modelling of "sequential/chronological" sort-tags This release formalizes the concepts of `sequential sort-tags` vs. `chronological sort-tags`: 1. A _sort-tag_ is composed of a number of counters, which can be numerical, e.g. `123.28` or combined numerical/letter based, e.g. `123ab`. 2. A counter is set of digits (base 10) `123` or a set of lowercase letters (base 26) `ab`. 3. A letter based counter can be maximal 2 letters wide. Its maximum is `zz` (cf. `filename.sort_tag.letters_in_succession_max`). 4. A _sequential sort-tag_ is a sort-tag that whose counters are at most 3 digits wide (cf. `sort_tag.sequential.digits_in_succession_max`). 5. The filter `incr_sort_tag` increments only sequential sort-tags. 6. In order not to confuse sequential and chronological sort-tags, it is recommended to always write out the year in chronological sort-tags with 4 digits, e.g. `2013-08-10` or `20130810`.
editors/tp-note: update to 1.22.10 Tmpl: relax sort-tag chars; increment sequential sort-tags; New features: 1. Default change in `filename.sort_tag_chars`: sort-tags may now include lowercase letters. The space and tab characters are depreciated. 2. Tp-Note searches for the latest created document, extracts the sort-tag from the finding, increments it and uses the result as sort-tag for the new file. Incrementation examples: `02-3` -> `02-4` or `1b01f` -> `1b01g`. Chronological sort-tags like `20231024` are never incremented. 3. The viewer now understands so-called _format strings_ that can be appended to local links, e.g. the link `<tpnote:1a3?-->` expands to `<a href="1a3-my doc.md">my doc</a>` in case a file `1a3-my doc.md` exists in the current directory. Breaking changes: 1. In previous Tp-Note versions, the default set for allowed characters in sort-tags included the space and tab characters. From this version on, these characters are not allowed in valid sort-tags anymore. If needed, you can re-add them to the configuration file variable `filename.sort_tag_chars`.
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
editors/tp-note: update to 1.22.9 Minor improvements in Markdown parsing The version now recognizes all the official Markdown escape `\` characters when searching for Hyperlinks or rendering `.txtnote` files. See [CommonMark Spec](https://spec.commonmark.org/0.30/#backslash-escapes) for more details.
editors/tp-note: update to 1.22.8 Viewer renderer: resolve shorthand links to their link text * Viewer: When viewing documents, shortcut links are resolved to their title. For example: a shorthand link `tpnote:docs/20230513` that targets the file `docs/20230513-Animals.md` is shown as a hyperlink with the link text "Animals" in the browser. * Viewer: hyperlinks with embedded images are now supported. * The `.txtnote` renderer now parses inline images and hyperlinks with inline images.
editors/tp-note: update to 1.22.7 Viewer: link to other docs with shorthand links, minor regr. fixes New features: * A shorthand link in a Tp-Note document e.g. `[text](tpnote:123)` is now expanded when being viewed. The renderer searches for a file starting with the sort-tag `123` on disk and displays the filename (without sort-tag). For example: a shorthand link to the file `123-My Animals.md` can be written as`<tpnote:123>` and the link will be displayed as `My Animals`. * HTML rendition: The erroneous link path is now shown next to the error message. (Minor) bug fixes: * `file_ext: ''` is allowed again (regression introduced in v1.22.0) * The viewer opens also (with an error message) in case of syntax errors in `file_ext:` or `sort_tag:`. These syntax errors had been mistakenly considered being fatal since v1.22.0. Internal improvements: * The link rewriting code is heavily refactored, simplified and easier to maintain.
editors/tp-note: update to 1.22.6 New shortcut notation to link Tp-Note documents * Links in Tp-Note documents: Add new optional scheme `tpnote:` for local links, e.g. in Markdown the autolink `<tpnote:dir/my%20other%20doc.md>` targets `dir/my other doc.md`. The link is displayed as `my other doc`. * Configuration: the variable `filename.extensions` groups all former `filename.extensions_*` variables (config breaking change). * Viewer: internal improvements handling HTML escape codes and percent codes in URLs. * Integration: register additional Tp-Note files extension: `.txtnote`. The viewer only links, no markup. * Template: new filter: `link_text_picky`, similar to `link_text`. The latter always return the fist link found, `link_text_picky` rejects obvious meaningless link text content.
editors/tp-note: update to 1.22.5 Improve `.txtnote` renderer: recognize Markdown autolink `.txtnote` renderer: Recognize Markdown autolinks, e.g. <https:getreu.net> or <foo@mydomain.com> Breaking configuration change: * Rename `tmpl_html.linux.*` variables to `tmpl_html.unix.*`
editors/tp-note: update to 1.22.4 v1.22.4 Add compilation target *bsd, fixes #17 v1.22.3 Maintenance release: refactor and simplify HTML tmpl. code Breaking change in HTML templates: * Rename template variables `{{note_*}}` to `{{ doc_* }}` * New `markup_to_html(extension=ext)` filter * Replace template variable `doc_erroneous_content_html|safe` with `doc_text|markup_to_html|safe` v1.22.2 Viewer: choose syntax highlighting theme This release come with 3 new configuration features: 1. Choose the syntax highlighting theme with the configuration file variables: `tmpl_html.viewer_highlighting_theme` and `tmpl_html.exporter_highlighting_theme`. 2. Breaking change: The HTML templates `tmpl_html.viewer`, `tmpl_html.viewer_error` and `tmpl_html.exporter` automatically escape HTML critical characters. Escaping can be disabled be adding the `safe` filter in last position. 3. Tp-Note's configuration file is now stored with inline documentation.
editors/tp-note: update to 1.22.1 Maintenance release, no new features Configuration breaking change: * Split the `field(...)` filter into `remove(key=...)` and `insert(key=..., value=...)` filters with more common names.
editors/tp-note: update to 1.22.0 Support also nested YAML types (map, array) in document header Before this release, all header variables were limited to flat string types. This release overcomes this limitation: all templates and the document viewer can now deal with all YAML types, e.g. String, Number, Bool, including the nested ones: Array, Object. For example, the following is now valid: ```yaml title: My Article author: first: John Doe second: Martin Foo date: - 2023-04-13 - 2023-04-22 ``` Further improvements: * The templates only emits double quotes, were required be YAML standards. * Configurable type checks occur before applying filename templates (see `tmpl.filter_assert_preconditions` in `tpnote-lib/src/config_default.toml`). * Stronger (configurable) type checks for `title:`, `subtitle:`, `lang:`, `sort_tag:` and `file_ext:` header variables with user prompts * The configuration defaults are now written and documented in TOML format: * `tpnote/src/config_default.toml` * `tpnote-lib/src/config_default.toml`
editors/tp-note: update to 1.21.16 - Maintenance release: move crate `tp-note` to `tpnote`. No code change.
editors/tp-note: update to 1.21.15 Fix filename related edge cases This release fixes some filename related edge cases: * Prepend `filename.sort_tag_extra_separator` in case the note's title field is empty. * Append `filename.copy_counter_extra_separator` in case the file stem resembles a copy counter.
editors/tp-note: update to 1.21.14 Fix a minor regression when the title contains only sort-tag characters. This release fixes a minor regression introduced with Tp-Note v1.21.10: Note files, created with title fields containing only sort tag characters, need an 'extra_separator' between in the sort-tag and the title in their filename. Failing this rule caused cyclic filename change when synchronizing the note's metadata and the filename. Now, an extra-separator is correctly inserted as before.
editors/tp-note: update to 1.21.13 Fix minor regression: ref docs by sort-tag only A minor regression introduced with Tp-Note v1.21.11 prevented the viewer from following links to other Tp-Note documents by indicating the sort-tag only. This commit restores the previous behaviour.
editors/tp-note: 1.21.12 - Maintenance release: remove helper fn from public API
editors/tp-note: update to 1.21.11 Fix for minor regression introduced with v1.21.10 The incomplete refactoring of filename related code in v1.21.10 led to some buggy behavior in some edge cases.
editors/tp-note: update to 1.21.10 Improve the sort-tag detection algorithm This release adds the optional configuration file variable `filename.sort_tag_separator="-"` which specifies how the sort tag is separated from the rest of the filename without being part of the former. As a result, the additional `filename.sort_tag_extra_separator="''"` is required less often.
*: recursive bump for Python 3.11 as new default
editors/tp-note: update to 1.21.9 Maintenance release, no new features * Docs updated * `atty` crate dependency removed
editors/tp-note: update to 1.21.8 Windows: default file extension is `.md` Recent versions of `notepad` can deal with `.md` files. From this release on, all created note files on all platforms have `.md` extension. Configuration file: the variables `app_args.*` interpret `{{ get_env(name="<ENVIRONMENT_VARIABLE>") }}` as templates variable.
editors/tp-note: update to 1.21.7 Maintenance release: improve the natural language detection speed Maintenance release: * Improve the natural language detection speed * Reduce the binary size by 20% * Improve the test harnesses
editors/tp-note: update to 1.21.6 - Add compilation feature `lang-detection`
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
editors/tp-note: clean-up after update
editors/tp-note: update to 1.21.5 Rename root dir marker `.tpnoteroot`; Add pseudo lang. tag `+all` * Breaking change: rename root directory marker file from `.tpnoteroot` to `.tpnoteroot.toml`. * Allow optional project specific configuration data in `.tpnoteroot.toml`. Tp-Note will source the configuration for all note file in all subdirectories. Empty `.tpnoteroot.toml` content is still allowed. * Interpret the pseudo language tag `+all` as "select all available languages" in the environment variable `TPNOTE_LANG_DETECTION` and the configuration file variable `tmpl.filter_get_lang`.
editors/tp-note: update to 1.21.4 Maintenance release, new env: `TPNOTE_EXTENSION_DEFAULT` To improve the template readability the following template filters have been renamed: * `ext` to `file_ext` * `stem` to `file_stem` * `tag` to `file_sort_tag` * `trim_tag` to `trim_file_sort_tag` * `copy_counter` to `file_copy_counter` The new environment variable `TPNOTE_EXTENSION_DEFAULT` allows setting the file extension of new note files. If set, it overwrites the `filename.extension_default` configuration file variable.
editors/tp-note: update to 1.21.3 Link docs with new sort-tag shorthand link syntax: * Hyperlinks to other Tp-Note documents can now be shortened by referencing only the target's sort-tag, e.g. `[my doc](<home/20230510-my note.md>)` is equivalent to `[my doc](<home/20230510>)`. Autolinks can be shortened as well: `<http:home/20230510-my note.md>` becomes `<http:home/20230510>` * New environment variable: `TPNOTE_CONFIG` * The prepend_dot filter is replaced by the prepend filter. The concerned filename templates have been updated.
editors/tp-note: update to 1.21.2 Add `TPNOTE_EDITOR_CONSOLE` and `TPNOTE_LANG_DETECTION` environment variables.
editors/tp-note: update to 1.21.1 Doc: Update documentation; Tmpl: add opt. filter parameter The filter `map_lang` can now be parametrized with a default value that is returned when the filter input is the empty string: `map_lang(default="foo")`.
editors/tp-note: update to 1.21.0 - New feature: natuaral language detection
editors/tp-note: fix build Upstream update of the release notes generated a new hash that was commited into the release tag causing a checksum missmatch at our end. Regression fix of the viewer feature (under Window only) This commit fixes some bugs introduced since v1.19.1. These regressions only appear when compiling for Windows: * Fix 70b615f: "Bug fix: path method not appropriate for URLs" (bug introduced in commit 97d2be7) * Erroneous path handling when compiling for Windows: - The `.is_absolute()` path method acts differently under Windows. Fix in: c648342 - Under Windows the `std::path::Component`s `Prefix()` and `RoodDir` need special care. Fixes in: 632e31a and 3ea8de2 - Rust's Windows Paths optionally have `\` as path separator: Fix in: 0b61979 As mentioned above, these fixes only concern the proper function of the viewer when compiled for Windows. None of the bugs have security implications. Nevertheless, I decided to yank the whole v1.19 series because for a good user experience the viewer is expected to work.
*: Recursive revbup from graphics/freetype2
editors/tp-note: update to 1.20.1 - Win fixes: Correctes broken builts since v1.19.7
editors/tp-note: update to 1.20.0 Reduce dependencies from preinstalled C libraries. This release replaces two crate dependencies. This allows the hassle free cross-compilation of the targets `armv7-unknow~x-gnueabihf`, `x86_64-pc-windows-gnu` and `x86_64-unknown-linux-musl` on Debian.
*: recursive bump for tiff shlib major bump
editors/tp-note: update to 1.19.13 Add env. var. 'TPNOTE_BROWSER', 'TPNOTE_EDITOR' Braking changes: * Env. var. renamed from 'TPNOTELANG' to 'TPNOTE_LANG' * Env. var. renamed from 'TPNOTEUSER' to 'TPNOTE_USER'
editors/tp-note: update to 1.19.12 Viewer: better detect changes with simple editors In theory watching only 'file' is enough. Unfortunately some file editors do not modify files directly. They first rename the existing file on disk and then create a new file with the same filename. As a workaround, we watch the whole directory where the file resides. False positives, there could be other changes in this directory which are not related to 'file', are detected, as we only trigger the rendition to HTML when 'debounced_event.path' corresponds to our watched file.
editors/tp-note: update to 1.19.11 Bug fixes release v1.19.11 - Viewer: bugfix: highlight indented source code v1.19.10 - Fallback to plain text for unkown prog. language
editors/tp-note: update to 1.19.9 - Make highlighting configurable.
editors/tp-note: update to 1.19.8 - Improve syntax highlighting, - remove GPL3.0 licensed dependency.
editors/tp-note: update to 1.19.7 - Capitalize '{{username}}', fix: 'tel:' is not local
editors/tp-note: update to 1.19.6 - Export HTML: add abs. link base marker '.tpnoteroot'
editors/tp-note: update to 1.19.5 - Viewer: follow also absolut local links
editors/tp-note: update to 1.19.4 - Fix viewer regression: Do not ignore non-local URLs
editors/tp-note: update to 1.19.3 - Viewer: use autolinks for short refs. - The present Tp-Note version, displays the autolink: <http:mydir/autolink.md> like this (coloured, underlined and clickable): autolink - Bugfix Windows installer: Tp-Note's default icon is back.
editors/tp-note: update to 1.19.2 v1.19.2 - Improve viewer security against exfiltration attacks v1.19.1 - Viewer: Add sec. feat. limit no. of served files
editors/tp-note: update to 1.19.0 - Viewer: new feature: follow links to other Tp-Notes
editors/tp-note: update to 1.18.3 - Bump 'tpnote_lib' version to v0.10.1 - Remember template update in config file - 'Note::from_text_file()': Tmpl: allow empty 'date:' - Housekeeping: inline trait method - '<Context>::insert_environment()' into 'from()'
editors/tp-note: update to 1.18.2 - Refactor tpnote_lib API
editors/tp-note: update to 1.18.1 - Bump 'tpnote-lib' version to v0.8.0 - Apply newtype pattern for FrontMatter - 'TmplFromTextFile': always move to free filename - Relax 'is_empty()' condition
editors/tp-note: update to 1.18.0 - Fix: report read-clipboard properly (-V) - Render MathML and (some) syntax highlighting
editors/tp-note: update to 1.17.3 -Upgrade dependencies -Functional tests: unset `TPNOTELANG` -Derive also `Eq` -Reborrow without "deref on an immutable reference" -Depreciate gzip in `docs/build/man` -Avoid allocating substring -Use `unsigned_abs()` for isize -> u64 -Remove redunant import -Use const where possible -Update man-page
Bump all dependent packages of wayland (belatedly) The package changed with the addition of its libepoll-shim dependency. Otherwise, we can get: ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
*: recursive bump for perl 5.36
editors/tp-note: update to 1.17.2 -Set minimum config file version -Remove chrono dependency -Migrate from clipboard to copypasta
editors/tp-note: update to 1.17.1 -Update documentation and bump dependencies.
editors/tp-note: fix broken build Sorry, it slipped through.
editors/tp-note: update to 1.17.0 Add the user's language tag to new note's header. This release defines the new template varialbe {{ lang }} which inserts the user's default language tag, e.g. "lang: en-GB". The header is understood by the grammar, style & spell checker LanguageTool (https://languagetool.org/). If wished for, the user's default languange tag can be overwritten with the environment variable TPNOTELANG.
tp-note: switch to USE_GITLAB.
editors/tp-note: import pkg Tp-Note is a note-taking-tool and a template system that consistently synchronizes the notes meta-data with its filename. If you like to keep your notes next to your files and you care about expressive filenames, then Tp-Note might be the tool of your choice. Tp-Note collects various information about its environment and the clipboard and stores them in variables. New notes are created by filling these variables in predefined and customizable Tera-templates. TP-Note's default templates are written in Markdown and can be easily adapted to any other markup language if needed. After creating a new note, TP-Note launches the system file editor (or any other of your choice, e.g. MarkText or Typora) and connects the default web browser to Tp-Note's internal Markdown/RestructuredText renderer and web server.