summaryrefslogtreecommitdiff
path: root/quacker
AgeCommit message (Collapse)Author
2016-08-02Fixes to allow bad endgames to be loaded from GCGs.John Fultz
Not perfect, but it now does a decent job of not corrupting GCGs when it loads one where players have messed up tile counts/drawing in the end-game. It also tries to annotate these for the player and in any GCG file that's round-tripped. Also, a lot of C++11-izing of ranged iterators.
2016-07-12A few tidbits for Mac 1.0.2 release.John Fultz
2016-07-07Increment version number and copyright date.John Fultz
Also, fix a typo and remove dead code.
2016-07-07Allow games loaded from gcg to switch to unknown racks.John Fultz
When the message box that says you made a play which uses tiles not on your rack comes up, it now has a third option...switch to player with unknown tiles. So, you'll get this message box at most once per player if you choose that option.
2016-07-07Put filename in window title.John Fultz
2016-07-03Fix problems with "ex n" where n is a number.John Fultz
Found a crash where you enter "ex 4" twice, and it would crash. This led me to look up how this was implemented, and it wasn't very robust. It also didn't save properly in the GCG. So I created a new move type which I called a BlindExchange and implemented it throughout the system.
2016-07-03Add a scoring option preference.John Fultz
A checkbox in the preferences dialog now allows you to configure Quackle so that plays with illegal words which are left unchallenged score zero. Obviously, off by default. But useful for entering games as part of the Marty Gabriel/Scott Garner world record scoring attempt. This is apparently what the Guinness folks are looking for.
2016-07-03Support Shift+Enter to commit from move input field.John Fultz
Also resets the focus back to the input field when you press Shift+Enter.
2016-07-02More character encoding stuffJohn Fultz
A few character encoding things that had still been missed, and preliminary support for #character-encoding in GCG files.
2016-01-15Yet more places with bad streaming encoding.John Fultz
Okay...I think this fixes all file streams to be UTF-8 except for GCGs, which require less trivial effort.
2015-11-08Remove Mac-specific build stuff that wasn't actually doing anything useful.John Fultz
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-07Continue fixing Travis-CI build.John Fultz
2015-11-07Fix about box.John Fultz
Windows build uncovered a bad assumption about QTextStream supporting atEnd(), and the stream needed to be explicitly set to UTF-8.
2015-11-06Some Windows build updates.John Fultz
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-19Fix travis builds.John Fultz
* Start using g++ 4.8 and clang. * Fix missing -std=c++11 flags. * Builds which failed torched remaining builds, which meant more iteration. Now, they recover and continue correctly. * Remove some clang compiler warnings generated by Qt files out of my control.
2015-10-18Fix version, Windows Visual Studio build.John Fultz
2015-10-14Windows build fixes.John Fultz
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-11Fix up lexicon dialog box checks.John Fultz
Get enables and disables right, efficient computation of word counts, etc.
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-28Now able to load text and dawg files.John Fultz
Words are loaded and hashed. Duplicates are discovered. Alphabets are dealt with. Merging of multiple word lists works. This is good stuff. Saving the resulting dictionaries has not been tried, yet, and the gui code for saving needs to be finished off, yet.
2015-09-28Some minor refactoring.John Fultz
2015-09-26Work on DAWG generation.John Fultz
V1 DAWGs now include an alphabet. Begin creating DAWGs which extend other DAWGs. In general, laying the groundwork for plain text import to DAWG.
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-24Fix encoding of HTML output.John Fultz
Should be UTF8. Thanks to Vlado Makys for pointing this out.
2015-08-18Cleanups and bump the version number.John Fultz
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
2015-07-21Visual Studio build maintenance.John Fultz
* Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build.
2014-12-10Implement FileOpen eventJohn Fultz
This allows Quackle to respond to system file open events. So, if .gcg is associated with Quackle, then double-clicking a .gcg file will now make it open in Quackle (whether it's running or not). And drag and drop, etc. This definitely fixes issues trying to open files with double-click on Mac. Windows doesn't have the .gcg association set up yet, so code is untested there, but it should be platform independent.
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.
2014-11-30Fix Collins superleaves.John Fultz
2014-11-29Update version, about, and hint text.John Fultz
2014-11-29Wrap up Windows side for 0.98 releaseJohn Fultz
2014-11-29Getting 0.98 Mac production build ready to go.John Fultz
Which requires a bunch of craziness to ease the process of code-signing.
2014-11-28Mac build stuffJohn Fultz
2014-09-08Add more international keyboard support.John Fultz
Haven't seen the last of this, yet...combinining keystrokes still don't seem to be working.
2014-09-02Change GPL file headers to v3.John Fultz
Not a very interesting commit...only changes in comments.
2014-08-30Move to GPL v3.John Fultz
We'll be incorporating the Norwegian dictionary which is covered under GPL3, so that's the reason for the move.
2014-08-25Add Polish alphabet. Fix AltGr keyboard events.John Fultz
This fixes a reported problem under Windows (it was probably an issue on other platforms, too) where, if you're using a keyboard that requires AltGr in order to type Scrabble letters on the board, they simply won't type. For example, the Windows "Polish Programmers" keyboard. Polish alphabet submitted by Adam Klimont, and tested by me. Dictionary to come soon.
2014-08-25Disable Linux warnings without producing Mac warnings.John Fultz
2014-08-24Kill some Linux compiler warnings.John Fultz