summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-07bindings/go: Use `go` tool to generate go bindingsH. İbrahim Güngör
`go` tool can help build packages by recognizing `.swig` and `.swigcxx` extensions. It invokes the `swig` command internally while building the package.
2016-01-07Bindings: Remove unnecessary lines from Python selfplay test fileGökçen Eraslan
2016-01-07bindings: Add another python test file to demonstrate selfplay.Gökçen Eraslan
2016-01-07Tidy up Python test file and add extra vector typemaps to swig file.Gökçen Eraslan
2016-01-07Replace swig bash script with a Makefile.Gökçen Eraslan
2016-01-06bindings: Fix swig shared library extensions.Gökçen Eraslan
2016-01-06Add a SWIG interface file, a Bash script to generate Go, Python and Lua ↵Gökçen Eraslan
bindings and add Python test file.
2016-01-06GCGIO: Add a simple method to read GCG files using only the file names.Gökçen Eraslan
2016-01-06Generate shared ibraries for libquackle and libquackleioGökçen Eraslan
2016-01-04Add Turkish lexicon derived from the word list of the open source Zemberek ↵Gökçen Eraslan
project.
2016-01-04Add Turkish alphabet.Gökçen Eraslan
2015-12-27Fix minor oversight in build instructions.John Fultz
2015-11-08Installer wasn't recursing directories...turns out there's a flag to do that.John Fultz
2015-11-08Remove Mac-specific build stuff that wasn't actually doing anything useful.John Fultz
2015-11-08Fix #10, default_english strategy now has TWL06 superleaves.John Fultz
2015-11-08Fix #9, some strategy files missing from Windows installer.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-07Try to fix automated builds.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-06Update MacOS distribution instructions.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-18Merge branch 'feature/editablesettings'John Fultz
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-07Fix another alphabet length limitationJohn Fultz
The 'crosses' code for checking "fit between" plays was using a 32-bit integer as a bitfield. Now it's using C++ bitfields (including the C++11 all() operation...hopefully that doesn't cause any problems). This removes another place in the code that was limiting alphabets to 32 letters.
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-30Add hash query methods for dawgs, gaddags.John Fultz
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-24Add a new DAWG format.John Fultz
Make reader and writer for the new format, while maintaing compatibility with the old. Things to note of the new format... * Now has a header, with version number, MD5, and word count. * No longer has terminator bit. Nodes are terminated by a non-zero playability. * Which means letters have one more bit. So we can now support more than 32 letters. Important for Slovak alphabet. Also, various cleanups and refactorings.
2015-08-22Add versioning of DAWGs.John Fultz
If we're going to start writing these into user directories, then we'd better start versioning them so we don't end up generating bugs in the future. LexiconParameters::loadDawg() implements a tiny class factory which allows backward compatibility of DAWGs. I'll soon be adding a "version 1" in addition to the legacy "version 0". For now, version 1 is just dummied in.
2015-08-20Update readme.John Fultz
2015-08-20Move DAWG generation into quackleio.John Fultz
Same thing I just did for the gaddag code I'm now doing for the dawg code. While I was at it, I made some improvements to the dawg code... * Instead of adding multiple cross-checks for various kinds of node metadata, there's now only one cross- check...a hash applied to each node. * Some useless variables/members have been excised. * Add ability to do a word count (cryptohash coming soon). * Make it possible to call generate() and writeIndex() multiple times without corrupting the dictionary.
2015-08-20Bug fixes to GaddagFactoryJohn Fultz
A few things from my last commit needed to be fixed or improved.
2015-08-18Migrate gaddag maker into quackleio.John Fultz
Prepping to build the gaddag maker into the quacker ui. Built a new class called GaddagFactory to do this and cleaned up the code a bit. makegaddag still builds exactly as it did before.
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.