search for: swfdec_rect

Displaying 20 results from an estimated 28 matches for "swfdec_rect".

2007 Oct 10
0
libswfdec/swfdec_rect.c
libswfdec/swfdec_rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: diff-tree d622c9688417c3efd36e3f39a64654296a458e84 (from 985d5725de43dcf605d1e17b5d45e4bd5df1b55f) Author: Benjamin Otte <otte at gnome.org> Date: Wed Oct 10 22:49:14 2007 +0200 typo diff --git a/libswfdec/swfdec...
2007 Dec 17
0
2 commits - doc/Makefile.am doc/swfdec-sections.txt NEWS
...pattern.h \ swfdec_graphic.h \ swfdec_graphic_movie.h \ swfdec_image.h \ + swfdec_image_decoder.h \ swfdec_internal.h \ swfdec_interval.h \ swfdec_js.h \ @@ -112,6 +114,7 @@ IGNORE_HFILES= \ swfdec_path.h \ swfdec_pattern.h \ swfdec_player_internal.h \ + swfdec_policy_loader.h \ swfdec_rect.h \ swfdec_resource.h \ swfdec_resource_request.h \ diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 4a5e12a..09d067e 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -92,7 +92,9 @@ swfdec_player_get_alignment swfdec_player_set_alignment swfdec_player_...
2007 Jun 06
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h libswfdec/swfdec_tag.c
...get rid of the root sprite and put the relevant information into the SwfdecSwfDecoder diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 68350fc..5d8a92a 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -98,7 +98,6 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES swfdec_rect.c \ swfdec_ringbuffer.c \ swfdec_root_movie.c \ - swfdec_root_sprite.c \ swfdec_script.c \ swfdec_shape.c \ swfdec_sound.c \ @@ -194,7 +193,6 @@ noinst_HEADERS = \ swfdec_rect.h \ swfdec_ringbuffer.h \ swfdec_root_movie.h \ - swfdec_root_sprite.h \ swfdec_script.h \ swfdec_shape...
2007 Mar 16
0
5 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c
...fdec_graphic_movie.h \ swfdec_image.h \ swfdec_js.h \ + swfdec_listener.h \ swfdec_loader_internal.h \ + swfdec_loadertarget.h \ swfdec_marshal.h \ swfdec_morph_movie.h \ swfdec_morphshape.h \ swfdec_movie.h \ + swfdec_net_stream.h \ swfdec_pattern.h \ swfdec_player_internal.h \ swfdec_rect.h \ swfdec_ringbuffer.h \ swfdec_root_movie.h \ + swfdec_root_sprite.h \ + swfdec_script.h \ + swfdec_scriptable.h \ swfdec_shape.h \ swfdec_sound.h \ swfdec_sprite.h \ @@ -93,7 +102,10 @@ IGNORE_HFILES= \ swfdec_swf_decoder.h \ swfdec_tag.h \ swfdec_text.h \ - swfdec_types.h + swfd...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...e received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef __SWFEDIT_FILE_H__ +#define __SWFEDIT_FILE_H__ + +#include <libswfdec/swfdec_rect.h> +#include "swfedit_token.h" + +G_BEGIN_DECLS + +typedef struct _SwfeditFile SwfeditFile; +typedef struct _SwfeditFileClass SwfeditFileClass; + +#define SWFEDIT_TYPE_FILE (swfedit_file_get_type()) +#define SWFEDIT_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE...
2007 Mar 28
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_sprite.c libswfdec/swfdec_tag.c
...its_init_bits It's a shortcut for swfdec_bits_init (bits, swfdec_bits_get_buffer (from, length)); diff --git a/libswfdec/swfdec_bits.c b/libswfdec/swfdec_bits.c index ff863cc..46b0581 100644 --- a/libswfdec/swfdec_bits.c +++ b/libswfdec/swfdec_bits.c @@ -32,6 +32,25 @@ #include "swfdec_rect.h" +#define SWFDEC_BITS_CHECK(b,n) G_STMT_START { \ + if (swfdec_bits_left(b) < (n)) { \ + SWFDEC_ERROR ("reading past end of buffer"); \ + b->ptr = b->end; \ + b->idx = 0; \ + return 0; \ + } \ +}G_STMT_END +#define SWFDEC_BYTES_CHECK(b,n) G_STMT_START...
2007 Mar 07
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
...at are only executed once when the root movie instance first arrives at the given frame. diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index cce0bbc..ecd16aa 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -69,6 +69,7 @@ libswfdec_@SWFDEC_MAJORMINOR@_la_SOURCES swfdec_rect.c \ swfdec_ringbuffer.c \ swfdec_root_movie.c \ + swfdec_root_sprite.c \ swfdec_script.c \ swfdec_scriptable.c \ swfdec_shape.c \ @@ -142,6 +143,7 @@ noinst_HEADERS = \ swfdec_rect.h \ swfdec_ringbuffer.h \ swfdec_root_movie.h \ + swfdec_root_sprite.h \ swfdec_script.h \ swfdec_...
2007 Nov 01
0
3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...And yes, it's a lot of code again, but I had to change some APIs. Some... diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 0cf8b71..99a701b 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -96,6 +96,7 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES = \ swfdec_rect.c \ swfdec_rectangle.c \ swfdec_resource.c \ + swfdec_resource_request.c \ swfdec_ringbuffer.c \ swfdec_script.c \ swfdec_security.c \ @@ -219,6 +220,7 @@ noinst_HEADERS = \ swfdec_player_internal.h \ swfdec_rect.h \ swfdec_resource.h \ + swfdec_resource_request.h \ swfdec_ringbuf...
2007 Oct 22
0
6 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h
...quot;, (gulong) 10 * 1000, NULL); return player; } diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 3ed0d5a..749ee31 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1219,6 +1219,7 @@ swfdec_player_lock_soft (SwfdecPlayer *player) g_assert (swfdec_rectangle_is_empty (&player->invalid_extents)); g_object_freeze_notify (G_OBJECT (player)); + g_timer_start (player->runtime); SWFDEC_DEBUG ("LOCKED"); } @@ -1239,6 +1240,7 @@ swfdec_player_unlock_soft (SwfdecPlayer *player) g_return_if_fail (SWFDEC_IS_PLAYER (player))...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...as the frontend for objects accessible from AS Make SwfdecMovie a SwfdecScriptable diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 08e39de..8ab165c 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -63,6 +63,7 @@ libswfdec_@SWFDEC_MAJORMINOR@_la_SOURCES swfdec_rect.c \ swfdec_ringbuffer.c \ swfdec_root_movie.c \ + swfdec_scriptable.c \ swfdec_shape.c \ swfdec_sound.c \ swfdec_sprite.c \ @@ -131,6 +132,7 @@ noinst_HEADERS = \ swfdec_rect.h \ swfdec_ringbuffer.h \ swfdec_root_movie.h \ + swfdec_scriptable.h \ swfdec_shape.h \ swfdec_sound.h...
2007 Jan 24
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_script.c test/swfdec_out.c test/swfdec_out.h test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h
...color)); +} + diff --git a/test/swfdec_out.h b/test/swfdec_out.h index b6d155f..d1f916c 100644 --- a/test/swfdec_out.h +++ b/test/swfdec_out.h @@ -21,6 +21,7 @@ #define __SWFDEC_OUT_H__ #include <libswfdec/swfdec_buffer.h> +#include <libswfdec/swfdec_color.h> #include <libswfdec/swfdec_rect.h> G_BEGIN_DECLS @@ -64,6 +65,10 @@ void swfdec_out_put_u16 (SwfdecOut * o void swfdec_out_put_u32 (SwfdecOut * out, guint i); +void swfdec_out_put_rgb (SwfdecOut * out, + SwfdecColor color); +void swfdec_out_put_rgba (SwfdecOut * out, + SwfdecColor color); vo...
2007 Nov 12
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_decoder.c libswfdec/swfdec_decoder.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_image.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_image_decoder.h
...cMovie *movie) SwfdecRect *extents = &movie->extents; *rect = movie->draw_extents; + if (movie->image) { + SwfdecRect image_extents = { 0, 0, + movie->image->width * SWFDEC_TWIPS_SCALE_FACTOR, + movie->image->height * SWFDEC_TWIPS_SCALE_FACTOR }; + swfdec_rect_union (rect, rect, &image_extents); + } for (walk = movie->list; walk; walk = walk->next) { swfdec_rect_union (rect, rect, &SWFDEC_MOVIE (walk->data)->extents); } @@ -880,6 +887,20 @@ swfdec_movie_render (SwfdecMovie *movie, cairo_t *cr, swfdec_draw_paint (draw,...
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
...ibswfdec/Makefile.am index 471f2c6..322529c 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -110,6 +110,7 @@ libswfdec_source_files = \ swfdec_pattern.c \ swfdec_player.c \ swfdec_player_as.c \ + swfdec_player_scripting.c \ swfdec_print_job.c \ swfdec_policy_loader.c \ swfdec_rect.c \ @@ -189,6 +190,7 @@ public_headers = \ swfdec_keys.h \ swfdec_loader.h \ swfdec_player.h \ + swfdec_player_scripting.h \ swfdec_rectangle.h \ swfdec_script.h \ swfdec_system.h \ diff --git a/libswfdec/swfdec.h b/libswfdec/swfdec.h index 9d13242..1a9a4ca 100644 --- a/libswfdec/swfdec...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...ary; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifndef __SWFDEC_OUT_H__ -#define __SWFDEC_OUT_H__ - -#include <libswfdec/swfdec_buffer.h> -#include <libswfdec/swfdec_color.h> -#include <libswfdec/swfdec_rect.h> - -G_BEGIN_DECLS - - -typedef struct _SwfdecOut SwfdecOut; - -struct _SwfdecOut { - unsigned char * data; - unsigned char * ptr; - unsigned int idx; - unsigned char * end; -}; - -#define SWFDEC_OUT_INITIAL (32) -#define SWFDEC_OUT_STEP (32) - -SwfdecOut * swfdec_out_open (void); -Swfde...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...100644 --- a/libswfdec/swfdec_movie.h +++ b/libswfdec/swfdec_movie.h @@ -21,11 +21,11 @@ #define _SWFDEC_MOVIE_H_ #include <glib-object.h> +#include <libswfdec/swfdec_as_object.h> #include <libswfdec/swfdec_color.h> #include <libswfdec/swfdec.h> -#include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_event.h> -#include <libswfdec/swfdec_scriptable.h> +#include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_types.h> G_BEGIN_DECLS @@ -75,7 +75,7 @@ typedef enum { } SwfdecMovieState; struct _SwfdecMovie { - SwfdecScriptable s...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...;height = height; diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index f5c2557..fa34f68 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -25,6 +25,7 @@ #include <libswfdec/swfdec_audio.h> #include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_ringbuffer.h> +#include <libswfdec/swfdec_security.h> #include <libswfdec/swfdec_system.h> G_BEGIN_DECLS @@ -62,6 +63,7 @@ struct _SwfdecPlayer gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor;...
2007 Oct 10
0
4 commits - libswfdec/Makefile.am libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h m4/gtk-doc.m4 Makefile.am test/trace
...0x09, 0x1C, 0x96, 0x07, 0x00, 0x07, 0x04, 0x00, 0x00, 0x00, 0x08, 0x05, + 0x3D, 0x17, 0x00 }; diff-tree 6e07ccf5a40c80611e894d2371911984a132ad14 (from 00c05a14a4ef30277cc58278207a3711408de6fc) Author: Benjamin Otte <otte at gnome.org> Date: Wed Oct 10 22:06:55 2007 +0200 install swfdec_rectangle.h diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 428a3a9..33a462f 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -153,6 +153,7 @@ public_headers = \ swfdec_keys.h \ swfdec_loader.h \ swfdec_player.h \ + swfdec_rectangle.h \ swfdec_script.h \ swfd...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...ch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec only assign ints as ints use the original target as target of defined functions don't set the target of functions defined in the init scripts add a test for DefineFunction targets install swfdec_rectangle.h setTarget null does not reset the target readd gtk-doc.m4 typo make new drawn stuff appear above old stuff, not below it Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec fix z-order problems with lineStyle/fillStyle...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...Action, 16); diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index 9153aae..ec7f914 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -24,6 +24,7 @@ #include <libswfdec/swfdec_as_context.h> #include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_ringbuffer.h> +#include <libswfdec/swfdec_system.h> G_BEGIN_DECLS @@ -51,6 +52,7 @@ struct _SwfdecPlayer SwfdecAsContext context; /* global properties */ + SwfdecSystem * system; /* our system properties */ gboolean initialized; /*...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...rename swfdec_swf_instance.[ch] => swfdec_resource.[ch] diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 3bab53b..c67f132 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -95,6 +95,7 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES = \ swfdec_player_as.c \ swfdec_rect.c \ swfdec_rectangle.c \ + swfdec_resource.c \ swfdec_ringbuffer.c \ swfdec_script.c \ swfdec_security.c \ @@ -110,7 +111,6 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES = \ swfdec_stage_as.c \ swfdec_style_sheet.c \ swfdec_swf_decoder.c \ - swfdec_swf_instance.c \ swfdec_system.c...