[FriBidi-commit] fribidi/charset fribidi-char-sets-cap-rtl.c,
1.1.1.1, 1.2 fribidi-char-sets-cp1255.c, 1.1.1.1,
1.2 fribidi-char-sets-cp1256.c, 1.1.1.1,
1.2 fribidi-char-sets-iso8859-6.c, 1.1.1.1,
1.2 fribidi-char-sets-iso8859-8.c, 1.1.1.1,
1.2 fribidi-char-sets-utf8.c, 1.1.1.1, 1.2 fribidi-char-sets.c,
1.1.1.1, 1.2 fribidi-char-sets.h, 1.1.1.1, 1.2
Behdad Esfahbod
behdad at pdx.freedesktop.org
Tue May 4 08:05:22 EST 2004
Update of /cvs/fribidi/fribidi/charset
In directory pdx:/tmp/cvs-serv16180/charset
Modified Files:
fribidi-char-sets-cap-rtl.c fribidi-char-sets-cp1255.c
fribidi-char-sets-cp1256.c fribidi-char-sets-iso8859-6.c
fribidi-char-sets-iso8859-8.c fribidi-char-sets-utf8.c
fribidi-char-sets.c fribidi-char-sets.h
Log Message:
Changed the run data structure from a double-terminated deque, to a
circular deque with a single sentinel. To debug that, also added some assert
stuff, added function attributes, deprecated old interfaces, and humm, that it
for now.
Index: fribidi-char-sets-cap-rtl.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-cap-rtl.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-cap-rtl.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-cap-rtl.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,13 +33,14 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
+#include <common.h>
+
#include <fribidi-char-sets-cap-rtl.h>
#include <fribidi-unicode.h>
#include <fribidi-mirroring.h>
#include <fribidi-bidi-type.h>
-#include <common.h>
#include <bidi-types.h>
#include <stdio.h>
@@ -241,7 +242,7 @@
for (i = 0; i < len; i++)
{
FriBidiChar ch = us[i];
- if (!FRIBIDI_IS_EXPLICIT (fribidi_get_type (ch)) && ch != '_'
+ if (!FRIBIDI_IS_EXPLICIT (fribidi_get_bidi_type (ch)) && ch != '_'
&& ch != FRIBIDI_CHAR_LRM && ch != FRIBIDI_CHAR_RLM)
s[j++] = fribidi_unicode_to_cap_rtl_c (ch);
else
Index: fribidi-char-sets-cp1255.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-cp1255.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-cp1255.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-cp1255.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,10 +33,10 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
-#include <fribidi-char-sets-cp1255.h>
-
#include <common.h>
+#include <fribidi-char-sets-cp1255.h>
+
#define ISO_ALEF 0xE0
#define ISO_TAV 0xFA
#define CP1255_SHEVA 0xC0
Index: fribidi-char-sets-cp1256.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-cp1256.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-cp1256.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-cp1256.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,10 +33,10 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
-#include <fribidi-char-sets-cp1256.h>
-
#include <common.h>
+#include <fribidi-char-sets-cp1256.h>
+
#define ISO_HAMZA 0xc1
#define CP1256_DAD 0xD6
Index: fribidi-char-sets-iso8859-6.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-iso8859-6.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-iso8859-6.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-iso8859-6.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,10 +33,10 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
-#include <fribidi-char-sets-iso8859-6.h>
-
#include <common.h>
+#include <fribidi-char-sets-iso8859-6.h>
+
#define ISO_HAMZA 0xc1
#define ISO_SUKUN 0xf2
Index: fribidi-char-sets-iso8859-8.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-iso8859-8.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-iso8859-8.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-iso8859-8.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,12 +33,12 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
+#include <common.h>
+
#include <fribidi-char-sets-iso8859-8.h>
#include <fribidi-unicode.h>
-#include <common.h>
-
/* The following are proposed extensions to ISO8859-8. */
#define ISO_8859_8_LRM 0xFD
#define ISO_8859_8_RLM 0xFE
Index: fribidi-char-sets-utf8.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets-utf8.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets-utf8.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets-utf8.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,12 +33,12 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
+#include <common.h>
+
#include <fribidi-char-sets-utf8.h>
#include <fribidi-unicode.h>
-#include <common.h>
-
FriBidiStrIndex
fribidi_utf8_to_unicode (
/* input */
Index: fribidi-char-sets.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets.c 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets.c 3 May 2004 22:05:19 -0000 1.2
@@ -33,10 +33,10 @@
* For licensing issues, contact <license at farsiweb.info>.
*/
-#include <fribidi-char-sets.h>
-
#include <common.h>
+#include <fribidi-char-sets.h>
+
typedef struct
{
FriBidiChar (
Index: fribidi-char-sets.h
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/fribidi-char-sets.h 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/fribidi-char-sets.h 3 May 2004 22:05:19 -0000 1.2
@@ -80,7 +80,7 @@
/* fribidi_unicode_to_charset - convert string from Unicode
*
* This function converts a Unicode string to an string in another character
- * set. It also zero-terminates the output string.
+ * set. It also null-terminates the output string.
*
* Returns: The length of the new string.
*/
More information about the FriBidi-Commit
mailing list