Commit Graph

1956 Commits

Author SHA1 Message Date
Julia Longtin
8827fb0a25
Merge pull request #488 from sorki/srk/goldenGit
Add missing golden files
2024-07-29 12:25:52 +02:00
sorki
ae36495d45 Add missing golden pre-images for pretty-printing test 2024-07-27 19:44:57 +02:00
sorki
6cfb578330 Don't gitignore golden preimages take two 2024-07-27 19:44:57 +02:00
Julia Longtin
53de0c7f3a
Merge pull request #487 from lepsa/fixing-relative-imports
Fixing relative imports for extopenscad.
2024-04-19 21:31:14 +00:00
Julia Longtin
7815bc1ff8
Merge pull request #486 from lepsa/removing-partial-functions
Removing more partial functions the GHC picked up.
2024-04-19 21:30:03 +00:00
Julia Longtin
2cd6592c05
Merge pull request #485 from eiais/remove-travis
remove travis.yml
2024-04-19 21:27:20 +00:00
Owen Harvey
3c903f6e08 Fixing the implicitsnap build 2024-04-19 00:59:11 +10:00
Owen Harvey
dc113faac5 Fixing relative imports for extopenscad.
When exteopnscad is called with a source filepath outside of the current
directory, relative filepaths such as "../config.scad" would fail to
read if no such file relative to the _programs_ directory, not the
source file, existed.

This change uses the directory of the initial source file as the
location for relative file lookups.
2024-04-18 18:11:11 +10:00
Owen Harvey
fa135081c0 Removing more partial functions the GHC picked up.
Removing instances of `head` that GHC is flagging, except for one in
command line arguement parsing.

Reworked the `tail` replacement to use `drop 1` rather than using
`uncons`
2024-04-10 13:25:03 +10:00
Kathryn Spiers
3135b27b42 remove travis.yml
the project has been using github actions since 2020
2024-04-07 14:01:25 -07:00
Julia Longtin
b44e9597ff
Merge pull request #484 from lepsa/ghcup-documentation
Ghcup documentation
2024-04-04 13:01:26 +00:00
Julia Longtin
e1a7bc90de
Merge pull request #483 from lepsa/fixing-partial-function-warnings
Fixing some partial function warnings being emitted by GHC
2024-04-04 13:00:58 +00:00
Owen Harvey
b33b5ccb6d Adding a missing 's' in 'https' 2024-04-04 13:26:32 +10:00
Owen Harvey
207c4d8223 Updating the README to remove references to the Haskell Platform
Replacing references to the Haskell Platform with links to GHCup.
Tested that the GHCup site will show the correct install steps based on
user agent reported OS.
2024-04-04 13:23:46 +10:00
Owen Harvey
7ffb13ea6c Fixing some partial function warnings being emitted by GHC.
Replacing `tail` with a varient that emits an empty list when the input
list is also empty. Otherwise it behaves as `Prelude.tail`
2024-04-04 13:10:39 +10:00
Sorki
66515297d7
Merge pull request #479 from lepsa/fixing-exports
Fixing export issues where unsupported primitives were being generated.
2024-01-08 10:16:16 +01:00
Owen Harvey
a1afe98e08 Fixing export issues where unsupported primitives were being generated.
Updating the tests that rely on escad export to not use these
primitives.
Updating the export functions to throw an error, and moving primitives
around to split them out from the supported primitives.
2024-01-08 11:37:06 +10:00
Julia Longtin
01d3e9bc4f
Merge pull request #474 from sorki/srk/interepreter
init implicit-interepreter
2024-01-06 18:43:00 +00:00
sorki
8654442757 Add CONTRIBUTORS, Release.md, Tools.md to extra-doc-files 2024-01-06 17:49:02 +01:00
sorki
b91a9f01e2 implicit: add Extra-source-files, Extra-doc-files 2024-01-06 17:49:02 +01:00
sorki
ae4510e0ae gitignore: don't ignore tests/golden 2024-01-06 17:49:02 +01:00
sorki
59b970180b nix: multipackage, add overlay.nix 2024-01-06 17:49:02 +01:00
sorki
0e463987d2 init implicit-interpreter 2024-01-06 17:49:02 +01:00
Sorki
83eafa55e9
Merge pull request #478 from sorki/srk/normolu
Remove unused ormolu
2024-01-06 17:48:39 +01:00
Sorki
081a241c61
Merge pull request #472 from lepsa/escad-pretty-printer
[Issue 455] eSCAD pretty-printing
2024-01-06 17:48:15 +01:00
sorki
51bb6a78d3 remove unused ormolu 2024-01-06 17:41:56 +01:00
Owen Harvey
dc6984cbbb Removing unused prettyprinter dependency 2024-01-06 17:22:31 +01:00
Owen Harvey
8f4b722d6e eSCAD pretty-printing
Added a pretty printer for escad output.
Added a new pretty printing test for indentation and spacing.
Updating existing tests where needed to match the pretty printing.
2024-01-06 17:22:31 +01:00
Julia Longtin
0c254d9044
Merge pull request #471 from lepsa/more-primitives
Adding more primitives
2024-01-06 15:43:04 +00:00
sorki
82c987e89d Add golden boxFrame and link 2024-01-06 16:18:59 +01:00
sorki
5101b509fa CHANGELOG: boxFrame and link 2024-01-06 16:16:57 +01:00
Owen Harvey
616db6226a Formatting 2024-01-06 16:14:13 +01:00
Owen Harvey
accc3db3e2 Adding link
Adding a link primitive and tests
2024-01-06 16:13:26 +01:00
Owen Harvey
1c65c1ad18 Adding Box Frame as a primitive.
Adding a box frame primitive, and associated test.
2024-01-06 16:10:18 +01:00
Julia Longtin
80222ec0a4
Merge pull request #448 from sorki/srk/slice
Add slice primitive
2024-01-06 14:54:16 +00:00
sorki
26617785ee CHANGELOG: slice and projection(cut=true) 2024-01-06 15:16:15 +01:00
sorki
5888bb4e13 extopenscad: add projection(cut=true) calling slice 2024-01-06 15:14:43 +01:00
Richard Marko
11d384a474 Add slice primitive 2024-01-06 15:14:43 +01:00
Julia Longtin
ec6a2dbe8d
Merge pull request #473 from sorki/srk/extrudeArgs
Flip `extrude` arguments
2024-01-06 14:13:57 +00:00
sorki
b9f8e326d3 Flip extrude arguments
Closes #451
2024-01-04 06:50:29 +01:00
Julia Longtin
eacfe58f16
Merge pull request #470 from lepsa/torus-and-ellipsoid-as-objects
Issue #450. Making torus and ellipsoid primitive objects.
2024-01-01 15:11:56 +00:00
Julia Longtin
b320b1aead
Update Graphics/Implicit/Primitives.hs
add a newline.
2023-12-31 00:29:13 +00:00
Owen Harvey
10d677508f Issue #450. Making torus and ellipsoid primitive objects.
Switching the definitions of torus and ellipsoid to be SymbolicObj3
primitives rather than being `implict`ly defined. The maths functions
haven't changed, only been moved around.

One test was updated as some of the STL values changed, but to the eye
it looks similar, and a random check of values indicated that they were
small.
2023-12-29 17:37:20 +10:00
Julia Longtin
5128285d45
Merge pull request #469 from Haskell-Things/lepsa/bounding-boxes
fix bounding boxes for infinite implicit functions.
2023-12-26 23:37:09 +00:00
Julia Longtin
df529124de remove redundant import. 2023-12-26 23:19:30 +00:00
Julia Longtin
c61c1a66df fix bounding boxes for infinite implicit functions. 2023-12-26 22:34:54 +00:00
Julia Longtin
23975eeb9a
Merge pull request #468 from Haskell-Things/lepsa/improving-shell
merged version of lepsa:improving-shell
2023-12-26 22:22:13 +00:00
Julia Longtin
b6a0779f9e merged version of lepsa:improving-shell 2023-12-26 21:23:24 +00:00
Julia Longtin
522fcdcf30
Merge pull request #467 from Haskell-Things/next
create next version. minor formatting changes to the Release process.
2023-12-26 18:18:23 +00:00
Julia Longtin
914ccb9ec3
Merge branch 'master' into next 2023-12-26 17:52:17 +00:00