Commit Graph

645 Commits

Author SHA1 Message Date
Damien Elmes
5eed6679fd Merge pull request #69 from julienbaley/chained_mod_params
Adding support for parameters in modifiers
2014-03-14 13:53:06 +09:00
Damien Elmes
e13fcad8a2 Merge pull request #67 from julienbaley/cloze_clone
Fixes creation of Cloze when having a chained modifier
2014-03-14 13:50:15 +09:00
Damien Elmes
b9ba2375a1 fix some memory leaks 2014-03-14 12:51:38 +09:00
Damien Elmes
b1cb07077a include buried in suspended count 2014-03-14 11:56:15 +09:00
Julien Baley
90fd1c00c8 Adding support for parameters in modifiers: {{mod1(param1,param2):mod2(param3):field}} 2014-03-12 14:21:23 +00:00
Julien Baley
69a19b58c2 Fixes creation of Cloze when having a chained modifier on the left of cloze 2014-03-09 18:12:39 +00:00
Damien Elmes
7dcf0d8ead fix tag strip on export
we must make sure to include spaces around tags or they can't be
found
2014-03-09 10:44:52 +09:00
Damien Elmes
fe2c94b819 use different way of scrolling to answer to fix qt5 bug 2014-03-07 10:21:38 +09:00
Damien Elmes
9beed20dc0 tweak heights and font sizes 2014-03-07 10:16:38 +09:00
Damien Elmes
66908a172a add houssam to about 2014-03-07 06:47:12 +09:00
Damien Elmes
e063123218 use a new header key on qt5 to fix drawing bug 2014-03-06 09:07:03 +09:00
Damien Elmes
93414007b8 stop providing pyqtconfig, as it's no longer available on newer plats 2014-03-06 09:04:28 +09:00
Damien Elmes
8fecf53c3b use qdesktopservices on qt5+pyqt4 2014-03-06 09:03:52 +09:00
Damien Elmes
de8adfecff disallow \r and \n in media filenames 2014-03-06 09:00:47 +09:00
Houssam Salem
068a63270d Changed location of import button (#1018).
Also updated help link in same window to point to a valid anchor.
2014-02-22 21:30:32 +11:00
Damien Elmes
980c9d7305 Merge branch 'master' of https://github.com/hssm/anki 2014-02-21 13:38:02 +09:00
Houssam Salem
8b443e80ef Remove leech tag on undo if it was added during that review (#973). 2014-02-20 16:51:08 +11:00
Damien Elmes
4c65c594dd don't force cloze to start
This allows {{kana:cloze:Text}} to work. May allow users to
shoot themselves it the foot - will see how it goes in the wild
and reconsider if necessary
2014-02-19 21:21:11 +09:00
Damien Elmes
def69fb78b Merge branch 'master' of github.com:dae/anki 2014-02-19 21:15:04 +09:00
Damien Elmes
c544832e6e Merge pull request #65 from julienbaley/fix_type_cloze
Fixes behaviour for {{type:cloze:Field}}
2014-02-19 21:14:40 +09:00
Julien Baley
777a3b8ec3 Fixes behaviour for {{type:cloze:Field}} 2014-02-19 10:09:48 +00:00
Damien Elmes
8b1cca0412 remove debug statements from test 2014-02-19 18:01:29 +09:00
Damien Elmes
6da0e688b3 Merge pull request #64 from julienbaley/chained_mods
Chained mods
2014-02-19 17:59:57 +09:00
Julien Baley
fb1a255358 Chained modifiers are processed from innermost to outermost (i.e. rtl). Except cloze/type. 2014-02-19 07:32:04 +00:00
Julien Baley
37753b1ffd Adding tests for chained modifiers 2014-02-18 17:26:41 +00:00
Julien Baley
7e3597fb8e Adding support for chained modifiers. One can now write e.g. {{cloze:text:Field}} or {{text:cloze:Field}}, it's order independent. 2014-02-18 17:24:28 +00:00
Damien Elmes
96cc486528 editor needs to accept focus; rename cardViewer to canFocus 2014-02-18 15:13:59 +09:00
Damien Elmes
a0f16d8ecb Merge pull request #59 from chreekat/faster-tests
Speed up tests
2014-02-17 11:22:14 +09:00
Houssam Salem
81d88908a5 Remember scroll position in deck browser (#977). 2014-02-17 13:08:32 +11:00
Damien Elmes
9405ebe86b Merge pull request #60 from chreekat/fix-supermemo-test
Fix supermemo import test
2014-02-15 23:45:18 +09:00
Damien Elmes
8c22e747bb Merge pull request #63 from hssm/986
Remove marked/leech tags when exporting without sched data (#986)
2014-02-15 23:43:28 +09:00
Damien Elmes
776168b2ea Merge pull request #62 from hssm/998
Issue #998: Allow copy/paste and context menu in all card windows.
2014-02-15 23:43:15 +09:00
Damien Elmes
23c557af6e Merge pull request #61 from hssm/browser-deck-collapse
Add expand/collapse support for decks in browser tree.
2014-02-15 23:43:00 +09:00
Houssam Salem
61ab1f5dfd Remove marked/leech tags when exporting without sched data (#986) 2014-02-15 23:04:59 +11:00
Houssam Salem
a12e6f6b65 Issue #998: Allow copy/paste and context menu in all card windows. 2014-02-15 17:26:03 +11:00
Houssam Salem
770c6e9c4a Add expand/collapse support for decks in browser tree.
The state is preserved in a new deck configuration key named 'browserCollapsed'.
2014-02-15 13:32:14 +11:00
Bryan Richter
04d3901491 Test against the value itself 2014-02-12 23:46:38 -08:00
Bryan Richter
827bb84418 Re-use an empty deck to save on creation time. 2014-02-12 23:33:44 -08:00
Bryan Richter
349c95d17a Fix supermemo import test
Broken by 656698d, "Add A Factor to E Factor conversion..."
2014-02-12 23:23:15 -08:00
Damien Elmes
3c36ddfb82 don't allow files named . or .. 2014-02-10 20:47:49 +09:00
Damien Elmes
2ec399a009 catch ssl error 2014-02-06 06:50:41 +09:00
Damien Elmes
640bcfa7d5 fix 1000 cap in overview screen 2014-02-06 05:33:58 +09:00
Damien Elmes
b97f913ba1 catch another invalidTempFolder msg 2014-02-03 01:51:51 +09:00
Damien Elmes
3b20de173f preserve order in multi cloze type answer; bump version 2014-01-30 00:34:42 +09:00
Damien Elmes
e963576e21 Merge branch 'master' of github.com:dae/anki 2014-01-27 07:03:42 +09:00
Damien Elmes
4b22bc3cd3 Merge pull request #53 from jmaatta/master
Fixes to the SuperMemo Importer
2014-01-26 14:03:27 -08:00
Jussi Maatta
656698da83 Add A-factor to E-factor conversion to SuperMemo import.
The SuperMemo XML importer assumed that the A-factors used by
SuperMemo map 1-1 with E-factors (which correspond to Ease in
Anki). This resulted in too large E-factors for imported items.

This change adds an A-factor to E-factor conversion to the
importer.
2014-01-26 10:09:47 +02:00
Jussi Maatta
cdcd5eb651 Fix double newlines in items imported from SuperMemo.
When importing SuperMemo XML files, indicate to the BeautifulSoup
XML parser that the <br> tag is self-closing. This prevents it
from adding a matching </br> for every <br> tag. These extraneous
tags resulted in extra newlines in items imported from SuperMemo.

While we're at it, fix the same bug for a couple of other
self-closing HTML tags.
2014-01-26 10:06:53 +02:00
Jussi Maatta
6c6be1144b Remove unused function from SuperMemo XML importer. 2014-01-26 10:01:06 +02:00
Damien Elmes
1e1e1f6f95 catch broken pipe error 2014-01-24 03:10:04 +09:00