Commit graph reanimate/reanimate.cabal
Author SHA1 Message Date
AndreasPK
7d949ea0ea
Fix build for ghc-9.2 (#301)
* Fix builds against hashable >= 1.4

Derive Eq for APolygon as required by the added Eq constraint on
Hashable.

* Bump version to 1.1.7 for new instance, relax aeson bounds.
2022-12-21 12:21:48 +01:00
David Himmelstrup
f58a00e56a
Disable hgeometry dependency and bump version. (#282) 2022-06-02 20:09:15 +02:00
David Himmelstrup
e7b7469395
Restrict hgeometry dependency. (#273) 2022-03-30 13:25:15 +02:00
David Himmelstrup
8375edaaf5 Bump version to 1.1.5.0 2022-01-24 10:50:00 +01:00
Mike Pilgrem
ceb727e8da
Enable use of POV-Ray for Windows (#225)
This pull request reflects code changes made to be able to use POV-Ray for Windows, Version 3.7.0.msvc10.win64.

The changes have been tested on Windows 10 but not on unix-like operating systems. However, I don't think the code for unix-like operating systems has been affected.

The reason for the changes is explained below.

1. The POV-Ray for Windows executable is named `pvengine64.exe` on 64-bit Windows, not `povray

I've created two modules `POVRay`, specified separately for `windows` and `unix`, that export `povrayApp :: String`, yielding the correct name of the executable. The function is used in place of `"povray"` (eg in `Reanimate.Driver.Check.hasPovray`).

2. Generated file names containing `$` cause problems under PowerShell, due to automatic variables, and file names on Windows are not case sensitive

I've changed the 64-character `alphabet` in `Reanimate.Cache.encodeInt` for a 32-character one which includes only capital letters and digits. This affects both Windows and unix-like operating systems. (An alternative would be versions of `encodeInt` specified differently for `windows` and `unix`.)

3. POV-Ray for Windows requires the special command line option `/EXIT` to return

I've moved `Reanimate.Povray.mkPovrayImage'` to the two modules `POVRay`. In the `windows` version, `/EXIT` is now added to the list of switches passed to the POV-Ray executable.

4. POV-Ray for Windows cannot parse switches enclosed in `""` as switches

The cause of the problem is described in more detail in the comments in the source code of module `POVRay`.

As a work around, in the `windows` version of `mkPovrayImage'`, the POV-Ray command is written to a temporary batch file and it is that batch file which is passed to `runCmd`.

Other matters

In addition to the above, POV-Ray 3.7 includes 'Script I\O Restrictions` which can prevent the writing of files. These need to be disabled in the POV-Ray for Windows GUI (under the Options menu).
2021-10-16 16:20:34 +08:00
David Himmelstrup
a0780c67fc Limit aeson version to <2. 2021-10-13 15:17:08 +08:00
David Himmelstrup
5ea023980f Bump version to 1.1.4.0 2021-03-11 16:21:48 +08:00
David Himmelstrup
0e580e0fdf
Use newest reanimate-svg. (#197) 2021-02-20 18:46:26 +08:00
David Himmelstrup
d321b17818 Fix cabal file. 2021-01-14 16:23:17 +08:00
David Himmelstrup
4e79d3da1e Bump version to 1.1.3.2 2021-01-14 16:20:29 +08:00
David Himmelstrup
091f065e36
Create flag for toggling hgeometry dependency. (#192) 2021-01-14 16:17:21 +08:00
David Himmelstrup
62666f0a24 Bump to 1.1.3.1 2021-01-04 16:40:20 +08:00
David Himmelstrup
300178d101 Bump version to 1.1.3.0 2021-01-04 14:35:42 +08:00
David Himmelstrup
16fd952c9a
Rework live reloading. (#191) 2021-01-04 13:17:34 +08:00
David Himmelstrup
4e38c3249f Bump version to 1.1.2.1 2020-10-27 19:00:23 +08:00
David Himmelstrup
04c3fd6baf Drop chalkduster from fonts example. 2020-10-27 17:10:11 +08:00
David Himmelstrup
53793fcf1b Bump version to 1.1.1.0 and update changelog. 2020-10-10 21:43:42 +08:00
David Himmelstrup
e9a2bd3bd0 Depend on reanimate-svg >= 0.13 2020-10-10 15:19:55 +08:00
Michal Kukiela
f14192f637 Move .golden files to a subdirectory. (#78) 2020-10-09 16:53:39 +08:00
David Himmelstrup
340ccb3c19 Bump version and update changelog. 2020-10-07 10:14:54 +08:00
David Himmelstrup
110ff7578c Bump reanimate-svg version. 2020-10-07 09:52:11 +08:00
David Himmelstrup
009a9e2188
Support multiple latex configurations. (#173)
* Support multiple latex configurations.

* Don't look for pdf2svg/dvisvgm unless they are actually required.
2020-10-01 14:26:45 +08:00
David Himmelstrup
28279b0d1b Update changelog and bump version to 1.0.0.0 2020-09-20 12:17:12 +08:00
David Himmelstrup
29d173850a Add autogen-modules field. 2020-09-09 15:10:47 +08:00
David Himmelstrup
4f8366a946 Bump version to 0.5.0.1 2020-09-09 15:09:11 +08:00
David Himmelstrup
7781778661
ChangeLog format and tighter bounds (#162)
* Describe ChangeLog format.

* Bump cabal version and set tighter version bounds.
2020-09-09 13:28:07 +08:00
David Himmelstrup
b756ea5ceb Bump version to 0.5.0.0 2020-09-09 11:15:06 +08:00
shaurya gupta
e9f893b6e3
hash frames (#157)
* cache frames via hashing

* use reanimate-svg-0.10.3.0

* NFC: whitespace

* Add hashable-1.3.0.0 to extra deps in lts-13,14

* allow-newer in lts-13

Co-authored-by: David Himmelstrup <lemmih@gmail.com>
2020-09-08 18:58:32 +08:00
David Himmelstrup
1c7fa10f86
Efficient time variables. (#145)
Co-authored-by: shaurya gupta <shauryab98@gmail.com>
2020-09-08 17:35:00 +08:00
David Himmelstrup
f207019713
Use reanimate-svg-0.11.0.0 (#161)
* Use new reanimate-svg.
* Disable nix workflow.
2020-09-08 14:01:18 +08:00
David Himmelstrup
45ca5781e1
Minor style changes. (#155)
* Bump docker watch interval to 30mins.

* Style changes.
2020-09-04 10:15:10 +08:00
David Himmelstrup
903be6173e Implement SSSP with finger trees. 2020-08-31 20:56:13 +08:00
David Himmelstrup
1ec6d3bba8 Release 0.4.3.0 2020-08-29 15:58:50 +08:00
David Himmelstrup
f93b6d9a5a Bump version to 0.4.2.0 2020-08-27 22:42:42 +08:00
David Himmelstrup
ce1059b8b0 Yet more API documentation. 2020-08-26 19:49:57 +08:00
David Himmelstrup
117179cf60
[WIP] Use hgeometry instead of custom code (#142) 2020-08-26 17:39:13 +08:00
David Himmelstrup
1203dc1313 Rename cubicbezier module to Geom2D.CubicBezier.Linear 2020-08-26 15:35:47 +08:00
David Himmelstrup
f5970dc60a Use epsilon definition from 'linear'. 2020-08-25 18:38:44 +08:00
David Himmelstrup
61fd6bc743
Support both cabal and stack in the test-suite. (#139) 2020-08-25 09:57:39 +08:00
David Himmelstrup
0d4a5801de
Morphology (#112)
* Move hmatrix dependency out of reanimate's core.

* Move chiphunk to a separate package.
2020-08-07 15:34:26 +08:00
David Himmelstrup
3e34ca8efe
Update homepade reference. 2020-08-05 11:08:37 +08:00
David Himmelstrup
d3117d860d
Web-viewer: load animations with GHCi. (#125) 2020-08-04 09:07:54 +08:00
David Himmelstrup
78a5b15eca
Wrap CubicBezier with more convenient types. (#122) 2020-08-01 09:39:54 +08:00
David Himmelstrup
593b2d9421 Bump version to 0.4.1.0 2020-07-30 16:49:08 +08:00
David Himmelstrup
70e20d2516 Bump to version 0.4.0.0 2020-07-28 22:44:30 +08:00
David Himmelstrup
63fd198739
Improve filter effect support (#119)
* Depend on newer reanimate-svg.
2020-07-28 22:37:51 +08:00
David Himmelstrup
6b3e7a16b8 Link directly to README on github, add link to issue tracker. 2020-07-19 11:41:52 +08:00
David Himmelstrup
34aa5780ec
Replace 'here' dependency with the lightweight 'neat-interpolation' (#106)
Misc improvements:
 * Add tasty-rerun
 * Extend CI coverage
2020-07-12 13:27:01 +08:00
David Himmelstrup
d64e36fe05
Use high-performance earcutting algorithm (#105) 2020-07-11 14:35:06 +08:00
David Himmelstrup
668a5f0391 Revert "Switch to better earcutting algorithm."
This reverts commit cabf77cceb.
2020-07-11 10:13:47 +08:00