Commit graph

2168 commits

Author SHA1 Message Date
Olivier Goffart
05b33968ad Fix license check 2020-12-08 16:51:21 +01:00
Olivier Goffart
daf9da5649 Add a .gitattributes to rust diff looks better 2020-12-08 16:40:55 +01:00
Olivier Goffart
0a1c9aa206 Fix the aspect ratio of images by keeping them square 2020-12-08 16:40:17 +01:00
Olivier Goffart
132ed8155d Respect the aspect ratio in the memory game 2020-12-08 16:37:20 +01:00
Olivier Goffart
5517b368eb Todo: add a small spacing 2020-12-08 16:21:08 +01:00
Olivier Goffart
29771f9591 Slider demo: make sure that it is always fullscreen 2020-12-08 16:13:14 +01:00
Simon Hausmann
8314fbbb86 Simplify the texture width/height calculation a little bit 2020-12-08 16:01:53 +01:00
Olivier Goffart
dbd27f150d Memory: color scheme and size 2020-12-08 14:57:10 +01:00
Simon Hausmann
f77bdffc38 Prospective fix for aspect ratio preservation for the icons 2020-12-08 14:25:53 +01:00
Olivier Goffart
90942e9056 Attempt to fix the Cache Qt
Looks like one can't have Relative paths:

```
Warning: Invalid pattern '../Qt'. Relative pathing '.' and '..' is not allowed.
```
2020-12-08 14:04:04 +01:00
Olivier Goffart
f53e52e403 Don't compile the printer demo as a lib by default
Reverts parts of commit b8b2a30853 that was commited by mistake
2020-12-08 13:54:12 +01:00
Simon Hausmann
82d6a679f5 Show a different color for solved tiles 2020-12-08 13:40:29 +01:00
Olivier Goffart
2e5007da32 memory: fix the file name in the index.html 2020-12-08 13:24:48 +01:00
Olivier Goffart
ac25738c80 Move the sanity check into the doc workflow
The doc workflow is the fastest and compiles xtask anyway.
While the build and test workflow is currently the slower and the bottleneck
2020-12-08 13:17:58 +01:00
Olivier Goffart
b8b2a30853 Add a note about wasm build in the example README 2020-12-08 13:10:52 +01:00
Olivier Goffart
d8680c33d0 Port more wasm example to the simplified wasm 2020-12-08 13:01:02 +01:00
Olivier Goffart
1bcc11e092 Change the Qt cache key because the cache seems corrupted 2020-12-08 12:44:34 +01:00
Olivier Goffart
609c2aa1ae Remove the generated gitignore that prevents the files to be submitted to git 2020-12-08 12:39:47 +01:00
Olivier Goffart
3f6f16c633 Also simplify wasm build for the slide puzzle 2020-12-08 12:39:47 +01:00
Simon Hausmann
199ae5f9d3 Simplify wasm startup
It is not necessary to call main because it's marked to be called on "startup".
2020-12-08 12:18:52 +01:00
Olivier Goffart
720c66a157 Fix the publish script 2020-12-08 12:12:10 +01:00
Simon Hausmann
1b2261c562 Fix two compiler warnings about unsued code paths when targeting wasm 2020-12-08 12:09:44 +01:00
Simon Hausmann
39b8691819 Switch to generating the SVG icons using rsvg-convert
The npm package is not maintained anymore and does not support newer
font-awesome versions with additional icons.
2020-12-08 12:03:51 +01:00
Olivier Goffart
91dcf00897 Memory: Ssmall design change
- Add some padding
 - Better colors
 - rounded corners
2020-12-08 11:59:47 +01:00
Olivier Goffart
6d112465d1 Attempt to simplify the wasm build 2020-12-08 11:51:10 +01:00
Simon Hausmann
9ac4cd851b Open the memory tile from the center 2020-12-08 11:35:08 +01:00
Simon Hausmann
e602bc603a A wasm port for the memory puzzle without npm and webpack 2020-12-08 11:15:54 +01:00
Simon Hausmann
d471ed566f Fix tile positioning inside the window
Don't start at (0, 0) - leave some space
2020-12-08 10:39:26 +01:00
Simon Hausmann
574d17e698 Initial version of a small memory game
This is intended to form the basis for a tutorial.
2020-12-08 09:58:53 +01:00
Olivier Goffart
198a1e17c1 Close the combobox on click 2020-12-07 17:08:48 +01:00
Olivier Goffart
06f4f2c9ec pin-weak is no longer part of the public api so no need to host the docs for it 2020-12-07 16:48:03 +01:00
Olivier Goffart
578918b520 The plan is to release tomorrow 2020-12-07 16:45:48 +01:00
Olivier Goffart
e6d4fc3b5a Changelog for the vtable crate 2020-12-07 16:05:33 +01:00
Simon Hausmann
99cea4ebf8 Some edits to the changelog before release 2020-12-07 16:00:41 +01:00
Olivier Goffart
70928eca66 Update version in interpreter/Cargo.toml
It did not have the '=' so the regexp did not find it
2020-12-07 15:43:35 +01:00
Olivier Goffart
125ec13f24 Bump version numbers
Note: this does not update the documentation yet
2020-12-07 15:41:29 +01:00
Olivier Goffart
f373d627fe Update corrosion 2020-12-07 15:32:38 +01:00
Olivier Goffart
4c13221572 Add a readme dor the const-field-offset crate 2020-12-07 15:27:50 +01:00
Olivier Goffart
ecd814fed4 README for the vtable crate 2020-12-07 15:23:55 +01:00
Simon Hausmann
0788a33c9a Fix online editor transition from errors to error free source
Markers are show inline when errors occur during compilation. But when
those errors are fixed, the markers should go away.
2020-12-07 15:02:14 +01:00
Olivier Goffart
7f78bea8b5 Fix a bunch of cargo clippy warnings in the compiler 2020-12-07 12:54:38 +01:00
Olivier Goffart
2a751fcdc8 Remove debug output 2020-12-07 11:39:27 +01:00
Olivier Goffart
9d2d3e43eb Update rystc_version 2020-12-07 11:37:47 +01:00
Olivier Goffart
ca73c73725 Update memoffset version
This is just a dev dependency so no new release is needed because of that
2020-12-07 11:33:11 +01:00
Olivier Goffart
6cde0ec836 Update strum version 2020-12-07 11:29:02 +01:00
Olivier Goffart
282dd0a884 Only set the native style in the CI if Qt is also installed 2020-12-05 17:53:39 +01:00
Olivier Goffart
f9dc2af9f1 Small style change 2020-12-05 17:48:02 +01:00
Olivier Goffart
d81145e436 Fix native global component
Make sure the native style is tested on the CI
2020-12-05 17:00:38 +01:00
Simon Hausmann
b13d96fed0 Improve npm package score
Add missing repository filed for the node package
2020-12-04 15:37:43 +01:00
Olivier Goffart
8d47b298b3 Make sure everything in the vtable crate is documented 2020-12-04 13:06:50 +01:00