summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/xutf8/utils/case.sh48
-rw-r--r--src/xutf8/utils/conv_gen.c42
-rw-r--r--src/xutf8/utils/convert_map.c45
-rw-r--r--src/xutf8/utils/euc_tw.c44
-rwxr-xr-xsrc/xutf8/utils/non_spacing.sh48
-rwxr-xr-xsrc/xutf8/utils/tbl_gen.sh102
6 files changed, 173 insertions, 156 deletions
diff --git a/src/xutf8/utils/case.sh b/src/xutf8/utils/case.sh
index a824ad638..c12e27c46 100755
--- a/src/xutf8/utils/case.sh
+++ b/src/xutf8/utils/case.sh
@@ -43,31 +43,29 @@ cat case.txt | ./create_table "spacing" > "../headers/case.h" 2> ../headers/case
rm -f case.txt
cat >../case.c << ENDOFTEXT
-/******************************************************************************
- Copyright 2001 by O'ksi'D
-
-Permission to use, copy, modify, distribute, and sell this software
-and its documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice appear in all copies and
-that both that copyright notice and this permission notice appear
-in supporting documentation, and that the name of O'ksi'D
-not be used in advertising or publicity pertaining to distribution
-of the software without specific, written prior permission.
-O'ksi'D makes no representations about the suitability of
-this software for any purpose. It is provided "as is" without
-express or implied warranty.
-
-O'ksi'D DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
-IN NO EVENT SHALL O'ksi'D BE LIABLE FOR ANY SPECIAL, INDIRECT
-OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
-OR PERFORMANCE OF THIS SOFTWARE.
-
- Author: Jean-Marc Lienher ( http://oksid.ch )
-
-******************************************************************************/
+/*
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
+ *
+ * Please report all bugs and problems on the following page:
+ *
+ * http://www.fltk.org/str.php
+ */
#include "headers/case.h"
diff --git a/src/xutf8/utils/conv_gen.c b/src/xutf8/utils/conv_gen.c
index 26c03589f..cd40a769b 100644
--- a/src/xutf8/utils/conv_gen.c
+++ b/src/xutf8/utils/conv_gen.c
@@ -1,27 +1,31 @@
-/******************************************************************************
- *
- * generate the "if(){} else if ..." structure of ucs2fontmap()
+/* "$Id: $"
*
- * Copyright (c) 2000 O'ksi'D
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * This program 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 General Public License for more details.
+ * This library 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
+ * Library General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
*
- * Author : Jean-Marc Lienher ( http://oksid.ch )
+ * Please report all bugs and problems on the following page:
*
- ******************************************************************************/
+ * http://www.fltk.org/str.php
+ */
+/*
+ * generate the "if(){} else if ..." structure of ucs2fontmap()
+ */
#include <wchar.h>
#include <stdio.h>
char buffer[1000000];
@@ -168,3 +172,7 @@ int main(int argc, char **argv)
printf("*/\n");
return 0;
}
+
+/*
+ * End of "$Id$".
+ */
diff --git a/src/xutf8/utils/convert_map.c b/src/xutf8/utils/convert_map.c
index 9e4a23e10..976c06db8 100644
--- a/src/xutf8/utils/convert_map.c
+++ b/src/xutf8/utils/convert_map.c
@@ -1,27 +1,32 @@
-/******************************************************************************* * $Id: $
+/* "$Id: $"
*
- * read the http://www.unicode.org/Public/MAPPINGS/ and create something
- * usable in C.
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
*
- * Copyright (c) 2000 O'ksi'D
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library 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
+ * Library General Public License for more details.
*
- * This program 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 General Public License for more details.
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ * Please report all bugs and problems on the following page:
*
- * Author : Jean-Marc Lienher ( http://oksid.ch )
- *
- ******************************************************************************/
+ * http://www.fltk.org/str.php
+ */
+
+/*
+ * read the http://www.unicode.org/Public/MAPPINGS/ and create something
+ * usable in C.
+ */
#include <wchar.h>
#include <stdio.h>
@@ -172,3 +177,7 @@ int main(int argc, char **argv)
}
return 0;
}
+
+/*
+ * End of "$Id$".
+ */
diff --git a/src/xutf8/utils/euc_tw.c b/src/xutf8/utils/euc_tw.c
index 11c08b617..54da80b46 100644
--- a/src/xutf8/utils/euc_tw.c
+++ b/src/xutf8/utils/euc_tw.c
@@ -1,26 +1,30 @@
-/******************************************************************************
- *
- * generate the "if(){} else if ..." structure of ucs2fontmap()
- *
- * Copyright (c) 2000 O'ksi'D
+/*
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * This program 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 General Public License for more details.
+ * This library 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
+ * Library General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
*
- * Author : Jean-Marc Lienher ( http://oksid.ch )
+ * Please report all bugs and problems on the following page:
*
- ******************************************************************************/
+ * http://www.fltk.org/str.php
+ */
+
+/*
+ * generate the "if(){} else if ..." structure of ucs2fontmap()
+ */
#include <wchar.h>
#include <stdio.h>
@@ -59,3 +63,7 @@ int main(int argc, char **argv)
iconv_close(cd);
return 0;
}
+
+/*
+ * End of "$Id$".
+ */
diff --git a/src/xutf8/utils/non_spacing.sh b/src/xutf8/utils/non_spacing.sh
index ba86bec0f..c9195e38d 100755
--- a/src/xutf8/utils/non_spacing.sh
+++ b/src/xutf8/utils/non_spacing.sh
@@ -43,31 +43,29 @@ cat space.txt | ./create_table "spacing" > "../headers/spacing.h" 2> ../headers/
rm -f space.txt
cat >../is_spacing.c << ENDOFTEXT
-/******************************************************************************
- Copyright 2000-2001 by O'ksi'D
-
-Permission to use, copy, modify, distribute, and sell this software
-and its documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice appear in all copies and
-that both that copyright notice and this permission notice appear
-in supporting documentation, and that the name of O'ksi'D
-not be used in advertising or publicity pertaining to distribution
-of the software without specific, written prior permission.
-O'ksi'D makes no representations about the suitability of
-this software for any purpose. It is provided "as is" without
-express or implied warranty.
-
-O'ksi'D DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
-IN NO EVENT SHALL O'ksi'D BE LIABLE FOR ANY SPECIAL, INDIRECT
-OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
-OR PERFORMANCE OF THIS SOFTWARE.
-
- Author: Jean-Marc Lienher ( http://oksid.ch )
-
-******************************************************************************/
+/*
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
+ *
+ * Please report all bugs and problems on the following page:
+ *
+ * http://www.fltk.org/str.php
+ */
#include "headers/spacing.h"
diff --git a/src/xutf8/utils/tbl_gen.sh b/src/xutf8/utils/tbl_gen.sh
index 601dba315..255dff128 100755
--- a/src/xutf8/utils/tbl_gen.sh
+++ b/src/xutf8/utils/tbl_gen.sh
@@ -1,32 +1,30 @@
#!/bin/sh
-#/******************************************************************************
-#*
-#* generates ucs2fontmap.c and headers/*_.h
-#*
-#* Copyright (c) 2000-2001 O'ksi'D
-#*
-#* Permission to use, copy, modify, distribute, and sell this software
-#* and its documentation for any purpose is hereby granted without fee,
-#* provided that the above copyright notice appear in all copies and
-#* that both that copyright notice and this permission notice appear
-#* in supporting documentation, and that the name of O'ksi'D
-#* not be used in advertising or publicity pertaining to distribution
-#* of the software without specific, written prior permission.
-#* O'ksi'D makes no representations about the suitability of
-#* this software for any purpose. It is provided "as is" without
-#* express or implied warranty.
-#*
-#* O'ksi'D DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-#* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
-#* IN NO EVENT SHALL O'ksi'D BE LIABLE FOR ANY SPECIAL, INDIRECT
-#* OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-#* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-#* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
-#* OR PERFORMANCE OF THIS SOFTWARE.
-#*
-#* Author : Jean-Marc Lienher ( http://oksid.ch )
-#*
-#******************************************************************************/
+#/*
+# * generates ucs2fontmap.c and headers/*_.h
+# *
+# * Author: Jean-Marc Lienher ( http://oksid.ch )
+# * Copyright 2000-2003 by O'ksi'D.
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Library General Public
+# * License as published by the Free Software Foundation; either
+# * version 2 of the License, or (at your option) any later version.
+# *
+# * This library 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
+# * Library General Public License for more details.
+# *
+# * You should have received a copy of the GNU Library General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# * USA.
+# *
+# * Please report all bugs and problems on the following page:
+# *
+# * http://www.fltk.org/str.php
+# */
+#
# iso10646-1
@@ -142,31 +140,29 @@ do
done
cat > ../ucs2fontmap.c << ENDOFTEXT
-/******************************************************************************
- Copyright 2000-2001 by O'ksi'D
-
-Permission to use, copy, modify, distribute, and sell this software
-and its documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice appear in all copies and
-that both that copyright notice and this permission notice appear
-in supporting documentation, and that the name of O'ksi'D
-not be used in advertising or publicity pertaining to distribution
-of the software without specific, written prior permission.
-O'ksi'D makes no representations about the suitability of
-this software for any purpose. It is provided "as is" without
-express or implied warranty.
-
-O'ksi'D DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
-IN NO EVENT SHALL O'ksi'D BE LIABLE FOR ANY SPECIAL, INDIRECT
-OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
-OR PERFORMANCE OF THIS SOFTWARE.
-
- Author: Jean-Marc Lienher ( http://oksid.ch )
-
-******************************************************************************/
+/*
+ * Author: Jean-Marc Lienher ( http://oksid.ch )
+ * Copyright 2000-2003 by O'ksi'D.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA.
+ *
+ * Please report all bugs and problems on the following page:
+ *
+ * http://www.fltk.org/str.php
+ */
ENDOFTEXT