[Swfdec] 5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_date.c libswfdec/swfdec_as_date.h libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_filter.c libswfdec/swfdec_initialize.as libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_loadvars_as.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_swf_decoder.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 libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/crashfinder.c

Pekka Lampila medar at kemper.freedesktop.org
Fri Nov 2 15:20:36 PDT 2007


 libswfdec/swfdec_as_array.c            |    2 -
 libswfdec/swfdec_as_array.h            |    2 -
 libswfdec/swfdec_as_date.c             |    2 -
 libswfdec/swfdec_as_date.h             |    2 -
 libswfdec/swfdec_as_initialize.as      |    1 
 libswfdec/swfdec_as_interpret.c        |    1 
 libswfdec/swfdec_as_object.c           |   38 ++++++++++++++++++++++++--------
 libswfdec/swfdec_filter.c              |    1 
 libswfdec/swfdec_initialize.as         |    1 
 libswfdec/swfdec_load_object.c         |    1 
 libswfdec/swfdec_load_object.h         |    1 
 libswfdec/swfdec_load_object_as.c      |    1 
 libswfdec/swfdec_loadvars_as.c         |    2 -
 libswfdec/swfdec_style_sheet.c         |    1 
 libswfdec/swfdec_style_sheet.h         |    2 -
 libswfdec/swfdec_swf_decoder.c         |    4 +--
 libswfdec/swfdec_text_field.c          |    2 -
 libswfdec/swfdec_text_field.h          |    2 -
 libswfdec/swfdec_text_field_movie.c    |   39 +++++++++++++++++++++++++++++----
 libswfdec/swfdec_text_field_movie.h    |    4 ++-
 libswfdec/swfdec_text_field_movie_as.c |    7 +++++
 libswfdec/swfdec_text_format.c         |    1 
 libswfdec/swfdec_text_format.h         |    2 -
 libswfdec/swfdec_xml.c                 |    1 
 libswfdec/swfdec_xml.h                 |    2 -
 libswfdec/swfdec_xml_node.c            |    1 
 libswfdec/swfdec_xml_node.h            |    2 -
 test/crashfinder.c                     |    3 +-
 28 files changed, 98 insertions(+), 30 deletions(-)

New commits:
commit 4132c0e5b114ec49e78f9b742ece06d30eebd3a2
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date:   Sat Nov 3 00:15:43 2007 +0200

    Fix lack of checking from prototype to see if watch removed the variable
    
    In the case variable that was only in __proto__ was watched it could not be set
    anymore (oops)

diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c
index f8b8f77..b90e915 100644
--- a/libswfdec/swfdec_as_object.c
+++ b/libswfdec/swfdec_as_object.c
@@ -354,15 +354,13 @@ swfdec_as_object_get_prototype (SwfdecAsObject *object)
   return object->prototype;
 }
 
-static void
-swfdec_as_object_do_set (SwfdecAsObject *object, const char *variable, 
-    const SwfdecAsValue *val, guint flags)
+static SwfdecAsVariable *
+swfdec_as_object_hash_lookup_with_prototype (SwfdecAsObject *object,
+    const char *variable)
 {
   SwfdecAsVariable *var;
-  SwfdecAsWatch *watch;
 
-  if (!swfdec_as_variable_name_is_valid (variable))
-    return;
+  g_return_val_if_fail (swfdec_as_variable_name_is_valid (variable), NULL);
 
   var = swfdec_as_object_hash_lookup (object, variable);
   if (var == NULL && variable != SWFDEC_AS_STR___proto__) {
@@ -380,9 +378,27 @@ swfdec_as_object_do_set (SwfdecAsObject *object, const char *variable,
     }
     if (i == SWFDEC_AS_OBJECT_PROTOTYPE_RECURSION_LIMIT) {
       swfdec_as_context_abort (object->context, "Prototype recursion limit exceeded");
-      return;
+      return NULL;
     }
   }
+
+  return var;
+}
+
+static void
+swfdec_as_object_do_set (SwfdecAsObject *object, const char *variable, 
+    const SwfdecAsValue *val, guint flags)
+{
+  SwfdecAsVariable *var;
+  SwfdecAsWatch *watch;
+
+  if (!swfdec_as_variable_name_is_valid (variable))
+    return;
+
+  var = swfdec_as_object_hash_lookup_with_prototype (object, variable);
+  if (swfdec_as_context_is_aborted (object->context))
+    return;
+
   if (var == NULL) {
     var = swfdec_as_object_hash_create (object, variable, flags);
     if (var == NULL)
@@ -417,9 +433,13 @@ swfdec_as_object_do_set (SwfdecAsObject *object, const char *variable,
       swfdec_as_function_call (watch->watch, object, 4, args, &ret);
       swfdec_as_context_run (object->context);
       swfdec_as_watch_unref (watch);
-      var = swfdec_as_object_hash_lookup (object, variable);
-      if (var == NULL)
+      var = swfdec_as_object_hash_lookup_with_prototype (object, variable);
+      if (swfdec_as_context_is_aborted (object->context))
+	return;
+      if (var == NULL) {
+	SWFDEC_INFO ("watch removed variable %s", variable);
 	return;
+      }
     }
 
     var->value = ret;
commit de1c71949255527f6ac9b7a65696ffd9a16b5575
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date:   Fri Nov 2 17:11:50 2007 +0200

    Add support for TextField's password property (rendering with asterisks)

diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index f679cdf..16e58db 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -48,6 +48,24 @@ swfdec_text_field_movie_update_extents (SwfdecMovie *movie,
 }
 
 static void
+swfdec_text_field_movie_ensure_asterisks (SwfdecTextFieldMovie *text,
+    guint length)
+{
+  g_return_if_fail (SWFDEC_IS_TEXT_FIELD_MOVIE (text));
+
+  if (text->asterisks_length >= length)
+    return;
+
+  if (text->asterisks != NULL)
+    g_free (text->asterisks);
+
+  text->asterisks = g_malloc (length + 1);
+  memset (text->asterisks, '*', length);
+  text->asterisks[length] = 0;
+  text->asterisks_length = length;
+}
+
+static void
 swfdec_text_paragraph_add_attribute (SwfdecParagraph *paragraph,
     PangoAttribute *attr)
 {
@@ -294,11 +312,13 @@ swfdec_text_field_movie_get_paragraphs (SwfdecTextFieldMovie *text, int *num)
   GArray *paragraphs;
   SwfdecParagraph paragraph;
   const char *p, *end;
+  guint max_length;
 
   g_assert (SWFDEC_IS_TEXT_FIELD_MOVIE (text));
 
   paragraphs = g_array_new (TRUE, TRUE, sizeof (SwfdecParagraph));
 
+  max_length = 0;
   p = text->input->str;
   while (*p != '\0')
   {
@@ -306,6 +326,9 @@ swfdec_text_field_movie_get_paragraphs (SwfdecTextFieldMovie *text, int *num)
     if (end == NULL)
       end = strchr (p, '\0');
 
+    if (end - p > max_length)
+      max_length = end - p;
+
     swfdec_text_field_movie_generate_paragraph (text, &paragraph,
 	p - text->input->str, end - p);
     paragraphs = g_array_append_val (paragraphs, paragraph);
@@ -317,6 +340,9 @@ swfdec_text_field_movie_get_paragraphs (SwfdecTextFieldMovie *text, int *num)
   if (num != NULL)
     *num = paragraphs->len;
 
+  if (text->text->password)
+    swfdec_text_field_movie_ensure_asterisks (text, max_length);
+
   return (SwfdecParagraph *)g_array_free (paragraphs, FALSE);
 }
 
@@ -487,9 +513,14 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *num,
       pango_layout_set_attributes (playout, attr_list);
       pango_attr_list_unref (attr_list);
 
-      pango_layout_set_text (playout,
-	  text->input->str + paragraphs[i].index_ + block->index_ + skip,
-	  paragraphs[i].length - block->index_ - skip);
+      if (text->text->password) {
+	pango_layout_set_text (playout, text->asterisks,
+	    paragraphs[i].length - block->index_ - skip);
+      } else {
+	pango_layout_set_text (playout,
+	    text->input->str + paragraphs[i].index_ + block->index_ + skip,
+	    paragraphs[i].length - block->index_ - skip);
+      }
 
       if (iter->next != NULL && text->text->word_wrap)
       {
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index 3970436..4c4af82 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -79,6 +79,8 @@ struct _SwfdecTextFieldMovie {
   SwfdecTextField *	text;		/* the text_field object we render */
 
   GString *		input;
+  char *		asterisks; /* bunch of asterisks that we display when password mode is enabled */
+  guint			asterisks_length;
   gboolean		input_html;	/* whether orginal input was given as HTML */
 
   const char *		variable;
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c
index a58ceef..c7aa845 100644
--- a/libswfdec/swfdec_text_field_movie_as.c
+++ b/libswfdec/swfdec_text_field_movie_as.c
@@ -804,6 +804,11 @@ swfdec_text_field_movie_set_password (SwfdecAsContext *cx,
 
   if (text->text->password != value) {
     text->text->password = value;
+    if (!value && text->asterisks != NULL) {
+      g_free (text->asterisks);
+      text->asterisks = NULL;
+      text->asterisks_length = 0;
+    }
     swfdec_movie_invalidate (SWFDEC_MOVIE (text));
   }
 }
commit d972587c74ecbf8dd34e886198a3a198ef091a59
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date:   Fri Nov 2 16:27:19 2007 +0200

    Rate 0 means 65536 not 1

diff --git a/libswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c
index 1e4e247..7269b68 100644
--- a/libswfdec/swfdec_swf_decoder.c
+++ b/libswfdec/swfdec_swf_decoder.c
@@ -230,8 +230,8 @@ swf_parse_header2 (SwfdecSwfDecoder * s)
   swfdec_bits_syncbits (&s->b);
   dec->rate = swfdec_bits_get_u16 (&s->b);
   if (dec->rate == 0) {
-    SWFDEC_INFO ("rate is 0, setting to 1");
-    dec->rate = 1;
+    SWFDEC_INFO ("rate is 0, setting to 65536");
+    dec->rate = 65536;
   }
   SWFDEC_LOG ("rate = %g", dec->rate / 256.0);
   dec->frames_total = swfdec_bits_get_u16 (&s->b);
commit 6865f7fd335a269437a342ca638de27975686322
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date:   Fri Nov 2 13:33:23 2007 +0200

    Add my info on few more files' copyright header

diff --git a/libswfdec/swfdec_style_sheet.c b/libswfdec/swfdec_style_sheet.c
index ccdd03c..d17768c 100644
--- a/libswfdec/swfdec_style_sheet.c
+++ b/libswfdec/swfdec_style_sheet.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_format.c b/libswfdec/swfdec_text_format.c
index ea1c675..543209b 100644
--- a/libswfdec/swfdec_text_format.c
+++ b/libswfdec/swfdec_text_format.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
commit a9dfa3f43d182c7d5b5d2d9fb6a013c159cd38a5
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date:   Fri Nov 2 13:25:45 2007 +0200

    Fix/add my info on some copyright headers

diff --git a/libswfdec/swfdec_as_array.c b/libswfdec/swfdec_as_array.c
index 1c9c61a..4c30399 100644
--- a/libswfdec/swfdec_as_array.c
+++ b/libswfdec/swfdec_as_array.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_as_array.h b/libswfdec/swfdec_as_array.h
index cf8ee3a..4c23a7f 100644
--- a/libswfdec/swfdec_as_array.h
+++ b/libswfdec/swfdec_as_array.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_as_date.c b/libswfdec/swfdec_as_date.c
index 1029d44..079093f 100644
--- a/libswfdec/swfdec_as_date.c
+++ b/libswfdec/swfdec_as_date.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_as_date.h b/libswfdec/swfdec_as_date.h
index 8bddebe..547b568 100644
--- a/libswfdec/swfdec_as_date.h
+++ b/libswfdec/swfdec_as_date.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_as_initialize.as b/libswfdec/swfdec_as_initialize.as
index 7fdfb85..f3b5b25 100644
--- a/libswfdec/swfdec_as_initialize.as
+++ b/libswfdec/swfdec_as_initialize.as
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 24e1bb9..f711e19 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_filter.c b/libswfdec/swfdec_filter.c
index 3a1e7bd..b51561b 100644
--- a/libswfdec/swfdec_filter.c
+++ b/libswfdec/swfdec_filter.c
@@ -1,6 +1,5 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as
index a27b80f..bfb2e78 100644
--- a/libswfdec/swfdec_initialize.as
+++ b/libswfdec/swfdec_initialize.as
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_load_object.c b/libswfdec/swfdec_load_object.c
index a50edd1..838b756 100644
--- a/libswfdec/swfdec_load_object.c
+++ b/libswfdec/swfdec_load_object.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_load_object.h b/libswfdec/swfdec_load_object.h
index 071ab4d..7ab412c 100644
--- a/libswfdec/swfdec_load_object.h
+++ b/libswfdec/swfdec_load_object.h
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_load_object_as.c b/libswfdec/swfdec_load_object_as.c
index c239ace..2315097 100644
--- a/libswfdec/swfdec_load_object_as.c
+++ b/libswfdec/swfdec_load_object_as.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_loadvars_as.c b/libswfdec/swfdec_loadvars_as.c
index d88b345..60e8aa1 100644
--- a/libswfdec/swfdec_loadvars_as.c
+++ b/libswfdec/swfdec_loadvars_as.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_style_sheet.h b/libswfdec/swfdec_style_sheet.h
index 44876be..14fe280 100644
--- a/libswfdec/swfdec_style_sheet.h
+++ b/libswfdec/swfdec_style_sheet.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c
index 2a1436d..af90d23 100644
--- a/libswfdec/swfdec_text_field.c
+++ b/libswfdec/swfdec_text_field.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2006-2007 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_field.h b/libswfdec/swfdec_text_field.h
index 1bde7bb..a321a1c 100644
--- a/libswfdec/swfdec_text_field.h
+++ b/libswfdec/swfdec_text_field.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2006-2007 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 2ca9424..f679cdf 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2006 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index 4a03fdd..3970436 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2006 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c
index 0b73b2b..a58ceef 100644
--- a/libswfdec/swfdec_text_field_movie_as.c
+++ b/libswfdec/swfdec_text_field_movie_as.c
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *                    Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_text_format.h b/libswfdec/swfdec_text_format.h
index c0b1859..77dddb4 100644
--- a/libswfdec/swfdec_text_format.h
+++ b/libswfdec/swfdec_text_format.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c
index 5c52126..9edf4d0 100644
--- a/libswfdec/swfdec_xml.c
+++ b/libswfdec/swfdec_xml.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_xml.h b/libswfdec/swfdec_xml.h
index 1faff6b..23def0a 100644
--- a/libswfdec/swfdec_xml.h
+++ b/libswfdec/swfdec_xml.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_xml_node.c b/libswfdec/swfdec_xml_node.c
index a528896..4e22ca6 100644
--- a/libswfdec/swfdec_xml_node.c
+++ b/libswfdec/swfdec_xml_node.c
@@ -1,5 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/libswfdec/swfdec_xml_node.h b/libswfdec/swfdec_xml_node.h
index 07c721c..1315be2 100644
--- a/libswfdec/swfdec_xml_node.h
+++ b/libswfdec/swfdec_xml_node.h
@@ -1,6 +1,6 @@
 /* Swfdec
  * Copyright (C) 2007 Benjamin Otte <otte at gnome.org>
- *		 2007 Pekka Lampila <pekka.lampila at iki.fi>
+ *               2007 Pekka Lampila <pekka.lampila at iki.fi>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/test/crashfinder.c b/test/crashfinder.c
index 418c9d0..2724e03 100644
--- a/test/crashfinder.c
+++ b/test/crashfinder.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2007 Pekka Lampila <pekka.lampila at iki.fi>
+/* Swfdec
+ * Copyright (C) 2007 Pekka Lampila <pekka.lampila at iki.fi>
  *               2007 Benjamin Otte <otte at gnome.org>
  *
  * This library is free software; you can redistribute it and/or


More information about the Swfdec mailing list