Commit Graph

3869 Commits

Author SHA1 Message Date
Damien Elmes
8abba00496 DeckID, CardID 2020-03-26 15:10:40 +10:00
Damien Elmes
f52e775354 NoteTypeID 2020-03-26 15:00:24 +10:00
Damien Elmes
4ec30e412a newtype NoteID 2020-03-26 14:42:43 +10:00
evandrocoan
e1252b785d Fixed checks.yml Mac OS gmake PATH being set on Ubuntu 2020-03-26 01:20:00 -03:00
Damien Elmes
5eed3d7f71 use a macro for newtype defs 2020-03-26 13:50:20 +10:00
Damien Elmes
39f916a23e usn newtype 2020-03-26 13:06:02 +10:00
Damien Elmes
eb89a2db3f use newtypes for distinguishing between second and millisecond stamps 2020-03-26 12:59:51 +10:00
evandrocoan
c8e2c25e83 Fix Mac OS checks.yml caches being rebuilt by stop using
the CARGO_TARGET_DIR and CARGO_INDEX_DIR variables:
https://github.com/ankitects/anki/pull 528
2020-03-25 22:42:37 -03:00
Damien Elmes
65b8988817 reduce the chances of add-ons preventing collections from loading
https://anki.tenderapp.com/discussions/ankidesktop/39953-sync-fail-with-images#comment_48182205
2020-03-26 09:53:15 +10:00
Damien Elmes
8c80f96314 high due numbers shouldn't force a full sync 2020-03-26 09:09:11 +10:00
evandrocoan
b94936a98d Update make to use the new .SHELLFLAGS feature
https://github.com/ankitects/anki/pull 528
2020-03-25 19:05:31 -03:00
evandrocoan
1965cdb2b8 Set to use ankitects/setup-protoc@master instead of the original
repository with a `repo-token` until know whether it is safe to
pass the GitHub token around:
https://github.com/actions/virtual-environments/issues 602
2020-03-25 19:05:31 -03:00
evandrocoan
b77462eb8a Fixed lower case of runs-on: macos-latest
Accordingly to the documentation the name is lower case:
https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
2020-03-25 19:05:31 -03:00
evandrocoan
53b89adeeb Fix for indentation not using tabs on the make file 2020-03-25 19:05:31 -03:00
evandrocoan
eab11622fd Re-enabled the Makefile set -eo commands because by default
Mac OS uses an old version of make which does not support
the .SHELLFLAGS feature.
2020-03-25 19:05:31 -03:00
Arthur Milchior
9f4c4ea355 Explode onBridgeCmd
This way, an add-on can catch a blur command, do its change and then
call self.blur
2020-03-25 08:17:48 +01:00
evandrocoan
206e167f85 Set curl to run silently, added missing double quotes and removed
trailing backslash on checks.yml
2020-03-25 00:05:49 -03:00
evandrocoan
721453f923 Merge remote-tracking branch 'danielelmes/master' into create_actions_for_windows_macos
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	.github/workflows/checks.yml
#	Makefile
#	pylib/Makefile
#	qt/Makefile
#	qt/tools/typecheck-setup.sh
#	rspy/Makefile
2020-03-24 22:49:49 -03:00
evandrocoan
a0971628a6 Set to run first develop build and check rules 2020-03-24 22:28:46 -03:00
evandrocoan
d1337badab Merged mac_checks.yml and windows_checks.yml into checks.yml 2020-03-24 22:28:46 -03:00
evandrocoan
716989135c Renamed linux_checks.yml to checks.yml 2020-03-24 22:28:46 -03:00
evandrocoan
bcda7ecc29 Fixed bash call by bash using other bashes on the system PATH 2020-03-24 22:28:46 -03:00
evandrocoan
18aec3c713 Re-enabled the mac_checks.yml after fixing the rate limit issue 2020-03-24 22:28:46 -03:00
evandrocoan
136cd4da7c Fixed not all rust libraries being cached 2020-03-24 22:28:46 -03:00
Damien Elmes
beee1f10e0 possible CI fix 2020-03-25 09:45:50 +10:00
Damien Elmes
818b9193a8
Merge pull request #523 from Arthur-Milchior/hook_note_will_load
Hook editor_note_will_load
2020-03-25 09:43:16 +10:00
Damien Elmes
1ef984cc2a
Merge pull request #526 from Arthur-Milchior/field_with_space_are_empty
strip to test whether field is empty
2020-03-25 09:36:08 +10:00
Damien Elmes
01e9f889b7 add newline to mear clearly separate different ftl files 2020-03-25 08:53:42 +10:00
Damien Elmes
ea3c6cad42 don't error when -l passes in language without _ 2020-03-25 08:53:31 +10:00
Arthur Milchior
c1a8c413b0 remove space in fields 2020-03-24 12:26:48 +01:00
Arthur Milchior
3799b8504f strip to test whether field is empty 2020-03-24 11:55:55 +01:00
Damien Elmes
e29d380d4c fix sync getting stuck in a loop when changes is a multiple of 250 2020-03-24 19:30:35 +10:00
Arthur Milchior
31f18e3c94 Hook editor_note_will_load
A current problem I have is that there is nothing similar to hook
inside of javascript. It seems that it would be easier to be able to
add other methods in javascript and call them in loadNote. Currently I
simply redefined loadNote, which is far from perfect
2020-03-24 10:17:01 +01:00
Damien Elmes
6143a7e218
Merge pull request #525 from Hk-tang/change-to-more-pythonic
Change not not to bool
2020-03-24 16:01:15 +10:00
Damien Elmes
a51dba7255
Merge pull request #524 from Arthur-Milchior/indet_html
Ident html in editor
2020-03-24 16:00:57 +10:00
Damien Elmes
483d50cba8
Merge pull request #522 from Arthur-Milchior/editor_did_init
editor_did_init
2020-03-24 15:52:50 +10:00
Damien Elmes
d5cbd78798 use forked proto action 2020-03-24 15:50:40 +10:00
Damien Elmes
cc34157e4b
Merge pull request #510 from evandroforks/fix_tests_on_windows
Fix tests on windows
2020-03-24 15:33:02 +10:00
Damien Elmes
289bdde20c handle fields with embedded nuls 2020-03-24 14:53:33 +10:00
evandrocoan
131aee1a82 Appended a number by default on every cache key to easily force
its regeneration by hand.
2020-03-24 00:31:50 -03:00
evandrocoan
508f8df47f Fixed pyaudio and rename not being setup when pacman cache is used 2020-03-24 00:31:50 -03:00
evandrocoan
cfbd7ba108 Added the develop rule to run first and install things
before running tests and the build to properly measure the total
time of each stage.
2020-03-24 00:31:50 -03:00
evandrocoan
19dab43aae Moved the cache actions to the top of the file 2020-03-24 00:31:50 -03:00
evandrocoan
8e43016248 Renamed the mac_checks.yml until it get fixed 2020-03-24 00:31:50 -03:00
evandrocoan
4ff6e35a2c Cache pacman package manager and upload python wheels 2020-03-24 00:31:50 -03:00
evandrocoan
f908566252 Created .github/workflows/mac_checks.yml 2020-03-24 00:31:46 -03:00
Damien Elmes
5c5d1c2af5 remove : check from dbproxy 2020-03-24 10:37:12 +10:00
evandrocoan
b5a1cf3a14 Cache rust libraries 2020-03-23 19:51:23 -03:00
evandrocoan
20c9837770 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
evandrocoan
6c8b005cab Deprecated eval usage on qt/tools/typecheck-setup.sh 2020-03-23 18:54:24 -03:00