summaryrefslogtreecommitdiff
path: root/quacker/settings.cpp
AgeCommit message (Collapse)Author
2023-07-19Fix integer size compiler warnings.John Fultz
2023-07-17Fix up std:: namespace hygiene.John Fultz
* Remove all uses of `using namespace std` from header files (although a few specific cases of things like `using std::vector` remain) * Move all existing uses of `using namespace std` in cpp files to after the header includes * Make coordinating changes so it builds again. Qt6 builds on Windows were breaking because of namespace collision between std::byte and some version of `byte` in one of Qt's namespaces. That breakage is now fixed. It would be good to systematically clean up all `using` declarations in header files to ensure nothing is leaking out, but that's for another time.
2023-07-16QRegEx -> QRegularExpressionJohn Fultz
I think these changes would still be fine in Qt5, but are required for Qt6. Also DataLocation was deprecated in v6, AppLocalDataLocation is the same for both Qt5 and Qt6.
2023-07-16Fix up some Qt signals.John Fultz
Some of the signals we’re using aren’t supported or working in Qt 6. Refactor for things that are working and documented.
2019-07-21Visual C++ compiler warning fixes.John Fultz
Mostly signed/unsigned/size_t mismatches, except for one case treating a bool as an integer.
2019-07-19Add CSW19 dictionary.John Fultz
Also, rename cswapr07 to csw07 (I think enough years have passed that the need to distinguish the "April update" has passed... but I nonetheless mention it in the copyrights file).
2019-05-06Add ability to include logo in copyrights.txt.John Fultz
Add NASPA logo for its dictionaries. Add a separator between settings and copyright for clarity. Tighten up vertical spacing in the settings panel.
2019-03-21Licensing, copyright text changes.John Fultz
2017-08-02More Qt5 changes and cleanups.John Fultz
Now builds on Qt 5.9.1, and works on Mac, Windows, Linux.
2016-01-12Port Quackle to Qt 5.5Gökçen Eraslan
2015-11-08Fix #8, last choice in theme and alphabet combox didn't work.John Fultz
I had reserved the last spot for "Add new theme/alphabet", but then abandoned that feature for v1. But forgot to rip out the code handling it. Bump version number to 1.0.1.
2015-11-08Minor bug fixes.John Fultz
* Windows installer now set up to use MSVC redistributables, not MinGW ones. * The Board popup's "Edit..." button should be disabled when the popup is empty (i.e., the only choice is to add one, which is in the popup).
2015-11-06Set up defaults strategies.John Fultz
So, basically, the dictionary is queried to see if it's "English-like". Which is to say that it uses the same alphabet. If so, then it will fall back to use twl06 strategies, minus the superleaves (the so-called "default_english"). Otherwise, it uses "default" strategies, which right now is simply a worths file that sets the blank to be 30. It's not great. But better than before.
2015-11-02Add interface for generating gaddags.John Fultz
I wanted to throw this in a background thread, and I will, but for now, we need to get something out the door, and this seems sensible anyway. Couple of other bug fixes... * Add a copyright. * Popup menu says "Add new lexica..." but should say "Add new lexicon...". * Copyrights were refusing to wordwrap, thus forcing the settings pane to be wide.
2015-10-14Convert dictionaries, add csw15.John Fultz
* All dictionaries are now in v1 DAWG format. * Three corrupt dictionaries were removed. * Implement a way to tag dictionaries for copyright purposes. * CSW15 is now a thing.
2015-10-13Saving custom dictionaries now really works.John Fultz
* Fix a number of remaining bugs in the lexicon dialog. * Fix an error reading the v1 DAWG. * Improve the word counting mechanism. * Make sure the lexicn dialog properly selects and loads its dictionary after it's done. * Implement deleting of user dictionaries. * Clean up dictionary info text in lexicon dialog. * Disable gaddag generation...still have to fix that up to happen at sensible times and with user notification.
2015-10-10Progress on the lexicon dialog.John Fultz
Now prints better stats. Now loads the dictionary you're editing. Now disables the Delete button at appropriate times.
2015-09-28Some minor refactoring.John Fultz
2015-09-07Auto-generate gaddagsJohn Fultz
Need to add a user interface, but gaddags are now auto-generated if they can't be found. Some specific improvements here: * FixedLengthString gained a pop_back member. * Add code to allow v1 gaddags and v0 dawgs to work together. * Change memory allocation of dawgs and gaddags to be dynamic (the old limit didn't accommodate the ridiculously large Polish dictionary in the gaddag) * The Settings class now knows a bit about generating gaddags. This will be important for giving UI feedback. * Fixed several places using filenames which should be using string, not UVString. * Dawg/GaddagFactory should have been using UVString, not QString. My misunderstanding.
2015-08-24Version the GADDAGs.John Fultz
Basically the same thing I just did to the DAWG files, now done to GADDAGs. Also, add hashing, and make sure GADDAGs only load if their hash matches that of the DAWG files.
2015-08-18Populate alphabet popup in lexicon dialog.John Fultz
Moved Settings::populateComboFromFileNames() to be a static method, then invoked it from the lexicon dialog.
2015-08-09Progress on edit lexicon dialog.John Fultz
* Files can now be loaded from user directory as well as app directory. * Edit lexicon dialog has been added, and pretty much all of the GUI elements framed out. Not actually implemented, yet. * Embiggen the board configuration dialog. * Some bits of code refactoring.
2015-08-03Finish Add/Edit/Remove for boards.John Fultz
Delete functionality is now inside of the edit dialog. Which will make things less messy when other edit dialogs are introduced.
2015-08-01Begin unifying interface for customizable settings.John Fultz
2014-12-10Move data/ to MacOS/Resources/ in Mac bundle.John Fultz
This fixes the various issues with needing to code-sign data files. And simplifies the process of building and preparing to code sign considerably.
2013-12-30Add color theme feature.John Fultz
This allows you to choose between preset themes stored in .ini files in the layout. While I was at it, I changed other things in the Settings panel to auto-populate from the layout rather than have hard-coded versions. So there's no longer a need to recompile Quackle to add new languages or alphabets to get it to show up in the popup menu.
2013-11-02In OSX we get a path of quacker/quacker.app/Contents/MacOS and so needMatt Liberty
to look for 'data' in '../data'
2013-08-25Initial git commit.Jason Katz-Brown