Commit graph

77 commits

Author SHA1 Message Date
Damien Elmes
d649dfb7fd doc updates
thanks to Robert: https://github.com/ankitects/anki/pull/756

closes #756
2020-09-07 16:03:48 +10:00
Damien Elmes
4b24388c9e mention pypi 2020-08-03 15:31:22 +10:00
Damien Elmes
ed5103141a remove update-alternatives references
6b3d5998cc (commitcomment-40547278)
2020-07-13 13:55:18 +10:00
Damien Elmes
a2ea956e75 add note about first build 2020-06-02 19:35:28 +10:00
Damien Elmes
9c8d45c49f update readme 2020-05-12 21:13:34 +10:00
Damien Elmes
fca605ac68 Merge pull request #566 from zenogantner/patch-2
more detailed instructions for Debian/Ubuntu users
2020-04-17 18:21:39 +10:00
Zeno Gantner
6b3d5998cc more detailed instructions for Debian/Ubuntu users 2020-04-16 10:19:56 +02:00
Zeno Gantner
88102b0299 fix typo 2020-04-16 10:11:26 +02:00
Damien Elmes
551fe123d4 vendor rename script 2020-04-14 19:49:07 +10:00
Damien Elmes
46877dbe4e document ankidev and remove sync changes
https://github.com/ankitects/anki/pull/548
2020-04-11 14:36:05 +10:00
Damien Elmes
96c6458f80 Merge pull request #547 from evandroforks/fix_anki_caption
Fixed anki caption on README.development
2020-04-10 19:43:45 +10:00
evandrocoan
3b81a0e7fd Fixed anki caption on README.development 2020-04-09 23:38:30 -03:00
ju19
6a4b0bb4c0 Update README.development
Making instructions easier for windows users
2020-04-09 15:54:19 +06:00
evandrocoan
02d8728683 Created .github/workflows/mac_checks.yml 2020-03-24 00:31:46 -03:00
evandrocoan
4fcecaed9f Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00
Damien Elmes
502859fd77 remove svelte/react experiments for now
don't want to have to deal with security warnings from GitHub
about outdated dependencies while not actively using the code
2020-03-17 20:49:58 +10:00
Damien Elmes
0da2329557 default to release in dev mode as well 2020-03-10 13:36:21 +10:00
Damien Elmes
d59d62fa94 add DEVFLAGS for performance testing 2020-03-10 13:36:01 +10:00
Damien Elmes
780fc984ad check for files without a final newline 2020-03-09 18:57:55 +10:00
evandrocoan
33b5010075 Deprecate the Cygwin /usr/bin/ note README.development
Such change seem to break my Cygwin installation and it is not
required as a installation step anymore because it was only useful
when the user attempted to install `gettext` using `apt-cyg`, but
now I instruct them to download the binaries directly from their
website.
2020-03-02 16:51:27 -03:00
Damien Elmes
804474c1ff less wordy anki_extra_pip, and readme tweaks 2020-02-27 14:22:53 +10:00
evandrocoan
b0927266fa Reverted back to use pyenv (without using system wide packages) 2020-02-25 23:44:18 -03:00
evandrocoan
0eee3061dc Removed the qt/Makefile INSTALL_PYAUDIO variable and
created the Makefile SYSTEM_PACKAGES updating README.development
2020-02-25 21:08:05 -03:00
evandrocoan
3824358b93 Deprecated SHELLCMD, moved the pyaudio installation instructions to
its repository updating the instruction on README.development
2020-02-25 21:08:05 -03:00
evandrocoan
4c9e62c77a Added instructions to first try to download prebuilt pyaudio wheels
on README.development
2020-02-25 03:26:49 -03:00
evandrocoan
9e690f80e7 Renamed FIND_EXEC to FIND, replaced IS_WINDOWS by specific commands
as PYTHON_BIN, ACTIVE_SCRIPT and INSTALL_PYAUDIO.
Fixed echo statements not using @ to suppress double message output.
Deprecated the usage of ECHOCMD := /bin/echo -e because it has no
effect: https://stackoverflow.com/questions/60387684/how-to-make-the-makefile-echos-to-use-bin-echo-e

# Conflicts:
#	Makefile
2020-02-25 03:15:11 -03:00
evandrocoan
b7efeb78e6 Fixed misspelled word on README.development 2020-02-24 20:39:50 -03:00
evandrocoan
8b2ef692a9 Updated README.development to use gettext version 0.20.1 2020-02-24 17:55:33 -03:00
evandrocoan
2acda4eb63 Fixed misspelling on README.development and added missing FIND_EXEC
to rspy/Makefile
2020-02-24 17:03:00 -03:00
evandrocoan
6d16298254 Fixed development compilation with Windows 10
1. Documented on README.development how to setup the environment
   for Windows.
2. Fixed qt/ts/package.json not working due usage of ; instead
   of &&
3. Fixed copy-qt-files rsync using Windows paths instead of Unix
   ones
4. Fixed Makefile's using Windows Linux Subsystem bash instead of
    the Cygwin one.
5. Ensured running the correct pip module by using python -m pip
    instead of just pip.
6. Fixed Makefiles using Windows `find` command, instead of the
    Cygwin's one (POSIX find).
7. Fixed pyenv sourcing/activate using /pyevn/bin/ instead of
    /python/Scripts/ on Windows.
8. Fixed pyaudio not installing/linking with portaudio on Windows
    by installing for a patched fork at evandroforks/pyaudio
9. Forked and fixed portaudio not building with Visual Studio 2017
    or superior and added the reference for the patched fork on
    README.development at evandroforks/portaudio.
2020-02-24 14:59:11 -03:00
Damien Elmes
0d1a30c6d8 rework Fluent handling
- all .ftl files for a language are concatenated into a single file
at build time
- all languages are included in the binary
- external ftl files placed in the ftl folder can override the
built-in definitions
- constants are automatically generated for each string key
- dropped the separate StringsGroup enum
2020-02-23 13:22:50 +10:00
Yngve Høiseth
8966c17e76 Prevent "msgfmt: command not found" error 2020-01-22 22:53:06 +01:00
Damien Elmes
9232414095 bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
zjosua
391b213fa8 Add rsync to requirements 2020-01-06 18:30:11 +01:00
Damien Elmes
26dea84069 add a web UI proof of concept
See react/README
2020-01-06 14:28:07 +10:00
Damien Elmes
c88694333b update readme, remove submodule readmes 2020-01-04 12:21:58 +10:00
Damien Elmes
2a00e0a6b0 tweaking the folder names again
hopefully that's the last of it
2020-01-03 07:48:38 +10:00
Damien Elmes
5674264bfd add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
eab54fd57a update docs 2020-01-02 19:55:27 +10:00
Damien Elmes
3ca39bfda3 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00
zjosua
f8595c148a Update README.development
Add instruction to build the Python virtual environment with --system-site-packages when using the distro-installed PyQt5.
2019-12-26 14:28:19 +01:00
Damien Elmes
56610a4e9d tweak dev docs 2019-12-25 12:13:28 +10:00
Damien Elmes
ce19144920 update dev docs 2019-12-24 19:57:54 +10:00
Damien Elmes
349c5ba049 make it possible to implement functionality in Rust 2019-12-24 19:57:54 +10:00
Damien Elmes
af013308c3 split qt requirements out again
PyQt didn't used to split WebEngine out separately, and that can
cause conflicts with distro-provided packages.
2019-12-19 09:34:31 +10:00
Damien Elmes
ad032053b5 add pyqt5 to deps 2019-12-18 15:13:07 +10:00
Damien Elmes
74599f0f23 automatically install deps as part of build 2019-12-18 15:09:46 +10:00
Damien Elmes
eb0622e664 update docs 2019-12-18 14:43:40 +10:00
Damien Elmes
fb6b53e234 add basic type checking for anki/ 2019-12-16 08:17:28 +10:00
Damien Elmes
9e3cd31e59 use locales instead of two digit lang codes
and move away from launchpad
2019-09-23 21:18:03 +10:00