Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sdgui: create and install a program icon | Přemysl Eric Janouch | 2021-10-27 | 1 | -0/+5 |
| | |||||
* | sdgui: let the view act as a drop target for files | Přemysl Eric Janouch | 2021-10-25 | 1 | -5/+46 |
| | | | | | | | Inspired by how the only reasonable method of launching sdgui on Windows is by using drag and drop on the executable. Sadly the top-level window cannot be used as a whole for this. | ||||
* | sdgui: fix popup menu alignment | Přemysl Eric Janouch | 2021-10-23 | 1 | -3/+4 |
| | | | | | On Windows 10 GTK+ completely failed to turn it around so that it would be visible. | ||||
* | sdgui: add a file open dialog to the menu | Přemysl Eric Janouch | 2021-10-23 | 2 | -16/+90 |
| | | | | And remove the selection following checkbox from Windows builds. | ||||
* | sdgui: make C-Page Up/Down wrap around | Přemysl Eric Janouch | 2021-10-23 | 1 | -4/+6 |
| | | | | To mimic sdtui behaviour. | ||||
* | sdgui: cross-compile for Windows | Přemysl Eric Janouch | 2021-10-22 | 2 | -1/+9 |
| | | | | | | No one bothered to ask whether it /should/ be done. The hamburger needs to be replaced with a file open dialog there. | ||||
* | sdgui: bind Up/Down to view scrolling | Přemysl Eric Janouch | 2021-10-20 | 1 | -0/+4 |
| | |||||
* | sdgui: improve styling of the text entry | Přemysl Eric Janouch | 2021-10-20 | 1 | -9/+5 |
| | |||||
* | sdgui: trim selection text | Přemysl Eric Janouch | 2021-10-20 | 1 | -1/+3 |
| | | | | Just like sdtui does. | ||||
* | sdgui: avoid Pango markup for keywords | Přemysl Eric Janouch | 2021-10-20 | 1 | -23/+22 |
| | | | | Sadly, there is no way to make this an improvement for the end user. | ||||
* | sdgui: make an attempt at smooth scrolling | Přemysl Eric Janouch | 2021-10-20 | 1 | -5/+7 |
| | |||||
* | sdgui: decrease source code line count | Přemysl Eric Janouch | 2021-10-20 | 1 | -16/+4 |
| | |||||
* | sdgui: make Page Up/Down scroll the view | Přemysl Eric Janouch | 2021-10-20 | 3 | -2/+37 |
| | |||||
* | sdgui: ignore Caps Lock for accelerators | Přemysl Eric Janouch | 2021-10-20 | 1 | -3/+6 |
| | |||||
* | sdgui: accelerate the hamburger | Přemysl Eric Janouch | 2021-10-20 | 1 | -6/+35 |
| | | | | The hamburger initially resisted being accelerated. | ||||
* | sdgui: make even rows a bit darker by default | Přemysl Eric Janouch | 2021-10-17 | 1 | -2/+2 |
| | |||||
* | sdgui: bind ^W as in Readline | Přemysl Eric Janouch | 2021-10-17 | 1 | -3/+6 |
| | |||||
* | sdgui: stop hardcoding cell side padding | Přemysl Eric Janouch | 2021-10-17 | 2 | -20/+41 |
| | |||||
* | sdgui: stop hardcoding colours | Přemysl Eric Janouch | 2021-10-17 | 2 | -15/+46 |
| | | | | | Reusing colours from sdtui configuration would be awkward and complicated, e.g. with font attributes, so abandon that idea. | ||||
* | sdgui: load dictionaries in parallel, as sdtui did | Přemysl Eric Janouch | 2021-10-16 | 4 | -172/+175 |
| | | | | Also, resolve some use-after-frees in GTK+. | ||||
* | sdgui: load dictionaries from sdtui configuration | Přemysl Eric Janouch | 2021-10-16 | 4 | -126/+190 |
| | |||||
* | sdgui: clean-up | Přemysl Eric Janouch | 2021-10-16 | 1 | -4/+2 |
| | | | | It doesn't seem like we'll want to remember the position. | ||||
* | sdgui: clean up scrolling code | Přemysl Eric Janouch | 2021-10-15 | 1 | -61/+52 |
| | |||||
* | sdgui: scroll by three rows | Přemysl Eric Janouch | 2021-10-15 | 1 | -14/+18 |
| | | | | Don't use an arbitrary amount of pixels, base it off the font. | ||||
* | sdgtk -> sdgui, improve build, mention in README | Přemysl Eric Janouch | 2021-10-15 | 4 | -31/+27 |
| | | | | It's finally not horrible. | ||||
* | sdgtk: add and use a custom listview widget | Přemysl Eric Janouch | 2021-10-15 | 5 | -129/+582 |
| | | | | | | | | | | | | | | | | Nothing in GTK+ appears to be suited for what are virtually infinite lists. Our workaround with GtkLabel and GtkScrolledWindow has been heavily suboptimal and needs to be replaced. Use Pango directly to handle our relatively simple needs. Upgrades: - the widget can be scrolled, - keywords are repeated for each definition line, - definition lines are now wrapped, and support 'g' and 'x' fields. Downgrades: - text can no longer be selected, so far. | ||||
* | Fix g_option_context_get_help() usage | Přemysl Eric Janouch | 2021-10-12 | 3 | -3/+3 |
| | |||||
* | query-tool: support more field types | Přemysl Eric Janouch | 2021-10-12 | 5 | -59/+207 |
| | | | | | | | Add options to format the output for the terminal, or IRC messages. Changed the output format to separate dictionary name with a tab, so it's now rather similar to tabfiles. | ||||
* | sdtui: fix introductory message centring | Přemysl Eric Janouch | 2021-10-11 | 1 | -8/+5 |
| | |||||
* | 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 |
| | |||||
* | tabfile: fix file format version downgrade | Přemysl Eric Janouch | 2021-10-10 | 1 | -2/+1 |
| | |||||
* | tabfile: add support for writing Pango markup | Přemysl Eric Janouch | 2021-10-10 | 1 | -4/+15 |
| | | | | Enabling this option will ensure the field would parse. | ||||
* | tabfile: make it possible to set metadata | Přemysl Eric Janouch | 2021-10-07 | 5 | -55/+80 |
| | | | | And some related clean-up. | ||||
* | tabfile: remember to check UTF-8, glibize | Přemysl Eric Janouch | 2021-10-06 | 1 | -9/+11 |
| | |||||
* | Add an implementation of tabfile | Přemysl Eric Janouch | 2021-10-06 | 2 | -1/+164 |
| | | | | The original one is a horrible thing. Now we're self-reliant. | ||||
* | Unbreak stardict_dict_get_synonyms() | Přemysl Eric Janouch | 2021-10-06 | 1 | -11/+18 |
| | | | | Untested, but certainly broken six ways to Sunday before. | ||||
* | GLib-related improvements | Přemysl Eric Janouch | 2021-10-06 | 3 | -8/+8 |
| | | | | | Now all error messages produced by tools should be in the right encoding, even if the system isn't in UTF-8. | ||||
* | 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 |
| | |||||
* | sdgtk: don't follow our own selection | Přemysl Eric Janouch | 2020-09-14 | 1 | -0/+1 |
| | | | | When the main window is focused, we are probably the owner of it. | ||||
* | Add an experimental GTK+ UI | Přemysl Eric Janouch | 2020-09-08 | 1 | -0/+418 |
| | | | | | | | It has a potential to stay simpler than the TUI, while having a wider feature set. Not building this toy by default, it needs some time investment. | ||||
* | Fix a segfault when search goes past the end | Přemysl Eric Janouch | 2020-09-08 | 1 | -9/+13 |
| | | | | Removing a preprocessor macro in favor of a normal function. | ||||
* | Update copyright years within the program | Přemysl Eric Janouch | 2020-09-07 | 1 | -1/+1 |
| |