Displaying 6 results from an estimated 6 matches for "swfdec_as_integer_to_str".
2008 Jan 07
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_types.c libswfdec/swfdec_xml.c
...2 +-
libswfdec/swfdec_xml.c | 5 +++--
6 files changed, 24 insertions(+), 27 deletions(-)
New commits:
commit 7384ece8d36106701d9231cae70a071af55206fe
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Jan 7 10:39:35 2008 +0100
replace swfdec_as_double_to_string with swfdec_as_integer_to_string where appropriate
diff --git a/libswfdec/swfdec_as_array.c b/libswfdec/swfdec_as_array.c
index 61a62e9..f28170c 100644
--- a/libswfdec/swfdec_as_array.c
+++ b/libswfdec/swfdec_as_array.c
@@ -182,7 +182,7 @@ swfdec_as_array_remove_range (SwfdecAsArray *array, gint32 start_index,
// to avoid f...
2007 Dec 17
0
2 commits - doc/Makefile.am doc/swfdec-sections.txt NEWS
...dec_player_get_maximum_runtime
swfdec_player_set_maximum_runtime
<SUBSECTION Standard>
+SwfdecPlayerPrivate
SwfdecPlayerClass
SWFDEC_PLAYER
SWFDEC_IS_PLAYER
@@ -284,6 +287,7 @@ SWFDEC_AS_VALUE_SET_OBJECT
swfdec_as_value_to_primitive
swfdec_as_value_to_debug
swfdec_as_double_to_string
+swfdec_as_integer_to_string
swfdec_as_str_concat
<SUBSECTION Standard>
SWFDEC_IS_AS_VALUE
@@ -344,6 +348,7 @@ swfdec_as_object_set_variable_and_flags
swfdec_as_object_add_variable
swfdec_as_object_set_variable_flags
swfdec_as_object_unset_variable_flags
+swfdec_as_object_has_variable
swfdec_as_object_delete_va...
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...dient->radial = radial;
+ len = MIN (len, 8);
+ gradient->n_gradients = len;
+ for (i = 0; i < len; i++) {
+ int c, a, r;
+ SwfdecAsValue v;
+ int check = swfdec_sprite_movie_gradient_fill_check_length (colors, alphas, ratios);
+ if (check > i) {
+ const char *name = swfdec_as_integer_to_string (cx, i);
+ if (swfdec_as_object_get_variable (colors, name, &v)
+ && SWFDEC_AS_VALUE_IS_NUMBER (&v))
+ c = swfdec_as_value_to_integer (cx, &v);
+ else
+ c = 0;
+ if (!swfdec_as_object_get_variable (alphas, name, &v)) {
+ a = c;
+ } else if (!SWFDEC_A...
2008 Jan 10
0
8 commits - libswfdec/swfdec_as_date.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_bits.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_text_field_movie_html.c test/trace
...Date: Thu Jan 10 12:24:48 2008 +0100
get rid of fpclassify()
Should make porting easier.
diff --git a/libswfdec/swfdec_as_types.c b/libswfdec/swfdec_as_types.c
index 8e87a6b..420d094 100644
--- a/libswfdec/swfdec_as_types.c
+++ b/libswfdec/swfdec_as_types.c
@@ -248,105 +248,103 @@ swfdec_as_integer_to_string (SwfdecAsContext *context, int i)
const char *
swfdec_as_double_to_string (SwfdecAsContext *context, double d)
{
+ gboolean found = FALSE, gotdot = FALSE;
+ guint digits = 15;
+ char tmp[50], *end, *start, *s;
+
g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), SWFDEC_AS_STR_EMPTY);...
2007 Dec 18
2
Changes to 'refs/tags/0.5.5'
...s) pad by default
empty gradients are solid black
add a test that ensures non-increasing gradient ratios work
ratios must be increasing - if they're not, we force them to be
update reference image to work with Swfdec for now
add another test for gradients
add swfdec_as_integer_to_string()
implement beginGradientFill
add a gradient test
fix non-srcdir builds from autogen'd sources
only emit EOF signal if we're not already EOF
(attempt to) fix non-srcdir builds
Don't segfault during frame cleanup when exceptions are present (fixes #...
2008 Jan 01
0
4 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_sprite_movie_as.c test/trace
...f --git a/libswfdec/swfdec_as_types.h b/libswfdec/swfdec_as_types.h
index e90174d..ff22c8f 100644
--- a/libswfdec/swfdec_as_types.h
+++ b/libswfdec/swfdec_as_types.h
@@ -127,6 +127,7 @@ char * swfdec_as_value_to_debug (const SwfdecAsValue * value);
/* special conversion functions */
const char * swfdec_as_integer_to_string (SwfdecAsContext * context,
int i);
+int swfdec_as_double_to_integer (double d);
const char * swfdec_as_double_to_string (SwfdecAsContext * context,
double d);
const char * swfdec_as_str_concat (SwfdecAsContext * cx,