@@ -27,8 +27,7 @@ description:
27 © 2006-2007 Stefan O'Rear; BSD3 license.
27 © 2006-2007 Stefan O'Rear; BSD3 license.
29 © Corey O'Connor; BSD3 license.
29 © Corey O'Connor; BSD3 license.
30−-- the test suites require >= 1.17.0
31−cabal-version: >= 1.14.0
30+cabal-version: >= 1.18.0
32build-type: Simple
31build-type: Simple
33data-files: README.md,
32data-files: README.md,
@@ -38,6 +37,7 @@ data-files: README.md,
40 default-language: Haskell2010
39 default-language: Haskell2010
40+ default-extensions: ScopedTypeVariables
41 build-depends: base >= 4 && < 5,
41 build-depends: base >= 4 && < 5,
42 bytestring,
42 bytestring,
43 containers,
43 containers,
@@ -61,6 +61,8 @@ library
61 Graphics.Vty.Inline.Unsafe
61 Graphics.Vty.Inline.Unsafe
62 Graphics.Vty.Input
62 Graphics.Vty.Input
63 Graphics.Vty.Input.Data
63 Graphics.Vty.Input.Data
64+ Graphics.Vty.Input.Internal
65+ Graphics.Vty.Input.Terminfo
64 Graphics.Vty.Picture
66 Graphics.Vty.Picture
65 Graphics.Vty.Terminal
67 Graphics.Vty.Terminal
66 Graphics.Text.Width
68 Graphics.Text.Width
@@ -90,14 +92,18 @@ library
91 hs-source-dirs: src
93 hs-source-dirs: src
93− ghc-options: -O2 -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr -fspec-constr-count=10
95+ default-extensions: ScopedTypeVariables
96+ ForeignFunctionInterface
98+ ghc-options: -O2 -funbox-strict-fields -threaded -Wall -fspec-constr -fspec-constr-count=10
95− ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr -fspec-constr-count=10
100+ ghc-prof-options: -O2 -funbox-strict-fields -threaded -caf-all -Wall -fspec-constr -fspec-constr-count=10
97 cc-options: -O2
102 cc-options: -O2
99test-suite verify-attribute-ops
104test-suite verify-attribute-ops
100 default-language: Haskell2010
105 default-language: Haskell2010
106+ default-extensions: ScopedTypeVariables
101 type: detailed-0.9
107 type: detailed-0.9
102 hs-source-dirs: test
108 hs-source-dirs: test
103 test-module: VerifyAttributeOps
109 test-module: VerifyAttributeOps
@@ -117,6 +123,7 @@ test-suite verify-attribute-ops
118test-suite verify-using-mock-terminal
124test-suite verify-using-mock-terminal
119 default-language: Haskell2010
125 default-language: Haskell2010
126+ default-extensions: ScopedTypeVariables
121 type: detailed-0.9
128 type: detailed-0.9
@@ -142,12 +149,14 @@ test-suite verify-using-mock-terminal
142 deepseq >= 1.1 && < 1.4,
149 deepseq >= 1.1 && < 1.4,
143 mtl >= 1.1.1.0 && < 2.2,
150 mtl >= 1.1.1.0 && < 2.2,
144 text >= 0.11.3,
151 text >= 0.11.3,
146 utf8-string >= 0.3 && < 0.4,
154 utf8-string >= 0.3 && < 0.4,
147 vector >= 0.7
155 vector >= 0.7
149test-suite verify-terminal
157test-suite verify-terminal
150 default-language: Haskell2010
158 default-language: Haskell2010
159+ default-extensions: ScopedTypeVariables
152 type: detailed-0.9
161 type: detailed-0.9
@@ -180,6 +189,7 @@ test-suite verify-terminal
181test-suite verify-display-attributes
190test-suite verify-display-attributes
182 default-language: Haskell2010
191 default-language: Haskell2010
192+ default-extensions: ScopedTypeVariables
184 type: detailed-0.9
194 type: detailed-0.9
@@ -210,6 +220,7 @@ test-suite verify-display-attributes
211test-suite verify-empty-image-props
221test-suite verify-empty-image-props
212 default-language: Haskell2010
222 default-language: Haskell2010
223+ default-extensions: ScopedTypeVariables
214 type: detailed-0.9
225 type: detailed-0.9
@@ -235,6 +246,7 @@ test-suite verify-empty-image-props
236test-suite verify-eval-terminfo-caps
247test-suite verify-eval-terminfo-caps
237 default-language: Haskell2010
248 default-language: Haskell2010
249+ default-extensions: ScopedTypeVariables
239 type: detailed-0.9
251 type: detailed-0.9
@@ -243,6 +255,7 @@ test-suite verify-eval-terminfo-caps
243 test-module: VerifyEvalTerminfoCaps
255 test-module: VerifyEvalTerminfoCaps
245 other-modules: Verify
257 other-modules: Verify
258+ Verify.Graphics.Vty.Terminal
247 build-depends: vty,
260 build-depends: vty,
248 Cabal == 1.18.*,
261 Cabal == 1.18.*,
@@ -261,6 +274,7 @@ test-suite verify-eval-terminfo-caps
262test-suite verify-image-ops
275test-suite verify-image-ops
263 default-language: Haskell2010
276 default-language: Haskell2010
277+ default-extensions: ScopedTypeVariables
265 type: detailed-0.9
279 type: detailed-0.9
@@ -288,6 +302,7 @@ test-suite verify-image-ops
289test-suite verify-image-trans
303test-suite verify-image-trans
290 default-language: Haskell2010
304 default-language: Haskell2010
305+ default-extensions: ScopedTypeVariables
292 type: detailed-0.9
307 type: detailed-0.9
@@ -315,6 +330,7 @@ test-suite verify-image-trans
316test-suite verify-inline
331test-suite verify-inline
317 default-language: Haskell2010
332 default-language: Haskell2010
333+ default-extensions: ScopedTypeVariables
319 type: detailed-0.9
335 type: detailed-0.9
@@ -341,6 +357,7 @@ test-suite verify-inline
342test-suite verify-parse-terminfo-caps
358test-suite verify-parse-terminfo-caps
343 default-language: Haskell2010
359 default-language: Haskell2010
360+ default-extensions: ScopedTypeVariables
345 type: detailed-0.9
362 type: detailed-0.9
@@ -350,6 +367,7 @@ test-suite verify-parse-terminfo-caps
351 other-modules: Verify
368 other-modules: Verify
352 Verify.Data.Terminfo.Parse
369 Verify.Data.Terminfo.Parse
370+ Verify.Graphics.Vty.Terminal
354 build-depends: vty,
372 build-depends: vty,
355 Cabal == 1.18.*,
373 Cabal == 1.18.*,
@@ -368,6 +386,7 @@ test-suite verify-parse-terminfo-caps
369test-suite verify-simple-span-generation
387test-suite verify-simple-span-generation
370 default-language: Haskell2010
388 default-language: Haskell2010
389+ default-extensions: ScopedTypeVariables
372 type: detailed-0.9
391 type: detailed-0.9
@@ -399,6 +418,7 @@ test-suite verify-simple-span-generation
400test-suite verify-crop-span-generation
419test-suite verify-crop-span-generation
401 default-language: Haskell2010
420 default-language: Haskell2010
421+ default-extensions: ScopedTypeVariables
403 type: detailed-0.9
423 type: detailed-0.9
@@ -430,6 +450,7 @@ test-suite verify-crop-span-generation
431test-suite verify-layers-span-generation
451test-suite verify-layers-span-generation
432 default-language: Haskell2010
452 default-language: Haskell2010
453+ default-extensions: ScopedTypeVariables
434 type: detailed-0.9
455 type: detailed-0.9
@@ -460,6 +481,7 @@ test-suite verify-layers-span-generation
461test-suite verify-utf8-width
482test-suite verify-utf8-width
462 default-language: Haskell2010
483 default-language: Haskell2010
484+ default-extensions: ScopedTypeVariables
464 type: detailed-0.9
486 type: detailed-0.9
@@ -485,34 +507,40 @@ test-suite verify-utf8-width
486test-suite verify-using-mock-input
508test-suite verify-using-mock-input
487 default-language: Haskell2010
509 default-language: Haskell2010
510+ default-extensions: ScopedTypeVariables
489− type: detailed-0.9
512+ type: exitcode-stdio-1.0
491 hs-source-dirs: test
514 hs-source-dirs: test
493− test-module: VerifyUsingMockInput
516+ main-is: VerifyUsingMockInput.hs
495− other-modules: Verify
497 build-depends: vty,
518 build-depends: vty,
498 Cabal == 1.18.*,
519 Cabal == 1.18.*,
499 QuickCheck >= 2.4,
520 QuickCheck >= 2.4,
522+ quickcheck-assertions >= 0.1.1,
523+ test-framework == 0.8.*,
524+ test-framework-smallcheck == 0.2.*,
500 random == 1.0.*,
525 random == 1.0.*,
501 base >= 4 && < 5,
526 base >= 4 && < 5,
502 bytestring,
527 bytestring,
503 containers,
528 containers,
504 deepseq >= 1.1 && < 1.4,
529 deepseq >= 1.1 && < 1.4,
505 mtl >= 1.1.1.0 && < 2.2,
530 mtl >= 1.1.1.0 && < 2.2,
531+ terminfo >= 0.3 && < 0.4,
506 text >= 0.11.3,
532 text >= 0.11.3,
508 utf8-string >= 0.3 && < 0.4,
534 utf8-string >= 0.3 && < 0.4,
509 vector >= 0.7
535 vector >= 0.7
537+ ghc-options: -threaded -Wall
512executable vty-interactive-terminal-test
539executable vty-interactive-terminal-test
513 main-is: interactive_terminal_test.hs
540 main-is: interactive_terminal_test.hs
515 default-language: Haskell2010
542 default-language: Haskell2010
543+ default-extensions: ScopedTypeVariables
517 hs-source-dirs: test
545 hs-source-dirs: test
@@ -533,10 +561,31 @@ executable vty-interactive-terminal-test
533 utf8-string >= 0.3 && < 0.4,
561 utf8-string >= 0.3 && < 0.4,
534 vector >= 0.7
562 vector >= 0.7
566+ hs-source-dirs: test
568+ default-language: Haskell2010
569+ default-extensions: ScopedTypeVariables
573+ array >= 0.4 && < 2.0,
577+ mtl >= 1.1.1.0 && < 2.2,
578+ parallel >= 2.2 && < 3.3,
579+ random >= 1.0 && < 2.0,
581+ utf8-string >= 0.3 && < 0.4,
536executable vty-benchmark
584executable vty-benchmark
537 main-is: benchmark.hs
585 main-is: benchmark.hs
539 default-language: Haskell2010
587 default-language: Haskell2010
588+ default-extensions: ScopedTypeVariables
541 hs-source-dirs: test
590 hs-source-dirs: test