aboutsummaryrefslogtreecommitdiff
path: root/src/sdtui.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years within the programPřemysl Eric Janouch2020-09-071-1/+1
|
* Enable switching among more than 10 dictionariesPřemysl Eric Janouch2020-09-021-1/+32
| | | | Ctrl + PageUp/PageDown/Left/Right now change the active tab.
* Name changePřemysl Eric Janouch2020-09-021-2/+2
|
* 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-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.
* 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-031-1/+0
|
* 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, 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.
* Fix regression in locale supportPřemysl Janouch2016-10-071-1/+1
|
* 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>.
* Extract get_xdg_config_dirs()Přemysl Janouch2016-09-281-8/+18
|
* Use GLib booleansPřemysl Janouch2016-09-281-2/+2
|
* Make app_load_config() return any errorPřemysl Janouch2016-09-281-11/+15
|
* 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-261-3/+26
|
* 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.
* 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
|
* FormattingPřemysl Janouch2015-02-261-71/+70
|
* Handle search field overflow a bit betterPřemysl Janouch2015-02-241-4/+4
| | | | Make sure the cursor doesn't overflow where it doesn't belong.
* Add a near-useless bar on top with booknamePřemysl Janouch2015-02-241-22/+32
|
* Silence a warningPřemysl Janouch2015-02-141-1/+1
| | | | We don't care if we read a byte from the pipe.
* Make more use of xstrtoul()Přemysl Janouch2015-02-071-4/+2
|
* Update information texts and copyrightsPřemysl Janouch2015-02-071-2/+2
|
* Cancel selection confirmation when following the selectionPřemysl Janouch2015-02-071-1/+2
|