Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sdtui: minor rendering clean-up | Přemysl Eric Janouch | 2021-10-11 | 1 | -53/+60 |
| | |||||
* | sdtui: further improve the XML mangler | Přemysl Eric Janouch | 2021-10-11 | 1 | -1/+3 |
| | | | | Comments should be more or less reliably handled by GMarkup now. | ||||
* | sdtui: skip keywords in XDXF | Přemysl Eric Janouch | 2021-10-11 | 1 | -1/+2 |
| | |||||
* | sdtui: implement elementary XDXF display | Přemysl Eric Janouch | 2021-10-11 | 1 | -0/+23 |
| | | | | We're lacking word wrapping, but it's more or less usable. | ||||
* | sdtui: support <b>/<i>/<u> in Pango entries | Přemysl Eric Janouch | 2021-10-10 | 1 | -14/+64 |
| | |||||
* | sdtui: lay the groundwork for formatted entries | Přemysl Eric Janouch | 2021-10-10 | 1 | -16/+54 |
| | |||||
* | sdtui: keep the per-ViewEntry GPtrArrays | Přemysl Eric Janouch | 2021-10-10 | 1 | -35/+35 |
| | |||||
* | Make Tab put the current definition into search | Přemysl Eric Janouch | 2021-10-06 | 1 | -61/+88 |
| | | | | Moving some X11-only code out. | ||||
* | sdtui: enable styling of defocused selected rows | Přemysl Eric Janouch | 2021-07-03 | 1 | -8/+39 |
| | | | | | | | | | | | | The defaults are unaffected, the row is always reverse, like it used to. Having the deselected row just be underlined seems sensible. It isn't currently possible to change /just/ the foreground or the background colour of the selection, due to how ncurses works with colours. Bumped termo to enable requesting the appropriate events. | ||||
* | sdtui: normalize whitespace in clipboard input | Přemysl Eric Janouch | 2021-07-03 | 1 | -5/+18 |
| | |||||
* | Update copyright years within the program | Přemysl Eric Janouch | 2020-09-07 | 1 | -1/+1 |
| | |||||
* | Enable switching among more than 10 dictionaries | Přemysl Eric Janouch | 2020-09-02 | 1 | -1/+32 |
| | | | | Ctrl + PageUp/PageDown/Left/Right now change the active tab. | ||||
* | Name change | Přemysl Eric Janouch | 2020-09-02 | 1 | -2/+2 |
| | |||||
* | Fix an unimportant memory leak | Přemysl Janouch | 2018-09-23 | 1 | -6/+15 |
| | |||||
* | Implement the INCR ICCCM selection mechanism | Přemysl Janouch | 2018-09-23 | 1 | -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 changes | Přemysl Janouch | 2018-09-23 | 1 | -51/+43 |
| | |||||
* | Use XCB and SelectSelectionInput instead of GTK+ | Přemysl Janouch | 2018-09-23 | 1 | -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 contents | Přemysl Janouch | 2018-06-30 | 1 | -5/+13 |
| | |||||
* | Relicense to 0BSD, update mail address | Přemysl Janouch | 2018-06-24 | 1 | -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 editor | Přemysl Janouch | 2017-06-27 | 1 | -2/+6 |
| | | | | For slightly more correct Unicode handling. | ||||
* | Fix and update LICENSE | Přemysl Janouch | 2017-02-03 | 1 | -1/+0 |
| | |||||
* | Fix some character width counting | Přemysl Janouch | 2016-10-22 | 1 | -26/+33 |
| | |||||
* | Fix mouse clicks on full width characters | Přemysl Janouch | 2016-10-22 | 1 | -4/+13 |
| | |||||
* | Try to make the view full | Přemysl Janouch | 2016-10-22 | 1 | -15/+26 |
| | |||||
* | Disallow scrolling down too much | Přemysl Janouch | 2016-10-18 | 1 | -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 cleanups | Přemysl Janouch | 2016-10-18 | 1 | -8/+9 |
| | |||||
* | Microoptimization | Přemysl Janouch | 2016-10-18 | 1 | -5/+6 |
| | | | | It hurts me to see wasted mallocs. | ||||
* | Fix regression in GLib message handler | Přemysl Janouch | 2016-10-12 | 1 | -2/+2 |
| | |||||
* | Don't increment the result from GUINT_TO_POINTER | Přemysl Janouch | 2016-10-08 | 1 | -1/+1 |
| | | | | Increment the argument instead. | ||||
* | Parallelize dictionary loading | Přemysl Janouch | 2016-10-08 | 1 | -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 output | Přemysl Janouch | 2016-10-07 | 1 | -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 support | Přemysl Janouch | 2016-10-07 | 1 | -1/+1 |
| | |||||
* | Update documentation | Přemysl Janouch | 2016-09-28 | 1 | -1/+1 |
| | |||||
* | Move the -w switch to the configuration file | Přemysl Janouch | 2016-09-28 | 1 | -62/+28 |
| | | | | | | Update README accordingly. Woo, I get to remove code. | ||||
* | Handle mouse clicks on dictionary names | Přemysl Janouch | 2016-09-28 | 1 | -10/+25 |
| | |||||
* | Fix mouse in the search bar | Přemysl Janouch | 2016-09-28 | 1 | -1/+2 |
| | |||||
* | Show all dictionaries in the header | Přemysl Janouch | 2016-09-28 | 1 | -8/+22 |
| | | | | Make the style of the active dictionary's name configurable. | ||||
* | Allow loading multiple dictionaries | Přemysl Janouch | 2016-09-28 | 1 | -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 Janouch | 2016-09-28 | 1 | -8/+18 |
| | |||||
* | Use GLib booleans | Přemysl Janouch | 2016-09-28 | 1 | -2/+2 |
| | |||||
* | Make app_load_config() return any error | Přemysl Janouch | 2016-09-28 | 1 | -11/+15 |
| | |||||
* | Fix Travis build | Přemysl Janouch | 2016-09-26 | 1 | -0/+2 |
| | |||||
* | Make it possible to disable prefix highlighting | Přemysl Janouch | 2016-09-26 | 1 | -23/+30 |
| | |||||
* | Add a configuration file | Přemysl Janouch | 2016-09-26 | 1 | -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 corner | Přemysl Janouch | 2016-09-26 | 1 | -2/+1 |
| | |||||
* | Highlight the longest matching prefix of entries | Přemysl Janouch | 2016-09-26 | 1 | -3/+26 |
| | |||||
* | Refactor app_add_utf8_string() | Přemysl Janouch | 2016-09-26 | 1 | -52/+133 |
| | |||||
* | Update copyright years | Přemysl Janouch | 2016-09-25 | 1 | -2/+2 |
| | |||||
* | Fix transcoding on OpenBSD | Přemysl Janouch | 2016-01-14 | 1 | -1/+5 |
| | |||||
* | Center the view on search | Přemysl Janouch | 2015-07-25 | 1 | -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. |