[Swfdec] Changes to 'refs/tags/0.4.2'
Benjamin Otte
company at kemper.freedesktop.org
Fri Jun 8 11:21:15 PDT 2007
Tag '0.4.2' created by Benjamin Otte <otte at gnome.org> at 2007-02-08 20:27 -0800
release 0.4.2 ("Two completely different numbers")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQBFy4frvMv5VCdLq8QRAtJoAJ4xxUF2QJM3uCZDJOSWzIKLimGsAwCdEqek
VfJ5PxRYrDPDNSR9GYwOVcc=
=pXML
-----END PGP SIGNATURE-----
Changes since 0.4.1:
Benjamin Otte:
back to cvs
fix config.h include and copyright headers
constify JSClass functions as far as we need them
apparently we need even more const
Add a SwfdecScriptable class that functions as the frontend for objects accessible from AS
make SwfdecNetStream a SwfdecScriptable (nothing else changed)
call unload function after adjusting size
add new class SwfdecCached
rename swfdec_cached_reload to swfdec_cached_use
use the cache
get the codec out of SwfdecSound and into the audio objects
Add skeleton for interpreter
remove leftover code from when the root movie contained the root script
add the SwfdecSCript to the stack frame
implement swfdec_bits_init_from_data to use SwfdecBits without a buffer
add the constant pool to the stack frame
implement ConstantPool and Push
implement GetVariable, fix a missing break in print_push and add better debugging
implement Trace action
implement CallMethod and Pop + lots of bugfixing
add stub for _quality property
add GetProperty and SetProperty actions
implement GetMember and Add2 for Flash7
implement SetMember
fix string Add2
push a double, not a float
fix SetMember
Fix case handling (don't make it global anymore) and implement SetVariable
implement Less2 and Greater actions and fix a big bug
fix binary ops for undefined2-7.swf
Implement Jump, If and Not
implement Increment and Decrement
allow NULL buffer in swfdec_bits_init and 0 length in swfdec_bits_get_buffer
convert the parsing code to the recent SwfdecBits API
add a first shot at an swf file editor that is supposed to allow creating
Merge branch 'interpreter' of ssh://company@git.freedesktop.org/git/swfdec into interpreter
make it not crash
print the actual tag name
ensure _get_nth_child works with token == NULL
make parsing binary data work
enable editing of properties
change read/write to from_string/to_string
add stubs for saving
export the entry format and rename it to SwfeditTokenEntry
ignore 0-length buffers in bufferqueue
we don't have the header in the uncompressed buffer
We need at least gtk-2.8
add swfedit
implement saving
remove debugging g_print
handle tokens without children
add initial support for auto-extraction of contents
make the color functions return a SwfdecColor
implement StringAdd and GetURL, so Steve dances again
add support for colors and the SetBackground tag
implement swfdec_js_eval_set
use swfdec_js_eval_set for SetVariable
That line must've been accidentally removed somewhere
rework case sensitivity once again - this time making it global and set only on startup
use automatic hscrollbars, too
makee debugging work again
set property on the right object
fix _eval to work with the empty string
avoid strdup in js_eval
more fixes for swfdec_eval when parsing the scope chain
use NULL in _eval of SetVariable and GetVariable to walk the scope chain
fix "this" in swfdec_js_eval
implement caching in the target's surface type
various fixes for the previous image decoding cleanups
Merge branch 'master' into interpreter
implement alpha handling in a smarter way
implement naive Add2 for Flash 5 and 6
implement RandomNumber and PushDuplicate
ints are ints not uints in Push action
stop printing out all actions
implement ActionLess
another fix for swfdec_js_internal
implement Equals2 and fix If and Goto to jump correctly
didn't catch NULL here, oops
implement SetTarget and SetTarget2
various fixes to reference the correct this object
implement StartDrag and EndDrag actions
implement StopSounds
implement NewObject
implement InitObject action
enable gtk-doc in autogen.sh
rework audio configuration subsystem
Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec
add swfedit binary to gitignore
Merge branch 'master' into interpreter
catch a case where fun->script is accessed unconditionally
check !JSVAL_IS_NULL in all JSVAL_IS_OBJECT checks
fix SwfdecScript reference handling
implement DefineFunction
return "[type Function]" from function.toString()
create a call object for calls to SWF code
implement CallFunction, BitRShift, BitLShift and BitURShift
add 2 tests for DefineFunction
add swfdec_movie_get_path
implement NextFrame, PreviousFrame, ToInteger, TargetPath, GotoLabel, GotoFrame2
add test for Color constructor
make eval (obj, "") return obj and not undefined
add print function for SetTarget
handle colors not referring to movies
implement Equals
initialize the constant pool as empty
implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return
implement ConstantPool inheritance for DefineFunction
add a column for the type of the object on the stack
allow calling functions on numbers and strings by converting them to proper objects
fix to_number conversions for null in Flash 7
fix object to number conversions in Flash 6
add test for mathematical operations + - * / on objects
toString is supposed to output [type Object] for numbers
various fixes for tests
add another test that resulted from trying various stuff
implement WaitForFrame2
Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_color_transform_is_identity
rename swfdec_image_get_surface* to swfdec_image_create_surface*
add debugging message when parsing color transforms
export images, too
Merge branch 'master' into interpreter
that should be == NULL, not != NULL
fix memleak
Fix refcounting issue
Add testing framework for drawing output
improve image test
Check action data is available before trying to compile action
add swfdec_color_apply_transform_premultiplied
make rendering more accurate
add first image tests
DO COMPILE BEFORE CHECKING STUFF IN!
fix failed test accumulation when using command line arguments
list all failed tests at end of run
ref an audio event when reusing
only unref result from _audio_event_new if there is something to unref
Merge branch 'master' into interpreter
delete the old compiler source files
add the temporary tmp file
fix code assuming sound->n_samples is in decoded format instead of 44100kHz
s/unsigned int/SwfdecColor/ for colors
add README for image directory
add failing jpeg test
improve debugging output
add swfdec_loader_get_filename()
use a save icon when saving
fix potential segfault when DefineFunction is called inside DefineFunction
Fix crash when trying to use a video stream of a placeholder
Make the filename be the part of the uri that sits before the first '?' and does not contain a '/'
up LIBVERSION for added swfdec_loader_get_filename
update NEWS
add sound backend choice to NEWS
release 0.4.2
Laszlo (Laca) Peter:
Bug #9660: Fix build on Solaris.
---
NEWS | 12
autogen.sh | 2
configure.ac | 46
doc/swfdec-sections.txt | 1
libswfdec/Makefile.am | 8
libswfdec/js/jsapi.c | 6
libswfdec/js/jsapi.h | 6
libswfdec/js/jsfun.c | 11
libswfdec/js/jsfun.h | 3
libswfdec/js/jsgc.c | 29
libswfdec/js/jsinterp.c | 16
libswfdec/js/jsinterp.h | 4
libswfdec/js/jsnum.c | 10
libswfdec/js/jsobj.c | 10
libswfdec/js/jsobj.h | 6
libswfdec/js/jspubtd.h | 4
libswfdec/js/jsscope.c | 2
libswfdec/js/jsscope.h | 2
libswfdec/swfdec_audio_event.c | 1
libswfdec/swfdec_audio_stream.c | 13
libswfdec/swfdec_audio_stream.h | 2
libswfdec/swfdec_bits.c | 69
libswfdec/swfdec_bits.h | 13
libswfdec/swfdec_buffer.c | 7
libswfdec/swfdec_button_movie.c | 6
libswfdec/swfdec_cache.c | 34
libswfdec/swfdec_cache.h | 19
libswfdec/swfdec_cached.c | 123 +
libswfdec/swfdec_cached.h | 65
libswfdec/swfdec_codec_screen.c | 2
libswfdec/swfdec_color.c | 71
libswfdec/swfdec_color.h | 33
libswfdec/swfdec_compiler.c | 1514 ---------------
libswfdec/swfdec_compiler.h | 22
libswfdec/swfdec_debug.h | 2
libswfdec/swfdec_debugger.c | 116 -
libswfdec/swfdec_debugger.h | 16
libswfdec/swfdec_edittext.c | 2
libswfdec/swfdec_edittext_movie.c | 44
libswfdec/swfdec_event.c | 14
libswfdec/swfdec_event.h | 2
libswfdec/swfdec_image.c | 435 ++--
libswfdec/swfdec_image.h | 40
libswfdec/swfdec_js.c | 187 +
libswfdec/swfdec_js.h | 11
libswfdec/swfdec_js_color.c | 39
libswfdec/swfdec_js_global.c | 3
libswfdec/swfdec_js_movie.c | 188 -
libswfdec/swfdec_js_sound.c | 7
libswfdec/swfdec_loader.c | 42
libswfdec/swfdec_loader.h | 9
libswfdec/swfdec_movie.c | 59
libswfdec/swfdec_movie.h | 10
libswfdec/swfdec_net_stream.c | 2
libswfdec/swfdec_net_stream.h | 5
libswfdec/swfdec_pattern.c | 35
libswfdec/swfdec_player.c | 10
libswfdec/swfdec_player_internal.h | 2
libswfdec/swfdec_root_movie.c | 8
libswfdec/swfdec_script.c | 2379 +++++++++++++++++++++++++
libswfdec/swfdec_script.h | 71
libswfdec/swfdec_scriptable.c | 156 +
libswfdec/swfdec_scriptable.h | 66
libswfdec/swfdec_sound.c | 215 +-
libswfdec/swfdec_sound.h | 22
libswfdec/swfdec_sprite.c | 37
libswfdec/swfdec_sprite_movie.c | 7
libswfdec/swfdec_swf_decoder.c | 55
libswfdec/swfdec_tag.c | 29
libswfdec/swfdec_text.c | 3
libswfdec/swfdec_types.h | 2
libswfdec/swfdec_video.c | 23
player/.gitignore | 1
player/Makefile.am | 28
player/swfdebug.c | 6
player/swfdec_debug_scripts.c | 2
player/swfdec_debug_stack.c | 33
player/swfdec_playback_none.c | 38
player/swfdec_player_manager.c | 8
test/.gitignore | 1
test/Makefile.am | 23
test/dump.c | 34
test/image/.gitignore | 11
test/image/Makefile.am | 17
test/image/README | 52
test/image/color-transform-add80-alpha.swf |binary
test/image/color-transform-add80-alpha.swf.png |binary
test/image/color-transform-add80.swf |binary
test/image/color-transform-add80.swf.png |binary
test/image/image-jpeg-alpha.swf |binary
test/image/image-jpeg-alpha.swf.png |binary
test/image/image-lossless-alpha.swf |binary
test/image/image-lossless-alpha.swf.png |binary
test/image/image.c | 243 ++
test/sound/sound.c | 20
test/swfdec-extract.c | 16
test/swfdec_out.c | 258 ++
test/swfdec_out.h | 78
test/swfedit.c | 131 +
test/swfedit_file.c | 287 +++
test/swfedit_file.h | 59
test/swfedit_tag.c | 253 ++
test/swfedit_tag.h | 66
test/swfedit_token.c | 573 ++++++
test/swfedit_token.h | 90
test/trace/.gitignore | 1
test/trace/Makefile.am | 14
test/trace/color-new.swf |binary
test/trace/color-new.swf.trace | 10
test/trace/function1.swf |binary
test/trace/function1.swf.trace | 50
test/trace/function2.swf |binary
test/trace/function2.swf.trace | 2
test/trace/number.swf |binary
test/trace/number.swf.trace | 9
test/trace/object-math-5.swf |binary
test/trace/object-math-5.swf.trace | 17
test/trace/object-math-6.swf |binary
test/trace/object-math-6.swf.trace | 17
test/trace/object-math-7.swf |binary
test/trace/object-math-7.swf.trace | 17
121 files changed, 6479 insertions(+), 2511 deletions(-)
---
More information about the Swfdec
mailing list