Commit Graph

134 Commits

Author SHA1 Message Date
Henning Guenther
b000cd4e0a Update NEWS file
Ignore-this: 7e24e82582a82c06d393033177e37ea6

darcs-hash:20090813043850-a4fee-bd38377dee85ca2e91c273457b7f1ecad0bd1585
2009-08-12 21:38:50 -07:00
Henning Guenther
037505e3d6 Documentation for ISO8859-1
Ignore-this: 2c8c38a574a39170f67a4f043406f081

darcs-hash:20090813043833-a4fee-65a4a6eba1ca3d6ad04b69ec9b9ce805edb8e302
2009-08-12 21:38:33 -07:00
Henning Guenther
414adf4e7d Removed obsolete template code
Ignore-this: d555a44d9f5cf27c03f7b5ddd3a6ef4a

darcs-hash:20090813043811-a4fee-6ce046900453472765daf718ffe5446cf65ce4e7
2009-08-12 21:38:11 -07:00
Henning Guenther
dc6c1f142d Move tests to subfolder
Ignore-this: a66b6855c44adcf4008d42633a18dcc0

darcs-hash:20090813043718-a4fee-e9fd245938235a20e79973861c3a4992d20a9d7f
2009-08-12 21:37:18 -07:00
Henning Guenther
73eefc2838 Removed obsolete import
Ignore-this: 1dbf628a27fb6b26d38dbf30e17f3a5e

darcs-hash:20090813024342-a4fee-54437c7ba6ea62ac454a6d1d4dc31c721b227d9f
2009-08-12 19:43:42 -07:00
Henning Guenther
39af34b0a3 Added Preprocessor for XML mappings and normal mappings
Ignore-this: dc0902f526ceb99db528e14c9e3ad563

darcs-hash:20090813024109-a4fee-447c0ff194c227ed919d6eef0f7824e63276183e
2009-08-12 19:41:09 -07:00
Henning Guenther
6101ee16ae Switch from Template-based code generating to text-based
Ignore-this: f58ceb5e1068be132b0a67a851b096f4
This has two advantages:
1. TemplateHaskell is painfully slow. There, I said it.
2. TemplateHaskell doesn't yet support some extensions that can be usefull for this library. Specifically the MagicHash extension.

darcs-hash:20090813023321-a4fee-0da13d0da6454f6ba3bd111ed6b80268d9e1b45c
2009-08-12 19:33:21 -07:00
Henning Guenther
1ad8755a80 Fix chr calling on big numbers in UTF8
Ignore-this: 3a7650c4b75691b79b082db6bddd5b8b

darcs-hash:20090813022455-a4fee-1989c74eb7f7a9daa87f902da138c45185ea520e
2009-08-12 19:24:55 -07:00
Henning Guenther
c4a1e63869 Changed version to 0.5.2
Ignore-this: dbf13b00cc9d7fc9133d333af113e95e

darcs-hash:20090806114518-a4fee-803a90ad4e15185477a3ba3224bb123be78b2c60
2009-08-06 04:45:18 -07:00
Daniel Wagner
4b8a0341ac export encodingFromStringMaybe (as encodingFromStringExplicit for consistency)
Ignore-this: 93f0968658fbdcd66f8f352308ebb1d5

darcs-hash:20090730233821-76d51-9ee074434d3626ad1a49cc44678d937fdb8750ce
2009-07-30 16:38:21 -07:00
Henning Guenther
8b5975bde5 Set cabal file version to 0.5.1
Ignore-this: c38e113f436cb7780c13294a2b6ca204

darcs-hash:20090311160251-a4fee-ab11b9a4767a0d32d8e4449cc0cb960709999226
2009-03-11 09:02:51 -07:00
Henning Guenther
733e39c9c5 Fixed missing symbol error
Ignore-this: 74737e29ca18f14d3c6368d0e6fd5266

darcs-hash:20090307235915-a4fee-1f487ef97eb85851eb1147866da28fa0a945165f
2009-03-07 15:59:15 -08:00
Henning Guenther
3fe8b56539 Included extra files in the cabal file
Ignore-this: b0470515a20c9c6ab15e4ac122065da5

darcs-hash:20090306150225-a4fee-a21ac1acad202a360764df66624f8a13fc228bab
2009-03-06 07:02:25 -08:00
Henning Guenther
46d5eb8efd Generalized column skipping in code tables
Ignore-this: dbcc883c561f2f074dd4739387dd3f43

darcs-hash:20090306150105-a4fee-b4d441cd38c758c803732e0c74a86a53d8db9c28
2009-03-06 07:01:05 -08:00
Henning Guenther
6b57fd01c2 Added JIS0212 data
Ignore-this: 249c7da22447627edd796eaaa403045b

darcs-hash:20090303131723-a4fee-722fc03a8585e1a1ca9a118dd698d049a9e64be9
2009-03-03 05:17:23 -08:00
Henning Guenther
fb5111d7dc ISO2022JP encoding
Ignore-this: fa857024fa249fff451f5c024962484e

darcs-hash:20090303125641-a4fee-ac96e5788bb6b3cdf61f2e19f4bd19ece710e24b
2009-03-03 04:56:41 -08:00
Henning Guenther
7f65298d3a ISO2022 encoding
Ignore-this: 6058e1ef5776d1cdf70c32e533252b5e

darcs-hash:20090303125452-a4fee-d9a0533bf8215100a923f6552775048c2844a240
2009-03-03 04:54:52 -08:00
Henning Guenther
693010654c Added JISX0212
Ignore-this: 731c592d836554408bd7350b20a623a3

darcs-hash:20090303125335-a4fee-48fb4fa694f42bae3ba57834c3e52966c414bb55
2009-03-03 04:53:35 -08:00
Henning Guenther
26924f12a5 Added JISX0212 to cabal file
Ignore-this: f265ef1c7b0096b55a487eb63264b0af

darcs-hash:20090303125143-a4fee-8e5416156fec585f38270f87d5c5faab395eeed2
2009-03-03 04:51:43 -08:00
Henning Guenther
53d723d61e Added MacOSRoman
Ignore-this: 9e8a302ffb6510ac490e71274d831231

darcs-hash:20090303125116-a4fee-ab486e72484d1ab9ac33dedc0ab2150ad05d2714
2009-03-03 04:51:16 -08:00
Henning Guenther
3270e03da1 Made decoding array lookup safe
Ignore-this: 346535974ae363daf4ade7e22ed48ad7

darcs-hash:20090226144653-a4fee-42808f15a3bab3fa1712ab12d8b0cfb54ff96aad
2009-02-26 06:46:53 -08:00
Henning Guenther
6eb2d51ee2 Decoding arrays are unboxed (thus strict) now
darcs-hash:20090225075818-a4fee-f558e4bde484482e0987c8623c3b2ec54ac4e394
2009-02-24 23:58:18 -08:00
Henning Guenther
3b3f042529 Fix case and indentation
darcs-hash:20090225073306-a4fee-a93aac7f0d47124c91a6b0a4899e9a96649d009d
2009-02-24 23:33:06 -08:00
Henning Guenther
c2899caa35 Added ISO 2022-JP string to names list
darcs-hash:20090225073143-a4fee-ec84c9ab6d5baa030e204df92bc5f4450011f9f9
2009-02-24 23:31:43 -08:00
Henning Guenther
d2e7eeddd1 Updated news file
darcs-hash:20090225071714-a4fee-e38af4b173aad5cced3a0f9999d13c202d1a2050
2009-02-24 23:17:14 -08:00
Henning Guenther
ad5c9e1d59 Added ISO2022JP to cabal file
darcs-hash:20090225040620-a4fee-f90d7f0763b5fb8996d594cd64753cfd2cedb530
2009-02-24 20:06:20 -08:00
Henning Guenther
0608a57c6b Added ISO2022JP testcase
darcs-hash:20090225040556-a4fee-38a743dc10cd3eca8b33cc656ba33f6e89354db5
2009-02-24 20:05:56 -08:00
Henning Guenther
0b18661553 Added JISX0208 encoding file
darcs-hash:20090225040351-a4fee-c061eed83f2d97c98a4ed56e75f58c4bf0f9b057
2009-02-24 20:03:51 -08:00
Henning Guenther
d12097c7a1 Removed useless comment
darcs-hash:20090225040233-a4fee-16dcf1f9cbc42c7e379f8ba83cb5f16ff1832d2c
2009-02-24 20:02:33 -08:00
Henning Guenther
7b2af16c03 Added fetchAhead function
darcs-hash:20090225040209-a4fee-816a8cef5c9edeea5b35fd5fe75ca5b0ec36ee17
2009-02-24 20:02:09 -08:00
Henning Guenther
5528bf1a55 Added encodeable function
darcs-hash:20090225040044-a4fee-67753f6d651b18d5bd3a28340ea8f5d7ea7eb90d
2009-02-24 20:00:44 -08:00
Henning Guenther
1543e75f50 Added Eq instance for DynEncoding
This envolves adding the requirement, that every Encoding must also be an instance of Eq and Typeable to go into DynEncoding.

darcs-hash:20090225035150-a4fee-c7d902e28313929ee9ffe0c6a6b60d8ff4704ae9
2009-02-24 19:51:50 -08:00
Henning Guenther
b95bfe9be4 JIS X 0208 encoding
darcs-hash:20090223182459-a4fee-98ced8f8b7bac594dc6510eeecb6bea8c51a6090
2009-02-23 10:24:59 -08:00
Henning Guenther
0398f66695 Remove Hack Warning
darcs-hash:20090222183603-a4fee-b9435eb4652e49092c8c3b875e72006ff03b9de2
2009-02-22 10:36:03 -08:00
Henning Guenther
9344038d33 JIS X 0201 encoding
darcs-hash:20090222182246-a4fee-903520e4098e6809877fc55568207f40ebd6fda9
2009-02-22 10:22:46 -08:00
Henning Guenther
d83074fa18 MacOS Roman encoding
darcs-hash:20090222035756-a4fee-d2fef7a2c3317fbe9f25ab80bb6e156ceb0abf8a
2009-02-21 19:57:56 -08:00
Henning Guenther
9e94c56aa0 Updated NEWS file for 0.5
darcs-hash:20090222034200-a4fee-a3ded8b6ae57fc33637778fb4dce6f378fac1ae4
2009-02-21 19:42:00 -08:00
Henning Guenther
eeee054f1e Rewrite to support more sources and changing the encoding dynamically
Now it's possible to change the character encoding while de-/encoding.
Also, it's possible to use any data structure as a source or target of the de-/encoding process.

darcs-hash:20090221203100-a4fee-6da31f2e37c30a3f5cd5f10af71984209488bb0b
2009-02-21 12:31:00 -08:00
Khudyakov Alexey
8b16078e5e Fix for KOI8-R and KOI8-U encodings
Characters which should be encoded in [128..255] range were encoded into
[0..127] range.
** END OF DESCRIPTION***

Place the long patch description above the ***END OF DESCRIPTION*** marker.
The first line of this file will be the patch name.

This patch contains the following changes:

M ./Data/Encoding/KOI8R.hs -1 +1
M ./Data/Encoding/KOI8U.hs -1 +1

darcs-hash:20090118232224-7ba7e-c685a571f6ac9a9ca78725a80040e842f4a7e5a7
2009-01-18 15:22:24 -08:00
Henning Guenther
2b9f9a87de Updated cabal version number to 0.4.1
darcs-hash:20080517232203-a4fee-db1a5663e16f6ae825f0b5c13192209a90bd7c5a
2008-05-17 16:22:03 -07:00
gaetan.lehmann
5eed326c08 Add the support for a large number of encoding name aliases. The aliases are the ones used in python, and are normalized as in python: they are case and separator insensitive.
darcs-hash:20080514130514-2fc9d-1b53b11141878a8651f3bde7e427c877172e6722
2008-05-14 06:05:14 -07:00
Henning Guenther
6405d95956 Added 'Build-Type' to cabal file
As instructed by the lastest cabal release

darcs-hash:20080203133341-a4fee-0af681465e6aa0ee1967efd3266eecf7df364397
2008-02-03 05:33:41 -08:00
Henning Guenther
3d6bf94b54 Changed cabal version number
darcs-hash:20080203132637-a4fee-900de107fb793ce621a964ccd29cf478f91fef3e
2008-02-03 05:26:37 -08:00
Henning Guenther
ccccfb7f66 Added changes for 0.4
darcs-hash:20080203132339-a4fee-aad599be6f7a57b2f1ca98a0fb865bb3c61f8de2
2008-02-03 05:23:39 -08:00
Henning Guenther
d5f4d60698 Made HPC analysis possible
HPC doesn't like TemplateHaskell yet, so we have to comment things that require TemplateHaskell out using a preprocessor.

darcs-hash:20080203132156-a4fee-6587e14d7c57e0dfbc9f50746502e6b0a68b6632
2008-02-03 05:21:56 -08:00
Henning Guenther
6c5011aaa3 Added KOI8U encoding
darcs-hash:20080120213322-a4fee-752cc3f3ec4e7a01e5bbf93bad08a88ca3cb3a5b
2008-01-20 13:33:22 -08:00
Henning Guenther
c201774307 Made Punycode tests more readable
darcs-hash:20080120144023-a4fee-eb86482338c8eb86bca473cdb42d1446df90cc3c
2008-01-20 06:40:23 -08:00
Henning Guenther
77d41d7cbb Added BootString tests
darcs-hash:20080120013120-a4fee-4b40f1753d33ed12ac730b619ef26dd2e9d695a5
2008-01-19 17:31:20 -08:00
Henning Guenther
42cdeecc96 Watch out for overflows in BootString
darcs-hash:20080120013020-a4fee-282b60f860817f1f5994e4a867980d02f8020609
2008-01-19 17:30:20 -08:00
Henning Guenther
8d740cf88a Refactored getT out of BootString
darcs-hash:20080120010829-a4fee-7d617d76cc2e67b0e33662510c9736367396d2ea
2008-01-19 17:08:29 -08:00