aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Quick fix for bugSebastiano Tronto2025-05-251-9/+8
|
* Oops forgot to add these filesSebastiano Tronto2025-05-252-0/+44
|
* CleanupSebastiano Tronto2025-05-258-69/+38
|
* Clean up build (FS not available from nodejs)Sebastiano Tronto2025-05-251-7/+0
|
* Web version (work in progress)Sebastiano Tronto2025-05-2310-32/+247
|
* Do all loggin in main threadSebastiano Tronto2025-05-239-93/+214
| | | | | | | | | | | | | | | | | Before this committ, the solver (via the generic solution-appender routines in src/solve/solutions.h) and the H48 data generator did some logging in the worker threads, without using any locks. This was not nice, but in practice it did not cause any problem, because the log messages were rare. However, this turned out to be a problem when building to WASM, because web workers do not have access to the main JS memory, and therefore they cannot call functions from the main JS. This includes not only the callback functions for logging, but also those for polling the status of the solver (run / pause / stop). This commit fixes this at the cost or being somewhat inelegant: the solutions are not logged as they are found, but only every 500ms.
* Refactored checkdataSebastiano Tronto2025-05-1925-659/+418
| | | | | | | | Relevant changes include: - Changed the signature of nissy_checkdata(). - Removed expected_distribution.h from tools; this data is now included in each solver's src/ code. - Removed distribution check for cocsep; may add back later.
* Refactor solver dispatch and checkdataSebastiano Tronto2025-05-1818-252/+325
|
* Remove configure + make build system.Sebastiano Tronto2025-05-1610-327/+72
| | | | | This commit also updates the README, cleans up some stuff and fixes some oopsies.
* WASM and JS port - work in progressSebastiano Tronto2025-05-1511-20/+293
|
* Updates to build script and preparation for JS / WASM targetSebastiano Tronto2025-05-143-68/+90
|
* FixesSebastiano Tronto2025-05-096-8/+8
|
* Other minor fixesSebastiano Tronto2025-05-092-3/+3
|
* Add wasmtest target to build script; minor fixes in tools and testsSebastiano Tronto2025-05-094-22/+50
|
* Fix build small errorsSebastiano Tronto2025-05-071-7/+13
|
* Merge branch 'build'Sebastiano Tronto2025-05-073-1/+344
|\
| * Added build scriptSebastiano Tronto2025-05-074-7/+344
| |
* | Removed qt build targetSebastiano Tronto2025-04-301-6/+0
|/
* Added stop / pause / resume solve to APISebastiano Tronto2025-04-2916-51/+213
|
* Moved qt app to its own repoSebastiano Tronto2025-04-259-634/+2
|
* Fixed cpp adapter for 0-moves solutionsSebastiano Tronto2025-04-251-1/+2
|
* Give error when ( is not closed in NISS sequenceSebastiano Tronto2025-04-251-0/+4
|
* README changes due to renamingSebastiano Tronto2025-04-251-8/+7
|
* NISSSebastiano Tronto2025-04-25196-129/+301
|
* Added tests for inverse moveSebastiano Tronto2025-04-2326-6/+74
|
* Added orientation to getcubeSebastiano Tronto2025-04-238-33/+46
|
* Adjusted solvers, fixed bugSebastiano Tronto2025-04-2316-32/+63
|
* Almost added support for wide moves, only solve missingSebastiano Tronto2025-04-23142-50/+382
|
* Merge branch 'extend_moves'Sebastiano Tronto2025-04-222-2/+97
|\
| * Merge branch 'master' into extend_movesSebastiano Tronto2025-04-221084-1741/+1419
| |\
| * | Added constantsSebastiano Tronto2025-04-222-20/+115
| | |
* | | ProgressSebastiano Tronto2025-04-227-599/+692
| | |
* | | Update tests for oriented_cube_tSebastiano Tronto2025-04-2238-142/+196
| | |
* | | Remove compose from the public APISebastiano Tronto2025-04-2212-165/+2
| | |
* | | Remove useless filesSebastiano Tronto2025-04-222-22/+0
| |/ |/|
* | Updated documentationSebastiano Tronto2025-04-223-81/+34
| |
* | Updated tests and added fixed =A to B32 outputSebastiano Tronto2025-04-221061-1213/+1098
| |
* | Removed old scripts and updated public APISebastiano Tronto2025-04-2223-477/+317
|/
* Always use unsigned char * for data buffersSebastiano Tronto2025-04-2140-263/+285
| | | | | Before this commit I was inconsistently using one of void *, char * and uint8_t *.
* Merged some files, renamed anotherSebastiano Tronto2025-04-216-154/+154
|
* Improve order of moves in NISS solutionsSebastiano Tronto2025-04-202-20/+65
| | | | | | | | Now the side that has more moves is written first. For example: write (U L F) B instead of B (U L F) This also fixes the test on appendsolutions, which used an older version of the function's signature.
* Improved logging, especially for solveSebastiano Tronto2025-04-1912-125/+114
|
* Fixed shell usage of optimal and maxsolutionsSebastiano Tronto2025-04-191-1/+1
|
* Added WASM targetSebastiano Tronto2025-04-182-3/+10
|
* Sped up checkdata for H48 tablesSebastiano Tronto2025-04-173-10/+58
|
* Improvements to QT UISebastiano Tronto2025-04-175-42/+137
|
* Restore logging to stderr for toolsSebastiano Tronto2025-04-178-10/+10
|
* Small rework of optimal vs maxsolsSebastiano Tronto2025-04-1712-53/+55
| | | | | | | | | | | | | | I wanted to make the "optimal" and "maxsolutions" options mutually exclusive, but in the end I decided there is value in keeping both (e.g. for specifying a limit to the number of solutions when asking for "all" optimal"). Now optimal cannot be negative anymore, for the same reason of maxsolutions. The interface user (shell, UI) will have to take care of handling this in a way that makes sense for the user. Usually this means setting the maximum number of solutions to UINT_MAX (or a similar very high number) when the user wants "all optimal".
* Updated readmeSebastiano Tronto2025-04-161-4/+31
|
* Added rudimentary QT UISebastiano Tronto2025-04-168-3/+521
|

Generated with cgit - Back to sebastiano.tronto.net