Commit graph

47 commits

Author SHA1 Message Date
Damien Elmes
567a3c6e01 switch to strict css parsing 2012-10-26 20:09:32 +09:00
Damien Elmes
f53a8f122e don't restore old position if we weren't in deck browser mode before 2012-09-03 02:42:11 +09:00
Damien Elmes
f1aac15f9e make sure to encode js errors before writing to console 2012-08-23 13:54:26 +09:00
Damien Elmes
064803bce7 overhaul font handling
- set the default webview font to the system font
- remove explicit font size settings in favour of the default
- remove card list size customization in favour of the default
2012-05-26 20:28:30 +09:00
Damien Elmes
7069036b59 better image scaling on windows 2012-05-18 04:53:15 +09:00
Damien Elmes
07b859ff98 when context menu activated outside editor, show only copy 2012-05-08 01:45:41 +09:00
Damien Elmes
1e8fa49b40 always write js errors to stdout, as users pull in bad js when pasting 2012-05-05 01:48:59 +09:00
Damien Elmes
cfa95af722 copy/paste updates
- unify handling of shortcut key and context menu cut/copy/paste
- don't adjust selection on window/popup focus, so context works on win32 now
- remove undocumented shift to keep behaviour
2012-05-04 23:54:36 +09:00
Damien Elmes
a15b2fc557 bump version; disable context for windows for now 2012-04-24 15:51:45 +09:00
Damien Elmes
7bb31ee4c2 add cut/copy/paste context menu back 2012-04-24 15:46:13 +09:00
Damien Elmes
af7d813a2a show js errors in terminal when running from src 2012-04-08 20:06:44 +09:00
Damien Elmes
4bbd644e0a use stdHtml in preview 2012-04-08 13:29:55 +09:00
Damien Elmes
93118b2710 work around shift triggering buttons on win32 2012-04-07 21:23:51 +09:00
Damien Elmes
b2919f285d only use jquery ui in deck browser screen 2012-02-24 20:51:24 +09:00
Damien Elmes
1604eb29d6 fix compare answer function on osx with non-latin input 2012-01-31 07:17:51 +09:00
Damien Elmes
167dc79550 fix help links; add tooltip when loading browser 2012-01-16 11:00:57 +09:00
Damien Elmes
d7216ea1ad disable context menu in webview 2012-01-16 10:23:47 +09:00
Damien Elmes
91cbd316b1 win32 tweaks 2012-01-11 20:04:32 +09:00
Damien Elmes
d63715949e translation dict 2012-01-11 17:26:07 +09:00
Damien Elmes
4fd1da00fd use a platform-specific font 2012-01-11 14:44:50 +09:00
Damien Elmes
a8b90ca6b0 card is a class not an id now 2011-12-07 20:27:08 +09:00
Damien Elmes
16fd34e8d9 make sure the load callback is reset each time html changed 2011-12-04 15:39:01 +09:00
Damien Elmes
26ba52a752 add ctrl+c back to webview 2011-12-03 19:13:51 +09:00
Damien Elmes
da25e87ac4 key handling stuff 2011-12-01 19:42:36 +09:00
Damien Elmes
cecec92934 work on reviewer 2011-12-01 15:15:20 +09:00
Damien Elmes
1c58306d7a new toolbar for the browser 2011-11-29 13:35:13 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
Damien Elmes
f2a39aad2a move the toolbar into a separate file and make it global 2011-11-27 11:25:13 +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
6816163c08 add the bridge after the page has loaded 2011-04-28 09:27:53 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
fadf6fd249 dragging and dropping of urls 2011-04-28 09:27:51 +09:00
Damien Elmes
5a2ee8f30e start of tags/groups; be more selective in drop accept/deny 2011-04-28 09:27:51 +09:00
Damien Elmes
ae1d7bf6fc saving of fields 2011-04-28 09:27:51 +09:00
Damien Elmes
eadd5abf1a catch the copy event in downpress, not up 2011-04-28 09:27:49 +09:00
Damien Elmes
f48b3b27da hack to prevent keys from leaking from other widgets 2011-04-28 09:26:52 +09:00
Damien Elmes
363571cc94 trigger on key release instead of press; add overview action+shortcut 2011-04-28 09:26:50 +09:00
Damien Elmes
9e20c979fb remove the js resources and use the ones bundled with libanki instead 2011-04-28 09:26:49 +09:00
Damien Elmes
8ea949db74 move the button links to actual buttons, fix some bugs
- by using normal buttons we get the native look&feel and space can activate
  the buttons which is what users expect. Unfortunately it seems that the
  buttons are currently hard-coded to a small font size; hopefully this will
  be fixed in a future toolkit release
- remove the space hack from webview
- move the times into the ease buttons
- set a default button on a few screens
- fix a bug with clearing progress after an error
2011-04-28 09:26:49 +09:00
Damien Elmes
b699226cfd congrats screen; add temporary hack for space bar and pass links through bridge 2011-04-28 09:26:49 +09:00
Damien Elmes
fb8b1d26b2 update the existing page instead of reloading it for each card transition 2011-04-28 09:26:48 +09:00
Damien Elmes
f561bd1473 move the key handler into the webview instead of the main window 2011-04-28 09:26:48 +09:00
Damien Elmes
46c14b5efc question displaying 2011-04-28 09:26:47 +09:00
Damien Elmes
c9c7b8c25b start work on an overview; add flot to resources 2011-04-28 09:26:47 +09:00
Damien Elmes
f96e03875a more deck browser work
- add a separate toolbar for the deck browser
- add a message when there are no decks
- change the progress handler not to lock the UI immediately, which causes
  flicker
- ensure the webview is focused after stdHtml()
2011-04-28 09:26:46 +09:00
Damien Elmes
0a4efd018f add js/py bridge, jquery 2011-04-28 09:26:46 +09:00