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
evandrocoan
b1b3e5b87c
Merge remote-tracking branch 'danielelmes/master' into fix_tests_on_windows
...
# Conflicts:
# .github/scripts/trailing-newlines.sh
2020-03-23 18:44:11 -03:00
Hk-tang
f4874941c8
Added name to contributors
2020-03-23 13:08:50 -06:00
Hk-tang
521b0e9e14
Change not not to bool
2020-03-23 11:16:39 -06:00
Arthur Milchior
0c39c4f106
add an id to name tab
2020-03-23 16:52:24 +01:00
Damien Elmes
b1a8107aa1
formatting
2020-03-23 19:54:01 +10:00
Damien Elmes
11a4d582b4
convert asc to desc instead of appending desc to the end of the order
...
as the latter doesn't work when sorting on more than one column
https://anki.tenderapp.com/discussions/beta-testing/1868-anki-2124-beta#comment_48174812
2020-03-23 19:53:57 +10:00
Damien Elmes
84eaf43525
reduce the chances of a race condition in mplayer code
...
Not perfect, it may still happen.
https://anki.tenderapp.com/discussions/ankidesktop/39832-an-error-occurred-audio
2020-03-23 19:15:32 +10:00
Damien Elmes
f889616ef1
don't pop up network errors for media sync
...
log them instead
2020-03-23 19:06:13 +10:00
Damien Elmes
f429986246
fix collection_did_load() not being called, and remove dead code
...
https://anki.tenderapp.com/discussions/ankidesktop/39765-_colloadingstate-is-never-run-thus-collection_did_load-hook-is-never-triggered
2020-03-23 18:57:23 +10:00
Damien Elmes
7d94465256
cache dark mode value so UI doesn't break when it changes
...
https://anki.tenderapp.com/discussions/ankidesktop/39550-cant-deactivate-night-mode-on-2121-for-mac
2020-03-23 18:39:37 +10:00
Damien Elmes
7a4f3d0318
dump more info in card()/bcard()
2020-03-23 18:39:00 +10:00
Damien Elmes
14a970e923
rename long filenames in fields if files renamed in a previous sync
2020-03-23 18:38:45 +10:00
Arthur Milchior
349d145014
Ident html in editor
...
Sometime I like to print html to understand why it bugs. And I really
prefer to have html indented if it's okay with you. There is no change
appart from the identation and quotes
2020-03-23 08:15:48 +01:00
Damien Elmes
c615342130
fix English being shown in prefs for fully qualified langs like zh-CN
...
https://anki.tenderapp.com/discussions/ankidesktop/39845-a-new-bug-has-been-found
2020-03-23 16:08:06 +10:00
Damien Elmes
966eb666f0
fix v2 timing being returned for v1 users
2020-03-23 13:53:09 +10:00
Damien Elmes
4e2e0d1b84
fix setting of wal
2020-03-23 13:52:57 +10:00
Damien Elmes
cd9ceebd59
simplify how the local offset is passed around
...
- no need to store it in conf
- move local_minutes_west() call to collection
2020-03-23 13:52:52 +10:00
Damien Elmes
dc8cf9d554
release GIL during collection open/close
2020-03-23 09:27:42 +10:00
Damien Elmes
75b7ebb156
add back new_timezone_enabled(), as it's used in the prefs screen
2020-03-23 07:40:50 +10:00
Arthur Milchior
f2f92fb0c3
editor_did_init
...
That would be useful to add elements in the editor, such as in multi
column editor
2020-03-22 17:15:47 +01:00
Damien Elmes
427bf268fc
apply same list->tuple fix to v1 sched
2020-03-22 21:56:02 +10:00
Damien Elmes
4f99d0d3e5
Merge pull request #519 from zjosua/lrnQueue
...
Fill _lrnQueue with tuples, not lists
2020-03-22 21:53:53 +10:00
zjosua
0b94eee97e
Fill _lrnQueue with tuples, not lists
2020-03-22 11:49:40 +01:00
Damien Elmes
430f1ad616
handle trailing whitespace inside group
2020-03-22 18:52:44 +10:00
Damien Elmes
25ff4642ec
accept now_mins_west for v2 legacy timing as well
2020-03-22 17:33:14 +10:00
Damien Elmes
6c6817563e
fix sync error introduced by 69d8cdd9ed
2020-03-22 17:32:34 +10:00