search for: gssize

Displaying 9 results from an estimated 9 matches for "gssize".

Did you mean: gsize
2006 Jun 12
1
Ruuid had non-zero exit status (PR#8965)
...re "G_BEGIN_DECLS" /usr/local/include/glib-2.0/glib/gconvert.h:35: error: syntax error before "typedef" /usr/local/include/glib-2.0/glib/gconvert.h:56: error: parse error before "gsize" /usr/local/include/glib-2.0/glib/gconvert.h:63: error: parse error before "gssize" /usr/local/include/glib-2.0/glib/gconvert.h:68: warning: data definition has no type or storage class /usr/local/include/glib-2.0/glib/gconvert.h:70: error: parse error before "gssize" /usr/local/include/glib-2.0/glib/gconvert.h:74: warning: data definition has no type or storage...
2007 Oct 14
0
5 commits - 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_xml.c libswfdec/swfdec_xml.h
...d); g_free (unescaped); diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c index a710f15..c3c2e44 100644 --- a/libswfdec/swfdec_xml.c +++ b/libswfdec/swfdec_xml.c @@ -116,7 +116,8 @@ swfdec_xml_escape (const char *orginal) } char * -swfdec_xml_unescape_len (const char *orginal, gssize length) +swfdec_xml_unescape_len (SwfdecAsContext *cx, const char *orginal, + gssize length) { int i; const char *p, *start; @@ -132,7 +133,7 @@ swfdec_xml_unescape_len (const char *orginal, gssize length) if (!g_ascii_strncasecmp (p, xml_entities[i].escaped, strlen (xml_enti...
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
...ing is 11MB long and we only unescape 5 characters. diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c index 70b3924..afcf618 100644 --- a/libswfdec/swfdec_xml.c +++ b/libswfdec/swfdec_xml.c @@ -121,13 +121,14 @@ swfdec_xml_unescape_len (SwfdecAsContext *cx, const char *orginal, gssize length, gboolean unescape_nbsp) { int i; - const char *p, *start; + const char *p, *start, *end; GString *string; string = g_string_new (""); p = start = orginal; - while ((p = strchr (p, '&')) != NULL && p - orginal < length) { + end = orginal...
2007 Mar 29
0
Branch 'as' - 9 commits - configure.ac doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_stack.c
...work diff --git a/libswfdec/swfdec_as_stack.h b/libswfdec/swfdec_as_stack.h index 4792b33..c201e8a 100644 --- a/libswfdec/swfdec_as_stack.h +++ b/libswfdec/swfdec_as_stack.h @@ -40,7 +40,7 @@ void swfdec_as_stack_free (SwfdecAsSta #define swfdec_as_stack_peek(stack,n) (&(stack)->cur[-(gssize)(n)]) #define swfdec_as_stack_pop(stack) (--(stack)->cur) -#define swfdec_as_stack_push(stack,val) (*(stack)->cur++) +#define swfdec_as_stack_push(stack,val) (*(stack)->cur++ = *(val)) void swfdec_as_stack_mark (SwfdecAsStack * stack); void swfdec_as_stack_ensure_size (SwfdecAsStac...
2007 Dec 23
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_character.c libswfdec/swfdec_external_interface.c libswfdec/swfdec.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...ped); diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c index cbecf86..70b3924 100644 --- a/libswfdec/swfdec_xml.c +++ b/libswfdec/swfdec_xml.c @@ -118,7 +118,7 @@ swfdec_xml_escape (const char *orginal) char * swfdec_xml_unescape_len (SwfdecAsContext *cx, const char *orginal, - gssize length) + gssize length, gboolean unescape_nbsp) { int i; const char *p, *start; @@ -134,8 +134,12 @@ swfdec_xml_unescape_len (SwfdecAsContext *cx, const char *orginal, if (!g_ascii_strncasecmp (p, xml_entities[i].escaped, strlen (xml_entities[i].escaped))) { // FIXME: Do t...
2007 Apr 04
0
Branch 'as' - 9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_stack.c libswfdec/swfdec_as_stack.h
..., 1)); diff --git a/libswfdec/swfdec_as_stack.h b/libswfdec/swfdec_as_stack.h index 97422a0..a5b14a6 100644 --- a/libswfdec/swfdec_as_stack.h +++ b/libswfdec/swfdec_as_stack.h @@ -40,7 +40,7 @@ void swfdec_as_stack_free (SwfdecAsSta #define swfdec_as_stack_peek(stack,n) (&(stack)->cur[-(gssize)(n)]) #define swfdec_as_stack_pop(stack) (--(stack)->cur) -#define swfdec_as_stack_push(stack,val) (*(stack)->cur++ = *(val)) +#define swfdec_as_stack_push(stack) ((stack)->cur++) #define swfdec_as_stack_get_size(stack) ((guint)((stack)->cur - (stack)->base)) void swfdec_as_sta...
2007 Apr 05
0
Branch 'as' - 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...pop_n diff --git a/libswfdec/swfdec_as_stack.h b/libswfdec/swfdec_as_stack.h index a5b14a6..49c57a7 100644 --- a/libswfdec/swfdec_as_stack.h +++ b/libswfdec/swfdec_as_stack.h @@ -40,6 +40,7 @@ void swfdec_as_stack_free (SwfdecAsSta #define swfdec_as_stack_peek(stack,n) (&(stack)->cur[-(gssize)(n)]) #define swfdec_as_stack_pop(stack) (--(stack)->cur) +#define swfdec_as_stack_pop_n(stack, n) ((stack)->cur -= (n)) #define swfdec_as_stack_push(stack) ((stack)->cur++) #define swfdec_as_stack_get_size(stack) ((guint)((stack)->cur - (stack)->base)) diff-tree 737748443383004...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...et_size diff --git a/libswfdec/swfdec_as_stack.h b/libswfdec/swfdec_as_stack.h index c201e8a..97422a0 100644 --- a/libswfdec/swfdec_as_stack.h +++ b/libswfdec/swfdec_as_stack.h @@ -41,6 +41,7 @@ void swfdec_as_stack_free (SwfdecAsSta #define swfdec_as_stack_peek(stack,n) (&(stack)->cur[-(gssize)(n)]) #define swfdec_as_stack_pop(stack) (--(stack)->cur) #define swfdec_as_stack_push(stack,val) (*(stack)->cur++ = *(val)) +#define swfdec_as_stack_get_size(stack) ((guint)((stack)->cur - (stack)->base)) void swfdec_as_stack_mark (SwfdecAsStack * stack); void swfdec_as_stack_...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...ibswfdec/swfdec_xml.h @@ -67,16 +67,23 @@ struct _SwfdecXmlClass { SwfdecXmlNodeClass xml_node_class; }; -GType swfdec_xml_get_type (void); +GType swfdec_xml_get_type (void); -char * swfdec_xml_escape (const char * orginal); -char * swfdec_xml_escape_len (const char * orginal, - gssize length); -char * swfdec_xml_unescape (SwfdecAsContext * cx, - const char * orginal); -char * swfdec_xml_unescape_len (SwfdecAsContext * cx, - const char * orginal, - gssize length); +char * swfdec_xml_escape (const char * orginal); +char * swfdec_xml_escape_len (const ch...