aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* sdgui: make Ctrl+click put hovered word in searchPřemysl Eric Janouch2022-09-032-124/+328
|
* sdgui: don't reload on size-allocatePřemysl Eric Janouch2022-09-031-2/+29
| | | | We could annoyingly get these events on window de/focus.
* sdgui: fix context menu item sensitivityPřemysl Eric Janouch2022-09-031-1/+1
|
* Build with AsciiDoc as well as AsciidoctorPřemysl Eric Janouch2022-08-241-1/+1
| | | | And bump copyright years.
* sdgui: support text selection in the viewPřemysl Eric Janouch2022-08-042-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 viewPřemysl Eric Janouch2022-07-241-0/+42
|
* sdgui: fix up the smooth scrolling commitPřemysl Eric Janouch2022-07-241-1/+2
|
* tabfile: fix mismatching popen/fclosePřemysl Eric Janouch2022-07-241-1/+1
|
* sdgui: use smooth scrollingPřemysl Eric Janouch2022-07-241-5/+9
|
* Add a missing gtk_drag_finish() callPřemysl Eric Janouch2022-02-171-4/+4
|
* sdgui: avoid focusing tab headers by mousePřemysl Eric Janouch2022-02-111-0/+21
| | | | Our tabs have dummy contents, which causes some complications.
* sdtui: handle input field overflows reasonablyPřemysl Eric Janouch2021-11-041-28/+122
|
* Fix various macOS-related/found issuesPřemysl Eric Janouch2021-11-022-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 dictionaryPřemysl Eric Janouch2021-10-301-4/+11
|
* sdtui: make M-Tab go to the last chosen dictionaryPřemysl Eric Janouch2021-10-301-3/+22
|
* Add clang-format configuration, clean upPřemysl Eric Janouch2021-10-302-2/+1
|
* sdgui: fix M-0 going one item beyond our intentPřemysl Eric Janouch2021-10-281-1/+1
|
* sdgui: set the window title explicitlyPřemysl Eric Janouch2021-10-271-0/+1
|
* sdgui: create and install a program iconPřemysl Eric Janouch2021-10-271-0/+5
|
* sdgui: let the view act as a drop target for filesPřemysl Eric Janouch2021-10-251-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 alignmentPřemysl Eric Janouch2021-10-231-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 menuPřemysl Eric Janouch2021-10-232-16/+90
| | | | And remove the selection following checkbox from Windows builds.
* sdgui: make C-Page Up/Down wrap aroundPřemysl Eric Janouch2021-10-231-4/+6
| | | | To mimic sdtui behaviour.
* sdgui: cross-compile for WindowsPřemysl Eric Janouch2021-10-222-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 scrollingPřemysl Eric Janouch2021-10-201-0/+4
|
* sdgui: improve styling of the text entryPřemysl Eric Janouch2021-10-201-9/+5
|
* sdgui: trim selection textPřemysl Eric Janouch2021-10-201-1/+3
| | | | Just like sdtui does.
* sdgui: avoid Pango markup for keywordsPřemysl Eric Janouch2021-10-201-23/+22
| | | | Sadly, there is no way to make this an improvement for the end user.
* sdgui: make an attempt at smooth scrollingPřemysl Eric Janouch2021-10-201-5/+7
|
* sdgui: decrease source code line countPřemysl Eric Janouch2021-10-201-16/+4
|
* sdgui: make Page Up/Down scroll the viewPřemysl Eric Janouch2021-10-203-2/+37
|
* sdgui: ignore Caps Lock for acceleratorsPřemysl Eric Janouch2021-10-201-3/+6
|
* sdgui: accelerate the hamburgerPřemysl Eric Janouch2021-10-201-6/+35
| | | | The hamburger initially resisted being accelerated.
* sdgui: make even rows a bit darker by defaultPřemysl Eric Janouch2021-10-171-2/+2
|
* sdgui: bind ^W as in ReadlinePřemysl Eric Janouch2021-10-171-3/+6
|
* 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: 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-154-31/+27
| | | | It's finally not horrible.
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-155-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() 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.
* 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.
* sdtui: skip keywords in XDXFPřemysl Eric Janouch2021-10-111-1/+2
|