endhrk
63e17e9a22
Implemented CP932 and ShiftJIS encodings
...
Ignore-this: 67153b679dabd226a7b1fab3ff501453
darcs-hash:20160725070504-fb088-842c21423d713a81a8ada591dffdfbb9cd08b68c
2016-07-25 00:05:04 -07:00
Daniel Wagner
2e910834dc
unbreak the build
...
Ignore-this: d1335751599d3d5e80360d415984e1b8
darcs-hash:20150206173311-7469c-f1074a310d4d296496989e0fcb900a1bf93ae996
2015-02-06 09:33:11 -08:00
ryan.trinkle
e5e64a794f
Add Applicative instances for instances of Monad
...
Ignore-this: a95ef4a320b4c1506f5352716a656385
darcs-hash:20150116211446-5ff09-fca82019a01b124f7c93efe6f25ff73d1abfa665
2015-01-16 13:14:46 -08:00
Daniel Wagner
e6a388b038
amend MacOSRoman to match http://en.wikipedia.org/wiki/Mac_OS_Roman as suggested by Adam Bergmark
...
Ignore-this: 5c8f8abc665d16ac061cc8fd730b11ae
darcs-hash:20140707173911-7469c-7747c7710cdbbe489dde218eb72ab4e98683e70c
2014-07-07 10:39:11 -07:00
Daniel Wagner
00f914ebde
GHC 7.8 compatibility, based on a patch suggested by José Romildo Malaquias
...
Ignore-this: 4a655a3a1d2348054d2028f5c26dc0d5
darcs-hash:20140525015603-7469c-30d96daeffde6da775c2b8f6579c0a2fbbfc479a
2014-05-24 18:56:03 -07:00
Daniel Wagner
8b1f45a6ec
binary-0.6 compatibility
...
Ignore-this: 6af2adadedc20f51bb5084b3da59724e
darcs-hash:20121213030806-76d51-6d52680cab9b4f4b6c2ba17e29fa457b85d4d838
2012-12-12 19:08:06 -08:00
Daniel Wagner
9da33cd371
add Ord and Read instances to the encoding/decoding exceptions
...
Ignore-this: 5ec11b8739b241f1cc2935f5f8e34bfb
darcs-hash:20121208023123-76d51-b27be713e80337673d35c2b749a52e964810b17b
2012-12-07 18:31:23 -08:00
Daniel Wagner
d8f94105ee
throw -> throwException; all tests now pass
...
Ignore-this: 9ca8029db67a3f2a55e74b9d2f5deb90
darcs-hash:20121203225812-76d51-341b22e3205a2d5348ab7bf2df4320824b01a172
2012-12-03 14:58:12 -08:00
Daniel Wagner
3f8c3bbb26
whitespace: eol marker at end of all files
...
Ignore-this: 3b03abece3edb25c656f84db9cef7734
darcs-hash:20121017171258-76d51-76a4e9057c0a4c3c1370485f3dc072c18caafddf
2012-10-17 10:12:58 -07:00
Daniel Wagner
ffb37b3e2c
minor cleanup: remove some commented-out code
...
Ignore-this: b85f525f9eaba4e475e157a541c45070
darcs-hash:20120420205823-76d51-62f8eb59cb07d75ca4f5be1a787be93746075c85
2012-04-20 13:58:23 -07:00
Daniel Wagner
a95a1e298b
changes for GHC-7 and HaXml-1.22 compatibility
...
Ignore-this: c517f25bda6021abca5d16cf9d7d88dd
darcs-hash:20120420205714-76d51-a665d650004e98cad59fa489b97b81496848bc3b
2012-04-20 13:57:14 -07:00
Henning Guenther
44f3f083aa
Make package work with base-4.3 and mtl-2
...
Ignore-this: 85b05556d0b7b5968d2d0340ea9daf5d
darcs-hash:20110425123827-a4fee-dd4f4c2a305d9937316b57dbe50ce154494032ac
2011-04-25 05:38:27 -07:00
Henning Guenther
9a7f52ab7a
Fix compilation with mtl-2
...
Ignore-this: 867097705abf2d63e427858078720dc4
This took really long, sorry everybody :/
darcs-hash:20110403123836-a4fee-c6af95e58267ca7e215e24bee250d0bbae13a1d4
2011-04-03 05:38:36 -07:00
Daniel Wagner
a3a24776a3
let D.E.ASCII conform to the spec
...
Ignore-this: 788eb99b3948ce201769471919562114
The contract for the "encodeable" function says, in part, "If it yields False,
encodeChar must throw an exception.". This patch makes the ASCII encoding
instance throw an exception for non-ASCII characters.
darcs-hash:20100909222914-76d51-76d9891ae18f13751b004e2b6ed24401192ae79f
2010-09-09 15:29:14 -07:00
Henning Guenther
87dbb737ed
Fix encoding range of UTF16
...
Ignore-this: 444de9225bcb43b6af883a9cdf5f352a
Found due to better QuickCheck properties
darcs-hash:20100214220255-a4fee-56b8388a1379774f3603405e144cdedead4a2edc
2010-02-14 14:02:55 -08:00
Henning Guenther
7b887abcb1
Fix bang pattern warning
...
Ignore-this: 25c92a74956ada02b849a5bdb56f78c1
darcs-hash:20100214211452-a4fee-22d79ad1175d6d8728b2c9ba438a44ff891aa69f
2010-02-14 13:14:52 -08:00
Henning Guenther
871b207ab2
Tuple instances for StaticElement
...
Ignore-this: 50d3356bb845ae964e3a4b45cac0235d
darcs-hash:20090829135510-a4fee-131e4610a14dbd1b9f6d17aa65f41e2b5458311e
2009-08-29 06:55:10 -07:00
Henning Guenther
f7b6c800ef
Generate fancy translation table for documentation
...
Ignore-this: 353d70985d048216dcf4522ceef10c26
darcs-hash:20090829131955-a4fee-c9e694757edc00d61e4a4365ef1fe2b0aeb948e8
2009-08-29 06:19:55 -07:00
Henning Guenther
85394f42d2
Remove bogus documentation from ISO modules
...
Ignore-this: a81365c812029787ddc46e9b6d597e5d
darcs-hash:20090829131726-a4fee-03bd97dfe38876c7c41039f5dc27a54a71ed7755
2009-08-29 06:17:26 -07:00
Henning Guenther
b12649a071
Allow for documentation on mapping files
...
Ignore-this: 5bcfdd21c16464e29fb7498dd6ec8915
Use the first commented lines in each mapping file as the docstring for the whole module.
darcs-hash:20090829125423-a4fee-c99efd2cccdaa24d3b283aca0d43cd7ff6970c7f
2009-08-29 05:54:23 -07:00
Henning Guenther
56867f5768
Add warning about auto-generated files
...
Ignore-this: 848d57a87bb839738cb055ff578b4784
darcs-hash:20090829121624-a4fee-b98f311f8e3358d3185d8cf9a796458ef234e2a7
2009-08-29 05:16:24 -07:00
Henning Guenther
98ece426d9
Document Encoding base classes
...
Ignore-this: 6a7f57460edd3a888d5f214c9aa115b
darcs-hash:20090828223146-a4fee-0e54f4127ceef0ddc6bfd938813b030d5b2faf19
2009-08-28 15:31:46 -07:00
Henning Guenther
94b3b3f7d9
Various MSDOS copepages added
...
Ignore-this: 6adc7c3ba146e7c41d3178241c173751
darcs-hash:20090828222844-a4fee-08926d980f1ffc4287b992a528855d03dd2d7bed
2009-08-28 15:28:44 -07:00
Henning Guenther
2a2630625c
Add Show instance for DynEncoding
...
Ignore-this: 358ed8859aebfc1e9493150fbec0ff40
darcs-hash:20090828213441-a4fee-83066014b6a8b4d92c41c8bda7a36ea5c141673b
2009-08-28 14:34:41 -07:00
Henning Guenther
6f3c147f8d
Added missing Data.Static
...
Ignore-this: 1bea98c16d73c055f608e8e2ea7b99d0
darcs-hash:20090813050306-a4fee-8fa3d698cffaff03b58cd867a29d7d08d078fd42
2009-08-12 22:03:06 -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
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
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
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
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
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
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