rpms/gtkhtml3/devel gtkhtml-fix-indic-navigation-129212.patch, 1.1, 1.2 gtkhtml3.spec, 1.60, 1.61

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 11 00:37:20 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gtkhtml3/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv4662

Modified Files:
	gtkhtml-fix-indic-navigation-129212.patch gtkhtml3.spec 
Log Message:
3.10.1


gtkhtml-fix-indic-navigation-129212.patch:
 gtkhtml-3.10.1/src/htmlcursor.c     |   34 +++----
 src/htmlengine-edit-cut-and-paste.c |   13 +-
 src/htmlobject.c                    |   29 ++++--
 src/htmlobject.h                    |   15 ++-
 src/htmltext.c                      |  167 ++++++++++++++++++++++++++++++++++++
 5 files changed, 225 insertions(+), 33 deletions(-)

Index: gtkhtml-fix-indic-navigation-129212.patch
===================================================================
RCS file: /cvs/dist/rpms/gtkhtml3/devel/gtkhtml-fix-indic-navigation-129212.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gtkhtml-fix-indic-navigation-129212.patch	27 Jul 2005 00:50:19 -0000	1.1
+++ gtkhtml-fix-indic-navigation-129212.patch	11 Apr 2006 00:37:15 -0000	1.2
@@ -1,150 +1,3 @@
---- orig/src/htmlcursor.c
-+++ mod/src/htmlcursor.c
-@@ -203,12 +203,12 @@
- 
- 
- static gboolean
--forward (HTMLCursor *cursor)
-+forward (HTMLCursor *cursor, HTMLEngine *engine)
- {
- 	gboolean retval;
- 
- 	retval = TRUE;
--	if (!html_object_cursor_forward (cursor->object, cursor)) {
-+	if (!html_object_cursor_forward (cursor->object, cursor, engine)) {
- 		HTMLObject *next;
- 
- 		next = html_object_next_cursor (cursor->object, &cursor->offset);
-@@ -237,7 +237,7 @@
- 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
- 
- 	cursor->have_target_x = FALSE;
--	retval = forward (cursor);
-+	retval = forward (cursor, engine);
- 
- 	debug_location (cursor);
- 
-@@ -245,12 +245,12 @@
- }
- 
- static gboolean
--backward (HTMLCursor *cursor)
-+backward (HTMLCursor *cursor, HTMLEngine *engine)
- {
- 	gboolean retval;
- 
- 	retval = TRUE;
--	if (!html_object_cursor_backward (cursor->object, cursor)) {
-+	if (!html_object_cursor_backward (cursor->object, cursor, engine)) {
- 		HTMLObject *prev;
- 
- 		prev = html_object_prev_cursor (cursor->object, &cursor->offset);
-@@ -280,7 +280,7 @@
- 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
- 
- 	cursor->have_target_x = FALSE;
--	retval = backward (cursor);
-+	retval = backward (cursor, engine);
- 
- 	debug_location (cursor);
- 
-@@ -340,7 +340,7 @@
- 		prev_x = x;
- 		prev_y = y;
- 
--		if (! backward (cursor))
-+		if (! backward (cursor, engine))
- 			return FALSE;
- 
- 		html_object_get_cursor_base (cursor->object,
-@@ -562,14 +562,14 @@
- 
- 	html_cursor_copy (&original, cursor);
- 
--	while (forward (cursor)) {
-+	while (forward (cursor, engine)) {
- 		if (cursor->object == object && cursor->offset == offset)
- 			return TRUE;
- 	}
- 
- 	html_cursor_copy (cursor, &original);
- 
--	while (backward (cursor)) {
-+	while (backward (cursor, engine)) {
- 		if (cursor->object == object && cursor->offset == offset)
- 			return TRUE;
- 	}
-@@ -593,7 +593,7 @@
- 	if (engine->need_spell_check)
- 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
- 
--	while (backward (cursor))
-+	while (backward (cursor, engine))
- 		;
- }
- 
-@@ -610,7 +610,7 @@
- 	if (engine->need_spell_check)
- 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
- 
--	while (forward (cursor))
-+	while (forward (cursor, engine))
- 		;
- }
- 
-@@ -646,12 +646,12 @@
- 
- 	if (cursor->position < position) {
- 		while (cursor->position < position) {
--			if (! forward (cursor))
-+			if (! forward (cursor, engine))
- 				break;
- 		}
- 	} else if (cursor->position > position) {
- 		while (cursor->position > position) {
--			if (! backward (cursor))
-+			if (! backward (cursor, engine))
- 				break;
- 		}
- 	}
-@@ -755,7 +755,7 @@
- 	while (1) {
- 		if (!cursor->offset) {
- 			copy = html_cursor_dup (cursor);
--			if (backward (cursor)) {
-+			if (backward (cursor, engine)) {
- 				new_level = html_object_get_parent_level (cursor->object);
- 				if (new_level < level
- 				    || (new_level == level && flow != cursor->object->parent)) {
-@@ -767,7 +767,7 @@
- 				break;
- 		}
- 			else
--				if (!backward (cursor))
-+				if (!backward (cursor, engine))
- 					break;
- 		rv = TRUE;
- 	}
-@@ -794,7 +794,7 @@
- 	while (1) {
- 		if (cursor->offset == html_object_get_length (cursor->object)) {
- 			copy = html_cursor_dup (cursor);
--			if (forward (cursor)) {
-+			if (forward (cursor, engine)) {
- 				new_level = html_object_get_parent_level (cursor->object);
- 				if (new_level < level
- 				    || (new_level == level && flow != cursor->object->parent)) {
-@@ -806,7 +806,7 @@
- 				break;
- 		}
- 			else
--				if (!forward (cursor))
-+				if (!forward (cursor, engine))
- 					break;
- 		rv = TRUE;
- 	}
-
-
 --- orig/src/htmlengine-edit-cut-and-paste.c
 +++ mod/src/htmlengine-edit-cut-and-paste.c
 @@ -1445,14 +1445,15 @@
@@ -501,3 +354,148 @@
 +	object_class->backspace = html_text_backspace;
   	object_class->get_right_edge_offset = html_text_get_right_edge_offset;
  	object_class->get_left_edge_offset = html_text_get_left_edge_offset;
+--- gtkhtml-3.10.1/src/htmlcursor.c.fix-indic-navigation	2006-04-10 20:31:00.000000000 -0400
++++ gtkhtml-3.10.1/src/htmlcursor.c	2006-04-10 20:34:57.000000000 -0400
+@@ -203,12 +203,12 @@
+ 
+ 
+ static gboolean
+-forward (HTMLCursor *cursor)
++forward (HTMLCursor *cursor, HTMLEngine *engine)
+ {
+ 	gboolean retval;
+ 
+ 	retval = TRUE;
+-	if (!html_object_cursor_forward (cursor->object, cursor)) {
++	if (!html_object_cursor_forward (cursor->object, cursor, engine)) {
+ 		HTMLObject *next;
+ 
+ 		next = html_object_next_cursor (cursor->object, &cursor->offset);
+@@ -237,7 +237,7 @@
+ 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
+ 
+ 	cursor->have_target_x = FALSE;
+-	retval = forward (cursor);
++	retval = forward (cursor, engine);
+ 
+ 	debug_location (cursor);
+ 
+@@ -245,12 +245,12 @@
+ }
+ 
+ static gboolean
+-backward (HTMLCursor *cursor)
++backward (HTMLCursor *cursor, HTMLEngine *engine)
+ {
+ 	gboolean retval;
+ 
+ 	retval = TRUE;
+-	if (!html_object_cursor_backward (cursor->object, cursor)) {
++	if (!html_object_cursor_backward (cursor->object, cursor, engine)) {
+ 		HTMLObject *prev;
+ 
+ 		prev = html_object_prev_cursor (cursor->object, &cursor->offset);
+@@ -280,7 +280,7 @@
+ 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
+ 
+ 	cursor->have_target_x = FALSE;
+-	retval = backward (cursor);
++	retval = backward (cursor, engine);
+ 
+ 	debug_location (cursor);
+ 
+@@ -337,7 +337,7 @@
+ 		prev_x = x;
+ 		prev_y = y;
+ 
+-		if (! backward (cursor))
++		if (! backward (cursor, engine))
+ 			return FALSE;
+ 
+ 		html_object_get_cursor_base (cursor->object,
+@@ -556,14 +556,14 @@
+ 
+ 	html_cursor_copy (&original, cursor);
+ 
+-	while (forward (cursor)) {
++	while (forward (cursor, engine)) {
+ 		if (cursor->object == object && cursor->offset == offset)
+ 			return TRUE;
+ 	}
+ 
+ 	html_cursor_copy (cursor, &original);
+ 
+-	while (backward (cursor)) {
++	while (backward (cursor, engine)) {
+ 		if (cursor->object == object && cursor->offset == offset)
+ 			return TRUE;
+ 	}
+@@ -587,7 +587,7 @@
+ 	if (engine->need_spell_check)
+ 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
+ 
+-	while (backward (cursor))
++	while (backward (cursor, engine))
+ 		;
+ }
+ 
+@@ -604,7 +604,7 @@
+ 	if (engine->need_spell_check)
+ 		html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
+ 
+-	while (forward (cursor))
++	while (forward (cursor, engine))
+ 		;
+ }
+ 
+@@ -640,12 +640,12 @@
+ 
+ 	if (cursor->position < position) {
+ 		while (cursor->position < position) {
+-			if (! forward (cursor))
++			if (! forward (cursor, engine))
+ 				break;
+ 		}
+ 	} else if (cursor->position > position) {
+ 		while (cursor->position > position) {
+-			if (! backward (cursor))
++			if (! backward (cursor, engine))
+ 				break;
+ 		}
+ 	}
+@@ -749,7 +749,7 @@
+ 	while (1) {
+ 		if (!cursor->offset) {
+ 			html_cursor_copy (&copy, cursor);
+-			if (backward (cursor)) {
++			if (backward (cursor, engine)) {
+ 				new_level = html_object_get_parent_level (cursor->object);
+ 				if (new_level < level
+ 				    || (new_level == level && flow != cursor->object->parent)) {
+@@ -760,7 +760,7 @@
+ 				break;
+ 		}
+ 			else
+-				if (!backward (cursor))
++				if (!backward (cursor, engine))
+ 					break;
+ 		rv = TRUE;
+ 	}
+@@ -787,7 +787,7 @@
+ 	while (1) {
+ 		if (cursor->offset == html_object_get_length (cursor->object)) {
+ 			html_cursor_copy (&copy, cursor);
+-			if (forward (cursor)) {
++			if (forward (cursor, engine)) {
+ 				new_level = html_object_get_parent_level (cursor->object);
+ 				if (new_level < level
+ 				    || (new_level == level && flow != cursor->object->parent)) {
+@@ -798,7 +798,7 @@
+ 				break;
+ 		}
+ 			else
+-				if (!forward (cursor))
++				if (!forward (cursor, engine))
+ 					break;
+ 		rv = TRUE;
+ 	}


Index: gtkhtml3.spec
===================================================================
RCS file: /cvs/dist/rpms/gtkhtml3/devel/gtkhtml3.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- gtkhtml3.spec	10 Apr 2006 23:48:52 -0000	1.60
+++ gtkhtml3.spec	11 Apr 2006 00:37:15 -0000	1.61
@@ -100,6 +100,7 @@
 %changelog
 * Mon Apr 10 2006 Matthias Clasen <mclasen at redhat.com> - 3.10.1-2
 - Update to 3.10.1
+- Update patches
 
 * Fri Apr  7 2006 Dan Williams <dcbw at redhat.com> - 3.10.0-2
 - Fix crash with IM enabled




More information about the fedora-cvs-commits mailing list