Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sdgui: don't highlight when cursor not on widget | Přemysl Eric Janouch | 2022-09-12 | 1 | -1/+7 |
| | |||||
* | sdgui: load dictionaries asynchronously | Přemysl Eric Janouch | 2022-09-04 | 2 | -29/+75 |
| | | | | | This is a must when loading huge dictionaries, where not even parallelization helps much. | ||||
* | sdgui: clean up DnD | Přemysl Eric Janouch | 2022-09-04 | 1 | -12/+15 |
| | |||||
* | sdgui: make Ctrl+click put hovered word in search | Přemysl Eric Janouch | 2022-09-03 | 2 | -124/+328 |
| | |||||
* | sdgui: don't reload on size-allocate | Přemysl Eric Janouch | 2022-09-03 | 1 | -2/+29 |
| | | | | We could annoyingly get these events on window de/focus. | ||||
* | sdgui: fix context menu item sensitivity | Přemysl Eric Janouch | 2022-09-03 | 1 | -1/+1 |
| | |||||
* | Build with AsciiDoc as well as Asciidoctor | Přemysl Eric Janouch | 2022-08-24 | 1 | -1/+1 |
| | | | | And bump copyright years. | ||||
* | sdgui: support text selection in the view | Přemysl Eric Janouch | 2022-08-04 | 2 | -33/+405 |
| | | | | | | | | | | | | This is generally an improvement over the initial GtkLabel approach: - Multiple definition lines can be selected at once. - The widget doesn't keep a selection caret around (which means it can't be controlled from the keyboard, a conscious trade-off). - Text doesn't needlessly go to PRIMARY immediately during selection, making it somewhat possible lift the self-exception for the PRIMARY selection watch. Closes #2 | ||||
* | sdgui: support touch screen dragging for the view | Přemysl Eric Janouch | 2022-07-24 | 1 | -0/+42 |
| | |||||
* | sdgui: fix up the smooth scrolling commit | Přemysl Eric Janouch | 2022-07-24 | 1 | -1/+2 |
| | |||||
* | tabfile: fix mismatching popen/fclose | Přemysl Eric Janouch | 2022-07-24 | 1 | -1/+1 |
| | |||||
* | sdgui: use smooth scrolling | Přemysl Eric Janouch | 2022-07-24 | 1 | -5/+9 |
| | |||||
* | Add a missing gtk_drag_finish() call | Přemysl Eric Janouch | 2022-02-17 | 1 | -4/+4 |
| | |||||
* | sdgui: avoid focusing tab headers by mouse | Přemysl Eric Janouch | 2022-02-11 | 1 | -0/+21 |
| | | | | Our tabs have dummy contents, which causes some complications. | ||||
* | sdtui: handle input field overflows reasonably | Přemysl Eric Janouch | 2021-11-04 | 1 | -28/+122 |
| | |||||
* | Fix various macOS-related/found issues | Přemysl Eric Janouch | 2021-11-02 | 2 | -9/+7 |
| | | | | | Even though this software isn't very useful on that system either, due to its lack of PRIMARY. | ||||
* | sdgui: make M-Tab go to the last chosen dictionary | Přemysl Eric Janouch | 2021-10-30 | 1 | -4/+11 |
| | |||||
* | sdtui: make M-Tab go to the last chosen dictionary | Přemysl Eric Janouch | 2021-10-30 | 1 | -3/+22 |
| | |||||
* | Add clang-format configuration, clean up | Přemysl Eric Janouch | 2021-10-30 | 2 | -2/+1 |
| | |||||
* | sdgui: fix M-0 going one item beyond our intent | Přemysl Eric Janouch | 2021-10-28 | 1 | -1/+1 |
| | |||||
* | sdgui: set the window title explicitly | Přemysl Eric Janouch | 2021-10-27 | 1 | -0/+1 |
| | |||||
* | 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 |
| |