Damien Elmes
8f9a20c5a5
fix 'null' error when closing browser etc
2012-04-07 17:11:32 +09:00
Damien Elmes
d1507d5b63
click in middle of field doesn't scroll to end now
2012-04-07 16:36:47 +09:00
Damien Elmes
0e580a04d8
remove buggy ondragover handler
...
It was originally added to prevent text from being dropped outside the
editable areas, but I'm no longer able to reproduce the original problem.
2012-04-07 15:30:37 +09:00
Damien Elmes
cc606e180e
ntype -> note
2012-04-07 13:54:35 +09:00
Damien Elmes
21464720d5
add tooltip to foreground colour
2012-04-06 17:00:53 +09:00
Damien Elmes
2107c1a9c0
when user tries to cloze a normal note type, show help
2012-04-06 16:56:36 +09:00
Damien Elmes
a9a0b1752d
consistent nomenclature
2012-04-06 16:36:47 +09:00
Damien Elmes
a09cd3f7a0
prefer clipboard image over url
2012-04-06 13:22:25 +09:00
Damien Elmes
4c3008e25c
don't error when an image is dropped on itself
2012-04-06 07:36:48 +09:00
Damien Elmes
05fe55231c
drop events should save the note
2012-03-27 11:22:37 +09:00
Damien Elmes
43e28cb97f
short advanced shortcuts
2012-03-27 06:39:19 +09:00
Damien Elmes
0bb4633b14
filter html editor html
2012-03-27 06:18:07 +09:00
Damien Elmes
1b489eea0b
process events before any dom op
2012-03-25 02:41:32 +09:00
Damien Elmes
092eba2691
strip implicit webkit html on drop or paste
2012-03-24 23:17:05 +09:00
Damien Elmes
bf0caddccc
ensure field area surrounds floated images
2012-03-24 03:01:41 +09:00
Damien Elmes
88df74ae9a
work around \0 in string
2012-03-22 16:20:06 +09:00
Damien Elmes
24155cf337
work around another win32 crash
2012-03-20 05:53:18 +09:00
Damien Elmes
07d0d1ef80
strip trailing whitespace
2012-03-20 04:23:30 +09:00
Damien Elmes
cac5f9306f
strip img path when dragging
2012-03-20 03:16:15 +09:00
Damien Elmes
b2d31fe780
only process the first link; some programs give us the same link twice
2012-03-20 01:11:09 +09:00
Damien Elmes
0d3fc59917
work around a crash on windows when adding media
2012-03-14 01:09:06 +09:00
Damien Elmes
e4860b1b7f
Merge https://github.com/jakeprobst/ankiqt
2012-03-12 11:46:15 +09:00
Jake Probst
8c424e5e95
not terrible autoscrolling in add card window
2012-03-11 06:24:31 -07:00
Jake Probst
51146ccd51
deck and tag section of add card dialog takes up less space
2012-03-11 05:50:20 -07:00
Jake Probst
52b92bc967
fixed webkit adding html into cards
2012-03-11 05:48:57 -07:00
Damien Elmes
3e0aed4e41
remove note decks
2012-03-09 09:41:12 +09:00
Damien Elmes
ff514103ed
reuse the bottom webview too; avoid .html()
2012-02-24 22:10:21 +09:00
Damien Elmes
be4aa382c3
partially fix the broken inserthtml handling on old qt/linux
2012-02-13 17:07:58 +09:00
Damien Elmes
ccf571290b
support html stripping on middle click paste too
2012-02-13 16:10:53 +09:00
Damien Elmes
90b50ddd6c
Merge branch 'master' of https://github.com/aaronharsh/ankiqt
2012-01-30 22:26:43 +09:00
Aaron Harsh
765e586a43
Get rid of obsolete(?) code for setting selection during cloze creation.
2012-01-29 20:20:35 -08:00
Aaron Harsh
873a981609
Don't stick leading/trailing whitespace in a cloze.
2012-01-29 20:18:26 -08:00
Aaron Harsh
50e6fade55
Make undoing a cloze operation behave more intuitively
...
Prior to this change, undoing the clozeing of a block of text would
delete the text altogether. We'd prefer it to revert to unclozed text.
2012-01-29 19:34:50 -08:00
Damien Elmes
7aa9b4cb0e
always try to preserve field # focus
2012-01-30 08:10:15 +09:00
Damien Elmes
690f6b0640
disable context menu in editor too
2012-01-30 07:53:29 +09:00
Damien Elmes
51d58f2cce
hold down option to not increment cloze
2012-01-24 01:54:31 +09:00
Damien Elmes
0a65d7abe0
don't allow "" as deck name, hide completers when editor closed
2012-01-16 12:40:06 +09:00
Damien Elmes
167dc79550
fix help links; add tooltip when loading browser
2012-01-16 11:00:57 +09:00
Damien Elmes
ba15b41949
fix tooltip on remove format option
2012-01-16 10:27:31 +09:00
Damien Elmes
be09087ffd
bigger spacing for all but mac; mention httplib2>0.7
2012-01-11 20:18:17 +09:00
Damien Elmes
91cbd316b1
win32 tweaks
2012-01-11 20:04:32 +09:00
Damien Elmes
09f3de3fb5
increase field name size
2012-01-11 14:46:20 +09:00
Damien Elmes
1b3e956d5f
add new css field to clayout
2011-12-17 18:17:28 +09:00
Damien Elmes
72a01c0b90
add rtl fields to editor
2011-12-17 11:14:21 +09:00
Damien Elmes
b3fc9e8f8b
make sure element is visible on focus change
2011-12-17 11:03:39 +09:00
Damien Elmes
91b37842d4
move to one column field layout
2011-12-17 10:27:54 +09:00
Damien Elmes
be597905fc
don't mark first field red unless it's a dupe
2011-12-15 17:13:37 +09:00
Damien Elmes
dcb56ef265
don't leave orphaned facts around when editing
2011-12-13 04:20:12 +09:00
Damien Elmes
177a2d027b
add deck to add cards dialog
2011-12-13 01:53:18 +09:00
Damien Elmes
1bcc8b9d27
fix cloze
2011-12-11 03:34:23 +09:00
Damien Elmes
b812b50ee3
add template-level deck override
2011-12-11 00:44:07 +09:00
Damien Elmes
60ba70b1b5
add cards dialog & model chooser
2011-12-10 21:21:20 +09:00
Damien Elmes
4a84a304ae
move tex & html editing into advanced menu
2011-12-08 20:51:46 +09:00
Damien Elmes
ac7602675a
tooltips
2011-12-02 17:19:57 +09:00
Damien Elmes
bea1e60fc8
remove actions that'll be placed on the card
2011-11-30 15:58:39 +09:00
Damien Elmes
b9522487ad
finish fields dialog
2011-11-30 12:36:12 +09:00
Damien Elmes
967dff23dd
work on fields dialog
2011-11-29 21:06:42 +09:00
Damien Elmes
1c58306d7a
new toolbar for the browser
2011-11-29 13:35:13 +09:00
Damien Elmes
7a799d30e0
report issues with history not matching rep count
2011-11-29 11:04:32 +09:00
Damien Elmes
10234be4e9
browser tweaks
2011-11-28 21:19:39 +09:00
Damien Elmes
23411c2872
primarily work on browser
2011-11-28 19:21:20 +09:00
Damien Elmes
cf87d19905
refactor card layout, reviewing
2011-11-28 14:37:07 +09:00
Damien Elmes
f4150a5df4
refactor; add profile support
2011-11-24 12:48:58 +09:00
Damien Elmes
87da9f48b1
facts->notes
2011-11-23 13:35:14 +09:00
Damien Elmes
3a617cd7df
fix media.dir() calls
2011-09-17 08:05:34 +09:00
Damien Elmes
18812655ab
some initial porting to the latest libanki
2011-08-28 15:24:30 +09:00
Damien Elmes
3bfb60c757
fix _retrieveURL()
2011-05-04 16:40:41 +09:00
Damien Elmes
3a4443404b
don't call toString() on registry results; don't cast QUrl.toString()
2011-04-28 09:28:03 +09:00
Damien Elmes
a253d756e3
use pyqt api2; move all imports into a single file for pyside
2011-04-28 09:28:02 +09:00
Damien Elmes
6f8a3c5216
if clozing on a word boundary, ensure it's preserved
2011-04-28 09:28:02 +09:00
Damien Elmes
2b326e5773
allow the user to paste with formatting by holding down; don't clobber clipboard
2011-04-28 09:28:01 +09:00
Damien Elmes
d0c9beddfd
drop events from anywhere in anki should preserve formatting
2011-04-28 09:28:01 +09:00
Damien Elmes
b7bd648762
remove some debugging
2011-04-28 09:28:01 +09:00
Damien Elmes
4dd1071b44
clicking on initial group defaults to changing it
2011-04-28 09:28:01 +09:00
Damien Elmes
6950b1e64d
group->initial group
2011-04-28 09:28:00 +09:00
Damien Elmes
0c38354dae
when editing a fact, use a group button instead of an input box
2011-04-28 09:28:00 +09:00
Damien Elmes
e26a735a49
remember tags & group on a per-model basis
2011-04-28 09:28:00 +09:00
Damien Elmes
dac9f0584b
group improvements
...
- set groups now supports setting cards from fact
- editor doesn't set cards when fact group is changed
- card group and fact group can be displayed separately
- window title doesn't bother to calculate total card count
2011-04-28 09:27:59 +09:00
Damien Elmes
27f08a463a
add->use a cloze deletion model
2011-04-28 09:27:59 +09:00
Damien Elmes
177fa8b052
option to show duplicate
2011-04-28 09:27:58 +09:00
Damien Elmes
95fc3978a9
refresh current card on edit
2011-04-28 09:27:58 +09:00
Damien Elmes
a51d51bca6
use new libanki temp funcs
2011-04-28 09:27:58 +09:00
Damien Elmes
f245c7651c
use os check shortcuts
2011-04-28 09:27:58 +09:00
Damien Elmes
74e5122717
modal open dialogs
2011-04-28 09:27:58 +09:00
Damien Elmes
bb0b3d1823
don't save group/tags when there's no fact
2011-04-28 09:27:57 +09:00
Damien Elmes
fdeb092a8d
fix select all flicker
2011-04-28 09:27:57 +09:00
Damien Elmes
2c7a939073
require a reset after any edits
2011-04-28 09:27:56 +09:00
Damien Elmes
3855183213
find & replace
2011-04-28 09:27:56 +09:00
Damien Elmes
8865ca6131
_fields -> fields
2011-04-28 09:27:55 +09:00
Damien Elmes
fe17266b8d
always refresh fact on row change; fix add/del cards
2011-04-28 09:27:55 +09:00
Damien Elmes
2070a0ced9
make sure group and tags updated on new fact
2011-04-28 09:27:55 +09:00
Damien Elmes
e93a6379d3
update card gids on fact gid change
2011-04-28 09:27:55 +09:00
Damien Elmes
fe083e916f
fix navigation
2011-04-28 09:27:55 +09:00
Damien Elmes
949dc9defd
hide the editor when more than one card is selected
2011-04-28 09:27:55 +09:00
Damien Elmes
1fda0a9bad
put groups and tags on one line instead
2011-04-28 09:27:54 +09:00
Damien Elmes
6816163c08
add the bridge after the page has loaded
2011-04-28 09:27:53 +09:00
Damien Elmes
d554fc22ba
require python2.5+
2011-04-28 09:27:53 +09:00
Damien Elmes
f2865d7bf5
bare minimum to get the browser to show up
2011-04-28 09:27:53 +09:00
Damien Elmes
7acc6a882b
gpl>agpl
2011-04-28 09:27:53 +09:00
Damien Elmes
77c20341c1
tweak focus handling
2011-04-28 09:27:53 +09:00