Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unimacro summer24 and autumn #61

Merged
merged 32 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a0ab637
bump version to 4.1.7, unimacroutils.py set_mouse_position (beginning…
quintijn Aug 20, 2024
6c28f66
bump to 4.1.6
quintijn Aug 22, 2024
2452fb9
Merge remote-tracking branch 'dt/master' into unimacro_summer24
quintijn Aug 22, 2024
49084ee
removed most komodo mentions in sample ini files, also cleaned up act…
quintijn Aug 25, 2024
47598fc
print line _control.py added, giving version and path of unimacro
quintijn Aug 25, 2024
58f7edd
tidy up unimacro directory a bit...
quintijn Aug 25, 2024
d1cbfb0
add rememberdialog.py to .gitignore
quintijn Aug 25, 2024
3643a1f
Update README.md
dougransom Aug 28, 2024
06cc760
deleted .orig file, it should not have been checked in.
dougransom Aug 28, 2024
94e7739
Moved version number spec to pyroject.toml
dougransom Sep 12, 2024
9273106
updated pyproject.toml
dougransom Sep 12, 2024
9dab52d
better way of specifying package name
dougransom Sep 23, 2024
3fc9095
extended import changes from dtactions/unimacro to dtactions directly…
quintijn Oct 9, 2024
ee486bb
Merge branch 'unimacro_summer24' of github.com:dougransom/unimacro in…
quintijn Oct 9, 2024
4e05bdc
rememberdialog.py to .gitignore (is generated)
quintijn Oct 9, 2024
fe9ebf2
and remove the generated file rememberdialog.py
quintijn Oct 9, 2024
776c518
version specifier includes dev releases
dougransom Nov 21, 2024
1f11a44
Merge branch 'unimacro_summer24' of https://github.com/dougransom/uni…
dougransom Nov 21, 2024
9347356
bump dev version dtactions
dougransom Nov 21, 2024
6df0498
removed most komodo mentions in sample ini files, also cleaned up act…
quintijn Aug 25, 2024
7c53e6f
print line _control.py added, giving version and path of unimacro
quintijn Aug 25, 2024
6bfbd56
tidy up unimacro directory a bit...
quintijn Aug 25, 2024
d9f1a98
add rememberdialog.py to .gitignore
quintijn Aug 25, 2024
bc8ee6e
Update README.md
dougransom Aug 28, 2024
3386ace
deleted .orig file, it should not have been checked in.
dougransom Aug 28, 2024
040c8da
Moved version number spec to pyroject.toml
dougransom Sep 12, 2024
f22e4b8
updated pyproject.toml
dougransom Sep 12, 2024
295cded
extended import changes from dtactions/unimacro to dtactions directly…
quintijn Oct 9, 2024
75b9ace
better way of specifying package name
dougransom Sep 23, 2024
dd2ec1f
rememberdialog.py to .gitignore (is generated)
quintijn Oct 9, 2024
3aecef6
and remove the generated file rememberdialog.py
quintijn Oct 9, 2024
5e3d0da
Merge branch 'unimacro_summer24' of github.com:dougransom/unimacro in…
quintijn Nov 23, 2024
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ __pycache__/
/src/unimacro/UnimacroGrammars/rememberdialog.py
/tests/rememberdialog.py
/src/unimacro/UnimacroGrammars/rememberdialog.py
/src/unimacro/UnimacroGrammars/rememberdialog.py
/src/unimacro/UnimacroGrammars/rememberdialog.py
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ with the following.

But... when you install Natlink via the natlink installer, and proceed with "Configure Natlink via GUI" or "Configure Natlink via CLI", and choose to activate Unimacro, this "pip" action is automatically performed.

If you want to install directly from github (say to install something between releases a developer is working on).

```
pip uninstall unimacro
pip install unimacro@git+https://github.com/dougransom/unimacro@d1cbfb0d9559b9ba656a1d1bb1579f1c2b2562ae
```
replacing "https://github.com/dougransom/unimacro" with the repository in github you wish to install from and "d1cbfb0d9559b9ba656a1d1bb1579f1c2b2562ae" with the version commit you wish to install.


# Location of Grammars
Expand Down
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,24 @@ build-backend = "flit_core.buildapi"
[project]
name = "unimacro"
authors = [{name = "Quintijn Hoogenboom (maintainer)", email = "q.hoogenboom@antenna.nl"}]
dynamic = ["version", "description"]
dynamic = ["description"]
version = "4.1.7.dev1"
requires-python = ">=3.10"
readme = "README.md"

#"dtactions = ^1.6.4" means anything >= 1.6.4.dev1 and less than 1.7. A breaking change in dtactions
#will mean an update the version specifier below.
#https://packaging.python.org/en/latest/specifications/version-specifiers/#id5
#note you have to put in .dev1 to take the earliest dev release.

dependencies = ["dtactions >= 1.6.2",

dependencies = ["dtactions ~= 1.6.4.dev3",
"debugpy >= 1.2.0",
"pywin32 >= 304",
"natlinkcore >= 5.4.1",
"FreeSimpleGUI>=5.1.0"]

classifiers=[ "Development Status :: 4 - Beta",
classifiers=[ "Development Status :: 2 - Pre-Alpha",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Environment :: Win32 (MS Windows)",
Expand Down
71 changes: 0 additions & 71 deletions pyproject.toml.orig

This file was deleted.

6 changes: 3 additions & 3 deletions src/unimacro/OtherUnimacroGrammars/_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
the grammars _number simple and _number extended.
"""
import copy
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacroactions import doAction as action

from natlinkcore import natlinkutils as natut
from dtactions.unimacro import unimacroutils
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj

ancestor = natbj.IniGrammar
Expand Down
8 changes: 4 additions & 4 deletions src/unimacro/OtherUnimacroGrammars/_keystrokes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

import sys
import copy
from dtactions.unimacro import inivars
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro import unimacroutils
from dtactions import inivars
from dtactions.unimacroactions import doKeystroke as keystroke
from dtactions.unimacroactions import doAction as action
from dtactions import unimacroutils
from unimacro import natlinkutilsbj as natbj
from natlinkcore import nsformat
from natlinkcore import loader
Expand Down
4 changes: 2 additions & 2 deletions src/unimacro/OtherUnimacroGrammars/_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import natlink
from natlinkcore import nsformat
from natlinkcore import natlinkstatus
from dtactions.unimacro import unimacroutils
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.sendkeys import sendkeys as keystroke
import unimacro.natlinkutilsbj as natbj

Expand Down
8 changes: 4 additions & 4 deletions src/unimacro/OtherUnimacroGrammars/_number extended.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
"""
#pylint:disable=C0209, R0904, R0912, R0915
import natlink
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions.unimacro.unimacroactions import getMetaAction
from dtactions.unimacro import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doKeystroke as keystroke
from dtactions.unimacroactions import getMetaAction
from dtactions import unimacroutils

import unimacro.natlinkutilsbj as natbj

Expand Down
2 changes: 1 addition & 1 deletion src/unimacro/OtherUnimacroGrammars/_oops.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
import natlink
from natlinkcore import natlinkstatus
from natlinkcore import loader
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj

logHour = -1
Expand Down
4 changes: 2 additions & 2 deletions src/unimacro/OtherUnimacroGrammars/_repeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
import os
import os.path
from dtactions.sendkeys import sendkeys
from dtactions.unimacro import unimacroutils
# from dtactions.unimacro.unimacroactions import doAction as action
from dtactions import unimacroutils
# from dtactions.unimacroactions import doAction as action
import unimacro.natlinkutilsbj as natbj
from natlinkcore import natlinkutils
from natlinkcore import natlinktimer
Expand Down
6 changes: 3 additions & 3 deletions src/unimacro/OtherUnimacroGrammars/_unimacrotest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import natlink
from natlinkcore import natlinkstatus
import unimacro.natlinkutilsbj as natbj
from dtactions.unimacro import unimacroutils
from dtactions.unimacro import utilsqh
from dtactions.unimacro import unimacroactions as actions
from dtactions import unimacroutils
from dtactions import utilsqh
from dtactions import unimacroactions as actions

status = natlinkstatus.NatlinkStatus()

Expand Down
10 changes: 5 additions & 5 deletions src/unimacro/OtherUnimacroGrammars/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@


import natlink
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
from natlinkcore import natlinkutils
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj
import pprint
import types
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro import unimacroactions as actions
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doAction as action
from dtactions import unimacroactions as actions
import win32com

#
Expand Down
10 changes: 5 additions & 5 deletions src/unimacro/OtherUnimacroGrammars/frescobaldi.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@

"""

from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj
from natlinkcore import natlinkutils
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj
import natlink
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doAction as action
from itertools import cycle
from dtactions.unimacro import unimacroactions as actions
from dtactions import unimacroactions as actions
import re
import copy
import time
Expand Down
2 changes: 1 addition & 1 deletion src/unimacro/OtherUnimacroGrammars/solitaire.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

import win32gui
from natlinkcore import natlinktimer
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
import unimacro.natlinkutilsbj as natbj

#aantal carden en aantal stapelplaatsen:
Expand Down
2 changes: 1 addition & 1 deletion src/unimacro/OtherUnimacroGrammars/xxxxnatspeak_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# interaction with grammar _folders.
#
#pylint:disable=
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
from dtactions.sendkeys import sendkeys as keystroke
import unimacro.natlinkutilsbj as natbj

Expand Down
6 changes: 3 additions & 3 deletions src/unimacro/UnimacroGrammars/_brackets.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"""
#pylint:disable=C0115, C0116, W0201, W0613
from natlinkcore import nsformat
from dtactions.unimacro import unimacroutils
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doKeystroke as keystroke
# from dtactions.natlinkclipboard import Clipboard
import unimacro.natlinkutilsbj as natbj
import natlink
Expand Down
6 changes: 3 additions & 3 deletions src/unimacro/UnimacroGrammars/_clickbyvoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"""
import natlink
from unimacro import natlinkutilsbj as natbj
from dtactions.unimacro import unimacroutils
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doKeystroke as keystroke

# use extension Click by Voice
visiblePause = 0.4
Expand Down
4 changes: 2 additions & 2 deletions src/unimacro/UnimacroGrammars/_debug_natlink.py.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ from natlinkcore import nsformat

# import unimacro.natlinkutilsbj as natbj

# from dtactions.unimacro import unimacroutils
# from dtactions.unimacro.unimacroactions import doAction as action
# from dtactions import unimacroutils
# from dtactions.unimacroactions import doAction as action

# ancestor = natbj.IniGrammar #QH1
class DebugGrammar(natlinkutils.GrammarBase):
Expand Down
18 changes: 9 additions & 9 deletions src/unimacro/UnimacroGrammars/_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@
from natlinkcore import readwritefile
from natlinkcore import natlinktimer
from natlinkcore import natlinkstatus
from dtactions.unimacro import extenvvars
from dtactions import extenvvars
from dtactions import messagefunctions as mess
from dtactions import natlinkclipboard
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
# from dtactions.unimacro.unimacroactions import do_YESNO as YesNo
from dtactions.unimacro.unimacroactions import UnimacroBringUp
from dtactions.unimacro.unimacroactions import Message
from dtactions.unimacro import unimacroutils
# from dtactions.unimacro.unimacroactions import Message
# from dtactions.unimacro import unimacroactions as actions
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doKeystroke as keystroke
# from dtactions.unimacroactions import do_YESNO as YesNo
from dtactions.unimacroactions import UnimacroBringUp
from dtactions.unimacroactions import Message
from dtactions import unimacroutils
# from dtactions.unimacroactions import Message
# from dtactions import unimacroactions as actions
from unimacro import natlinkutilsbj as natbj
# from unimacro.unimacro_wxpythondialogs import InputBox
# import natlinkcore.natlinkutils as natut
Expand Down
8 changes: 4 additions & 4 deletions src/unimacro/UnimacroGrammars/_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
from unimacro import natlinkutilsbj as natbj
from unimacro import namelist # for name phrases

from dtactions.unimacro.unimacroactions import doAction as action
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions.unimacro import unimacroactions as actions
from dtactions.unimacro import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.unimacroactions import doKeystroke as keystroke
from dtactions import unimacroactions as actions
from dtactions import unimacroutils

# taskswitching moved to _tasks.py (july 2006)

Expand Down
8 changes: 4 additions & 4 deletions src/unimacro/UnimacroGrammars/_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
import natlink
from natlinkcore import natlinkutils
import unimacro.natlinkutilsbj as natbj
from dtactions.unimacro import inivars
from dtactions.unimacro import unimacroutils
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions import inivars
from dtactions import unimacroutils
from dtactions.unimacroactions import doAction as action
from dtactions.sendkeys import sendkeys as keystroke
from dtactions.unimacro import unimacroactions as actions
from dtactions import unimacroactions as actions

class LinesError(Exception):
pass
Expand Down
2 changes: 1 addition & 1 deletion src/unimacro/UnimacroGrammars/_number simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
further comments in _number extended.py. Also see the page "number grammar" on the Unimacro we
"""
#pylint:disable=C0115, C0116, W0613
from dtactions.unimacro import unimacroutils
from dtactions import unimacroutils
from dtactions.sendkeys import sendkeys as keystroke
import unimacro.natlinkutilsbj as natbj
import natlink
Expand Down
6 changes: 3 additions & 3 deletions src/unimacro/UnimacroGrammars/_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#pylint:disable=C0116, W0603, W0613, W0201, R0912
import natlink
import unimacro.natlinkutilsbj as natbj
from dtactions.unimacro import unimacroutils
from dtactions.unimacro.unimacroactions import doKeystroke as keystroke
from dtactions.unimacro.unimacroactions import doAction as action
from dtactions import unimacroutils
from dtactions.unimacroactions import doKeystroke as keystroke
from dtactions.unimacroactions import doAction as action
# from dtactions.natlinkclipboard import Clipboard
# natlinkclipboard is not safe at the moment.

Expand Down
Loading
Loading