1
Commit Graph

176 Commits

Author SHA1 Message Date
2662f20c09 Improved update checking
Former-commit-id: 66d9959e9190f49c4d1bbc38261e847c846cae59
2015-02-15 15:03:46 +09:00
30cb4926b9 Adding checkbox for rememberTextContent setting
Former-commit-id: de85f3c192b2943d763b4ad7fea0e38969feb752
2015-02-15 13:31:13 +09:00
a7813b9acd Minor fixups
Former-commit-id: 7e6057db62be3251f7f8ffffbbc7d054e92eb1b6
2015-02-15 13:25:45 +09:00
felixvd
fed32e4de9 Reverting changes to getSentece() behavior
New line is now again ignored when looking for the end of the sentence.


Former-commit-id: a47014c3dfeb6cfb0d251dc448814bacdaec98db
2015-02-12 13:44:29 +09:00
felixvd
5226adca67 Basics for persistent text box functionality
Text is saved in the JSON upon closing and loaded on startup if the
flag “rememberTextBoxContent” is true (default). Text seems to be
escaped automatically for export into the JSON. Tested with quote
characters only.

Missing the UI for controlling this feature, as discussed.


Former-commit-id: 77c46388edc0a25e36ae8d2538448f1c1e61c069
2015-02-12 13:14:31 +09:00
felixvd
7179dd6436 Context sentence properly cut off at newline
The newline character is taken into account 20 lines earlier when
looking for the start of the segment, but not when looking for its end.
When lines don’t end in punctuation (e. g. notes taken in lectures),
this could result in excessively long {sentence} fields.


Former-commit-id: 8e25d2d2b7212c23e1a67c96055943c53aca4b36
2015-02-11 01:54:41 +09:00
e759dcd168 Version bump
Former-commit-id: 95d27df448ad3e1381349eef175321d05bce020c
2015-01-30 18:57:51 +09:00
533f90960b Add nag to make people take the time to configure Yomichan
Former-commit-id: d93128d78a3255025a916612974397c369fed869
2015-01-30 18:57:15 +09:00
8dbbf3d6fc Add some initial text to the text area, text area is now editable by default
Former-commit-id: 9141971f189946f62c664e9065e48a5af1763042
2015-01-30 18:42:18 +09:00
63ba3bb6d4 Add checkbox to allow editing the main text area
Former-commit-id: 67061d862173e3acd4c5b7eea9a5a62d84b1b6ba
2015-01-30 18:38:01 +09:00
2173e809a1 Updating feedback url
Former-commit-id: 10ae7e296b12394fb88a53d67305a5d7972ee984
2014-12-28 23:26:11 +09:00
3aa5c8ee7e Cleanup of HTML generation code
Former-commit-id: b7080d6c0970944494c07ccd5c3c35719b34b660
2014-12-28 21:46:01 +09:00
1c5129f82b Adding in contents of enamdict
Former-commit-id: 2738889da33182d941c2179afbc5f3d776dc886a
2014-12-28 19:13:24 +09:00
3ba372c9c7 Updating dictionary
Former-commit-id: 67ecf483d76ec68eb701ac5cf94193244e9a2804
2014-12-24 17:32:58 +09:00
1e2f0e51a2 Allow text word lists to be imported
Former-commit-id: ac96ec75dd83094a5dd1455a77f2d0fb68bed0b7
2014-12-24 17:26:05 +09:00
1d5b9f8234 Updating UI
Former-commit-id: e07cfabcd07f7f34421f75bb69aaa03e31b980eb
2014-12-24 17:04:57 +09:00
3c484fcbbd Fixes
Former-commit-id: c119b1999e6972f50302230e8beb79898a236aba
2014-12-24 16:58:16 +09:00
26012a5679 Attempts to make the definition window not jump all over the place when updating
Former-commit-id: c6aa7ecdbc54ae69e75de0c6fd96100a00091c65
2014-12-20 21:15:13 +09:00
3e489b2fbc Do not limit result listing when doing import
Former-commit-id: 5570d527091f29b7a393b735ee1889323c2e6fb6
2014-12-20 20:51:54 +09:00
d41cf00e7f Bumping version number
Former-commit-id: f9a9d0b757d06bd67b2773196e0c87322d671e28
2014-12-20 20:39:57 +09:00
bd1fe47502 Can now import Kindle vocab decks
Former-commit-id: 79282c1efd08bc501505850d1613926f479a95b0
2014-12-20 20:39:24 +09:00
e7577a7cd0 Stub for importing word list
Former-commit-id: ee45d2c32f6ec50a4ab38cd5e139636b103efa9f
2014-12-20 20:19:22 +09:00
f67a70f536 Adding UI for adding word list from Kindle deck
Former-commit-id: d144d62024bc6780caafb71e3eec72c3fe880f48
2014-12-20 19:45:41 +09:00
77c2f97b42 Removing unused include
Former-commit-id: f62327193c7e0db9a731375f96f05bb22fad903e
2014-11-15 20:05:08 +09:00
5c98784e40 Fixing unicode font names breaking Yomichan preferences
Former-commit-id: 7763e7d748ce1b0e9c3fa0f98927b018e389ee71
2014-11-10 17:33:46 +09:00
48682de0e9 Re-adding dictionary
Former-commit-id: 5f1f0131af40282d7d3e1fb1c78a32df798f967b
2014-03-03 07:07:38 -08:00
a09ef6e777 Updating URLs
Former-commit-id: a1e2966d5d2ff3f3e4ebd21a6d2c798c11595464
2014-03-03 07:04:33 -08:00
50e4993b45 Bumping version number
Former-commit-id: aa9eeabb47b72f09fa68a5ee03d780af908e89fd
2013-12-27 11:43:02 -08:00
d2431f2cef Making bracket keys move cursor around
Former-commit-id: 1809d22b10c4f391ce01736f1886942a55d9f0d0
2013-12-27 11:38:25 -08:00
bff7b14bc3 Adding hotkeys for creating vocabulary and Kanji cards
Former-commit-id: 6bdaba37ae3da0ca56785d6e0350bd04e234820d
2013-12-27 11:25:18 -08:00
c206913354 Entering text into vocab search field also displays results for Kanji
Former-commit-id: 956e7df4b9c3191358b0eac34d5bb72d86863b76
2013-12-27 07:35:01 -08:00
e05d2c871b Don't open recent files on startup that don't exist anymore
Former-commit-id: 89b6735e89907aedda9017b4d888a79daefe3915
2013-12-27 07:34:25 -08:00
4194570cd4 Fixing bugs related to adding kana-only cards, bumping version
Former-commit-id: 298b5275a85d3f60b118846c6fc7b9885702c48a
2013-12-22 13:57:05 -08:00
72459ba337 Incrementing version number
Former-commit-id: d884fcbee837acde7d6a8a9d50642653e25a5344
2013-11-20 20:46:54 -08:00
da91d8a45b Fixing Yomichan loading the last file at the wrong offset
Former-commit-id: 38cefbd69bee88ea2b124f47c2c460021639c162
2013-11-20 09:12:53 -08:00
4192d8189c Making search work without QString
Former-commit-id: 6be55dec9cbf97885d7e687fb79b0840a8ee246b
2013-11-20 08:28:47 -08:00
46c99d7efb Improvements to text scanning and deinflection display
Former-commit-id: 94bfd5c174c2f68dfb85b2040a272e4523f9e799
2013-11-17 20:21:57 -08:00
9461c0f3dc Adding handling for incorrect field markup
Former-commit-id: 1f496162e8fc779cb4950d4f3c179e4d6d52aa61
2013-11-16 12:51:21 -08:00
23e6c21a7e Updating formatting for HTML output
Former-commit-id: 9f3bb3a0f42e0ab0b074e84f40044c07a4e0db91
2013-11-16 12:30:20 -08:00
f8dda8d21a Better handling of spaces and line breaks in files
Former-commit-id: a3e47eb122cfbfc847f7aa324f0f9f7486f08d04
2013-11-16 12:08:08 -08:00
6b761321f0 Updating UI labels
Former-commit-id: 06c061d606fef268af9acdfc57b769d6f2adeb35
2013-11-16 11:53:02 -08:00
d31bff5700 Adding imporved support for searching using wildcards
Former-commit-id: 95d392046cc4d703fee433afabbd4ba3d04fad36
2013-11-16 11:21:35 -08:00
c40f778955 Display Kanji results in order that they are encountered
Former-commit-id: 5324fcfae066149171584f484da64c3ea2c63584
2013-11-15 19:53:05 -08:00
ddfba5a1ca Look up Kanji at the same time as vocab when scanning text
Former-commit-id: ec14972d8e7d3119ad76389299dc2609a8f8c095
2013-11-15 19:39:56 -08:00
170484fa24 Updating Kanji lookup, temporarily disabling fancy search
Former-commit-id: c6e298b51f4d5ae8596244fe97e227bc8fa2dc18
2013-11-14 09:22:20 -08:00
4423e7efc0 Correctly copy Kanji defintions to clipboard
Former-commit-id: 505fff8db8eabb0abfe1f8ff8e6b411ee520563d
2013-11-14 08:36:26 -08:00
30badd7967 Cleaning up some stuff in dictionary and translator
Former-commit-id: ca940dc4fbf1ca80e889a3dd1cf5e1c2af98ba8a
2013-11-12 19:56:52 -08:00
efc9310da4 Temporarily removing code for opening tar files. I'm going to add this later after I figure out a better way to handle this logic.
Former-commit-id: b91c824b15b380c8ce8987e31dc42ad75b44ffca
2013-11-12 19:51:19 -08:00
9e5cddea50 Cleanup
Former-commit-id: 9810f65c42e33af17c2db976c5859a60654e2ded
2013-11-11 19:59:47 -08:00
395e4e489f Fixing word wrap not being applied correctly
Former-commit-id: b059b2fa47d85ea80dfc2d721f76379b6c5a9526
2013-11-11 17:01:43 -08:00
20b67e53d2 Generate summary differently depending on profile
Former-commit-id: 69909c0ba08ff806081bcdd67969e1f44293f638
2013-11-11 15:47:05 -08:00
6b63422efb Updating UI for preference dialog
Former-commit-id: d5e16b08b55ef474e94fa5d94f5f1f486befc418
2013-11-11 15:16:41 -08:00
d279b2bf28 Some basic support for displaying information about characters
Former-commit-id: 895554df1f912021309091c88cd5b3c2a8b7211f
2013-11-10 20:27:25 -08:00
bd5fe72ab2 Removing some constants
Former-commit-id: 56c657766d277852f26c403ecaad16f5db0393ef
2013-11-10 18:13:21 -08:00
082657b3af Cleanup
Former-commit-id: 2837f5b79686f125eb2e3e506f631561571ccd6d
2013-11-10 17:59:13 -08:00
cabd0a8506 Cleanup of helper functions for card generation
Former-commit-id: 61748bf8d76245d7a11ed2377bc8375bd6ece256
2013-11-10 17:39:44 -08:00
c4da3eb9c4 Updating tags display on preferences
Former-commit-id: ac5a42791baf4758e9805725582f3c2442d5f62c
2013-11-10 15:38:31 -08:00
d9c6a5667d Cleanup
Former-commit-id: 66ee2655c998a22f680c668ad47697caa2f9d879
2013-11-10 14:17:42 -08:00
b82a42f875 Reader now works with multiple profiles
Former-commit-id: 8b63fc882c208986956eaab5e046c7e2174137b1
2013-11-10 13:59:37 -08:00
d61442ada5 Preferences are now correctly updated
Former-commit-id: 9b7f2bbd613ac5bb6ef964daa3cdc09bc207c2dc
2013-11-10 13:40:09 -08:00
b2c3245e20 Preferences partially working now
Former-commit-id: 1d8395b26b30b13c2d9af76ef509ac84bada79ec
2013-11-10 13:05:04 -08:00
4f485ef2a9 More updates to preferences, getting closer to making it work
Former-commit-id: edf2bba8d74c92ca2abe0fafaa9a87154d250220
2013-11-10 12:10:43 -08:00
dce854f966 Updating preference system
Former-commit-id: a78921bc5ddfac052070580f12e000eda4b52200
2013-11-10 11:46:50 -08:00
eee3e9627a Adding default configuration, updating labels in preference dialog
Former-commit-id: 37871a4f6d60e419bd7974f3512c3a7f66eb000f
2013-11-10 10:38:36 -08:00
7a91d8b767 Updating main window to function with new UI
Former-commit-id: 1f8103a7b3023592b6a04f603ff13e1df5c317bc
2013-11-10 10:21:25 -08:00
ae17b6554e Updating UI for new features
Former-commit-id: 919f207ce9b501886e0b139e9c085ac447c3385a
2013-11-10 10:15:11 -08:00
88a3b2e3a0 Changling location of deinflect and dictionary data files
Former-commit-id: 9e5ec9facd8ab2c77115689c8b7261b8c5ce41ac
2013-11-10 08:27:40 -08:00
0f530cd3c8 Revert "Moving location of deinflect and dictionary data"
This reverts commit e7636cd4f5 [formerly 148b64a53c3c62daf60c2c959f0140b1a39bb08b].


Former-commit-id: 7e8125b59820a6f3e38d31865e3f9bf063e67835
2013-11-10 04:28:09 -08:00
e7636cd4f5 Moving location of deinflect and dictionary data
Former-commit-id: 148b64a53c3c62daf60c2c959f0140b1a39bb08b
2013-11-10 04:26:15 -08:00
218346eee6 Fixing up headers
Former-commit-id: 98e4903f657f65bf89cdc5e5a96c75c8e564639a
2013-11-09 19:12:17 -08:00
1d4d03592b Adding additional encodings for autodetect, fixing line wrap bug
Former-commit-id: c8c98e42b5e73f3ae293ce72432ab3530a08c48c
2013-11-09 19:09:40 -08:00
c8d6ec9cd7 Small fixups and tweaks
Former-commit-id: 8de377f8989f696a3a0db9ddb5830ab414634c24
2013-11-09 18:49:31 -08:00
21b7c734a4 Switching way markup fields are formatted for cards
Former-commit-id: e97bb1211a24175976293161878ec771d94334dc
2013-11-09 18:33:31 -08:00
d2c9cb7b6b Cleaning up reader_util, making sorting order better for translator
Former-commit-id: 5597695db5254d71c294404d87431e1c99cc3d9e
2013-11-09 18:08:20 -08:00
21838ed26d Translator sorts popular terms before others
Former-commit-id: e278bfac44058a8b9941c57381e0cab1af2ae578
2013-11-09 17:59:23 -08:00
89f407e9fa Renaming definitions to glossary
Former-commit-id: fc5361ee49f6f74a2032f56d1d13728eecb7b8c8
2013-11-09 17:50:24 -08:00
c43d1da885 Renaming columns in database, making sure P tag gets parsed
Former-commit-id: 0794e83218672f47fc467e2d7f24bede994c94d7
2013-11-09 17:37:53 -08:00
4329d6c047 Switching dictionary to return values in python dictionaries instead of tuples
Former-commit-id: 3f0682e88a24faed24f9e12e7c9cee338e817672
2013-11-09 15:42:02 -08:00
3b9ee50186 Minor cleanup
Former-commit-id: 362db527e5ff86009614f3be0d2489f2b57f0c29
2013-11-09 13:26:21 -08:00
5cad0acc04 Moving new Japanese module in place of the old one
Former-commit-id: 14e799397db5b720de18cb921f3cc3eb3db23c71
2013-11-09 13:21:26 -08:00
48464b402e Deleting old Japanese module
Former-commit-id: 2bfac24332c267a2989be5b524fcdbc10d6590b3
2013-11-09 13:20:30 -08:00
18bae9b3d2 Adding code to make Yomichan work with the new dictionary and deinflector
Former-commit-id: dc63a286c7de76d0cbb723a30df5bdf881d6bb34
2013-11-09 13:17:29 -08:00
e15dea9921 Adding translation engine
Former-commit-id: 712e8584fe681e3ef397d4caa4094a6ce3eb2b1e
2013-11-09 13:04:36 -08:00
33cd58c0c6 More deinflector cleanup
Former-commit-id: 19c54590928ce4c37fd2f66b45a023decfe2e71c
2013-11-09 12:23:26 -08:00
c854826ed4 Fixing deinflection bugs
Former-commit-id: 6b5776ae9ea8243380a845289b61999641e6af00
2013-11-09 12:11:46 -08:00
d9e3e3619e Renaming deinflection parameter term to source
Former-commit-id: 617fa8aee4ee48112f53bf0fafeff7494f5bac41
2013-11-09 11:45:02 -08:00
9ce77c40b5 Fixes to deinflector
Former-commit-id: 6b7e2b5e0b4e181abe663c239302b0f9d031b5f8
2013-11-09 10:45:25 -08:00
e7aeb2f9df Deinflector now properly working
Former-commit-id: c77faa975904ad9a6560aa8070f6f05f14c45d23
2013-11-09 10:17:53 -08:00
44f12fcf5c Switching deinflect.json to regex format
Former-commit-id: 113cb487bd1208f6cac302910f38c0f012e34c1e
2013-11-09 07:48:34 -08:00
9bc04c8fcb Adding parent deinflection type
Former-commit-id: f737c0b56a7403bf5693ab98ad7df7ba69f2ed48
2013-11-08 15:49:16 -08:00
5cbe1a260e Splitting tags before returning them from dictionary
Former-commit-id: fb659e1a6ac96f416d8964e4ef52ee00c772bb10
2013-11-08 14:36:21 -08:00
2e94404b0c Improved index generation for dictionary
Former-commit-id: ad93c9a556ac1aea89499a03f5a14a210057585e
2013-11-08 14:29:54 -08:00
988916820a Adding visual character search to dictionary
Former-commit-id: 6d98f5b79a3702391046aa069a656b6d9fdce374
2013-11-08 13:46:30 -08:00
1a9dcc69ff Changing the way radicals are stored in the database
Former-commit-id: 11daa98be108a3fbb1e1b6c91aeb824d3380318b
2013-11-08 13:12:00 -08:00
80c37a0c85 Allow wildcard searches for terms
Former-commit-id: 36a1031eaa5517afe836b966568b888a49803db9
2013-11-08 13:02:55 -08:00
0c4fff7d3e Updating the way tags are stored in dictionary
Former-commit-id: 1a8ecefe92e3571eb514d903bb8df414104f7cdb
2013-11-08 12:47:44 -08:00
af417923d8 Dictionary can now search for terms and characters
Former-commit-id: 5ec68e00caab86e9a2f84aa5baf86e467b6c34a6
2013-11-08 12:46:15 -08:00
e130e48f28 Adding stub for new deinflector and translator
Former-commit-id: 9fa5a50ea34281b02423ec4e31bda123f152a96c
2013-11-08 11:33:07 -08:00
2b37db4f9e Renaming anki_host to anki_bridge 2013-11-08 11:27:15 -08:00
6df3592aed Removing unnecessary namespace scoping 2013-11-02 19:09:12 -07:00