aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CMakeLists.txt: update icon cache after cleanupPřemysl Eric Janouch2021-11-011-0/+9
| | | | | | docs/iconcache.txt says the format is machine-independent. It does not seem to result in any noticeable improvement.
* CMakeLists.txt: configure NSISPřemysl Eric Janouch2021-10-271-1/+19
| | | | | | | | | | - Install a link to sdgui to the Start Menu. - Associate the .ifo file extension with sdgui. - Change the installation directory name to contain a space, rather than a dash, since that appears to be the norm. It's also copied over to the display name. And thus, the GUI has become somewhat usable on Windows.
* CMakeLists.txt: think of older versionsPřemysl Eric Janouch2021-10-271-2/+6
| | | | At minimum it documents the novelty of the command argument.
* CMakeLists.txt: refactor icon generationPřemysl Eric Janouch2021-10-271-20/+28
|
* sdgui: rasterize some icons, including for WindowsPřemysl Eric Janouch2021-10-271-1/+45
|
* sdgui: create and install a program iconPřemysl Eric Janouch2021-10-271-0/+2
|
* Fix the test target and unargumented ctestPřemysl Eric Janouch2021-10-271-2/+4
| | | | CMake does know how to be tough on users, but we've won at last.
* Test the project's XMLs for well-formednessPřemysl Eric Janouch2021-10-261-0/+13
| | | | But only if the respective binaries can be found.
* Trim down the Windows build a bitPřemysl Eric Janouch2021-10-261-0/+3
| | | | | | | Remove most unused Adwaita icons and cursors, it's about 30 mebibytes of raw bullshit that doesn't seem to be missing in any shape or form. Rather sadly, the script is too complex to be rewritten in CMake script.
* Improve GLib deprecation disablingPřemysl Eric Janouch2021-10-241-1/+1
| | | | Added a match against the version stated in the README.
* Remove unnecessary DLLs from Windows buildsPřemysl Eric Janouch2021-10-231-2/+3
| | | | | | This saves 21 MiB of MSYS2 libraries, without any adverse effects. The MSYS2 build remains bloated, due to the Adwaita icon theme.
* sdgui: the firstclassing continuesPřemysl Eric Janouch2021-10-221-1/+1
|
* sdgui: cross-compile for WindowsPřemysl Eric Janouch2021-10-221-25/+80
| | | | | | No one bothered to ask whether it /should/ be done. The hamburger needs to be replaced with a file open dialog there.
* README: make sdgui more of a first-class citizenPřemysl Eric Janouch2021-10-171-1/+1
|
* sdgui: add a MIME-associated desktop filePřemysl Eric Janouch2021-10-161-0/+4
| | | | Neither StarDict nor shared-mime-info have their own MIME DB file.
* sdgtk -> sdgui, improve build, mention in READMEPřemysl Eric Janouch2021-10-151-9/+15
| | | | It's finally not horrible.
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-151-1/+3
| | | | | | | | | | | | | | | | 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 Czech WordNet snapshot to dictsPřemysl Eric Janouch2021-10-101-1/+1
|
* Add sample dictionary downloaders/buildersPřemysl Eric Janouch2021-10-071-1/+15
|
* Add an implementation of tabfilePřemysl Eric Janouch2021-10-061-1/+1
| | | | The original one is a horrible thing. Now we're self-reliant.
* GLib-related improvementsPřemysl Eric Janouch2021-10-061-1/+1
| | | | | Now all error messages produced by tools should be in the right encoding, even if the system isn't in UTF-8.
* CMakeLists.txt: omit end{if,foreach} expressionsPřemysl Eric Janouch2020-10-291-17/+17
| | | | Their usefulness was almost negative.
* Convert the manpage to AsciiDocPřemysl Eric Janouch2020-10-261-18/+13
| | | | | | | | 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 minimum CMake version to 3.0Přemysl Eric Janouch2020-10-261-40/+16
| | | | A nice, round number. This allows us to remove some boilerplate.
* Add an experimental GTK+ UIPřemysl Eric Janouch2020-09-081-0/+9
| | | | | | | 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.
* Get rid of one CMake dev warningPřemysl Eric Janouch2020-09-071-3/+3
|
* Add a tool to transform dictionariesPřemysl Eric Janouch2020-09-041-9/+8
|
* Name changePřemysl Eric Janouch2020-09-021-2/+2
|
* Disable GLib deprecation warningsPřemysl Janouch2020-04-151-0/+1
| | | | Not very useful.
* Use XCB and SelectSelectionInput instead of GTK+Přemysl Janouch2018-09-231-13/+12
| | | | | | | | | | | 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.
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-241-1/+1
| | | | | | | | | 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.
* CMakeLists.txt: fix variable namePřemysl Janouch2018-06-241-2/+2
|
* CMakeLists.txt: clarify commentsPřemysl Janouch2017-06-201-5/+6
|
* CMakeLists.txt: use more succint variablesPřemysl Janouch2016-03-151-17/+17
|
* Fix manpage installationPřemysl Janouch2016-03-151-1/+1
|
* Don't force compilation flagsPřemysl Janouch2016-03-141-1/+1
|
* Try harder to find ncurseswPřemysl Janouch2016-01-141-4/+9
|
* Use optional dependencies opportunisticalyPřemysl Janouch2015-10-011-7/+15
|
* Travis CI: Try to fix searching for ICU configPřemysl Janouch2015-02-241-5/+31
|
* Add a custom collation mechanismPřemysl Janouch2015-02-241-1/+2
| | | | A lot better than that StarDict shitfuckery.
* Add support for watching the primary selectionPřemysl Janouch2015-02-071-0/+10
| | | | Depends on GTK+, which should make it work with all of X11, Wayland, and Mir.
* resize_term -> resizetermPřemysl Janouch2015-01-201-1/+1
| | | | Apparently we do need to call the "outer-level" function.
* Get rid of wchar_t for goodPřemysl Janouch2014-11-191-2/+0
|
* Avoid flicker while resizingPřemysl Janouch2014-11-191-4/+7
|
* Rewrite to use termoPřemysl Janouch2014-11-191-4/+22
| | | | Also get rid of some silliness that I'm only able to see now.
* Add a querying tool for use in e.g. IRC botsPřemysl Janouch2013-10-021-1/+7
| | | | | | Now the tools don't get built on `make all' but instead have their own target called `tools'. It might be reasonable to move them into their own directory sometime, instead of cluttering `src'.
* Add a class to handle dictzip filesPřemysl Janouch2013-07-181-4/+10
| | | | | | | | | | | | | | Provides pseudo-random access to dictionary files compressed using dictzip. It doesn't implement a cache, it just loads missing chunks until it has the whole file. I'm not sure if discarding not recently used chunks is really a useful feature. If there _was_ a way to get noticed when system memory is low, I think the best way to handle that event would be to simply release it all. All in all, this is pretty useless. But it was interesting to write. This has yet to be integrated into the application proper.
* Fix minimal required CMake versionPřemysl Janouch2013-07-141-1/+1
|
* Fix double- and zero-wide charactersPřemysl Janouch2013-06-021-0/+4
| | | | It's not perfect but seems to work well enough.
* Add a manpagePřemysl Janouch2013-05-191-3/+35
|