aboutsummaryrefslogtreecommitdiff
path: root/src/stardict.c
Commit message (Collapse)AuthorAgeFilesLines
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-241-3/+2
| | | | | | | | | I've come to the conclusion that copyright mostly just stands in the way of software development. In my jurisdiction I cannot give up my own copyright and 0BSD seems to be the closest thing to public domain. The updated mail address, also used in my author/committer lines, is shorter and looks nicer. People rarely interact anyway.
* Fix and update LICENSEPřemysl Janouch2017-02-031-1/+0
|
* Make prefix matching behave betterPřemysl Janouch2016-10-231-22/+27
| | | | | | It seems to me that we _do_ want to ignore diacritics most of the time. I've also fixed the fallback.
* Simplify the collation messPřemysl Janouch2016-10-081-54/+41
| | | | | Brings a bit worse performance on load since more memory is being reordered but it seems to be worth it.
* Improve memory usagePřemysl Janouch2016-10-071-22/+13
| | | | | | By avoiding unnecessary fragmentation in indexes. With a larger set of dictionaries, I've observed a ~20% improvement.
* Update more copyright yearsPřemysl Janouch2016-09-281-1/+1
|
* Fix performance regressionPřemysl Janouch2016-09-281-2/+4
| | | | | | Avoid stepping through the entire dictionary When looking for the first match with an empty common prefix.
* Validate encoding in .ifo filesPřemysl Janouch2016-09-281-0/+7
|
* Improve partial matchesPřemysl Janouch2016-09-271-1/+30
|
* Fix common prefix search with no collatorPřemysl Janouch2016-09-271-1/+7
|
* Highlight the longest matching prefix of entriesPřemysl Janouch2016-09-261-0/+68
|
* FormattingPřemysl Janouch2015-02-261-62/+53
|
* Fix build with ICU versions < 50Přemysl Janouch2015-02-241-0/+28
| | | | | | | | | | | | | I'll try to describe my feelings with this excerpt from David Firth's video "Take This Pill": PAIN. *oooowww...* Hurts, doesn't it? *...wwwwwww*
* Fix reporting of unknown .ifo keysPřemysl Janouch2015-02-241-2/+1
|
* Add a custom collation mechanismPřemysl Janouch2015-02-241-14/+155
| | | | A lot better than that StarDict shitfuckery.
* Add a workaround for GLib < 2.33.1Přemysl Janouch2013-10-021-0/+7
| | | | | I wanted to have it working in Wheezy and this was standing in the way, so I went for the quick fix that I'd made available to myself.
* Clarify some behaviour in commentsPřemysl Janouch2013-10-021-3/+5
|
* Fix the dictionary loading error pathPřemysl Janouch2013-07-181-2/+4
|
* Actually use DictzipInputStream in sdtuiPřemysl Janouch2013-07-181-10/+93
|
* Move private data into StardictDictPrivatePřemysl Janouch2013-07-181-42/+66
|
* Add a class to handle dictzip filesPřemysl Janouch2013-07-181-55/+1
| | | | | | | | | | | | | | Provides pseudo-random access to dictionary files compressed using dictzip. It doesn't implement a cache, it just loads missing chunks until it has the whole file. I'm not sure if discarding not recently used chunks is really a useful feature. If there _was_ a way to get noticed when system memory is low, I think the best way to handle that event would be to simply release it all. All in all, this is pretty useless. But it was interesting to write. This has yet to be integrated into the application proper.
* InternationalisationPřemysl Janouch2013-05-191-14/+16
|
* Don't do case-sensitive searchesPřemysl Janouch2013-05-191-5/+9
|
* Move dictionary generation to its own modulePřemysl Janouch2013-05-101-30/+27
|
* Create a private headerPřemysl Janouch2013-05-081-54/+15
|
* Move sources into their own directoryPřemysl Janouch2013-05-081-0/+1070