aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump to GLib 2.38 because of deprecation warningsPřemysl Janouch2020-04-152-8/+5
|
* Fix an unimportant memory leakPřemysl Janouch2018-09-231-6/+15
|
* Implement the INCR ICCCM selection mechanismPřemysl Janouch2018-09-231-53/+126
| | | | | | | | | | xcb_get_property is now also called with a length that is a multiple of four so that we advance the offset properly. Some cleanup. Selection code should work pretty well by now. The amount of code supporting it has more than doubled since GTK+.
* Re-shuffle code, no functional changesPřemysl Janouch2018-09-231-51/+43
|
* Use XCB and SelectSelectionInput instead of GTK+Přemysl Janouch2018-09-231-101/+239
| | | | | | | | | | | As it happens, there is no real need to constantly poll for changes, since XFixes can inform us of updates as they happen. With GTK+ gone we've got dependencies and error handling under control. XCB is a truly awful thing to learn, though. Our method will never work on Wayland or Windows, so we don't miss out on anything by abandoning the huge toolkit.
* Strip whitespace from clipboard contentsPřemysl Janouch2018-06-301-5/+13
|
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-2413-39/+26
| | | | | | | | | 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.
* Skip combining marks in the editorPřemysl Janouch2017-06-271-2/+6
| | | | For slightly more correct Unicode handling.
* Fix and update LICENSEPřemysl Janouch2017-02-0313-13/+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.
* Fix some character width countingPřemysl Janouch2016-10-221-26/+33
|
* Fix mouse clicks on full width charactersPřemysl Janouch2016-10-221-4/+13
|
* Try to make the view fullPřemysl Janouch2016-10-221-15/+26
|
* Disallow scrolling down too muchPřemysl Janouch2016-10-181-45/+37
| | | | | | The ability to scroll past the end was rather unusual. You can still achieve that by searching and resizing the window now.
* Tiny enhancements and cleanupsPřemysl Janouch2016-10-181-8/+9
|
* MicrooptimizationPřemysl Janouch2016-10-181-5/+6
| | | | It hurts me to see wasted mallocs.
* Fix regression in GLib message handlerPřemysl Janouch2016-10-121-2/+2
|
* Don't increment the result from GUINT_TO_POINTERPřemysl Janouch2016-10-081-1/+1
| | | | Increment the argument instead.
* Parallelize dictionary loadingPřemysl Janouch2016-10-081-5/+64
| | | | | | It gives me about 2.5 times speed-up on a 4-core CPU. It could be even better and I mainly blame GLib.
* Simplify the collation messPřemysl Janouch2016-10-082-54/+42
| | | | | Brings a bit worse performance on load since more memory is being reordered but it seems to be worth it.
* Simplify, optimize terminal outputPřemysl Janouch2016-10-071-67/+54
| | | | | | Finally getting rid off app_add_utf8_string(). Just like in nncmpp, the dependency on ncurses is now a bit narrower.
* 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.
* Fix regression in locale supportPřemysl Janouch2016-10-071-1/+1
|
* Update more copyright yearsPřemysl Janouch2016-09-282-2/+2
|
* Update documentationPřemysl Janouch2016-09-281-1/+1
|
* Move the -w switch to the configuration filePřemysl Janouch2016-09-281-62/+28
| | | | | | Update README accordingly. Woo, I get to remove code.
* Handle mouse clicks on dictionary namesPřemysl Janouch2016-09-281-10/+25
|
* Fix mouse in the search barPřemysl Janouch2016-09-281-1/+2
|
* Show all dictionaries in the headerPřemysl Janouch2016-09-281-8/+22
| | | | Make the style of the active dictionary's name configurable.
* Allow loading multiple dictionariesPřemysl Janouch2016-09-281-23/+207
| | | | | | They can also be specified in the configuration. They can be switched between using Alt+<number>.
* 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.
* Extract get_xdg_config_dirs()Přemysl Janouch2016-09-281-8/+18
|
* Use GLib booleansPřemysl Janouch2016-09-281-2/+2
|
* Validate encoding in .ifo filesPřemysl Janouch2016-09-281-0/+7
|
* Make app_load_config() return any errorPřemysl Janouch2016-09-281-11/+15
|
* Improve partial matchesPřemysl Janouch2016-09-271-1/+30
|
* Fix common prefix search with no collatorPřemysl Janouch2016-09-271-1/+7
|
* Fix Travis buildPřemysl Janouch2016-09-261-0/+2
|
* Make it possible to disable prefix highlightingPřemysl Janouch2016-09-261-23/+30
|
* Add a configuration filePřemysl Janouch2016-09-261-14/+183
| | | | | | | Now you can have pretty colors w/o having to hardcode them. The selection is rather limited for now, though. Search "centering" can now be disabled by default as well.
* Fix bottom right cornerPřemysl Janouch2016-09-261-2/+1
|
* Highlight the longest matching prefix of entriesPřemysl Janouch2016-09-263-3/+97
|
* Refactor app_add_utf8_string()Přemysl Janouch2016-09-261-52/+133
|
* Update copyright yearsPřemysl Janouch2016-09-251-2/+2
|
* Fix transcoding on OpenBSDPřemysl Janouch2016-01-141-1/+5
|
* Center the view on searchPřemysl Janouch2015-07-251-18/+34
| | | | | | | A lot of the time a better match is actually before the point where we expect the entry to be. Can be turned off with Alt-C.
* Formatting: leftoversPřemysl Janouch2015-02-281-3/+3
|
* RefactoringPřemysl Janouch2015-02-271-21/+23
|
* Don't let GLib/GTK+ draw messages over cursesPřemysl Janouch2015-02-271-1/+61
|
* Handle SIGINT/SIGTERM properlyPřemysl Janouch2015-02-271-10/+24
|