search for: replacetext

Displaying 11 results from an estimated 11 matches for "replacetext".

2007 Oct 25
0
12 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...eld_movie_replace_text (S } prev = iter; } + - if (end_index == g_utf8_strlen (text->input->str, -1)) { + if (end_index == (guint) g_utf8_strlen (text->input->str, -1)) { if (SWFDEC_AS_OBJECT (text)->context->version < 8) { SWFDEC_FIXME ("replaceText to the end of the TextField might use wrong text format on version 7"); } commit c0affd1ac98b7ac9e2eebd02ad47018ecdce0415 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Thu Oct 25 12:04:55 2007 +0300 Add a test for TextField's replaceText method diff --git a/test...
2008 Apr 09
0
Swfdec 0.6.4 released
...soon as possible. swfdec-0.6.4 "College Humor" http://swfdec.freedesktop.org/download/swfdec/0.6/swfdec-0.6.4.tar.gz MD5: a1568696246889109b884cb5434e81fc fixes in this release: - fix a security problem that allowed remote Flash files to read local files. - fix a rare crash in TextField.replaceText - fix a rare crash during cleanup Swfdec still follows the no-crashes-allowed policy. Should you still succeed in finding a crasher, please immediately file a bug at https://bugs.freedesktop.org. For more information about Swfdec, see http://swfdec.freedesktop.org Cheers, Benjamin
2007 Oct 31
0
2 commits - libswfdec/swfdec_sound.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie_html.c
...c_text_field_movie_replace_text (SwfdecTextFieldMovie *text, prev = iter; } - if (end_index == (guint) g_utf8_strlen (text->input->str, -1)) { + if (end_index == text->input->len) { if (SWFDEC_AS_OBJECT (text)->context->version < 8) { SWFDEC_FIXME ("replaceText to the end of the TextField might use wrong text format on version 7"); } @@ -1335,14 +1334,9 @@ swfdec_text_field_movie_replace_text (SwfdecTextFieldMovie *text, text->formats = g_slist_append (text->formats, findex); } - text->input = g_string_erase (text->input,...
2007 Oct 22
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...o_surface_destroy (text->surface); + text->surface = NULL; G_OBJECT_CLASS (swfdec_text_field_movie_parent_class)->dispose (object); } commit 6558d9d7481094f0c5b601cef0421b8cbd67a862 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Oct 22 17:48:11 2007 +0300 Fix replaceText with multibyte chars Also make it actually replace and not just insert again diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index df76d49..ef8f2ce 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -1544,7...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):
2010 Jul 30
0
Wine release 1.3.0
...dpad: Reduce unnecessary flicker from extra background erasing. wordpad: Remove sized print preview page buffer. wordpad: Avoid filling overlapping rectangles in print preview. wordpad: Save and load word wrap registry options. comdlg32: Check for valid replace parameters on ReplaceTextW. comdlg32: Zero length replace buffer is valid for ReplaceText. comdlg32: Test and fix Find/ReplaceText parameter checking code. user32: DefMDIChildProc sends WM_MDINEXT with active child handle. user32/tests: Minimized windows shouldn't be resizable. user32: Prev...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...e_text (SwfdecTextFieldMovie *text, } prev = iter; } - if (end_index == g_utf8_strlen (text->input->str, -1)) { + if (end_index == (guint) g_utf8_strlen (text->input->str, -1)) { if (SWFDEC_AS_OBJECT (text)->context->version < 8) { SWFDEC_FIXME ("replaceText to the end of the TextField might use wrong text format on version 7"); } commit 97f5dc34bcff9bf2eab1ad52f35a6db17e05e55e Author: Benjamin Otte <otte at gnome.org> Date: Wed Oct 24 11:25:19 2007 +0200 perform length calculation just once Also gets around sign warning...
2007 Oct 18
0
14 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h libswfdec/swfdec_text_format.c
...ace/remove-movie.as | 37 + 27 files changed, 987 insertions(+), 500 deletions(-) New commits: commit 60c0c37915e23e347b216c62a2b200a2f54e256e Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Thu Oct 18 20:51:52 2007 +0300 Fix text format handling in TextField's replaceText Still bugs at least when adding text to the end in version 7 diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index c0263ed..4272c7c 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -1475,8 +1475,10 @@ void...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...uot;, true], + ["_global.TextField.prototype", "getTextFormat", true], + ["_global.TextField.prototype", "removeTextField", true], + ["_global.TextField.prototype", "replaceSel", true], + ["_global.TextField.prototype", "replaceText", true], + ["_global.TextField.prototype", "setNewTextFormat", true], + ["_global.TextField.prototype", "setTextFormat", true], + ["_global.TextFormat", "prototype", false], + ["_global.TextSnapshot", "prototype&quo...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...1547,7 @@ swfdec_text_field_movie_replace_text (SwfdecTextFieldMovie *text, } prev = iter; } - if (end_index == strlen (text->text_display)) { + if (end_index == text->input->len) { if (SWFDEC_AS_OBJECT (text)->context->version < 8) { SWFDEC_FIXME ("replaceText to the end of the TextField might use wrong text format on version 7"); } @@ -1569,9 +1558,6 @@ swfdec_text_field_movie_replace_text (SwfdecTextFieldMovie *text, text->formats = g_slist_append (text->formats, findex); } - text->text_display = - swfdec_as_context_giv...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...ndex->index_ += strlen (str) - (end_index - start_index); if (first) { - findex->index -= strlen (str); + findex->index_ -= strlen (str); first = FALSE; } } @@ -1601,7 +1582,7 @@ swfdec_text_field_movie_replace_text (SwfdecTextFieldMovie *text, SWFDEC_FIXME ("replaceText to the end of the TextField might use wrong text format on version 7"); } findex = g_new0 (SwfdecFormatIndex, 1); - findex->index = start_index; + findex->index_ = start_index; findex->format = swfdec_text_format_copy ( ((SwfdecFormatIndex *)text->formats-&gt...