Commit graph

4063 commits

Author SHA1 Message Date
evandrocoan
0fb64bcf20 Remove pyaudio as mandatory dependency
Pyaudio on Windows is difficult to install and complicates things
when someone is using the wheels just for autocomletion on IDEs as
PyCharm:
https://anki.tenderapp.com/discussions/add-ons/44009-problems-with-code-completion
2020-05-03 23:05:38 -03:00
Damien Elmes
2c102f87c4 update rslib version 2020-05-02 10:46:58 +10:00
Damien Elmes
242af9344c ensure 'make check' updates rslib version 2020-05-02 10:46:51 +10:00
Damien Elmes
c2223610f1 bump version 2020-05-02 10:22:00 +10:00
Damien Elmes
4c0d80ceae tolerate decks with missing mtime exported by third party software 2020-05-02 10:18:08 +10:00
Damien Elmes
c73be29f8f Merge pull request #602 from evandroforks/fixed_github_actions_tagged_wheels
Fixed GitHub Actions tagged wheels
2020-05-02 09:03:54 +10:00
Damien Elmes
69abc2e11b Merge pull request #600 from evandroforks/add_missing_wheels_anki_dependency
Add missing aqt and anki modules dependency requirements
2020-05-02 09:02:21 +10:00
Damien Elmes
722df62452 fix some clippy lints 2020-05-02 08:55:27 +10:00
evandrocoan
a8de7a7a96 Fixed GitHub Actios wheels upload tagged releases being overwritten 2020-05-01 17:36:09 -03:00
evandrocoan
5f83602540 Fixed checks.yml shellbang being put on the second line 2020-05-01 17:36:09 -03:00
Damien Elmes
284870ea8b re-enable pypi uploads
temporarily tagging this as 2.1.25, since these CI changes are required
for PyPi, and the packaged versions were made a few revisions back
2020-05-01 19:04:05 +10:00
Damien Elmes
df588ccc54 Merge pull request #601 from evandroforks/strip_buildhash_from_pypi
Strips the build hash from pypi package releases
2020-05-01 18:59:24 +10:00
Damien Elmes
4727756cea Merge pull request #598 from evandroforks/improve_checks_naming
Improve checks naming
2020-05-01 18:58:55 +10:00
evandrocoan
6f34ed4e81 Strips the build hash from pypi package releases
https://github.com/ankitects/anki/pull 535
2020-05-01 02:54:20 -03:00
evandrocoan
c250292cb5 Removes duplicated maturin build flags on rspy/Makefile 2020-05-01 01:46:30 -03:00
evandrocoan
56d7c9c381 Set to checks.yml upload Python 3.8 wheels to PyPi 2020-05-01 01:07:47 -03:00
evandrocoan
c1b2da4187 Merge contrib.yml into checks.yml 2020-05-01 01:07:43 -03:00
evandrocoan
02c5091d1b Stop requiring ankirspy while running on development because
maturin develop hides the package from pip
https://github.com/PyO3/maturin/issues 304
2020-04-30 23:37:19 -03:00
evandrocoan
3dfe228b3e Add missing aqt and anki modules dependency requirements 2020-04-30 17:30:22 -03:00
evandrocoan
62c2cb393c Fixed tagged builds names not showing they are tagged 2020-04-30 16:48:41 -03:00
Damien Elmes
0c0e7af2b7 temporarily disable pypi upload 2020-04-30 13:51:20 +10:00
Damien Elmes
e2c57b54a2 reset due on load if outside i32 bounds
Some third party clients that create apkg files appear to be saving
a millisecond timestamp into this column. While this could also be
solved by increasing this field to a 64 bit number, some older clients
expect this column to be a 32 bit number.
2020-04-30 11:57:35 +10:00
Damien Elmes
cffe9fb7bd if conf points to an invalid configuration, fall back on default 2020-04-30 11:45:13 +10:00
Damien Elmes
f2876cbd42 preserve entities when stripping HTML for MathJax
https://anki.tenderapp.com/discussions/ankidesktop/40987-how-to-render-angled-brackets
2020-04-30 11:17:38 +10:00
Damien Elmes
65a9eaa418 expose clock hack via env var
closes #594
2020-04-30 09:33:02 +10:00
Damien Elmes
fb280937d6 fix tags with missing leading/trailing spaces in DB check 2020-04-30 08:54:17 +10:00
Damien Elmes
8cab261062 fix deck confs not deleting
https://anki.tenderapp.com/discussions/ankidesktop/41044-bug-report-anki-2124-macos-deleting-unused-option-groups
2020-04-30 08:10:29 +10:00
Damien Elmes
76d60430d9 report filename when unable to read data 2020-04-30 08:02:08 +10:00
Damien Elmes
07b9671012 don't throw an error when a file is greater than MAXPATH
https://anki.tenderapp.com/discussions/ankidesktop/40931-check-media-error
2020-04-30 08:01:45 +10:00
Damien Elmes
39070abb89 drop type answer requirement special case
While it makes no sense to have the typing box on the front without
another non-empty field, "the front of this card is empty" when
a typing box is on the template seems to be confusing some users, so
it is clearer to show them the box.
2020-04-29 21:29:16 +10:00
Damien Elmes
6d404f1999 AnkiDroid expects timer to be an integer
https://github.com/ankidroid/Anki-Android/issues/6089#issuecomment-621110598
2020-04-29 20:52:00 +10:00
Damien Elmes
e299f5fe48 Merge pull request #592 from BlueGreenMagick/tabwidth
Set tab width to 4 spaces
2020-04-29 18:32:40 +10:00
Damien Elmes
bcae407301 Merge pull request #595 from evandroforks/set_github_actions_cache
Reset the GitHub Actions cache for pyenv for
2020-04-29 18:18:50 +10:00
Damien Elmes
81a4c11cca Merge pull request #596 from evandroforks/make_github_actions_name_pretty
Make the checks.yml OS name prettier
2020-04-29 18:16:16 +10:00
Damien Elmes
3918bd10b2 Merge pull request #593 from evandroforks/add_generated_file_warning
Added an warning that rslib/build.rs is automatically generating file
2020-04-29 18:15:56 +10:00
evandrocoan
f10fb0249c Make the checks.yml OS name prettier 2020-04-29 03:38:40 -03:00
evandrocoan
d7df8750b7 Reset the GitHub Actions cache for pyenv for
Fix astroid update breaking build
https://github.com/ankitects/pylint/pull/1
2020-04-29 03:22:12 -03:00
evandrocoan
15deb17737 Added an warning that rslib/build.rs is automatically generated file 2020-04-29 01:21:49 -03:00
BlueGreenMagick
7944ce135f Set tab width to 4 spaces
setTabStopWidth is deprecated, and setTabStopDistance is preferred
It's not entirely accurate however, which you can see
when you compare 10 tabs and 40 spaces
2020-04-29 11:34:09 +09:00
Damien Elmes
91248aa8cf bump version 2020-04-28 08:57:56 +10:00
Damien Elmes
6811a3dade Revert "Merge pull request #583 from Arthur-Milchior/remove_a_try"
This reverts commit a248a58f7a, reversing
changes made to 858d470cdb.
2020-04-28 07:38:23 +10:00
Damien Elmes
d005dcc2bf Merge pull request #587 from BlueGreenMagick/tags
remove unnecessary code
2020-04-27 19:25:42 +10:00
Damien Elmes
a248a58f7a Merge pull request #583 from Arthur-Milchior/remove_a_try
Simplify the code slightly
2020-04-27 19:12:00 +10:00
Damien Elmes
858d470cdb Merge pull request #582 from evandroforks/fix_make_clean
Fixed make clean rule not working on Windows
2020-04-27 19:10:21 +10:00
Damien Elmes
8ca0b1581c Merge pull request #581 from BlueGreenMagick/use-var-name
use variable names
2020-04-27 19:10:04 +10:00
Damien Elmes
ce0a844ffa Merge pull request #579 from evandroforks/fix_msgmerge_not_failing_on_error
Fix msgmerge not failing on error
2020-04-27 19:05:27 +10:00
Damien Elmes
30d98c03d8 Merge pull request #578 from evandroforks/fix_makefile_comments
Fixed Makefile comments showing up on the console
2020-04-27 19:05:03 +10:00
BlueGreenMagick
e070320cfa remove unnecessary code 2020-04-27 10:05:38 +09:00
Arthur Milchior
054f37f2b2 remove an useless asignment
Because fields of new notes are empty by default
2020-04-26 14:49:16 +02:00
Arthur Milchior
b5906ccef9 remove a try, for code clarity 2020-04-26 14:49:11 +02:00