shenleban tongying
b5349478cf
clean: reformat everything
...
The next commit will add `.git-blame-ignore-revs`
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
YiFang Xiao
9ca02a1e23
opt: stardict's findHeadwordsForSynonym method does not seem necessary
...
🎨 apply clang-format changes
🎨 apply clang-format changes
2023-07-08 00:25:30 +08:00
shenleban tongying
0079cd2933
clean: remove unnecessary header includes
...
* remove all <QtGUI> which includes *everything* of Qt
* remove unused headers
2023-05-30 20:59:51 +08:00
YiFang Xiao
15e0fa087f
opt: replace Mutex::Lock with QMutexLocker
2023-05-30 00:08:01 +08:00
YiFang Xiao
9c22e7bb21
clean: remove useless comment
2023-05-09 06:16:41 +08:00
xiaoyifang
325c3fb0bb
opt: replace qthreadpool with qfuture
...
relate #515
2023-04-29 18:08:39 +08:00
shenleban tongying
129345613e
refactor: Move all .cc/.hh files to src/
2023-04-17 17:17:36 -04:00
Konstantin Isakov
ab88fa4867
Drop the src/ directory. It's superfluous.
2010-05-15 16:42:18 +04:00
Konstantin Isakov
ceab951fe9
Update year in copyright notices.
2010-05-08 22:59:59 +04:00
Konstantin Isakov
28655b123b
+ Zip files are now indexed along with the articles. This means that their
...
listings aren't now loaded into memory, resulting in many megabytes of
memory savings (with larger zips) and faster startup, too.
Since libzip wasn't too much of use with the current way zips are used, it
is not used anymore and is to be removed.
The code has only received basic testing -- please test with your data.
2009-10-25 22:49:24 +00:00
Konstantin Isakov
15e7af9be5
+ Add a mechanism to defer dictionaries' initialization.
...
+ Support this mechanism for .dsl dictionaries.
2009-05-17 13:35:19 +00:00
ars_goldendict
67b34fd3e0
added changes in order to be able to get it compiled with MSVC (no project yet)
2009-04-29 23:18:26 +00:00
Konstantin Isakov
89fd4ffa31
* Use utf8-encoded strings instead of wide strings for word keys during
...
the indexing process -- this conserves memory while still preserving the
correct entry order.
2009-04-19 13:45:14 +00:00
Konstantin Isakov
babde3d53d
*! Introduce gd::wstring and gd:wchar and switch to them from std::wstring and
...
wchar_t. This changes nothing on Linux and most other systems, but on Win32
it causes to use normal UCS-4 strings instead of Win32's usual UTF-16.
2009-04-18 17:20:12 +00:00
Konstantin Isakov
f07030deba
- Drop convertChainToWstrings(), it's not used anymore.
2009-04-17 14:09:53 +00:00
Konstantin Isakov
629a138f7e
+ Dictionary::stemmedMatch() added, and is now used for word suggestions when
...
no translations were found.
2009-04-17 13:51:50 +00:00
Konstantin Isakov
32fe5dff9e
* A lot of changes aimed to make lookups faster and to reduce startup times.
2009-04-14 16:35:47 +00:00
Konstantin Isakov
41b312074c
+ Folding algoritms now incorporate punctuation and whitespace folding.
...
+ When headwords contain multiple words, each of them is indexed now.
+ Wordfinder now employs an intelligent, rank-based sorting algoritm.
2009-04-08 16:02:12 +00:00
Konstantin Isakov
fb00a5bedf
+! #include <stdint.h>, should fix build problems on some systems.
2009-04-04 21:31:14 +00:00
Konstantin Isakov
6f20c0ffa7
*! Fix bad indices generation on 64-bit systems.
2009-04-03 20:03:18 +00:00
Konstantin Isakov
7859daaff6
* Major dictionary interface rework. Dictionaries now return Request objects
...
which can provide results asyncronously, be discarded prematurely etc. This
work touches just about every piece of exiting code.
+ On top of the new interface, MediaWiki (Wikipedia) support was added.
* Some other small fixes might went along.
2009-03-26 19:00:08 +00:00
Konstantin Isakov
4bae99aeb5
Mass-update email to point to a @berlios one.
2009-02-05 14:21:47 +00:00
Konstantin Isakov
c05781368b
Created /trunk/src and moved everything there.
2009-01-28 20:55:45 +00:00