The NetBSD Project

CVS log for pkgsrc/editors/tp-note/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / editors / tp-note

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Apr 24 14:13:47 2025 UTC (7 hours, 58 minutes ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1 lines
*: recursive bump for jpeg -> libjpeg-turbo switch

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Apr 11 12:20:17 2025 UTC (13 days, 9 hours ago) by pin
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -6 lines
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.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Mar 30 16:56:16 2025 UTC (3 weeks, 4 days ago) by pin
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +7 -4 lines
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`.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Mar 14 10:14:59 2025 UTC (5 weeks, 6 days ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
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

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Mar 6 08:32:32 2025 UTC (7 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3 lines
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"

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Feb 12 08:13:40 2025 UTC (2 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
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.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Jan 6 12:28:54 2025 UTC (3 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
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.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jan 5 14:49:39 2025 UTC (3 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -4 lines
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.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Dec 27 08:19:41 2024 UTC (3 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -1 lines
*: recursive bump for pango requiring fontconfig 2.15

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Dec 25 21:43:37 2024 UTC (3 months, 4 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
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.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Dec 8 17:24:07 2024 UTC (4 months, 2 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -4 lines
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`.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Nov 17 07:15:50 2024 UTC (5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -1 lines
*: recursive bump for default-on option of at-spi2-core

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:28:20 2024 UTC (5 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
editors/tp-note: update to 1.24.10

 Upgrade dependencies

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Oct 30 18:50:36 2024 UTC (5 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -4 lines
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.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Oct 20 14:03:42 2024 UTC (6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -2 lines
*: recursive bump for merging at-spi2-atk and atk into at2-spi-core

Remove at-spi2-atk and atk

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Oct 13 20:20:14 2024 UTC (6 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -6 lines
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.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Aug 24 15:59:37 2024 UTC (7 months, 4 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -1 lines
editors/tp-note: add note on the MSRV for newer versions

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jul 19 09:51:14 2024 UTC (9 months ago) by pin
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -4 lines
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.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Jun 24 08:36:36 2024 UTC (10 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -1 lines
editors/tp-note: add note on required Rust

Cannot be updated, newer versions require Rust >= 1.77.2

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Apr 12 10:45:36 2024 UTC (12 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
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

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Apr 8 12:41:01 2024 UTC (12 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -4 lines
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.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Apr 7 07:33:55 2024 UTC (12 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
*: bump for cairo buildlink3.mk change

lzo was made an option

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Apr 6 08:05:14 2024 UTC (12 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -1 lines
* 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

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Mar 22 08:24:21 2024 UTC (13 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
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.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Feb 28 19:17:25 2024 UTC (13 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -2 lines
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.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Feb 28 05:03:01 2024 UTC (13 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -5 lines
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

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Feb 17 17:36:52 2024 UTC (14 months ago) by pin
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
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.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Feb 12 14:17:38 2024 UTC (14 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
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

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jan 15 21:03:08 2024 UTC (15 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
editors/tp-note: update to 1.23.4

 - Maintenance release: update documentation

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Nov 28 10:13:29 2023 UTC (16 months, 3 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -2 lines
editors/tp-note: update to 1.23.3

Fix: shorthand links with `--export`

New feature:
* dump internal default configuration to stdout with `-C -`

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Nov 17 07:44:56 2023 UTC (17 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -5 lines
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.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Nov 14 21:08:10 2023 UTC (17 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -4 lines
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`').

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Nov 14 14:01:45 2023 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
*: recursive bump for cairo dependency changes

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Nov 14 13:58:34 2023 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
cairo-gobject: remove

Point users at cairo>=1.18.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Nov 12 13:21:18 2023 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
*: revebump for new brotli option for freetype2

Addresses PR 57693

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Nov 8 14:10:37 2023 UTC (17 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2 lines
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

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 8 04:44:09 2023 UTC (17 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
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=''`

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Nov 2 18:12:32 2023 UTC (17 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
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`.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Oct 31 18:36:31 2023 UTC (17 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -4 lines
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`.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Oct 23 06:37:45 2023 UTC (18 months ago) by wiz
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
*: 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.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:00:07 2023 UTC (18 months ago) by pin
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
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.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Oct 19 12:00:31 2023 UTC (18 months ago) by pin
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
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.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 14 14:51:55 2023 UTC (18 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
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.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Oct 12 10:49:02 2023 UTC (18 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
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.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Oct 1 18:48:11 2023 UTC (18 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
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.*`

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 29 19:09:14 2023 UTC (18 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
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.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Sep 23 15:07:02 2023 UTC (19 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
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.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Sep 22 18:53:54 2023 UTC (19 months ago) by pin
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
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`

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Sep 11 16:29:07 2023 UTC (19 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
editors/tp-note: update to 1.21.16

 - Maintenance release: move crate `tp-note` to `tpnote`. No code change.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Sep 8 11:45:53 2023 UTC (19 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
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.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Sep 6 11:25:01 2023 UTC (19 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
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.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Aug 28 08:25:40 2023 UTC (19 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
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.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Aug 25 09:26:45 2023 UTC (20 months ago) by pin
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
editors/tp-note: 1.21.12

 - Maintenance release: remove helper fn from public API

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Aug 18 10:47:17 2023 UTC (20 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
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.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Aug 17 02:46:22 2023 UTC (20 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -4 lines
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.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 14 05:24:20 2023 UTC (20 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
*: recursive bump for Python 3.11 as new default

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jul 28 20:49:19 2023 UTC (20 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
editors/tp-note: update to 1.21.9

Maintenance release, no new features

* Docs updated
* `atty` crate dependency removed

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jul 10 19:38:58 2023 UTC (21 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
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.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jun 20 18:55:16 2023 UTC (22 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
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

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jun 9 15:48:01 2023 UTC (22 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
editors/tp-note: update to 1.21.6

 - Add compilation feature `lang-detection`

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 6 12:41:19 2023 UTC (22 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
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

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jun 4 06:45:31 2023 UTC (22 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -2 lines
editors/tp-note: clean-up after update

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jun 3 19:34:29 2023 UTC (22 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
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`.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed May 17 21:31:53 2023 UTC (23 months, 1 week ago) by pin
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
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.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed May 10 10:27:41 2023 UTC (23 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
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.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri May 5 22:02:07 2023 UTC (23 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
editors/tp-note: update to 1.21.2

Add `TPNOTE_EDITOR_CONSOLE` and `TPNOTE_LANG_DETECTION` environment variables.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu May 4 19:01:15 2023 UTC (23 months, 3 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
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")`.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Apr 27 12:30:14 2023 UTC (23 months, 4 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -4 lines
editors/tp-note: update to 1.21.0

 - New feature: natuaral language detection

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Feb 3 21:31:33 2023 UTC (2 years, 2 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
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.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 29 21:15:57 2023 UTC (2 years, 2 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1 lines
*: Recursive revbup from graphics/freetype2

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 29 20:03:32 2023 UTC (2 years, 2 months ago) by pin
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
editors/tp-note: update to 1.20.1

 - Win fixes: Correctes broken builts since v1.19.7

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jan 24 19:19:57 2023 UTC (2 years, 2 months ago) by pin
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -4 lines
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.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 3 17:37:02 2023 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
*: recursive bump for tiff shlib major bump

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 29 08:04:40 2022 UTC (2 years, 3 months ago) by pin
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
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'

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 26 22:04:56 2022 UTC (2 years, 3 months ago) by pin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
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.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Dec 22 09:34:32 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
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

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Dec 19 09:36:44 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
editors/tp-note: update to 1.19.9

 - Make highlighting configurable.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Dec 17 07:20:40 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
editors/tp-note: update to 1.19.8

 - Improve syntax highlighting,
 - remove GPL3.0 licensed dependency.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 4 17:41:05 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
editors/tp-note: update to 1.19.7

 - Capitalize '{{username}}', fix: 'tel:' is not local

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Dec 2 11:22:08 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
editors/tp-note: update to 1.19.6

 - Export HTML: add abs. link base marker '.tpnoteroot'

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Nov 28 10:50:05 2022 UTC (2 years, 4 months ago) by pin
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
editors/tp-note: update to 1.19.5

 - Viewer: follow also absolut local links

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 23 10:45:37 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
editors/tp-note: update to 1.19.4

 - Fix viewer regression: Do not ignore non-local URLs

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 22 11:30:10 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
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.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 21 09:18:11 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Nov 17 09:49:57 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -5 lines
editors/tp-note: update to 1.19.0

 - Viewer: new feature: follow links to other Tp-Notes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 12 21:55:35 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -6 lines
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()'

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 2 21:04:34 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
editors/tp-note: update to 1.18.2

 - Refactor tpnote_lib API

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 28 07:48:25 2022 UTC (2 years, 5 months ago) by pin
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 21 11:32:53 2022 UTC (2 years, 6 months ago) by pin
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -6 lines
editors/tp-note: update to 1.18.0

 - Fix: report read-clipboard properly (-V)
 - Render MathML and (some) syntax highlighting

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Aug 16 07:51:51 2022 UTC (2 years, 8 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -5 lines
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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Aug 11 05:08:17 2022 UTC (2 years, 8 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jun 28 11:33:49 2022 UTC (2 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
*: recursive bump for perl 5.36

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jun 18 15:31:02 2022 UTC (2 years, 10 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4 lines
editors/tp-note: update to 1.17.2

-Set minimum config file version
-Remove chrono dependency
-Migrate from clipboard to copypasta

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 18 08:39:36 2022 UTC (2 years, 10 months ago) by pin
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
editors/tp-note: update to 1.17.1

-Update documentation and bump dependencies.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue May 31 11:26:56 2022 UTC (2 years, 10 months ago) by pin
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
editors/tp-note: fix broken build

Sorry, it slipped through.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 26 21:24:02 2022 UTC (2 years, 10 months ago) by pin
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 24 10:38:50 2022 UTC (2 years, 11 months ago) by nikita
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -2 lines
tp-note: switch to USE_GITLAB.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 20 16:34:20 2022 UTC (2 years, 11 months ago) by pin
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>