aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* README: make sdgui more of a first-class citizenPřemysl Eric Janouch2021-10-172-3/+4
|
* sdgui: stop hardcoding cell side paddingPřemysl Eric Janouch2021-10-172-20/+41
|
* sdgui: stop hardcoding coloursPřemysl Eric Janouch2021-10-172-15/+46
| | | | | Reusing colours from sdtui configuration would be awkward and complicated, e.g. with font attributes, so abandon that idea.
* sdgui: add a MIME-associated desktop filePřemysl Eric Janouch2021-10-163-0/+22
| | | | Neither StarDict nor shared-mime-info have their own MIME DB file.
* sdgui: load dictionaries in parallel, as sdtui didPřemysl Eric Janouch2021-10-164-172/+175
| | | | Also, resolve some use-after-frees in GTK+.
* sdgui: load dictionaries from sdtui configurationPřemysl Eric Janouch2021-10-164-126/+190
|
* sdgui: clean-upPřemysl Eric Janouch2021-10-161-4/+2
| | | | It doesn't seem like we'll want to remember the position.
* sdgui: clean up scrolling codePřemysl Eric Janouch2021-10-151-61/+52
|
* sdgui: scroll by three rowsPřemysl Eric Janouch2021-10-151-14/+18
| | | | Don't use an arbitrary amount of pixels, base it off the font.
* sdgtk -> sdgui, improve build, mention in READMEPřemysl Eric Janouch2021-10-156-40/+47
| | | | It's finally not horrible.
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-156-130/+585
| | | | | | | | | | | | | | | | 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.
* Add the GNU/FDL German-Czech dictionary to dictsPřemysl Eric Janouch2021-10-131-0/+34
| | | | But only build it with WANT_BAD_DICTS set to non-null.
* Fix g_option_context_get_help() usagePřemysl Eric Janouch2021-10-123-3/+3
|
* query-tool: support more field typesPřemysl Eric Janouch2021-10-125-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.
* Update translationsPřemysl Eric Janouch2021-10-121-30/+52
|
* make-template.sh: fix, improve, update, runPřemysl Eric Janouch2021-10-112-73/+67
|
* sdtui: fix introductory message centringPřemysl Eric Janouch2021-10-111-8/+5
|
* sdtui: minor rendering clean-upPřemysl Eric Janouch2021-10-111-53/+60
|
* sdtui: further improve the XML manglerPřemysl Eric Janouch2021-10-111-1/+3
| | | | Comments should be more or less reliably handled by GMarkup now.
* Update READMEPřemysl Eric Janouch2021-10-111-12/+15
| | | | We're not that all that far away from a stable version.
* sdtui: skip keywords in XDXFPřemysl Eric Janouch2021-10-111-1/+2
|
* sdtui: implement elementary XDXF displayPřemysl Eric Janouch2021-10-111-0/+23
| | | | We're lacking word wrapping, but it's more or less usable.
* Replace the screenshotPřemysl Eric Janouch2021-10-101-0/+0
| | | | To make it apparent what this program is good for.
* gnu-fdl-en-cz.sh: employ Pango formattingPřemysl Eric Janouch2021-10-101-10/+18
| | | | Also add collation fields.
* sdtui: support <b>/<i>/<u> in Pango entriesPřemysl Eric Janouch2021-10-101-14/+64
|
* sdtui: lay the groundwork for formatted entriesPřemysl Eric Janouch2021-10-101-16/+54
|
* sdtui: keep the per-ViewEntry GPtrArraysPřemysl Eric Janouch2021-10-101-35/+35
|
* tabfile: fix file format version downgradePřemysl Eric Janouch2021-10-101-2/+1
|
* tabfile: add support for writing Pango markupPřemysl Eric Janouch2021-10-101-4/+15
| | | | Enabling this option will ensure the field would parse.
* Add the Czech WordNet snapshot to dictsPřemysl Eric Janouch2021-10-102-1/+83
|
* Improve documentationPřemysl Eric Janouch2021-10-072-74/+89
|
* Abandon the idea of sts for slovnik-cizich-slovPřemysl Eric Janouch2021-10-071-2/+1
| | | | | We'd need something like inlining the type sequence within the data, which doesn't seem particularly elegant.
* tabfile: make it possible to set metadataPřemysl Eric Janouch2021-10-076-56/+85
| | | | And some related clean-up.
* Add sample dictionary downloaders/buildersPřemysl Eric Janouch2021-10-074-3/+47
|
* tabfile: remember to check UTF-8, glibizePřemysl Eric Janouch2021-10-061-9/+11
|
* Add an implementation of tabfilePřemysl Eric Janouch2021-10-063-2/+165
| | | | The original one is a horrible thing. Now we're self-reliant.
* Unbreak stardict_dict_get_synonyms()Přemysl Eric Janouch2021-10-061-11/+18
| | | | Untested, but certainly broken six ways to Sunday before.
* GLib-related improvementsPřemysl Eric Janouch2021-10-065-11/+11
| | | | | 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 searchPřemysl Eric Janouch2021-10-061-61/+88
| | | | Moving some X11-only code out.
* Update READMEPřemysl Eric Janouch2021-07-241-3/+4
| | | | It turns out sdtui works in Sway out of the box (essentially).
* Update README, add a screenshotPřemysl Eric Janouch2021-07-232-9/+12
| | | | | | I've given up on the idea of a "proper" TUI framework. I've also learnt that Wayland isn't a completely dead end.
* Update .gitignorePřemysl Eric Janouch2021-07-071-0/+2
|
* sdtui: enable styling of defocused selected rowsPřemysl Eric Janouch2021-07-032-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 inputPřemysl Eric Janouch2021-07-032-6/+19
|
* Bump termoPřemysl Eric Janouch2020-10-291-0/+0
|
* CMakeLists.txt: omit end{if,foreach} expressionsPřemysl Eric Janouch2020-10-291-17/+17
| | | | Their usefulness was almost negative.
* CleanupPřemysl Eric Janouch2020-10-261-1/+0
|
* Convert the manpage to AsciiDocPřemysl Eric Janouch2020-10-264-83/+59
| | | | | | | | Writing DocBook XML by hand is an awful experience and the tools aren't much better. Asciidoctor does it well. There's no need to worry about semantics, man(1) just needs to be able to show something at all. This project's manpage is sadly almost useless right now.
* Bump termoPřemysl Eric Janouch2020-10-261-0/+0
|
* Bump minimum CMake version to 3.0Přemysl Eric Janouch2020-10-263-44/+17
| | | | A nice, round number. This allows us to remove some boilerplate.