Commit graph

180 commits

Author SHA1 Message Date
Damien Elmes
24b8ddce29 display helpful dialog if cloze bad 2009-09-26 23:23:41 +09:00
Damien Elmes
614793d4d4 delegate external links in preview 2009-08-17 06:57:26 +09:00
Damien Elmes
4c6301d3ca don't die if there's only one field 2009-08-17 05:13:13 +09:00
Damien Elmes
27f23b54a5 init ctypes only once 2009-07-27 21:29:34 +09:00
Damien Elmes
117fff96b0 patch from "halabund" to remember keyboard layout in fields on win32 2009-07-27 21:11:30 +09:00
Timo Paulssen
50bb21b343 now you can paste audio and image files from gnome apps, too. 2009-07-08 13:59:21 +02:00
Damien Elmes
7265d13537 add per-field rtl customization 2009-07-05 02:16:04 +09:00
Damien Elmes
fcf656c396 fix case where tags label is bigger than all fields 2009-07-04 00:34:26 +09:00
Damien Elmes
383840619b updated jp translations from jarvik 2009-06-26 09:49:48 +09:00
Damien Elmes
d3fb52199a add automatically delete media option 2009-06-16 00:21:34 +09:00
Damien Elmes
12c1590d3f support videos, pass current card to style gen, tweak q/a size when q hidden 2009-06-15 11:38:16 +09:00
Damien Elmes
e508239998 pass current card to drawquestion/answer filter 2009-06-12 22:22:40 +09:00
Damien Elmes
1d1ed411f7 apply same filters in preview 2009-06-12 20:43:03 +09:00
Damien Elmes
42a4c21d9c don't strip all html on cloze, just the misaligned style 2009-06-12 20:11:36 +09:00
Damien Elmes
102e63acf0 strip all japanese support out in favour of a plugin 2009-06-10 23:04:15 +09:00
Damien Elmes
105e9448d3 strip html before generating cloze 2009-06-04 07:07:59 +09:00
Damien Elmes
6d77eb73a2 work around qt bug based on version 2009-05-27 01:38:58 +09:00
Damien Elmes
b3aaf31f8a if text is selected, insert latex tags around 2009-05-16 04:39:24 +09:00
Damien Elmes
e1d8c31a1e update tags list when tags are changed 2009-05-09 03:28:47 +09:00
Damien Elmes
ec684b6367 ignore focusout event if in db handler 2009-05-02 05:30:50 +09:00
Damien Elmes
94dddb6531 fix images in preview, typo in hook code 2009-04-28 17:56:01 +09:00
Damien Elmes
0b7c8bcecc fix double-click to select 2009-04-25 19:18:07 +09:00
Damien Elmes
612eafc64a prevent double click except in chinese/japanese models 2009-04-25 01:18:44 +09:00
Damien Elmes
fc367de488 hack to fix latex position until qt4.5 becomes available 2009-04-19 00:20:56 +09:00
Damien Elmes
5d634e08fc fix width for darwin too 2009-04-19 00:10:10 +09:00
Damien Elmes
5988bb21b5 fix tag alignment on win32 2009-04-18 23:49:38 +09:00
Damien Elmes
a962a9fb51 document html editor shortcut 2009-04-18 03:27:51 +09:00
Damien Elmes
ef17e3b4c6 call a hook after creating a field 2009-04-18 03:20:54 +09:00
Damien Elmes
4d95b3487d scroll to top when adding, keep tags always shown, not tag up on field edit 2009-04-18 02:41:16 +09:00
Damien Elmes
b15bc9ef61 delay update of scroll widget, if change timer fires while deleting, delay 2009-04-17 23:19:05 +09:00
Damien Elmes
54db92e6ab set the background colour in the preview dialog 2009-04-11 00:42:23 +09:00
Damien Elmes
bdcac01aaa hide scrollbars in fact editor, use can use mouse wheel or keyboard 2009-04-06 23:34:46 +09:00
Damien Elmes
95d907333e fix reading update, update colour button in all fact editor instances 2009-04-05 13:45:07 +09:00
Damien Elmes
fe31d6fbd5 fix latex location on qt4.5 2009-03-29 11:37:26 +09:00
Damien Elmes
a601268d4c close(not hide) deck windows before deck close, remove stale hooks 2009-03-28 22:51:38 +09:00
Damien Elmes
a910a99a77 if model changed, refresh fact editor 2009-03-14 05:41:28 +09:00
Damien Elmes
8ddb47d967 add shortcut for html edit 2009-03-07 05:04:43 +09:00
Damien Elmes
4607d42c5f fix cloze undo 2009-03-06 06:06:50 +09:00
Damien Elmes
f6a1a8fc63 move cloze to f9, remove html editor shortcut 2009-03-06 06:01:51 +09:00
Damien Elmes
cfaf9388c3 correct wrapping of fields in cloze 2009-03-06 05:26:40 +09:00
Damien Elmes
7c02fe3c86 if there's a selection, ignore []s in cloze 2009-03-06 04:57:11 +09:00
Damien Elmes
3183fd2985 work around firefox png problems, revert previous change 2009-02-26 03:06:20 +09:00
Damien Elmes
f6280eb4fb favour url over image 2009-02-26 02:45:53 +09:00
Damien Elmes
0304b9c4f4 remove obsolete cloze undo code 2009-02-22 20:13:17 +09:00
Damien Elmes
e8e5b11477 after a tag or fact is modified, update the tag cache 2009-02-19 15:58:29 +09:00
Damien Elmes
473b4d326f provide correct parent to qcolordialog 2009-02-15 15:52:58 +09:00
Damien Elmes
af26ea2000 update tooltips to make emacs-style keybindings clearer 2009-02-15 15:51:04 +09:00
Damien Elmes
c7f4e32f01 don't set modified unless tags have changed 2009-02-09 21:57:26 +09:00
Damien Elmes
60a5f6782c change cloze tooltip 2009-02-09 18:15:38 +09:00
Damien Elmes
eb7620eb76 use square brackets, select to make cloze 2009-02-09 17:15:58 +09:00
Damien Elmes
c10ea4f255 improved colour support 2009-02-09 16:49:11 +09:00
Damien Elmes
ed30a36916 start work on improved colour choosing 2009-02-08 20:35:28 +09:00
Damien Elmes
8484bcc653 don't clear selection either 2009-02-08 16:30:24 +09:00
Damien Elmes
4d4fb8adba make setting colour work if there's no selection 2009-02-08 16:28:26 +09:00
Damien Elmes
99f9f9cc40 set fixed button height for win32 2009-02-08 05:05:50 +09:00
Damien Elmes
177ab82ed1 make sure undo done only if both q and a are the same 2009-02-08 04:42:03 +09:00
Damien Elmes
65d6194760 add help link 2009-02-08 00:02:41 +09:00
Damien Elmes
828f9fa5aa improved cloze - descriptions, colours 2009-02-07 23:42:04 +09:00
Damien Elmes
6b0e1982ff support cloze deletion 2009-02-07 22:20:28 +09:00
Damien Elmes
11d0b2d274 don't strip html on read/write 2009-02-06 18:44:00 +09:00
Damien Elmes
20d45e0134 hideable icons in fact editor 2009-02-04 21:38:58 +09:00
Damien Elmes
ba25cc028b if the image has an alpha channel, use a png instead 2009-02-04 13:20:30 +09:00
Damien Elmes
928bc99e1a fix preview & identation 2009-01-31 04:49:17 +09:00
Damien Elmes
582f89155d convert svgs to png on import 2009-01-24 18:01:45 +09:00
Damien Elmes
8d3220ad3d preserve text cursor when writing fields 2009-01-21 01:48:22 +09:00
Damien Elmes
c175109f70 wrap 2009-01-18 15:03:44 +09:00
Samson Melamed
af00f229f6 Merge commit 'resolve/master' 2009-01-18 01:00:18 -05:00
Samson Melamed
14af7bc5a2 report Mozilla-compatible User-Agent 2009-01-18 00:58:06 -05:00
Damien Elmes
e42eaafbd5 translation fixes, new polish translations from Piotr 2009-01-18 14:50:30 +09:00
Samson Melamed
11696f949e catch urllib2 errors when pasting images 2009-01-17 19:01:04 -05:00
Samson Melamed
043c402a45 fix double pasting in fact editor 2009-01-17 17:34:51 -05:00
Damien Elmes
b02b2ebff7 mac build scripts, report lame requirement on osx, fix model config button 2009-01-18 03:02:36 +09:00
Damien Elmes
f5b4e9f689 fix copy/paste of colours & images from anki to anki 2009-01-17 16:55:02 +09:00
Damien Elmes
96337615a5 identify all temp files as anki, remove kanji occur, tools>actions again 2009-01-17 16:29:26 +09:00
Damien Elmes
559a896f24 add mac test script, fix record snd option 2009-01-17 14:37:24 +09:00
Damien Elmes
e3e70488ef recording support, various changes
- progress bars refactored to use title 'anki' in most cases
- added 'record noise profile' option
- make sure to display 100% on progress
2009-01-17 01:04:13 +09:00
Damien Elmes
12b8dd5390 fix media dir change 2009-01-10 17:15:28 +09:00
Damien Elmes
883d5824f4 set media path if existing 2009-01-10 17:12:45 +09:00
Damien Elmes
e708f72a17 support pasting of http links that are not images/sounds 2009-01-09 18:39:45 +09:00
Damien Elmes
132c56a53d init media even on paste 2009-01-09 13:21:46 +09:00
Damien Elmes
05df5fb4e0 fix another unicode bug, add shortcut to options 2009-01-05 17:07:17 +09:00
Damien Elmes
aac727f2b5 added jump menu to cardlist 2009-01-05 14:29:34 +09:00
Damien Elmes
914fc45666 support drag & drop from konqueror too 2009-01-05 08:47:55 +09:00
Damien Elmes
3970aab5f8 support image drag & drop from firefox on linux 2009-01-05 08:46:20 +09:00
Damien Elmes
744e46f7fb allow drag&drop of sounds, fix unicode issues 2009-01-05 08:24:45 +09:00
Damien Elmes
104b4ecbba fix undo log bugs by ensuring deck not touched after close 2009-01-05 03:22:37 +09:00
Damien Elmes
b65fd5f6be use unicode name when adding to media db 2008-12-24 15:05:13 +09:00
Damien Elmes
ce3148f1ea support drag & drop from file browsers 2008-12-23 21:35:14 +09:00
Damien Elmes
9624463777 refresh main window after tag change 2008-12-23 20:39:14 +09:00
Damien Elmes
e63b7ef06d pre-wrap spaces, support indentation by user / programming etc 2008-12-23 18:43:24 +09:00
Damien Elmes
ed1758bb30 pass unicode name to qt 2008-12-11 03:27:26 +09:00
Damien Elmes
53cb4790af prefer image if text starts with http 2008-12-10 19:03:15 +09:00
Damien Elmes
0bbc7c7c74 text over images, pass current widget when adding picture 2008-12-10 17:58:32 +09:00
Damien Elmes
8282d3e7de don't autodetect html in html editor 2008-12-10 15:59:21 +09:00
Damien Elmes
249751fddd fix inserting image 2008-12-08 15:58:47 +09:00
Damien Elmes
d0777a4ffd fix reference to simplify 2008-12-07 12:21:36 +09:00
Damien Elmes
22f4f439f0 copy&paste images, make sort and tags in editor longer 2008-12-07 12:10:04 +09:00
Damien Elmes
a3ac8e3c0a fix tag saving, remember added tags without having to reopen, fix ret in add 2008-12-05 19:25:09 +09:00
Damien Elmes
45dd2c2c58 remove redundant audio commands & toolbar, fix tag bug 2008-12-04 01:53:43 +09:00
Damien Elmes
78ae7f48e6 make preview more like main window 2008-12-04 00:38:32 +09:00