Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a187f51
fix the path for natlinkcore in documentation conf.py
quintijn Aug 16, 2024
60e6586
trying to get sphinx working, no result yet
quintijn Aug 18, 2024
29e2959
starting finally the documentation, including docstring formatting th…
quintijn Aug 18, 2024
19414b8
Merge remote-tracking branch 'dt/main'
quintijn Aug 22, 2024
6d77c4d
some corrections documentation
quintijn Aug 30, 2024
38ffad2
some corrections documentatoin
quintijn Aug 30, 2024
7dda27c
Merge branch 'dictation-toolbox:main' into main
quintijn Aug 30, 2024
c0112e5
Merge branch 'dougransom-doc24'
quintijn Aug 30, 2024
f1b9d4b
Merge branch 'main' of github.com:dougransom/natlinkcore documentatio…
quintijn Aug 30, 2024
fc1abff
fixing relative small error in natlinkconfigfunctions.py
quintijn Oct 8, 2024
f03a994
test for run in elevated mode...
quintijn Oct 8, 2024
113ca21
Merge branch 'dictation-toolbox:main' into old_main_2024_08_31
quintijn Dec 2, 2024
3706c21
fixing relative small error in natlinkconfigfunctions.py
quintijn Oct 8, 2024
1ad6ae2
test for run in elevated mode...
quintijn Oct 8, 2024
f3a8b1b
Merge branch 'configoct24' of github.com:dougransom/natlinkcore into …
quintijn Dec 2, 2024
3d90f47
problem vocolagrammarsdirectory faded, but still check the automatic …
quintijn Dec 2, 2024
ab090c4
setting elevated mode in natlinkconfigfunctions, as now used in Confi…
quintijn Dec 3, 2024
d6cb783
making a small (but essential fix) in natlinkconfigfunctions setDirec…
quintijn Apr 2, 2025
c74eeb5
How check if you are in elevatied mode (natlinkconfigfunctions line 39)
quintijn Apr 2, 2025
0afcb90
new functions to make _am_elevated and _want_elevated
quintijn Apr 2, 2025
413073e
added commands p and P in natlinkconfig_cli.py. The gui can call thes…
quintijn Apr 2, 2025
e7c944b
a few details of the --pre or not action with do_pip added. Doug, loo…
quintijn Apr 3, 2025
32fb803
fixed vocola config problem by option "must_exist" in function expand…
quintijn Apr 4, 2025
0aac009
not sure what happened here. it seems the Natlink.BadWindow is not th…
quintijn Dec 5, 2025
e22236f
toml file; change ~= into >=
quintijn Mar 20, 2026
fb204ad
adding check for admin or non admin mode (very simple).
quintijn Mar 26, 2026
7e58e6f
new: test_natlinkconfig.py, testing am_elevated and want_elevated fun…
quintijn Apr 9, 2026
9a53076
detail in explanatory text of cli program
quintijn Apr 9, 2026
7dab8ff
tagged and goto release 5.4.2
quintijn Apr 17, 2026
7bcddf5
try to fix AttributeError of setMessagesWindow
quintijn Apr 19, 2026
82952b9
Merge branch 'main' into fixloader_227
quintijn Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ build-backend = "flit_core.buildapi"
[project]
name = "natlinkcore"
authors = [{name = "Quintijn Hoogenboom (maintainer)", email = "q.hoogenboom@antenna.nl"}]
version="5.4.2"

version="5.4.3"

dynamic = [ "description"]
requires-python = ">=3.10"
readme = "readme.md"
Expand Down
11 changes: 9 additions & 2 deletions src/natlinkcore/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,18 @@ def start(self) -> None:
self.trigger_load()
natlink.setBeginCallback(self.on_begin_callback)
natlink.setChangeCallback(self.on_change_callback)
natlink.setMessageWindow(self.on_message_window_callback)
try:
natlink.setMessageWindow(self.on_message_window_callback)
except AttributeError:
pass


def finish(self) -> None:
# reverse changes made by start()
natlink.setMessageWindow(None)
try:
natlink.setMessageWindow(None)
except AttributeError:
pass
natlink.setChangeCallback(None)
natlink.setBeginCallback(None)
self.unload_all_loaded_modules()
Expand Down
Loading