| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Web solver is usable | Sebastiano Tronto | 2025-05-28 | 3 | -22/+222 | |
| | | ||||||
| * | Big progress with web version | Sebastiano Tronto | 2025-05-27 | 8 | -69/+187 | |
| | | ||||||
| * | Removed VLA notation from function parameters. | Sebastiano Tronto | 2025-05-27 | 13 | -70/+70 | |
| | | | | | | I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway. | |||||
| * | Avoid pausing for logging only if poll_status() is null (h48 solver). | Sebastiano Tronto | 2025-05-26 | 1 | -10/+7 | |
| | | | | | | | | | | | | | This is a small amendment to c6a77f30f64be73a5e55e06336975f2ecfbb2324, which changed the way we log solutions while the h48 solver is running. With the method recently introduced, the main thread checks for solutions to log every 0.5 seconds, resulting in a possible slowdown of at most 0.5s per solve. The solutions are also logged when all worker threads are completed. With this new method, when the poll_status() callback function is NULL, which likely means nissy is not run interactively, we rely only on the final log on completion of the worker threads. This means less frequent logging, but at no performance cost. | |||||
| * | Progress with web version | Sebastiano Tronto | 2025-05-26 | 7 | -94/+174 | |
| | | ||||||
| * | Cleanup | Sebastiano Tronto | 2025-05-25 | 3 | -40/+9 | |
| | | ||||||
| * | Quick fix for bug | Sebastiano Tronto | 2025-05-25 | 1 | -9/+8 | |
| | | ||||||
| * | Oops forgot to add these files | Sebastiano Tronto | 2025-05-25 | 2 | -0/+44 | |
| | | ||||||
| * | Cleanup | Sebastiano Tronto | 2025-05-25 | 8 | -69/+38 | |
| | | ||||||
| * | Clean up build (FS not available from nodejs) | Sebastiano Tronto | 2025-05-25 | 1 | -7/+0 | |
| | | ||||||
| * | Web version (work in progress) | Sebastiano Tronto | 2025-05-23 | 10 | -32/+247 | |
| | | ||||||
| * | Do all loggin in main thread | Sebastiano Tronto | 2025-05-23 | 9 | -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 checkdata | Sebastiano Tronto | 2025-05-19 | 25 | -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 checkdata | Sebastiano Tronto | 2025-05-18 | 18 | -252/+325 | |
| | | ||||||
| * | Remove configure + make build system. | Sebastiano Tronto | 2025-05-16 | 10 | -327/+72 | |
| | | | | | | This commit also updates the README, cleans up some stuff and fixes some oopsies. | |||||
| * | WASM and JS port - work in progress | Sebastiano Tronto | 2025-05-15 | 11 | -20/+293 | |
| | | ||||||
| * | Updates to build script and preparation for JS / WASM target | Sebastiano Tronto | 2025-05-14 | 3 | -68/+90 | |
| | | ||||||
| * | Fixes | Sebastiano Tronto | 2025-05-09 | 6 | -8/+8 | |
| | | ||||||
| * | Other minor fixes | Sebastiano Tronto | 2025-05-09 | 2 | -3/+3 | |
| | | ||||||
| * | Add wasmtest target to build script; minor fixes in tools and tests | Sebastiano Tronto | 2025-05-09 | 4 | -22/+50 | |
| | | ||||||
| * | Fix build small errors | Sebastiano Tronto | 2025-05-07 | 1 | -7/+13 | |
| | | ||||||
| * | Merge branch 'build' | Sebastiano Tronto | 2025-05-07 | 3 | -1/+344 | |
| |\ | ||||||
| | * | Added build script | Sebastiano Tronto | 2025-05-07 | 4 | -7/+344 | |
| | | | ||||||
| * | | Removed qt build target | Sebastiano Tronto | 2025-04-30 | 1 | -6/+0 | |
| |/ | ||||||
| * | Added stop / pause / resume solve to API | Sebastiano Tronto | 2025-04-29 | 16 | -51/+213 | |
| | | ||||||
| * | Moved qt app to its own repo | Sebastiano Tronto | 2025-04-25 | 9 | -634/+2 | |
| | | ||||||
| * | Fixed cpp adapter for 0-moves solutions | Sebastiano Tronto | 2025-04-25 | 1 | -1/+2 | |
| | | ||||||
| * | Give error when ( is not closed in NISS sequence | Sebastiano Tronto | 2025-04-25 | 1 | -0/+4 | |
| | | ||||||
| * | README changes due to renaming | Sebastiano Tronto | 2025-04-25 | 1 | -8/+7 | |
| | | ||||||
| * | NISS | Sebastiano Tronto | 2025-04-25 | 196 | -129/+301 | |
| | | ||||||
| * | Added tests for inverse move | Sebastiano Tronto | 2025-04-23 | 26 | -6/+74 | |
| | | ||||||
| * | Added orientation to getcube | Sebastiano Tronto | 2025-04-23 | 8 | -33/+46 | |
| | | ||||||
| * | Adjusted solvers, fixed bug | Sebastiano Tronto | 2025-04-23 | 16 | -32/+63 | |
| | | ||||||
| * | Almost added support for wide moves, only solve missing | Sebastiano Tronto | 2025-04-23 | 142 | -50/+382 | |
| | | ||||||
| * | Merge branch 'extend_moves' | Sebastiano Tronto | 2025-04-22 | 2 | -2/+97 | |
| |\ | ||||||
| | * | Merge branch 'master' into extend_moves | Sebastiano Tronto | 2025-04-22 | 1084 | -1741/+1419 | |
| | |\ | ||||||
| | * | | Added constants | Sebastiano Tronto | 2025-04-22 | 2 | -20/+115 | |
| | | | | ||||||
| * | | | Progress | Sebastiano Tronto | 2025-04-22 | 7 | -599/+692 | |
| | | | | ||||||
| * | | | Update tests for oriented_cube_t | Sebastiano Tronto | 2025-04-22 | 38 | -142/+196 | |
| | | | | ||||||
| * | | | Remove compose from the public API | Sebastiano Tronto | 2025-04-22 | 12 | -165/+2 | |
| | | | | ||||||
| * | | | Remove useless files | Sebastiano Tronto | 2025-04-22 | 2 | -22/+0 | |
| | |/ |/| | ||||||
| * | | Updated documentation | Sebastiano Tronto | 2025-04-22 | 3 | -81/+34 | |
| | | | ||||||
| * | | Updated tests and added fixed =A to B32 output | Sebastiano Tronto | 2025-04-22 | 1061 | -1213/+1098 | |
| | | | ||||||
| * | | Removed old scripts and updated public API | Sebastiano Tronto | 2025-04-22 | 23 | -477/+317 | |
| |/ | ||||||
| * | Always use unsigned char * for data buffers | Sebastiano Tronto | 2025-04-21 | 40 | -263/+285 | |
| | | | | | | Before this commit I was inconsistently using one of void *, char * and uint8_t *. | |||||
| * | Merged some files, renamed another | Sebastiano Tronto | 2025-04-21 | 6 | -154/+154 | |
| | | ||||||
| * | Improve order of moves in NISS solutions | Sebastiano Tronto | 2025-04-20 | 2 | -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 solve | Sebastiano Tronto | 2025-04-19 | 12 | -125/+114 | |
| | | ||||||
| * | Fixed shell usage of optimal and maxsolutions | Sebastiano Tronto | 2025-04-19 | 1 | -1/+1 | |
| | | ||||||
| * | Added WASM target | Sebastiano Tronto | 2025-04-18 | 2 | -3/+10 | |
| | | ||||||
