Corey O'Connor
e7361b7c69
Merge pull request #26 from YoshikuniJujo/master
...
Use fdReadBuf instead of fdRead to avoid locale conversion.
2012-08-17 21:39:11 -07:00
Hans-Peter Deifel
028da8fc31
Don't let remain_rows go negative
...
This variable is used as input for toEnum, so it has to be positive.
2012-08-04 22:41:53 +02:00
iocikun.jujon
70af4e602d
version to 4.7.0.15
2012-07-09 11:16:50 +09:00
iocikun.jujon
37b3a672ef
fdReadBuf instead of fdRead to input multi byte character
2012-07-09 10:50:36 +09:00
Corey O'Connor
c68f69fc22
up version to 4.7.0.14
2012-05-19 01:33:55 -07:00
Corey O'Connor
b9d7e7b5df
correct issue #24 : up mtl dependency
2012-05-19 01:28:36 -07:00
Corey O'Connor
f56abd231a
up to 4.7.0.12 for release
2012-04-22 08:55:12 -07:00
Corey O'Connor
e476a6547f
Merge pull request #23 from toothbrush/prefix-cfunctions
...
prefixed all c functions to avoid Cabal bug #944
2012-04-22 08:49:30 -07:00
Paul van der Walt
54d35d6ade
prefixed all c functions to avoid Cabal bug #944
2012-04-22 15:49:25 +02:00
Corey O'Connor
68b3372204
Merge pull request #22 from Mikolaj/master
...
Add rules for keypad keys with Ctrl
2012-03-04 11:23:26 -08:00
Mikolaj
d01c8638df
Add rules for keypad keys with Ctrl
...
Tested with xterm (full success) and rxvt (Home, End and Ins have the same
codes with Ctrl, to be being with, but other keys are OK now).
2012-03-02 20:04:37 +01:00
Mikolaj
eb390a87c1
Spurious whitespace cleanup in LLInput.hs
2012-03-02 19:31:24 +01:00
Corey O'Connor
53fae99eee
up version to 4.7.0.10 for release
2012-02-03 11:30:57 -08:00
Corey O'Connor
c9aceef738
Merge pull request #21 from mgajda/master
...
Dependency patch makes it build with GHC-7.4.1
2012-02-03 11:19:47 -08:00
Michal J. Gajda
2dfe2c25f4
Now builds with GHC 7.4.1.
2012-02-03 07:36:20 +01:00
Corey O'Connor
ba5c62af25
up version to 4.7.0.8 for release
2012-01-12 10:44:35 -08:00
Ben Millwood
ff6ba5fa63
Relax dependencies on parallel and deepseq
2012-01-12 02:25:34 +00:00
Corey O'Connor
7b846fcf25
updating to version 4.7.0.6 for release.
2011-11-02 16:53:45 -07:00
Corey O'Connor
5405f9136c
update test/Makefile
2011-11-02 16:53:21 -07:00
Corey O'Connor
b252930bc0
remove data type context usage. Use GADTs.
2011-11-02 16:53:08 -07:00
Corey O'Connor
caf9656934
Merge pull request #17 from jpnp/master
...
Fix for problem with crop
2011-08-29 22:45:07 -07:00
Corey O'Connor
da635bb377
Merge pull request #16 from Mikolaj/master
...
A possible fix for segfault possibly caused by vty
2011-08-29 22:41:11 -07:00
John Pybus
e072b19be1
Fix multiple ellipses on cropped text spans.
2011-08-18 12:31:32 +01:00
John Pybus
c0b4ce8957
Attempt to fix problem with Image crop
2011-08-18 00:35:52 +01:00
Mikolaj
18fe87aa96
attempt to fix a segfault possibly due to not NUL terminated strings
...
The strings used in withCWStringLen are (despite the incorrect comment)
supposed to come equipped with length, but no NUL at the end
(in particular nothing is allocated for an empty string).
Fortunately, here the length suffices.
See http://hackage.haskell.org/trac/ghc/ticket/5396
and https://github.com/coreyoconnor/vty/issues/14#issuecomment-1813397
2011-08-16 21:57:29 +02:00
Corey O'Connor
a2cdd077a9
up version to 7.4.0.4 for release
2011-07-17 22:14:18 -07:00
Corey O'Connor
4a325a8a2c
nevermind. ghc-prim is still required.
2011-07-17 22:06:16 -07:00
Corey O'Connor
9f6a79b3f7
optimize the compiled C
2011-07-15 00:36:22 -07:00
Corey O'Connor
e5e23c05dd
remove ghc-prim from dependencies
2011-07-14 23:45:26 -07:00
Corey O'Connor
f224ab18b2
I'm reasonably sure we can use unsafeWrite O_O
2011-07-14 23:40:45 -07:00
Corey O'Connor
cc969d903f
Add test target "core" to easily view the ghc-core.
2011-07-14 23:40:14 -07:00
Corey O'Connor
4f3cd6c906
optimize span generation. Use string-qq for tests.
...
Recovers most of the performance lost with 4.7.0.0.
2011-07-14 18:23:02 -07:00
Corey O'Connor
a57c0b5360
Add Word Random instance for GHC < 7.1
2011-07-09 21:06:50 -07:00
Corey O'Connor
c62e5e1e4e
add git ignore
2011-07-09 20:06:52 -07:00
Corey O'Connor
2585c2da31
increment version to 4.7.0.1
2011-07-04 00:20:49 -07:00
Corey O'Connor
05b27000d7
-
2011-07-04 00:04:04 -07:00
Corey O'Connor
e59ce7f39f
Update Span
2011-07-03 23:26:57 -07:00
Corey O'Connor
30fd552a79
Pair image characters with display widths.
...
This way repeated calls to wcwidth are not required within the inner loops of generating spans.
2011-07-03 13:31:23 -07:00
Corey O'Connor
71cd98f595
Up version to 4.7.0.0. Tweak documentation.
2011-05-24 18:07:33 -07:00
Corey O'Connor
de65cb2758
Fixup HereDoc and Verify.
2011-05-19 13:03:46 -07:00
Corey O'Connor
88308c8dee
Merge remote branch 'mathstuf/dev/integration'
...
Conflicts:
src/Graphics/Vty/Image.hs
2011-05-19 12:20:19 -07:00
Corey O'Connor
12b75d1bb4
export wcwidth and wcswidth.
2011-05-13 12:00:16 -07:00
Corey O'Connor
2a600f7d5e
Add BangPatterns as required by ghc 7.1
2011-05-13 11:00:56 -07:00
Ben Boeckel
a5235e4516
Merge branches 'dev/fix-translate' and 'dev/add-cropped-images' into dev/integration
...
* dev/fix-translate:
Return the new number of columns to skip as well
Fix indentation
Return the number of rows to skip after rendering
Clean up show instance for Translation
Fix drawing to incorporate translation
Proper image size of a translation
* dev/add-cropped-images:
Modify dimensions when padding a padded image
Just modify dimensions when cropping pads or crops
Use Word instead of Int for the dimension type
Add padded image ctor and related code
Use the proper index for the height
Improve show instance for ImageCrop
Add operation for cropping an image to size
Conflicts:
src/Graphics/Vty/Image.hs
src/Graphics/Vty/Span.hs
2011-04-02 12:32:31 -04:00
Ben Boeckel
098273dcf6
Modify dimensions when padding a padded image
2011-04-02 12:20:13 -04:00
Ben Boeckel
74ee85377f
Just modify dimensions when cropping pads or crops
2011-04-02 12:20:13 -04:00
Ben Boeckel
0cdd6f3d49
Use Word instead of Int for the dimension type
2011-04-02 12:20:13 -04:00
Ben Boeckel
4c218b7b5e
Return the new number of columns to skip as well
2011-04-02 11:51:53 -04:00
Ben Boeckel
adfb3b35e7
Add padded image ctor and related code
2011-04-02 00:41:42 -04:00
Ben Boeckel
111e5ad4b3
Fix indentation
2011-04-02 00:30:22 -04:00