koco-cvs Mailing List for Python Korean Codecs (Page 17)
Brought to you by:
perky
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(88) |
May
(5) |
Jun
|
Jul
(27) |
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(77) |
Feb
(3) |
Mar
|
Apr
(22) |
May
(123) |
Jun
(80) |
Jul
(83) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chang <pe...@us...> - 2002-07-19 00:01:54
|
perky 02/07/18 17:01:53 Modified: korean/python __init__.py cp949.py euc_kr.py hangul.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.3 +2 -2 KoreanCodecs/korean/python/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- __init__.py 13 Jul 2002 06:57:36 -0000 1.2 +++ __init__.py 19 Jul 2002 00:01:53 -0000 1.3 @@ -14,8 +14,8 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: __init__.py,v 1.2 2002/07/13 06:57:36 perky Exp $ +# $Id: __init__.py,v 1.3 2002/07/19 00:01:53 perky Exp $ # 1.4 +2 -2 KoreanCodecs/korean/python/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/cp949.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cp949.py 13 Jul 2002 06:57:36 -0000 1.3 +++ cp949.py 19 Jul 2002 00:01:53 -0000 1.4 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: cp949.py,v 1.3 2002/07/13 06:57:36 perky Exp $ +# $Id: cp949.py,v 1.4 2002/07/19 00:01:53 perky Exp $ # from korean.python.euc_kr import * 1.8 +2 -2 KoreanCodecs/korean/python/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/euc_kr.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- euc_kr.py 13 Jul 2002 06:57:36 -0000 1.7 +++ euc_kr.py 19 Jul 2002 00:01:53 -0000 1.8 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: euc_kr.py,v 1.7 2002/07/13 06:57:36 perky Exp $ +# $Id: euc_kr.py,v 1.8 2002/07/19 00:01:53 perky Exp $ # import codecs 1.14 +2 -2 KoreanCodecs/korean/python/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/hangul.py,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- hangul.py 13 Jul 2002 06:57:36 -0000 1.13 +++ hangul.py 19 Jul 2002 00:01:53 -0000 1.14 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: hangul.py,v 1.13 2002/07/13 06:57:36 perky Exp $ +# $Id: hangul.py,v 1.14 2002/07/19 00:01:53 perky Exp $ # class UnicodeHangulError(Exception): 1.11 +2 -2 KoreanCodecs/korean/python/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/iso_2022_kr.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- iso_2022_kr.py 13 Jul 2002 06:57:36 -0000 1.10 +++ iso_2022_kr.py 19 Jul 2002 00:01:53 -0000 1.11 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: iso_2022_kr.py,v 1.10 2002/07/13 06:57:36 perky Exp $ +# $Id: iso_2022_kr.py,v 1.11 2002/07/19 00:01:53 perky Exp $ # import codecs 1.9 +2 -2 KoreanCodecs/korean/python/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/johab.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- johab.py 13 Jul 2002 06:57:36 -0000 1.8 +++ johab.py 19 Jul 2002 00:01:53 -0000 1.9 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: johab.py,v 1.8 2002/07/13 06:57:36 perky Exp $ +# $Id: johab.py,v 1.9 2002/07/19 00:01:53 perky Exp $ # import codecs 1.9 +2 -2 KoreanCodecs/korean/python/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/qwerty2bul.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- qwerty2bul.py 13 Jul 2002 06:57:36 -0000 1.8 +++ qwerty2bul.py 19 Jul 2002 00:01:53 -0000 1.9 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: qwerty2bul.py,v 1.8 2002/07/13 06:57:36 perky Exp $ +# $Id: qwerty2bul.py,v 1.9 2002/07/19 00:01:53 perky Exp $ # import codecs 1.8 +2 -2 KoreanCodecs/korean/python/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/unijohab.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- unijohab.py 13 Jul 2002 06:57:36 -0000 1.7 +++ unijohab.py 19 Jul 2002 00:01:53 -0000 1.8 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: unijohab.py,v 1.7 2002/07/13 06:57:36 perky Exp $ +# $Id: unijohab.py,v 1.8 2002/07/19 00:01:53 perky Exp $ # import codecs |
From: Chang <pe...@us...> - 2002-07-19 00:01:54
|
perky 02/07/18 17:01:53 Modified: korean/utils geniconv.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.3 +2 -2 KoreanCodecs/korean/utils/geniconv.py Index: geniconv.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/utils/geniconv.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- geniconv.py 13 Jul 2002 06:57:36 -0000 1.2 +++ geniconv.py 19 Jul 2002 00:01:53 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: geniconv.py,v 1.2 2002/07/13 06:57:36 perky Exp $ +# $Id: geniconv.py,v 1.3 2002/07/19 00:01:53 perky Exp $ # from __future__ import division |
From: Chang <pe...@us...> - 2002-07-19 00:01:54
|
perky 02/07/18 17:01:52 Modified: . setup.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.28 +2 -2 KoreanCodecs/setup.py Index: setup.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/setup.py,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- setup.py 13 Jul 2002 06:57:34 -0000 1.27 +++ setup.py 19 Jul 2002 00:01:52 -0000 1.28 @@ -15,10 +15,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: setup.py,v 1.27 2002/07/13 06:57:34 perky Exp $ +# $Id: setup.py,v 1.28 2002/07/19 00:01:52 perky Exp $ # import sys |
From: Chang <pe...@us...> - 2002-07-19 00:01:53
|
perky 02/07/18 17:01:53 Modified: korean/mappings __init__.py johab_ideograph.py ksc5601_hangul.py ksc5601_ideograph.py ksc5601_misc.py uhc.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.3 +2 -2 KoreanCodecs/korean/mappings/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- __init__.py 13 Jul 2002 06:57:35 -0000 1.2 +++ __init__.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,8 +14,8 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: __init__.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: __init__.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # 1.3 +2 -2 KoreanCodecs/korean/mappings/johab_ideograph.py Index: johab_ideograph.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/johab_ideograph.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- johab_ideograph.py 13 Jul 2002 06:57:35 -0000 1.2 +++ johab_ideograph.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: johab_ideograph.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: johab_ideograph.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # decoding_map = { 1.3 +2 -2 KoreanCodecs/korean/mappings/ksc5601_hangul.py Index: ksc5601_hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_hangul.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ksc5601_hangul.py 13 Jul 2002 06:57:35 -0000 1.2 +++ ksc5601_hangul.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: ksc5601_hangul.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: ksc5601_hangul.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # decoding_map = { 1.3 +2 -2 KoreanCodecs/korean/mappings/ksc5601_ideograph.py Index: ksc5601_ideograph.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_ideograph.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ksc5601_ideograph.py 13 Jul 2002 06:57:35 -0000 1.2 +++ ksc5601_ideograph.py 19 Jul 2002 00:01:53 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: ksc5601_ideograph.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: ksc5601_ideograph.py,v 1.3 2002/07/19 00:01:53 perky Exp $ # decoding_map = { 1.3 +2 -2 KoreanCodecs/korean/mappings/ksc5601_misc.py Index: ksc5601_misc.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_misc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ksc5601_misc.py 13 Jul 2002 06:57:35 -0000 1.2 +++ ksc5601_misc.py 19 Jul 2002 00:01:53 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: ksc5601_misc.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: ksc5601_misc.py,v 1.3 2002/07/19 00:01:53 perky Exp $ # decoding_map = { 1.3 +2 -2 KoreanCodecs/korean/mappings/uhc.py Index: uhc.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/uhc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- uhc.py 13 Jul 2002 06:57:35 -0000 1.2 +++ uhc.py 19 Jul 2002 00:01:53 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: uhc.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: uhc.py,v 1.3 2002/07/19 00:01:53 perky Exp $ # decoding_map = { |
From: Chang <pe...@us...> - 2002-07-19 00:01:53
|
perky 02/07/18 17:01:52 Modified: korean __init__.py aliases.py cp949.py euc_kr.py hangul.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.6 +2 -2 KoreanCodecs/korean/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/__init__.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- __init__.py 13 Jul 2002 06:57:34 -0000 1.5 +++ __init__.py 19 Jul 2002 00:01:52 -0000 1.6 @@ -14,8 +14,8 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: __init__.py,v 1.5 2002/07/13 06:57:34 perky Exp $ +# $Id: __init__.py,v 1.6 2002/07/19 00:01:52 perky Exp $ # 1.6 +2 -2 KoreanCodecs/korean/aliases.py Index: aliases.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/aliases.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- aliases.py 13 Jul 2002 06:57:34 -0000 1.5 +++ aliases.py 19 Jul 2002 00:01:52 -0000 1.6 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: aliases.py,v 1.5 2002/07/13 06:57:34 perky Exp $ +# $Id: aliases.py,v 1.6 2002/07/19 00:01:52 perky Exp $ # import encodings.aliases 1.3 +2 -2 KoreanCodecs/korean/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/cp949.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cp949.py 13 Jul 2002 06:57:34 -0000 1.2 +++ cp949.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: cp949.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: cp949.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: 1.3 +2 -2 KoreanCodecs/korean/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/euc_kr.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- euc_kr.py 13 Jul 2002 06:57:34 -0000 1.2 +++ euc_kr.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: euc_kr.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: euc_kr.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: 1.5 +2 -2 KoreanCodecs/korean/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/hangul.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- hangul.py 13 Jul 2002 06:57:34 -0000 1.4 +++ hangul.py 19 Jul 2002 00:01:52 -0000 1.5 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: hangul.py,v 1.4 2002/07/13 06:57:34 perky Exp $ +# $Id: hangul.py,v 1.5 2002/07/19 00:01:52 perky Exp $ # try: 1.3 +2 -2 KoreanCodecs/korean/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/iso_2022_kr.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- iso_2022_kr.py 13 Jul 2002 06:57:34 -0000 1.2 +++ iso_2022_kr.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: iso_2022_kr.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: iso_2022_kr.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: 1.3 +2 -2 KoreanCodecs/korean/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/johab.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- johab.py 13 Jul 2002 06:57:34 -0000 1.2 +++ johab.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: johab.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: johab.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: 1.3 +2 -2 KoreanCodecs/korean/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/qwerty2bul.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- qwerty2bul.py 13 Jul 2002 06:57:34 -0000 1.2 +++ qwerty2bul.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: qwerty2bul.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: qwerty2bul.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: 1.3 +2 -2 KoreanCodecs/korean/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/unijohab.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- unijohab.py 13 Jul 2002 06:57:34 -0000 1.2 +++ unijohab.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: unijohab.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# $Id: unijohab.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # try: |
From: Chang <pe...@us...> - 2002-07-19 00:01:53
|
perky 02/07/18 17:01:52 Modified: korean/c __init__.py cp949.py euc_kr.py Log: Ooh! We aren't Foobar project. :) Revision Changes Path 1.3 +2 -2 KoreanCodecs/korean/c/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- __init__.py 13 Jul 2002 06:57:35 -0000 1.2 +++ __init__.py 19 Jul 2002 00:01:52 -0000 1.3 @@ -14,8 +14,8 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: __init__.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# $Id: __init__.py,v 1.3 2002/07/19 00:01:52 perky Exp $ # 1.4 +2 -2 KoreanCodecs/korean/c/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/cp949.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cp949.py 13 Jul 2002 06:57:35 -0000 1.3 +++ cp949.py 19 Jul 2002 00:01:52 -0000 1.4 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: cp949.py,v 1.3 2002/07/13 06:57:35 perky Exp $ +# $Id: cp949.py,v 1.4 2002/07/19 00:01:52 perky Exp $ # import codecs 1.4 +2 -2 KoreanCodecs/korean/c/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/euc_kr.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- euc_kr.py 13 Jul 2002 06:57:35 -0000 1.3 +++ euc_kr.py 19 Jul 2002 00:01:52 -0000 1.4 @@ -14,10 +14,10 @@ # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Foobar; if not, write to the Free Software +# along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: euc_kr.py,v 1.3 2002/07/13 06:57:35 perky Exp $ +# $Id: euc_kr.py,v 1.4 2002/07/19 00:01:52 perky Exp $ # import codecs |
From: Chang <pe...@us...> - 2002-07-13 06:57:38
|
perky 02/07/12 23:57:37 Modified: src _koco.c _koco_ksc5601.h _koco_uhc.h cp949_codec.h euckr_codec.h hangul.c koco_stream.h tablegen.py Log: - Add LGPL Copyright Header Revision Changes Path 1.20 +18 -4 KoreanCodecs/src/_koco.c Index: _koco.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/_koco.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- _koco.c 13 Jul 2002 06:10:22 -0000 1.19 +++ _koco.c 13 Jul 2002 06:57:37 -0000 1.20 @@ -1,17 +1,31 @@ /* - * _koco.c + * _koco.c - $Revision: 1.20 $ * * KoreanCodecs C Implementations * * Author : Hye-Shik Chang <pe...@Fr...> - * Date : $Date: 2002/07/13 06:10:22 $ + * Date : $Date: 2002/07/13 06:57:37 $ * Created : 15 March 2002 * - * $Revision: 1.19 $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ static char *version = -"$Id: _koco.c,v 1.19 2002/07/13 06:10:22 perky Exp $"; +"$Id: _koco.c,v 1.20 2002/07/13 06:57:37 perky Exp $"; #define UNIFIL 0xfffd 1.4 +18 -2 KoreanCodecs/src/_koco_ksc5601.h Index: _koco_ksc5601.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/_koco_ksc5601.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- _koco_ksc5601.h 16 Mar 2002 01:44:04 -0000 1.3 +++ _koco_ksc5601.h 13 Jul 2002 06:57:37 -0000 1.4 @@ -1,6 +1,22 @@ /* - Generated by tablegen.py on Sat Mar 16 01:24:40 2002 - $Id: _koco_ksc5601.h,v 1.3 2002/03/16 01:44:04 perky Exp $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Generated by tablegen.py on Sat Mar 16 01:24:40 2002 + * $Id: _koco_ksc5601.h,v 1.4 2002/07/13 06:57:37 perky Exp $ */ #define ksc5601_decode_bottom 161 1.4 +18 -2 KoreanCodecs/src/_koco_uhc.h Index: _koco_uhc.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/_koco_uhc.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- _koco_uhc.h 16 Mar 2002 01:44:04 -0000 1.3 +++ _koco_uhc.h 13 Jul 2002 06:57:37 -0000 1.4 @@ -1,6 +1,22 @@ /* - Generated by tablegen.py on Sat Mar 16 01:24:41 2002 - $Id: _koco_uhc.h,v 1.3 2002/03/16 01:44:04 perky Exp $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Generated by tablegen.py on Sat Mar 16 01:24:41 2002 + * $Id: _koco_uhc.h,v 1.4 2002/07/13 06:57:37 perky Exp $ */ #define uhc_page0_bottom 0x41 1.4 +17 -3 KoreanCodecs/src/cp949_codec.h Index: cp949_codec.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/cp949_codec.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cp949_codec.h 13 Jul 2002 06:10:22 -0000 1.3 +++ cp949_codec.h 13 Jul 2002 06:57:37 -0000 1.4 @@ -1,13 +1,27 @@ /* - * cp949_codec.h + * cp949_codec.h - $Revision: 1.4 $ * * KoreanCodecs CP949 Codec C Implementation * * Author : Hye-Shik Chang <pe...@Fr...> - * Date : $Date: 2002/07/13 06:10:22 $ + * Date : $Date: 2002/07/13 06:57:37 $ * Created : 15 March 2002 * - * $Revision: 1.3 $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ static char cp949_decode__doc__[] = "CP949 decoder"; 1.4 +17 -3 KoreanCodecs/src/euckr_codec.h Index: euckr_codec.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/euckr_codec.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- euckr_codec.h 13 Jul 2002 06:10:22 -0000 1.3 +++ euckr_codec.h 13 Jul 2002 06:57:37 -0000 1.4 @@ -1,13 +1,27 @@ /* - * euckr_codec.h + * euckr_codec.h - $Revision: 1.4 $ * * KoreanCodecs EUC-KR Codec C Implementation * * Author : Hye-Shik Chang <pe...@Fr...> - * Date : $Date: 2002/07/13 06:10:22 $ + * Date : $Date: 2002/07/13 06:57:37 $ * Created : 15 March 2002 * - * $Revision: 1.3 $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ static char euc_kr_decode__doc__[] = "EUC-KR decoder"; 1.13 +18 -4 KoreanCodecs/src/hangul.c Index: hangul.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/hangul.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- hangul.c 13 Jul 2002 06:10:23 -0000 1.12 +++ hangul.c 13 Jul 2002 06:57:37 -0000 1.13 @@ -1,17 +1,31 @@ /* - * hangul.c + * hangul.c - $Revision: 1.13 $ * * KoreanCodecs Hangul Module C Implementation * * Author : Hye-Shik Chang <pe...@Fr...> - * Date : $Date: 2002/07/13 06:10:23 $ + * Date : $Date: 2002/07/13 06:57:37 $ * Created : 25 April 2002 * - * $Revision: 1.12 $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ static char *version = -"$Id: hangul.c,v 1.12 2002/07/13 06:10:23 perky Exp $"; +"$Id: hangul.c,v 1.13 2002/07/13 06:57:37 perky Exp $"; #include "Python.h" 1.5 +17 -3 KoreanCodecs/src/koco_stream.h Index: koco_stream.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/koco_stream.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- koco_stream.h 13 Jul 2002 06:10:23 -0000 1.4 +++ koco_stream.h 13 Jul 2002 06:57:37 -0000 1.5 @@ -1,13 +1,27 @@ /* - * euckr_stream.c + * euckr_stream.c - $Revision: 1.5 $ * * KoreanCodecs EUC-KR StreamReader C Implementation * * Author : Hye-Shik Chang <pe...@Fr...> - * Date : $Date: 2002/07/13 06:10:23 $ + * Date : $Date: 2002/07/13 06:57:37 $ * Created : 28 April 2002 * - * $Revision: 1.4 $ + * This file is part of KoreanCodecs. + * + * KoreanCodecs is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * KoreanCodecs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Foobar; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* 1.11 +21 -6 KoreanCodecs/src/tablegen.py Index: tablegen.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/tablegen.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- tablegen.py 13 Jul 2002 06:10:23 -0000 1.10 +++ tablegen.py 13 Jul 2002 06:57:37 -0000 1.11 @@ -1,12 +1,27 @@ # -# tablegen.py +# tablegen.py - $Revision: 1.11 $ # # Code Table Generator # # Author: Hye-Shik Chang <pe...@Fr...> -# Date : $Date: 2002/07/13 06:10:23 $ +# Date : $Date: 2002/07/13 06:57:37 $ # -# $Revision: 1.10 $ +# +# This file is part of KoreanCodecs. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import time @@ -114,7 +129,7 @@ print >> ksc5601, """\ /* Generated by tablegen.py on %s - $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ + $Id: tablegen.py,v 1.11 2002/07/13 06:57:37 perky Exp $ */ """ % time.asctime(time.gmtime()) @@ -145,7 +160,7 @@ print >> uhctable, """\ /* Generated by tablegen.py on %s - $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ + $Id: tablegen.py,v 1.11 2002/07/13 06:57:37 perky Exp $ */ """ % time.asctime(time.gmtime()) @@ -187,6 +202,6 @@ encodemapgen(uhctable, "uhc_encode", uhc.encoding_map, 512) # -# $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ +# $Id: tablegen.py,v 1.11 2002/07/13 06:57:37 perky Exp $ # # -*- End-Of-File -*- |
From: Chang <pe...@us...> - 2002-07-13 06:57:38
|
perky 02/07/12 23:57:36 Modified: korean/utils geniconv.py Log: - Add LGPL Copyright Header Revision Changes Path 1.2 +22 -0 KoreanCodecs/korean/utils/geniconv.py Index: geniconv.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/utils/geniconv.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- geniconv.py 16 Feb 2002 00:51:36 -0000 1.1 +++ geniconv.py 13 Jul 2002 06:57:36 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: geniconv.py,v 1.2 2002/07/13 06:57:36 perky Exp $ +# + from __future__ import division import os, sys import time |
From: Chang <pe...@us...> - 2002-07-13 06:57:37
|
perky 02/07/12 23:57:36 Modified: korean/python __init__.py cp949.py euc_kr.py hangul.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: - Add LGPL Copyright Header Revision Changes Path 1.2 +20 -1 KoreanCodecs/korean/python/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/__init__.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- __init__.py 16 Feb 2002 00:51:35 -0000 1.1 +++ __init__.py 13 Jul 2002 06:57:36 -0000 1.2 @@ -1,2 +1,21 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: __init__.py,v 1.1 2002/02/16 00:51:35 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: __init__.py,v 1.2 2002/07/13 06:57:36 perky Exp $ +# 1.3 +20 -3 KoreanCodecs/korean/python/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/cp949.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cp949.py 16 Mar 2002 02:35:20 -0000 1.2 +++ cp949.py 13 Jul 2002 06:57:36 -0000 1.3 @@ -1,7 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# originally written by Tamito KAJIYAMA # -# $Id: cp949.py,v 1.2 2002/03/16 02:35:20 perky Exp $ +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: cp949.py,v 1.3 2002/07/13 06:57:36 perky Exp $ +# from korean.python.euc_kr import * 1.7 +20 -3 KoreanCodecs/korean/python/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/euc_kr.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- euc_kr.py 13 Jul 2002 05:44:21 -0000 1.6 +++ euc_kr.py 13 Jul 2002 06:57:36 -0000 1.7 @@ -1,7 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# originally written by Tamito KAJIYAMA # -# $Id: euc_kr.py,v 1.6 2002/07/13 05:44:21 perky Exp $ +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: euc_kr.py,v 1.7 2002/07/13 06:57:36 perky Exp $ +# import codecs 1.13 +14 -12 KoreanCodecs/korean/python/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/hangul.py,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- hangul.py 13 Jul 2002 06:10:21 -0000 1.12 +++ hangul.py 13 Jul 2002 06:57:36 -0000 1.13 @@ -1,21 +1,23 @@ -#!/usr/local/bin/python -# ex:ts=4 # -# Unicode hangul abstractive controller +# This file is part of KoreanCodecs. # -# written by Hye-Shik Chang <pe...@Fr...> +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. # +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# Unicode Hangul Code-Area Specifications: -# http://www.unicode.org/charts/PDF/UAC00.pdf +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. # -# Jamo Short Name Conventions: -# http://www.unicode.org/unicode/uni2book/ch04.pdf (section 4.4) +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# Conjoining Jamo Behavior: -# http://www.unicode.org/unicode/uni2book/ch03.pdf (section 3.11) -# -# $Id: hangul.py,v 1.12 2002/07/13 06:10:21 perky Exp $ +# $Id: hangul.py,v 1.13 2002/07/13 06:57:36 perky Exp $ # class UnicodeHangulError(Exception): 1.10 +20 -3 KoreanCodecs/korean/python/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/iso_2022_kr.py,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- iso_2022_kr.py 13 Jul 2002 05:44:21 -0000 1.9 +++ iso_2022_kr.py 13 Jul 2002 06:57:36 -0000 1.10 @@ -1,7 +1,24 @@ -# A codec for ISO-2022-KR [RFC1557] -# by Hye-Shik Chang <17 February 2002> # -# $Id: iso_2022_kr.py,v 1.9 2002/07/13 05:44:21 perky Exp $ +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: iso_2022_kr.py,v 1.10 2002/07/13 06:57:36 perky Exp $ +# import codecs from korean.mappings import ksc5601_hangul 1.8 +21 -2 KoreanCodecs/korean/python/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/johab.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- johab.py 13 Jul 2002 05:44:21 -0000 1.7 +++ johab.py 13 Jul 2002 06:57:36 -0000 1.8 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: johab.py,v 1.7 2002/07/13 05:44:21 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: johab.py,v 1.8 2002/07/13 06:57:36 perky Exp $ +# import codecs 1.8 +21 -2 KoreanCodecs/korean/python/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/qwerty2bul.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- qwerty2bul.py 13 Jul 2002 05:44:21 -0000 1.7 +++ qwerty2bul.py 13 Jul 2002 06:57:36 -0000 1.8 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: qwerty2bul.py,v 1.7 2002/07/13 05:44:21 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: qwerty2bul.py,v 1.8 2002/07/13 06:57:36 perky Exp $ +# import codecs from korean.hangul import Moeum, Jaeum, Chosung, Jungsung, Jongsung 1.7 +21 -2 KoreanCodecs/korean/python/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/unijohab.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- unijohab.py 13 Jul 2002 05:44:21 -0000 1.6 +++ unijohab.py 13 Jul 2002 06:57:36 -0000 1.7 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: unijohab.py,v 1.6 2002/07/13 05:44:21 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: unijohab.py,v 1.7 2002/07/13 06:57:36 perky Exp $ +# import codecs from korean.hangul import ishangul, disjoint, conjoin |
From: Chang <pe...@us...> - 2002-07-13 06:57:37
|
perky 02/07/12 23:57:35 Modified: korean/mappings __init__.py johab_ideograph.py ksc5601_hangul.py ksc5601_ideograph.py ksc5601_misc.py uhc.py Log: - Add LGPL Copyright Header Revision Changes Path 1.2 +21 -1 KoreanCodecs/korean/mappings/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/__init__.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- __init__.py 16 Feb 2002 00:51:13 -0000 1.1 +++ __init__.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1 +1,21 @@ -# Hye-Shik Chang <16 Feb 2002> +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: __init__.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# 1.2 +22 -0 KoreanCodecs/korean/mappings/johab_ideograph.py Index: johab_ideograph.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/johab_ideograph.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- johab_ideograph.py 16 Feb 2002 00:51:16 -0000 1.1 +++ johab_ideograph.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: johab_ideograph.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# + decoding_map = { '\x84\x81': u'\u3150', '\x84\xa1': u'\u3151', 1.2 +22 -0 KoreanCodecs/korean/mappings/ksc5601_hangul.py Index: ksc5601_hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_hangul.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ksc5601_hangul.py 16 Feb 2002 00:51:17 -0000 1.1 +++ ksc5601_hangul.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: ksc5601_hangul.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# + decoding_map = { '\xb0\xa1': u'\uac00', '\xb0\xa2': u'\uac01', 1.2 +22 -0 KoreanCodecs/korean/mappings/ksc5601_ideograph.py Index: ksc5601_ideograph.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_ideograph.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ksc5601_ideograph.py 16 Feb 2002 00:51:22 -0000 1.1 +++ ksc5601_ideograph.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: ksc5601_ideograph.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# + decoding_map = { '\xca\xa1': u'\u4f3d', '\xca\xa2': u'\u4f73', 1.2 +22 -0 KoreanCodecs/korean/mappings/ksc5601_misc.py Index: ksc5601_misc.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/ksc5601_misc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ksc5601_misc.py 16 Feb 2002 00:51:25 -0000 1.1 +++ ksc5601_misc.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: ksc5601_misc.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# + decoding_map = { '\xa1\xa1': u'\u3000', '\xa1\xa2': u'\u3001', 1.2 +22 -0 KoreanCodecs/korean/mappings/uhc.py Index: uhc.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/mappings/uhc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- uhc.py 16 Feb 2002 00:51:35 -0000 1.1 +++ uhc.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: uhc.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# + decoding_map = { '\x81A': u'\uac02', '\x81B': u'\uac03', |
From: Chang <pe...@us...> - 2002-07-13 06:57:36
|
perky 02/07/12 23:57:35 Modified: korean __init__.py aliases.py cp949.py euc_kr.py hangul.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: - Add LGPL Copyright Header Revision Changes Path 1.5 +21 -2 KoreanCodecs/korean/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/__init__.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- __init__.py 17 Apr 2002 10:43:21 -0000 1.4 +++ __init__.py 13 Jul 2002 06:57:34 -0000 1.5 @@ -1,2 +1,21 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: __init__.py,v 1.4 2002/04/17 10:43:21 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: __init__.py,v 1.5 2002/07/13 06:57:34 perky Exp $ +# 1.5 +21 -2 KoreanCodecs/korean/aliases.py Index: aliases.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/aliases.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- aliases.py 26 Apr 2002 11:39:35 -0000 1.4 +++ aliases.py 13 Jul 2002 06:57:34 -0000 1.5 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <17 Apr 2002> -# $Id: aliases.py,v 1.4 2002/04/26 11:39:35 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: aliases.py,v 1.5 2002/07/13 06:57:34 perky Exp $ +# import encodings.aliases 1.2 +20 -1 KoreanCodecs/korean/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/cp949.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cp949.py 16 Feb 2002 00:51:13 -0000 1.1 +++ cp949.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: cp949.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: cp949.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.cp949 import * 1.2 +20 -1 KoreanCodecs/korean/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/euc_kr.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- euc_kr.py 16 Feb 2002 00:51:13 -0000 1.1 +++ euc_kr.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: euc_kr.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: euc_kr.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.euc_kr import * 1.4 +22 -0 KoreanCodecs/korean/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/hangul.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- hangul.py 24 Apr 2002 03:36:00 -0000 1.3 +++ hangul.py 13 Jul 2002 06:57:34 -0000 1.4 @@ -1,3 +1,25 @@ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: hangul.py,v 1.4 2002/07/13 06:57:34 perky Exp $ +# + try: from korean.c.hangul import * except: 1.2 +20 -1 KoreanCodecs/korean/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/iso_2022_kr.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- iso_2022_kr.py 16 Feb 2002 00:51:13 -0000 1.1 +++ iso_2022_kr.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: iso_2022_kr.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: iso_2022_kr.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.iso_2022_kr import * 1.2 +20 -1 KoreanCodecs/korean/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/johab.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- johab.py 16 Feb 2002 00:51:13 -0000 1.1 +++ johab.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: johab.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: johab.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.johab import * 1.2 +20 -1 KoreanCodecs/korean/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/qwerty2bul.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- qwerty2bul.py 16 Feb 2002 00:51:13 -0000 1.1 +++ qwerty2bul.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: qwerty2bul.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: qwerty2bul.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.qwerty2bul import * 1.2 +20 -1 KoreanCodecs/korean/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/unijohab.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- unijohab.py 16 Feb 2002 11:34:25 -0000 1.1 +++ unijohab.py 13 Jul 2002 06:57:34 -0000 1.2 @@ -1,5 +1,24 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: unijohab.py,v 1.1 2002/02/16 11:34:25 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: unijohab.py,v 1.2 2002/07/13 06:57:34 perky Exp $ +# try: from korean.c.unijohab import * |
From: Chang <pe...@us...> - 2002-07-13 06:57:36
|
perky 02/07/12 23:57:34 Modified: . setup.py Log: - Add LGPL Copyright Header Revision Changes Path 1.27 +21 -1 KoreanCodecs/setup.py Index: setup.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/setup.py,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- setup.py 13 Jul 2002 06:10:21 -0000 1.26 +++ setup.py 13 Jul 2002 06:57:34 -0000 1.27 @@ -1,5 +1,25 @@ #!/usr/bin/env python -# $Id: setup.py,v 1.26 2002/07/13 06:10:21 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: setup.py,v 1.27 2002/07/13 06:57:34 perky Exp $ +# import sys from distutils.core import setup, Extension |
From: Chang <pe...@us...> - 2002-07-13 06:57:36
|
perky 02/07/12 23:57:35 Modified: korean/c __init__.py cp949.py euc_kr.py Log: - Add LGPL Copyright Header Revision Changes Path 1.2 +20 -1 KoreanCodecs/korean/c/__init__.py Index: __init__.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/__init__.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- __init__.py 16 Feb 2002 00:51:13 -0000 1.1 +++ __init__.py 13 Jul 2002 06:57:35 -0000 1.2 @@ -1,2 +1,21 @@ -# Hye-Shik Chang <16 Feb 2002> -# $Id: __init__.py,v 1.1 2002/02/16 00:51:13 perky Exp $ +# +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: __init__.py,v 1.2 2002/07/13 06:57:35 perky Exp $ +# 1.3 +20 -2 KoreanCodecs/korean/c/cp949.py Index: cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/cp949.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cp949.py 28 Apr 2002 08:02:31 -0000 1.2 +++ cp949.py 13 Jul 2002 06:57:35 -0000 1.3 @@ -1,6 +1,24 @@ -# Hye-Shik Chang <16 Mar 2002> # -# $Id: cp949.py,v 1.2 2002/04/28 08:02:31 perky Exp $ +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: cp949.py,v 1.3 2002/07/13 06:57:35 perky Exp $ +# import codecs import _koco 1.3 +20 -2 KoreanCodecs/korean/c/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/c/euc_kr.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- euc_kr.py 28 Apr 2002 06:54:11 -0000 1.2 +++ euc_kr.py 13 Jul 2002 06:57:35 -0000 1.3 @@ -1,6 +1,24 @@ -# Hye-Shik Chang <15 Mar 2002> # -# $Id: euc_kr.py,v 1.2 2002/04/28 06:54:11 perky Exp $ +# This file is part of KoreanCodecs. +# +# Copyright(C) Hye-Shik Chang <pe...@Fr...>, 2002. +# +# KoreanCodecs is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# KoreanCodecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Foobar; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# $Id: euc_kr.py,v 1.3 2002/07/13 06:57:35 perky Exp $ +# import codecs import _koco |
From: Chang <pe...@us...> - 2002-07-13 06:10:26
|
perky 02/07/12 23:10:21 Modified: mk unames Log: - Update my new official mail addr Revision Changes Path 1.2 +1 -1 KoreanCodecs/mk/unames Index: unames =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/mk/unames,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- unames 17 Apr 2002 10:10:44 -0000 1.1 +++ unames 13 Jul 2002 06:10:21 -0000 1.2 @@ -1 +1 @@ -perky:'Hye-Shik Chang <pe...@fa...>' +perky:'Hye-Shik Chang <pe...@Fr...>' |
From: Chang <pe...@us...> - 2002-07-13 06:10:23
|
perky 02/07/12 23:10:23 Modified: test CodecTestBase.py Log: - Update my new official mail addr Revision Changes Path 1.6 +2 -2 KoreanCodecs/test/CodecTestBase.py Index: CodecTestBase.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/CodecTestBase.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CodecTestBase.py 26 Apr 2002 07:29:43 -0000 1.5 +++ CodecTestBase.py 13 Jul 2002 06:10:23 -0000 1.6 @@ -4,7 +4,7 @@ import sys, codecs import unittest from korean import aliases - +del aliases def escape(s): buffer = [] @@ -13,7 +13,7 @@ buffer.append("\\%03o" % c) else: buffer.append(chr(c)) - return "'" + string.join(buffer, '') + "'" + return "'" + ''.join(buffer) + "'" class CodecTestBase(unittest.TestCase): |
From: Chang <pe...@us...> - 2002-07-13 06:10:23
|
perky 02/07/12 23:10:23 Modified: src _koco.c cp949_codec.h euckr_codec.h hangul.c koco_stream.h tablegen.py Log: - Update my new official mail addr Revision Changes Path 1.19 +4 -4 KoreanCodecs/src/_koco.c Index: _koco.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/_koco.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- _koco.c 28 Apr 2002 06:54:11 -0000 1.18 +++ _koco.c 13 Jul 2002 06:10:22 -0000 1.19 @@ -3,15 +3,15 @@ * * KoreanCodecs C Implementations * - * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/28 06:54:11 $ + * Author : Hye-Shik Chang <pe...@Fr...> + * Date : $Date: 2002/07/13 06:10:22 $ * Created : 15 March 2002 * - * $Revision: 1.18 $ + * $Revision: 1.19 $ */ static char *version = -"$Id: _koco.c,v 1.18 2002/04/28 06:54:11 perky Exp $"; +"$Id: _koco.c,v 1.19 2002/07/13 06:10:22 perky Exp $"; #define UNIFIL 0xfffd 1.3 +3 -3 KoreanCodecs/src/cp949_codec.h Index: cp949_codec.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/cp949_codec.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cp949_codec.h 28 Apr 2002 00:51:51 -0000 1.2 +++ cp949_codec.h 13 Jul 2002 06:10:22 -0000 1.3 @@ -3,11 +3,11 @@ * * KoreanCodecs CP949 Codec C Implementation * - * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/28 00:51:51 $ + * Author : Hye-Shik Chang <pe...@Fr...> + * Date : $Date: 2002/07/13 06:10:22 $ * Created : 15 March 2002 * - * $Revision: 1.2 $ + * $Revision: 1.3 $ */ static char cp949_decode__doc__[] = "CP949 decoder"; 1.3 +3 -3 KoreanCodecs/src/euckr_codec.h Index: euckr_codec.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/euckr_codec.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- euckr_codec.h 28 Apr 2002 00:51:51 -0000 1.2 +++ euckr_codec.h 13 Jul 2002 06:10:22 -0000 1.3 @@ -3,11 +3,11 @@ * * KoreanCodecs EUC-KR Codec C Implementation * - * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/28 00:51:51 $ + * Author : Hye-Shik Chang <pe...@Fr...> + * Date : $Date: 2002/07/13 06:10:22 $ * Created : 15 March 2002 * - * $Revision: 1.2 $ + * $Revision: 1.3 $ */ static char euc_kr_decode__doc__[] = "EUC-KR decoder"; 1.12 +4 -4 KoreanCodecs/src/hangul.c Index: hangul.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/hangul.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- hangul.c 1 May 2002 11:10:43 -0000 1.11 +++ hangul.c 13 Jul 2002 06:10:23 -0000 1.12 @@ -3,15 +3,15 @@ * * KoreanCodecs Hangul Module C Implementation * - * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/05/01 11:10:43 $ + * Author : Hye-Shik Chang <pe...@Fr...> + * Date : $Date: 2002/07/13 06:10:23 $ * Created : 25 April 2002 * - * $Revision: 1.11 $ + * $Revision: 1.12 $ */ static char *version = -"$Id: hangul.c,v 1.11 2002/05/01 11:10:43 perky Exp $"; +"$Id: hangul.c,v 1.12 2002/07/13 06:10:23 perky Exp $"; #include "Python.h" 1.4 +3 -3 KoreanCodecs/src/koco_stream.h Index: koco_stream.h =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/koco_stream.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- koco_stream.h 28 Apr 2002 08:02:32 -0000 1.3 +++ koco_stream.h 13 Jul 2002 06:10:23 -0000 1.4 @@ -3,11 +3,11 @@ * * KoreanCodecs EUC-KR StreamReader C Implementation * - * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/28 08:02:32 $ + * Author : Hye-Shik Chang <pe...@Fr...> + * Date : $Date: 2002/07/13 06:10:23 $ * Created : 28 April 2002 * - * $Revision: 1.3 $ + * $Revision: 1.4 $ */ /* 1.10 +6 -6 KoreanCodecs/src/tablegen.py Index: tablegen.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/tablegen.py,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- tablegen.py 16 Mar 2002 01:44:04 -0000 1.9 +++ tablegen.py 13 Jul 2002 06:10:23 -0000 1.10 @@ -3,10 +3,10 @@ # # Code Table Generator # -# Author: Hye-Shik Chang <pe...@fa...> -# Date : $Date: 2002/03/16 01:44:04 $ +# Author: Hye-Shik Chang <pe...@Fr...> +# Date : $Date: 2002/07/13 06:10:23 $ # -# $Revision: 1.9 $ +# $Revision: 1.10 $ # import time @@ -114,7 +114,7 @@ print >> ksc5601, """\ /* Generated by tablegen.py on %s - $Id: tablegen.py,v 1.9 2002/03/16 01:44:04 perky Exp $ + $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ */ """ % time.asctime(time.gmtime()) @@ -145,7 +145,7 @@ print >> uhctable, """\ /* Generated by tablegen.py on %s - $Id: tablegen.py,v 1.9 2002/03/16 01:44:04 perky Exp $ + $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ */ """ % time.asctime(time.gmtime()) @@ -187,6 +187,6 @@ encodemapgen(uhctable, "uhc_encode", uhc.encoding_map, 512) # -# $Id: tablegen.py,v 1.9 2002/03/16 01:44:04 perky Exp $ +# $Id: tablegen.py,v 1.10 2002/07/13 06:10:23 perky Exp $ # # -*- End-Of-File -*- |
From: Chang <pe...@us...> - 2002-07-13 06:10:23
|
perky 02/07/12 23:10:21 Modified: korean/python hangul.py Log: - Update my new official mail addr Revision Changes Path 1.12 +2 -2 KoreanCodecs/korean/python/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/hangul.py,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- hangul.py 5 May 2002 19:13:57 -0000 1.11 +++ hangul.py 13 Jul 2002 06:10:21 -0000 1.12 @@ -3,7 +3,7 @@ # # Unicode hangul abstractive controller # -# written by Hye-Shik Chang <pe...@fa...> +# written by Hye-Shik Chang <pe...@Fr...> # # # Unicode Hangul Code-Area Specifications: @@ -15,7 +15,7 @@ # Conjoining Jamo Behavior: # http://www.unicode.org/unicode/uni2book/ch03.pdf (section 3.11) # -# $Id: hangul.py,v 1.11 2002/05/05 19:13:57 perky Exp $ +# $Id: hangul.py,v 1.12 2002/07/13 06:10:21 perky Exp $ # class UnicodeHangulError(Exception): |
From: Chang <pe...@us...> - 2002-07-13 06:10:23
|
perky 02/07/12 23:10:21 Modified: . Makefile README.en README.ko setup.py Log: - Update my new official mail addr Revision Changes Path 1.4 +2 -2 KoreanCodecs/Makefile Index: Makefile =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Makefile 26 Apr 2002 10:18:31 -0000 1.3 +++ Makefile 13 Jul 2002 06:10:21 -0000 1.4 @@ -1,9 +1,9 @@ # # KoreanCodecs Maintainer Build tool # -# by Hye-Shik Chang <pe...@fa...> +# by Hye-Shik Chang <pe...@Fr...> # -# $Id: Makefile,v 1.3 2002/04/26 10:18:31 perky Exp $ +# $Id: Makefile,v 1.4 2002/07/13 06:10:21 perky Exp $ # LOCALBASE?= /usr/local 1.18 +2 -2 KoreanCodecs/README.en Index: README.en =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/README.en,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- README.en 30 Apr 2002 01:05:15 -0000 1.17 +++ README.en 13 Jul 2002 06:10:21 -0000 1.18 @@ -2,7 +2,7 @@ ========================== Copyright(C) Hye-Shik Chang, 2002. -$Id: README.en,v 1.17 2002/04/30 01:05:15 perky Exp $ +$Id: README.en,v 1.18 2002/07/13 06:10:21 perky Exp $ @@ -156,7 +156,7 @@ Author ------ -Hye-Shik Chang <pe...@fa...> +Hye-Shik Chang <pe...@Fr...> Any comments, suggestions, and/or patches are very welcome. Thank you for using KoreanCodecs! 1.17 +2 -2 KoreanCodecs/README.ko Index: README.ko =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/README.ko,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- README.ko 30 Apr 2002 01:05:15 -0000 1.16 +++ README.ko 13 Jul 2002 06:10:21 -0000 1.17 @@ -2,7 +2,7 @@ =================== Copyright(C) Hye-Shik Chang, 2002. -$Id: README.ko,v 1.16 2002/04/30 01:05:15 perky Exp $ +$Id: README.ko,v 1.17 2002/07/13 06:10:21 perky Exp $ *Ä·ÆäÀÎ* ÀÎÅͳݿ¡¼ ÇÑ±Û ¸ÂÃã¹ýÀ» Áöŵ½Ã´Ù. ^-^/~ @@ -159,7 +159,7 @@ ÀúÀÚ ---- -ÀåÇý½Ä Hye-Shik Chang <pe...@fa...> +ÀåÇý½Ä Hye-Shik Chang <pe...@Fr...> Á¦¾ÈÀ̳ª ¹ö±×, ÆÐÄ¡´Â ¸ðµÎ ȯ¿µÇÕ´Ï´Ù. ÇѱÛÄÚµ¦À» »ç¿ëÇØ Áּż °¨»çÇÕ´Ï´Ù! 1.26 +2 -2 KoreanCodecs/setup.py Index: setup.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/setup.py,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- setup.py 1 May 2002 11:11:16 -0000 1.25 +++ setup.py 13 Jul 2002 06:10:21 -0000 1.26 @@ -1,5 +1,5 @@ #!/usr/bin/env python -# $Id: setup.py,v 1.25 2002/05/01 11:11:16 perky Exp $ +# $Id: setup.py,v 1.26 2002/07/13 06:10:21 perky Exp $ import sys from distutils.core import setup, Extension @@ -40,7 +40,7 @@ "Korean characters can be treated as a character string " "instead of a byte sequence.", author = "Hye-Shik Chang", - author_email = "pe...@fa...", + author_email = "pe...@Fr...", license = "LGPL", url = "http://sourceforge.net/projects/koco", cmdclass = {'install': Install}, |
From: Chang <pe...@us...> - 2002-07-13 06:03:15
|
perky 02/07/12 23:03:14 Removed: debian changelog control copyright dirs docs python-koco1.dirs python-koco1.files rules Log: - Remove unmaintained debian package skeletons |
From: Chang <pe...@us...> - 2002-07-13 05:44:23
|
perky 02/07/12 22:44:21 Modified: korean/python euc_kr.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: (MFJapaneseCodecs) Raise a ValueError instead of UnicodeError if their optional argument "errors" has an invalid value. Revision Changes Path 1.6 +3 -3 KoreanCodecs/korean/python/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/euc_kr.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- euc_kr.py 5 May 2002 19:13:57 -0000 1.5 +++ euc_kr.py 13 Jul 2002 05:44:21 -0000 1.6 @@ -1,7 +1,7 @@ # Hye-Shik Chang <16 Feb 2002> # originally written by Tamito KAJIYAMA # -# $Id: euc_kr.py,v 1.5 2002/05/05 19:13:57 perky Exp $ +# $Id: euc_kr.py,v 1.6 2002/07/13 05:44:21 perky Exp $ import codecs @@ -17,7 +17,7 @@ global encmap_ideo, encmap_misc if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] for c in data: @@ -52,7 +52,7 @@ global decmap_ideo, decmap_misc if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] data = str(data) # character buffer compatible object 1.9 +3 -3 KoreanCodecs/korean/python/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/iso_2022_kr.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- iso_2022_kr.py 5 May 2002 19:13:57 -0000 1.8 +++ iso_2022_kr.py 13 Jul 2002 05:44:21 -0000 1.9 @@ -1,7 +1,7 @@ # A codec for ISO-2022-KR [RFC1557] # by Hye-Shik Chang <17 February 2002> # -# $Id: iso_2022_kr.py,v 1.8 2002/05/05 19:13:57 perky Exp $ +# $Id: iso_2022_kr.py,v 1.9 2002/07/13 05:44:21 perky Exp $ import codecs from korean.mappings import ksc5601_hangul @@ -33,7 +33,7 @@ global encmap_ideo, encmap_misc if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] new_charset = charset = US_ASCII new_shiftstate = shiftstate = 0 @@ -93,7 +93,7 @@ global decmap_ideo, decmap_misc if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] data = str(data) # character buffer compatible object size = len(data) 1.7 +3 -3 KoreanCodecs/korean/python/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/johab.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- johab.py 5 May 2002 19:13:58 -0000 1.6 +++ johab.py 13 Jul 2002 05:44:21 -0000 1.7 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: johab.py,v 1.6 2002/05/05 19:13:58 perky Exp $ +# $Id: johab.py,v 1.7 2002/07/13 05:44:21 perky Exp $ import codecs @@ -48,7 +48,7 @@ global encmap if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] for c in data: @@ -82,7 +82,7 @@ global decmap if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" buffer = [] data = str(data) # character buffer compatible object 1.7 +3 -3 KoreanCodecs/korean/python/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/qwerty2bul.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- qwerty2bul.py 5 May 2002 19:13:58 -0000 1.6 +++ qwerty2bul.py 13 Jul 2002 05:44:21 -0000 1.7 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: qwerty2bul.py,v 1.6 2002/05/05 19:13:58 perky Exp $ +# $Id: qwerty2bul.py,v 1.7 2002/07/13 05:44:21 perky Exp $ import codecs from korean.hangul import Moeum, Jaeum, Chosung, Jungsung, Jongsung @@ -144,7 +144,7 @@ # Unicode to key stroke def encode(self, data, errors='strict'): if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" r = [] for c in data: @@ -162,7 +162,7 @@ # key stroke to Unicode def decode(self, data, errors='strict'): if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" s = unicode(data, self.BASECODEC, errors) am = Automata_Hangul2() 1.6 +3 -3 KoreanCodecs/korean/python/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/unijohab.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- unijohab.py 5 May 2002 19:13:58 -0000 1.5 +++ unijohab.py 13 Jul 2002 05:44:21 -0000 1.6 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: unijohab.py,v 1.5 2002/05/05 19:13:58 perky Exp $ +# $Id: unijohab.py,v 1.6 2002/07/13 05:44:21 perky Exp $ import codecs from korean.hangul import ishangul, disjoint, conjoin @@ -9,14 +9,14 @@ # Unicode to character buffer def encode(self, data, errors='strict'): if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" return disjoint(data).encode('utf-8', errors), len(data) # character buffer to Unicode def decode(self, data, errors='strict'): if errors not in ('strict', 'ignore', 'replace'): - raise UnicodeError, "unknown error handling" + raise ValueError, "unknown error handling" return conjoin(unicode(data, 'utf-8', errors)), len(data) |
From: Chang <pe...@us...> - 2002-05-05 19:29:46
|
perky 02/05/05 12:13:58 Modified: korean/python euc_kr.py hangul.py iso_2022_kr.py johab.py qwerty2bul.py unijohab.py Log: - PyChecker Clean up Revision Changes Path 1.5 +5 -7 KoreanCodecs/korean/python/euc_kr.py Index: euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/euc_kr.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- euc_kr.py 28 Apr 2002 01:03:49 -0000 1.4 +++ euc_kr.py 5 May 2002 19:13:57 -0000 1.5 @@ -1,7 +1,7 @@ # Hye-Shik Chang <16 Feb 2002> # originally written by Tamito KAJIYAMA # -# $Id: euc_kr.py,v 1.4 2002/04/28 01:03:49 perky Exp $ +# $Id: euc_kr.py,v 1.5 2002/05/05 19:13:57 perky Exp $ import codecs @@ -13,11 +13,10 @@ class Codec(codecs.Codec): # Unicode to character buffer - def encode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def encode(self, data, errors='strict'): global encmap_ideo, encmap_misc - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] @@ -49,11 +48,10 @@ return (''.join(buffer), len(data)) # character buffer to Unicode - def decode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def decode(self, data, errors='strict'): global decmap_ideo, decmap_misc - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] 1.11 +2 -1 KoreanCodecs/korean/python/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/hangul.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- hangul.py 1 May 2002 11:10:44 -0000 1.10 +++ hangul.py 5 May 2002 19:13:57 -0000 1.11 @@ -15,13 +15,14 @@ # Conjoining Jamo Behavior: # http://www.unicode.org/unicode/uni2book/ch03.pdf (section 3.11) # -# $Id: hangul.py,v 1.10 2002/05/01 11:10:44 perky Exp $ +# $Id: hangul.py,v 1.11 2002/05/05 19:13:57 perky Exp $ # class UnicodeHangulError(Exception): def __init__ (self, msg): self.msg = msg + Exception.__init__(self, msg) def __repr__ (self): return self.msg 1.8 +5 -7 KoreanCodecs/korean/python/iso_2022_kr.py Index: iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/iso_2022_kr.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- iso_2022_kr.py 16 Mar 2002 02:35:20 -0000 1.7 +++ iso_2022_kr.py 5 May 2002 19:13:57 -0000 1.8 @@ -1,7 +1,7 @@ # A codec for ISO-2022-KR [RFC1557] # by Hye-Shik Chang <17 February 2002> # -# $Id: iso_2022_kr.py,v 1.7 2002/03/16 02:35:20 perky Exp $ +# $Id: iso_2022_kr.py,v 1.8 2002/05/05 19:13:57 perky Exp $ import codecs from korean.mappings import ksc5601_hangul @@ -29,11 +29,10 @@ class Codec(codecs.Codec): # Unicode to character buffer - def encode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def encode(self, data, errors='strict'): global encmap_ideo, encmap_misc - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] new_charset = charset = US_ASCII @@ -90,11 +89,10 @@ return (''.join(buffer), len(data)) # character buffer to Unicode - def decode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def decode(self, data, errors='strict'): global decmap_ideo, decmap_misc - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] data = str(data) # character buffer compatible object 1.6 +5 -7 KoreanCodecs/korean/python/johab.py Index: johab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/johab.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- johab.py 8 Apr 2002 12:49:57 -0000 1.5 +++ johab.py 5 May 2002 19:13:58 -0000 1.6 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: johab.py,v 1.5 2002/04/08 12:49:57 perky Exp $ +# $Id: johab.py,v 1.6 2002/05/05 19:13:58 perky Exp $ import codecs @@ -44,11 +44,10 @@ class Codec(codecs.Codec): # Unicode to character buffer - def encode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def encode(self, data, errors='strict'): global encmap - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] @@ -79,11 +78,10 @@ return (''.join(buffer), len(data)) # character buffer to Unicode - def decode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): + def decode(self, data, errors='strict'): global decmap - if errors not in supported_errors: + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" buffer = [] 1.6 +7 -8 KoreanCodecs/korean/python/qwerty2bul.py Index: qwerty2bul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/qwerty2bul.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- qwerty2bul.py 26 Apr 2002 07:29:43 -0000 1.5 +++ qwerty2bul.py 5 May 2002 19:13:58 -0000 1.6 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: qwerty2bul.py,v 1.5 2002/04/26 07:29:43 perky Exp $ +# $Id: qwerty2bul.py,v 1.6 2002/05/05 19:13:58 perky Exp $ import codecs from korean.hangul import Moeum, Jaeum, Chosung, Jungsung, Jongsung @@ -30,6 +30,7 @@ keycodemap[v] = k keycodemap.setdefault(v.upper(), k) keycodes = ''.join(keycodemap.keys()) +del k, v class Automata_Hangul2: @@ -141,9 +142,8 @@ BASECODEC = 'korean.cp949' # fallback codec of decoder # Unicode to key stroke - def encode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): - if errors not in supported_errors: + def encode(self, data, errors='strict'): + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" r = [] @@ -160,9 +160,8 @@ return (r, len(r)) # key stroke to Unicode - def decode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): - if errors not in supported_errors: + def decode(self, data, errors='strict'): + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" s = unicode(data, self.BASECODEC, errors) @@ -176,5 +175,5 @@ class StreamReader(Codec, codecs.StreamReader): pass -def getregentry(*args): +def getregentry(): return (Codec().encode, Codec().decode, StreamReader, StreamWriter) 1.5 +5 -9 KoreanCodecs/korean/python/unijohab.py Index: unijohab.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/unijohab.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- unijohab.py 24 Apr 2002 07:38:11 -0000 1.4 +++ unijohab.py 5 May 2002 19:13:58 -0000 1.5 @@ -1,5 +1,5 @@ # Hye-Shik Chang <16 Feb 2002> -# $Id: unijohab.py,v 1.4 2002/04/24 07:38:11 perky Exp $ +# $Id: unijohab.py,v 1.5 2002/05/05 19:13:58 perky Exp $ import codecs from korean.hangul import ishangul, disjoint, conjoin @@ -7,19 +7,15 @@ class Codec(codecs.Codec): # Unicode to character buffer - def encode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): - - if errors not in supported_errors: + def encode(self, data, errors='strict'): + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" return disjoint(data).encode('utf-8', errors), len(data) # character buffer to Unicode - def decode(self, data, errors='strict', - supported_errors=('strict', 'ignore', 'replace')): - - if errors not in supported_errors: + def decode(self, data, errors='strict'): + if errors not in ('strict', 'ignore', 'replace'): raise UnicodeError, "unknown error handling" return conjoin(unicode(data, 'utf-8', errors)), len(data) |
From: Chang <pe...@us...> - 2002-05-01 11:11:17
|
perky 02/05/01 04:11:16 Modified: . setup.py Log: - Bump package revision for next revision Revision Changes Path 1.25 +2 -2 KoreanCodecs/setup.py Index: setup.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/setup.py,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- setup.py 30 Apr 2002 01:05:15 -0000 1.24 +++ setup.py 1 May 2002 11:11:16 -0000 1.25 @@ -1,5 +1,5 @@ #!/usr/bin/env python -# $Id: setup.py,v 1.24 2002/04/30 01:05:15 perky Exp $ +# $Id: setup.py,v 1.25 2002/05/01 11:11:16 perky Exp $ import sys from distutils.core import setup, Extension @@ -32,7 +32,7 @@ org_install_lib or self.install_purelib setup (name = "KoreanCodecs", - version = "2.0.4", + version = "2.0.5a0", description = "Korean Codecs for Python Unicode Support", long_description = "This package provides Unicode codecs that " "make Python aware of Korean character encodings such as " |
From: Chang <pe...@us...> - 2002-05-01 11:10:48
|
perky 02/05/01 04:10:44 Modified: korean/python hangul.py Log: - Test long unicode string for ishangul, isJaeum, isMoeum Suggested by: Lee Gang-Seong <gs...@gw...> Revision Changes Path 1.10 +36 -7 KoreanCodecs/korean/python/hangul.py Index: hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/korean/python/hangul.py,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- hangul.py 29 Apr 2002 14:24:25 -0000 1.9 +++ hangul.py 1 May 2002 11:10:44 -0000 1.10 @@ -15,7 +15,7 @@ # Conjoining Jamo Behavior: # http://www.unicode.org/unicode/uni2book/ch03.pdf (section 3.11) # -# $Id: hangul.py,v 1.9 2002/04/29 14:24:25 perky Exp $ +# $Id: hangul.py,v 1.10 2002/05/01 11:10:44 perky Exp $ # class UnicodeHangulError(Exception): @@ -29,6 +29,11 @@ __str__ = __repr__ Null = u'' +try: + True +except: + True = 1 + False = 0 class Jaeum: @@ -85,9 +90,6 @@ exec "%s = %s" % (name, repr(code)) del name, code -isJaeum = lambda c: c in Jaeum.Codes -isMoeum = lambda c: c in Moeum.Codes - # Unicode Hangul Syllables Characteristics ZONE = (u'\uAC00', u'\uD7A3') NCHOSUNG = len(Chosung) @@ -99,7 +101,7 @@ CHOSUNG_FILLER = u'\u115F' JUNGSUNG_FILLER = u'\u1160' -ishangul = ( +_ishangul = ( lambda code: ZONE[0] <= code <= ZONE[1] or code in Jaeum.Codes or @@ -125,6 +127,33 @@ u'(\uc778)': (4, u'\uc778'), # (in)- } +def isJaeum(u): + if u: + for c in u: + if c not in Jaeum.Codes: + break + else: + return True + return False + +def isMoeum(u): + if u: + for c in u: + if c not in Moeum.Codes: + break + else: + return True + return False + +def ishangul(u): + if u: + for c in u: + if not _ishangul(c): + break + else: + return True + return False + def join(codes): """ Join function which makes hangul syllable from jamos """ if len(codes) is not 3: @@ -141,7 +170,7 @@ def split(code): """ Split function which splits hangul syllable into jamos """ - if len(code) != 1 or not ishangul(code): + if len(code) != 1 or not _ishangul(code): raise UnicodeHangulError("needs 1 hangul letter") if code in Jaeum.Codes: return (code, Null, Null) @@ -185,7 +214,7 @@ def disjoint(s): obuff = [] for c in s: - if ishangul(c): + if _ishangul(c): cho, jung, jong = split(c) if cho: obuff.append( unichr(ord(JBASE_CHOSUNG) + Chosung.index(cho)) ) |
From: Chang <pe...@us...> - 2002-05-01 11:10:47
|
perky 02/05/01 04:10:44 Modified: test test_hangul.py Log: - Test long unicode string for ishangul, isJaeum, isMoeum Suggested by: Lee Gang-Seong <gs...@gw...> Revision Changes Path 1.9 +13 -0 KoreanCodecs/test/test_hangul.py Index: test_hangul.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/test_hangul.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- test_hangul.py 27 Apr 2002 03:37:16 -0000 1.8 +++ test_hangul.py 1 May 2002 11:10:44 -0000 1.9 @@ -21,6 +21,19 @@ self.assertEqual(self.h.ishangul(u'\uc870'), 1) self.assertEqual(self.h.ishangul(u'\u382c'), 0) + def test_testlong(self): + self.assertEqual(self.h.isJaeum(u'\u3131\u3134\u3137\u3139'), 1) + self.assertEqual(self.h.isJaeum(u'\u3131\u314f\u3134\u314f'), 0) + self.assertEqual(self.h.isJaeum(u''), 0) + + self.assertEqual(self.h.isMoeum(u'\u314f\u3151\u3153\u3155'), 1) + self.assertEqual(self.h.isMoeum(u'\u3131\u314f\u3134\u314f'), 0) + self.assertEqual(self.h.isMoeum(u''), 0) + + self.assertEqual(self.h.ishangul(u'\ud2f0\ud2f0\ub9c8\uc18c\uc774'), 1) + self.assertEqual(self.h.ishangul(u'\ud2f0\ud2f0\ub9c8 \uc18c\uc774'), 0) + self.assertEqual(self.h.ishangul(u''), 0) + def test_format_altsuffix(self): fmt = u'%s\ub294 %s\ub97c %s\ud55c\ub2e4.' obj1, obj2 = u'\ud61c\uc2dd', u'\uc544\ub77c' |
From: Chang <pe...@us...> - 2002-05-01 11:10:46
|
perky 02/05/01 04:10:44 Modified: src hangul.c Log: - Test long unicode string for ishangul, isJaeum, isMoeum Suggested by: Lee Gang-Seong <gs...@gw...> Revision Changes Path 1.11 +27 -21 KoreanCodecs/src/hangul.c Index: hangul.c =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/src/hangul.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- hangul.c 29 Apr 2002 14:24:25 -0000 1.10 +++ hangul.c 1 May 2002 11:10:43 -0000 1.11 @@ -4,14 +4,14 @@ * KoreanCodecs Hangul Module C Implementation * * Author : Hye-Shik Chang <pe...@fa...> - * Date : $Date: 2002/04/29 14:24:25 $ + * Date : $Date: 2002/05/01 11:10:43 $ * Created : 25 April 2002 * - * $Revision: 1.10 $ + * $Revision: 1.11 $ */ static char *version = -"$Id: hangul.c,v 1.10 2002/04/29 14:24:25 perky Exp $"; +"$Id: hangul.c,v 1.11 2002/05/01 11:10:43 perky Exp $"; #include "Python.h" @@ -109,17 +109,19 @@ hangul_isJaeum(PyObject *self, PyObject *args) { Py_UNICODE *code; - int codelen; + int codelen, istrue = 0; if (!PyArg_ParseTuple(args, "u#:isJaeum", &code, &codelen)) return NULL; - if (codelen < 1) { - PyErr_Format(PyExc_ValueError, "need not null unicode string"); - return NULL; - } + if (codelen) + for (istrue = 1; codelen--; code++) + if (!isJaeum(*code)) { + istrue = 0; + break; + } - if (isJaeum(*code)) { + if (istrue) { Py_INCREF(Py_True); return Py_True; } @@ -135,17 +137,19 @@ hangul_isMoeum(PyObject *self, PyObject *args) { Py_UNICODE *code; - int codelen; + int codelen, istrue = 0; if (!PyArg_ParseTuple(args, "u#:isMoeum", &code, &codelen)) return NULL; - if (codelen < 1) { - PyErr_Format(PyExc_ValueError, "need not null unicode string"); - return NULL; - } + if (codelen) + for (istrue = 1; codelen--; code++) + if (!isMoeum(*code)) { + istrue = 0; + break; + } - if (isMoeum(*code)) { + if (istrue) { Py_INCREF(Py_True); return Py_True; } @@ -161,17 +165,19 @@ hangul_ishangul(PyObject *self, PyObject *args) { Py_UNICODE *code; - int codelen; + int codelen, istrue = 0; if (!PyArg_ParseTuple(args, "u#:ishangul", &code, &codelen)) return NULL; - if (codelen < 1) { - PyErr_Format(PyExc_ValueError, "need not null unicode string"); - return NULL; - } + if (codelen) + for (istrue = 1; codelen--; code++) + if (!(isHangulSyllable(*code) || isJaeum(*code) || isMoeum(*code))) { + istrue = 0; + break; + } - if (isHangulSyllable(*code) || isJaeum(*code) || isMoeum(*code)) { + if (istrue) { Py_INCREF(Py_True); return Py_True; } |